body.top h2{font-size:5.5vw;font-weight:500;letter-spacing:5px;text-align:center;margin-bottom:1em;}
body.top h2 span{font-size:3.5vw;letter-spacing:3px;line-height:1.6;display:block;padding-top:.75em;}
body.top h2.small{font-size:4.5vw;}
body.top h2.small span{font-size:3vw;}

.mainimg{width:100%;position:relative;background-position: top center;background-size:100% auto;background-repeat: no-repeat;background-image: url("../imgs/toppage/top-mainimg-sp.jpg");padding-top:146%;}
.mainimg .wrap{padding:0;}
.mainimg h1{position:absolute; top:48%; left:7%; transform: translate(-0%,-52%);text-align:center;font-size:3.5vw;font-weight:700;letter-spacing:4px;line-height:2;}
.mainimg h1 span{display:block;font-size:12vw;font-weight:700;letter-spacing:5px;line-height:1.2;margin-bottom:.5em;}
.mainimg .menu-cam-wrap{position:absolute; bottom:-5%; left:50%; transform: translate(-50%,-0%);width:100%;padding:0 5%;z-index:10;}
.mainimg .menu-cam-wrap a{width:49%;}

.top-about{position:relative;background-position: top center;background-size:100% auto;background-repeat: no-repeat;background-image: url("../imgs/toppage/top-aboutimg-sp.jpg");padding-top:120%;}
.top-about .wrap{padding:0;}
.top-about .txt{position:absolute; top:13%; right:5%;}
.top-about .txt h2{font-size:3.5vw;font-weight:700;letter-spacing:2.6px;line-height:2.6;text-align:right;margin-bottom:1.25em;}
.top-about .txt p{padding-left:61%;padding-right:1%;font-size:2.75vw;line-height:2.2;text-align: justify;letter-spacing:1px;}

.top-feature{padding:3em 0 10em}
.top-feature ul{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;}
.top-feature li{width:100%;position:relative;}
.top-feature li.txt{padding:10% 7.5% 9%;color:#d12f23;}
.top-feature li.txt:before{content: "";position:absolute;top:0;left:0;width:0;height: 0;border-style: solid;border-width: 80px 80px 0 0;border-color: #d12f23 transparent transparent transparent;}
.top-feature li h3{font-size:5.25vw;margin-bottom:.75em;font-weight:bold;letter-spacing:1px;line-height:1.6;text-align:center;}
.top-feature li p{font-size:3.25vw;line-height:1.7;}
.top-feature li p.num{font-size:14vw;font-style:italic;font-weight:300;color:#fff;position:absolute;top:.1em;left:.1em;line-height:1;}

.top-voice{padding:10em 0 4em;background:#f3f3f3;position:relative;}
.top-voice .user-icon{position:absolute; top:-10%; left:50%; transform: translate(-50%,-0%);width:45%;}
.top-voice section{margin-bottom:1em;}
.top-voice section img{width:100px;margin:0 auto .5em;display:block;}
.voice-box {position: relative;display: inline-block;margin: 1.5em 0;padding:1em;color: #d12f23;background: #FFF;border: solid 4px;box-sizing: border-box;}
.voice-box:before {content: "";position: absolute;top: -17px;left: 50%;margin-left: -13px;border: 10px solid transparent;border-bottom: 10px solid #FFF;z-index: 2;}
.voice-box:after {content: "";position: absolute;top: -25px;left: 50%;margin-left: -15px;border: 12px solid transparent;border-bottom: 12px solid #d12f23;z-index: 1;}
.voice-box p {margin: 0;padding: 0;font-size: 3.5vw;font-weight:bold;line-height:1.7;}
.voice-box p span{font-weight:normal;display:block;}

.top-course{padding:3em 0 0}
.top-course ul{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;}
.top-course li{width:100%;position:relative;margin-bottom:1px;}
.top-course li .txt{width:100%;position:absolute;bottom:0;padding:8% 7%;background-color:rgba(0, 0, 0, 0.3);color:#fff;}
.top-course li .txt h3{font-size:4.5vw;font-weight:bold;margin-bottom:.5em;}
.top-course li .txt p{font-size: 2.05vw;line-height:1.7;}
.top-course li .txt p span{font-size:3.5vw;font-weight:bold;display:block;}

.top-course li .txt .small{font-size:.8em;display: block;}


.top-nayami{padding:4em 0 0;background:#f3f3f3;position:relative;}
.top-nayami ul{display: flex; flex-wrap: wrap; justify-content: center;padding:0 6%;}
.top-nayami li{width:45%;margin:0 2.5% .5em;}
.top-nayami li .voice-box {width:100%;display:block;text-align:center;margin:0 0 1em;padding:.75em;}
.top-nayami li .voice-box:before {top:inherit;bottom:-13px;left: 50%;margin-left: -10px;border: 7px solid transparent;border-top: 10px solid #FFF;z-index: 2;}
.top-nayami li .voice-box:after {top:inherit;bottom: -21px;left: 50%;margin-left: -12px;border: 9px solid transparent;border-top: 12px solid #d12f23;z-index: 1;}
.top-nayami li .voice-box p{font-size:4.5vw;font-weight:bold;letter-spacing:2px;}
.top-nayami img{display:block;margin:0 auto;width:50%;}
.top-nayami .link{position:absolute; bottom:4%; right:0%; width:100%}
.top-nayami .top-link-bt{background:#d12f23;color:#fff;font-size: 2.5vw;}

.top-inst{padding:3em 0}
.top-inst ul{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;margin-bottom:2em;}
.top-inst li{width:50%;position:relative;border-right:1px solid #fff;order-bottom:1px solid #fff;}
.top-inst li .txt{width:100%;position:absolute;bottom:0;padding:8% 7%;background-color:rgba(0, 0, 0, 0.3);color:#fff;}
.top-inst li .txt h3{font-size:5vw;font-weight:600;letter-spacing:4px;}
.top-inst li .txt h3 span{font-size:3vw;font-weight:400;display:block;letter-spacing:2px;padding-top:.2em;}

.top-news{padding:0;}
.top-news section{margin-bottom:0;padding:3em 3% 4em;background:#f3f3f3;}
.top-news section:first-child{margin-bottom:0;background: #0b536e;background-color:rgba(11, 83, 110, 0.9);}
.top-news section:first-child h2{color:#fff;}
.top-news ul{display: flex; flex-wrap: wrap; justify-content: space-between;}
.top-news li{width:100%;padding:0 1px 0 1px;margin-bottom:1.5em;position: relative;}
.top-news li a{display: flex; flex-wrap: wrap; justify-content: space-between;width:100%;}
.top-news section:first-child a{color:#fff;}
.top-news li div{width:50%;}
.top-news li div.txt{padding:0 2% 0 6%;}
.top-news li p{font-size:3.2vw;line-height:1.6;}
.top-news li p.date{font-size:2.4vw;font-weight:normal;letter-spacing:1px;color:#777;margin-top:.4em;}
.top-news section:first-child p.date{color:#ccc;}
.top-news li .img{position: relative;overflow: hidden;padding: 31% 0 0 0;margin-bottom:1em;}
.top-news li .img img{position: absolute;top: 50%;left: 50%;width: 100%;height: auto;transform: translate(-50%, -50%);}

.top-baner{padding:3em 0 0;}
.top-baner ul{padding:0 7%;}
.top-baner li {border:1px solid #0b536e;background:#0b536e;margin-bottom:3em;}

.top-undertxt{padding:3em 0;position:relative;background-position: top center;background-size:cover;background-repeat: no-repeat;background-image: url("../imgs/toppage/top-undertxt-bk-sp.jpg");width:100%;color:#fff;}
.top-undertxt:before{content:"";position:absolute;background-color:rgba(0, 0, 0, .6);top:0;left:0;width:100%;height:100%;}
.top-undertxt ul{position:relative;padding:0 5%;}
.top-undertxt li{margin-bottom:2.5em;}
.top-undertxt li h3{font-size:4.5vw;font-weight:bold;margin-bottom:1em;}
.top-undertxt li p{font-size:3.25vw;line-height:1.7;}

.top-other{padding:3em 0 1em;}
.top-other section a{display:block;display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;margin-bottom:2em;}
.top-other section .img{width:30%;}
.top-other section .txt{width:62%;}
.top-other section .txt h3{font-size:3.75vw;font-weight:bold;margin-bottom:.5em;}
.top-other section .txt p{font-size:2.75vw;line-height:1.6;}

.top-recommend{padding:3em 0 0;background:#f3f3f3;}
.top-recommend ul{display: flex; flex-wrap: wrap; justify-content: space-between;margin-bottom:1.5em;}
.top-recommend ul:last-child{margin-bottom:.5em;}
.top-recommend li{width:47%;margin-bottom:2em;}
.top-recommend li img{margin-bottom:1em;}
.top-recommend li p{font-size:2.75vw;line-height:1.7;}

.link{text-align:center;}
.top-link-bt{display:block;font-size:2.75vw;text-align:center;font-weight:300;border:1px solid;padding:1em 1.5em;letter-spacing:2px;width:60%;margin:0 auto;position:relative;}
.top-link-bt:after{position:absolute; top: 50%; right: 5%; transform: translate(-0%,-50%);font-family: fontAwesome; content: '\f105';}

@media screen and (min-width: 768px) {
  body.top h2.small{font-size:4vw;margin-bottom:1.5em;}
  body.top h2.small span{font-size:2.3vw;}
    
  .mainimg h1{position:absolute; top:48%; left:7%; transform: translate(-0%,-52%);font-size:3.75vw;line-height:2;}
  .mainimg h1 span{font-size:12vw;letter-spacing:5px;margin-bottom:.5em;}
    
  .top-about .txt h2{font-size:3.75vw;margin-bottom:1.25em;}
  .top-about .txt p{font-size:2vw;line-height:2.6;}
    
  .top-feature{padding:5em 0 16em}
  .top-feature li.txt{padding:11% 7% 10%;}
  .top-feature li.txt:before{border-width: 140px 140px 0 0;}
  .top-feature li p.num{font-size:12vw;}
    
  .top-voice{padding:16em 0 6em;}
  .top-voice .user-icon{top:-10%;width:40%;}
  .top-voice section{margin-bottom:5%;}
  .top-voice section img{width:200px;margin:0 auto 1em;}
  .voice-box {margin: 1.5em 0;padding:2em;}
  .voice-box p {font-size: 3.5vw;}
    
  .top-course{padding:5em 0 0}

  .top-nayami{padding:5em 0 0;}
  .top-nayami li{margin:0 2.5% 3%;}

  /* .top-access .accessbox{flex-wrap: inherit;}
  .top-access{padding:5em 0 0;}
  .top-access section{padding:6em 0;}
  .top-access li img{margin:0 auto .75em;width:65%;} */

  .top-inst{padding:5em 0}
  .top-inst ul{margin-bottom:4em;}

  .top-news section{padding:5em 3%;}
  .top-news li{margin-bottom:2em;}

  .top-baner{padding:5em 0 0;}
  .top-baner li {margin-bottom:5em;}

  .top-undertxt{padding:6em 0 2em;}
  .top-undertxt li{margin-bottom:4em;}
  .top-undertxt li h3{font-size:4vw;}

  .top-other{padding:5em 0 2em;}
  .top-other section a{margin-bottom:4.5em;}
  .top-other section .txt h3{font-size:3.25vw;}

  .top-recommend{padding:5em 0 2em;}
  .top-recommend ul{margin-bottom:2em;}
  .top-recommend li{margin-bottom:4em;}
  .top-recommend li img{margin-bottom:1.25em;}

  .top-link-bt{font-size:2.5vw;}
}

@media screen and (min-width: 897px) {
  .mainimg h1	{font-size:1.9vw;left:5%;width:50%;}
  .mainimg h1 span{font-size:9vw;margin-bottom:.25em;}
  body.top h2{font-size:3.2vw;margin-bottom:1em;}
  body.top h2 span{font-size:2vw;adding-top:.5em;}	
  body.top h2.small{font-size:1.8vw;}
  body.top h2.small span{font-size:1.3vw;}
    
  .mainimg{background-image: url("../imgs/toppage/top-mainimg-pc.jpg");padding-top:62%;}
  .mainimg .menu-cam-wrap{bottom:-5%;width:50%;padding:0 0;}
  .mainimg .menu-cam-wrap a{width:48%;}	
    
  .top-about{background-image: url("../imgs/toppage/top-aboutimg-pc.jpg");padding-top:52%;}	
  .top-about .txt{padding-left:55%;top:50%; right:5%; transform: translate(-0%,-50%);}	
  .top-about .txt h2{font-size:2vw;margin-bottom:1.25em;text-align:center;line-height:2.5;}
  .top-about .txt p{padding-left:0%;font-size:1vw;line-height:2.6;}		
    
  .top-feature{padding:4em 0 5em}
  .top-feature ul{align-items: flex-start;}
  .top-feature ul:nth-child(2n){ flex-flow: row-reverse;}	
  .top-feature ul:last-child{margin-bottom:3em;}	
  .top-feature li{width:50%;}	
  .top-feature li.txt{padding:6% 5% 0;}
  .top-feature li.txt:before{border-width: 100px 100px 0 0;}
  .top-feature li h3{font-size:2.4vw;}
  .top-feature li p{font-size:1.1vw;}
  .top-feature li p.num{font-size:6vw;}
    
  .top-voice{padding:4em 0 5em;}
  .top-voice .user-icon{top:-12.5%;left:7%;transform: translate(-0%,-0%);width:15%;}
  .top-voice .wrap{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;}	
  .top-voice section{margin-bottom:5%;width:48%;display: flex; flex-wrap: wrap; justify-content: space-between; align-items:flex-start;}
  .top-voice section img{width:130px;margin:0 0;}
  .voice-box {width: calc( 100% - 170px);margin:0 0;padding:1.5em;}
  .voice-box:before {top: 50%;left: -6px;margin-top: -12px;border: 8px solid transparent;border-right: 12px solid #FFF;}
  .voice-box:after {top: 50%;left: -12px;margin-top: -14px;border: 10px solid transparent;border-right: 14px solid #d12f23;}
  .voice-box p {font-size: 1.15vw;}
    
  .top-course{padding:4em 0 0}
  .top-course li{width:33.33%;border-right:1px solid #fff;border-bottom:1px solid #fff;}
  .top-course li .txt{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6% 6%;
  }
  .top-course li .txt h3{font-size:2vw;}
  .top-course li .txt h3.small{font-size:1.75vw;line-height:1.5;}
  .top-course li .txt p {font-size: 0.8vw;}
  .top-course li:last-child{width:90%;margin:5%;}
  .top-course li:last-child .txt{left:0;height: 100%;width:50%;padding: 4% 3.5%;}	
  .top-course li:last-child .txt p span{font-size: 1.35vw;}
  .top-course li .txt .small{font-size:.65em;}
    
  .top-nayami{padding:0 5% 0;display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;}
  .top-nayami section{width:63%;padding:2.5em 0 2em;}
  .top-nayami section:last-child{width:37%;padding:0;}	
  .top-nayami ul{padding:0 0;}
  /*.top-nayami li{width:30.333%;margin:0 1.5% .5em;}*/
  .top-nayami li .voice-box {margin:0 0 1.5em;padding:.75em;}
  .top-nayami li .voice-box p{font-size:2vw;}
  .top-nayami img{display:block;margin:0 0;width:100%;}
  .top-nayami .link{position:static;}
  .top-nayami .top-link-bt{width:35%;font-size: .9vw;}	

  /* .top-access{padding:4em 0 0;}
  .top-access section.tokyo{background-image: url("../imgs/toppage/top-accessimg1.jpg");}
  .top-access section.harajuku{background-image: url("../imgs/toppage/top-accessimg2.jpg");}
  .top-access section.shinjuku{background-image: url("../imgs/toppage/top-accessimg3.jpg");}
  .top-access section.nagoya{background-image: url("../imgs/toppage/top-accessimg4.jpg");}
  .top-access section.fukuoka{background-image: url("../imgs/toppage/top-accessimg5.jpg");}	
  .top-access section.nakano{background-image: url("../imgs/toppage/top-accessimg6.jpg");}	
  .top-access section{width:20%;padding:2.5em 0;margin-bottom:0}
  .top-access section h3{font-size:1.6vw;}
  .top-access section h3 span{font-size:1vw;padding-top:.2em;}
  .top-access ul{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;padding:7.5% 10% 0;}	
  .top-access li.ac,.top-access li.line{position:static;transform: translate(-0%,-0%);width:42%;}
  .top-access li a{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;}
  .top-access li img{margin:0 auto;width:20%;}	
  .top-access li p{font-size:.9vw;color:#fff;width:77%} */

  .top-inst{padding:4em 0;width:80%;margin:0 auto;}
  .top-inst ul{margin-bottom:3em;}
  .top-inst li{width:25%;}
  .top-inst li .txt h3{font-size:1.8vw;}
  .top-inst li .txt h3 span{font-size:1vw;}

  .top-news section{margin-bottom:0;padding:4% 3% 5%;position:relative;}
  .top-news ul:before{content:"";display: block;width:23%;order:1;}
  .top-news ul:after{content:"";display: block;width:23%;}		
  .top-news li{margin-bottom:.75em;width:23%;display:block;}
  .top-news li div{width:100%;}
  .top-news li div.txt{padding:0 0;}	
  .top-news li .img{padding: 61% 0 0 0;margin-bottom:1em;}	
  .top-news li p{font-size:1.2vw;line-height:1.6;}
  .top-news li p.date{font-size:.8vw;}
  .top-news .top-link-bt{font-size:1vw;}

  .top-baner{padding:4em 0;}
  .top-baner ul{display: flex; flex-wrap: wrap; justify-content: center; align-items: center;padding:0 10%;}
  .top-baner li {width:35%;margin-bottom:0;}
  .top-baner li:last-child {/* width:60%; */padding-top:17.32%;position: relative;}
  .top-baner li:last-child img{position:absolute;top: 50%; left: 50%; transform: translate(-50%,-50%);}	

  .top-undertxt{padding:4em 0 1em;background-image: url("../imgs/toppage/top-undertxt-bk-pc.jpg");}
  .top-undertxt:before{background-color:rgba(0, 0, 0, .6);}
  .top-undertxt ul{position:relative;padding:0 0;display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;}
  .top-undertxt li{width:47%;margin-bottom:2.5em;}
  .top-undertxt li h3{font-size:2vw;margin-bottom:1em;}
  .top-undertxt li p{font-size:1.25vw;}

  .top-other{padding:4em 0;}
  .top-other .wrap{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;}
  .top-other section{width:23%;}	
  .top-other section a{display:block;margin-bottom:0;}
  .top-other section .img{width:100%;margin-bottom:1em;}
  .top-other section .txt{width:100%;}
  .top-other section .txt h3{font-size:1.1vw;}
  .top-other section .txt p{font-size:1vw;}

  .top-recommend{padding:3em 0;background:#f3f3f3;}
  .top-recommend li{width:10.5%;margin-bottom:2em;}
  .top-recommend li img{margin-bottom:1em;}
  .top-recommend li p{font-size:1vw;line-height:1.7;}
    
  .recommend2{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;}
  .recommend2 section{width:60%}
  .recommend2	section ul{margin-bottom:0;}
  .recommend2 section li{width:22%;margin-bottom:0;}	
  .recommend2 section:last-child{width:35%}
  .recommend2 section:last-child li{width:47%;}	
    
  .top-link-bt{font-size:1.1vw;width:30%;}	
}

@media screen and (min-width: 1280px) {
  body.top h2{font-size:2.2vw;margin-bottom:1em;}
  body.top h2 span{font-size:1.1vw;padding-top:.25em;}
  body.top h2.small{font-size:1.8vw;}
  body.top h2.small span{font-size:1vw;}	
    
  .top-feature{padding:3.5% 0 5%;}
  .top-feature li.txt:before{border-width: 130px 130px 0 0;}
  .top-feature li p.num{font-size:80px;}	
    
  .top-voice{padding:3.5% 0 5%;}
  .top-voice .user-icon{top:-12.5%;left:8%;width:12%;}
  .top-voice section{margin-bottom:5%;}
  .voice-box {margin:0 0;padding:2em;}
  .voice-box p {font-size: 1vw;line-height:1.8;}
    
  .top-course{padding:3.5% 0 0}	
  .top-course li{margin-bottom:0;}
  .top-course li .txt{
    height: 60%;
    display: block;
  }
  .top-course li .txt h3{font-size:1.6vw;}
  .top-course li .txt h3.small{font-size:1.5vw;line-height:1.5;}
  .top-course li .txt p{font-size: 0.8vw;}
  .top-course li:last-child{width:80%;margin:3.5% 10% 5%;}
  .top-course li:last-child .txt{left:0;height: 100%;width:50%;padding: 4% 4.5%;}	
  .top-course li:last-child .txt p span{font-size: 1.1vw;padding-top:.5em;}	
    
  .top-nayami{padding:0 10% 0;}
  .top-nayami section{width:69%;padding:3% 0 4%;}
  .top-nayami section:last-child{width:31%;padding:0;}	
  .top-nayami ul{padding:0 0;}
  .top-nayami li .voice-box p{font-size:1.7vw;}
  .top-nayami .top-link-bt{font-size: .7vw;}	
    
  /* .top-access{padding:3.5% 0 0;}
  .top-access section{padding:3% 0;} */
    
  .top-inst{padding:3.5% 0 4%;}
    
  .top-news section{padding:3.5% 10% 4%;}	
  .top-news ul{padding:0 0;}
  .top-news li{margin-bottom:2em;}	
  .top-news li .img{margin-bottom:1.5em;}	
  .top-news li p{font-size:.8vw;}
  .top-news li p.date{font-size:.6vw;}
  .top-news .link{right:10%;top:2%;}
  .top-news .top-link-bt{font-size:.65vw;}
    
  .top-baner{padding:3.5% 0;}
    
  .top-undertxt{padding:4.5% 0 3%;}
  .top-undertxt li{width:47%;margin-bottom:3.5em;}
  .top-undertxt li h3{font-size:1.1vw;margin-bottom:1em;}
  .top-undertxt li p{font-size:.8vw;}
      
  .top-other{padding:3.5% 0;}	
  .top-other section .txt h3{font-size:.8vw;}
  .top-other section .txt p{font-size:.7vw;}
  .top-recommend{padding:4% 0;}
  .top-recommend ul{margin-bottom:5%;}	
  .top-recommend li{margin-bottom:0;}	
  .top-recommend li p{font-size:.7vw;}
    
  .top-link-bt{font-size:.8vw;width:20%;}		
}

