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

body { min-width:100%; font-size:100%;}
#content{ width:100%;}
#footer { width:100%;padding: 50px 0;}

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

.pc { display:none;}
.sm { display:block;}

#device p.pc_btn { display:block !important;}
#device p.sp_btn { display:none !important;}

/*====================================================================================================
  HEADER
====================================================================================================*/

#header {}
#header .h_box { background:#f6f6f6;;}
#header .h_box h1 { display: none;}
#header nav { display:none;}
#header .h_menu { float:none; width: 100%; padding:3% 3% 3% 5%; position: static; }
#header .h_menu::after { /*float_clear*/ display:block; clear:both; content:"";}
#header .login { float: left;}
#header .loginstate { float:right; margin: 0;}
#header .loginstate a {  padding: 0 15px; font-size: 90%;}


/*====================================================================================================
  CONTENT
====================================================================================================*/

	
/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer { clear: both;}

/* SUB and COPYRIGHT*/
#footer .f_box { margin: auto; padding:0; max-width: 1000px; font-size: 90%;}
#footer .f_box::after { /*float_clear*/ display:block; clear:both; content:"";}
#footer .f_box,
#footer .f_box a { text-decoration: none; color: #606060;}
#footer .f_box p:nth-child(1),
#footer .f_box p:nth-child(2) { float:none; text-align: center;}

/* TOP */
#footer .f_top { margin: auto; padding:20px 0 0;}
#footer .f_top::after {display: none;}
#footer .f_top .f_logo { float:none; margin: auto; width: 181px;}
#footer .f_top .f_nav { display: none;}
#footer .f_top .contact  {display: none;}

	
/*====================================================================================================
  FIX NAV
====================================================================================================*/
#fix_nav { position: fixed; top:inherit; right: 0; bottom: 0; width: 100%; z-index: 9999; background: #fff;}
#fix_nav::after { /*float_clear*/ display:block; clear:both; content:"";}
#fix_nav p { float: left;}
#fix_nav p+p { margin-top:0;}
#fix_nav p {width:50%; height: 95px;} 
#fix_nav p a { width:100%; height: 95px;} 
#fix_nav p { border-top-left-radius:0; border-bottom-left-radius:0; overflow: hidden; border:0;} 


/*====================================================================================================
  TOPPAGE
====================================================================================================*/
.mainimg {
	height:200px;
	background-position: center center;
}

/*** CONCEPT *******************************************************************/
#toppage .concept { padding:10% 5%;}
#toppage .concept h2 { margin: 0 0 10%; font-size: 180%; letter-spacing:0;}
#toppage .concept .box { margin: auto; max-width: 1000px;}
#toppage .concept .box::after { /*float_clear*/ display:block; clear:both; content:"";}
#toppage .concept .box .photo { float:none; width:100%;}
#toppage .concept .box .photo img { width: 100%; height: auto;}
#toppage .concept .box .come { float:none; width:100%; padding: 10px 0 0; font-size: 110%; line-height:200%;}


/*** COURSE *******************************************************************/
#toppage .course { padding:10% 5%;}
#toppage .course::after { display: none;}
#toppage .course .box { float:none; margin:10% 2%; width:96%;}

/*** ONLINE *******************************************************************/
#toppage .online { padding:10% 5%;}
#toppage .online h3 { font-size: 130%;}
#toppage .online .b_entry { margin: auto; max-width: 470px;}
#toppage .online .b_entry b,
#toppage .online .b_entry a {font-size:120%;}
	
	


/*====================================================================================================
  SUBPAGE
====================================================================================================*/
#subpage { margin:0 5%; padding:2%;}
#subpage::after { display: none;}
#subpage #main_cont,
#subpage #side_cont { float: none; width:100%;}
	
	
	
/*====================================================================================================
  SUB PAGE
====================================================================================================*/
.pan { display: none;}
#subpage div.mov {margin-left: 3%;}
/* MIDASHI */
#subpage h2.sb_tit {font-size:150%;}
#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;}

#subpage .boxlist .display-posts-listing{width:100%; margin:3% 0 10%; float: none;}
#subpage p.mv_title { font-size:100%; }
#subpage .swpm-login-widget-form,#subpage .new-login{margin:0 3%;}
iframe.vimeo_movie{height:190px!important;}	
/* Mail Form */
#mail-box table.mailform tr th, table.mailform tr td {
    table-layout: auto;
    display: block;
    padding: 20px 10px 10px!important;
    width: 100%;
    height: auto;
    text-align: left;
    font-weight: normal;
    box-sizing: border-box;
    border-bottom: 1px solid #EEE;
}
#mail-box table.mailform tr td {
    padding: 0 10px 20px!important;
	width:100%;
}
#mail-box input[type="text"], #mail-box input[type="tel"], #mail-box input[type="email"], #mail-box textarea {
    width: 100%;
}
.b_inqu input[type="submit"], .b_inqu input[type="reset"], .b_inqu input[type="button"] {
	width:100%;
	margin:0 auto;
}
	a#resume { 
    font-size: 100%;
    margin: 0 auto;
    display: block;
    width: 80%;
    min-height: 1em;
	}
/*====================================================================================================
  SIDE BAR
====================================================================================================*/
#sidebar {
    float: none;
    width: 100%;
    padding: 20px 0 20px;
}
	#side_cont .side_tit .mid {font-size:110%;}
/*====================================================================================================
  PAGE TITLE
====================================================================================================*/

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

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

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