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

/*====================================================================================================
  HEADER
====================================================================================================*/
#header { display:none; }


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


/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer { background-position-x:20%; }
#footer .box_main ul.info { float:none; }
#footer .box_main ul.info li { text-align:center!important; }

/* PAGE */
#page { bottom:180px; }


/*====================================================================================================
  TOPPAGE 
====================================================================================================*/
#toppage {}
#toppage h3 { font-size:177%; }


/* MAINIMG */
#toppage .mainimg {}
#toppage .mainimg img { width: 100%; height: auto;}


/* NEWS and BANNER*/
#toppage .info { clear:both; margin:10% auto; }
#toppage .info::after { display: none;}
#toppage .news { float:none; margin: 0 5%; width: auto; position:relative;}
#toppage .news ul#tab { margin:0 2%; padding-top:30px;}
#toppage .news ul#tab li { width:49%; }
#toppage .news ul#tab::before { left:0; top:-30px;}
#toppage .news ul#tab li:first-child { margin-right:2%;}
#toppage .news .content {padding:5%;}
#toppage .news .content ul { width: 100%; font-size:100%;}
#toppage .news .content ul li:nth-child(3) { clear: both; float: none; width:100%; margin-left:0;}
#toppage .news .content ul li a { display:block; text-decoration:none; color:#222; }
#toppage .news .content ul li a:hover { color:#4B804F; }
#toppage .news .disnon { display:none; }
#toppage .news .b_more { position:static; margin: 5% auto;}
#toppage .news .b_more a { 
	display:block;
	padding: 10px;
	width:100%;
	height:auto;
	text-indent:0;
	color: #222;
	text-decoration: none;
	text-align: center;
	background:#DBC4BE;
	background-size:100%;
	border-radius:50px;
	box-sizing: border-box;
}
#toppage .banner { float:none; width: 100%; padding: 3%; max-width:none; overflow:hidden;}
#toppage .banner ul li { float: left; margin:2%;  width:29.3%;}
#toppage .banner ul li img { width: 100%; height: auto;}


/* CAMPAIGN */
#toppage .campaign { padding:10% 5%;}
#toppage .campaign .box_main {min-height:inherit;}
#toppage .campaign .b_more { position:static; margin-top: 100px; padding-left:25%;} 
#toppage .campaign .b_more::after { display: none;; }
#toppage .campaign .b_more p { float:none; width:100%; }
#toppage .campaign .b_more p+p { margin:10px 0 0; }
#toppage .campaign .b_more::before { left:0;}


/* SUBSIDY */
#toppage .subsidy { 
	padding:5%;
	background: url(../../image/top/about_bg.png) no-repeat left bottom;
	background-size: 100% auto;
}
#toppage .subsidy .tit {
	float:none;
	margin: 3% auto;
	width:100%;
	padding:10% 5% 10%;
	min-height:inherit;
	background:url(../../image/top/subsidy_01sm.png) no-repeat;
	background-size:100% auto;
	overflow:hidden;
}
#toppage .subsidy .tit h3 {font-size:150%;}
#toppage .subsidy .tit h3 br { display: none; }
#toppage .subsidy .grants { position:static; margin-top:5%;}
#toppage .subsidy .grants { float:left; width:46%; margin:3% 2%;}
#toppage .subsidy .grants a {
	display:block;
	padding-top:18%;
	width: 100%;
	height:186px;
	text-align: center;
	background: #DBC4BE;
	border-radius:20px;
	box-sizing: border-box;
}	
#toppage .subsidy .box { position: relative; width:46%; margin:3% 2%;}
#toppage .subsidy .box .come {
	position: absolute;
	margin: auto;
	top: 0; left: 0; right: 0; bottom:0;
	width: 90%;
	height:50px;
	padding:0;
	text-align: center;
	background:rgba(255,255,255,0.50);
}
#toppage .subsidy .box .come h4 {
	font-size:100%; color:#414e22; margin-bottom:0; height:auto;
	z-index: 999;
}
#toppage .subsidy .box .come div { display: none;}
#toppage .subsidy .box .b_more {display: none;}


/* ABOUT */
#toppage .about {}
#toppage .about .box_main {}
#toppage .about .box_main::before {
	display: block; clear: both; content:"";
	position:absolute;
	top:-80px;
	left:0;
	width:100%;
	height:100%;
	background:url(../../image/top/about_before.png) no-repeat right 9%,
				url(../../image/top/about_after.png) no-repeat right bottom;
	background-size: 50% auto;
	z-index:-1;
}
#toppage .about .box_main::after {}
#toppage .about .branch,
#toppage .about .rental { float:none; padding:9% 5%; width:100%;}
#toppage .about .b_more { width:100%; margin-top:15px;}
#toppage .about .rental .b_more { width:100%;}


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

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

/* 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% 30px; 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{ margin-bottom: 0;}
#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: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: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;}


/* PAGE SUB */
#subpage .page_sub {}


/* ANCHOR */
#subpage .b4 { float:left; width:48%; text-align:center; margin:1%;}
#subpage .b4.b_long {width:98%;}
#subpage .b4.b_long a { padding:5px 15px 3px 0;}
	
/* EVENT */
#subpage .e_box { margin:0 2%; width:96%;}
#subpage .e_box+.e_box { margin-top:10%;}
#subpage .e_box .photo { float:none;}
#subpage .e_box .photo img { width: 100%; height: auto;}
#subpage .e_box .come { float:none; margin:20px 0 0; width:100%;}
#subpage .e_box .cate { width:100%;}
#subpage .e_box .b_more { position:static; margin: 20px 0 0; width:100%;}
#subpage .e_box .b_more a { padding:10px 0; font-size:100%; background:#76A7AA; border-radius:5px;}
	
    

#subpage .news .content {padding:20px 2%;}
#subpage .news .content ul { width:100%; padding:5px; font-size: 82%; border-bottom:1px dashed #231815;}
#subpage .news .content ul li { padding:5px 0;}
#subpage .news .content ul li:nth-child(1) { width:20%; padding:5px 0;}
#subpage .news .content ul li:nth-child(2) { width:80%; padding:5px 0; color:#fff; text-align:center;  background:#769395;}
#subpage .news .content ul li:nth-child(3) { width:100%; margin-left: 0; line-height:150%;}
#subpage .news .content ul li a { display:block; text-decoration:none; color:#222; }
#subpage .news .content ul li a:hover { color:#4B804F; }
#subpage .news .disnon { display:none; }
#subpage .news .b_more { position:absolute; right:35px;	bottom:45px;}
#subpage .news .b_more a { 
	display:block;
	width:85px;
	height:104px;
	text-indent:-9999px;
	background:url(../../image/top/b_more.png) no-repeat center;
	background-size:100%;
}
#subpage .news .b_more:hover,
#subpage .news ul#tab li:hover { opacity:0.7; cursor:pointer; }


/* PAGE SUB */
#page_sub { display:block!important; }

    
#event .e_list{ margin-bottom: 50px; position: relative;}
#event .e_list .sbtitle{
    display: inline-block;
    padding: 2px 15px;
    font-size: 110%;
    text-align: center;
    background: #D8EDEA;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
#event .e_list h4{ margin-top: 10px; border-bottom: 2px dashed #D8EDEA;}
#event .e_list .photo-l{ max-width: 100%!important;}
#event .e_list .photo-l img{ max-width: 100%!important;}
#event .e_list .more{
    margin-top: 15px;
    position: static;
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    text-align: center;
}
#event .e_list .more a{
    width: 100%;
    height: 50px;
    padding-top: 10px!important;
    color: #FFF;
    text-decoration: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    box-sizing: border-box;
}

/*---------------------------------------------------------------------------
 プログラム一覧
---------------------------------------------------------------------------*/
.theme_icon {
	position:static;
	margin:20px auto;
	max-width:100%;
	height:auto;
	padding:10px;
	background: #f6f6f6;
	box-shadow:none;
	overflow: hidden;
}
.theme_icon .btn_close {
	position: static;
	display: block; width: 100%;
	margin-top:20px; padding: 10px;
	background:#fff;
	border: none;
	border-radius: 0;
}

#gakusyu_program {}
#gakusyu_program ul#tab {width: 100%;}
#gakusyu_program ul#tab li { font-size:12px; line-height: 120%;}
#gakusyu_program ul#tab li br { display:block;}
#gakusyu_program .box { float:none; margin: 2%; width: 96%; border:3px solid;}
#gakusyu_program .box .gakusyu_cate img { width: 30px; height: auto;}
#gakusyu_program .box .tit { font-size:120%; line-height: 130%; margin-bottom: 5px; padding: 0; font-weight: bold;}
#gakusyu_program .box .come { 
	position: relative; float: left; clear: both;
	width: calc(100% - 170px);
	font-size: 90%;
	line-height: 130%;
}
#gakusyu_program .box .come b {
	position: absolute; top: -40px; left: 0;
	padding: 2px 15px;
	font-weight: normal;
	border-radius:20px;
}

/*---------------------------------------------------------------------------
 プログラム詳細
---------------------------------------------------------------------------*/
#gakusyu_detail h3 { margin:0 0 40px;}
#gakusyu_detail .comment { float:none; margin: auto; width:96%;}
#gakusyu_detail .photo { float:none; margin:0 2% 20px; width:auto; max-width:96%;}

/*---------------------------------------------------------------------------
 施設一覧
---------------------------------------------------------------------------*/
#gakusyu_facility .box { float:none; margin: 2%; width:96%;}

}
