@charset "utf-8";

/* clearfix */
.cf { zoom: 1; }
.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }

/**
* CSS initialize
* スクリーンサイズ：0～480px
*/
body {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.5em;
  background-color: #fff;
}
#stage {
  margin: 0;
}
header {
	text-align: center;
	color: rgb(11, 4, 116);
	background-color: #eef;
	background-image: url(../pict/index/headerback.png);
  width: 100%;
  position: relative;
  overflow: hidden;
}
header h1 {
  font-size: 11px;
  padding: 0.4em 0 0.4em 0;
  margin: 0 0 0.2em;
}
#stage #header p img {
	width: 100%;
	max-width: 800px;
	height: auto;
}

nav {
  margin: auto;
  background-color: #4034aa;
}
nav ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  jusitfy-content: center;
  align-items: center;
  margin: 0 0 5px 0;
  padding: 0;
}
nav ul li {
 
  width: 150px;
  margin: 0;
  text-align: center;
  line-height: 3.0em;
  color: #fff;
  border: 1px solid #fff;
}

#contents {
  width: 78.125%;
  max-width: 800px;
  margin: 1em auto 1em;
}
#contents h1{
  font-weight: bold;
}
section {
  margin: 0 0 1em 0;
}
aside > section{
  max-width: 100%;
  height: auto;
  background-color: #70e1f5;
  padding: 15px 15px 15px 20px;
}
article > section{
  border-bottom: 1px solid #999;
}
footer {
  width: 100%;
  text-align: center;
}

/*ナビゲーション関係*/
.here{
  background-color: #aaaaff;
}

a {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  height: 3em;
  width: 100%;
  transition: 700ms;
}

a:hover {

}

a:visited {
  color: #fff;
}　　　　　　　　　　　　　　　　　
/*ナビゲーション関係ここまで*/

/*PC向け及び大型タブレット向けのレイアウト：769px～960px　*/
@media only screen and (min-width: 769px){
  header {
    position: static;
    overflow: visible;
  }

}

/*PC向けのレイアウト指定：961px以上では固定レイアウト*/
@media only screen and(min-width:961px){
  header: 960px;
  margin-left: auto;
  margin-right: auto;
}