

@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) {


body{
	min-width:100%;
}


#top_header{
	height:80px;
}

#head_area{
	width:auto;
	height:80px;
}

#head_logo{
	position:static;
	width:auto;
	text-align:center;
	padding-top:22px;
}



#head_ac{
	top:20px;
	left:85%;
}

#head_sm{
	top:45px;
	left:85%;

}

#head_moji{
	display:none;
}

#head_fs{
	display:none;
}

.head_navimoji{
	display:none;
}

#g_in{
	display:none;
}


#g_navi_bg{
	display:none;
}



#g_navi{
	width:auto;
	height:auto;
}

#g_navi li{
	display:none;
}

#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:270px;
	width:auto;
	margin-bottom:0px;
}
	
#top_info_h{
	width:auto;
	text-align:center;
}	

#top_info_h img{
	width:270px;
	height:auto;
	}		
	
#top_semi_h{
	width:auto;
	text-align:center;
}
	
	
#top_semi_h img{
	width:270px;
	height:auto;
	}
		
	
.news_wrapper{
	height:210px;
	width:auto;
	border:none;
}

	
.news_area{
	height:210px;
	width:auto;
	border:none;
}

.mr14{
	margin:0!important;
}	
	
#page_footer{
	height:190px;
	min-width:initial;
	min-width:auto;
}	

#foot_area{
	width:auto;
	position: static;
	height:190px;
}


#foot_navi{
	height:auto;
}

#foot_navi li{
	background:none;
}



.foot_sm{
	display:none;
	position:static;
	text-align:center;
}

#foot_cp{
	position:static;
	width:auto;
	text-align:center;
}

.pagetop {
	display: none;
	position: fixed;
	bottom: 15px;
	right: 15px;
}




#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:0px!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%;     height: auto;     width: auto\9; /* ie8 */ 
	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 580 yfor smart_navi (txt)z
*************************************************************************************/
@media screen and (max-width: 580px) {

#smart_navi li a{
	font-size:11px;
}


}

/************************************************************************************
smaller than 480 yfor smart_navi (toggle)z
*************************************************************************************/
@media screen and (max-width: 480px) {



#smart_navi{
    display: none;
	height:210px;
  }
  
#smart_navi li{
    width: 100%;
    border-bottom: 1px solid #3a5179;
	border-left:none;

  }
  
  
#smart_navi li a{
		padding: 15px 0 12px;

  }
    
  
#toggle{
    display: block;
    position: relative;
    width: 100%;
  background: #153c7a;
  }
  
#toggle a{
    display: block;
    position: relative;
    padding: 10px 0 12px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #3a5179;
	font-weight:bold;
  }

#toggle img{
vertical-align: bottom;  }



/*

#toggle:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #fff;
  }

#toggle a:before, #toggle a:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
    background: #222;
  }

#toggle a:before{
    margin-top: -6px;
  }

#toggle a:after{
    margin-top: 2px;
  }

*/




}



/************************************************************************************
smaller than 480
*************************************************************************************/
@media screen and (max-width: 480px) {





#head_logo img{
	max-width:298px;
	width:70%;
	height:auto
	}
	
	
	

#head_ac{
	display:none;
}

#head_sm{
	display:none;
}



#top_sub_bn li{
	width:50%;
	height:auto;
}



#foot_navi{
	height:auto;
}



#foot_access{
	display:block;
}


#side_menu li{
	font-size:12px;
}



/* 
.sm_pd a{
	padding:10px;
	line-height:120%;
}
*/

.sm_pd a{
	font-size:10px!important;
	letter-spacing:-1px!important;
		
}


#page_footer{
	height:243px;
}	

#foot_area{
	height:243px;
}


#top_ri_r img{
	width: 90%;
	height: auto;

}



}
