@charset "utf-8";

@media print { 
#g_navi_sm{
    display: none;
}
}


/************************************************************************************
larger than 1020
*************************************************************************************/
@media screen and (min-width: 1020px) {


body{
	min-width:1020px;
}


#g_navi_sm{
    display: none;
}


.a_none{
    display: none;
}

}





/************************************************************************************
smaller than 1019
*************************************************************************************/
@media screen and (max-width: 1019px) {

#top_headimg_bg{
	width:auto;
	height:auto;
	border:none;
	margin-bottom:2px;
}

#top_headimg{
	width:auto;
	height:auto;
}

.pagination {
	bottom: 10px;
}

.wideslider {
	padding-bottom:25px;}




#top_contents{
	width:auto;
}


#top_detail{
	width:auto;
	padding:0px;
}


#top_d_l{
	width:auto;
	float: none; 
}

#top_d_r{
	width:auto;
	float: none;
	clear:both; 
}

.top_infobox{
	float: none; 
	height:312px;
	width:auto;
	margin-bottom:0px;
}
	
#top_info_h{
	width:auto;
	overflow: hidden;
	text-align:center;
}	

#top_info_h > img{
	width:270px;
	height:auto;
	}	

.top_info_kako{
	top:25%;
	right:15px;
}
	
#top_semi_h{
	width:auto;
	text-align:center;
}
	
	
#top_semi_h img{
	width:270px;
	height:auto;
	}
		
	
.news_wrapper{
	height:225px;
	width:auto;
	border:none;
}

	
.news_area{
	height:225px;
	width:auto;
	border:none;
}

.mr14{
	margin:0!important;
}	




#side_menu{
	background-color:#FFFFFF;
	width:auto;
	border-right:none;
	border-top:none;
	border-left:none;
	margin-bottom:0px;
}



	
#side_menu li{
	float:left;
	margin-bottom:0px;
	width:50%;
	border-bottom:solid 1px #e0e0e0;
	text-indent:0px;
	text-align:center;
	font-size:14px;
	height:50px;
	line-height:50px;
	box-sizing: border-box;

}


#sm01{border-right:solid 1px #e0e0e0;box-sizing: border-box;}
#sm03{border-right:solid 1px #e0e0e0;box-sizing: border-box;}
#sm05{border-right:solid 1px #e0e0e0;box-sizing: border-box;}
#sm07{border-right:solid 1px #e0e0e0;box-sizing: border-box;}
#sm09{border-right:solid 1px #e0e0e0;box-sizing: border-box;}
#sm11{border-right:solid 1px #e0e0e0;box-sizing: border-box;}




#side_menu a{
	width:100%;
	height:48px;
	background-image:url(../../images/sp.gif);

}


#side_menu a:hover{
	background-color:#fcfcfc;
}




#top_sub_bn{
	width:auto;
	height:auto;
	margin:0px!important;
	padding:0px!important;
}
	

#top_contents_bg{
	margin:0px!important;
	padding:0px!important;
}




#top_sub_bn li{
	width:25%;
	height:auto;
	margin:-1px 0!important;
	padding:0px!important;
	border-left:none;
	box-sizing: border-box;
}





#top_sub_bn img{
	margin:0px!important;
	padding:0px!important;
	max-width: 100%;     height: auto;     width: auto\9; /* ie8 */ 
	vertical-align:bottom;
}




#top_mini_bn{
	width:auto;
	height:auto;
	margin:0px!important;
	padding:0px!important;
}




#top_mini_bn li{
	width:25%;
	height:auto;
	margin:0px!important;
	padding:20px 0px 5px 0px!important;
	background-color:#13376f!important;
	text-align:center;

}

#top_mini_bn img{
	margin:0px!important;
	padding:0px!important;
	max-width: 100%; 
	vertical-align:bottom;
	width:90%;
	height:auto;
}



}




/************************************************************************************
smaller than 684 �yfor top_min_bn�z
*************************************************************************************/
@media screen and (max-width: 684px) {

#top_mini_bn li{
	padding:10px 0px 0px 0px!important;

}

#top_rinjibox{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	height: auto;
}

#top_ri_l{
	width:100px;
	margin-left: auto;
	margin-right: auto;
	float:none;
}


#top_ri_r {
	width:100%;
	padding:5px 0px;
	float:none;
	text-align:center;

}

}


/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 560px) {

#top_sub_bn li{
	width:50%;
	height:auto;
}

#side_menu li{
	font-size:12px;
}

#top_ri_r img{
	width: 90%;
	height: auto;

}

}
