@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;
}


}



/************************************************************************************
smaller than 1019
*************************************************************************************/
@media screen and (max-width: 1019px) {

/*パンくずナビ*/

#pan_bg{
	border-bottom:none;
	background-color:#fff;
	min-width:initial;
	min-width:auto;
	height:auto;
}

#pan{
	width:auto;
	padding: 15px 5px 7px 5px;
	line-height:120%;
	height:auto;
}

#pan_bg:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

#pan_bg {
  min-height: 1px;
}

* html #pan_bg {
  height: 1px;
}




/*第2階層*/

#scd_mainarea{
	width:auto;
	padding-bottom:0px;
}

#scd_d_l{
	width:auto;
	float: none;
	padding-bottom:0px!important;
}

#scd_d_r{
	width:auto;
	float:none;
	padding-bottom: 30px;
	padding-left: 8px;
	padding-right: 8px;
}




/* コンテンツリスト*/


.contentList li{
	width: calc(50% - 45px);
	margin-left: 10px;
	margin-right: 10px;
	height:auto;
}
	
.contentList li a{
	width:100%;
}


.indexbox_l{
	display:none;
}


.indexbox_l_none{
	display:block;
}


/* サイドメニュー[*/

#side_index{
	display:none;
}

#scd_menu{
	background:none;
	border:none;
	border-top:solid 1px #dae2e9!important;
	padding:0px;
	width:auto;
	margin-bottom:0px;
}


#scd_menu img{
	display:none;
}

#scd_menu li{
	list-style-type:circle;
}


#scd_menu a{
	padding:10px;
	border:none;
	border-bottom:solid 1px #e0e6eb!important;
	width:auto;
	font-size:14px;
	line-height: 120%;
	display:block;
	background-color:#f6fafe!important;
}

#scd_menu a:hover{
	color: #8ba79e;
	text-decoration: none;
}
	
#scd_menu a:hover{
	background-color:#fff;
	border:none;
}



#scd_menu > .current_page_item, #scd_menu .current_page_ancestor{
	display:block;
	padding:10px;
	background-color:#f6fafe;
	width:auto;
	color:#555;
	border:none;
	border-bottom:solid 1px #e0e6eb!important;
	}


#scd_menu > .current_page_item ul, #scd_menu .current_page_ancestor ul{
	margin-top:10px;
}


#scd_menu > .current_page_item li, #scd_menu .current_page_ancestor li{
	background:none;
	padding:0px;
	margin-left:20px;
}


#scd_menu > .current_page_item a, #scd_menu .current_page_ancestor a{
	padding:0px!important;
	border:none!important;
	width:auto!important;
	background-color:#f6fafe!important;
	color:#555!important;
}

#scd_menu > .current_page_item a:hover, #scd_menu .current_page_ancestor a:hover{
	border:none!important;
}


.pc_dv1020{
	display:none;
}

.sm_dv1020{
	display:block;
}



}


/************************************************************************************
smaller than 790
*************************************************************************************/
@media screen and (max-width: 790px) {

.half_box{
	float: none;
	margin-left: auto;
	margin-right: auto;
	}
	
	
.half_box_none{
	display:none;
	}
	
.is-style-t_box{
	width:100%!important;
	height: auto!important;
}

.is-style-t_box th, .is-style-t_box td {	
	width: auto !important;
}

.gap03 .is-style-t_box{
	max-width: calc(100% - 0.5em);
	margin-left: 0.5em;
}
	

}




/************************************************************************************
smaller than 768
*************************************************************************************/
@media screen and (max-width: 768px) {



/* �e��@*/

.sm_photo{
	width:100%;
	height:auto;
	margin:0px!important;
}


.sm_photo_min{
	width:70%;
	height:auto;
	margin:0px 15%!important;
}



.pc_dv{
	display:none;
}

.sm_dv{
	display:block;
}


.sfs_plus li{
	width:auto!important;
	margin-right:5px!important;
	margin-bottom:0px!important;
}


.sfs_plus a{
	width:auto!important;
	padding:5px 5px!important;
}



#codex_anum{
	display:none;
}	


.jfha_news_top_img{
	margin-left: auto;
	margin-right: auto;
	float: none;
 }  
 
 
.jfha_news_top_txt{
	float: none;
	margin-left: auto;
	margin-right: auto;
	width:98%;
 }   

}


/************************************************************************************
smaller than 710 �yfor indexbox ,jfha_news�z
*************************************************************************************/
@media screen and (max-width: 710px) {


.contentList li{
	width:90%;
	height: auto;
	margin-left:auto;
	margin-right:auto;
	margin-bottom: 10px;
}

.contentList li a{
	width: calc(100% - 32px);
	padding: 10px 15px; 
	height: auto;
	font-size: 14px;
}
 
.jfha_news_thumb{
	margin-left: auto;
	margin-right: auto;
	float: none;
 }  


.jfha_news_txt{
	float: none;
	margin-left: auto;
	margin-right: auto;
	width:98%;
 }  



}

/************************************************************************************
smaller than 560 
*************************************************************************************/
@media screen and (max-width: 560px) {

/* 検査項目料金、試験情報ページボタン */
.switchBtn{
	display: none;
}

.switchBtn_sm{
	display: block;
}


/* セミナー情報ページ */
.articleSeminar .wp-block-column img{
	height: auto;
}

.is-style-t_box td{
	white-space: normal!important;
}

}



/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 560px) {

.photo_box{
	float:none;
 } 
 
 
.photo_box_nb{
	float:none;
	margin-left:20px;
 }  
 

.building{
	float:none;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
 } 

.building img{
	width:100%;
 } 
 

#scd_d_r address{
	margin:0px!important;
	}


#h_wash img{
	margin-right:5px;
	float:left;
	
}	

	
#h_wash li{
	width:85%;
	height:auto;
	text-align: left;
}	


.haccp_menu img{
	width:70%;
	height:auto;
	margin-left: 25px;
}	


.haccp_box{
	margin-left:10px!important;
	}


		

.haccp_box li{
	width:60%;
 } 
 

 		
.haccp_box li:first-child {
	width:60%;
}		
	

.btn_ds{
	padding: 12px 30px;
}


}
