@media only screen and (max-width:700px){

body { min-width:400px; 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 {}
.info { display:none!important; }

/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer { margin-bottom:105px; }
#footer a[href*="tel:"] { pointer-events: none; text-decoration: none;}
#footer .f_box1 { padding-bottom:20px; }
#footer .copy { padding:0 0 40px; }
#p_rec { display: none !important;}


/*====================================================================================================
  TOP PAGE
====================================================================================================*/

/*** MAINIMG ***/
.mainimg { min-height:inherit; height:auto;}
.mainimg img { width:100%; height:auto;}

/*** NEWS ***/
#toppage .news { padding:10% 5%; border-bottom:none; }
#toppage .news h3 { float:left; width:100%; margin:auto auto 7%; }
#toppage .news .news_list { float: none;}
#toppage .news .news_list ul { border-bottom:2px dotted #70A45F;  padding-bottom:7%; }
#toppage .news .news_list ul li:nth-child(2){}
#toppage .news .news_list ul li:nth-child(3){ display: inline-block; width: 100%;}
#toppage .news .b_more { float:none; margin:5% auto 0;}

/*** VISIT ***/
#toppage .visit { margin:auto; }
#toppage .visit h3 { padding:5% 0; text-align:left; float:none; font-size:138%; line-height:170%; }
#toppage .visit h3::after { right:20px; top:-5%; }
#toppage .visit .photo { float: none;}
#toppage .visit .photo::after { left:10px; bottom:-43px; }
#toppage .visit .photo img.visit1 { width:138px; height:135px; right:5%; bottom:-63px; left:unset; }
#toppage .visit .photo img.visit2 { width:100%; height: auto; }
#toppage .visit .naiyou { padding: 10% 5%; width: 100%;}
#toppage .visit .come { padding:0 0 10%; }


/*** HOSPITAL ***/
#toppage .hospital { padding:10% 0 5%; }
#toppage .hospital::before { width: 100%; height: 70px; background-size: 100% 70px;}
#toppage .hospital h3 { font-size:138%; margin-bottom:25px; padding-top:145px; }
#toppage .hospital ul.h_list { width:90%; }
#toppage .hospital ul.h_list li { width:50%; margin:0; padding: 0; top:0;}
#toppage .hospital ul.h_list li:nth-child(2) { top:100px !important; }
#toppage .hospital ul.h_list li:nth-child(4) { top:140px !important; }
#toppage .hospital ul.h_list li .photo img { width:180px; height:180px;}
#toppage .hospital ul.h_list li .come { font-size:100%; margin-top:15px; padding: 0 20px; }
#toppage .hospital ul.banner { clear:both; margin-top:180px; }
#toppage .hospital ul.banner li { float:none; width:90%; margin:4px auto; border-radius:20px!important; }
#toppage .hospital ul.banner li a { padding:30px 20px; overflow: hidden;}
#toppage .hospital ul.banner li .photo { float: left; width:60px;}
#toppage .hospital ul.banner li .photo img { width: 100%; height: auto;}
#toppage .hospital ul.banner li .come { float: right; width:calc(100% - 80px); text-align:left; }
#toppage .hospital ul.banner li .come b { display:block; font-size:120%; padding:20px 0; }
#toppage .hospital ul.banner li .come small { display:none !important; font-size:85%; line-height:150%; }


/*** STAFF ***/
#toppage .staff { width:90%; margin:55px auto 95px; padding:100px 0 15%;}
#toppage .staff h3 { line-height:200%; letter-spacing:2px; }
#toppage .staff h3 small { font-size:95%;}
#toppage .staff h3 b { font-size:195%; }
#toppage .staff .blog_list { margin: auto; width:80%; padding:20px 0 0; }
#toppage .staff ul { clear: both; float:none; margin:20px 0; width:100%; overflow: hidden; text-align: left; }
#toppage .staff ul li.photo { float: left;  margin-right:20px;}
#toppage .staff ul li.photo img { width:115px; height:115px;}
#toppage .staff ul li.naiyou { float:right; padding:30px 0; width:calc(100% - 135px); overflow: hidden;}
#toppage .staff ul li .mid { margin: 0;}
#toppage .staff ul li .day {}
#toppage .staff ul:hover li.photo img { width:calc(115px - 6px); height:calc(115px - 6px); border:3px solid #70A45F;}
	
	

/*====================================================================================================
  SUB PAGE
====================================================================================================*/
h2.sbtit {
	padding:40px 0;
	height:auto;
	color:#70a45f;
	border-top:2px solid #70a45f;
}
.pan { display: none;}

#subpage { 
	margin:0 auto !important;
	padding:5% 0 15%;
	width:100%;
    box-sizing:border-box;
}

/* MIDASHI */
#subpage h3 { margin:0 2% 20px; font-size: 120%;}
#subpage h3::before {bottom:0; left:0;}
#subpage h4.mid { margin:0 2% 20px; font-size: 110%;}
#subpage h4 { margin:0 2% 20px; 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:2% 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;}
	
/* FREE2 */
#subpage table.free { margin:20px 2% 0; border-top:1px solid #DDD !important; border-bottom:1px solid #DDD !important;}
#subpage table.free td {
	table-layout:auto !important;
	display:block !important;
	padding:5% !important;
	width:90% !important;
	height:auto !important;
	border-bottom:none;
}
#subpage table.free td:last-child {border-bottom:none;}
#subpage table.free td div.sm {display:block !important; text-align:center; border-bottom:none !important /*1px solid #1F266C*/;}
#subpage table.free tr:nth-child(1) td:nth-child(1),
#subpage table.free tr:nth-child(1) td:nth-child(3) {border-bottom:1px dotted #DDD !important;}

/* FIX */
#subpage .fix_table {font-size:1vw;}
#subpage .fix_table table { padding: 0;}
#subpage .fix_table table th,
#subpage .fix_table table td { padding:2%;}

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

/* LINK */
#subpage .link2,
#subpage .link3,
#subpage .link4 {width:auto;}
#subpage .file2,
#subpage .file3,
#subpage .file4 {width:auto;}

/* EMBEDDED */
#subpage .embedded { margin:0 2% 20px;}
#subpage .embedded iframe { width: 100%; height: 300px;}

/* 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:100% !important; height:auto !important;}

/* YOUTUBE */
#subpage .youtube {position: relative; width: 100%;}
#subpage .youtube iframe { width: 100% !important;  height: 100% !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:100% !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:100% !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;}

/* COLUMNBOX */
#subpage .column {}
#subpage .column:after { display:none;}
#subpage .column .col2 { float:none; margin: 2%; width: 96%;}
#subpage .column .col3 { float:none; margin: 2%; width: 96%;}
#subpage .column .col4 { float:none; margin: 2%; width: 96%;}
#subpage .column .col5 { float:none; margin: 2%; width: 96%;}

/* 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;}


/*====================================================================================================
  NEWS
====================================================================================================*/
#news { padding:0 5%; }


/*====================================================================================================
  ABOUT
====================================================================================================*/
#about { padding:0 5%; }
#about .message { padding: 5% 5% 350px;}
#about .message::before {
	position:absolute; left:0; right:0; bottom:0; margin: 0 auto;
	width:300px; height:300px;
	background-size:auto 100%;
}


/*====================================================================================================
  VISIT
====================================================================================================*/
    
#visit .visit_link{ margin: 0 2% 80px;}
#visit .visit_link p{ width: 49%; font-size: 100%;}


/*====================================================================================================
  BLOG
====================================================================================================*/
#blog .blog_list { margin: 0 2%;}
#blog .blog_list ul { clear: both; float:none; margin:20px 2%; width:96%; overflow: hidden; text-align: left; }
#blog .blog_list ul li.photo { float: left;  margin-right:20px;}
#blog .blog_list ul li.photo img { width:115px; height:115px;}
#blog .blog_list ul li.naiyou { float:right; padding:30px 0; width:calc(100% - 135px); overflow: hidden; text-align: left;}
#blog .blog_list ul li .mid { margin: 0;}
#blog .blog_list ul li .day {}
#blog .blog_list ul:hover li.photo img { width:calc(115px - 6px); height:calc(115px - 6px); border:3px solid #70A45F;}

.flow_list {}
.flow_list .box { padding:5.5% 5% 5.5% 15%; background-position: 5% center;}
.flow_list .box::before {top:5%; left:2%;}
.flow_list .box .photo { float:none; margin:20px 0 0;}
.flow_list .box .naiyou { float:none; width:100%;}
.flow_list .box .mid { font-size:120%;}


/*====================================================================================================
  DEPARMENT
====================================================================================================*/
#department {}
#department .b_more2 { margin:0 2%;}
#department .b_bana { clear: both; position: relative; z-index: 9999; text-align: center;}
#department .b_bana img { max-width:500px; width:100%;}
#department #subpage { max-width:100%; padding: 0; overflow: inherit;}

/* MAINIMG */
#department .mainimg { }
#department .mainimg::after { width: 100%; height:80px;}

/* CONT1 */
#department .cont1 {position: relative;}
#department .cont1::before { top:-80px; width:150px; height:150px; background-size:auto 90px;}
#department .cont1 .box { padding:80px 2% 50px;}
#department .cont1 .box h3 { margin-bottom:5%;}
#department .cont1 .box .come { padding-bottom: 5%; text-align: left;}
#department .cont1 .loopslider  ul li {width:150px;}
#department .cont1 .loopslider.loop,
#department .cont1 .loopslider.loop ul,
#department .cont1 .loopslider.loop ul li { height: 100px;}
#department .cont1 .loopslider.loop ul li img { width:150px; height: 150px;}

/* CONT2 */
#department .cont2 .box { padding:10% 2%;}
#department .cont2 .box:nth-child(1)::before { top: -50px; left:0;}
#department .cont2 .box:nth-child(2)::before { top: -50px; right:0;}
#department .cont2 .box:nth-child(1) { padding-bottom: 10%;}
#department .cont2 .box:nth-child(1) h3::before { left:0; right: 0; margin: auto;}
#department .cont2 .box ul+ul {margin-top:15%;}
#department .cont2 .mid { font-size:120%;}
#department .cont2 .mid+li { text-align: left;}
#department .cont2 .b_bana { margin:2%;}
#department .cont2 .b_bana img { width:100%; height:auto;}

/* CONT3 */
#department .cont3 {padding:10% 2% 100px;}
#department .cont3::before { 
	position: absolute; top:0; left: 0;
	display: block; clear:both; content:"";
	width:100%; height:100%;
	background:rgba(0,0,0,0.30);
}
#department .cont3 h3 { margin: 0 0 50px; color: #fff;}
#department .cont3 .come { color: #fff; margin: auto; padding: 0 0 5%; max-width: 1000px;}
#department .cont3 h3,
#department .cont3 .come,
#department .cont3 .box ul+ul {margin-top:15%;}
#department .cont3 .mid { font-size:120%;}
#department .cont2 .b_bana { margin:2%;}
#department .cont3 .b_bana img { width:100%; height:auto;}

/* CONT4 */
#department .cont4 h3{ margin-top: 55px;}
#department .cont4 .box1 { padding:3% 2%;}
#department .cont4 .box1 .photo-l,
#department .cont4 .box1 .photo-r{ position: relative; margin:0 auto 50px; width:200px;}
#department .cont4 .box1 .photo-l+.come,
#department .cont4 .box1 .photo-r+.come {padding:0;}
#department .cont4 .box1+.box1 { margin-top: 15%;}

/* CONT5 */
#department .cont5 {padding:50px 0 100px;}
#department .cont5 ul#tab { margin: auto; width: 96%;}
#department .cont5 ul#tab li { font-size: 100%;}

}