:root {
  --ink: #173d68;
  --ink-deep: #0b2f58;
  --paper: #f7fbf5;
  --paper-warm: #fffef9;
  --green: #5f936b;
  --green-soft: #e8f2e5;
  --orange: #dc7840;
  --orange-soft: #fff0d9;
  --blue: #267bb2;
  --blue-soft: #dceef5;
  --line: rgba(20, 58, 104, .18);
  --shadow: 0 24px 70px rgba(20, 58, 104, .12);
}

/* Latest polish: remove hero clutter and improve people cards */
.hero {
  grid-template-columns: minmax(0, 1fr) !important;
}

.hero-copy {
  max-width: 920px;
}

.hero-visual,
.recommend-bubbles,
.student-illust,
.mentor-bubble {
  display: none !important;
}

.mentor-recruit-note {
  display: inline-flex;
  width: fit-content;
  margin: 18px 0 0;
  padding: 9px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}

.teacher-card {
  overflow: hidden;
}

.teacher-card > div:not(.teacher-placeholder) {
  min-width: 0;
}

.teacher-card h3 {
  font-size: clamp(24px, 2.2vw, 34px) !important;
}

.teacher-card p:last-child {
  font-size: clamp(13px, 1.05vw, 15px) !important;
  line-height: 1.75 !important;
  word-break: normal;
  overflow-wrap: anywhere;
}

.teacher-role {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.mentor-body {
  margin-top: 18px;
  padding: 22px 22px 24px !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(23, 33, 95, .12);
}

.mentor-card h3 {
  color: var(--ink) !important;
  font-size: clamp(26px, 2.5vw, 36px) !important;
  letter-spacing: .06em;
}

.mentor-role {
  color: rgba(23, 33, 95, .72) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 700;
}

.mentor-badge {
  display: block !important;
  width: fit-content;
  margin: 12px 0 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(200, 237, 145, .55);
  color: var(--ink) !important;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.mentor-card p:last-child {
  color: rgba(23, 33, 95, .86) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  font-weight: 600;
}

@media (max-width: 900px) {
  .mentor-body {
    padding: 16px 14px 18px !important;
    border-radius: 18px;
  }

  .mentor-card h3 {
    font-size: clamp(18px, 4vw, 26px) !important;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 11px !important;
  }

  .mentor-badge {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    max-width: none;
  }

  .mentor-recruit-note {
    font-size: 12px;
  }

  .mentor-body {
    padding: 20px 20px 22px !important;
  }

  .mentor-card h3 {
    font-size: 30px !important;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 14px !important;
  }

  .mentor-badge {
    font-size: 12px;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: "Kiwi Maru", serif;
  line-height: 1.82;
  letter-spacing: 0;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.scroll-progress {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .08s linear;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  padding: 11px clamp(20px, 4vw, 70px);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(248, 251, 245, .88);
  border-bottom: 1px solid rgba(20, 58, 104, .1);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 48% 52%;
  background: var(--green);
  color: white;
  font-family: "Kiwi Maru", serif;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
}
.desktop-nav a { opacity: .72; transition: .2s; }
.desktop-nav a:hover { opacity: 1; color: var(--green); }
.header-cta {
  padding: 8px 18px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  border-radius: 2px;
}
.menu-button {
  position: relative;
  z-index: 53;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  margin-left: 2px;
  border: 1px solid rgba(20, 58, 104, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
}
.menu-button span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .2s ease, background .2s ease;
}
.menu-button[aria-expanded="true"] span { background: var(--green); }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(-2px); }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(2px); }
.index-menu {
  position: fixed;
  z-index: 52;
  top: 64px;
  right: clamp(20px, 4vw, 70px);
  width: min(280px, calc(100vw - 34px));
  padding: 20px;
  background: rgba(255, 254, 249, .96);
  border: 1px solid rgba(20, 58, 104, .14);
  box-shadow: 0 24px 70px rgba(20, 58, 104, .16);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.index-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.index-menu p {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: .2em;
}
.index-menu a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid rgba(20, 58, 104, .12);
  font-size: 13px;
}
.index-menu a:hover { color: var(--green); }

h1, h2, h3 {
  margin: 0;
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  line-height: 1.46;
  font-weight: 700;
}
h1 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 62px);
  letter-spacing: .01em;
}
h1 span { display: block; }
h1 .mobile-copy-line { display: inline; }
.section h2 {
  color: var(--ink);
  font-size: clamp(27px, 3.1vw, 42px);
}
.section h2 em {
  color: #ffbc76;
  font-style: normal;
}
.eyebrow, .section-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before, .section-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin: 0 9px 4px 0;
  background: currentColor;
}
.section {
  padding: 88px clamp(24px, 8vw, 140px);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 8vw;
  align-items: end;
}
.section-heading p { margin: 0; color: rgba(8, 43, 88, .72); }

.hero {
  min-height: 760px;
  padding: 118px clamp(24px, 8vw, 140px) 78px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(150, 199, 187, .26), transparent 22%),
    linear-gradient(115deg, #fffef8 0 57%, #eef6ec 57% 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: .25;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}
.hero-copy { position: relative; z-index: 2; max-width: 800px; }
.program-label {
  display: inline-flex;
  margin: 14px 0 0;
  padding: 7px 14px;
  color: white;
  background: var(--ink);
  font-size: 13px;
}
.hero-title {
  margin: 14px 0 0;
  color: var(--orange);
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: clamp(20px, 2.2vw, 31px);
  font-weight: 700;
}
.hero-lead {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: clamp(15px, 1.3vw, 19px);
}
.lead-mobile {
  display: none;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.hero-openchat-note {
  max-width: 680px;
  margin-top: 14px;
  padding: 14px 18px;
  border: 2px solid rgba(23, 33, 95, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(23, 33, 95, .06);
}

.hero-openchat-note strong {
  display: block;
  color: #7fa376;
  font-size: 13px;
  letter-spacing: .04em;
}

.hero-openchat-note p {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  font-weight: 800;
}

.hero-topic-heading {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 26px;
  color: #7fa376;
}

.hero-topic-heading p {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-topic-heading h2 {
  margin: 0;
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.2;
}
.button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 58px;
  padding: 10px 26px;
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-3px); }
.button-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 14px 30px rgba(220, 120, 64, .18);
}
.button-primary:hover { box-shadow: 0 18px 34px rgba(220, 120, 64, .22); }
.button-text {
  background: transparent;
  min-height: auto;
  padding: 8px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.section-actions .button-primary {
  background: var(--ink);
  color: #fff;
}

.section-actions .button-text {
  min-height: 58px;
  padding: 10px 24px;
  border: 2px solid rgba(23, 33, 95, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  text-decoration: none;
}

.hero-section-actions {
  order: 14;
}

.hero-facts {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  font-size: 12px;
  flex-wrap: wrap;
}
.hero-facts li {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.hero-facts li:last-child { border: 0; }
.hero-facts strong { display: block; color: var(--green); }
.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 560px;
}
.poster-card {
  position: absolute;
  right: 0;
  top: 8%;
  width: min(76%, 360px);
  padding: 34px 30px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(20, 58, 104, .12);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.poster-card span {
  color: var(--green);
  font-size: 11px;
  letter-spacing: .18em;
}
.poster-card p {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.35;
}
.seed-orbit div {
  position: absolute;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(20, 58, 104, .12);
  box-shadow: var(--shadow);
  color: var(--green);
  font-size: 13px;
  animation: float 5s ease-in-out infinite;
}
.seed-orbit div:nth-child(1) { left: 4%; top: 18%; }
.seed-orbit div:nth-child(2) { right: 3%; top: 48%; animation-delay: -1.4s; }
.seed-orbit div:nth-child(3) { left: 10%; bottom: 5%; animation-delay: -2.6s; }
.plant { position: absolute; width: 70%; height: 58%; left: 14%; bottom: 8%; }
.stem { position: absolute; height: 57%; width: 6px; background: var(--green); left: calc(50% - 3px); bottom: 15%; transform: rotate(-2deg); border-radius: 6px; }
.leaf { position: absolute; width: 31%; height: 22%; background: linear-gradient(145deg, #78b56e, #3b874a); border-radius: 100% 0 100% 0; box-shadow: inset 0 0 0 1px rgba(8, 43, 88, .15); }
.leaf-left { left: 20%; top: 31%; transform: rotate(18deg); }
.leaf-right { right: 18%; top: 20%; transform: scaleX(-1) rotate(15deg); }
.soil { position: absolute; bottom: 10%; left: 15%; width: 70%; height: 16%; background: #8c694c; border-radius: 50%; box-shadow: inset 0 10px 15px rgba(52, 31, 17, .14), 0 15px 0 -7px #6d503a; }
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: .2em;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 38px;
  margin: 0 auto 5px;
  background: var(--ink);
  animation: scroll 2s infinite;
  transform-origin: top;
}

.about, .basic, .teachers, .details { background: var(--paper-warm); }
.voice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: rgba(95, 147, 107, .22);
  border: 1px solid rgba(95, 147, 107, .22);
}
.voice-strip p {
  margin: 0;
  padding: 26px;
  background: rgba(255,255,255,.72);
  color: var(--orange);
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
}
.message-strip {
  margin-top: 42px;
  padding: 24px 0 24px 32%;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  position: relative;
}
.message-strip span {
  position: absolute;
  left: 0;
  top: 30px;
  color: var(--green);
  font-size: 13px;
}
.message-strip p {
  margin: 0;
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: clamp(18px, 1.8vw, 27px);
  font-weight: 700;
}

.recommend { background: #edf5eb; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 44px;
}
.check-grid p {
  min-height: 150px;
  margin: 0;
  padding: 22px 18px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(95,147,107,.22);
  font-size: 13px;
}
.check-grid p::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--green);
  background: white;
}

.can-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: rgba(95, 147, 107, .22);
  border: 1px solid rgba(95, 147, 107, .22);
}
.can-grid article {
  min-height: 300px;
  padding: 30px;
  background: rgba(255,255,255,.78);
  transition: transform .25s ease, background .25s ease;
}
.can-grid article:hover { transform: translateY(-5px); background: white; }
.can-grid span, .teacher-role, .mentor-role, .schedule-grid span, .trust-grid span {
  color: var(--green);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.can-grid h3 {
  margin: 22px 0 18px;
  font-size: clamp(22px, 2.2vw, 30px);
}
.can-grid p { margin: 0; font-size: 13px; }

.timeline {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.day-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 4vw;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.day-number {
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: 42px;
  line-height: 1;
  opacity: .92;
  font-weight: 700;
}
.day-number span {
  display: block;
  font-family: "Kiwi Maru", serif;
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.5;
}
.day-card h3 { font-size: clamp(22px, 2.35vw, 33px); }
.day-theme {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: .2em;
}
.day-card > div:last-child {
  display: grid;
  grid-template-columns: 1fr .7fr;
  column-gap: 6vw;
}
.day-card h3 { grid-column: 1; }
.day-card p:not(.day-theme) { grid-column: 1; }
.day-card ul {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
  padding-left: 20px;
  align-self: center;
  font-size: 13px;
}
.day-blue .day-number,.day-blue .day-theme{color:var(--blue)}
.day-orange .day-number,.day-orange .day-theme{color:var(--orange)}
.day-green .day-number,.day-green .day-theme{color:var(--green)}

.advance {
  color: white;
  background:
    linear-gradient(rgba(11, 47, 88, .94), rgba(11, 47, 88, .94)),
    radial-gradient(circle at 80% 10%, rgba(255, 188, 118, .36), transparent 30%);
}
.advance .section-kicker { color: #a6d6aa; }
.advance h2 { color: white; }
.advance .section-heading p { color: rgba(255,255,255,.76); }
.advance-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: rgba(255,255,255,.18);
}
.advance-three article {
  padding: 28px;
  background: rgba(11, 47, 88, .72);
}
.advance-three span { color: #ffbc76; font-size: 14px; font-weight: 500; }
.advance-three p { margin: 16px 0 0; color: rgba(255,255,255,.78); font-size: 13px; }
.map-board {
  position: relative;
  min-height: 650px;
  margin-top: 52px;
  padding: 36px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    rgba(255,255,255,.06);
  background-size: 42px 42px;
  border: 1px solid rgba(255,255,255,.18);
}
.map-board::before {
  content: "";
  position: absolute;
  inset: 90px 70px;
  border: 2px dashed rgba(255, 188, 118, .55);
  border-radius: 48% 42% 46% 40%;
  transform: rotate(-6deg);
}
.map-board::after {
  content: "城下町  /  商店街  /  新しい学びの場";
  position: absolute;
  right: 32px;
  bottom: 30px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
  letter-spacing: .18em;
}
.castle {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) rotate(-4deg);
  background: white;
  color: var(--ink);
  border: 5px solid rgba(255,255,255,.35);
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: 22px;
  font-weight: 700;
}
.map-step {
  position: absolute;
  width: min(260px, 28%);
  min-height: 170px;
  padding: 20px;
  background: rgba(255,255,255,.93);
  color: var(--ink-deep);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 18px 45px rgba(0,0,0,.13);
}
.map-step span {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: .15em;
}
.map-step h3 { margin: 10px 0; color: var(--ink); font-size: 22px; }
.map-step p { margin: 0; font-size: 12px; line-height: 1.75; }
.step-1 { left: 5%; top: 8%; }
.step-2 { left: 37%; top: 4%; }
.step-3 { right: 5%; top: 18%; }
.step-4 { right: 8%; bottom: 20%; }
.step-5 { left: 36%; bottom: 5%; }
.step-6 { left: 6%; bottom: 18%; }
.selection-note {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.8);
  font-size: 13px;
}
.selection-note strong {
  display: block;
  margin-bottom: 8px;
  color: white;
}

.schedule { background: #edf5eb; }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.schedule-grid article {
  padding: 28px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(95,147,107,.22);
}
.schedule-grid h3 { margin: 18px 0 12px; font-size: 25px; }
.schedule-grid p { margin: 0; font-size: 13px; }

.teachers { overflow: hidden; }
.teacher-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  margin-top: 48px;
}
.teacher-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  padding: 20px;
  align-items: center;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(95,147,107,.22);
  box-shadow: 0 18px 48px rgba(20, 58, 104, .07);
}
.teacher-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}
.teacher-main img { object-position: 48% 35%; }
.teacher-placeholder {
  display: grid;
  place-items: center;
  height: 230px;
  background:
    linear-gradient(rgba(255,255,255,.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.34) 1px, transparent 1px),
    #dce9da;
  background-size: 28px 28px;
  color: rgba(23, 61, 104, .46);
  font-size: 28px;
  letter-spacing: .2em;
}
.teacher-card h3 { margin: 8px 0 13px; font-size: 29px; }
.teacher-card p:last-child { margin: 0; font-size: 13px; }
.mentor-heading {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 6vw;
  align-items: end;
  margin-top: 72px;
}
.mentor-heading p:last-child { margin: 0; color: rgba(8,43,88,.72); }
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.mentor-card {
  overflow: hidden;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(95,147,107,.22);
  box-shadow: 0 18px 48px rgba(20, 58, 104, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mentor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(20, 58, 104, .1);
}
.mentor-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}
.mentor-card:nth-child(1) img { object-position: 56% 44%; }
.mentor-card:nth-child(2) img { object-position: 50% 28%; }
.mentor-card:nth-child(3) img { object-position: 58% 38%; }
.mentor-body { padding: 24px; }
.mentor-role {
  margin: 0 0 12px;
  line-height: 1.7;
}
.mentor-badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
}
.mentor-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 31px);
}
.mentor-card p:last-child {
  margin: 0;
  color: rgba(8,43,88,.78);
  font-size: 13px;
  line-height: 1.9;
}

.cross { background: #edf5eb; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 42px;
}
.trust-grid article {
  padding: 22px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(95,147,107,.22);
}
.trust-grid p {
  margin: 10px 0 0;
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: 20px;
  font-weight: 700;
}

.details dl {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}
.details dl div {
  display: grid;
  grid-template-columns: 210px 1fr;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.details dt { color: var(--green); }
.details dd { margin: 0; }
.details small { display: block; opacity: .65; }

.faq { background: #e8f3f5; }
.faq h2 { margin: 10px 0 30px; }
.accordion { max-width: 940px; }
.accordion details {
  border-top: 1px solid rgba(20,58,104,.25);
  padding: 0;
}
.accordion details:last-child { border-bottom: 1px solid rgba(20,58,104,.25); }
.accordion summary {
  cursor: pointer;
  padding: 22px 45px 22px 0;
  list-style: none;
  position: relative;
}
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  color: var(--blue);
}
.accordion details[open] summary::after { content: "-"; }
.accordion details p {
  margin: 0;
  padding: 0 0 24px;
  color: rgba(8,43,88,.7);
}

.entry {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 8vw;
  background: var(--green-soft);
}
.entry-copy h2 { margin-top: 12px; }
.entry-copy p { max-width: 560px; margin-top: 30px; }
.entry-card {
  padding: clamp(25px, 4vw, 46px);
  background: var(--paper-warm);
  box-shadow: 0 24px 70px rgba(20, 58, 104, .09);
  border: 1px solid rgba(95,147,107,.22);
}
.entry-label {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: .12em;
}
.entry-card h3 {
  font-size: clamp(22px, 2.35vw, 30px);
  color: var(--ink);
}
.entry-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.entry-card-list span {
  padding: 11px 8px;
  background: #edf6ea;
  color: var(--green);
  text-align: center;
  font-size: 11px;
}
.entry-card .button { width: 100%; }

footer {
  padding: 45px clamp(24px,8vw,140px);
  background: var(--ink-deep);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}
footer p { margin: 0; font-size: 11px; opacity: .68; text-align: right; }
.mobile-cta { display: none; }

.reveal { animation: reveal .8s both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .25s; }
.delay-3 { animation-delay: .38s; }
.js-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s ease var(--reveal-delay, 0ms);
}
.js-ready .scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
.day-card.is-visible .day-number,
.map-step.is-visible span { animation: number-in .65s ease both; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes number-in {
  from { opacity: 0; transform: translateY(12px) scale(.92); }
  to { opacity: 1; transform: none; }
}
@keyframes float { 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes scroll {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 1100px) {
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-grid { grid-template-columns: 1fr; }
  .map-step { width: 31%; }
}

@media (max-width: 900px) {
  .site-header { min-height: 60px; padding: 9px 16px; }
  .brand { font-size: 11px; }
  .brand-mark { width: 33px; height: 33px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { margin-left: auto; width: 39px; height: 39px; }
  .index-menu { top: 58px; right: 16px; }
  .hero {
    display: block;
    min-height: 780px;
    padding: 108px 22px 72px;
    background: linear-gradient(165deg,#fffef8 0 62%,#eef6ec 62%);
  }
  h1 { font-size: 34px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: block; }
  .hero-actions .button { width: 100%; margin-bottom: 18px; }
  .button-text { width: auto !important; }
  .hero-facts { gap: 9px; font-size: 9px; }
  .hero-facts li { padding-right: 9px; }
  .hero-visual { min-height: 360px; margin-top: 16px; }
  .poster-card { width: 74%; padding: 24px 20px; }
  .seed-orbit div { width: 78px; height: 78px; font-size: 10px; }
  .plant { height: 54%; bottom: 0; }
  .scroll-cue { display: none; }
  .section { padding: 66px 22px; }
  .section h2 { font-size: 27px; }
  .section-heading, .entry, .mentor-heading { display: block; }
  .section-heading p, .mentor-heading p:last-child { margin-top: 20px; }
  .section-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }
  .section-actions .button,
  .section-actions .button-text {
    display: flex;
    width: 100%;
    justify-content: space-between;
    min-height: 50px;
    padding: 13px 16px;
    font-size: 13px;
    opacity: 1;
    visibility: visible;
    text-decoration: none;
  }
  .section-actions .button-primary {
    color: #fff !important;
    background: var(--ink) !important;
  }
  .section-actions .button-text {
    color: var(--ink) !important;
    background: rgba(255, 255, 255, .9) !important;
  }
  .voice-strip, .can-grid, .advance-three, .schedule-grid, .mentor-grid, .trust-grid, .entry-card-list { grid-template-columns: 1fr; }
  .message-strip { padding: 58px 0 18px; }
  .message-strip span { top: 20px; }
  .check-grid { grid-template-columns: 1fr; }
  .check-grid p { min-height: auto; }
  .day-card { grid-template-columns: 1fr; gap: 20px; padding: 42px 0; }
  .day-number { font-size: 40px; }
  .day-card > div:last-child { display: block; }
  .day-card ul { margin-top: 20px; }
  .map-board {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding: 18px;
  }
  .map-board::before, .map-board::after { display: none; }
  .castle, .map-step {
    position: static;
    width: auto;
    min-height: auto;
    transform: none;
  }
  .castle { height: auto; padding: 18px; }
  .teacher-card { grid-template-columns: 1fr; }
  .teacher-card img, .teacher-placeholder { height: 270px; }
  .mentor-card img { height: 280px; }
  .details dl div { grid-template-columns: 1fr; gap: 5px; }
  .entry-card { margin-top: 36px; padding: 25px 18px; }
  footer {
    display: block;
    padding-bottom: 100px;
  }
  footer p { margin-top: 15px; text-align: left; }
  .mobile-cta {
    display: block;
    position: fixed;
    z-index: 45;
    left: 12px;
    right: 12px;
    bottom: 10px;
  }
  .mobile-cta a {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--orange);
    color: white;
    box-shadow: 0 8px 30px rgba(8,43,88,.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Refinements: calmer tone, clean advance flow, balanced portraits */
:root {
  --ink: #17215f;
  --ink-deep: #111844;
  --paper: #e7f6ee;
  --paper-warm: #e7f6ee;
  --green: #c8ed91;
  --green-soft: #e7f8c9;
  --line: rgba(23, 33, 95, .18);
}

body {
  background: var(--paper);
}

h1, h2, h3, p, li, dd, dt, summary, a, span {
  overflow-wrap: anywhere;
  word-break: auto-phrase;
}

.section h2 {
  line-height: 1.32;
  text-wrap: balance;
}

.section-heading p,
.hero-lead,
.mentor-heading p:last-child,
.entry-copy p {
  line-height: 1.95;
}

.advance {
  background: linear-gradient(180deg, var(--paper) 0%, #f4fbf6 100%);
}

.map-board {
  display: none !important;
}

.advance-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.flow-step {
  position: relative;
  min-height: 230px;
  padding: 28px 24px 26px;
  border: 4px solid rgba(23, 33, 95, .16);
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 0 rgba(23, 33, 95, .05);
}

.flow-step span {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}

.flow-step h3 {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.28;
  text-wrap: balance;
}

.flow-step p {
  margin: 14px 0 0;
  color: rgba(17, 24, 68, .82);
  font-size: 13px;
  line-height: 1.8;
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -18px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
}

.flow-step:nth-child(3)::after,
.flow-step:nth-child(6)::after {
  display: none;
}

.teacher-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teacher-card {
  grid-template-columns: 170px 1fr;
  align-items: start;
  overflow: hidden;
}

.teacher-card img,
.teacher-placeholder {
  width: 170px;
  height: 170px;
  border-radius: 24px;
  object-fit: cover;
}

.teacher-main img {
  object-position: 50% 38%;
}

.teacher-card > div:not(.teacher-placeholder) {
  min-width: 0;
}

.teacher-card h3 {
  font-size: clamp(24px, 2.2vw, 34px) !important;
}

.teacher-role {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.teacher-card p:last-child {
  font-size: clamp(13px, 1.05vw, 15px) !important;
  line-height: 1.75 !important;
  overflow-wrap: anywhere;
}

.mentor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.mentor-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.mentor-card:nth-child(1) img { object-position: 50% 30%; }
.mentor-card:nth-child(2) img { object-position: 50% 22%; }
.mentor-card:nth-child(3) img { object-position: 50% 28%; }

.mentor-body {
  min-height: 330px;
}

.mentor-badge {
  line-height: 1.55;
}

.details dd small {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .advance-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-step:nth-child(3)::after {
    display: block;
  }
  .flow-step:nth-child(2)::after,
  .flow-step:nth-child(4)::after,
  .flow-step:nth-child(6)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .advance-flow,
  .teacher-grid,
  .mentor-grid {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: auto;
  }

  .flow-step::after {
    display: none !important;
  }

  .teacher-card {
    grid-template-columns: 1fr;
  }

  .teacher-card img,
  .teacher-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .mentor-body {
    min-height: auto;
  }
}
/* Final mentor portrait fix: keep uploaded vertical crops unchanged. */
.teachers {
  background: var(--green);
}

.mentor-heading {
  margin-top: clamp(64px, 9vw, 108px);
  color: #ffffff;
}

.mentor-heading .section-kicker,
.mentor-heading h2,
.mentor-heading p,
.mentor-heading p:last-child {
  color: #ffffff !important;
}

.mentor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(32px, 7vw, 96px);
  align-items: start !important;
}

.mentor-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.mentor-card:hover {
  transform: none !important;
}

.mentor-card img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mentor-body {
  margin-top: 18px;
  min-height: 0 !important;
  padding: 22px 22px 24px !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(23, 33, 95, .12);
  color: var(--ink);
}

.mentor-badge {
  display: block !important;
  width: fit-content;
  margin: 12px 0 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(200, 237, 145, .55);
  color: var(--ink) !important;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.mentor-card h3 {
  margin-bottom: 8px;
  color: var(--ink) !important;
  font-size: clamp(26px, 2.5vw, 36px) !important;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.mentor-role {
  color: rgba(23, 33, 95, .72) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 700;
}

.mentor-card p:last-child {
  color: rgba(23, 33, 95, .86) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  font-weight: 600;
}

@media (max-width: 900px) {
  .mentor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .mentor-card h3 {
    font-size: clamp(18px, 4vw, 28px);
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .mentor-grid {
    grid-template-columns: 1fr !important;
    gap: 42px;
  }

  .mentor-card {
    max-width: 360px;
    margin-inline: auto;
  }

  .mentor-card h3 {
    font-size: 30px;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 14px;
  }
}

/* Readability polish for people section */
.teacher-card {
  overflow: hidden;
}

.teacher-card > div:not(.teacher-placeholder) {
  min-width: 0;
}

.teacher-card h3 {
  font-size: clamp(24px, 2.2vw, 34px) !important;
}

.teacher-card p:last-child {
  font-size: clamp(13px, 1.05vw, 15px) !important;
  line-height: 1.75 !important;
  word-break: normal;
  overflow-wrap: anywhere;
}

.teacher-role {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.mentor-card {
  display: flex;
  flex-direction: column;
}

.mentor-body {
  margin-top: 18px;
  padding: 22px 22px 24px !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(23, 33, 95, .12);
}

.mentor-card h3 {
  color: var(--ink) !important;
  font-size: clamp(26px, 2.5vw, 36px) !important;
  letter-spacing: .06em;
}

.mentor-role {
  color: rgba(23, 33, 95, .72) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 700;
}

.mentor-badge {
  display: block !important;
  width: fit-content;
  margin: 12px 0 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(200, 237, 145, .55);
  color: var(--ink) !important;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.mentor-card p:last-child {
  color: rgba(23, 33, 95, .86) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  font-weight: 600;
}

@media (max-width: 900px) {
  .mentor-body {
    padding: 16px 14px 18px !important;
    border-radius: 18px;
  }

  .mentor-card h3 {
    font-size: clamp(18px, 4vw, 26px) !important;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 11px !important;
  }

  .mentor-badge {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .mentor-body {
    padding: 20px 20px 22px !important;
  }

  .mentor-card h3 {
    font-size: 30px !important;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 14px !important;
  }

  .mentor-badge {
    font-size: 12px;
  }
}

/* Final mentor portrait fix: use the provided vertical images as-is. */
.teachers {
  background: var(--green);
}

.mentor-heading {
  margin-top: clamp(64px, 9vw, 108px);
  color: #ffffff;
}

.mentor-heading .section-kicker,
.mentor-heading h2,
.mentor-heading p,
.mentor-heading p:last-child {
  color: #ffffff !important;
}

.mentor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.mentor-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.mentor-card:hover {
  transform: none !important;
}

.mentor-card img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mentor-body {
  min-height: 0 !important;
  padding: 28px 0 0 !important;
  background: transparent !important;
  color: #ffffff;
}

.mentor-badge {
  display: none !important;
}

.mentor-card h3 {
  margin-bottom: 8px;
  color: #ffffff !important;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.mentor-role,
.mentor-card p:last-child {
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 700;
}

@media (max-width: 900px) {
  .mentor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .mentor-card h3 {
    font-size: clamp(18px, 4vw, 28px);
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .mentor-grid {
    grid-template-columns: 1fr !important;
    gap: 42px;
  }

  .mentor-card {
    max-width: 360px;
    margin-inline: auto;
  }

  .mentor-card h3 {
    font-size: 30px;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 14px;
  }
}

/* Mentor section: flyer-linked portrait layout */
.teachers {
  background: var(--green);
}

.mentor-heading {
  margin-top: clamp(64px, 9vw, 108px);
  color: #ffffff;
}

.mentor-heading .section-kicker,
.mentor-heading h2,
.mentor-heading p {
  color: #ffffff;
}

.mentor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.mentor-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

.mentor-card:hover {
  transform: none;
}

.mentor-card img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.mentor-card:nth-child(1) img,
.mentor-card:nth-child(2) img,
.mentor-card:nth-child(3) img {
  object-position: center;
}

.mentor-body {
  min-height: 0 !important;
  padding: 28px 0 0;
  background: transparent;
  color: #ffffff;
}

.mentor-badge {
  display: none;
}

.mentor-card h3 {
  margin-bottom: 8px;
  color: #ffffff !important;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.mentor-role {
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
}

.mentor-card p:last-child {
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}

@media (max-width: 900px) {
  .mentor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .mentor-card h3 {
    font-size: clamp(18px, 4vw, 28px);
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .mentor-grid {
    grid-template-columns: 1fr !important;
    gap: 42px;
  }

  .mentor-card {
    max-width: 360px;
    margin-inline: auto;
  }

  .mentor-card h3 {
    font-size: 30px;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 14px;
  }
}

/* Keep selected sections in compact columns */
.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.advance-three {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 640px) {
  .check-grid {
    gap: 8px;
  }

  .check-grid label {
    min-height: 124px;
    padding: 16px 10px;
    font-size: 12px;
    line-height: 1.55;
  }

  .check-grid label span::before {
    width: 24px;
    height: 24px;
    margin-bottom: 9px;
    border-width: 3px;
    font-size: 17px;
  }

  .advance-three {
    gap: 8px;
  }

  .advance-three article {
    min-height: 178px;
    padding: 18px 10px;
    border-radius: 22px;
  }

  .advance-three span {
    font-size: 12px;
  }

  .advance-three p {
    font-size: 11px;
    line-height: 1.65;
  }
}

/* Responsive natural layout */
.check-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
}

.advance-three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

@media (max-width: 760px) {
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .advance-three {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 390px) {
  .check-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Requested refinements */
:root {
  --ink: #17215f;
  --ink-deep: #111844;
  --green: #b9e978;
  --green-soft: #dcf5b4;
  --line: rgba(23, 33, 95, .22);
  --shadow: 0 22px 0 rgba(23, 33, 95, .08), 0 28px 60px rgba(23, 33, 95, .13);
}

h1, h2, h3, .brand, .hero-title, .voice-strip p, .message-strip p, .trust-grid p {
  font-family: "Kiwi Maru", serif;
}

.hero::before,
.button-primary,
.entry-card-list span,
.day-number span,
.map-step span,
.mobile-cta a {
  color: var(--ink);
}

.button-primary {
  box-shadow: 0 9px 0 rgba(23, 33, 95, .95);
}
.button-primary:hover {
  box-shadow: 0 6px 0 rgba(23, 33, 95, .95);
}

.hero {
  background:
    radial-gradient(circle at 82% 44%, rgba(255,255,255,.92) 0 22%, transparent 22.5%),
    radial-gradient(circle at 67% 52%, rgba(255,255,255,.92) 0 17%, transparent 17.5%),
    linear-gradient(180deg, #def4e8 0 76%, var(--ink) 76% 100%);
}

.student-illust {
  left: 27%;
  bottom: 13%;
}
.student {
  width: 180px;
  height: 318px;
}
.student-two {
  width: 164px;
  height: 292px;
}
.recommend-bubbles span:nth-child(1) { left: 2%; top: 25%; }
.recommend-bubbles span:nth-child(2) { left: 6%; bottom: 8%; }
.recommend-bubbles span:nth-child(3) { right: 1%; bottom: 10%; }

.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.check-grid label {
  position: relative;
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border: 5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.check-grid label:hover {
  transform: translateY(-4px);
}
.check-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check-grid label span {
  display: block;
}
.check-grid label span::before {
  content: "";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  border: 4px solid var(--green);
  background: white;
  color: var(--green);
  font-size: 21px;
  line-height: 1;
}
.check-grid input:checked + span::before {
  content: "✓";
}
.check-grid label:has(input:checked) {
  background: white;
  color: var(--ink);
  border-color: var(--green);
}
.check-result {
  margin-top: 30px;
  padding: 26px 30px;
  border: 5px solid var(--ink);
  border-radius: 34px;
  background: white;
  color: var(--ink);
}
.check-result span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
}
.check-result p {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 700;
}

.map-board {
  min-height: 620px;
}
.map-board::before {
  inset: 92px 76px;
}
.map-board::after {
  bottom: 42px;
}
.castle {
  display: none;
}
.step-1 { left: 0; top: 10%; }
.step-2 { left: 19%; bottom: 6%; }
.step-3 { left: 35%; top: 4%; }
.step-4 { right: 30%; top: 35%; }
.step-5 { right: 5%; bottom: 7%; }
.step-6 { right: 0; top: 8%; }

.mentor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mentor-card img {
  aspect-ratio: 4 / 3;
  height: auto;
}
.mentor-body {
  min-height: 360px;
  padding: 20px;
}
.mentor-card h3 {
  font-size: clamp(22px, 1.7vw, 27px);
}
.mentor-card p:last-child {
  font-size: 12px;
  line-height: 1.75;
}
.mentor-role {
  font-size: 9px;
}

@media (max-width: 900px) {
  .hero {
    background:
      radial-gradient(circle at 82% 42%, rgba(255,255,255,.92) 0 22%, transparent 22.5%),
      linear-gradient(180deg, #def4e8 0 82%, var(--ink) 82% 100%);
  }
  .student-illust {
    left: 22%;
    bottom: 16px;
  }
  .student {
    width: 104px;
    height: 184px;
  }
  .student-two {
    width: 94px;
    height: 168px;
  }
  .check-grid {
    grid-template-columns: 1fr;
  }
  .check-grid label {
    min-height: auto;
    border-radius: 28px;
  }
  .map-board {
    min-height: auto;
  }
  .mentor-grid {
    grid-template-columns: 1fr;
  }
  .mentor-body {
    min-height: auto;
  }
}

/* Flyer-linked visual direction */
:root {
  --ink: #17215f;
  --ink-deep: #111844;
  --paper: #def4e8;
  --paper-warm: #def4e8;
  --green: #b9e978;
  --green-soft: #dcf5b4;
  --orange: #344cad;
  --blue: #344cad;
  --line: rgba(23, 33, 95, .22);
  --shadow: 0 22px 0 rgba(23, 33, 95, .08), 0 28px 60px rgba(23, 33, 95, .13);
}

body {
  background: var(--paper);
  color: #24272f;
  font-family: "Kiwi Maru", serif;
}

.scroll-progress { background: var(--green); }

.site-header {
  min-height: 68px;
  background: rgba(222, 244, 232, .9);
  border-bottom: 3px solid rgba(52, 76, 173, .12);
}
.brand { color: var(--ink); }
.brand-mark {
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}
.desktop-nav a { color: var(--ink); opacity: .86; font-weight: 500; }
.desktop-nav a:hover { color: #202436; }
.header-cta {
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 500;
}
.menu-button {
  border: 3px solid var(--ink);
  background: rgba(255,255,255,.58);
}
.menu-button span { background: var(--ink); }
.menu-button[aria-expanded="true"] span { background: var(--green); }
.index-menu {
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 10px 10px 0 var(--green);
}
.index-menu p { color: var(--ink); font-weight: 700; }
.index-menu a {
  color: var(--ink);
  border-top: 2px dotted rgba(52, 76, 173, .22);
  font-weight: 500;
}

h1, h2, h3, .brand, .hero-title, .voice-strip p, .message-strip p, .poster-card p, .trust-grid p, .castle {
  font-family: "Kiwi Maru", serif;
}
h1 {
  color: var(--ink);
  font-size: clamp(43px, 6vw, 86px);
  line-height: 1.22;
  font-weight: 500;
}
.section h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.25;
}
.eyebrow, .section-kicker {
  color: var(--ink);
  font-weight: 700;
}
.eyebrow::before, .section-kicker::before {
  height: 3px;
  background: var(--green);
}
.section {
  position: relative;
  padding-block: 96px;
}
.section-heading {
  align-items: center;
}
.section-heading p {
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(15px, 1.35vw, 20px);
}

.hero {
  min-height: 860px;
  background:
    radial-gradient(circle at 78% 33%, rgba(255,255,255,.92) 0 19%, transparent 19.5%),
    radial-gradient(circle at 90% 48%, rgba(255,255,255,.92) 0 13%, transparent 13.5%),
    radial-gradient(circle at 66% 50%, rgba(255,255,255,.92) 0 18%, transparent 18.5%),
    linear-gradient(180deg, #def4e8 0 76%, var(--ink) 76% 100%);
}
.hero::before {
  content: "無料オンライン・ベーシック講座";
  position: absolute;
  top: 96px;
  left: clamp(24px, 8vw, 140px);
  right: clamp(24px, 8vw, 140px);
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 999px 999px 0 999px;
  background: var(--green);
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-copy {
  padding-top: 88px;
  max-width: 880px;
}
.program-label {
  margin-top: 10px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(31px, 4.4vw, 58px);
  font-weight: 700;
}
.hero-title {
  display: inline-block;
  margin-top: 16px;
  padding: 2px 18px 6px;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  font-family: "Kiwi Maru", serif;
  font-size: clamp(20px, 2.1vw, 32px);
}
.hero-lead {
  max-width: 660px;
  color: var(--ink);
  font-weight: 500;
}
.button {
  border-radius: 999px;
  font-weight: 700;
}
.button-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 9px 0 rgba(23, 33, 95, .95);
}
.button-primary:hover {
  box-shadow: 0 6px 0 rgba(23, 33, 95, .95);
}
.button-text {
  color: var(--ink);
  border-bottom: 4px solid var(--green);
}
.hero-facts {
  color: var(--ink);
  font-weight: 500;
}
.hero-facts strong { color: var(--ink); }
.hero-visual {
  min-height: 680px;
}
.mentor-bubble {
  position: absolute;
  top: -8px;
  right: 5%;
  width: 178px;
  height: 178px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 8px solid var(--ink);
  border-radius: 50%;
  background: #e7faef;
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 24px 24px 0 -12px var(--ink);
}
.student-illust {
  position: absolute;
  left: 27%;
  bottom: 13%;
  display: flex;
  align-items: end;
  gap: 18px;
}
.student {
  width: 180px;
  height: 318px;
  border: 8px solid #59606a;
  border-bottom: 0;
  border-radius: 70px 70px 0 0;
  background: linear-gradient(var(--green) 0 22%, white 22% 42%, var(--ink) 42% 100%);
  transform: rotate(-8deg);
}
.student-two {
  width: 164px;
  height: 292px;
  background: linear-gradient(white 0 22%, var(--green) 22% 35%, var(--ink) 35% 100%);
  transform: rotate(7deg);
}
.recommend-bubbles span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  padding: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  text-align: center;
  font-weight: 700;
  line-height: 1.45;
}
.recommend-bubbles span:nth-child(1) { left: 2%; top: 25%; }
.recommend-bubbles span:nth-child(2) { left: 6%; bottom: 8%; }
.recommend-bubbles span:nth-child(3) { right: 1%; bottom: 10%; }

.about, .basic, .teachers, .details, .faq {
  background: var(--paper);
}
.recommend, .schedule, .cross, .entry {
  background: var(--green);
}
.voice-strip, .can-grid {
  background: transparent;
  border: 0;
  gap: 18px;
}
.voice-strip p,
.can-grid article,
.check-grid p,
.schedule-grid article,
.trust-grid article,
.teacher-card,
.mentor-card,
.entry-card {
  border: 5px solid var(--green);
  border-radius: 999px;
  background: white;
  box-shadow: none;
}
.voice-strip p {
  display: grid;
  place-items: center;
  min-height: 170px;
  color: var(--ink);
  text-align: center;
}
.message-strip {
  border-color: var(--ink);
  border-width: 4px;
}
.message-strip span { color: var(--ink); font-weight: 700; }
.check-grid label {
  position: relative;
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  color: white;
  background: var(--ink);
  border-color: var(--ink);
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  border: 5px solid var(--ink);
  border-radius: 999px;
  padding: 22px 18px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.check-grid label:hover {
  transform: translateY(-4px);
}
.check-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check-grid span::before {
  content: "";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 14px;
  border: 4px solid var(--green);
  background: white;
  color: var(--green);
  font-size: 21px;
  line-height: 1;
}
.check-grid input:checked + span::before {
  content: "✓";
}
.check-grid input:checked + span {
  color: var(--ink);
}
.check-grid label:has(input:checked) {
  background: white;
  color: var(--ink);
  border-color: var(--green);
}
.check-result {
  margin-top: 30px;
  padding: 26px 30px;
  border: 5px solid var(--ink);
  border-radius: 34px;
  background: white;
  color: var(--ink);
}
.check-result span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
}
.check-result p {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 700;
}
.can-grid article {
  min-height: 250px;
  border-radius: 28px;
}
.can-grid span,
.teacher-role,
.mentor-role,
.schedule-grid span,
.trust-grid span {
  color: var(--ink);
  font-weight: 700;
}
.can-grid h3,
.day-card h3,
.schedule-grid h3,
.teacher-card h3,
.mentor-card h3,
.trust-grid p {
  color: var(--ink);
}
.timeline {
  border-top: 5px solid var(--ink);
}
.day-card {
  border-bottom: 4px dotted rgba(23, 33, 95, .35);
}
.day-number {
  color: var(--ink) !important;
}
.day-number span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}

.advance {
  background: var(--paper);
  color: #24272f;
}
.advance .section-kicker,
.advance .section-heading p,
.advance h2 {
  color: var(--ink);
}
.advance h2 em { color: var(--ink); }
.advance-three {
  gap: 18px;
  background: transparent;
}
.advance-three article {
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-align: center;
}
.advance-three span { color: var(--green); font-weight: 700; }
.advance-three p { color: white; }
.map-board {
  min-height: 700px;
  background: transparent;
  border: 0;
}
.map-board::before {
  inset: 110px 90px;
  border: 16px solid var(--green);
  border-left-style: dashed;
  border-right-style: dashed;
  border-radius: 50%;
  transform: rotate(-8deg);
}
.map-board::after {
  content: "";
  right: auto;
  left: 50%;
  bottom: 62px;
  width: 200px;
  height: 120px;
  transform: translateX(-50%);
  opacity: 1;
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 18% / 120px 7px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 40% / 160px 7px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 64% / 190px 7px no-repeat;
}
.castle {
  top: 69%;
  width: 210px;
  height: 120px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 25px;
}
.map-step {
  display: grid;
  place-items: center;
  width: min(300px, 30%);
  min-height: 230px;
  padding: 28px;
  border: 7px solid var(--green);
  border-radius: 50%;
  box-shadow: none;
  text-align: center;
}
.map-step span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -4px auto 6px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 25px;
  letter-spacing: 0;
}
.map-step h3 {
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.18;
}
.map-step p {
  font-weight: 500;
}
.step-1 { left: 0; top: 10%; }
.step-2 { left: 22%; bottom: 4%; }
.step-3 { left: 32%; top: 8%; }
.step-4 { right: 28%; top: 31%; }
.step-5 { right: 0; bottom: 5%; }
.step-6 { right: 0; top: 8%; }
.selection-note {
  border: 0;
  border-radius: 28px;
  background: var(--ink);
  color: white;
}

.schedule-grid {
  grid-template-columns: repeat(4, 1fr);
}
.schedule-grid article {
  border-radius: 34px;
}

.teacher-card {
  border-radius: 34px;
}
.teacher-card img,
.teacher-placeholder {
  border-radius: 24px;
}
.teacher-placeholder {
  background: var(--ink);
  color: var(--green);
}
.mentor-card {
  border-radius: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.mentor-card img {
  border: 0;
  border-radius: 0;
}
.mentor-body {
  color: white;
  background: var(--green);
}
.mentor-role,
.mentor-card h3,
.mentor-card p:last-child {
  color: var(--ink);
}
.mentor-badge {
  background: var(--ink);
  color: white;
  border-radius: 999px;
}
.cross .section-heading p,
.entry-copy p {
  color: var(--ink);
  font-weight: 500;
}
.details {
  border-top: 28px solid var(--ink);
}
.details dl {
  border-top: 5px solid var(--ink);
}
.details dl div {
  border-bottom: 3px dotted rgba(52,76,173,.3);
}
.details dt {
  color: var(--ink);
  font-weight: 700;
}
.faq {
  border-top: 28px solid var(--green);
}
.accordion details {
  border-top: 3px solid rgba(52,76,173,.28);
}
.accordion details:last-child {
  border-bottom: 3px solid rgba(52,76,173,.28);
}
.accordion summary {
  color: var(--ink);
  font-weight: 700;
}
.entry {
  border-top: 28px solid var(--ink);
}
.entry-card {
  border-radius: 34px;
}
.entry-card-list span {
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}
footer {
  background: var(--ink);
}
.mobile-cta a {
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    background:
      radial-gradient(circle at 86% 38%, rgba(255,255,255,.92) 0 18%, transparent 18.5%),
      linear-gradient(180deg, #def4e8 0 82%, var(--ink) 82% 100%);
  }
  .hero::before {
    top: 76px;
    height: 48px;
    font-size: 15px;
  }
  .hero-copy { padding-top: 42px; }
  .program-label { font-size: 31px; line-height: 1.25; }
  h1 { font-size: 42px; }
  .hero-title { font-size: 20px; }
  .hero-visual { min-height: 520px; }
  .mentor-bubble {
    width: 118px;
    height: 118px;
    top: 0;
    right: 0;
    border-width: 5px;
    font-size: 11px;
  }
  .thought-cloud {
    top: 90px;
    right: 0;
    min-height: 230px;
    padding: 32px 18px;
  }
  .web-tile {
    width: 104px;
    height: 104px;
    border-width: 8px;
    font-size: 19px;
  }
  .cloud-icons span {
    border-width: 3px;
    font-size: 10px;
  }
  .student-illust {
    left: 20%;
    bottom: 14px;
  }
  .student {
    width: 96px;
    height: 170px;
    border-width: 5px;
  }
  .student-two {
    width: 90px;
    height: 158px;
  }
  .recommend-bubbles span {
    width: 112px;
    height: 112px;
    font-size: 11px;
  }
  .section h2 { font-size: 31px; }
  .voice-strip p { min-height: 120px; }
  .check-grid p { min-height: 132px; }
  .advance-three article { border-radius: 28px; }
  .map-board {
    padding: 0;
    background: transparent;
  }
  .map-board::before,
  .map-board::after { display: none; }
  .castle {
    display: grid;
    width: auto;
    height: auto;
    padding: 20px;
    border: 6px solid var(--ink);
    border-radius: 24px;
    background: white;
  }
  .map-step {
    width: auto;
    border-radius: 30px;
    min-height: auto;
  }
  .schedule-grid { grid-template-columns: 1fr; }
  .teacher-card,
  .entry-card {
    border-radius: 28px;
  }
}

/* Final overrides for the current revision */
:root {
  --paper: #e7f6ee;
  --paper-warm: #e7f6ee;
  --green: #c8ed91;
  --green-soft: #e7f8c9;
}

.hero {
  grid-template-columns: minmax(0, 1fr) !important;
}

.hero-copy {
  max-width: 920px;
}

.hero-visual,
.recommend-bubbles,
.student-illust,
.mentor-bubble {
  display: none !important;
}

.mentor-recruit-note {
  display: inline-flex;
  width: fit-content;
  margin: 18px 0 0;
  padding: 9px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}

.advance {
  background: linear-gradient(180deg, var(--paper) 0%, #f4fbf6 100%);
}

.map-board,
.castle {
  display: none !important;
}

.advance-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.flow-step {
  position: relative;
  min-height: 230px;
  padding: 28px 24px 26px;
  border: 4px solid rgba(23, 33, 95, .16);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 0 rgba(23, 33, 95, .05);
}

.flow-step span {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}

.flow-step h3 {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.28;
  text-wrap: balance;
}

.flow-step p {
  margin: 14px 0 0;
  color: rgba(17, 24, 68, .82);
  font-size: 13px;
  line-height: 1.8;
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -18px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
}

.flow-step:nth-child(3)::after,
.flow-step:nth-child(6)::after {
  display: none;
}

.teacher-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teacher-card {
  grid-template-columns: 170px 1fr;
  align-items: start;
}

.teacher-card img,
.teacher-placeholder {
  width: 170px;
  height: 170px;
  border-radius: 24px;
  object-fit: cover;
}

.teacher-main img {
  object-position: 50% 38%;
}

.teachers {
  background: var(--green);
}

.mentor-heading {
  margin-top: clamp(64px, 9vw, 108px);
  color: #ffffff;
}

.mentor-heading .section-kicker,
.mentor-heading h2,
.mentor-heading p,
.mentor-heading p:last-child {
  color: #ffffff !important;
}

.mentor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(32px, 7vw, 96px);
  align-items: start !important;
}

.mentor-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.mentor-card:hover {
  transform: none !important;
}

.mentor-card img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mentor-body {
  min-height: 0 !important;
  padding: 28px 0 0 !important;
  background: transparent !important;
  color: #ffffff;
}

.mentor-badge {
  display: none !important;
}

.mentor-card h3 {
  margin-bottom: 8px;
  color: #ffffff !important;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.mentor-role,
.mentor-card p:last-child {
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 700;
}

h1, h2, h3 {
  word-break: keep-all;
  overflow-wrap: normal;
}

p, li, dd, dt, summary, a, span {
  overflow-wrap: break-word;
}

.section h2,
.flow-step h3,
.mentor-card h3,
.teacher-card h3,
.schedule-grid h3 {
  line-height: 1.32;
  text-wrap: balance;
}

.details dd small {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .advance-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-step:nth-child(3)::after {
    display: block;
  }
  .flow-step:nth-child(2)::after,
  .flow-step:nth-child(4)::after,
  .flow-step:nth-child(6)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .advance-flow,
  .teacher-grid {
    grid-template-columns: 1fr;
  }

  .mentor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .flow-step {
    min-height: auto;
  }

  .flow-step::after {
    display: none !important;
  }

  .teacher-card {
    grid-template-columns: 1fr;
  }

  .teacher-card img,
  .teacher-placeholder {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  .mentor-card h3 {
    font-size: clamp(18px, 4vw, 28px);
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .mentor-grid {
    grid-template-columns: 1fr !important;
    gap: 42px;
  }

  .mentor-card {
    max-width: 360px;
    margin-inline: auto;
  }

  .mentor-card h3 {
    font-size: 30px;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 14px;
  }
}


/* Absolute final polish: hero cleanup and readable people cards */
.hero {
  grid-template-columns: minmax(0, 1fr) !important;
}

.hero-copy {
  max-width: 920px !important;
}

.hero-visual,
.recommend-bubbles,
.student-illust,
.mentor-bubble {
  display: none !important;
}

.mentor-recruit-note {
  display: inline-flex !important;
  width: fit-content;
  margin: 18px 0 0;
  padding: 9px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}

.teacher-card {
  overflow: hidden !important;
}

.teacher-card > div:not(.teacher-placeholder) {
  min-width: 0;
}

.teacher-card h3 {
  font-size: clamp(24px, 2.2vw, 34px) !important;
}

.teacher-role {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.teacher-card p:last-child {
  font-size: clamp(13px, 1.05vw, 15px) !important;
  line-height: 1.75 !important;
  overflow-wrap: anywhere;
}

.mentor-body {
  margin-top: 18px !important;
  min-height: 0 !important;
  padding: 22px 22px 24px !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 2px solid rgba(255, 255, 255, .72) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 36px rgba(23, 33, 95, .12) !important;
  color: var(--ink) !important;
}

.mentor-card h3 {
  color: var(--ink) !important;
  font-size: clamp(26px, 2.5vw, 36px) !important;
  letter-spacing: .06em !important;
}

.mentor-role {
  color: rgba(23, 33, 95, .72) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 700 !important;
}

.mentor-badge {
  display: block !important;
  width: fit-content;
  margin: 12px 0 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(200, 237, 145, .55) !important;
  color: var(--ink) !important;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.mentor-card p:last-child {
  color: rgba(23, 33, 95, .86) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  font-weight: 600 !important;
}

.mentor-mobile {
  display: none;
}

@media (max-width: 900px) {
  .mentor-body {
    padding: 16px 14px 18px !important;
    border-radius: 18px !important;
  }

  .mentor-card h3 {
    font-size: clamp(18px, 4vw, 26px) !important;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 11px !important;
  }

  .mentor-badge {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    max-width: none !important;
  }

  .mentor-recruit-note {
    font-size: 12px;
  }

  .mentor-body {
    padding: 20px 20px 22px !important;
  }

  .mentor-card h3 {
    font-size: 30px !important;
  }

  .mentor-role,
  .mentor-card p:last-child {
    font-size: 14px !important;
  }

  .mentor-badge {
    font-size: 12px;
  }
}

/* Mobile mentor picker: three photos, one readable profile */
@media (max-width: 640px) {
  .mentor-grid {
    display: none !important;
  }

  .mentor-mobile {
    display: block;
    margin-top: 30px;
  }

  .mentor-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .mentor-mobile-tabs button {
    appearance: none;
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    text-align: center;
  }

  .mentor-mobile-tabs img {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid transparent;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(23, 33, 95, .16);
  }

  .mentor-mobile-tabs span {
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .04em;
  }

  .mentor-mobile-tabs button.is-active img {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 33, 95, .3), 0 14px 28px rgba(23, 33, 95, .18);
  }

  .mentor-mobile-panel {
    margin-top: 20px;
    padding: 22px 20px 24px;
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 36px rgba(23, 33, 95, .12);
    color: var(--ink);
  }

  .mentor-mobile-panel h3 {
    margin: 8px 0 12px;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: .06em;
  }

  .mentor-mobile-panel .mentor-role {
    color: rgba(23, 33, 95, .72) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .mentor-mobile-panel .mentor-badge {
    display: block !important;
    width: fit-content;
    margin: 12px 0 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(200, 237, 145, .55) !important;
    color: var(--ink) !important;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
  }

.mentor-mobile-panel p:last-child {
    margin: 0;
    color: rgba(23, 33, 95, .86);
    font-size: 14px;
    line-height: 1.85;
    font-weight: 600;
  }
}

/* Final layout refinements */
.hero {
  min-height: auto !important;
  align-items: start !important;
  padding-bottom: clamp(72px, 9vw, 118px) !important;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-facts {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
  margin-top: 24px !important;
  padding: 14px 16px !important;
  border: 2px solid rgba(23, 33, 95, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 34px rgba(23, 33, 95, .12);
  color: var(--ink) !important;
}

.hero-facts li {
  color: var(--ink) !important;
}

.hero-facts strong {
  color: var(--ink) !important;
}

.teacher-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
}

.teacher-card {
  grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) !important;
  min-width: 0;
}

.mentor-recruit-card {
  margin-top: clamp(48px, 7vw, 78px);
  padding: clamp(24px, 4vw, 38px);
  border: 3px solid rgba(255, 255, 255, .72);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 44px rgba(23, 33, 95, .14);
  color: var(--ink);
}

.mentor-recruit-card .section-kicker {
  color: rgba(23, 33, 95, .62) !important;
}

.mentor-recruit-card h3 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: .04em;
}

.mentor-recruit-card p {
  max-width: 760px;
  margin: 0;
  color: rgba(23, 33, 95, .78);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

.mentor-recruit-card ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mentor-recruit-card li {
  min-height: 92px;
  padding: 16px 15px;
  border-radius: 18px;
  background: rgba(200, 237, 145, .5);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 800;
}

@media (max-width: 760px) {
  .hero {
    padding-bottom: 76px !important;
  }

  .hero-facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px !important;
    width: 100%;
    padding: 14px !important;
  }

  .hero-facts li {
    padding: 0 !important;
    border: 0 !important;
    font-size: 12px;
  }

  .teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .teacher-card {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }

.teacher-card img,
.teacher-placeholder {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  border-radius: 16px !important;
}

  .teacher-card h3 {
    font-size: clamp(19px, 5vw, 25px) !important;
  }

  .teacher-card p:last-child {
    font-size: 11px !important;
    line-height: 1.65 !important;
  }

  .mentor-recruit-card ul {
    grid-template-columns: 1fr;
  }

  .mentor-recruit-card li {
    min-height: auto;
  }
}

/* Keep mentor portraits close to the teacher photo size */
.mentor-card img {
  width: min(100%, 170px) !important;
  max-width: 170px !important;
  height: auto !important;
  margin-inline: auto;
}

.mentor-card {
  align-items: center;
}

.mentor-body {
  width: 100%;
}

@media (max-width: 640px) {
  .mentor-mobile-tabs img {
    width: min(100%, 104px) !important;
    margin-inline: auto;
  }
}

.teacher-card:not(.teacher-main) img {
  object-position: center 32%;
}

@media (min-width: 761px) {
  .teacher-card:not(.teacher-main) img {
    width: 170px !important;
    height: 170px !important;
    aspect-ratio: 1 / 1 !important;
  }
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a,
.social-links > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 2px solid rgba(23, 33, 95, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.social-links a span,
.social-links small {
  color: rgba(23, 33, 95, .62);
  font-size: 12px;
  font-weight: 700;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(23, 33, 95, .12);
}

.hero-title span {
  display: inline;
}

/* Mobile overflow repair */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

.site-header,
.hero,
.section,
footer {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 760px) {
  .site-header {
    width: 100% !important;
    padding-inline: 18px !important;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    max-width: calc(100vw - 126px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero,
  .section,
  .entry,
  .recommend,
  .advance,
  .teachers,
  .details,
  .faq,
  .cross {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 20px !important;
    overflow-x: clip;
  }

  .hero {
    padding-top: 104px !important;
    padding-bottom: 76px !important;
  }

  .hero::before,
  .hero::after {
    max-width: calc(100vw - 40px) !important;
    left: 20px !important;
    right: 20px !important;
  }

  .section-heading,
  .mentor-heading,
  .entry {
    width: 100% !important;
    max-width: 100% !important;
  }

  h1,
  h2,
  h3,
  p,
  li,
  span,
  a,
  dd,
  dt {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  h1 {
    font-size: clamp(31px, 9vw, 39px) !important;
    line-height: 1.35 !important;
  }

  .section h2,
  .entry-copy h2 {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.35 !important;
  }

  .section-heading p,
  .entry-copy p,
  .hero-lead,
  .advance .section-heading p {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .voice-strip,
  .check-grid,
  .can-grid,
  .advance-three,
  .advance-flow,
  .schedule-grid,
  .teacher-grid,
  .trust-grid,
  .entry-card-list {
    width: 100% !important;
    max-width: 100% !important;
  }

  .voice-strip p,
  .check-grid label,
  .can-grid article,
  .advance-three article,
  .flow-step,
  .schedule-grid article,
  .teacher-card,
  .entry-card,
  .mentor-mobile-panel,
  .mentor-recruit-card,
  .details dl,
  .accordion,
  .trust-grid article {
    width: 100% !important;
    max-width: 100% !important;
  }

  .check-grid {
    grid-template-columns: 1fr !important;
  }

  .check-grid label {
    min-height: auto !important;
    padding: 22px 18px !important;
    border-radius: 28px !important;
  }

  .check-grid span {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .advance-three {
    grid-template-columns: 1fr !important;
  }

  .advance-three article {
    min-height: auto !important;
    padding: 28px 20px !important;
  }

  .advance-three h3,
  .flow-step h3,
  .schedule-grid h3 {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.35 !important;
  }

  .advance-three p,
  .flow-step p,
  .schedule-grid p {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }

  .advance-flow {
    grid-template-columns: 1fr !important;
  }

  .mentor-recruit-card {
    padding: 26px 20px !important;
    border-radius: 24px !important;
  }

  .mentor-recruit-card h3 {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.35 !important;
  }

  .mentor-recruit-card p,
  .mentor-recruit-card li {
    font-size: 13px !important;
    line-height: 1.8 !important;
  }

  .social-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .social-links a,
  .social-links > span {
    width: 100%;
    justify-content: space-between;
    border-radius: 18px;
  }

  .mobile-cta {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    background: rgba(231, 246, 238, .9);
    backdrop-filter: blur(12px);
  }

  .mobile-cta a {
    width: 100%;
    min-height: 56px;
    border-radius: 0;
  }

  main,
  footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 390px) {
  .hero,
  .section,
  .entry,
  .recommend,
  .advance,
  .teachers,
  .details,
  .faq,
  .cross {
    padding-inline: 16px !important;
  }

  .section h2,
  .entry-copy h2 {
    font-size: clamp(28px, 8.5vw, 36px) !important;
  }
}

/* Match teacher cards to the university mentor presentation */
.teacher-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(28px, 6vw, 72px) !important;
  align-items: start !important;
}

.teacher-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.teacher-card img {
  display: block;
  width: min(100%, 170px) !important;
  max-width: 170px !important;
  height: 170px !important;
  aspect-ratio: 1 / 1 !important;
  margin-inline: auto;
  border-radius: 0 !important;
  object-fit: cover !important;
  box-shadow: none !important;
}

.teacher-main img {
  object-position: 50% 38% !important;
}

.teacher-card:not(.teacher-main) img {
  object-position: center 32% !important;
}

.teacher-card > div:not(.teacher-placeholder) {
  width: 100%;
  min-width: 0;
  margin-top: 18px;
  padding: 22px 22px 24px !important;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 36px rgba(23, 33, 95, .12);
  color: var(--ink);
}

.teacher-card h3 {
  margin: 8px 0 12px !important;
  color: var(--ink) !important;
  font-size: clamp(26px, 2.5vw, 36px) !important;
  line-height: 1.2 !important;
  letter-spacing: .06em !important;
}

.teacher-role {
  color: rgba(23, 33, 95, .72) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 700 !important;
}

.teacher-card p:last-child {
  margin: 0 !important;
  color: rgba(23, 33, 95, .86) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  font-weight: 600 !important;
}

@media (max-width: 760px) {
  .teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .teacher-card img {
    width: min(100%, 104px) !important;
    max-width: 104px !important;
    height: 104px !important;
  }

  .teacher-card > div:not(.teacher-placeholder) {
    margin-top: 12px;
    padding: 16px 14px 18px !important;
    border-radius: 18px;
  }

  .teacher-card h3 {
    font-size: clamp(18px, 4vw, 26px) !important;
  }

  .teacher-role,
  .teacher-card p:last-child {
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .teacher-grid {
    gap: 10px !important;
  }

  .teacher-card > div:not(.teacher-placeholder) {
    padding: 14px 12px 16px !important;
  }

  .teacher-card h3 {
    font-size: 20px !important;
  }
}

/* Use the provided teacher portraits without cropping */
.teacher-card img {
  width: min(100%, 170px) !important;
  max-width: 170px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 760px) {
  .teacher-card img {
    width: min(100%, 104px) !important;
    max-width: 104px !important;
    height: auto !important;
    aspect-ratio: auto !important;
  }
}

/* Equalize teacher portrait display size */
.teacher-grid .teacher-card > img {
  width: min(100%, 260px) !important;
  max-width: 260px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  .teacher-grid .teacher-card > img {
    width: min(100%, 112px) !important;
    max-width: 112px !important;
  }
}

/* Mobile headline hierarchy and mentor application CTA */
.mentor-recruit-action {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mentor-recruit-action a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.mentor-recruit-action p {
  max-width: none;
  color: rgba(23, 33, 95, .68);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .hero-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero .eyebrow {
    order: 1;
    font-size: 12px !important;
  }

  .program-label {
    order: 2;
    display: block !important;
    width: fit-content;
    margin-top: 18px !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--ink) !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
    letter-spacing: .02em;
  }

  .hero-title {
    order: 3;
    display: block !important;
    width: fit-content;
    margin-top: 18px !important;
    padding: 8px 16px 10px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88) !important;
    color: var(--ink) !important;
    font-size: clamp(30px, 9.5vw, 42px) !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-wrap: balance;
  }

  .hero-title span {
    display: block;
  }

  h1 {
    order: 4;
    margin-top: 26px !important;
    color: var(--ink) !important;
    font-size: clamp(23px, 6.2vw, 30px) !important;
    line-height: 1.55 !important;
    letter-spacing: .01em !important;
  }

  h1 span {
    display: inline !important;
  }

  h1 span + span::before {
    content: "";
  }

  .hero-lead {
    order: 5;
    margin-top: 22px !important;
  }

  .hero-actions {
    order: 6;
  }

  .hero-facts {
    order: 7;
  }

  .mentor-recruit-note {
    order: 8;
  }

  .teachers .section-heading h2 {
    font-size: clamp(30px, 8.4vw, 38px) !important;
    line-height: 1.42 !important;
    text-wrap: balance;
  }

  .teachers .section-heading p {
    margin-top: 22px !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .mentor-recruit-action a {
    width: 100%;
    border-radius: 18px;
  }
}

.mentor-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 16px;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.mentor-video-link:hover {
  transform: translateY(-2px);
}

.tankyu-life-benefits {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 34px rgba(23, 33, 95, .08);
}

.benefits-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.benefits-head span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 16px;
  border-radius: 999px;
  background: #183a2f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.benefits-head p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.benefits-grid article {
  padding: 18px 14px;
  border-radius: 14px;
  background: rgba(231, 246, 238, .9);
  text-align: center;
}

.benefits-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Kiwi Maru", serif;
  font-size: 15px;
  line-height: 1.4;
}

.benefits-grid p {
  margin: 0;
  color: rgba(23, 33, 95, .7);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

@media (max-width: 760px) {
  .tankyu-life-benefits {
    padding: 18px;
  }

  .benefits-head {
    display: grid;
    gap: 10px;
  }

  .benefits-head span {
    width: fit-content;
  }

  .benefits-head p {
    font-size: 15px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid article {
    text-align: left;
  }
}

/* Final mobile compaction: keep the flyer mood while reducing scroll fatigue. */
.mentor-body p:last-child,
.mentor-mobile-panel p:last-child {
  font-size: 13px !important;
  line-height: 1.78 !important;
}

.mentor-text {
  margin: 0 !important;
  color: rgba(23, 33, 95, .86) !important;
  font-size: 13px !important;
  line-height: 1.78 !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  text-wrap: auto !important;
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .site-header {
    height: 70px !important;
    padding: 0 18px !important;
  }

  .brand {
    font-size: 14px !important;
  }

  .brand-mark {
    width: 42px !important;
    height: 42px !important;
  }

  .menu-trigger {
    width: 54px !important;
    height: 54px !important;
  }

  .section,
  .hero,
  .message-strip,
  .basic,
  .advance,
  .teachers,
  .details,
  .entry-section,
  .cross-section {
    padding: 46px 18px !important;
  }

  .section-heading,
  .entry,
  .mentor-heading {
    gap: 14px !important;
    margin-bottom: 26px !important;
  }

  .section-kicker {
    margin-bottom: 10px !important;
    font-size: 13px !important;
    letter-spacing: .14em !important;
  }

  h1,
  .section-heading h2,
  .mentor-heading h2,
  .entry-copy h2 {
    font-size: clamp(28px, 7.4vw, 34px) !important;
    line-height: 1.32 !important;
  }

  .hero-title {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.28 !important;
    padding: 7px 14px 9px !important;
  }

  .hero-lead,
  .section-heading p,
  .mentor-heading p:last-child,
  .entry-copy p,
  .lead {
    font-size: 13px !important;
    line-height: 1.75 !important;
  }

  .voice-strip {
    gap: 12px !important;
    margin-top: 28px !important;
  }

  .voice-strip p {
    min-height: auto !important;
    padding: 18px 16px !important;
    border-radius: 28px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .check-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .check-grid label {
    min-height: auto !important;
    padding: 13px 14px !important;
    border-radius: 18px !important;
  }

  .check-grid span {
    gap: 10px !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  .check-grid span::before,
  .check-grid label span::before {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    font-size: 12px !important;
  }

  .check-result {
    margin-top: 14px !important;
    padding: 15px !important;
    border-radius: 18px !important;
  }

  .check-result h3 {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .check-result p {
    font-size: 12.5px !important;
    line-height: 1.65 !important;
  }

  .can-grid,
  .advance-three,
  .schedule-grid,
  .entry-card-list {
    gap: 12px !important;
  }

  .can-grid article,
  .advance-three article,
  .schedule-grid article,
  .entry-card-list li,
  .flow-step {
    min-height: auto !important;
    padding: 18px 16px !important;
    border-radius: 22px !important;
  }

  .advance-three h3,
  .schedule-grid h3,
  .flow-step h3 {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }

  .advance-three p,
  .schedule-grid p,
  .flow-step p,
  .can-grid p,
  .entry-card-list p {
    font-size: 12.5px !important;
    line-height: 1.65 !important;
  }

  .flow-step span {
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 10px !important;
    font-size: 13px !important;
  }

  .flow-step::after {
    display: none !important;
  }

  .mentor-mobile-tabs {
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .mentor-mobile-tabs button {
    gap: 7px !important;
  }

  .mentor-mobile-tabs img {
    height: 106px !important;
  }

  .mentor-mobile-tabs span {
    font-size: 10.5px !important;
  }

  .mentor-mobile-panel {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .mentor-mobile-panel h3 {
    font-size: 23px !important;
    line-height: 1.35 !important;
  }

  .mentor-mobile-panel .mentor-role,
  .mentor-mobile-panel .mentor-badge {
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  .mentor-body p:last-child,
  .mentor-card p:last-child,
  .mentor-mobile-panel p:last-child,
  .mentor-text {
    font-size: 12.5px !important;
    line-height: 1.68 !important;
    letter-spacing: .01em !important;
  }

  .mentor-video-link {
    min-height: 38px !important;
    margin-top: 12px !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
  }

  .teacher-card,
  .mentor-recruit-card,
  .tankyu-life-benefits {
    border-radius: 22px !important;
  }

  .teacher-card > div:not(.teacher-placeholder),
  .mentor-body,
  .mentor-recruit-card {
    padding: 16px !important;
  }

  .teacher-card h3,
  .mentor-recruit-card h3 {
    font-size: 24px !important;
    line-height: 1.35 !important;
  }

  .teacher-card p:last-child,
  .mentor-recruit-card p,
  .mentor-recruit-card li {
    font-size: 12px !important;
    line-height: 1.65 !important;
  }

  .benefits-head p {
    font-size: 14px !important;
  }

  .benefits-grid {
    gap: 9px !important;
  }

  .benefits-grid article {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .benefits-grid h3 {
    margin-bottom: 4px !important;
    font-size: 13px !important;
  }

  .benefits-grid p {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 430px) {
  .section,
  .hero,
  .message-strip,
  .basic,
  .advance,
  .teachers,
  .details,
  .entry-section,
  .cross-section {
    padding: 40px 16px !important;
  }

  h1,
  .section-heading h2,
  .mentor-heading h2,
  .entry-copy h2 {
    font-size: clamp(25px, 7.2vw, 31px) !important;
  }

  .hero-copy {
    gap: 14px !important;
  }

  .check-grid label {
    padding: 12px 13px !important;
  }

  .can-grid article,
  .advance-three article,
  .schedule-grid article,
  .entry-card-list li,
  .flow-step {
    padding: 16px 14px !important;
  }

  .mentor-mobile-tabs img {
    height: 94px !important;
  }
}

/* Compact checklist: place the checkbox at the start of each sentence. */
.check-grid {
  align-items: stretch !important;
}

.check-grid label {
  min-height: auto !important;
  justify-content: flex-start !important;
  padding: 16px 18px !important;
  border: 2px solid rgba(23, 33, 95, .18) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .92) !important;
  color: var(--ink) !important;
  text-align: left !important;
  box-shadow: 0 10px 24px rgba(23, 33, 95, .06) !important;
}

.check-grid label:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(23, 33, 95, .32) !important;
}

.check-grid label span {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  color: inherit !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.check-grid label span::before {
  content: "" !important;
  flex: 0 0 auto !important;
  display: grid !important;
  place-items: center !important;
  width: 18px !important;
  height: 18px !important;
  margin: .12em 0 0 !important;
  border: 2px solid var(--ink) !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.check-grid input:checked + span::before {
  content: "✓" !important;
  background: var(--green) !important;
}

.check-grid label:has(input:checked) {
  background: rgba(211, 241, 145, .45) !important;
  border-color: var(--green) !important;
  color: var(--ink) !important;
}

@media (max-width: 760px) {
  .check-grid {
    gap: 8px !important;
  }

  .check-grid label {
    padding: 11px 12px !important;
    border-radius: 13px !important;
  }

  .check-grid label span {
    gap: 8px !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  .check-grid label span::before {
    width: 16px !important;
    height: 16px !important;
    margin-top: .1em !important;
    border-width: 2px !important;
    border-radius: 3px !important;
    font-size: 11px !important;
  }
}

/* Keep the checklist compact, but bring back the navy/white look. */
.check-grid label {
  border-color: rgba(23, 33, 95, .9) !important;
  background: var(--ink) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 26px rgba(23, 33, 95, .12) !important;
}

.check-grid label span::before {
  border-color: var(--green) !important;
  background: #ffffff !important;
  color: var(--ink) !important;
}

.check-grid label:hover {
  border-color: var(--green) !important;
}

.check-grid label:has(input:checked) {
  background: #ffffff !important;
  border-color: var(--green) !important;
  color: var(--ink) !important;
}

/* Denser mobile schedule cards for the advance program. */
@media (max-width: 760px) {
  .schedule {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }

  .schedule .section-heading {
    margin-bottom: 18px !important;
  }

  .schedule .section-heading h2 {
    font-size: clamp(24px, 6.4vw, 30px) !important;
    line-height: 1.3 !important;
  }

  .schedule .section-heading p {
    font-size: 12px !important;
    line-height: 1.65 !important;
  }

  .schedule-grid {
    gap: 9px !important;
  }

  .schedule-grid article {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 11px !important;
    row-gap: 3px !important;
    align-items: start !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
  }

  .schedule-grid span {
    grid-row: 1 / span 2 !important;
    min-width: 58px !important;
    padding: 5px 8px !important;
    border-radius: 999px !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  .schedule-grid h3 {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .schedule-grid p {
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 430px) {
  .schedule-grid article {
    padding: 12px !important;
  }

  .schedule-grid span {
    min-width: 54px !important;
    font-size: 9.5px !important;
  }

  .schedule-grid h3 {
    font-size: 14px !important;
  }
}

/* Match the advance flow to the compact schedule layout on mobile. */
@media (max-width: 760px) {
  .advance-flow {
    gap: 9px !important;
  }

  .flow-step {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 11px !important;
    row-gap: 3px !important;
    align-items: start !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
  }

  .flow-step span {
    grid-row: 1 / span 2 !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
  }

  .flow-step h3 {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.42 !important;
  }

  .flow-step p {
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 430px) {
  .flow-step {
    padding: 12px !important;
  }

  .flow-step span {
    width: 38px !important;
    height: 38px !important;
    font-size: 12px !important;
  }

  .flow-step h3 {
    font-size: 15px !important;
  }
}

/* Mobile hero label fix: avoid duplicated label overlap. */
@media (max-width: 760px) {
  .hero::before {
    content: none !important;
    display: none !important;
  }

  .hero-copy {
    padding-top: 34px !important;
  }

  .hero .eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100%, 360px) !important;
    min-height: 46px !important;
    margin: 0 0 22px !important;
    padding: 10px 18px !important;
    border-radius: 999px 999px 0 999px !important;
    background: var(--green) !important;
    color: var(--ink) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

@media (max-width: 430px) {
  .hero .eyebrow {
    width: 100% !important;
    min-height: 42px !important;
    margin-bottom: 18px !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    letter-spacing: .02em !important;
  }
}

/* Mobile: keep mentor photos in their original vertical proportions. */
@media (max-width: 640px) {
  .mentor-mobile-tabs img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

/* Mobile: compact the Basic DAY1-DAY3 timeline. */
@media (max-width: 760px) {
  .timeline {
    margin-top: 24px !important;
    border-top-width: 3px !important;
  }

  .day-card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 12px !important;
    align-items: start !important;
    padding: 16px 0 !important;
    border-bottom-width: 2px !important;
  }

  .day-number {
    width: 66px !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
  }

  .day-number span {
    display: block !important;
    margin: 0 0 5px !important;
    padding: 4px 6px !important;
    font-size: 8.5px !important;
    line-height: 1.25 !important;
    letter-spacing: .04em !important;
  }

  .day-card > div:last-child {
    display: block !important;
  }

  .day-theme {
    margin-bottom: 2px !important;
    font-size: 10px !important;
    letter-spacing: .14em !important;
  }

  .day-card h3 {
    margin: 0 0 5px !important;
    font-size: 16px !important;
    line-height: 1.42 !important;
  }

  .day-card p:not(.day-theme) {
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
  }

  .day-card ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  .day-card li {
    padding: 4px 7px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .74) !important;
  }
}

@media (max-width: 430px) {
  .day-card {
    gap: 10px !important;
    padding: 14px 0 !important;
  }

  .day-number {
    width: 58px !important;
    font-size: 18px !important;
  }

  .day-card h3 {
    font-size: 15px !important;
  }
}

/* Link polish for mentor banner and Cross profile card. */
.mentor-recruit-note {
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease;
}

.mentor-recruit-note:hover {
  transform: translateY(-2px);
  background: #ffffff !important;
}

.trust-grid a {
  color: inherit;
  text-decoration: none;
}

.trust-grid a small {
  display: block;
  margin-top: 7px;
  color: rgba(23, 33, 95, .62);
  font-family: "Kiwi Maru", serif;
  font-size: 12px;
  line-height: 1.45;
}

/* LINE OpenChat card near the entry form. */
.openchat-card {
  margin-top: 34px;
  padding: 28px;
  border: 2px solid rgba(23, 33, 95, .18);
  border-radius: 26px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 38px rgba(23, 33, 95, .08);
}

.openchat-label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.openchat-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.38;
}

.openchat-card p:not(.openchat-label) {
  margin: 16px 0 0;
  color: rgba(23, 33, 95, .72);
  font-size: 14px;
  line-height: 1.85;
  font-weight: 700;
}

.openchat-card a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 760px) {
  .openchat-card {
    margin-top: 24px;
    padding: 18px;
    border-radius: 20px;
  }

  .openchat-label {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .openchat-card h3 {
    font-size: 21px;
  }

  .openchat-card p:not(.openchat-label) {
    margin-top: 12px;
    font-size: 12.5px;
    line-height: 1.7;
  }

  .openchat-card a {
    margin-top: 16px;
    padding: 13px 15px;
    font-size: 13px;
  }
}

/* OpenChat CTA in the first view. */
.button-openchat {
  background: #ffffff;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 12px 24px rgba(23, 33, 95, .08);
}

.button-openchat:hover {
  transform: translateY(-2px);
  background: var(--green);
}

/* Top reassurance content slider. */
.top-contents {
  padding: 42px clamp(20px, 8vw, 140px) 72px;
  background: linear-gradient(180deg, var(--paper), var(--paper-warm));
  border-top: 1px solid rgba(23, 33, 95, .08);
}

.top-contents-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .58fr);
  gap: 36px;
  align-items: end;
  max-width: 1160px;
  margin: 0 auto 22px;
}

.top-contents-heading h2 {
  color: var(--ink);
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.42;
}

.top-contents-heading p {
  margin: 0;
  color: rgba(23, 33, 95, .72);
  font-size: 14px;
}

.content-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4px 4px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(23, 33, 95, .24) transparent;
}

.content-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 95, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 42px rgba(23, 33, 95, .08);
}

.content-card img,
.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--ink);
}

.content-card > div:not(.video-thumb) {
  padding: 18px 18px 20px;
}

.content-card span:not(.play-mark) {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(200, 237, 145, .58);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.content-card h3 {
  color: var(--ink);
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: 20px;
  line-height: 1.45;
}

.content-card p {
  margin: 8px 0 0;
  color: rgba(23, 33, 95, .72);
  font-size: 12px;
  line-height: 1.7;
  font-weight: 700;
}

.video-thumb {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 76% 20%, rgba(200, 237, 145, .38), transparent 22%),
    linear-gradient(135deg, #17215f, #263070);
}

.play-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding-left: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 28px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.content-card-video {
  transition: transform .2s ease, box-shadow .2s ease;
}

.content-card-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(23, 33, 95, .13);
}

@media (max-width: 760px) {
  .top-contents {
    padding: 28px 20px 48px;
  }

  .top-contents-heading {
    display: block;
    margin-bottom: 16px;
  }

  .top-contents-heading p {
    margin-top: 10px;
    font-size: 12.5px;
  }

  .content-slider {
    grid-auto-columns: minmax(246px, 82vw);
    gap: 12px;
    margin-inline: -4px;
  }

  .content-card {
    border-radius: 18px;
  }

  .content-card > div:not(.video-thumb) {
    padding: 14px 14px 16px;
  }

  .content-card h3 {
    font-size: 17px;
  }
}

/* Top field-report card with real workshop photos. */
.hero-report {
  position: relative;
  max-width: 900px;
  margin-top: 28px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(23, 33, 95, .14);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 45px rgba(23, 33, 95, .1);
  backdrop-filter: blur(8px);
}

.hero-story-track {
  display: flex;
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}

.hero-story-slide {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) 1fr;
  min-width: 100%;
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.hero-story-link {
  color: inherit;
  text-decoration: none;
}

.hero-story-visual {
  width: 100%;
  border-radius: 18px;
  border: 3px solid #ffffff;
  box-shadow: 0 12px 26px rgba(23, 33, 95, .12);
  overflow: hidden;
}

.hero-story-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-story-video {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 74% 22%, rgba(200, 237, 145, .42), transparent 24%),
    linear-gradient(135deg, #17215f, #263070);
}

.hero-story-video img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.hero-story-video .play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  font-size: 22px;
}

.hero-story-dots {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: flex;
  gap: 7px;
}

.hero-story-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 33, 95, .22);
  cursor: pointer;
}

.hero-story-dots button.is-active {
  width: 22px;
  background: var(--ink);
}

.hero-report-label {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-report-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Shippori Mincho", "Kiwi Maru", serif;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.38;
}

.hero-report-copy p:not(.hero-report-label) {
  margin: 12px 0 0;
  color: rgba(23, 33, 95, .76);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

.report-mobile {
  display: none;
}

.hero-report-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hero-report-copy li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(211, 241, 145, .56);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .hero-report {
    margin-top: 16px;
    border-radius: 18px;
  }

  .hero-story-slide {
    grid-template-columns: 132px 1fr;
    gap: 12px;
    padding: 10px;
    align-items: stretch;
  }

  .hero-story-visual {
    border-width: 2px;
    border-radius: 12px;
  }

  .hero-story-visual img,
  .hero-story-video {
    height: 164px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .hero-report-copy {
    min-width: 0;
  }

  .hero-report-copy h2 {
    font-size: 15.5px;
    line-height: 1.45;
  }

  .hero-report-copy p:not(.hero-report-label) {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    color: rgba(23, 33, 95, .74);
    font-size: 10.5px;
    line-height: 1.55;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .hero-report-label {
    margin-bottom: 6px;
    padding: 4px 8px;
    font-size: 8.5px;
  }

.hero-report-copy li {
    padding: 4px 7px;
    font-size: 9.5px;
  }

  .hero-report-copy ul {
    gap: 5px;
    margin-top: 8px;
  }

  .hero-story-dots {
    right: 12px;
    bottom: 9px;
    gap: 5px;
  }

  .hero-story-dots button {
    width: 6px;
    height: 6px;
  }

  .hero-story-dots button.is-active {
    width: 16px;
  }
}

/* Mobile hero order and visible action buttons. */
@media (max-width: 760px) {
  .hero h1 {
    order: 3 !important;
    margin-top: 20px !important;
  }

  .hero-title {
    order: 4 !important;
    margin-top: 14px !important;
  }

  .hero-lead {
    order: 5 !important;
  }

  .hero-actions {
    order: 6 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 22px !important;
  }

  .hero-actions .button,
  .hero-actions .button-text {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 13px 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
  }

  .hero-actions .button-primary {
    color: #ffffff !important;
    background: var(--ink) !important;
  }

  .hero-actions .button-openchat {
    color: var(--ink) !important;
    background: var(--green) !important;
    border: 2px solid var(--ink) !important;
  }

  .hero-actions .button-text {
    color: var(--ink) !important;
    background: rgba(255, 255, 255, .86) !important;
    border: 2px solid rgba(23, 33, 95, .16) !important;
  }

  .hero-facts {
    order: 7 !important;
  }

  .hero-openchat-note {
    order: 8 !important;
  }

  .hero-topic-heading {
    order: 9 !important;
  }

  .hero-report {
    order: 10 !important;
  }

  .mentor-recruit-note {
    order: 11 !important;
  }
}

/* Absolute final mobile ordering fix for Latest topics. */
@media (max-width: 760px) {
  .hero-topic-heading {
    order: 10 !important;
    display: flex !important;
    margin-top: 16px !important;
  }

  .hero-report {
    order: 11 !important;
  }

  .hero-openchat-feature {
    order: 12 !important;
  }

  .mentor-recruit-note {
    order: 13 !important;
  }
}

/* Absolute final mobile ordering fix for Latest topics. */
@media (max-width: 760px) {
  .hero-topic-heading {
    order: 10 !important;
    display: flex !important;
    margin-top: 16px !important;
  }

  .hero-report {
    order: 11 !important;
  }

  .hero-openchat-feature {
    order: 12 !important;
  }

  .mentor-recruit-note {
    order: 13 !important;
  }
}

/* OpenChat feature placed directly under the latest topics slider. */
.hero-openchat-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 900px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: rgba(211, 241, 145, .86);
  box-shadow: 0 18px 36px rgba(23, 33, 95, .1);
}

.hero-openchat-feature-label {
  display: inline-flex;
  margin: 0 0 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.hero-openchat-feature h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
}

.hero-openchat-feature p:not(.hero-openchat-feature-label) {
  margin: 6px 0 0;
  color: rgba(23, 33, 95, .78);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 800;
}

.hero-openchat-feature a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 210px;
  padding: 15px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(23, 33, 95, .18);
}

@media (max-width: 760px) {
  .hero-openchat-feature {
    order: 12 !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 12px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .hero-openchat-feature h2 {
    font-size: 16.5px !important;
  }

  .hero-openchat-feature p:not(.hero-openchat-feature-label) {
    font-size: 11.5px !important;
    line-height: 1.6 !important;
  }

  .hero-openchat-feature a {
    width: 100% !important;
    min-width: 0 !important;
    padding: 13px 15px !important;
    font-size: 12.5px !important;
  }

  .hero-topic-heading {
    order: 10 !important;
  }

  .hero-report {
    order: 11 !important;
  }

  .hero-openchat-feature {
    order: 12 !important;
  }

  .mentor-recruit-note {
    order: 13 !important;
  }
}

/* Final mobile order for the latest topics block. */
@media (max-width: 760px) {
  .hero-topic-heading {
    order: 10 !important;
  }

  .hero-report {
    order: 11 !important;
  }

  .mentor-recruit-note {
    order: 12 !important;
  }
}

/* Media intro card: thumbnail first, description underneath. */
.hero-story .hero-story-slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 16px;
}

.hero-story .hero-story-visual {
  border-radius: 18px;
  background: #c9c9c9;
}

.hero-photo-collage {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: #d1d1d1;
}

.hero-photo-collage img {
  height: 100%;
  min-height: 0;
  border-radius: 12px;
}

.hero-photo-collage img:first-child {
  grid-row: 1 / 3;
}

.hero-story .hero-story-visual img,
.hero-story .hero-story-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.hero-story .hero-story-video img {
  height: 100%;
}

.hero-story .hero-report-copy {
  padding: 0 4px 12px;
}

.hero-story .hero-report-label {
  color: #7fa376;
  background: transparent;
  padding: 0;
  font-size: 13px;
  letter-spacing: .08em;
}

.hero-story .hero-report-copy h2 {
  margin-top: 8px;
  font-size: clamp(22px, 2.4vw, 31px);
  color: #7fa376;
}

.hero-story .hero-report-copy p:not(.hero-report-label) {
  margin-top: 10px;
  color: #7fa376;
  font-size: 15px;
  line-height: 1.8;
}

.hero-story .hero-report-copy ul {
  margin-top: 10px;
}

.hero-story .hero-story-dots {
  right: 18px;
  bottom: 12px;
}

@media (max-width: 760px) {
  .hero-story .hero-story-slide {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 10px !important;
  }

  .hero-story .hero-story-visual img,
  .hero-story .hero-story-video {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  .hero-photo-collage {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 5px !important;
    padding: 5px !important;
  }

  .hero-photo-collage img {
    height: 100% !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 8px !important;
  }

  .hero-photo-collage img:first-child {
    grid-column: 1 / 3 !important;
    grid-row: auto !important;
  }

  .hero-story .hero-report-copy {
    padding: 0 2px 16px !important;
  }

  .hero-story .hero-report-label {
    margin-bottom: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
  }

  .hero-story .hero-report-copy h2 {
    margin-top: 5px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .hero-story .hero-report-copy p:not(.hero-report-label) {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .hero-story .hero-report-copy ul {
    display: none !important;
  }

  .hero-story .play-mark {
    width: 44px !important;
    height: 44px !important;
    font-size: 17px !important;
  }

  .hero-story .hero-story-dots {
    right: 12px !important;
    bottom: 8px !important;
  }
}

/* Keep the Himeji High School report visible in the first mobile view. */
@media (max-width: 760px) {
  .hero {
    min-height: auto !important;
    padding-top: 88px !important;
    padding-bottom: 34px !important;
  }

  .hero-copy {
    display: flex !important;
    flex-direction: column !important;
  }

  .eyebrow {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
  }

  .program-label {
    margin-top: 8px !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    font-size: clamp(23px, 6.6vw, 28px) !important;
    line-height: 1.42 !important;
  }

  .hero h1 > span {
    display: block !important;
    white-space: nowrap !important;
  }

  .hero h1 .mobile-copy-line {
    display: inline !important;
    white-space: inherit !important;
  }

  .hero-title {
    margin-top: 9px !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .hero-report {
    order: 11 !important;
    margin-top: 12px !important;
    border-radius: 16px !important;
  }

  .hero-story-slide {
    grid-template-columns: 104px 1fr !important;
    gap: 10px !important;
    padding: 9px !important;
  }

  .hero-story-visual img,
  .hero-story-video {
    height: 128px !important;
  }

  .hero-report-label {
    margin-bottom: 4px !important;
    padding: 3px 7px !important;
    font-size: 7.5px !important;
  }

  .hero-report-copy h2 {
    font-size: 13.5px !important;
    line-height: 1.42 !important;
  }

  .hero-report-copy p:not(.hero-report-label) {
    display: block !important;
    margin-top: 5px !important;
    overflow: visible !important;
    font-size: 9.5px !important;
    line-height: 1.48 !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }

  .report-desktop {
    display: none !important;
  }

  .report-mobile {
    display: inline !important;
  }

  .hero-report-copy ul {
    margin-top: 6px !important;
  }

  .hero-report-copy li {
    padding: 3px 6px !important;
    font-size: 8.5px !important;
  }

  .hero-lead {
    order: 6 !important;
    display: block !important;
    margin-top: 12px !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
  }

  .lead-desktop {
    display: none !important;
  }

  .lead-mobile {
    display: inline !important;
  }

  .hero-actions {
    order: 7 !important;
    margin-top: 14px !important;
  }

  .hero-openchat-note {
    order: 8 !important;
    margin-top: 10px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }

  .hero-openchat-note strong {
    font-size: 11px !important;
  }

  .hero-openchat-note p {
    margin-top: 4px !important;
    font-size: 10.5px !important;
    line-height: 1.55 !important;
  }

  .hero-topic-heading {
    order: 10 !important;
    gap: 9px !important;
    margin-top: 16px !important;
  }

  .hero-topic-heading p {
    font-size: 8.5px !important;
  }

  .hero-topic-heading h2 {
    font-size: 18px !important;
  }

  .hero-facts {
    order: 13 !important;
    margin-top: 12px !important;
  }

  .mentor-recruit-note {
    order: 14 !important;
  }
}
