@charset "utf-8";




@media screen and (min-width:391px) and ( max-width:599px) {
    /*　画面サイズが391pxから599pxまではここを読み込む　*/

/* *****mv***** */

#mv{
  background: url("../img/sp-mv.avif") no-repeat center center; 
  background-size: cover;
  max-width: 100%;
  height: 600px;
}

#mv #headline{
  position: relative;
    max-width: 100%;
  height: 600px;
}

#mv #headline h1{
display: block;
}


#mv #headline h1{
/*font-family: 'Noto Sans JP', sans-serif;
display: block;
position: absolute;
color: #fff;
font-size: 2rem;
font-weight: 800;
line-height: 3rem;
top: 3%;
left: 10%;*/
display: none;
}


#mv #headline p{
/*display: block;
position: absolute;
font-size: 1rem;
font-weight: bold;
top:28%;
left: 4%;
line-height: 2rem;*/
display: none;
}




#mv #headline .mv-btn{
  position: absolute;
  width: 80%;
  bottom: 5%;
    left: 0;
  right: 0;
  margin: auto;

}

}   /*　画面サイズが391pxから599pxまではここを読み込む　*/




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



#page{
  margin-top: 0rem!important;
}

  main#lp {
  margin-top: 50px;
}

/* *****ヘッダー***** */
.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}

#mv .scroll {
  color: #fff;
/* *****sec0***** */

/*#sec0 h2{
  font-size: 1.5rem;
}
*/


/* *****sec1***** */

#sec1 h2{
  font-size: 1.5rem;
}

/* *****sec1-2***** */

#sec1-2 h2{
  font-size: 1.5rem;
}



/* *****sec2***** */

#sec2 h2{
  font-size: 1.5rem;
  margin: 0rem 0 1rem; 
  line-height: 1.5;
}

#sec2 h2 span{
  font-size: 1.7rem!important;

}


/* *****sec2-2***** */

#sec2-2 h2{
    font-size: 1.2rem;
  margin: 0rem 0 1rem; 
  line-height: 1.8rem;
}

#sec2-2 h2 span{
  font-size: 1.5rem!important;

}

#sec3 h2{
 font-size: 1.5rem;
}


/* *****sec4***** */

#sec4 .features .features-text h3.sch08,
#sec4 .features .features-text h3.sch10{
    margin-bottom: 1rem;
}


/* *****sec12***** */

#sec12 h2{
  font-size: 1.5rem;
}



/* *****sec5***** */
#sec5 h2{
  font-size: 1.5rem!important;
}


/* *****無料学習相談会***** */


.page-mv .container h1.nagare{
      font-size: 1.3rem;
}

.page-mv-bane .container h1.nagare{
      font-size: 1.3rem;
}
.page-mv-hiza .container h1.nagare{
      font-size: 1.3rem;
}
.page-mv-zakotsu .container h1.nagare{
      font-size: 1.3rem;
}
.page-mv-koshi .container h1.nagare{
      font-size: 1.3rem;
}

/* *****3つのポイント***** */

#page .point{
padding-bottom: 1rem;
}

#page .point img{
width: 100%;
margin: 1rem auto;
}
#page .point p{
line-height: 1.6;
}


/* *****院長紹介***** */
#page .teacher-text img{
  width: 100%;
}
#page .intro-img img{
  width: 100%;
}
/* *****孫先生推薦***** */

.suisen .text{
  margin: 1rem 0.5rem;
}

.suisen .text p{
  margin-right:0.7rem ;
  margin-left:0.7rem ;
}



/*Youtube*/

.ytw640{
  width: 100%!important;
  margin: 1rem auto;
}

#page h2.pat{
  line-height: 2rem;
}

}/*SP END*/
