/* ===========================
   KATEKYO LP — styles.css
   =========================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@400;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --teal:        #3DC8C0;
  --teal-dark:   #2AADA5;
  --teal-light:  #E8F9F8;
  --coral:       #F06B82;
  --coral-dark:  #E0526A;
  --yellow:      #F9CB45;
  --yellow-light:#FEF4C8;
  --blue-light:  #A8DCF0;
  --green-light: #A8E0C8;
  --pink-light:  #FDDDE6;
  --orange:      #F5893A;

  --text-dark:   #333333;
  --text-mid:    #555555;
  --text-light:  #888888;
  --bg-white:    #FFFFFF;
  --bg-light:    #F8FDFD;
  --bg-cream:    #FFFDF8;
  --border:      #E5F0EF;

  --font-base: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(61,200,192,.12);
  --shadow-md: 0 4px 20px rgba(61,200,192,.16);
  --shadow-lg: 0 8px 40px rgba(61,200,192,.20);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-base);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.section--light { background: var(--bg-light); }
.section--cream { background: var(--bg-cream); }
.section--teal  { background: var(--teal-light); }

/* Section heading */
.section-heading {
  text-align: center;
  margin-bottom: 64px;
}
.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-heading__eyebrow::before,
.section-heading__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: skewX(-20deg);
}
.section-heading__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-dark);
}
.section-heading__title em {
  font-style: normal;
  color: var(--coral);
}
.section-heading__sub {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--text-mid);
}

/* ---------- Scroll Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX( 32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.header__logo-icon {
  width: 36px;
  height: 36px;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header__logo-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: .05em;
}
.header__logo-main {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--teal-dark);
  letter-spacing: -.01em;
}

.header__nav {
  flex: 1;
  display: flex;
  align-items: center;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__nav-item a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.header__nav-item a:hover {
  color: var(--teal-dark);
  background: var(--teal-light);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-cta-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,107,130,.35);
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 2px solid var(--teal);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-cta-secondary:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.header__mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}
.header__mobile-nav.is-open { display: flex; }
.header__mobile-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.header__mobile-nav .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.header__mobile-nav .btn-cta-primary,
.header__mobile-nav .btn-cta-secondary {
  justify-content: center;
  font-size: 0.95rem;
  padding: 14px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding-top: 90px;
  min-height: 100svh;
  background: linear-gradient(145deg, #F8FCFB 0%, #FEF9F5 45%, #ECF7FF 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 84px;
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(360px, 520px);
  align-items: center;
  gap: 60px;
  min-height: calc(100svh - 90px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  width: fit-content;
  box-shadow: 0 6px 24px rgba(61,200,192,.25);
}

.hero__title {
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 560px;
}
.hero__title em {
  font-style: normal;
  color: var(--coral);
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--yellow);
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-5deg);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  font-weight: 500;
  max-width: 520px;
}

.hero__features {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
}
.hero__feature-chip {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border-radius: 30px;
  padding: 20px 16px;
  box-shadow: 0 22px 64px rgba(40,80,100,.07);
  border: 1px solid rgba(147,197,190,.35);
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 180px;
  min-height: 140px;
}
.hero__feature-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 68px rgba(40,80,100,.1);
}
.hero__feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__feature-icon--teal   { background: var(--teal-light); }
.hero__feature-icon--blue   { background: #EAF5FC; }
.hero__feature-icon--yellow { background: var(--yellow-light); }
.hero__feature-icon img { width: 30px; height: 30px; object-fit: contain; }
.hero__feature-chip span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.hero__btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--coral), #E84066);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 20px 34px;
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(240,107,130,.24);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  min-width: 320px;
}
.hero__btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.14);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform .4s ease;
}
.hero__btn-primary:hover::before { transform: translateX(150%) skewX(-15deg); }
.hero__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(240,107,130,.3);
}
.hero__btn-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.hero__btn-label small {
  font-size: 0.76rem;
  font-weight: 600;
  opacity: .95;
}
.hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2.5px solid var(--teal);
  background: #fff;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  min-width: 250px;
}
.hero__btn-secondary:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px);
}

.hero__cta-primary-wrap {
  display: flex;
  align-items: center;
}
.hero__ease-badge {
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.4;
  padding: 10px 16px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(61,200,192,.24);
  margin-right: -12px;
  z-index: 1;
  position: relative;
}

.hero__balloon {
  position: absolute;
  top: 28px;
  right: 22px;
  background: #fff;
  border-radius: 32px;
  padding: 14px 18px;
  box-shadow: 0 18px 50px rgba(55,88,127,.12);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual::before {
  content: '';
  position: absolute;
  right: -20px;
  top: 0;
  width: calc(100% + 48px);
  height: calc(100% + 40px);
  border-radius: 48px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 24px 80px rgba(36,84,118,.15);
  z-index: -2;
}
.hero__visual::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: 18px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(61,200,192,.24);
  z-index: -1;
}
.hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 46px;
}
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* =====================================================
   WORRIES (お悩み)
   ===================================================== */
.worries {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.worries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.worry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.worry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.worry-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}
.worry-card__text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-mid);
  line-height: 1.5;
}

.worries__resolve {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-dark);
}
.worries__resolve em {
  font-style: normal;
  color: var(--teal);
}

/* =====================================================
   REASONS (選ばれる理由)
   ===================================================== */
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reason-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.reason-card__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.reason-card__icon-wrap svg { width: 36px; height: 36px; }
.reason-card__icon-wrap--teal   { background: var(--teal-light); }
.reason-card__icon-wrap--blue   { background: #EAF5FC; }
.reason-card__icon-wrap--yellow { background: var(--yellow-light); }
.reason-card__icon-wrap--coral  { background: var(--pink-light); }

.reason-card__title {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
}
.reason-card__title--teal   { color: var(--teal-dark); }
.reason-card__title--blue   { color: #5AA7CC; }
.reason-card__title--yellow { color: var(--orange); }
.reason-card__title--coral  { color: var(--coral); }

.reason-card__text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* =====================================================
   COURSES (学年別コース)
   ===================================================== */
.courses { background: var(--teal-light); }

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  background: #fff;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.course-card__image {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.course-card:hover .course-card__image img { transform: scale(1.05); }

.course-card__body { padding: 28px; }
.course-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.course-card__label--elem  { background: var(--green-light); color: #3A8A67; }
.course-card__label--mid   { background: var(--blue-light);  color: #3A7AA0; }
.course-card__label--high  { background: var(--coral);       color: #fff; }

.course-card__title {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.course-card__title--elem  { color: #3A8A67; }
.course-card__title--mid   { color: #3A7AA0; }
.course-card__title--high  { color: var(--coral); }

.course-card__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.course-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 500;
}
.course-card__list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.course-card--elem .course-card__list li::before { background: #3A8A67; }
.course-card--mid  .course-card__list li::before { background: #3A7AA0; }
.course-card--high .course-card__list li::before { background: var(--coral); }

.course-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.course-card__btn:hover { transform: translateX(4px); }
.course-card--elem .course-card__btn { background: #3A8A67; color: #fff; }
.course-card--mid  .course-card__btn { background: #3A7AA0; color: #fff; }
.course-card--high .course-card__btn { background: var(--coral); color: #fff; }

.courses__note {
  text-align: right;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =====================================================
   TEACHER (講師紹介)
   ===================================================== */
.teacher { background: #fff; }

.teacher__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
}

.teacher__photo-wrap {
  position: relative;
  text-align: center;
}
.teacher__photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--teal-light);
}
.teacher__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.teacher__catch {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-full);
}
.teacher__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.teacher__tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1.5px solid var(--teal);
}

.teacher__content { display: flex; flex-direction: column; gap: 24px; }
.teacher__greeting { font-size: 1.2rem; font-weight: 900; color: var(--text-dark); }
.teacher__bio { font-size: 0.95rem; color: var(--text-mid); line-height: 1.9; }

.teacher__values {
  background: var(--teal-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.teacher__values-title {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--teal-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.teacher__values-list { display: flex; flex-direction: column; gap: 10px; }
.teacher__values-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 500;
}
.teacher__values-item::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* =====================================================
   TESTIMONIALS (生徒の声)
   ===================================================== */
.testimonials { background: var(--bg-light); }

.testimonials__slider {
  position: relative;
  overflow: hidden;
}
.testimonials__track {
  display: flex;
  gap: 24px;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

@media (max-width: 900px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card__heading {
  font-size: 1rem;
  font-weight: 900;
  color: var(--teal-dark);
  line-height: 1.4;
}
.testimonial-card__text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  flex: 1;
}
.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--teal-light);
  flex-shrink: 0;
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}
.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-light);
}

.testimonials__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
.testimonials__dots {
  display: flex;
  gap: 8px;
}
.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition);
  cursor: pointer;
}
.testimonials__dot.is-active {
  background: var(--teal);
}
.testimonials__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  color: var(--teal);
}
.testimonials__arrow:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* =====================================================
   FLOW (受講の流れ)
   ===================================================== */
.flow { background: #fff; }

.flow__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.flow__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -12px;
  width: 24px;
  height: 24px;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 1;
}

.flow__step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.flow__step:nth-child(1) .flow__step-num { background: var(--teal); }
.flow__step:nth-child(2) .flow__step-num { background: var(--blue-light); color: #3A7AA0; }
.flow__step:nth-child(3) .flow__step-num { background: var(--yellow); color: #8A6A00; }
.flow__step:nth-child(4) .flow__step-num { background: var(--green-light); color: #3A8A67; }
.flow__step:nth-child(5) .flow__step-num { background: var(--coral); }

.flow__step-icon-wrap {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  border: 1.5px solid var(--border);
}
.flow__step-icon-wrap svg { width: 28px; height: 28px; }

.flow__step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.flow__step-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.flow__step-text {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* =====================================================
   PRICING (料金)
   ===================================================== */
.pricing { background: var(--bg-light); }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.pricing-card--featured {
  border-color: var(--teal);
  background: linear-gradient(145deg, #fff 0%, var(--teal-light) 100%);
}
.pricing-card--featured::before {
  content: 'おすすめ';
  position: absolute;
  top: 18px;
  right: -28px;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(45deg);
}

.pricing-card__label {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.pricing-card__label--featured { color: var(--coral); }
.pricing-card__desc {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}
.pricing-card__price-prefix {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-mid);
}
.pricing-card__price-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--teal-dark);
  line-height: 1;
  letter-spacing: -.03em;
}
.pricing-card--featured .pricing-card__price-num { color: var(--coral); }
.pricing-card__price-unit {
  font-size: 0.9rem;
  color: var(--text-mid);
}
.pricing-card__note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.pricing-card__divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.pricing-card__features { display: flex; flex-direction: column; gap: 8px; }
.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-mid);
}
.pricing-card__feature svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

.pricing-card--sibling {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  background: linear-gradient(135deg, #FFF8F0, var(--yellow-light));
  border-color: var(--yellow);
}
.pricing-card--sibling .pricing-card__sibling-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.4;
}
.pricing-card--sibling .pricing-card__sibling-text {
  font-size: 0.82rem;
  color: var(--text-mid);
}
.pricing-card__sibling-icon { width: 56px; height: 56px; }

/* =====================================================
   FAQ
   ===================================================== */
.faq { background: #fff; }

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover { border-color: var(--teal); }
.faq-item.is-open { border-color: var(--teal); box-shadow: var(--shadow-sm); }

.faq-item__question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  user-select: none;
  background: #fff;
}
.faq-item__q-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-item__question-text {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
}
.faq-item__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--teal);
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.is-open .faq-item__answer { max-height: 200px; }
.faq-item__answer-inner {
  padding: 0 22px 20px 64px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* =====================================================
   FOOTER CTA BANNER
   ===================================================== */
.cta-banner {
  background: linear-gradient(135deg, #f06b82 0%, #ffa3b8 40%, #76fff6 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-banner__badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  letter-spacing: .1em;
}
.cta-banner__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
}
.cta-banner__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,.85);
}
.cta-banner__right {
  display: flex;
  /* flex-direction: column; */
  gap: 12px;
  flex-shrink: 0;
}
.cta-banner__btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--coral);
  font-size: 1rem;
  font-weight: 900;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta-banner__btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
}
.cta-banner__btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,.6);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.cta-banner__btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.cta-banner__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
  opacity: .25;
  pointer-events: none;
}

/* =====================================================
   FOOTER — パステルカラー
   ===================================================== */
.footer {
  background: linear-gradient(160deg, #E8F9F8 0%, #FFF0F5 50%, #FFFCEE 100%);
  color: var(--text-mid);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #87e2e0, var(--blue-light), #ffa2b8, #ffdddb);
}
.footer__deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1.5px solid rgba(61,200,192,.2);
  position: relative;
  z-index: 1;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo-icon { width: 32px; height: 32px; }
.footer__logo-text {
  display: flex;
  flex-direction: column;
}
.footer__logo-sub { font-size: 0.65rem; color: var(--text-light); }
.footer__logo-main { font-size: 1rem; font-weight: 900; color: var(--teal-dark); }
.footer__tagline { font-size: 0.82rem; line-height: 1.7; color: var(--text-mid); }
.footer__col-title {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--teal-dark);
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.footer__col-links { display: flex; flex-direction: column; gap: 10px; }
.footer__col-links a {
  font-size: 0.82rem;
  color: var(--text-mid);
  transition: color var(--transition);
}
.footer__col-links a:hover { color: var(--teal-dark); }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
}
.footer__tel svg { width: 20px; height: 20px; color: var(--teal); }
.footer__hours { font-size: 0.75rem; color: var(--text-light); }
.footer__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: background var(--transition), transform var(--transition);
}
.footer__contact-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }

.footer__bottom {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  font-size: 0.75rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* =====================================================
   Floating decoration elements
   ===================================================== */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.deco--triangle {
  width: 0;
  height: 0;
  border-style: solid;
}
.deco--circle {
  border-radius: 50%;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(3deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(-4deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.06); opacity: .85; }
}
@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(250%) skewX(-15deg); }
}

.anim-float     { animation: float     4s ease-in-out infinite; }
.anim-floatSlow { animation: floatSlow 6s ease-in-out infinite; }
.anim-pulse     { animation: pulse     2.5s ease-in-out infinite; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .reasons__grid { grid-template-columns: repeat(2, 1fr); }
  .courses__grid { grid-template-columns: repeat(2, 1fr); }
  .teacher__inner { grid-template-columns: 240px 1fr; gap: 40px; }
  .flow__steps { flex-wrap: wrap; gap: 24px; }
  .flow__step { min-width: calc(50% - 12px); }
  .flow__step:not(:last-child)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 48px; }

  /* Header */
  .header__nav, .header__cta { display: none; }
  .header__hamburger { display: flex; }
  .header__inner { height: 60px; }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 24px 64px;
    min-height: auto;
    padding-top: 24px;
  }
  .hero__visual { order: -1; }
  .hero__image-wrap { max-width: 400px; aspect-ratio: 4/3; margin: 0 auto; }
  .hero__content { align-items: center; }
  .hero__features { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .hero__feature-chip { min-width: calc(50% - 10px); }
  .hero__cta { justify-content: center; }
  .hero__btn-primary,
  .hero__btn-secondary { min-width: unset; width: 100%; max-width: 360px; }
  .hero__badge { font-size: 0.8rem; }
  .hero__visual::before,
  .hero__visual::after { display: none; }

  /* Worries */
  .worries__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Reasons */
  .reasons__grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Courses */
  .courses__grid { grid-template-columns: 1fr; }

  /* Teacher */
  .teacher__inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .teacher__values-list { align-items: flex-start; }

  /* Testimonials */
  .testimonials__track { transition: transform .5s ease; }

  /* Flow */
  .flow__steps { flex-direction: column; align-items: center; }
  .flow__step { min-width: 100%; max-width: 360px; }

  /* Pricing */
  .pricing__grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq__grid { grid-template-columns: 1fr; }

  /* CTA Banner */
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__right { width: 100%; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__tel { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .worries__grid  { grid-template-columns: 1fr 1fr; }
  .reasons__grid  { grid-template-columns: 1fr; }
  .hero__features { gap: 8px; }
  .hero__feature-chip { padding: 10px 12px; }
  .hero__btn-primary { font-size: 0.95rem; padding: 16px 24px; }
}
