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

body { min-width:400px; font-size:100%;}
#header,
#content{ width:100%;}
#footer { width:auto; text-align:center; }

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

.pc { display:none;}
.sm { display:block!important;}
    
    
#sns ul.sns { display: none;}


/*====================================================================================================
  HEADER
====================================================================================================*/
#header { display:none; }
#Nav ul li#nav8,
#Nav ul li#nav9 { display:block;}


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


/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer {}
#footer .box_main { margin-bottom: 80px; width:90%; }
#footer .box_main::before { display:none; }
#footer ul.f_info li { float:none; }
#footer ul.f_info li.logo { margin:0 auto; background-position: center center; background-size: contain; width: 100%!important; }
#footer ul.f_info li.add { float:none; margin:10px 0 10px; width: 100%; }
#footer ul.f_info li.add small { font-size:89%; }
#footer ul.f_info li.add b { font-size:188%; }

#footer .copy { float:none; margin:0; padding:20px 0; }
    
#page { position: fixed; bottom:110px; right: 10px;}



/*====================================================================================================
  TOPPAGE 
====================================================================================================*/
#toppage {}

/* SLICK BOX */
#toppage .slick-box { margin:auto; }
#toppage .slick-box::after { display:none; }
#toppage .slick-box .box1 { position:relative; height: auto; background:#f3f2f4; padding:7% 5%; }
#toppage .slick-box .box1 h2 { color:#37414f; font-size:144%; text-shadow:none; margin-bottom:3%; }
#toppage .slick-box .box1 p.b_more { width:335px; height:50px; }
#toppage .slick-box .box1 p.b_more a { padding:5px 15px 6px; }
#toppage .slick-box .box1 p.b_more a small { font-size:90%; }
#toppage .slick-box .box1 p.b_more a b { font-size:100%; }

/* NEWS */
#toppage .news { float:none; width:90%; margin:15% auto; }
#toppage .news ul { background:url(../image/arrow_right-grn.png) no-repeat 95%; padding:5%; }
#toppage .news ul:nth-child(odd) { background:rgba(122,191,145,.05) url(../image/arrow_right-grn.png) no-repeat 95%; }
#toppage .news ul li { float:none; width:100%!important; }
#toppage .news ul li:first-child { background:none; }


/* FACEBOOK */
#toppage .fb_embed { float:none; width:90%; height:265px; margin:0 auto 15%; }
#toppage .fb_embed iframe { width:100%!important; height:265px!important; }


/* ABOUT */
#toppage .about { margin:0 auto; background-size:400%; padding-bottom:45px; }
#toppage .about .box_a  { width:100%; }
#toppage .about .box_a .box { width:90%; margin:0 auto; float:none; }
#toppage .about .box_a .box+.box { margin:10px auto 0; }
#toppage .about .box_a .box .box_i .photo { height:95px; }
#toppage .about .box_a .box .box_i .photo img { height:100%; object-fit:cover; }
#toppage .about .box_a .box .box_i h3 { text-align:left; padding:20px; }
#toppage .about .box_a .box .box_i h3 b { font-size:132%; }
#toppage .about .box_a .box .box_i h3 small { display:initial; font-size:86%; margin-left:15px; }


/* ABOUT DRONE */
#toppage .drone { padding:80px 0 50px; }
#toppage .drone .box_main { width:90%; }
#toppage .drone .box_main .b_more { margin-top:15px; }
#toppage .drone .box_main .commen { float:none; width:100%; }
#toppage .drone .box_main .commen h3 { text-align:center; }
#toppage .drone .box_main .commen h3 b {}
#toppage .drone .box_main .commen h3 small { display:block; margin:0; }
#toppage .drone .box_main .commen .come { margin:30px 0; }
#toppage .drone .box_main .youtube { float:none; }
#toppage .drone .box_main .youtube iframe { width:100%; height:202px; }



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

#subpage { 
    margin:0 5%;
    width:90%;
    box-sizing:border-box;
}

/* Бе [No Touch]Бе */
/* MIDASHI */
#subpage h3 { margin:0 2% 20px; font-size: 120%;}
#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: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:240px !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: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;}

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

/* 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
====================================================================================================*/
    
#staff .box1 .shikaku{ display: inline-block; margin: 5px 0; padding: 0px 25px 2px; color: #FFF; background:#212A37;border-radius: 5px;}
#staff .box1 .mes{ margin-top: 20px; }
#staff .box1 .mail{ }
#staff .box1 .mail a{
    display: block; 
    text-align: center;
    width: 100%;
    margin: 5px 0;
    padding: 0px 0 2px;
    text-decoration: none;
    color: #212A37;
    background:#FFF;
    border: 1px solid #212A37;
    border-radius: 5px;
    box-sizing: border-box;
}
#staff .box1 .mail a:hover{ background:#212A37; color: #FFF;}
#staff .box1 img{ padding-right: 0;}

    

/*====================================================================================================
  ANCHOR
====================================================================================================*/
    
.anchor{ margin: auto 2% 30px;}
.anchor li{ width: 49%;}
.anchor li +li,
.anchor li +li +li +li{ margin-left: 2%;}
.anchor li +li +li{ margin-left: 0;}
    
/*====================================================================================================
  ABOUT
====================================================================================================*/

#about{}

#about .rireki{ margin: 0 2%;}
#about .rireki ul{ margin-bottom: 10px; overflow: hidden;}
#about .rireki ul li{ float: none!important; width: 100%!important;}
#about .rireki ul li:nth-child(1){ font-weight: bold;}
#about .rireki ul li .nen { display: inline-block; margin-left: 0px;}
#about .rireki ul li .nen2{ display: inline-block; margin-left: 0px;}
#about .rireki ul li .nen3{ display: inline-block; margin-left: 0px;}
    

/*====================================================================================================
  PAGE TITLE
====================================================================================================*/
#news ul { background:url(../image/arrow_right-grn.png) no-repeat 95%; padding:5%; }
#news ul:nth-child(odd) { background:rgba(122,191,145,.05) url(../image/arrow_right-grn.png) no-repeat 95%; }
#news ul li { float:none; width:100%!important; }
#news ul li:first-child { background:none; }

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

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