
@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: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 {}

/*====================================================================================================
  FOOTER
====================================================================================================*/
    
#footer { margin-bottom: 0; width: 100%;}
#footer .f_box { margin:auto; padding:20px 0; max-width:1000px; color:#FFF;}
#footer .add { float:none; margin: 0 auto 10px; width:92%; font-size:100%; font-weight:bold; line-height: 30px; text-align:center;}
#footer .add small { display:block; font-size:80%; font-weight:normal;}
#footer .copy { float:none; padding-top:10px; width:100%; font-size:80%; text-align:center;}



#page { position: fixed; bottom:150px; right: 20px;}
    
/*====================================================================================================
  MAINIMAGE
====================================================================================================*/


#toppage .mainimg { margin: 0 auto; max-width: 1000px; max-height:570px; position: relative;}
#toppage .mainimg img { height:auto;}

    
/*====================================================================================================
  TOPPAGE
====================================================================================================*/
    
#toppage { margin: 0 4%; padding: 0;}

#toppage .use{ margin: 30px 0 0;}
#toppage .use a { 
    display: block;
    background: #666;
    padding: 10px 0;
    color: #FFF;
    width: 100%;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

    
#toppage .top_cont { margin:auto; width:100%;}

/* MIDASHI */
#toppage .information h2,
#toppage .news h3 {
	padding: 0 0 15px 15px;
	font-size:130%;
	line-height:95%;
	background:url(../image/tit_bg.png) no-repeat left top;
	border-bottom:1px solid #DDD;
}
#toppage .information h2 small,
#toppage .news h3 small {
	display:block;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#999;
}

#toppage .information .info_box .ibox .photo { display:none;}
	

/*** INFORMATION ************************************************************/

#toppage .information { position:relative; float:none; margin:70px 0 20px; width:100%;}
#toppage .information .info_box {
    padding: 0 2% 2%;
    height: 300px;
	overflow-y:scroll;
	border-top:3px solid #EEE;
    border-bottom: #555 1px dotted;
}


/*** NEWS *******************************************************************/

#toppage .news { float:left; margin:30px 0; width:100%;}
#toppage .news h3 {}
#toppage .news .news_box {
	margin-bottom:15px;
	padding:20px;
	height:245px;
	overflow:auto;
	background:#FCFCFC;
	border-top:3px solid #EEE;
}


/*** BANNER *****************************************************************/

#toppage .banner {}
#toppage .banner p {}
#toppage .banner p+p { margin-top:5px;}
#toppage .banner p img{ width: 100%; height: auto;}    

/*====================================================================================================
  SUB PAGE
====================================================================================================*/
	
.sub_tit { padding:30px 0;}
.sub_tit h2 {
	margin:0 auto;
	padding:5px 0 0 50px;
	font-size: 180%;
	background:url(../image/h2_bg.png) no-repeat 20px center;
}
.sub_tit h2 small {
	display:block;
	margin-top:5px;
	font-size:40%;
}
    .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;}

/*====================================================================================================
　EVENT
====================================================================================================*/
    
#subpage table.table-noise :is(th,td) { display:table-cell!important;}
#subpage table.table-noise th { width:30%!important;}
#subpage table.table-noise td { width:auto!important;}
    
/*====================================================================================================
  PAGE TITLE
====================================================================================================*/
    
    
    

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

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

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