@charset "utf-8";

/* main header */
.main-header {
  position: relative;
}

.mainpic {
  display: none;
}

.slider-item01 {
  background:url(../images/sp-main1.jpg);
  height: 689px;
}

.slider-item02 {
  background:url(../images/sp-main2.jpg);
  height: 689px;
}

.slider-item03 {
  background:url(../images/sp-main3.jpg);
  height: 689px;
}

.slider-item {
  width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  background-repeat: no-repeat;/*背景画像をリピートしない*/
  background-position: center;/*背景画像の位置を中央に*/
  background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.main-subtittle {
  color: #FFF;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 2rem;
  font-weight: 700;
}

.main-tittle {
  color: #FFF;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 3.2rem;
  font-weight: 700;
}

.main-header-text {
  background-color: rgba(128, 188, 232, 0.90);
  width: 100%;
  height: 190px;
  padding: 27px 0;
  position: absolute;
  bottom: 0;
}



@media screen and (min-width:810px) {
  .mainpic {
    display: block;
  }

  .pc-main-fadein {
    animation-name: fadeInAnime;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    opacity: 0;
  }

  @keyframes fadeInAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }

  .slider-main {
    display: none;
  }

  .main-subtittle {
    font-size: 3.2rem;
  }

  .main-tittle {
    font-size: 4rem;
  }

  .main-header-text {
    height: 160px;
    padding: 17px 0 36px;
  }
}



/* section lead */
.section-lead {
  padding-bottom: 60px;
  background-image: url(../images/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
}

.lead-text {
  color: var(--text, #333);
  font-size: 1.8rem;
}

.add-friend {
  margin: 30px auto 13px;
  font-size: 16px;
  font-weight: 500 ;
  text-align: center;
  position: relative;
  width: 190px;
} 

.add-friend:before,
.add-friend:after {
  position: absolute;
  top: calc(50% - 3px);
  width: 25px;
  height: 6px;
  content: '';
  border-top: solid 1px #333;
  border-bottom: solid 1px #333;
}

.add-friend:before {
  left: 0;
  transform: rotate(35deg)
}

.add-friend:after {
  right: 0;
  transform: rotate(-35deg)
}

@media screen and (min-width:810px) {
  .lead-text {
    font-size: 2rem;
    max-width: 718px;
    margin: 0 auto;
  }
}


/* section slide */
.section-slide {
  padding: 0;
}

/* section reason */
.section-reason {
  background-color: #EAF6FF;;
  padding-top: 60px;
}
.icon-reason {
  width: 25px;
  height: auto;
  margin-right: 10px;
}

.reason-text {
  margin-top: 37px;
}

.circles {
  margin: 26px 0 35px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.circle-tittle {
  color: #FFF;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  background-color: #3FA9F6;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width:810px) {
  .sectiion-reason {
    width: 100%;
  }

  .reason-content {
    max-width: 1160px;
    display: flex;
    justify-content: space-between;
    gap: 0 60px;
    margin: 0 auto;
  }

  .reason-pc-right {
    max-width: 540px;
    width: 48%;
  }

  .icon-reason {
    width: 40px;
    margin-right: 20px;
  }
  
  .circles {
    margin: 26px 0 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* section price */
.price-text {
  margin-top: 30px;
}
.icon-price {
  width: 30px;
  margin-right: 5px;
  margin-top: 8px;
}

.class-list {
  display: flex;
  justify-content: center;
  margin: 30px 0 ;
  gap: 0 17px;
}

.class {
  background-color: #D1D8E0;
  width: 160px;
  height: 180px;
  border-radius: 10px;
}

.class-tittle {
  font-size: 1.6rem;
  font-weight: 700;
  padding-top: 57px;
  text-align: center;
}

.price {
  font-size: 2.4rem;
  font-weight: 500;
  text-align: center;
}

.yen {
  font-size: 1.6rem;
  font-weight: 500;
}

.note {
  font-size: 1rem;
  padding-top: 7px;
  padding: 4px 25px 0;
}

@media screen and (min-width:810px) {
  .section-price {
    max-width: 1160px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin: 0 auto;
    gap: 60px;
  }

  .price-pc-left {
    width: 45%;
    max-width: 530px;
  }

  .icon-price {
    width: 50px;
  }

  .price-text {
    margin-top: 40px;
  }

  .class-list {
    margin-top: 66px;
  }

  .class {
    width: 245px;
    height: 145px;
  }

  .class-tittle {
    padding-top: 41px;
  }

  .note {
    margin: 0 auto;
    padding: 0 19% 0;
  }

  .morebtn {
    margin-top: 45px;
  }
}

/* section teacher */
.section-teacher {
  background-color: #EAF6FF;
}

.icon-teacher {
  width: 40px;
  margin-right: 10px;
}

.teacher-name {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin: 30px 0 20px;
}

.comment-tittle {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 30px 0 8px;
}

@media screen and (min-width:810px) {
  .section-teacher {
    width: 100%;
  }

  .teacher-div {
    display: flex;
    justify-content: space-between;
    gap: 0 80px;
    max-width: 1160px;
    margin: 0 auto;
  }

  .teacher-pc-right {
    width: 42%;
    max-width: 490px;
  }

  .icon-teacher {
    width: 55px;
    margin-right: 15px;
  }

  .teacher-name {
    text-align: start;
  }

  .comment {
    margin-top: 70px;
  }

  .comment-tittle {
    text-align: start;
  }
}

/* section lesson */
.icon-lesson {
  width: 35px;
  margin-right: 10px;
}

.lesson-tittle {
  margin-top: 0;
}

.lesson-pic {
  width: 200px;
  margin: 30px auto;
}


.lesson-list {
  max-width: 345px;
  display: flex;
  margin: 0 auto;
  background-color: #EAF6FF;
  padding: 19px 20px 16px 7px;
  border-radius: 10px;
  margin-top: 25px;
}

.lesson-num {
  font-size: 2rem;
  margin-right: 18px;
}

.lesson-pic-sec {
  display: none;
}

.lesson-text {
  margin-top: 20px;
}

@media screen and (min-width:810px) {
  .section-lesson {
    max-width: 900px;
    margin: 0 auto;
  }

  .icon-lesson {
    width: 50px;
    margin-bottom: 10px;
  }

  .lesson-pic {
    display: none;
  }

  .lesson-pc-content {
    display: flex;
    justify-content: space-between;
    gap: 0 60px;
    margin: 40px;
  }

  .lesson-pc-right {
    width: 375px;
  }
  .lesson-pic-sec {
    display: block;
    width: 270px;
    margin: 0 auto;
  }

  .lesson-list {
    margin: 0 0 35px;
  }

  .add-friend {
    margin-top: 15px;
  }


}

/* sectiob access */
.section-access {
  background-color: #EAF6FF;
}

.access-tittle {
  margin-top: 0;
}

.icon-access {
  width: 30px;
  margin-right: 10px;
}

.access-content {
  gap: 0 60px;
}

.map {
  margin-top: 30px;
  width: 100%;
  height: 210px;
}

.access-list {
  margin-top: 30px;
}

.school-open::after {
  position: absolute; 
  content: "";
  background-color: #ccc; 
  width: 310px; 
  height: 1px; 
  top: -12px; 
  left: 150px; 
  transform: translateX(-50%);
}

.school-open {
  position: relative;
  display: flex;
  margin-top: 26px;
}

.open {
  margin-left: 40px;
}

.access-text {
  margin-top: 20px;
}

@media screen and (min-width:810px) {
  .section-access {
    width: 100%;
  }

  .access-div {
    max-width: 1160px;
    margin: 0 auto;
  }
  .access-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  

  .icon-access {
    width: 35px;
    margin-top: 5px;
  }

  .map {
    width: 57%;
    max-width: 670px;
    height: auto;
  }

  .access-pc-left {
    width: 410px;
  }

  .access-list {
    margin-top: 40px;
  }

  .school-open::after {
    width: 390px;
    left: 190px;
  }
}
