
@media only screen and (max-width:730px){
#device { display:block;}
#device p.pc_btn { display:none;}
#device p.sp_btn {display:block; }
}

@media only screen and (max-width:700px){
    
    
body { min-width:385px; font-size:100%;}
#header { display:none;}
#content{ width:100%;}
#footer { width:100%;}

#wrapper { background:#FFF; border-top:none;}
#base { width:auto; margin:0 !important;}

.pc { display:none;}
.sm { display:block;}


/*====================================================================================================
  HEADER
====================================================================================================*/

#header {}

/*====================================================================================================
  CONTENT
====================================================================================================*/

#content { }

/*====================================================================================================
  FOOTER
====================================================================================================*/


#footer {
	clear:both;
	padding: 30px 0 0;
	width:100%;
}

#footer .f_all{ margin: 0 4%; padding: 0; max-width: 1000px; box-sizing: border-box;}

#footer .f_all .f_info{ margin-bottom: 30px; overflow-y: hidden;}
#footer .f_all .f_info .logo{
	float: none;
	margin-bottom: 20px;
	width: 100%;
	height: 55px;
	background: url("../image/f_logo.jpg") no-repeat center center;
	text-indent: -9999px;
}
#footer .f_all .f_info .access{ float: none; margin: 0 5% 10px;}
#footer .f_all .f_info .mail{
	float: none;
	width: 100%;
	text-align: center;
	font-size: 95%;
}
#footer .f_all .f_info .mail a{
	display: block;
	color: #FFF;
	padding: 20px 0 0 0;
	text-decoration: none;
	background: #1EA821;
	box-sizing: border-box;
}

#footer .f_all .f_info .mail a img{ display: inline; margin-right: 10px;}
#footer .f_nav{ display: none;}

#footer .copy {
	padding: 25px 0;
	text-align: center;
	background: #DBD7CE;
	font-size: 80%;
}

/*====================================================================================================
  TOPPAGE
====================================================================================================*/

#toppage {}
	
#catch{ margin: 50px 5%; max-width: 1000px;}

#facility{ margin: auto 0 50px; max-width: 100%; min-height: 550px; height: auto; text-align: center;}
#facility .facil{ position: static; padding-top: 200px; display: block; width: 100%; max-width: 100%; min-height: 377px; height: auto;}
#facility .fac01{ margin-bottom: 30px; float: none; background: url("../../image/fac01.jpg") no-repeat; background-size:contain; margin-right: 0;}
#facility .fac02{ margin-bottom: 20px; float: none; background: url("../../image/fac02.jpg") no-repeat; background-size:contain;}

#facility .facil .set{
    position: static;
    margin: 0 5%;
    padding: 8% 2%;
    width: 90%;
    border-top:5px solid #1EA821;
    background: rgba(255,255,255,0.90);
    bottom:-150px;
    box-sizing: border-box;
}
#facility .facil .set:before{ display: none;}
#facility .facil .set .title{ margin-bottom: 10px; font-weight: bold; color: #1EA821; font-size: 150%;}
#facility .facil .set .text{margin-bottom: 10px;}
#facility .facil .set .link a{
    display: block;
    margin: auto;
    padding: 5px 0;
    width: 155px;
    color: #222;
    font-size: 90%;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #1EA821;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    background: url("../image/f_arrow.png") no-repeat 15px center;
}
#facility .facil .set .link a:hover{
    color: #FFF;
    border: 2px solid #1EA821;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    background:#1EA821 url("../image/f_arrow_off.png") no-repeat 15px center;
}
    
#news{ padding: 0 4%;}
#news .news_info{ margin: auto auto 30px; padding: 35px 0; max-width: 100%; overflow-y: hidden;}
#news .news_info .news_all{ float: none; width: 100%;}
#news .news_info .news_all .title{ margin-bottom: 30px; font-size: 150%; font-weight: bold; color: #000;}
#news .news_info .news_all .news_list{}
#news .news_info .news_all .news_list dl{
    padding: 10px 15px;
    overflow-y: hidden;
    background: url("../image/f_arrow_sm.png") no-repeat 95% center;
}
#news .news_info .news_all .news_list dl:nth-child(odd){
    background:#FFF url("../image/f_arrow_sm.png") no-repeat 95% center;
}
#news .news_info .news_all .news_list dt{ float: none; width: 100%;}
#news .news_info .news_all .news_list dd{
    float: none;
    width: 90%;
    padding-left: 0;
    background: none;
    overflow: none;
    text-overflow:clip;
    white-space:normal;
}

#news .news_info .info_banner{ margin-top: 30px; float: none; width: 100%;}
#news .news_info .info_banner .re{ margin-bottom: 20px;}
#news .news_info .info_banner img{ width: 100%; filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.3));}
    
#banner {
	overflow-y: hidden;
	margin: 0 4%;
	padding: 20px 0;
	max-width: 100%;
	box-sizing: border-box;
}
#banner .ba{ margin-right: 2%; margin-bottom: 20px; float: left; width: 49%; text-align: center;}
#banner .ba:nth-child(2){ margin-right: 0;}
#banner .last{ margin-right: 0;}
#banner .ba img{ width: auto; max-width: 100%; height: auto;}

/*====================================================================================================
  SUB PAGE
====================================================================================================*/

h2{ height: auto;}
	
.pan { display: none;}

#subpage { 
	margin:0 auto !important;
	padding:5% 5%;
	width:100%;
    box-sizing:border-box;
}
	
/* MIDASHI */
#subpage h3 { margin:0 0 20px; display: block; min-width: 100%!important; font-size: 100%; box-sizing: border-box;}
#subpage h4 { margin:0 2% 20px; font-size: 100%;}
#subpage h4.mid { font-size: 100%;}

/* CATCH COPY */
#subpage .catch { margin:0 2% 20px; font-size: 120%;}

/* COMMON */
#subpage .comment1 { margin:0 2% 20px;}
#subpage .comment2 { margin:0 2% 20px; padding:5%;}
#subpage .comment3 { margin:0 2% 20px; padding:5%;}

/* HYOU */
#subpage table.hyou { margin:0 2%; width:96%; table-layout:auto;}
#subpage table.hyou th,
#subpage table.hyou td{
	table-layout:auto !important;
	display:block !important;
	padding:5% !important;
	width:90% !important;
	height:auto !important;
}
#subpage table.pc_tit { display:none;}
#subpage table.hyou .sm_mid { display:block;}

/* 2RETU */
#subpage table.hyou2 td table {}
#subpage table.hyou2 td table th,
#subpage table.hyou2 td table td {
	display:table-cell !important;
	padding:5% !important;
	width:auto !important;
	height:auto !important;
}

/* 3RETU */
#subpage table.hyou3 { border-top:1px solid #DDD;}
#subpage table.hyou3+table.hyou3 { border-top:1px solid #DDD;}

/* 4RETU */
#subpage table.hyou4 {border-top:1px solid #DDD;}
#subpage table.hyou4+table.hyou4 { border-top:1px solid #DDD;}

/* 5RETU */
#subpage table.hyou5 { border-top:1px solid #DDD;}
#subpage table.hyou5+table.hyou5 { border-top:1px solid #DDD;}

/* FREE */
#subpage .pc_table { display:none;}
#subpage .sm_table { display:block;}
#subpage .sm_table table td { padding:5% !important;}

/* LIST */
#subpage ul.list-ul { margin:20px 2%;}

/* LINK */
#subpage .link-box { width:100%; margin:0 2%;}
#subpage .link-box:after { display:none;}
#subpage .link2 .link {width:auto;}
#subpage .link3 .link {width:auto;}
#subpage .link4 .link {width:auto;}
#subpage .file-box { width:100%; margin:0 2%;}
#subpage .file-box:after { display:none;}
#subpage .file-box .file img {padding-right:10px;}
#subpage .file2 .file {width:auto;}
#subpage .file3 .file {width:auto;}
#subpage .file4 .file {width:auto;}

/* EMBEDDED */
#subpage .embedded { margin:0 2% 20px;}

/* PHOTO BOX */
#subpage ul.photo_box { clear:none !important; float:none !important; margin:2%; width:96% !important; text-align:center;}
#subpage ul.g1 li,
#subpage ul.g2 li,
#subpage ul.g3 li,
#subpage ul.g4 li,
#subpage ul.g5 li{ margin:15px 0; width:100%; text-align:center;}
#subpage ul.g1 li.photo img,
#subpage ul.g2 li.photo img,
#subpage ul.g3 li.photo img,
#subpage ul.g4 li.photo img,
#subpage ul.g5 li.photo img { max-width:240px !important; height:auto !important;}

/* BOX */
#subpage .temple-box { margin:0 2%; width:96%;}
#subpage .temple-box:after { display:none;}
#subpage .box1,
#subpage .box2 { float:none;margin: 0 2% 20px; width:96%;}
#subpage .box1:after,
#subpage .box2:after { display:none;}
#subpage .box1 .catch { margin:0 0 20px !important;}
#subpage .box1 h4,
#subpage .box2 h4 { margin:10px 0; font-size:100%;}
#subpage .photo-c { float:none; padding:0; width:100%;}
#subpage .photo-c img { max-width:240px !important; height:auto !important; padding:0 0 20px;}
#subpage .photo-l,
#subpage .photo-r { float:none; padding:0; width:100%; text-align:center;}
#subpage .photo-l img,
#subpage .photo-r img { max-width:240px !important; height:auto !important; padding:0 0 20px;}


/* LINE */
#subpage .line {
	margin:0 2% 20px;
	height:50px;
	background-size:100% auto;
}

/* BUTTON */
#subpage .btn { float:none; margin:1% 2%;}
#subpage .b1,
#subpage .b2,
#subpage .b3 { width:auto;}
    
 
/* FLOW */
#subpage ul.flow_box {}
#subpage ul.flow_box:after { display:none;}
#subpage ul.flow_box li { float:none; width:96% !important;}
#subpage ul.flow_box li a:hover {}
#subpage .flow1+.flow1 { margin-top:30px;}
#subpage .flow1+.flow1:before { top:-30px;}
#subpage ul.flow_box li+li { margin-top:30px;}
#subpage ul.flow_box li+li:before {
	position:absolute;
	top:-30px;
	left:0;
	display:block;
	clear:both;
	content:"";
	width:100%;
	height:30px;
	background:url(../image/flow_bg_sm.png) no-repeat center center;
}
#subpage .flow1a+.flow1a {margin-top:30px;}
#subpage .flow1a+.flow1a:before { top:-30px; width:100%;}
#subpage .flow1a li+li { margin-top:5px !important; padding: 0 !important;}


/*====================================================================================================
  PAGE TITLE
====================================================================================================*/
    
/*====================================================================================================
  PAGE TITLE
====================================================================================================*/

/*====================================================================================================
  PAGE TITLE
====================================================================================================*/

/*====================================================================================================
NEWS
====================================================================================================*/

#news .news_list{}
#news .news_list dl{ padding: 10px 10px; overflow-y: hidden;}
#news .news_list dt{ float: none; width: 100%;}
#news .news_list dd{
    float: none;
    width: 100%;
    padding-left: 20px;
    background: url("../image/f_arrow.png") no-repeat left 10px;;
}

/*====================================================================================================
  FOOTER TEL
====================================================================================================*/
    
#tel{ padding: 50px 4% 20px;}
#tel .text{ font-size: 140%; font-weight: bold; text-align: center;}
#tel .tel_mail{ margin:20px auto; width: 100%;}
#tel .tel_mail .tel{ float: none; width: 100%; text-align: center;}
#tel .tel_mail .tel img{ max-width: 364px; width: 100%;}
    
#tel .tel_mail .mail{ 
    margin-top: 30px;
    float: none;
    width: 100%;
}
#tel .tel_mail .mail a{
	display: block;
	color: #FFF;
	padding: 20px 0 0 0;
    width: 100%;
	height: 65px;
    text-align: center;
    font-weight: bold;
	text-decoration: none;
	background: #DFB53C;
	box-sizing: border-box;
}
#tel .tel_mail .mail a:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
}
#tel .tel_mail .mail a img{ margin-right: 10px;}
    
}

/*====================================================================================================
  PAGE TITLE
====================================================================================================*/

table.hyou5 { margin-bottom: 30px!important;}
table.hyou5 td .sm_mid,
table.hyou5 td div{ display: inline!important;}
table.hyou5 tr td:nth-child(1){ text-align: center; font-weight: bold; background: #EEE!important;}

