.pcOnly{display:none;}
.spOnly{display:block!important;}
img{
max-width: 100%;
height: auto;
width /***/:auto;
}
a img{opacity:1!important;}
html,body{font-size:85%;}

body{width:100%;margin:0;padding:0;-webkit-text-size-adjust:100%;min-height:inherit;}


/*全体*/
#wrapper{width:100%;margin:0px auto;padding:0;}
#header{height:auto;-moz-border-radius:0;-webkit-border-radius:0;-khtml-border-radius:0;border-radius:0;} 
#header h1{float:none;width:auto;background:#f99;text-align:left;margin:0;}
#header h1 a{padding:10px 0;position:relative;background:url(../layout/logo-sp02.png) no-repeat 5% center;background-size:auto 80%;line-height:1.3;height:60px;display:table;width:100%;}
#header h1 a span{font-size:1.3rem;text-align:right;padding-right:5%;display:table-cell;}
#header h1 a b{font-size:1.0rem;font-family:meiryo, "ヒラギノ角ゴ Pro W3";}
#header h1 a:before,#header h1 a:after{display:none;}

body.home #header h1{margin:0;}
body.home #header h1 a{padding:15px 0 0 0;height:160px;background:url(../layout/logo-sp.png) no-repeat center;background-size:100% auto;}
body.home #header h1 a span,body.home #header h1 a:before,body.home #header h1 a:after{display:none;}


div#header #gNavi{float:none;width:auto;border-top:2px solid #FFF;padding:0;}
div#header #gNavi li{float:left;width:33.333%;display:block;box-sizing:border-box;font-size:2rem;}
div#header #gNavi li a{color:#FFF;display:block;height:70px;line-height:70px;vertical-align:middle;text-align:center;}
div#header #gNavi li a:hover{background:none;}
div#header #gNavi li:nth-child(2n){border-left:2px solid #FFF;border-right:2px solid #FFF;}

main{position:relative;}
#main{width:92%;min-width:inherit;height:auto;min-height:auto;margin:2% auto;padding:3% 0%;position:relative;}
.menu #main{background:none;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;}
#main h2{font-size:1.7rem;margin:25px auto 40px auto;}
#main h2 span{font-size:1.0rem;font-family:meiryo, "ヒラギノ角ゴ Pro W3";color:#333;font-weight:normal;margin-left:0%;display:block;line-height:1.5;}

.article h3{width:auto;padding:2.2% 6% 2% 6%;font-size:1.5rem;line-height:1.3;}
.article h4,.article h5,.article h6{margin:4% 0 2% 0;line-height:1.5;}
.article h4{font-size:1.75rem;}
.article h5{font-size:1.6rem;}
.article h6{font-size:1.4rem;font-weight:bold;}
.article p{font-size:1.4rem;margin-bottom:2%;line-height:1.8;}
.notice{display:block;border:1px solid #928A81;padding:3%;}
.link{margin-top:40px;display:block;}
.link li{width:100%;}
.link li a{font-size:1.8rem;}
#main .link a.linkImg span{font-size:2.0rem;padding-right:45px;background-size:30px;}
a.linkTxt{font-size:1.8rem;padding-bottom:20px;}

.article .box{float:none;width:100%;min-height:inherit;margin:0 0 80px 0;}
.article ul.lightbox{position:inherit;margin:40px 0;}
.article ul.lightbox li{margin:0 0 0 1%;margin-bottom:5px;width:32.66%;height:100px;}
.article ul.lightbox li:nth-of-type(3n+1){margin:0;}
.article table th,.article table td{font-size:1.4rem;}
.article table td{padding:0;}

#lightbox-container-image-box{display:table!important;width:100%!important;height:auto!important;}
#lightbox-nav a{display:table!important;height:100%!important;}
#lightbox-container-image-data-box{width:97.5%!important;box-sizing:border-box;}

/*toppage*/

#wrapper{height:auto;}
#topTopBox,#topBox,#topBottomBox,#bottomBox{width:auto;height:auto;min-height:inherit;position:inherit;}
#bottomBox .fNavi{height:auto;width:92%;margin:15px auto;}
#bottomBox .fNavi li{width:100%;margin:0 0 15px 0;font-size:1.75rem;}
#bottomBox .fNavi li a{padding:35px 0;}

#footer{-moz-border-radius:0;-webkit-border-radius:0;-khtml-border-radius:0;border-radius:0;}
#footer address{color:#FFF;height:50px;line-height:50px;font-size:1.15rem;}

.f10{font-size:1.0rem!important;}.f11{font-size:1.1rem!important;}.f12{font-size:1.2rem!important;}.f13{font-size:1.3rem!important;}.f14{font-size:1.4rem!important;}.f15{font-size:1.5rem!important;}.f16{font-size:1.6rem!important;}.f17{font-size:1.7rem!important;}.f18{font-size:1.8rem!important;}.f19{font-size:1.9rem!important;}.f20{font-size:2.0rem!important;}.f21{font-size:21rem!important;}.f22{font-size:2.2rem!important;}.f23{font-size:2.3rem!important;}.f24{font-size:2.4rem!important;}.f25{font-size:2.5rem!important;}.f26{font-size:2.6rem!important;}.f27{font-size:27rem!important;}.f28{font-size:2.8rem!important;}.f29{font-size:2.9rem!important;}.f30{font-size:3.0rem!important;}.f35{font-size:3.5rem!important;}.f40{font-size:4.0rem!important;}


.topNavi dl,.topNavi02 dl{float:none;width:auto;}
div#coverIMG{background: url(../top/topIMG.png) no-repeat right -100px top -20px / auto 180%;width:100%;padding:0;margin:0 auto;height:auto;min-height:auto;position:relative;}
#coverIMG > div{padding:50px 0 0 0;box-sizing:border-box;position:relative;width:90%;min-height:450px;margin:0 auto;}
div#coverIMG h2 img{height:80px;}
#coverIMG h2:before,#coverIMG h2:after{display:none;}
p#copy{position:inherit;font-size:1.2rem;color:#333;display:block;width:auto;text-align:left;}
p#copy span{font-size:1.5rem;color:#f99;line-height:1.3;display:block;margin-bottom:7px;}
#coverIMG ul{width:100%;height:165px;margin:20px auto 0 auto;box-sizing:border-box;}
#coverIMG ul li b.title,
#coverIMG ul li b.title time{font-size:15px;}
#coverIMG ul li b.title{padding-left:0;}
#coverIMG ul li b.title time{display:block;position:relative;top:inherit;left:inherit;margin-bottom:5px;}
#coverIMG ul li div.detail,
#coverIMG ul li div.futa{width:95%;box-sizing:border-box;}
#coverIMG ul li div.futa{height:300px;}
#coverIMG ul li div.futa b:nth-of-type(1){height:200px;}
#coverIMG ul li div.detail section h3 time{font-size:15px;}
#coverIMG ul li div.detail section p{font-size:17px;}
#coverIMG ul li div.detail section a.more{font-size:17px;}


.topNavi,.topNavi02{width:97.5%;margin:0 auto;height:auto;}
.topNavi dl,.topNavi02 dl,.topNavi dl:nth-of-type(2),.topNavi02 dl:nth-of-type(2){margin:0 0 7px 0;}
.topNavi dl a,.topNavi02 dl a{padding:25px 0;box-sizing:border-box;}
.topNavi dl a dt,.topNavi02 dl a dt{padding-top:0;}
.topNavi dl a dd{width:83%;}

/*プロフィール*/
.box.prof02 h3{padding-top:0;font-size:35px;}
.box.prof02 h3 span{line-height:2;font-size:14px;}
.box.prof02 h3 span.kana{display:inline-block;padding-left:10px;font-size:25px;}
.box.prof02 .profileList th{display:inline-block;width:100px;margin:25px 0 15px 0;font-size:1.4rem;letter-spacing:1em;text-align:center;padding:0.3em 0 0.3em 1em;}
.box.prof02 .profileList tr,.box.prof02 .profileList td{display:block;width:auto;padding:0;}

/*お問い合わせ*/
.box.cnt01 h4{line-height:1.75;}
.box.cnt01 ul{margin:10px 0 40px 0;}
.box.cnt01 ul li{margin:10px 0 40px 0;}
.box.cnt01 li.tel,.box.cnt01 li.fax{font-size:3rem;background-position:left center;line-height:1.2;}
.box.cnt01 li.tel span,.box.cnt01 li.fax span{display:block;font-size:1.25rem;margin-left:0;}
.article .box.cnt01 table,.article .box.cnt01 th,.article .box.cnt01 td,
.article .box.cnt02 table,.article .box.cnt02 th,.article .box.cnt02 td{border:0;background-color:inherit;display:block;width:auto;padding:0;font-size:1.4rem;}
.article .box.cnt01 table tr,.article .box.cnt02 table tr{background-color:inherit;display:block;}
.article .box.cnt01 table tr:nth-child(2n-1),.article .box.cnt02 table tr:nth-child(2n-1){background-color:inherit;}
.article .box.cnt01 th,.article .box.cnt02 th{display:block;width:100%!important;font-weight:bold;margin:25px 0 15px 0;font-size:1.4rem;padding:0.3em 0 0.3em 0.3em;border-bottom:4px solid #eee;box-sizing:border-box;}
form.mailForm table th.required{background-size:auto 40%;}
	/*mailform*/
form.mailForm input{font-size:1.4rem;max-width:90%;}
form.mailForm input.email{width:90%;}
form.mailForm textarea{width:100%;box-sizing:border-box;}
form.mailForm span.ex{font-size:1.2rem;display:block;}
.article .mfp_buttons p{font-size:1.1rem;}
.mfp_buttons button{width:35%;padding:2.25% 5%;font-size:1.4rem;}

/*2階層目その他*/
.article a.link{background-position:center top;padding:70px 0 0 0!important;display:block;text-align:center;font-size:1.4rem;}
.article a.link span{font-size:1.2rem;}
.article a.link02{margin:50px auto;padding:20px 35px;font-size:1.4rem;}
.article .con01-h3{padding-top:0;}
.article .con02-p{text-align:center;}

.article.school-manner .notice h5,.article.school-manner .notice p{display:block;width:auto;padding:0;}
.article.school-manner .notice h5{font-size:1.8rem;margin:0 0 2% 0;}
.article.school-manner .notice p{font-size:1.4rem;}






/*profile*/
.flexslider .slides > .panel {display: block!important; -webkit-backface-visibility:visible;float:none!important;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.slides{width:100%!important;transform:inherit!important;transition-duration:inherit!important;}
.slides:after {content: "\0020"; display: block; clear: both; visibility:hidden; line-height: 0; height: 0;}
.flex-viewport {max-height:100%!important;overflow:hidden; }
.flex-direction-nav{display:none;}
.profile .article .left{float:none;width:100%!important;height:100%;position:relative;}
.profile .article .right{float:none;width:100%!important;height:100%;position:relative;}
.profile .panel:nth-child(1) .left,
.profile .panel:nth-child(2) .left,
.profile .panel:nth-child(1) .right,
.profile .panel:nth-child(2) .right{width:100%!important;}

.profile #main .article h4{font-size:3rem!important;margin-top:10%;}
.profile #main .article h4.mt0{margin-top:10%!important;}
.profile .panel:nth-child(2){padding-bottom:20%;}
.profile .panel:nth-child(3) .left{min-height:100%;}



/*横置き用CSS*/
@media only screen and (orientation:landscape){
div#coverIMG{background:url(../top/pic01.png) no-repeat right center;background-size:40%;width:100%;margin:0 auto;height:396px;position:relative;}
.works .left .books{padding-top:2.5%;}
.books dl{float:left;width:18%;height:220px;margin:0 2% 4% 0%;position:relative;padding:0 0 0% 14%;}
.books dl:nth-child(2n){margin-right:2%;}
.books dl:nth-child(3n){margin-right:0%;}
.books dl dt{font-size:1.8rem;}
.books dl dt span{position:absolute;left:0;top:0;display:block;width:40%;}
.books dl dd.subTitle{font-size:1.4rem;}
.contact #main .article .tel,.contact #main .article .fax{padding-left:7%;}
#consultantBCKG{background-size:50% auto;}
#bizmodelBCKG{background-size:75% auto;}

}
