@charset "UTF-8";

p {
  margin-bottom: 1.875em;
  line-height: 2.153;
}
.lead {
  text-align: center;
  font-weight: 500;
}
.txt {
  padding: 0 20px;
}

/***** fadein *****/
.fadein {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.fadein.is-show {
  opacity: 1;
}

/***** mvSec *****/
.mvSec {
  margin-top: -80px;
  height: 100dvh;
}
.mvSec .mvSlideBox {
  position: relative;
  margin-bottom: 20px;
  max-height: 167vw;
}

.mvSec .mvSlideBox .topNews {
  position: absolute;
  top: calc(100dvh - 80px - 3em);
  left: 0;
  width: calc(100% - 50px + 16px)
}

.mvSec .mvSlideBox .topNews p {
  width: 100%;
  overflow: hidden;
  line-height: 1.5;
  padding: .5em 1em;
  background-color: #fff;
  border: 1px solid #5BB647;
  border-radius: 1.5em;
  font-size: .769em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mvSec .mvSlideBox .topNews p data {
  padding-right: 1em;
  color: #5BB647;
}

.mvSec .mvSlideBox .point {
  position: absolute;
  top: 80px;
  left: 12px;
  width: 29.6%;
  line-height: 1;
	padding-left: 2px;
  color: #777;
  font-size: .61538em;
}
.mvSec .mvSlideBox .point span {
	margin-left: -2px
}
.mvSec .mvSlideBox .catchcopy {
  position: absolute;
  top: calc(100dvh - 80px - 3em);
  left: 12%;
  width: 62.5%;
  transform: translateY(-102%);
}

@media screen and (max-width: 767px) and (min-height: calc(167vw + 70px)) {
  .mvSec .mvSlideBox .topNews {
    top: auto;
    bottom: 7vw;
  }  
  .mvSec .mvSlideBox .catchcopy {
    top: auto;
    bottom: 7vw;
    transform: translateY(-35px);
  }
}


/***** aboutSec *****/
.aboutSec .magicDet figure {
  position: relative;
}


/***** search-classroomBox *****/
.search-classroomBox {
  padding: 31px 12px 30px;
  border-radius: 10px;
  background-color: #F0F7EE;
}
.search-classroomBox .searchBox {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 12px;
  border-radius: 10px;
  background-color: #fff;
}


/***** courseSec *****/
.courseSec figure {
  margin-bottom: 30px;
  text-align: center;
}


/***** eventSec *****/
.eventSec figure.sp {
  margin-bottom: 30px;
  text-align: center;
}


/***** episodeSec *****/
.episodeSec {
  position: relative;
}

.episodeSec #lottieContainerEpisodeSp,
.episodeSec #lottieContainerEpisodePc {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.episodeSec .btnBox {
  margin-top: 40px;
}

/***** aboutSec *****/
.aboutSec {
  overflow: hidden;
}

.aboutSec .magicDet h3 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 5%;
  color: #5BB647;
  margin-bottom: 30px;
}

.aboutSec .magicDet h3 img {
  margin-bottom: 20px;
}

.aboutSec .magic1 {
  margin-bottom: 60px;
}

.aboutSec .magic1 svg {
  /*transform: scale(1.3) translateX(-8%) !important;*/
  max-width: 900px;
}

.aboutSec .magic2 svg {
  /*transform: scale(1.3) !important;*/
  max-width: 900px;
}

.aboutSec .magic2 h3,
.aboutSec .magic2 p {
  text-align: right;
}

@media screen and (min-width: 768px) {
  body {
    padding-top: 120px;
    overflow-x: hidden;
  }

  .lead {
    font-size: 1.125em;
  }
  .txt {
    padding: 0;
  }
  
  .contDetTtl {
    margin-bottom: 25px;
    font-size: 1.375em;
  }


  /***** mvSec *****/
  .mvSec .mvSlideBox {
    max-width: 1800px;
    margin: 0 auto -26px;
  }

  .mvSec .mvSlideBox .topNews {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 840px;
    margin: 0 auto 50px;
  }

  .mvSec .mvSlideBox .point {
    top: 40px;
    left: 40px;
    width: 8.722%;
    margin-bottom: 0;
  }
  .mvSec .mvSlideBox .catchcopy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding-left: 21.8%;
    margin: -18.15% auto 8.7%;
    transform: translateY(0);
  }
  .mvSec .mvSlideBox .catchcopy img {
    width: 22.2%;
  }



  /***** aboutSec *****/
  .aboutSec .txt {
    padding-top: 55px;
  }

  .aboutSec .magicDet{
    max-width: 1450px;
    padding: 0 120px;
    gap: 52px;
  }

  .aboutSec .magicDet.magic1{
    padding: 0 120px 0 120px;
  }

  .aboutSec .magicDet.magic2{
    padding: 0 120px 0 240px;
  }

  .aboutSec .magicDet h3 {
    font-size: 28px;
    line-height: 1.5;
  }

  .aboutSec .contTtl {
    margin-bottom: 80px;
    font-size: 1.75em;
  }
  .aboutSec .contTtl img {
    width: 41px;
  }

  .aboutSec .magic1 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .aboutSec .magic2 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
  }
  
  /*.aboutSec .magic1 svg {
    transform: scale(1) !important;
  }

  .aboutSec .magic2 svg {
    transform: scale(1) !important;
  }*/

  .magicDetGroup{
    position: relative;
    height: 1000px;
    display: flex;
    justify-content: center;
  }
  .magic1.magicDet,
  .magic2.magicDet{
    position: absolute;
  }

  .magic1.magicDet{
    top: 0;
  }

  .magic2.magicDet{
    top: 450px;
  }

  .aboutSec .magicDet .txt{
    flex: 0 0 auto;
    width: 304px;
  }
  .aboutSec .magicBtn {
    position: relative;
    z-index: 1;
  }

  /***** search-classroomBox *****/
  .search-classroomBox .contTtl img {
    width: 50px;
  }
  .search-classroomBox {
	  width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 80px 0 100px;
    border-radius: 0;
  }
  .search-classroomBox .searchBox {
    border-radius: 20px;
    padding-bottom: 50px;
  }


  /***** courseSec *****/
  .courseSec .contTtl img {
    width: 92px;
  }
  .courseSec figure {
    margin-bottom: 80px;
  }


  /***** eventSec *****/
  .eventSec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  .eventSec .contTtl img {
    width: 60px;
  }
  .eventSec .txtBox {
    width: 34.8%;
  }
  .eventSec figure {
    width: 58.3%;
  }
  .eventSec .btnBox {
    width: 100%;
    margin-top: 32px;
  }


  /***** episodeSec *****/
  .episodeSec .contTtl img {
    width: 60px;
  }
  .episodeSec .txt {
    text-align: center;
  }
  .episodeSec .btnBox {
    margin: 90px auto 150px;
  }


  /***** trialSec *****/
  .trialSec {
	  width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 120px 16px 110px;
    background: url(../images/bg-f_lesson.png);
  }
  .trialSec .contDetTtl {
    font-size: 1.625em;
  }
  .trialSec .contDetTtl img:first-child {width: 47px;}
  .trialSec .contDetTtl img:last-child {width: 38px;}


  /***** faqSec *****/
  .faqSec .contTtl img {
    width: 32px;
  }


  /***** newsSec *****/
  .newsSec .contTtl img {
    width: 56px;
  }


}
@media (min-width: 768px) {
  .aboutSec .magicDet{
    max-width: 1450px;
    padding: 0 clamp(16px, 6vw, 120px); /* 固定120pxを可変に */
    gap: 52px;
  }
  .aboutSec .magicDet.magic2{
    padding: 0 clamp(16px, 6vw, 120px) 0 clamp(32px, 12vw, 240px);
  }
}

/*@media screen and (min-width: 768px) and (max-width: 1000px) {
  .aboutSec .magicDet{
    display: block !important;
  }
  .magic1.magicDet,
  .magic2.magicDet {
    position: static !important;
  }

  .magicDetGroup{
    height: auto;
  }

  .aboutSec .magicDet.magic1,
  .aboutSec .magicDet.magic2{
    padding: 0;
  }

  
}*/

@media (min-width: 1080px) {
  .mvSec .mvSlideBox .point {
    left: calc(50% - 540px)
  }
}