@charset "utf-8";
@media only screen and (max-width:800px){

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

.anchor {position: relative;}
.anchor a {position:absolute; top:0;}

/*====================================================================================================
  HEADER
====================================================================================================*/
#header {}

/*====================================================================================================
  CONTENT
====================================================================================================*/
#content {}

/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer {}

/*====================================================================================================
  FIX CONTENT
====================================================================================================*/
#page { bottom:80px; right:10px;}
#page a {}
#fix_nav { 
	display: block;
	position: fixed; top: inherit; right: inherit; bottom: 0; left: 0;
	width: 100%; height: auto;
	background:#F7F6F0;
	box-shadow: 0 0 3px 0 rgba(0, 0, 0,0.30);
	border-top: 3px solid #F9D32B;
	overflow: hidden;
}
#fix_nav p { float:left; width:calc(100% - 230px);  border-right:1px solid rgba(0,0,0,0.10);}
#fix_nav p a { 
	display: block;
	padding: 20px 0 15px 40px;
	width: auto;
	height: 60px;
	font-size: 87%;
	color: #222;
	font-family: 'Noto Serif JP', serif;
	text-decoration: none;
	text-align: left;
	background:url("../image/icon_blog.png") no-repeat 7px center;
	background-size: auto 30px;
	box-sizing: border-box;
	writing-mode:inherit;

}
#fix_nav .sns { display: block; position: absolute; top: 0; bottom: 0; right: 10px; margin: auto; height: 25px;}

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


/*====================================================================================================
  SUB PAGE
====================================================================================================*/
.pan { display: none;}

#subpage { 
	margin:0 auto !important;
	padding: 150px 0 50px;
	width:100%;
    box-sizing:border-box;
}

/* MIDASHI */
#subpage h3 {font-size:125%;}
#subpage h4.mid {font-size:112.5%;}
#subpage h4 {font-size:112.5%;}

/* CATCH COPY */
#subpage .catch {font-size:150%;}

/* COMMON */
#subpage .comment1 {}
#subpage .comment2 {padding:5%;}
#subpage .comment3 {padding:5%;}

/* HYOU */
#subpage table.hyou { 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:2% 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 { width: 100%; overflow-x: scroll;}
#subpage .fix_table table { padding: 0; width: auto !important;}
#subpage .fix_table table th,
#subpage .fix_table table td { padding:2%;}
#subpage .fix_table .scroll-hint-text-new {
    letter-spacing:-1px;
    font-size:75%;
    font-weight:500;
    color: #FFF;
    margin-top:-3px;
}

/* LIST */
#subpage ul.list-ul {}

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

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

/* PHOTO BOX */
#subpage ul.photo_box { clear:none !important; float:none !important; width:96% !important;}
#subpage ul.g1 li,
#subpage ul.g2 li,
#subpage ul.g3 li,
#subpage ul.g4 li,
#subpage ul.g5 li{ width:100%;}
#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;}
#subpage ul.photo_box li.youtube {position: relative; width: 100%;}
#subpage ul.photo_box li.youtube iframe { width: 100% !important;  height: 100% !important;}

/* BOX */
#subpage .box1,
#subpage .box2 { float:none; width:96%;}
#subpage .photo-c,
#subpage .photo-l,
#subpage .photo-r { float:none; padding:0; width:100%; text-align: center;}
#subpage .photo-c img,
#subpage .photo-l img,
#subpage .photo-r img { max-width:100% !important; height:auto !important; padding:0 0 4%;}
#subpage .temple-box {}
#subpage .box1 .come-r,
#subpage .box1 .come-l {  float:none; padding:0 0 20px; width:100% !important; max-width:inherit !important;}

/* LINE */
#subpage .line {}

/* BUTTON */
#subpage .btn { float:none;}
#subpage .b1,
#subpage .b2,
#subpage .b3 { width:auto;}

/* COLUMNBOX */
#subpage .column {}
#subpage .column .col2,
#subpage .column .col3,
#subpage .column .col4,
#subpage .column .col5  { float:none; 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;}


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




}
