/* スマホだけに適用するCSS */
@media only screen and (max-width:640px){
/*スマホでは消す*/

body{
	width:100%;
	min-width:380px;
	height:100%;
}

.sp-dN{
	display:none;
}

img{
	width:100%;
	height:auto;
}

img.autow{
	width:auto;
}

#wrap{
}

#panel-btn{
	position:fixed;
	bottom:100px;
	/*position:absolute;
	top:300px;*/
	right:0px;
	height:50px;
	width:50px;
	display:block;
	z-index:1500;
	border-radius: 5px 0px 0px 5px;
	border:solid 1px #3eaf00;
	border-right:0;
	color:#3eaf00;
	font-size:10px;
}

#dbug_box{
	position:fixed;
	bottom:100px;
	right:0;
	z-index:1500;
	height:100px;
	width:100px;
	background:rgba(0, 74, 144, 0.90);
	color:#FFFFFF;
}

#panel-btn-icon:before, #panel-btn-icon:after,
#panel-btn-icon{
	display: block;
	position: absolute;
	top: 50%;
	left:20%;
	width: 100%;
	height: 3px;
	margin-top:-8px;
	/*background:#FFFFFF;*/
	background: #3eaf00;
	border-radius: 2px;
}

#panel-btn-icon{
	width: 60%;
}

#panel-btn-icon:before, #panel-btn-icon:after{
	content: "";
	left: 0;
	transition: .3s;
}
#panel-btn-icon{
	transition: .2s;
}

#panel-btn-icon:before{
	margin-top: -11px;
}

#panel-btn-icon:after{
	margin-top: 7px;
}

#panel-btn.close{
	right:200px;
	transition: .5s;
}

.close #panel-btn-icon{
	background: transparent;
}

.close #panel-btn-icon:before, .close #panel-btn-icon:after{
	margin-top: -2px;
}
.close #panel-btn-icon:before{
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
.close #panel-btn-icon:after{
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

#panel-btn .txt{
	position:absolute;
	bottom:2px;
	width:100%;
	text-align:center;
}
#panel-btn{
	background: rgba(255, 255, 255, 0.95);
}

header{
	padding-top:20px;
}

header h1{
	margin-bottom:10px;
}

header.open{
	right:0;
	transition: .5s;
}

header nav{
	background: rgba(255, 255, 255, 0.95);
	width: 200px;
	height: 100vh;
	position: fixed;
	overflow: auto;
	z-index:100;
	top: 0;
	right:-200px;
}

header nav ul{
	padding-left:20px;
	padding-top:40px;
}

header nav a{
	border-bottom:solid 1px #3eaf00;
	display:block;
	color:#3eaf00;
	margin-bottom:1em;
}

header.open nav{
	right:0;
	display:block;
	transition: .5s;
}

body.fixed{
	position: fixed;
	width: 100%;
	height: 100%;
}

footer section,
#content section{
	margin:0 5%;
}

#content section{
	padding:20px 0;
}

#content_footer nav ul{
	display:none;
}

#content_footer,
#top_img{
	background-size:auto 100%;
}

.home #top_img{
	height:200px;
	padding:0px 5%;
}

.home #top_img p.img_text{
	margin-top:60px;
}

.home #top_img p{
	margin-top:40px;
	font-size:16px;
	line-height:24px;
}


#top_nav{
	-webkit-justify-content: space-between; /* Safari */
	justify-content:         space-between;
}

#top_nav li{
	width:33%;
}

#top_nav li a{
	background-size:100% auto;
	width:auto;
	height:50px;
	font-size:12px;
}

#top_nav li a span{
	bottom:5px;
}

#top_news h2{
	width:22%;
}

footer p{
	text-align:right;
}

footer .copy{
	font-size:12px;
}

#top_img h1{
	font-size:20px;
}

#top_img p{
	font-size:13px;
	line-height:24px;
}


#content .body .between_photo2 p,
#content .body .between_photo p{
	margin-right:2%;
}
#content .body .between_photo p:last-child,
#content .body .between_photo2 p:nth-child(even){
	margin-right:0;
}

#content .body .between_photo2{
	flex-wrap: wrap;
	width:100%;
	min-width:100%;
}

#content .body .between_photo2 p{
	width:48%;
}


table.color_cel th{
	width:auto;
	white-space:nowrap;
}

#content .body h2{
	font-size:20px;
	padding-bottom: 10px;
	margin-top:2em;
}

#content .body .between{
	display:block;
}

#content .body .between div:nth-child(1){
	width:auto;
	margin-bottom:20px;
}

#content .body .between img{
	width:48%;
}

#content .body table.th_cel td,
#content .body table.th_cel th {
	padding: 0.25em;
}

#content .body iframe{
	max-width:100%;
}

}