@charset "UTF-8";

:root {
  --main-color: #F5F5F5;
  --sub-gray: #F9F9F9;
  --sub-blue: #8EB1CE;

  --white: #FFFFFF;
  --navy-blue: #4682B4;
  --light-blue: #ABD5FF;
  --header-blue: #EBF1F6;
  --caution-red: #F94646;

  --font-base: "Zen Maru Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;

  --radius-sm: 5px;
  --radius-md: 15px;
  --radius-lg: 50px;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--main-color);
  font-family: var(--font-base);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  font-style: normal;
  line-height: 2;
  position: relative;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 40;
}
/* メニュー開いた時 */
body.nav-open::after {
  opacity: 1;
  pointer-events: auto;
}
header::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 40;
}
/* メニュー開いた時 */
header.nav-open::after {
  opacity: 1;
  pointer-events: auto;
}
section {
  padding: 185px 0;
}
.inner900 {
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
}
h2 {
  color: var(--navy-blue);
  font-family: var(--font-en);
  font-size: clamp(1.75rem, 1.318rem + 2.16vw, 2.938rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.6;
}
h3 {
  color: var(--navy-blue);
  font-size: clamp(1.063rem, 0.722rem + 1.7vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1.7rem;
  line-height: 1.6;
}
h3::before {
  display: block;
  content: "";
  width: 9px;
  height: 63px;
  background: var(--light-blue);
}

.pc_none {
  display: none;
}
.sp_none {
  display: block;
}

/* ------------------------セクションの背景色------------------------ */

header {
  background: var(--header-blue);
}
.Note_section,
.Level_section {
  background: var(--sub-gray);
}
.Policy_section {
  background: var(--sub-blue);
}
.Profile_section,
.Access_section {
  background: var(--white);
}
footer {
  background: var(--light-blue);
}


/* ------------------------基本CSS------------------------ */

.white {
  color: var(--white);
}
.red {
  color: var(--caution-red);
}
.blue {
  color: var(--navy-blue);
}
.flexcenter {
  display: flex;
  justify-content: center;
}
.tx_center {
  text-align: center;
}
.mt-1rem {
  margin-top: 1rem;
}
.mt-2rem {
  margin-top: 2rem;
}
.mt-5rem {
  margin-top: 5rem;
}
.mb-2rem {
  margin-bottom: 2rem;
}
.m-center {
  margin: 0 auto;
}
/* h2タイトル */
.section-ttl {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 4rem;
  line-height: 1.6;
}
.section-ttl p {
  overflow: hidden;
}
.section-ttl.left {
  text-align: left;
}
/* グラデーション付き画像 */
.base_img {
  width: 100%;
  height: 275px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 5rem;
}
.base_img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #F5F5F5);
  opacity: 0.5;
  z-index: 1;
}
.base_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 注意書き */
.caution {
  color: var(--caution-red);
  font-size: 1.1rem;
  margin-top: 1rem;
}
/* ボタン */
.cta_btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, var(--light-blue), var(--navy-blue));
  color: var(--white);
  border-radius: 9999px;
  font-weight: bold;
  width: fit-content;
  margin-top: 4.9rem;

  padding: 18px 64px 18px 40px;
  transition: 0.4s;
}
.cta_btn img {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: block;
}
.cta_btn p {
  margin-right: 1.5rem;
}
.cta_btn:hover {
  opacity: 0.7;
  transform: scale(1.04);
  transition: 0.4s;
}
/* ------------------------header------------------------ */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px 0 20px;
}
.header_logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --------------------------FV-------------------------- */

.FV_section {
  height: 700px;
  background: url(../img/fv/fv_img02.jpg) center / cover no-repeat;
  border-radius: 0 0 80px 80px;
  position: relative;
  padding: 0 4rem;
  display: flex;
  align-items: center;
}
.text_img {
  position: relative;
}
.text_img img {
  width: 100%;
  height: auto;
  background-size: cover;
  border-radius: 10px;
  margin-bottom: 2rem;
}
.text_img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #F5F5F5);
  opacity: 0.4;
  z-index: 1;
}
.fv_text {
  width: 67%;
  height: 70%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 30px;
  padding: 8% 5%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.fv_text h1 {
  font-size: clamp(2rem, 1.477rem + 2.61vw, 3.438rem);
  font-weight: bold;
}
.fv_sub_ttl {
  font-weight: bold;
  font-size: clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
}
.fv_text :nth-of-type(2) {
  font-size: 85%;
}
.floating_btn {
  position: fixed;
  bottom: 30px;
  right: 40px;
  transition: 0.2s;
  z-index: 50;
  opacity: 0;
  transform: translateY(20px);
    transition: transform .3s;
}
.floating_btn img {
  width: 95%;
}
.floating_btn:hover {
  transform: translateY(0) scale(1.1);
  opacity: 0.7;
}
/* --------------------------体験教室------------------------ */

.trial_fv {
  width: 100%;
  height: 700px;
  background-image: url(../img/trial/trial_fv.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.trial_fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #F5F5F5);
  opacity: 0.2;
  z-index: 1;
}
.tr_fvtext {
  font-size: clamp(1.25rem, 0.886rem + 1.82vw, 2.25rem);
  background: rgba(0, 0, 0, 0.3);
  color: var(--white);
  padding: 35px 60px;
  border-radius: 20px;
}
.trial_top p:nth-of-type(3) {
  font-size: 80%;
  text-align: center;
}
.trial_top .cta_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4rem;
  width: fit-content;
}
.trial_top .cta_wrapper .cta_btn {
  padding: 18px 64px 18px 50px;
}
.trial_top .cta_wrapper .cta_btn P {
  font-size: 100%;
  margin-right: 1.5rem;
}
.trial_top .cta_wrapper p {
  text-align: center;
  font-size: 80%;
  margin: 0 auto;
}
.trial_section {
  padding: 100px 0;
}
.trial_section .cta_btn {
  margin-top: 2rem;
}
.trial_section .lesson-table tr td:first-child {
  font-weight: normal;
}


/* ------------------------note_list--------------------- */

.note_list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.note_list li {
  display: flex;
  align-items: center;
  gap: 3%;
}
.note_list li p {
  flex: 1;
}
.note_icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  border: solid 1px var(--navy-blue);
  margin-right: 20px;
  position: relative;
}
.note_icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.note_list li:nth-child(odd) .note_icon::before {
  content: "";
  display: block;
  background-image: url(../img/note/blue_note.svg);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.note_list li:nth-child(even) .note_icon {
  background: var(--navy-blue);
}
.note_list li:nth-child(even) .note_icon::before {
  content: "";
  display: block;
  background-image: url(../img/note/white_note.svg);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.note_caution {
  display: flex;
  gap: 1rem;
  background-color: var(--white);
  padding: 2.5rem;
  margin-top: 3rem;
}
.note_caution span {
  color: var(--navy-blue);
}

/* ------------------------lesson--------------------- */

.Lesson_section {
  position: relative;
  z-index: 1;
}
.Lesson_section .back_img {
  display: block;
  content: "";
  width: 35%;
  height: 707px;
  background-image: url(../img/lesson/lesson_img.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 11%;
  right: 0;
  z-index: -1;
  opacity: 0.8;
}
.lesson-table table {
  width: 90%;
  table-layout: fixed;
  background: var(--white);
  border: solid 1px var(--navy-blue);
  margin-top: 2.5rem;
  line-height: 1.6;
}
.lesson-table th,
td {
  vertical-align: middle;
  text-align: center;
  letter-spacing: 0.06em;
  padding: 23px 25px;
}
.lesson-table th {
  background: var(--navy-blue);
  color: var(--white);
}
.lesson-table th {
  border-right: 1px solid var(--white);
}
.lesson-table th:last-child {
  border-right: none;
}
.lesson-table td {
  border: solid 1px var(--navy-blue);
}
.lesson-table tr td:first-child {
  font-weight: bold;
}
.lesson-table span {
  font-size: 14px;
}
/* .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
} */
@media (max-width: 768px) {
  /* .table-scroll {
    margin-right: -20px;
  }
  .lesson-table.first table {
    min-width: 530px;
    margin-top: 2.5rem;
  } */
  .lesson-table.first th,
  .lesson-table.first td {
    padding: 16px 18px;
  }
   .note {
    font-size: 13px;
   }
}
.note {
  font-size: 14px;
}
.onelesson_ttl span {
  font-size: 65%;
}
.lesson_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}
.lesson_btn .cta_btn {
  min-width: 470px;
  margin-top: 1rem;
}
.lesson_btn .cta_btn p {
  font-size: 100%;
  color: var(--white);
}
.lesson_btn p {
  width: 100%;
  text-align: center;
  color: var(--navy-blue);
  font-size: 80%;
}
.lesson_btn .call {
  position: relative;
}
.lesson_btn .call::before,
.lesson_btn .call::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--navy-blue);
  position: absolute;
  bottom: 17px;
}
.lesson_btn .call::before {
  left: 24px;
  rotate: 45deg;
}
.lesson_btn .call::after {
  right: 24px;
  rotate: -45deg;
}

/* ------------------------level--------------------- */

.level_cardlist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  column-gap: 35px;
  row-gap: 3rem;
}
.level_cardlist p:first-of-type {
  font-size: 90%;
}
.level_cardlist p:nth-of-type(2) {
  font-size: 85%;
}
.level_cardlist img {
  width: 100%;
  border-radius: 45px 45px 0 0;
}
.level_image p {
  background: var(--navy-blue);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  padding: 2% 0;
  border-radius: 0 0 15px 15px;
}
.level_cardlist li>p:first-of-type {
  color: var(--navy-blue);
  margin-top: 1.5rem;
}

/* -------------------------text---------------------- */

.Text_section {
  position: relative;
  z-index: 1;
}
.Text_section .back_img {
  display: block;
  content: "";
  width: 30%;
  height: 665px;
  background-image: url(../img/text/text_img.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 10%;
  right: 16%;
  z-index: -1;
}

/* ------------------------plofile--------------------- */

.Profile_section {
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.profile_back {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 100%;
  z-index: -1;
  background-image: url(../img/teacher/teacher_back.jpg);
  background-size: cover;
  background-position: center;
}
.teacher_flex {
  display: flex;
  align-items: center;
  gap: 9%;
}
.teacher_image img {
  border-radius: var(--radius-md);
}
.teacher_name {
  font-size: clamp(1.8rem, 3.4vw, 1.9rem);
  color: var(--navy-blue);
  margin-bottom: 2rem;
}


/* ------------------------policy--------------------- */

.Policy_section {
  color: var(--white);
}
.policy_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.policy_list li {
  display: flex;
  align-items: center;
  gap: 5%;
  line-height: 1.8;
}
.policy_list li p {
  font-size: 90%;
}
.policy_number {
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px var(--white);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  font-style: italic;
  flex-shrink: 0;
}

/* ------------------------access---------------------- */

.access_txt {
  text-align: center;
}
.access_txt p:nth-of-type(2) {
  color: var(--navy-blue);
  font-size: 90%;
}

/* ------------------------footer------------------------ */

footer {
  text-align: center;
  padding: 50px 0 25px;
}
small {
  display: block;
  font-family: var(--font-en);
}

/* ------------------------アニメーション用------------------------ */


.eachTextAnime span {
  opacity: 0;
}
.eachTextAnime.appeartext span {
  animation: text_anime_on 1s ease-out forwards;
}
@keyframes text_anime_on {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .inner900 {
    padding: 0 20px;
  }
  section {
    padding: 70px 0;
  }
  .pc_none {
    display: block;
  }
  .sp_none {
    display: none;
  }
  /* 基本CSS */
  .base_img {
    height: 180px;
    margin-bottom: 3rem;
  }
  .cta_btn {
    width: 90%;
  }
  .floating_btn {
    right: -19px;
  }
  .floating_btn img {
    width: 70%;
  }
  .caution {
    font-size: 1rem;
  }
  .section-ttl {
    margin-bottom: 3.5rem;
  }
  /* header */
  header {
    position: fixed;
    width: 100%;
    padding: 5px 30px 5px 7px;
    z-index: 50;
  }
  header img {
    width: 30%;
  }
  /* fv */
  .FV_section {
    padding: 0 1rem;
    border-radius: 0 0 30px 30px;
    height: 600px;
  }
  .fv_text {
    width: 100%;
    margin-top: 2rem;
  }
  /* lesson */
  .lesson-table table {
    width: 100%;
    /* overflow-x: auto; */
  }
  .Lesson_section .back_img {
    width: 56%;
    height: 640px;
    top: 6%;
    right: 0;
    opacity: 0.9;
  }
  .lesson_btn {
    margin: 0 auto;
  }
  .lesson_btn .cta_btn {
    min-width: 280px;
    width: 100%;
  }
  .lesson_btn .call::before {
    left: -24px;
  }
  .lesson_btn .call::after {
    right: -24px;
  }
  .one_lesson_flx {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  /* level */
  .level_cardlist {
    grid-template-columns: repeat(1, 1fr);
  }
  .level_cardlist img {
    border-radius: 20px 20px 0 0;
  }
  /* text */
  .Text_section .back_img {
    width: 62%;
    height: 347px;
    top: 23%;
    right: 0;
    opacity: 0.9;
  }
  /* teacher */
  .Profile_section .inner900 {
    padding: 0;
  }
  .Profile_section .section-ttl {
    padding: 0 20px;
    margin-bottom: 2rem;
  }
  .teacher_bottom p:nth-of-type(1),
  .teacher_bottom p:nth-of-type(2) {
    padding: 0 20px;
  }
  .teacher_flex {
    flex-direction: column;
  }
  .profile_back,
  .teacher_image {
    display: none;
  }
  .teacher_image_sp {
    margin-bottom: 2rem;
  }
  .teacher_image_sp img {
    width: 100%;
  }
  /* policy */
  .policy_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .policy_list li {
    justify-content: center;
  }
  /* trial */
  .trial_section {
    padding: 80px 0;
  }
  .trial_top .cta_wrapper {
    margin: 0 auto;
  }
  .trial_fv {
    height: 500px;
  }
  .tr_fvtext {
    margin-top: 3rem;
  }
  .trial_top .cta_wrapper .cta_btn {
    width: 100%;
  }
}
@media screen and (max-width: 380px) {
  .cta_btn {
    width: 98%;
  }
}

/* 0408 インスタアイコン追加 */

.ig_icon_area {
  text-align: center;
  background: var(--white);
  padding-bottom: 2em;
}

.ig_icon_area.colored {
  background: var(--main-color);
}

.ig_icon_area .ig_icon_img {
  width: 64px;
  height: 64px;
  transition: 0.3s;
}

.ig_icon_area .ig_icon_img:hover {
  opacity: 0.7;
}