:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --blue: #315c73;
  --deep-blue: #203e58;
  --navy: #203e58;
  --text: #18334a;
  --muted: #5c6e78;
  --line: #d4e2e3;
  --ocean-gradient: linear-gradient(135deg, #203e58 0%, #2c596e 54%, #428090 100%);
  --ocean-button: linear-gradient(135deg, #203e58 0%, #347488 100%);
  --brand-panel: linear-gradient(125deg, #203e58 0%, #27566b 64%, #34788b 100%);
  --accent: #f1c76b;
  --british-red: #bc1f31;
  --brand-cta-gradient: linear-gradient(120deg, rgba(188,31,49,.8) 0%, rgba(169,28,44,.8) 55%, rgba(143,26,42,.8) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

.menu-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  padding: 9px 20px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: min(330px, calc(100% - 64px));
  height: 2.916rem;
  margin-right: auto;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand:focus-visible,
.footer-brand a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  background: var(--surface);
}

.menu {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 16px;
}

.menu a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--deep-blue);
  font-weight: 700;
  font-size: 0.94rem;
}

.menu a:hover, .menu a.is-active {
  background: #eaf0f3;
  color: var(--deep-blue);
}

.menu a.menu-home {
  padding-inline: 4px 10px;
  color: #55727d;
  font-size: .94rem;
  letter-spacing: .04em;
}

.menu a.menu-home:hover,
.menu a.menu-home:focus-visible {
  background: transparent;
  color: var(--deep-blue);
}

@media (min-width: 1201px) {
 .menu a:last-child {
  background: linear-gradient(120deg, #a51b2b 0%, #8f1a2a 100%);
  color: #fff;
  border: 1px solid rgba(188,31,49,.16);
  padding-inline: 18px;
}

.menu a:last-child:hover,
.menu a:last-child:focus-visible {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
  color: #fff;
}
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
  background: var(--ocean-button);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.hero {
  position: relative;
  height: 640px;
  min-height: 640px;
  color: #fff;
  background: var(--deep-blue);
  border-bottom: 5px solid var(--accent);
  overflow: hidden;
}

/* Edgeは表示領域が縦に広くなりやすいため、FV下端の見え方だけ補正 */
.is-edge .hero {
  height: 652px;
  min-height: 652px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  background: url('../images/hero-classroom-v3.webp') 58% center / cover no-repeat;
  transform: scale(1.055);
  animation: hero-photo-in 1.8s cubic-bezier(.2,.72,.25,1) forwards,
             hero-photo-drift 16s 1.8s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32,62,88,.97) 0%, rgba(32,62,88,.91) 30%, rgba(44,89,110,.55) 45%, rgba(66,128,144,.12) 59%, transparent 72%),
    linear-gradient(180deg, rgba(0,31,52,.08) 0%, transparent 58%, rgba(0,46,70,.26) 100%);
  pointer-events: none;
}

@keyframes hero-photo-in {
  from { transform: scale(1.055); filter: saturate(.82) brightness(.88); }
  to { transform: scale(1); filter: saturate(1) brightness(1); }
}

@keyframes hero-photo-drift {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 20px 20px 34px;
}

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

@media (min-width: 901px) {
  .teachers-page .subhero-title-line { display: inline; }

  .hero-copy {
    margin-left: max(-3em, min(0px, calc(636px - 50vw)));
    margin-top: 1.5em;
  }

  .hero-support {
    position: absolute;
    left: calc(20px + max(-3em, min(0px, calc(636px - 50vw))));
    bottom: 36px;
    margin-top: 0;
  }
}

.hero-copy > *,
.hero-support {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-copy-in .72s cubic-bezier(.22,.7,.24,1) forwards;
}

.hero-eyebrow { animation-delay: .16s; }
.hero h1 { animation-delay: .28s; }
.hero-lead { animation-delay: .40s; }
.hero-actions { animation-delay: .52s; }
.hero-support { animation-delay: .64s; }

@keyframes hero-copy-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 18px !important;
  padding: 6px 12px;
  border-left: 4px solid var(--accent);
  color: #fff !important;
  background: rgba(255,255,255,.10);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero h1 {
  margin: 0 0 20px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1.28;
  letter-spacing: .04em;
  text-shadow: 0 3px 18px rgba(0,0,0,.35);
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.section-title-line,
.subhero-title-line {
  display: block;
  white-space: nowrap;
}

.subhero-connector-sp { display: none; }

.hero-title-join {
  display: inline-block;
  margin-left: -.16em;
}

.hero h1 .hero-title-accent {
  color: var(--accent);
}

@media (min-width: 901px) {
  .hero-tight-word {
    letter-spacing: -.06em;
    margin-right: .06em;
  }

  .hero-tight-pair {
    letter-spacing: -.12em;
    margin-right: .12em;
  }

  .hero-tight-no {
    display: inline-block;
    margin-left: -.12em;
  }
}

.hero p {
  margin: 0 0 18px;
  color: #fff;
}

.hero-lead {
  max-width: 650px;
  font-size: 1.04rem;
  line-height: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.hero-lead-row {
  display: block;
  white-space: nowrap;
}

.hero-lead-phrase {
  display: inline;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; width: 510px; max-width: 100%; margin-top: 50px; }

.hero-action-button { gap: 0; }
.hero-action-button span { display: inline; white-space: nowrap; }

.hero .btn { flex: 1 1 0; min-width: 0; padding: 15px 24px; }
.hero .btn-primary { border: 1px solid rgba(255,255,255,.32); background: var(--brand-cta-gradient); box-shadow: 0 4px 14px rgba(143,26,42,.12); }
.hero .btn-primary:hover,
.hero .btn-primary:focus-visible { background: #fff; border-color: #fff; color: var(--british-red); box-shadow: 0 12px 28px rgba(0,44,67,.24); }
.hero .btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.32); background: rgba(4,65,94,.78); box-shadow: 0 4px 14px rgba(0,44,67,.10); }
.hero .btn-outline:hover,
.hero .btn-outline:focus-visible { color: #075b7b; border-color: #fff; background: #fff; box-shadow: 0 12px 28px rgba(0,44,67,.24); }

.hero-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.hero-visual {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 0;
  box-shadow: 0 22px 50px rgba(35, 72, 128, .16);
}

.hero-visual .photo {
  border: 0;
  border-radius: 18px;
}

.hero-photo {
  aspect-ratio: 16/10;
  object-position: 64% center;
}

.temp-photo-label {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(17, 42, 76, .76);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  border: 1px solid var(--line);
}

.hero-highlight {
  margin: -1px 16px 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff6d9;
  color: #5f4821;
  border: 1px solid #ffe9a3;
  font-weight: 700;
  text-align: center;
}

.course-photo-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(38, 74, 126, .08);
}

.course-photo-wrap {
  position: relative;
}

.course-photo {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.course-photo-body {
  padding: 18px 20px 22px;
}

.course-photo-body h3 {
  margin: 2px 0 6px;
  color: var(--deep-blue);
}

.course-photo-body p {
  margin: 0;
}

.course-kicker {
  color: var(--blue) !important;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.hero-support {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
}

.hero-proof {
  position: relative;
  flex: 0 0 510px;
  min-height: 126px;
  padding: 12px 28px 13px 32px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-areas: "label main" "note note";
  align-items: center;
  overflow: hidden;
  border-radius: 4px 30px 4px 30px;
  background: linear-gradient(120deg, rgba(32,62,88,.78), rgba(52,120,139,.42));
  border: 1px solid rgba(255,255,255,.46);
  box-shadow: 0 22px 50px rgba(0,33,52,.32), inset 0 1px 0 rgba(255,255,255,.3);
  text-align: left;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.hero-proof::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
}

.hero-proof::after { content: none; }

.hero-proof p { margin: 0; font-size: .78rem; line-height: 1.45; }
.hero-proof-label {
  grid-area: label;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin-right: 16px !important;
  padding-right: 16px;
  border-right: 1px solid rgba(241,199,107,.52);
  color: var(--accent) !important;
  font: 700 .72rem/1.45 Georgia, serif !important;
  letter-spacing: .18em;
}
.hero-proof-main {
  grid-area: main;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 3px;
}
.hero-proof-main p { min-width: 0; text-align: left; }
.hero-proof-main p > span,
.hero-proof-main p b { display: block; }
.hero-proof-main p > span { font-size: .7rem; font-weight: 700; }
.hero-proof-main p b { color: #fff; font-size: .82rem; line-height: 1.4; white-space: nowrap; }
.hero-proof-phrase { display: inline-block; white-space: nowrap; }
.hero-proof strong { display: inline-flex; flex: 0 0 auto; align-items: baseline; white-space: nowrap; margin: 0; color: var(--accent); font-size: 2.9rem; line-height: 1; }
.hero-proof strong span { font-size: 1.1rem; }
.hero-proof .hero-proof-note {
  grid-area: note;
  margin: 7px auto 0;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-proof-note-line {
  display: inline;
  white-space: nowrap;
}

.hero-proof-note-line + .hero-proof-note-line::before { content: "　"; }

@media (min-width: 901px) {
  .hero-proof strong { column-gap: .08em; letter-spacing: .02em; }
  .hero-proof strong span { letter-spacing: 0; }
  .hero-proof .hero-proof-note {
    font-size: 1.05rem;
  }
}

.hero-photo-note {
  position: absolute;
  right: 12px;
  bottom: 3px;
  z-index: 3;
  margin: 0 !important;
  color: rgba(255,255,255,.76) !important;
  font-size: .7rem;
}

.subpage .hero {
  height: auto;
  min-height: 300px;
  background: var(--blue);
}

.subpage .hero::before {
  width: 100%;
  background:
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.18), transparent 30%),
    var(--ocean-gradient);
}

.subpage .hero::after {
  background: linear-gradient(90deg, rgba(32,62,88,.58), rgba(66,128,144,.12));
}

.subpage .hero-inner {
  height: auto;
  min-height: 300px;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.subpage .hero-inner > div:first-child {
  max-width: 820px;
}

.subpage .hero h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.35;
}

.contact-page .hero {
  min-height: 300px;
}

.contact-page .hero-inner {
  min-height: 300px;
  grid-template-columns: minmax(0, 860px);
  justify-content: start;
  padding-block: 44px;
  text-align: left;
}

.contact-page .trust-badges {
  justify-content: flex-start;
}

.subhero-title-line {
  display: block;
  white-space: nowrap;
}

.photo-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border: 1px solid rgba(43, 94, 203, .18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(225,235,249,.92)),
    #e8eff9;
}

.hero-visual .photo-slot {
  border: 0;
  border-radius: 18px;
}

.teacher-photo.photo-slot {
  min-height: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #eef3fa, #dce7f4);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 12px;
}

.section h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
}

.section-kicker {
  margin: 0 0 4px !important;
  color: var(--british-red) !important;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.section p {
  color: var(--muted);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
}

.reason-card {
  position: relative;
  min-height: 190px;
  padding: 28px 24px 24px;
  overflow: hidden;
  border-radius: 2px;
  border-width: 1px 0 0;
  border-top-color: rgba(0,101,143,.28);
  box-shadow: none;
}

.reason-card::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 0;
  width: 52px;
  height: 3px;
  background: var(--british-red);
}

.reason-number {
  display: block;
  margin-bottom: 24px;
  color: rgba(0,101,143,.4);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
}

.reason-card h3 {
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.18rem;
}

/* features-12を教室向けに調整したアーチ写真セクション */
.zs-features12 {
  position: relative;
  padding: 0 0 112px;
  overflow: hidden;
  background: #f5f8f7;
}

.zs-features12::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 500px;
  background: var(--brand-panel);
}

.zf12-ghost {
  position: absolute;
  top: 32px;
  left: -.03em;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(82px, 15vw, 205px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.025em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255,255,255,.13);
  pointer-events: none;
}

.zf12-wrap {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.zf12-head {
  max-width: 1060px;
  margin-inline: auto;
  padding: 88px 0 58px;
  color: #fff;
  text-align: center;
}

.zf12-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #ad7a18;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .23em;
}

.zf12-eyebrow::before,
.zf12-eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.zf12-title {
  margin: 16px 0 0;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  line-height: 1.35;
}

.zf12-title span { display: block; }

.zf12-lead {
  max-width: none;
  margin: 18px auto 0;
  color: rgba(255,255,255,.8);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(.86rem, 1.22vw, .98rem);
  white-space: nowrap;
}

.course-showcase {
  position: relative;
  max-width: none;
  overflow: hidden;
  padding: clamp(72px, 8vw, 110px) max(20px, calc((100vw - 1120px) / 2)) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(241,199,107,.18), transparent 26%),
    linear-gradient(155deg, #f6faf9 0%, #fff 52%, #edf6f6 100%);
}

.course-showcase::before {
  content: "COURSES";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(92px, 15vw, 210px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(5,82,118,.08);
  pointer-events: none;
}

.course-showcase-head { position: relative; max-width: 1120px; margin: 0 auto 54px; text-align: center; }
.course-showcase-head .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ad7a18;
  letter-spacing: .24em;
}
.course-showcase-head .section-kicker::before,
.course-showcase-head .section-kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}
.course-showcase-head h2 {
  position: relative;
  padding-bottom: 24px;
  margin: 10px 0 16px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.45;
  white-space: nowrap;
}
.course-showcase-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(190px, 34vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, #007f9f 24%, #005276 50%, #007f9f 76%, transparent 100%);
}
.course-showcase-head > p:last-child {
  max-width: 1120px;
  margin: 0 auto;
  line-height: 2;
  text-align: center;
}

.access-page .hero p { white-space: nowrap; }
.course-showcase .course-photo-grid { position: relative; gap: clamp(30px, 5vw, 68px); align-items: stretch; }
.course-showcase .course-photo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.course-showcase .course-photo-card-adult { margin-top: 0; }
.course-showcase .course-photo-wrap {
  overflow: hidden;
  border-radius: 2px 58px 2px 2px;
  box-shadow: 0 28px 62px rgba(7,65,91,.16);
}
.course-showcase .course-photo { aspect-ratio: 4 / 3; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.course-showcase .course-photo-card:hover .course-photo { transform: scale(1.035); }
.course-showcase .course-photo-body {
  position: relative;
  z-index: 2;
  width: calc(100% - 38px);
  margin: -48px 0 0 38px;
  padding: 28px 30px 32px;
  border-top: 3px solid var(--accent);
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 42px rgba(7,65,91,.12);
  backdrop-filter: blur(8px);
  flex: 1;
}
.course-showcase .course-photo-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 66px;
  height: 3px;
  background: var(--accent);
}
.course-showcase .course-photo-body h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}
.course-showcase-action {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  margin-top: 48px;
  padding: 32px 38px;
  overflow: hidden;
  border: 0;
  background: #087b98;
  color: #fff;
  text-align: left;
}
.course-showcase-action-copy,
.course-showcase-action .btn { position: relative; z-index: 1; }
.course-action-eyebrow {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.course-action-title {
  margin: 0;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.6;
}
.course-action-text { margin: 8px 0 0; color: rgba(255,255,255,.74); font-size: .86rem; }
.course-showcase-action .btn {
  min-width: 285px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #073f5e;
  box-shadow: none;
}
.course-showcase-action .btn:hover,
.course-showcase-action .btn:focus-visible { background: transparent; color: #fff; border-color: #fff; }

.zf12-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.zf12-card { position: relative; min-width: 0; }
.zf12-card:nth-child(2) { margin-top: 64px; }
.zf12-card:nth-child(3) { margin-top: 22px; }

.zf12-arch {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 3.75;
  border-radius: 999px 999px 5px 5px;
  background: #dbe7e8;
  box-shadow: 0 30px 62px -38px rgba(11,49,70,.58);
}

.zf12-arch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zf12-card:nth-child(1) img { object-position: 48% center; }
.zf12-card:nth-child(2) img { object-position: 56% center; }
.zf12-card:nth-child(3) img {
  object-position: 50% 42%;
  transform: translateY(-3%) scale(1.12);
}

.zf12-bignum {
  position: absolute;
  top: -32px;
  right: -7px;
  z-index: 2;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 8vw, 106px);
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 2px var(--accent);
  pointer-events: none;
}

.zf12-body { padding: 24px 5px 0; }
.zf12-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 13px;
  border: 1px solid var(--deep-blue);
  border-radius: 999px;
  color: var(--deep-blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.zf12-body h3 {
  margin: 0 0 9px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.zf12-body p { margin: 0; color: var(--muted); font-size: .9rem; }

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(430px, .8fr);
  align-items: center;
  gap: 54px;
  margin-top: 60px;
  padding: clamp(42px, 6vw, 68px);
  overflow: hidden;
  border-radius: 2px;
  background: var(--brand-panel);
  color: #fff;
  box-shadow: 0 24px 55px rgba(5,59,88,.18);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(241,199,107,.34);
  pointer-events: none;
}

.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { margin: 8px 0 18px; color: #fff; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; line-height: 1.55; }
.final-cta p { margin: 4px 0 0; color: rgba(255,255,255,.84); }
.final-cta .section-kicker { color: var(--accent) !important; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }

.final-cta-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: center;
}

.final-cta-actions .btn {
  width: min(100%, 340px);
  min-height: 58px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(2,39,61,.16), inset 0 1px 0 rgba(255,255,255,.2);
}

.final-cta-primary {
  min-height: 54px;
  background: var(--brand-cta-gradient);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}

.final-cta-primary:hover,
.final-cta-primary:focus-visible { background: #fff; color: var(--british-red); border-color: #fff; }

.final-cta-course {
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.34);
  background: var(--ocean-button);
  color: #fff;
}

.final-cta-course:hover,
.final-cta-course:focus-visible { background: #fff; color: var(--deep-blue); border-color: #fff; }

.final-cta-secondary {
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.78);
  background: transparent;
  color: #fff;
}

.final-cta-secondary:hover,
.final-cta-secondary:focus-visible { background: #fff; color: var(--deep-blue); }

.panel-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.panel-list li {
  background: #fff;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.instagram-section {
  padding-top: 42px;
  padding-bottom: 8px;
}

.instagram-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.instagram-heading h2,
.instagram-heading p {
  margin: 0;
}

.instagram-heading-action {
  display: flex;
  align-items: center;
  gap: 14px;
}

.instagram-profile-link {
  flex: 0 0 auto;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--deep-blue);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
}

.instagram-kicker {
  color: var(--british-red) !important;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.instagram-embed-shell {
  position: relative;
  height: min(850px, calc(66.7vw + 83px));
  overflow: hidden;
  border: 1px solid #d8e3f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(38, 74, 126, .09);
}

.instagram-profile-embed {
  width: 142.857%;
  height: 142.857%;
  border: 0;
  transform: scale(.7);
  transform-origin: top left;
  background: #fff;
}

.pricing-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.price-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #fbfcfc);
  box-shadow: 0 14px 34px rgba(20, 55, 78, .06);
}

.price-box h3 {
  margin: 0 0 8px;
}

.price-list { margin: 0; padding: 0; list-style: none; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f1;
}

.price-tag {
  margin: 14px 0 0;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 800;
}

.fee-notes {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--british-red);
  background: rgba(255,255,255,.82);
}

.fee-notes p { margin: 3px 0; }

/* Courses page: pricing-11 + features-11 adapted without motion */
.courses-page .hero::before {
  animation: none;
  transform: none;
}

.courses-page .site-footer { margin-top: 0; }

.course-pricing,
.course-style,
.course-materials {
  position: relative;
  overflow: hidden;
  padding: 84px 20px 90px;
}

.course-pricing {
  padding-top: 48px;
  background:
    radial-gradient(760px 320px at 50% -10%, rgba(232, 190, 91, .10), transparent 72%),
    #f6f8f8;
}

.course-style { background: #fff; }

.course-materials {
  padding-bottom: 76px;
  background: #f4f7f8;
}

.course-pricing__inner,
.course-style__inner,
.course-materials__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.course-pricing__inner { width: min(860px, 100%); }

.course-section-heading {
  max-width: 720px;
  margin: 0 0 38px;
  text-align: left;
}

.course-section-heading h2 {
  margin: 12px 0 14px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .025em;
  word-break: auto-phrase;
}

.course-section-heading > p:last-child {
  max-width: none;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  white-space: nowrap;
}

.course-style .course-section-heading h2 {
  white-space: nowrap;
}

.course-price-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-price-group {
  min-width: 0;
  margin: 0;
  padding: 28px 28px 25px;
  border: 1px solid rgba(13, 72, 102, .15);
  border-radius: 16px 3px 16px 3px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 45px -38px rgba(8, 62, 86, .65);
}

.course-price-group h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.course-price-group h3 > span {
  width: 20px;
  height: 1px;
  flex: 0 0 auto;
  background: #d5a73f;
}

.course-price-group h3 small {
  color: var(--muted);
  font-family: inherit;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.course-price-group h3 i {
  height: 1px;
  flex: 1;
  background: rgba(13, 72, 102, .16);
}

.course-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 2px 13px;
  border-bottom: 1px solid rgba(13, 72, 102, .09);
}

.course-price-row b { color: #263f51; font-size: .96rem; }

.course-price-row > span {
  min-width: 24px;
  height: 1em;
  flex: 1;
  border-bottom: 2px dotted rgba(13, 72, 102, .24);
}

.course-price-row strong {
  color: var(--deep-blue);
  font-size: 1.12rem;
  white-space: nowrap;
}

.course-price-group > p {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.8;
}

.course-extra-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
}

.course-extra-grid > section {
  padding: 24px;
  border: 1px solid rgba(13, 72, 102, .13);
  background: #f7fafb;
}

.course-extra-label {
  margin: 0 0 4px !important;
  color: var(--british-red) !important;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.course-extra-grid h3 {
  margin: 0 0 14px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
}

.course-extra-row,
.course-spot-row {
  padding: 9px 0;
  border-top: 1px solid rgba(13, 72, 102, .09);
  color: #405566;
  font-size: .86rem;
}

.course-extra-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.course-extra-row strong { color: var(--deep-blue); white-space: nowrap; }

.course-spot-row {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  gap: 8px;
}

.course-spot-row b { color: var(--deep-blue); }

.course-style__inner { width: min(1080px, 100%); }

.course-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(13, 72, 102, .18);
}

.course-style-grid article {
  position: relative;
  min-width: 0;
  padding: 36px 34px 12px;
}

.course-style-grid article + article { border-left: 1px solid rgba(13, 72, 102, .15); }

.course-style-grid article::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d5a73f;
}

.course-style-num {
  margin: 0 !important;
  color: var(--deep-blue) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 2.35rem;
  line-height: 1;
}

.course-style-num span {
  margin-left: 8px;
  color: #b8871d;
  font-family: Arial, sans-serif;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.course-style-grid h3 {
  margin: 24px 0 12px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.22rem;
  line-height: 1.65;
}

.course-style-grid article > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.9;
}

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

.course-material-grid article {
  padding: 30px 28px;
  border: 1px solid rgba(13, 72, 102, .13);
  border-radius: 16px 2px 16px 2px;
  background: rgba(255,255,255,.86);
}

.course-material-age {
  margin: 0 0 6px !important;
  color: var(--british-red) !important;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.course-material-grid h3 {
  margin: 0 0 14px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.35rem;
}

.course-material-grid article > p:not(.course-material-age) {
  min-height: 3.8em;
  margin: 0 0 16px;
  color: #263f51;
  font-weight: 700;
  line-height: 1.85;
}

.course-material-grid small {
  display: block;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.85;
}

.course-page-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 38px;
  padding: 28px 32px;
  border-top: 1px solid rgba(13, 72, 102, .18);
  border-bottom: 1px solid rgba(13, 72, 102, .18);
}

.course-page-cta p { margin: 0; line-height: 1.8; }
.course-page-cta strong { color: var(--deep-blue); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.15rem; }

.course-page-cta .btn.primary {
  min-width: 270px;
  border: 1px solid rgba(255,255,255,.34);
  background: var(--ocean-button);
  color: #fff;
  box-shadow: 0 14px 28px -20px rgba(0, 64, 94, .72), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.course-page-cta .btn.primary:hover {
  border-color: rgba(255,255,255,.78);
  background: linear-gradient(118deg, #428090 0%, #315c73 42%, #203e58 100%);
  box-shadow: 0 18px 34px -16px rgba(0, 74, 105, .82), inset 0 1px 0 rgba(255,255,255,.34);
  transform: translateY(-3px);
}

.course-page-cta .btn.primary span {
  display: inline-block;
  transition: transform .22s ease;
}

.course-page-cta .btn.primary:hover span {
  transform: translateX(5px);
}

.faq-page .hero,
.faq-page .hero-inner {
  min-height: 300px;
}

.faq-page .hero::before {
  animation: none;
  transform: none;
}

.note {
  margin-top: 12px;
  padding: 12px;
  border-left: 4px solid var(--blue);
  background: #e8fafb;
  border-radius: 8px;
}

.course-link-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: #2a3e61;
  display: block;
}

.guide-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--deep-blue);
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-accordion {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #1f396f;
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  float: right;
  color: var(--blue);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* FAQ page: section-catalog sec-faq-02 adapted to the shared design system */
.faq-page .c-faq02 {
  padding-block: 48px 72px;
}

.c-faq02__head {
  width: fit-content;
  max-width: 100%;
}

.c-faq02__head h2 {
  margin: 14px 0 3px;
  color: var(--deep-blue);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: .02em;
}

.c-faq02__underline {
  display: block;
  width: 100%;
  height: 9px;
  overflow: visible;
}

.c-faq02__underline path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.05s cubic-bezier(.22,1,.36,1);
}

.c-faq02__head.is-drawn .c-faq02__underline path { stroke-dashoffset: 0; }

.c-faq02__lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
}

.c-faq02__lead a {
  color: var(--deep-blue);
  font-weight: 700;
  text-decoration-color: rgba(0, 113, 151, .36);
  text-underline-offset: .22em;
}

.c-faq02__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 58px;
  row-gap: 42px;
  margin-top: 54px;
}

.c-faq02__item {
  min-width: 0;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(18, 79, 115, .18);
}

.c-faq02__item--wide {
  grid-column: 1 / -1;
  width: calc(50% - 29px);
  margin-inline: auto;
}

.c-faq02__question {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.c-faq02__question > span {
  flex: 0 0 auto;
  color: var(--red);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 1.95rem;
  line-height: 1;
}

.c-faq02__question h3 {
  margin: 1px 0 0;
  color: var(--deep-blue);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  line-height: 1.65;
  word-break: auto-phrase;
}

.c-faq02__item > p {
  margin: 14px 0 0 47px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.9;
  word-break: auto-phrase;
}

.faq-page .site-footer { margin-top: 0; }

.step-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  list-style: decimal;
  color: #28406d;
}

.step-list li {
  padding: 0 0 0 14px;
}

.trust-point {
  background: #edfbfc;
  border: 1px solid #cceff1;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  padding: 14px 16px;
}

.trust-point ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--muted); }
.trust-point li { margin: 8px 0; }

.teacher-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.qualification-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--british-red);
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 55, 78, .06);
}

.qualification-card h3 { margin: 4px 0 12px; }

.credential-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.credential-list li { margin: 7px 0; }

.teacher-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  overflow: hidden;
}

.teacher-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
}

.teacher-body {
  padding: 16px 16px 16px 0;
}

.teacher-body h3 { margin: 2px 0 8px; }
.teacher-body p { margin: 0 0 10px; }

.teacher-message-section {
  padding-top: 44px;
  padding-bottom: 0;
}

.teacher-message-section > .section-kicker {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.teacher-message-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) auto 320px;
  gap: clamp(30px, 3vw, 46px);
  align-items: center;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.teacher-message-body p {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 2.12;
  margin: 0 0 1.35em;
  max-width: 31em;
}

.teacher-message-body .teacher-message-role {
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  color: var(--british-red);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  margin-bottom: 10px;
}

.teacher-message-body h3 {
  position: relative;
  display: flex;
  align-items: center;
  gap: .38em;
  margin: 0 0 22px;
  padding-bottom: 18px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .025em;
}

.teacher-message-icon {
  flex: 0 0 auto;
  width: .9em;
  height: .9em;
  object-fit: contain;
}

.teacher-message-body h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #087ca0 0%, #d6a83f 36%, rgba(214,168,63,.28) 68%, transparent 100%);
}

h2.teacher-message-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: clamp(2.6rem, 3vw, 2.775rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .08em;
  color: var(--text);
  transform: translateY(12px);
}

.teacher-message-portrait {
  margin: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(5, 74, 105, .14);
  box-shadow: 0 18px 44px rgba(8, 63, 88, .12);
}

.teacher-message-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.subhero-lead {
  max-width: none;
  margin-top: 18px;
  white-space: nowrap;
}

.teacher-message-portrait > span {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 88px;
  height: 88px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

.teacher-qualifications {
  max-width: 920px;
  margin: 44px auto 0;
  position: relative;
  overflow: hidden;
  padding: 34px 38px 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px 4px 24px 4px;
  background: var(--brand-panel);
  color: #fff;
  box-shadow: 0 20px 48px rgba(7, 86, 118, .18);
}

.teacher-qualifications::before,
.teacher-qualifications::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.teacher-qualifications::before {
  display: none;
}

.teacher-qualifications::after {
  display: none;
}

.qualification-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, .78fr) 1.22fr;
  gap: 42px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.qualification-heading h3 {
  margin-bottom: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
}

.qualification-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.9;
}

.qualification-groups {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 18px;
  margin-top: 22px;
}

.qualification-group {
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-left: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .085);
}

.qualification-group:last-child {
  border-left-color: rgba(255,255,255,.14);
}

.qualification-group-label {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .9) !important;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.qualification-group h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.05rem;
}

.teacher-qualifications .credential-list {
  list-style: none;
  padding: 0;
  color: rgba(255, 255, 255, .8);
}

.teacher-qualifications .credential-list li {
  position: relative;
  padding-left: 1.05em;
  line-height: 1.7;
}

.teacher-qualifications .credential-list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffd16d;
}

.teacher-qualifications .section-kicker {
  color: #ffd16d !important;
}

.teacher-qualifications .qualification-heading h3 {
  color: #fff;
}

.access-main {
  background: linear-gradient(180deg, #f6f9f9 0%, #fff 36%, #fff 100%);
}

.access-overview {
  padding-top: 44px;
  padding-bottom: 28px;
}

.access-heading {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) 1.1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 24px;
}

.access-heading h2 {
  margin: 12px 0 0;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .025em;
}

.access-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.access-overview .access-heading {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.access-route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.access-route-card {
  position: relative;
  min-height: 310px;
  padding: 28px 30px;
  overflow: hidden;
  border: 1px solid rgba(8, 67, 96, .13);
  border-radius: 3px 26px 3px 26px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(13, 62, 84, .07);
}

.access-route-card::after {
  content: "BY TRAIN";
  position: absolute;
  right: 20px;
  bottom: -14px;
  color: rgba(8, 127, 162, .065);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
  transform: none;
}

.access-route-bus::after {
  content: "BY BUS";
  right: 24px;
  bottom: -14px;
  color: rgba(169, 52, 65, .06);
  transform: none;
}

.access-route-number {
  position: absolute;
  top: 22px;
  right: 28px;
  margin: 0;
  color: rgba(8, 67, 96, .12);
  font-family: Georgia, serif;
  font-size: 3.9rem;
  line-height: 1;
}

.access-route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 28px;
  margin-bottom: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--navy, #093b58);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.access-route-bus .access-route-icon {
  background: var(--british-red);
}

.access-route-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .86rem;
}

.access-route-card h3 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.access-route-time {
  margin: 9px 0 20px;
  color: var(--accent);
}

.access-route-time strong {
  font-size: 1.25rem;
}

.access-route-card > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 30em;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.access-private-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(8, 67, 96, .12);
  border-left: 4px solid #e9bd58;
  background: rgba(255, 255, 255, .82);
}

.access-private-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(8,67,96,.2);
  border-radius: 50%;
  color: var(--accent);
  font-family: Georgia, serif;
  font-style: italic;
}

.access-private-note h3 {
  margin: 0 0 7px;
  font-size: 1.05rem;
}

.access-private-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.access-steps-section {
  padding: 12px 20px 36px;
  background: #fff;
  color: #fff;
}

.access-steps-inner {
  position: relative;
  max-width: 920px;
  overflow: hidden;
  padding: 34px 38px 38px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px 4px 24px 4px;
  background: var(--brand-panel);
  box-shadow: 0 20px 48px rgba(7,86,118,.18);
}

.access-steps-inner::before {
  display: none;
}

.access-steps-inner::after {
  display: none;
}

.access-heading-light {
  position: relative;
  z-index: 1;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.access-heading-light h2,
.access-heading-light > p {
  color: #fff;
}

.access-heading-light h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  line-height: 1.45;
}

.access-heading-light > p {
  color: rgba(255,255,255,.78);
}

.access-heading-light .section-kicker {
  color: #ffd16d !important;
}

.access-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 28px 0 32px;
  list-style: none;
}

.access-steps li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.085);
}

.access-steps li:first-child { padding-left: 20px; }
.access-steps li:last-child { padding-right: 20px; border-right: 1px solid rgba(255,255,255,.14); }

.access-steps li > span {
  display: block;
  width: fit-content;
  height: auto;
  padding-bottom: 7px;
  border: 0;
  border-bottom: 1px solid rgba(255,209,109,.7);
  border-radius: 0;
  color: #ffd16d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.access-steps h3 {
  margin: 4px 0 8px;
  font-size: 1rem;
}

.access-steps p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: .9rem;
  line-height: 1.8;
}

.access-private-note-inbox {
  position: relative;
  z-index: 1;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  margin: 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.24);
  background: transparent;
  color: #fff;
}

.access-private-note-inbox .access-private-mark {
  display: block;
  width: auto;
  height: auto;
  margin: 3px 0 0;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255,209,109,.72);
  border-radius: 0;
  color: #ffd16d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .12em;
}

.access-private-note-inbox h3 {
  color: #fff;
}

.access-private-note-inbox p {
  color: rgba(255,255,255,.77);
}

.access-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.access-cta > p {
  margin: 0;
  color: rgba(255,255,255,.83);
}

.access-cta-buttons {
  display: flex;
  gap: 12px;
}

.access-cta .btn {
  min-width: 240px;
}

.access-cta .btn.primary {
  background: var(--cta-coral);
  color: #fff;
}

.access-cta .btn.secondary {
  border-color: rgba(255,255,255,.68);
  color: #fff;
  background: rgba(2,55,83,.35);
}

.small-note {
  font-size: 0.92rem;
  color: #72809b;
}

.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

label {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  padding: 11px;
  border: 1px solid #cad3e2;
  border-radius: 10px;
  background: #fff;
}

textarea { min-height: 160px; }

.short-textarea { min-height: 96px; }

.field { margin: 0 0 14px; }

.required-mark,
.optional-mark {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: .7rem;
  vertical-align: .12em;
}

.required-mark {
  background: var(--british-red);
  color: #fff;
}

.optional-mark {
  background: #e8f1f3;
  color: #49636d;
}

.field-help {
  margin: -2px 0 7px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}

/* Contact page: calm, guided inquiry layout */
.contact-page .site-footer { margin-top: 0; }

.contact-entry {
  padding: 48px 20px 84px;
  background:
    radial-gradient(680px 260px at 92% 8%, rgba(18, 158, 181, .07), transparent 72%),
    #f6f8f8;
}

.contact-entry__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.contact-entry__head {
  max-width: 100%;
  margin-bottom: 40px;
}

.contact-entry__head h2 {
  margin: 12px 0 15px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: .03em;
  white-space: nowrap;
}

.contact-entry__head > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  white-space: nowrap;
}

.contact-page .contact-grid {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.contact-page .inquiry-form {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(13, 72, 102, .14);
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 30px 64px -50px rgba(8, 62, 86, .62);
}

.contact-form-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(13, 72, 102, .13);
}

.contact-form-heading > span,
.contact-guide__eyebrow {
  color: var(--british-red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
}

.contact-form-heading h3,
.contact-guide h3 {
  margin: 8px 0 10px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.contact-form-break { display: none; }

.contact-title-line,
.contact-entry-title-line { display: inline; }

.contact-form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.7;
}

.contact-fieldset {
  min-width: 0;
  margin: 0;
  padding: 32px 0 14px;
  border: 0;
}

.contact-fieldset + .contact-fieldset {
  position: relative;
  margin-top: 18px;
  padding-top: 42px;
}

.contact-fieldset + .contact-fieldset::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(13,72,102,.18), rgba(13,72,102,.05) 72%, transparent);
}

.contact-fieldset legend {
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-page .field { margin-bottom: 18px; }
.contact-page label { color: #173f56; font-size: .9rem; }

.contact-page input,
.contact-page textarea,
.contact-page select {
  border-color: rgba(13, 72, 102, .2);
  border-radius: 7px;
  padding: 13px 14px;
  background: #fbfdfd;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-page input:focus,
.contact-page textarea:focus,
.contact-page select:focus {
  outline: none;
  border-color: #1689a7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 137, 167, .11);
}

.contact-page textarea { min-height: 120px; }
.contact-page .short-textarea { min-height: 88px; }

.contact-privacy-note {
  margin: 22px 0 16px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.7;
}

.contact-page .inquiry-form > .btn-primary {
  width: 100%;
  min-height: 56px;
  background: var(--ocean-button);
  box-shadow: 0 16px 30px -22px rgba(0, 64, 94, .78);
}

.contact-page .inquiry-form > .btn-primary:hover {
  background: linear-gradient(118deg, #428090 0%, #315c73 42%, #203e58 100%);
}

.contact-page .field.is-invalid input,
.contact-page .field.is-invalid textarea,
.contact-page .field.is-invalid select {
  border-color: #bd3f4b;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(189, 63, 75, .09);
}

.contact-field-error {
  margin: 7px 0 0;
  color: var(--british-red);
  font-size: .78rem;
  font-weight: 700;
}

.contact-thanks[hidden] { display: none; }

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-submit-status {
  min-height: 1.6em;
  margin: 0 0 12px;
  color: var(--british-red);
  font-weight: 700;
  text-align: center;
}

.contact-thanks {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 39, 57, .58);
  backdrop-filter: blur(5px);
}

.contact-thanks__panel {
  position: relative;
  width: min(500px, 100%);
  padding: 48px 42px 40px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 22px 5px 22px 5px;
  background: linear-gradient(145deg, #fff 0%, #f1fafb 100%);
  box-shadow: 0 32px 90px rgba(0, 32, 51, .3);
  text-align: center;
}

.contact-thanks__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #ad7a18;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.contact-thanks__eyebrow::before,
.contact-thanks__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d6a83f);
}

.contact-thanks__eyebrow::after {
  background: linear-gradient(90deg, #d6a83f, transparent);
}

.contact-thanks h2 {
  margin: 12px 0 16px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.5;
}

.contact-thanks__panel > p:not(.contact-thanks__eyebrow) {
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-thanks__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  cursor: pointer;
}

.contact-thanks__ok { min-width: 180px; }

.contact-guide {
  position: sticky;
  top: 104px;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid rgba(13, 72, 102, .16);
  border-radius: 4px 18px 4px 18px;
  background: linear-gradient(150deg, #fff 0%, #f2f8f9 100%);
  box-shadow: 0 25px 52px -44px rgba(8, 62, 86, .68);
}

.contact-guide ol {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.contact-guide li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 18px 0;
  border-top: 1px solid rgba(13, 72, 102, .12);
}

.contact-guide li > span {
  color: #bf8d25;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
  letter-spacing: .06em;
}

.contact-guide li strong { color: var(--deep-blue); }
.contact-guide li p { margin: 5px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }

.contact-guide__note {
  margin-top: 18px;
  padding: 20px;
  border-left: 2px solid #d6a83f;
  background: rgba(255,255,255,.78);
}

.contact-guide__note strong { color: var(--deep-blue); }
.contact-guide__note p { margin: 7px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.75; }

/* Privacy page: refined policy document */
.privacy-page .site-footer { margin-top: 0; }

.privacy-content {
  padding: 48px 20px 82px;
  background:
    radial-gradient(700px 300px at 92% 4%, rgba(18, 158, 181, .07), transparent 70%),
    #f6f8f8;
}

.privacy-content__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.privacy-heading {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) .9fr;
  column-gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.privacy-heading .section-kicker { grid-column: 1; }

.privacy-heading h2 {
  grid-column: 1;
  margin: 12px 0 0;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: .025em;
}

.privacy-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.privacy-policy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(13,72,102,.16);
  border-left: 1px solid rgba(13,72,102,.13);
  background: rgba(255,255,255,.72);
  box-shadow: 0 30px 66px -54px rgba(8,62,86,.62);
}

.privacy-policy-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  min-height: 210px;
  padding: 34px 32px;
  border-right: 1px solid rgba(13,72,102,.13);
  border-bottom: 1px solid rgba(13,72,102,.13);
  background: #fff;
}

.privacy-policy-list article > span {
  color: #c29432;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .83rem;
  letter-spacing: .08em;
}

.privacy-policy-list h3 {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 13px;
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.privacy-policy-list h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #087ca0 0%, #d6a83f 36%, rgba(214,168,63,.28) 68%, transparent 100%);
}

.privacy-policy-list p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.9;
}

.privacy-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  padding: 28px 32px;
  border-top: 1px solid rgba(13,72,102,.16);
  border-bottom: 1px solid rgba(13,72,102,.16);
}

.privacy-cta strong {
  color: var(--deep-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.12rem;
}

.privacy-cta p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.privacy-cta .btn { min-width: 270px; background: var(--ocean-button); }

.site-footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  background: var(--brand-panel);
  color: #effdff;
}

.access-page .site-footer {
  margin-top: 0;
  border-top-color: var(--line);
}

.foot-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 22px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.footer-brand { margin: 0; }
.footer-brand a { position: relative; display: inline-block; width: min(360px, 100%); }
.footer-brand img { display: block; width: 100%; height: auto; }
/* Keep the supplied crest colors; make only the wordmark white on the dark footer. */
.footer-brand a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  -webkit-mask: url('../images/kanas-logo-color.png?v=20260927') center / contain no-repeat;
  mask: url('../images/kanas-logo-color.png?v=20260927') center / contain no-repeat;
  clip-path: inset(0 0 0 12%);
  pointer-events: none;
}
.footer-photo-note {
  max-width: 720px;
  margin: 2px 0 0;
  color: rgba(255,255,255,.62);
  font-size: .68rem;
  line-height: 1.65;
  letter-spacing: .02em;
}
.footer-privacy {
  color: rgba(255,255,255,.84);
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s ease;
}
.footer-privacy:hover,
.footer-privacy:focus-visible { color: #fff; }

.small { color: #c9f2f4; font-size: .9rem; }

.footer-copy {
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: .76rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(32,62,88,.94), rgba(52,116,136,.94));
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 91, 121, .24);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--blue);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
  .hero::before,
  .hero-copy > *,
  .hero-support { animation: none; opacity: 1; transform: none; }
  .motion-ready .section-reveal { opacity: 1; transform: none; transition: none; }
}

.motion-ready .section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .58s ease, transform .58s cubic-bezier(.22,.7,.24,1);
}

.motion-ready .section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reserve enough room for the approved horizontal logo before switching navigation. */
@media (max-width: 1200px) {
  .header-inner { flex-wrap: wrap; }
  .menu {
    display: none;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .nav-open .menu { display: block; }
  .nav-open .menu a { display: block; margin-bottom: 8px; }
  .menu a:last-child span { display: none; }
  .menu a.is-active { font-weight: 800; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; }
}

@media (max-width: 900px) {
  .is-edge .hero {
    height: auto;
    min-height: auto;
  }
  .hero-inner, .grid-3, .pricing-grid, .teacher-grid, .contact-grid, .course-photo-grid, .course-link-grid {
    grid-template-columns: 1fr;
  }
  .final-cta { grid-template-columns: 1fr; gap: 28px; }
  .course-pricing,
  .course-style,
  .course-materials { padding: 58px 20px 64px; }
  .course-pricing { padding-top: 36px; }
  .course-section-heading { margin-bottom: 36px; }
  .course-section-heading h2 { font-size: clamp(1.7rem, 7.7vw, 2.2rem); }
  .course-section-heading > p:last-child,
  .course-style .course-section-heading h2 { white-space: normal; }
  .course-price-sheet { grid-template-columns: 1fr; gap: 14px; }
  .course-price-group { padding: 24px 22px 22px; }
  .course-extra-grid { grid-template-columns: 1fr; }
  .course-style-grid,
  .course-material-grid { grid-template-columns: 1fr; }
  .course-style-grid article { padding: 32px 4px 28px; }
  .course-style-grid article + article { border-left: 0; }
  .course-page-cta { grid-template-columns: 1fr; padding: 26px 4px; text-align: center; }
  .course-page-cta .btn { width: min(100%, 360px); margin-inline: auto; }
  .hero { height: auto; min-height: auto; }
  .subpage .hero { min-height: auto; }
  .hero::before { width: 100%; background-position: 66% center; }
  .hero::after {
    background: linear-gradient(90deg, rgba(32,62,88,.98) 0%, rgba(39,86,107,.90) 31%, rgba(66,128,144,.18) 44%, transparent 53%);
  }
  .hero-inner { height: auto; padding-top: 28px; }
  .subpage .hero-inner {
    min-height: auto;
    padding: 34px 20px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .teacher-message-section { padding-block: 38px 0; }
  .teacher-message-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 24px;
  }
  .qualification-heading,
  .qualification-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .teacher-qualifications {
    padding: 30px 24px;
  }
  .teacher-message-section > .section-kicker { width: 100%; }
  .subhero-lead { white-space: normal; }
  .subhero-lead br { display: none; }
  .pc-break { display: none; }
  h2.teacher-message-title {
    writing-mode: horizontal-tb;
    order: -2;
    font-size: clamp(1.8rem, 7.6vw, 2.25rem);
    line-height: 1.48;
    letter-spacing: .02em;
    transform: translateY(-18px);
  }
  .teacher-message-portrait {
    order: -1;
    width: min(100%, 320px);
  }
  .teacher-qualifications { margin-top: 30px; }
  .contact-page .hero-inner {
    padding: 30px 20px;
    text-align: left;
  }
  .contact-page .trust-badges { justify-content: flex-start; }
  .contact-entry { padding: 36px 20px 64px; }
  .contact-page .inquiry-form { padding: 24px 18px; }
  .contact-entry__head { margin-bottom: 30px; }
  .contact-entry__head h2 { white-space: normal; }
  .contact-entry__head > p:last-child { white-space: normal; }
  .contact-title-line,
  .contact-entry-title-line { display: block; }
  .contact-form-heading h3 {
    white-space: nowrap;
    font-size: clamp(.95rem, 4.6vw, 1.2rem);
    letter-spacing: -.02em;
  }
  .contact-thanks__panel { padding: 44px 24px 32px; }
  .contact-page .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-guide { position: static; order: -1; }
  .contact-form-row { grid-template-columns: 1fr; gap: 0; }
  .privacy-content { padding: 36px 20px 64px; }
  .privacy-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .privacy-heading .section-kicker,
  .privacy-heading h2,
  .privacy-heading > p:last-child { grid-column: 1; grid-row: auto; }
  .privacy-policy-list { grid-template-columns: 1fr; }
  .privacy-policy-list article { min-height: 0; padding: 28px 22px; }
  .privacy-cta { grid-template-columns: 1fr; padding: 26px 4px; text-align: center; }
  .privacy-cta .btn { width: min(100%, 360px); margin-inline: auto; }
  .hero-support { align-items: flex-start; flex-wrap: wrap; }
  .hero-proof { flex-basis: 510px; max-width: 510px; }
}

@media (max-width: 860px) {
  .zs-features12 { padding-bottom: 84px; }
  .zs-features12::before { height: 420px; }
  .zf12-wrap { width: min(480px, calc(100% - 40px)); }
  .zf12-head { padding: 72px 0 42px; }
  .zf12-row { grid-template-columns: 1fr; gap: 34px; }
  .zf12-card:nth-child(2) { margin-top: 0; }
  .zf12-arch { aspect-ratio: 3 / 3.25; }
}

.sp-only {
  display: none;
}

@media (max-width: 900px) {
  .access-page .hero p { white-space: normal; }
  .zf12-lead { white-space: normal; }
  .course-showcase-head h2 { white-space: normal; }
  /* Keep short phrases together, with smaller units for accessibility text enlargement. */
  .mobile-copy-phrase {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: baseline;
  }
  .mobile-copy-unit { display: inline-block; white-space: nowrap; }
  .access-pc-break { display: none; }
  .access-overview { padding-block: 36px 22px; }
  .access-heading,
  .access-route-grid,
  .access-steps,
  .access-cta {
    grid-template-columns: 1fr;
  }
  .access-heading { gap: 14px; margin-bottom: 24px; }
  .access-route-grid { gap: 16px; }
  .access-route-card { min-height: 0; padding: 28px 24px; }
  .access-private-note { padding: 21px 20px; }
  .access-steps-section {
    padding: 10px 12px 24px;
    background: #fff;
  }
  .access-steps-inner { padding: 30px 24px; }
  .access-steps { gap: 14px; padding-block: 18px 26px; }
  .access-steps li,
  .access-steps li:first-child,
  .access-steps li:last-child {
    min-height: 0;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.085);
  }
  .access-steps li:first-child,
  .access-steps li:last-child { padding: 20px; }
  .access-private-note-inbox {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 22px;
  }
  .access-private-note-inbox .access-private-mark {
    width: fit-content;
  }
  .access-cta { gap: 20px; }
  .access-cta-buttons { flex-direction: column; }
  .access-cta .btn { min-width: 0; width: 100%; }
}

@media (max-width: 540px) {
  .sp-only { display: inline; }
  .brand { width: min(280px, calc(100% - 64px)); height: 40px; }
  .btn { width: 100%; }
  .course-price-sheet { padding: 0; }
  .course-price-group h3 { flex-wrap: wrap; gap: 9px; }
  .course-price-group h3 i { min-width: 40px; }
  .course-price-row { gap: 8px; }
  .course-price-row b { max-width: 56%; font-size: .9rem; }
  .course-price-row strong { font-size: 1rem; }
  .course-extra-grid > section { padding: 20px 16px; }
  .course-extra-row { align-items: flex-start; }
  .course-extra-row span { max-width: 66%; }
  .course-spot-row { grid-template-columns: 1fr; gap: 3px; padding: 12px 0; }
  .course-spot-row b { margin-bottom: 2px; }
  .course-material-grid article { padding: 26px 23px; }
  .hero {
    background: var(--deep-blue);
  }
  .hero::before {
    inset: 0 0 auto;
    width: 100%;
    height: clamp(215px, 54vw, 248px);
    background-position: 100% top;
    background-size: 130% auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.72) 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.72) 84%, transparent 100%);
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(32,62,88,.05) 0%, transparent 42%, rgba(32,62,88,.2) 72%, var(--deep-blue) 100%);
  }
  .hero-inner { padding: clamp(215px, 55vw, 252px) 18px 46px; }
  .hero-eyebrow {
    display: inline-block;
    margin-bottom: 12px !important;
    padding: 4px 9px;
    border-left-width: 3px;
    font-size: .72rem;
    letter-spacing: .04em;
  }
  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(1.944rem, 8.4vw, 2.28rem);
    line-height: 1.38;
    letter-spacing: .015em;
  }
  .hero-title-line,
  .section-title-line { white-space: normal; }
  .hero-title-line { white-space: nowrap; }
  .hero-lead-row,
  .hero-proof-note-line { white-space: normal; }
  .hero-lead-phrase { display: block; }
  .hero-lead { font-size: .96rem; line-height: 1.82; }
  .subpage .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
    line-height: 1.42;
  }
  .faq-page .c-faq02 { padding-block: 36px 64px; }
  .c-faq02__head h2 { font-size: clamp(1.9rem, 9vw, 2.35rem); }
  .c-faq02__lead { margin-top: 16px; }
  .c-faq02__grid { grid-template-columns: 1fr; gap: 30px; margin-top: 42px; }
  .c-faq02__item--wide { grid-column: auto; width: 100%; }
  .c-faq02__item { padding-bottom: 25px; }
  .c-faq02__item > p { margin-left: 43px; font-size: .92rem; }
  .subhero-title-line {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .subhero-connector-pc { display: none; }
  .subhero-connector-sp { display: inline; }
  .hero-actions { margin-top: 16px; width: 100%; align-items: stretch; }
  .hero .hero-action-button {
    flex-direction: column;
    gap: 1px;
    line-height: 1.35;
    padding-inline: 10px;
  }
  .hero-action-button span { display: block; }
  .hero-support { display: block; margin-top: 26px; }
  .hero-proof { display: block; max-width: none; width: 100%; }
  .hero-proof { min-height: 150px; padding: 16px 20px 16px 24px; text-align: center; }
  .hero-proof-label { display: block; margin: 0 !important; padding: 0; border-right: 0; text-align: center; }
  .hero-proof-main { flex-direction: column; gap: 6px; margin-top: 7px; }
  .hero-proof-main p { text-align: center; }
  .hero-proof strong { font-size: 3.2rem; }
  .hero-proof-main p > span { font-size: .8rem; }
  .hero-proof-main p b { font-size: .82rem; line-height: 1.45; white-space: normal; }
  .hero-proof .hero-proof-note {
    margin-top: 10px;
    padding-top: 8px;
    font-size: .95rem;
    letter-spacing: .01em;
  }
  .hero-proof-note-line { display: block; white-space: normal; }
  .hero-proof-note-tail { display: block; }
  .hero-proof-note-line + .hero-proof-note-line::before { content: ""; }
  .instagram-heading { display: block; }
  .instagram-heading-action { display: block; margin-top: 6px; }
  .instagram-profile-link { display: inline-flex; margin-top: 10px; }
  .instagram-embed-shell { border-radius: 10px; }
  .back-to-top { right: 12px; bottom: 12px; padding: 8px 12px; }
  .reason-card { min-height: auto; padding: 22px 18px 24px; }
  .reason-number { margin-bottom: 14px; font-size: 2rem; }
  .final-cta { margin-top: 54px; padding: 34px 24px; }
  .final-cta h2 { font-size: clamp(1.8rem, 7.6vw, 2.25rem); }
  .final-cta::before { inset: 10px; }
  .final-cta-actions .btn { width: min(100%, 320px); }
  .course-showcase { padding: 44px 18px 0; }
  .course-showcase-head { margin-bottom: 30px; }
  .course-showcase-head h2 { font-size: clamp(1.944rem, 8.4vw, 2.28rem); }
  .course-showcase-head > p:last-child br { display: none; }
  .course-showcase .course-photo-card-adult { margin-top: 0; }
  .course-showcase .course-photo-wrap { border-radius: 2px 38px 2px 2px; }
  .course-showcase .course-photo-body { width: calc(100% - 20px); margin: -34px 0 0 20px; padding: 24px 22px 26px; }
  .course-showcase-action { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; padding: 28px 22px; text-align: center; }
  .course-showcase-action .btn { width: 100%; }
  .instagram-section { padding-top: 26px; padding-bottom: 0; }
  .site-footer { margin-top: 18px; }
  .foot-inner { padding-bottom: 76px; }
  .zf12-lead br { display: none; }
  .zs-features12 { padding-bottom: 38px; }
  .zs-features12::before { height: 380px; }
  .zf12-wrap { width: min(100% - 32px, 420px); }
  .zf12-head { padding: 48px 0 28px; }
  .zf12-ghost { font-size: clamp(3rem, 18vw, 5.2rem); }
  .zf12-title { font-size: clamp(1.944rem, 8.4vw, 2.28rem); line-height: 1.42; }
  .zf12-lead { font-size: .92rem; line-height: 1.9; }
  .zf12-row { gap: 20px; }
  .zf12-body { padding: 22px 14px 4px; }
}

@media (max-width: 360px) {
  .hero .btn { font-size: .9rem; }
  .hero-proof-main { gap: 6px; }
  .hero-proof strong { font-size: 2.7rem; }
}
