@charset "UTF-8";

/* =====================
   Class – Section Titles
===================== */
#class h2 {
  background: none !important;
}
#class h2.sectionTitle::before,
#class > .container1000 > .sectionTitle::before,
#class .sectionTitle::before {
  content: 'CLASS';
}
#fee h2 {
  background: none !important;
}
#fee h2.sectionTitle::before,
#fee .sectionTitle::before {
  content: 'FEE';
}

/* Legacy: h2 without sectionTitle class */
#class h2:not(.sectionTitle) {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 2em;
  margin-bottom: 5em;
  display: block;
}
#class h2:not(.sectionTitle)::before {
  content: 'CLASS';
  display: block;
  font-family: 'Spartan', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--clr-yellow);
  margin-bottom: 0.7em;
}
#class h2:not(.sectionTitle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--clr-yellow);
  border-radius: 2px;
}
#fee h2:not(.sectionTitle) {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 2em;
  margin-bottom: 5em;
  display: block;
}
#fee h2:not(.sectionTitle)::before {
  content: 'FEE';
  display: block;
  font-family: 'Spartan', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--clr-yellow);
  margin-bottom: 0.7em;
}
#fee h2:not(.sectionTitle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--clr-yellow);
  border-radius: 2px;
}

/* =====================
   Class – Intro Text
===================== */
#class h2 + p {
  font-size: 1.45rem;
  line-height: 2.3;
  padding-bottom: 2em;
  border-bottom: 1px solid #D0D0D0;
}

/* =====================
   Class Wrap (Legacy)
===================== */
.classWrap {
  width: 48%;
}
.classWrap:nth-of-type(2) {
  margin-left: auto;
}
.classWrap h3 {
  width: 100%;
  align-items: center;
  margin-bottom: 10px;
}
.classWrap h3 em {
  width: 55%;
  margin-left: auto;
  font-size: 2.0rem;
  font-weight: 700;
}
.classWrap h3 em span {
  display: block;
  font-weight: 400;
}
.classWrap dl {
  width: 100%;
  border: 1px solid #D4D4D4;
  border-radius: var(--radius);
  overflow: hidden;
}
.classWrap dl dt,
.classWrap dl dd {
  padding: 12px 8px;
}
.classWrap dl dt {
  width: 28%;
  text-align: center;
  color: #666;
  border-right: 1px solid #D4D4D4;
  font-size: 1.2rem;
}
.classWrap dl dt::before {
  content: 'レッスンスケジュール';
  display: block;
  color: var(--clr-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.classWrap dl dd {
  width: 72%;
  font-feature-settings: "palt" 1;
  line-height: 1.8;
}
.classWrap dl dd li::before {
  content: '●';
  font-size: 1.0rem;
  margin-right: 4px;
}

/* =====================
   OC Section
===================== */
#oc {
  padding: 50px 0;
}
#oc h3 {
  font-size: 2.2rem;
  color: #fff;
  text-align: center;
}
#oc h3 span {
  display: block;
  font-size: 1.4rem;
  opacity: 0.75;
}
#oc h3 + div.flex-nowrap {
  width: 900px;
  justify-content: center;
}
#oc h3 + div.flex-nowrap dl {
  width: 33.33333%;
  text-align: center;
  color: #fff;
}
#oc h3 + div.flex-nowrap dt {
  margin-bottom: 25px;
}
#oc h3 + div.flex-nowrap dd {
  font-size: 1.7rem;
  font-weight: 700;
}

/* =====================
   Class Box Layout
===================== */
#class .classTitle {
  text-align: center;
  font-size: 3.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 3em;
  font-weight: 300;
}

#class .classBox {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10%;
}
#class .classBox:last-child {
  margin-bottom: 0;
}

#class .classBoxTxt {
  width: 55%;
}
#class .classBoxTxt h4 {
  display: flex;
  align-items: center;
  column-gap: 1em;
  margin-bottom: 2em;
}
#class .classBoxTxt h4 img {
  flex-shrink: 0;
}
#class .classBoxTxt h4 > span {
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.4;
}
#class .classBoxTxt h4 > span span {
  font-size: 1.7rem;
}
#class .classBoxTxt > p {
  max-width: 490px;
  font-size: 1.4rem;
  line-height: 1.9;
}

#class .classBoxSchedule {
  margin-top: 3em;
  text-align: center;
  max-width: 450px;
}
#class .classBoxSchedule h5 {
  margin-bottom: 2em;
  font-size: 1.5rem;
  font-weight: 600;
}
#class .classBoxSchedule p {
  font-size: 1.5rem;
  line-height: 2.1;
}

#class .classBoxImg {
  width: 40.5%;
}
#class .classBoxImg img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* =====================
   Lesson Schedule Table
===================== */
#class .lessonSchedule {
  margin-bottom: 8%;
}
#class .lessonSchedule table {
  width: 100%;
  table-layout: fixed;
  margin-bottom: 8%;
  border-collapse: collapse;
}
#class .lessonSchedule table caption {
  text-align: left;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1em;
}
#class .lessonSchedule table thead {
  position: relative;
}
#class .lessonSchedule table thead:after {
  content: "";
  width: 700%;
  height: 8px;
  background-image: repeating-linear-gradient(135deg,
    transparent, transparent 5px,
    rgba(152,152,152,1) 5px, rgba(152,152,152,1) 7px);
  display: block;
}
#class .lessonSchedule table th {
  text-align: center;
  border-right: 1px solid #C0C0C0;
  padding: 6px;
}
#class .lessonSchedule table th:last-child {
  border-right: 0;
}
#class .lessonSchedule table th span {
  font-size: 1.5rem;
  background: var(--clr-yellow);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
#class .lessonSchedule table th span:hover {
  transform: scale(1.05);
}
#class .lessonSchedule table td {
  vertical-align: middle;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.45;
  padding: 12px 4px;
  border-right: 1px solid #D0D0D0;
  border-bottom: 1px solid #D0D0D0;
  transition: background 0.15s ease;
}
#class .lessonSchedule table td:last-child {
  border-right: 0;
}
#class .lessonSchedule table tr:last-child td {
  border-bottom: 0;
}
#class .lessonSchedule table tr:hover td {
  background: rgba(246, 209, 30, 0.07);
}
#class .lessonSchedule > p {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.75;
}

/* =====================
   Trial Lesson Box
===================== */
#class .trialLesson {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  padding: 36px;
  position: relative;
  z-index: 2;
}
#class .trialLesson:before {
  content: "";
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: var(--clr-yellow);
  position: absolute;
  left: -2px;
  top: -2px;
  z-index: -1;
  clip-path: polygon(5% 0, 95% 0, 100% 11%, 100% 89%, 95% 100%, 5% 100%, 0 89%, 0 11%);
}
#class .trialLesson:after {
  content: "";
  width: 100%;
  height: 100%;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  clip-path: polygon(5% 0, 95% 0, 100% 11%, 100% 89%, 95% 100%, 5% 100%, 0 89%, 0 11%);
}
#class .trialLesson p {
  margin: 20px 0;
  font-size: 1.4rem;
  line-height: 1.8;
}
#class .trialLesson ul {
  display: flex;
  column-gap: 20px;
}
#class .trialLesson ul li {
  flex: 1;
  transition: opacity 0.2s ease;
}
#class .trialLesson ul li:hover {
  opacity: 0.78;
}

/* =====================
   Fee Section
===================== */
#fee section > dl {
  width: 100%;
  display: grid;
  grid-template-columns: 275px 1fr;
  font-size: 1.5rem;
  line-height: 1.85;
}
#fee dt {
  text-align: right;
  padding-bottom: 2em;
  border-right: 1px solid currentColor;
  padding-right: 40px;
  margin-right: 40px;
  font-weight: 600;
}
#fee dd {
  padding-bottom: 2em;
}
#fee dt:last-of-type,
#fee dd:last-of-type {
  padding-bottom: 0;
}
#fee .feeContact {
  margin-top: 70px;
  text-align: center;
}
#fee .feeContact p {
  font-size: 1.5rem;
  line-height: 1.8;
}
#fee .feeContact p img {
  margin-bottom: 5px;
}
#fee .feeContact ul {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 30px;
  margin-top: 20px;
}

/* =====================
   Responsive
===================== */
@media screen and (max-width: 767px) {
  .classBlock { flex-flow: column; }
  .classWrap {
    width: 100%;
    margin-bottom: 20px;
  }
  .classWrap h3 em {
    width: 65%;
    font-size: 1.7rem;
  }
  .classWrap h3 img { width: 30%; }
  .classWrap dl.flex-nowrap { flex-flow: column; }
  .classWrap dl dt,
  .classWrap dl dd { width: 100%; }
  .classWrap dl dt {
    border-bottom: 1px solid #D4D4D4;
    border-right: none;
  }

  #oc h3 { font-size: 1.9rem; }
  #oc h3 span { font-size: 1.2rem; }
  #oc h3 + div.flex-nowrap dl {
    width: 100%;
    margin-bottom: 30px;
  }
  #oc h3 + div.flex-nowrap dl dt { margin-bottom: 15px; }
  #oc h3 + div.flex-nowrap dl dt img { width: 40%; }
  #oc h3 + div.flex-nowrap dd { font-size: 1.5rem; }

  #class .classTitle { font-size: 2.0rem; }
  #class .classBox {
    flex-wrap: wrap;
    margin-bottom: 60px;
  }
  #class .classBoxTxt { width: 100%; }
  #class .classBoxTxt h4 > span { font-size: 1.6rem; }
  #class .classBoxTxt h4 > span span { font-size: 1.4rem; }
  #class .classBoxSchedule p { font-size: 1.3rem; }
  #class .classBoxImg {
    width: 100%;
    margin-top: 20px;
  }

  #class .lessonScheduleInner {
    overflow-x: scroll;
    margin-bottom: 30px;
    width: 100%;
  }
  #class .lessonSchedule table {
    width: 900px;
    overflow: hidden;
  }
  #class .lessonSchedule table caption { font-size: 1.6rem; }
  #class .lessonSchedule table th { min-width: 150px; }
  #class .lessonSchedule table th span {
    font-size: 1.3rem;
    width: 34px;
    height: 34px;
  }
  #class .lessonSchedule table td { font-size: 1.3rem; }
  #class .lessonSchedule > p { font-size: 1.3rem; }

  #class .trialLesson {
    padding: 30px 40px;
  }
  #class .trialLesson ul {
    flex-wrap: wrap;
    gap: 20px;
  }
  #class .trialLesson ul li {
    width: 100%;
    flex: auto;
  }

  #fee section > dl { grid-template-columns: 100%; }
  #fee dt,
  #fee dd {
    font-size: 1.4rem;
    text-align: center;
  }
  #fee dt {
    padding: 0 0 5px;
    margin: 0 0 5px;
    border-bottom: 1px solid currentColor;
    border-right: 0;
  }
  #fee dd dl.flex-nowrap { justify-content: center; }
  #fee dd dt,
  #fee dd dd {
    width: 25%;
    margin-bottom: 0;
  }
  #fee .contact .flex-nowrap {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
  }
  #fee .call { font-size: 2.3rem; }
}
