@charset "UTF-8";

#container{
	Width:1000px;
	margin:0 auto;
	text-align:left;
	line-height:220%;
	border-style:groove;
	background:white;
}

#header{
    width:100%;
}

footer{
    padding:0;
    margin-top:0px;
    height:100px;
    color: white;
    text-align:center;
    width:100%;
    background:rgb(113, 141, 65);
}

#footer_font{
    font-size:16px;
}

#footer_font li{
    display: inline;
    margin-left:3px;
}

#footer_font li a{
    text-decoration:none;
}

body {
	/* padding: 20px; */
	/* text-align: center; */
}

/* h1 {
	margin-bottom: 20px;
	padding: 20px 0;
	color: #209eff;
	font-size: 122%;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
} */

/* PCナビゲーション------------------------------------------------ */
#nav_pc{
	margin-bottom:25px;
	height:30px;
	margin-top:0px;
	/* position:fixed;
	z-index: 100; */
}

#nav_pc ul{
	margin:0 auto;
	margin-top:20px;
	list-style:none;
	width:800px;
}

#nav_pc li{
	float:left;
	width:160px;
}

#nav_pc a{
	background-color:#87ceeb;
	color:white;
	display:block;
	text-align:center;
	padding:5px;
	border:1px solid blue;
	text-decoration:none;
}

#nav_pc a:hover{
	background-color:#1E90FF;
}

/* --------------------------------------------------------------------- */

/* SPナビゲーション------------------------------------------------------- */
#nav_sp{
	display: none;
}

.main_menu {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 auto;
	color: #ffffff;
}
.main_menu input {
	position: absolute;
  /* ボックスの重なり順序 */
	z-index: -1;
  /* 要素の透明度 */
	opacity: 0;
}
.main_menu label {
	font-weight: bold;
	line-height: 3;
	position: relative;
	display: block;
	padding: 0 0 0 1em;
	cursor: pointer;
	margin: 0 0 1px 0;
	background: #87ceeb;
}
.main_menu .content {
	overflow: hidden;
	max-height: 0;
	-webkit-transition: max-height 0.35s;
	transition: max-height 0.35s;
	color: #333333;
	background: #e0ffff;
}

.main_menu .content a{
	display: block;
}

.main_menu .content p {
	margin: 1em;
}
/* :checked */
.main_menu input:checked ~ .content {
	max-height: 38em;
}
/* Icon */
.main_menu label::after {
	line-height: 3;
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 3em;
	height: 3em;
	-webkit-transition: all 0.35s;
	transition: all 0.35s;
	text-align: center;
}
.main_menu input[type=checkbox] + label::after {
	content: '▼';
}
.main_menu input[type=checkbox]:checked + label::after {
	transform: rotate(364deg);
}



/* #nav_sp{
	display:none;
	position: absolute;
	margin-right:0;
	width: 250px;
	height: 80px;
	pointer-events: none;
	z-index: 100;
} */

/****メニュー開閉ボタン****/
/* #nav_sp div{
	width: 250px;
	height: 40px;
	background: rgb(92, 155, 206);
	overflow: hidden;
	position: absolute;
}

#nav_sp .menuopen{
	color: rgba(255,255,255,1);
	font-size: 20px;
	display: block;
	width: 100%;
	height: 80px;
	position: absolute;
	margin-right:0;
	pointer-events: auto;
}

#nav_sp .menuclose{
	color: rgba(255,255,255,1);
	font-size: 20px;
	display: none;
	width: 100%;
	height: 80px;
	position: absolute;
	margin-right:0;
	pointer-events: auto;
} */

/****メニュー一覧****/
/* #nav_sp ul{
	text-align:left;
	background: rgba(92, 155, 206);
	width: 100%;
	list-style:none;
	position: absolute;
	top: 30px;
	margin-right:0;
	display: none;
}

#nav_sp li{
	padding: 10px;
	color: rgba(0,0,0,1);
	border-bottom: 1px rgba(255,255,255,1) solid;
	pointer-events: auto;
}

#nav_sp a{
	display: block;
} */

/****メニューオープン時****/
/* #nav_sp:target .menuopen{
	display: none;
}

#nav_sp:target .menuclose{
	display: block;
}

#nav_sp:target ul{
	display: block;
} */

/* ----------------------------------------------------------- */

#ad_pc{
	margin-top:2px;
	/* border-style:solid; */
}

/* #ad_sp{
	
} */

@media screen and (max-width: 979px){
	#container{
		width:100%;
	}
	#nav_pc{
		display:none;
	}
	#nav_sp{
		display: block;
	}
  }
  
  @media screen and (max-width: 767px) {
	#container{
		width:100%;
	}
	#nav_pc{
		display:none;
	}
	#nav_sp{
		display: block;
	}
  }
  
  @media screen and (max-width: 479px) {
	#container{
		width:100%;
	}
	#nav_pc{
		display:none;
	}
	#nav_sp{
		display: block;
	}
  }


