@charset "utf-8";
/* ディスプレイサイズが950px以下の場合に適応 */
@media only screen and (max-width:950px){
	#menu{
	height: 40px;
	}
	#menu ul li a{
	display: block;
	text-align: center;
	font-size:12px;
	font-weight:bold;
	width:100px;
	height:30px;
	padding-top:10px;
	}
	#wrapper {
	width:98%;
	margin-right: auto;
	margin-left: auto;
	background-color:#FFF;
	}
	#footer .footer-info{
	float: none;
	text-align: center;
	}
	#footer .footer-navi{
	display: none;
	}
	#top-page .margin01{
	margin-left:1%;
	}
	#top-page .box{
	width: 28%;
	font-size:12px;
	}
	#top-page .box h3 {
	font-size: 130%;
	}
	#top-page .box img{
	max-width:100%;
	float:none;
	margin-right:5px;
	}
	aside{
	display: none;
	}
	#sub-page section{
	float: none;
	margin: 0;
	width: auto;
	}
	#sub-page section .ec-left{
	margin-bottom: 20px;
	}




}
/* ディスプレイサイズが650px以下の場合に適応 */
@media only screen and (max-width:650px){
	#menu{
	display: none;
	}
	#header {
	height:auto;
	}
	#header .logo {
	float: none;
	padding:0px;
	text-align: center;
	}
	#header .info {
	float: none;
	text-align: center;
	font-size:14px;
	}
	#top-page .box{
	float: none;
	width: auto;
	}
	#top-page .margin01{
	margin-top:10px;
	}


	#sub-page section article {
	padding: 5px;
	}
	#sub-page section .ec-left{
	float: none;
	text-align: center;
	margin-bottom: 20px;
	}
	#sub-page section .ec-right{
	float: none;
	}


	#sub-page section .rec-left {
	float: none;
	text-align: center;
	}
	#sub-page section .rec-right {
	float: none;
	margin: 0px;
	width: auto;
	}



}