:root {
  --navy: #0a145b;
  --navy-deep: #060c40;
  --blue: #087bd7;
  --aqua: #15c9e8;
  --aqua-pale: #ddf9ff;
  --pool: #52d6ee;
  --coral: #ff4c5b;
  --yellow: #ffd85a;
  --ink: #132044;
  --muted: #5a6681;
  --line: #dce7ee;
  --cream: #fbfcf8;
  --white: #fff;
  --container: 1240px;
  --header-height: 84px;
  --shadow: 0 24px 70px rgba(8, 24, 74, 0.15);
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.035em;
  line-break: strict;
  word-break: normal;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--white);
  background: var(--navy);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
strong {
  font-weight: 800;
}

:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--navy) !important;
}

a,
button,
summary {
  touch-action: manipulation;
}

@media (pointer: coarse) {
  a:active,
  button:active,
  summary:active {
    opacity: 0.76;
  }
}

.container {
  width: min(calc(100% - clamp(40px, 8vw, 112px)), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(92px, 11vw, 168px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.06em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.button i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-size: 1rem;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 15px 35px rgba(255, 76, 91, 0.32);
}

.button-primary i,
.button-coral i {
  color: var(--coral);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(10px);
}

.button-ghost i {
  color: var(--navy);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.button-dark i {
  color: var(--navy);
  background: var(--aqua);
}

.button-coral {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 15px 35px rgba(255, 76, 91, 0.28);
}

.button-white {
  color: var(--navy);
  background: var(--white);
}

.button-white i {
  color: var(--white);
  background: var(--navy);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

.section-kicker > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.section-kicker > span::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-heading h2 {
  max-width: 880px;
  font-size: clamp(2.25rem, 4.7vw, 4.85rem);
  line-height: 1.23;
  letter-spacing: -0.045em;
}

.section-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.section-heading.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading.centered .section-kicker {
  justify-content: center;
}

.motion-ready .reveal {
  transform: translateY(24px);
  transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(10, 20, 91, 0.08);
  backdrop-filter: blur(18px);
  transition: height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  height: 74px;
  box-shadow: 0 12px 35px rgba(8, 21, 69, 0.1);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), 1380px);
  height: 100%;
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
  margin-inline: auto;
}

.brand {
  display: flex;
  min-width: 250px;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: width 0.25s ease, height 0.25s ease;
}

.is-scrolled .brand img {
  width: 54px;
  height: 54px;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 0.92rem;
  letter-spacing: 0.025em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--coral);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.global-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 34px);
  margin-left: auto;
}

.nav-mobile-only {
  display: none;
}

.global-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--aqua);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 20px;
  color: var(--white);
  background: var(--coral);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta svg {
  width: 28px;
  height: 28px;
  padding: 7px;
  color: var(--coral);
  background: var(--white);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 11px;
  background: var(--navy);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 4px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header[data-menu-open="true"] .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-menu-open="true"] .menu-button span:nth-child(2) {
  opacity: 0;
}

.site-header[data-menu-open="true"] .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: min(920px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 58px) 0 132px;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-picture,
.hero-picture img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-picture img {
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(1.08) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 12, 62, 0.94) 0%, rgba(6, 17, 70, 0.85) 38%, rgba(6, 21, 79, 0.34) 70%, rgba(4, 17, 64, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 12, 58, 0.46), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(6, 15, 71, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  backdrop-filter: blur(8px);
}

.hero-eyebrow span {
  width: 9px;
  height: 9px;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(21, 201, 232, 0.19);
}

.hero h1 {
  font-size: clamp(3.15rem, 5.2vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-shadow: 0 7px 35px rgba(3, 11, 55, 0.35);
}

.hero h1 > span {
  display: block;
}

.hero h1 > span + span {
  margin-top: 14px;
}

.hero-title-second {
  font-size: min(0.84em, 8.35vw, 4.1rem);
  white-space: nowrap;
}

.hero h1 em {
  position: relative;
  color: var(--yellow);
  font-style: normal;
  white-space: nowrap;
}

.hero-lead {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 600;
  line-height: 1.9;
}

.hero-lead-line {
  display: block;
  text-wrap: balance;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  max-width: 660px;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-points li {
  display: grid;
  min-width: 150px;
  padding-right: 26px;
}

.hero-points li + li {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-points strong {
  color: var(--aqua);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.hero-points span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-class-card {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  transform: rotate(2deg);
}

.motion-ready .hero-class-card.reveal {
  transform: translateY(24px) rotate(2deg);
}

.motion-ready .hero-class-card.reveal.is-visible {
  transform: translateY(0) rotate(2deg);
}

.hero-class-card::before,
.hero-class-card::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.hero-class-card::before {
  width: 120px;
  height: 120px;
  top: -50px;
  right: -35px;
  background: var(--yellow);
}

.hero-class-card::after {
  width: 70px;
  height: 70px;
  bottom: 64px;
  left: -34px;
  background: var(--aqua);
  box-shadow: 0 0 0 16px rgba(21, 201, 232, 0.2);
}

.hero-class-image {
  overflow: hidden;
  aspect-ratio: 0.95;
  background: var(--aqua-pale);
  border: 9px solid var(--white);
  border-radius: 49% 51% 43% 57% / 42% 44% 56% 58%;
  box-shadow: var(--shadow);
}

.hero-class-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-class-card figcaption {
  position: absolute;
  right: -8px;
  bottom: 18px;
  display: grid;
  min-width: 220px;
  padding: 15px 20px 13px;
  color: var(--ink);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(5, 13, 57, 0.2);
}

.hero-class-card figcaption span {
  color: var(--coral);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-class-card figcaption strong {
  font-size: 1rem;
}

.hero-class-card figcaption small {
  color: var(--muted);
  font-size: 0.62rem;
}

.bubble {
  position: absolute;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: inset -8px -9px 20px rgba(21, 201, 232, 0.18), inset 6px 7px 13px rgba(255, 255, 255, 0.18);
  animation: bubble-float 7s ease-in-out infinite;
}

.bubble::after {
  position: absolute;
  top: 18%;
  left: 24%;
  width: 18%;
  height: 18%;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  content: "";
}

.bubble-one {
  top: 18%;
  right: 42%;
  width: 46px;
  height: 46px;
}

.bubble-two {
  top: 32%;
  right: 4%;
  width: 74px;
  height: 74px;
  animation-delay: -2s;
}

.bubble-three {
  right: 38%;
  bottom: 20%;
  width: 24px;
  height: 24px;
  animation-delay: -4s;
}

@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-wave {
  position: absolute;
  right: -2px;
  bottom: -2px;
  left: -2px;
  z-index: 4;
  height: clamp(70px, 8vw, 126px);
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.hero-wave path {
  fill: var(--white);
}

/* Quick access */
.quick-nav {
  position: relative;
  z-index: 10;
  margin-top: -14px;
  padding-bottom: clamp(72px, 8vw, 110px);
}

.quick-nav-inner {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.quick-nav-inner > p {
  display: grid;
  line-height: 1.45;
}

.quick-nav-inner > p span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quick-nav-inner > p strong {
  font-size: 1.05rem;
}

.quick-links {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(10, 31, 84, 0.1);
}

.quick-links a {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 24px 22px;
  transition: color 0.2s ease, background 0.2s ease;
}

.quick-links a + a {
  border-left: 1px solid var(--line);
}

.quick-links a:hover {
  color: var(--white);
  background: var(--navy);
}

.quick-links i {
  color: var(--aqua);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.quick-links span {
  min-width: 0;
  font-size: 0.87rem;
  font-weight: 800;
}

.quick-links b {
  font-size: 1.1rem;
}

/* Philosophy */
.intro {
  overflow: hidden;
  padding-top: 62px;
}

.intro::before {
  position: absolute;
  top: 100px;
  left: -130px;
  width: 360px;
  height: 360px;
  background: var(--aqua-pale);
  border-radius: 50%;
  content: "";
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.82fr) minmax(300px, 0.6fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
}

#about-title {
  font-size: clamp(2.1rem, 3.5vw, 3.3rem);
}

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

.intro-copy {
  color: var(--muted);
  font-size: 1rem;
}

.intro-copy p + p {
  margin-top: 18px;
}

.intro-copy .intro-quote {
  color: var(--navy);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.intro-sign {
  position: relative;
}

.intro-sign-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.intro-sign img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(8px) scale(1.06);
  transform-origin: center;
}

.intro-sign figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(270px, calc(100% - 24px));
  margin: -24px auto 0;
  padding: 18px 21px;
  color: var(--white);
  background: var(--navy);
  border-radius: 18px;
}

.intro-sign figcaption span {
  color: var(--aqua);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.intro-sign figcaption strong {
  margin-top: 3px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-lane {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(95px, 11vw, 150px);
  border-top: 2px solid var(--navy);
}

.feature-lane::before,
.feature-lane::after {
  position: absolute;
  top: -7px;
  width: 12px;
  height: 12px;
  background: var(--aqua);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--navy);
  content: "";
}

.feature-lane::before { left: 0; }
.feature-lane::after { right: 0; }

.feature-lane article {
  min-width: 0;
  padding: 40px clamp(20px, 3vw, 42px) 0;
}

.feature-lane article + article {
  border-left: 1px solid var(--line);
}

.feature-lane article > p:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.feature-lane article > p:first-child span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}

.feature-lane h3 {
  margin-top: 18px;
  font-size: clamp(1.24rem, 2vw, 1.65rem);
}

.feature-lane article > p:last-child {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Classes */
.classes {
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: clamp(44px, 7vw, 94px) clamp(44px, 7vw, 94px) 0 0;
}

.section-heading-light h2 em {
  color: var(--yellow);
}

.section-heading-light .section-kicker,
.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading-light .section-kicker > span {
  color: var(--aqua);
}

.classes .section-heading {
  position: relative;
  z-index: 2;
}

#classes-title {
  max-width: none;
  font-size: clamp(1.3rem, 6.45vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

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

.classes-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.16;
  filter: blur(2px);
}

.classes-orb-one {
  top: -180px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: var(--aqua);
}

.classes-orb-two {
  bottom: 80px;
  left: -130px;
  width: 310px;
  height: 310px;
  border: 46px solid var(--coral);
}

.class-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 34px);
  margin-top: clamp(56px, 7vw, 92px);
}

.class-panel {
  min-width: 0;
}

.class-panel figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.9;
  background: #112072;
  border-radius: var(--radius);
}

.class-panel figure::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(4, 12, 57, 0.62));
  content: "";
}

.class-panel figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.class-panel:hover figure img {
  transform: scale(1.045);
}

.class-panel figure > span {
  position: absolute;
  right: 18px;
  bottom: 15px;
  z-index: 1;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.class-panel-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 27px 8px 0;
}

.class-number {
  color: var(--aqua);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.class-label {
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.class-panel h3 {
  margin-top: 5px;
  font-size: clamp(1.28rem, 2.1vw, 1.78rem);
  line-height: 1.45;
}

.class-panel h3 + p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.85;
}

.image-note {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  text-align: right;
}

/* Growth */
.growth {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(21, 201, 232, 0.12) 0 90px, transparent 91px),
    linear-gradient(180deg, #fff 0%, #f7fdff 100%);
}

.growth .section-heading > p:last-child {
  max-width: none;
  white-space: nowrap;
}

.growth-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(68px, 8vw, 108px);
}

.growth-map::before {
  position: absolute;
  top: 79px;
  right: 9%;
  left: 9%;
  z-index: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--aqua) 0 10px, transparent 10px 18px);
  content: "";
}

.growth-map li {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  text-align: center;
}

.growth-icon {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 25px;
  background: var(--aqua-pale);
  border: 8px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(8, 42, 101, 0.13);
}

.growth-icon span,
.growth-icon i,
.growth-icon b {
  position: absolute;
  display: block;
  background: var(--blue);
  border-radius: 999px;
}

.growth-icon span {
  top: 53px;
  left: 44px;
  width: 72px;
  height: 42px;
  background: var(--aqua);
  border-radius: 50% 55% 48% 52%;
  transform: rotate(-8deg);
}

.growth-icon i {
  top: 42px;
  right: 39px;
  width: 22px;
  height: 22px;
  background: transparent;
  border: 6px solid var(--aqua);
}

.growth-icon b {
  bottom: 34px;
  left: 34px;
  width: 92px;
  height: 5px;
  background: var(--navy);
  box-shadow: 0 11px 0 rgba(10, 20, 91, 0.27);
}

.growth-icon-float {
  background: #fff5cc;
}

.growth-icon-float span {
  top: 62px;
  left: 34px;
  width: 92px;
  height: 25px;
  background: var(--yellow);
}

.growth-icon-float i {
  top: 46px;
  right: 36px;
  width: 26px;
  height: 26px;
  background: var(--navy);
  border: 0;
}

.growth-icon-swim {
  background: #e8efff;
}

.growth-icon-swim span {
  top: 58px;
  left: 28px;
  width: 104px;
  height: 10px;
  background: var(--navy);
  transform: rotate(-12deg);
}

.growth-icon-swim i {
  top: 42px;
  right: 28px;
  width: 26px;
  height: 26px;
  background: var(--coral);
  border: 0;
}

.growth-icon-goal {
  background: #fff0f2;
}

.growth-icon-goal span {
  top: 38px;
  left: 52px;
  width: 55px;
  height: 72px;
  background: var(--coral);
  border-radius: 10px 10px 50% 50%;
  transform: none;
}

.growth-icon-goal i {
  top: 28px;
  right: 46px;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border: 0;
}

.growth-map li > p {
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.growth-map h3 {
  margin-top: 5px;
  font-size: clamp(1.16rem, 2vw, 1.55rem);
}

.growth-map li > span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* Facility */
.facility {
  overflow: hidden;
  background: var(--cream);
}

.facility-backdrop {
  position: absolute;
  top: -70px;
  left: -15px;
  color: rgba(8, 123, 215, 0.055);
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(15rem, 30vw, 32rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.11em;
  pointer-events: none;
}

.facility-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(54px, 7vw, 110px);
}

#facility-title {
  max-width: none;
  font-size: clamp(1.9rem, 2.65vw, 2.55rem);
  letter-spacing: -0.045em;
}

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

.facility-copy > p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1rem;
}

.facility-copy > .facility-lead {
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  letter-spacing: -0.02em;
}

.facility-lead-line {
  display: block;
}

.facility-facts {
  margin-top: 40px;
  border-top: 1px solid #cbd9df;
}

.facility-facts > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) 1fr;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid #cbd9df;
}

.facility-facts dt {
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.facility-facts dd {
  font-size: 0.88rem;
  font-weight: 800;
}

.facility-visual {
  position: relative;
  min-height: 620px;
}

.facility-visual figure {
  position: absolute;
  overflow: hidden;
  background: #d8eff5;
  border: 9px solid var(--white);
  box-shadow: var(--shadow);
}

.facility-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-visual figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  color: var(--white);
  background: rgba(7, 18, 73, 0.82);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
}

.facility-main-photo {
  inset: 0 50px 90px 0;
  border-radius: 40% 17% 23% 24% / 27% 20% 28% 31%;
}

.facility-sub-photo {
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1.15;
  border-radius: 28px;
}

/* Lesson */
.lesson {
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 18%, rgba(21, 201, 232, 0.1) 0 90px, transparent 91px),
    radial-gradient(circle at 94% 84%, rgba(8, 123, 215, 0.07) 0 150px, transparent 151px),
    var(--white);
}

.lesson-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(470px, 1fr);
  align-items: stretch;
  gap: clamp(60px, 9vw, 130px);
  overflow: hidden;
  padding: clamp(38px, 5vw, 72px);
  background: linear-gradient(135deg, rgba(232, 249, 255, 0.96), rgba(255, 255, 255, 0.98) 62%);
  border: 1px solid rgba(8, 123, 215, 0.1);
  border-radius: clamp(36px, 5vw, 64px);
  box-shadow: 0 28px 80px rgba(8, 42, 101, 0.1);
}

.lesson-grid::before {
  position: absolute;
  top: -120px;
  right: 34%;
  width: 250px;
  height: 250px;
  border: 42px solid rgba(21, 201, 232, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.lesson-intro {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: clamp(30px, 3.5vw, 46px);
}

#lesson-title {
  max-width: none;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.045em;
}

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

.lesson-feature {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 2.75;
  background: var(--aqua-pale);
  border: 7px solid var(--white);
  border-radius: clamp(24px, 3vw, 36px);
  box-shadow: 0 20px 46px rgba(8, 42, 101, 0.16);
}

.lesson-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.lesson-feature figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 14px;
  color: var(--white);
  background: rgba(6, 15, 67, 0.82);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.lesson-steps {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3.2vw, 44px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 123, 215, 0.1);
  border-radius: clamp(28px, 3vw, 38px);
  box-shadow: 0 18px 48px rgba(8, 42, 101, 0.08);
  counter-reset: lesson;
}

.lesson-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 0 0 28px;
}

.lesson-steps li:not(:last-child)::before {
  position: absolute;
  top: 53px;
  bottom: 5px;
  left: 26px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--aqua) 0 6px, transparent 6px 11px);
  content: "";
}

.lesson-steps li > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 5px solid var(--aqua-pale);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
}

.lesson-steps h3 {
  font-size: 1.15rem;
  line-height: 1.5;
}

.lesson-steps p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.lesson-steps li:last-child {
  padding-bottom: 0;
}

.lesson-gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.78fr;
  gap: 16px;
  width: min(calc(100% - 40px), 1200px);
  margin: clamp(36px, 4.5vw, 64px) auto 0;
}

.lesson-gallery figure {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  background: var(--aqua-pale);
}

.lesson-gallery figure:first-child {
  border-radius: 36px 8px 8px 36px;
}

.lesson-gallery figure:last-child {
  border-radius: 8px 36px 36px 8px;
}

.lesson-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lesson-gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(6, 15, 67, 0.78);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.lesson > .image-note {
  color: var(--muted);
}

/* News band */
.news-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 6vw, 82px);
  background: var(--aqua-pale);
}

.news-band::before,
.news-band::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.news-band::before {
  top: -70px;
  left: 8%;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(21, 201, 232, 0.23);
}

.news-band::after {
  right: 6%;
  bottom: -50px;
  width: 120px;
  height: 120px;
  background: rgba(255, 216, 90, 0.55);
}

.news-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.news-band .section-kicker {
  margin-bottom: 8px;
}

.news-band h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.5;
}

.news-band-inner > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.news-lead-line {
  display: block;
}

@media (min-width: 1200px) {
  .facility-lead-line,
  .news-lead-line {
    white-space: nowrap;
  }
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(480px, 1fr);
  align-items: start;
  gap: clamp(56px, 9vw, 130px);
}

#faq-title {
  max-width: none;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.045em;
}

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

.faq-list {
  border-top: 2px solid var(--navy);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 42px 1fr 32px;
  align-items: center;
  gap: 15px;
  padding: 24px 2px;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary > span {
  color: var(--aqua);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.faq-list summary strong {
  font-size: 1rem;
  line-height: 1.6;
}

.faq-list summary i {
  position: relative;
  width: 32px;
  height: 32px;
  background: var(--aqua-pale);
  border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
  position: absolute;
  top: 15px;
  left: 9px;
  width: 14px;
  height: 2px;
  background: var(--navy);
  content: "";
  transition: transform 0.2s ease;
}

.faq-list summary i::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: rotate(0);
}

.faq-list details > div {
  padding: 0 50px 24px 59px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Trial */
.trial {
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: clamp(44px, 7vw, 94px) clamp(44px, 7vw, 94px) 0 0;
}

.trial-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.trial-photo {
  position: relative;
}

.trial-photo img {
  width: 100%;
  aspect-ratio: 0.95;
  object-fit: cover;
  border: 9px solid rgba(255, 255, 255, 0.96);
  border-radius: 49% 51% 40% 60% / 48% 41% 59% 52%;
  box-shadow: 0 28px 75px rgba(1, 7, 40, 0.35);
}

.trial-photo figcaption {
  position: absolute;
  right: 4px;
  bottom: 20px;
  padding: 7px 13px;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
}

.trial .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.trial .section-kicker > span {
  color: var(--aqua);
}

.trial h2 {
  font-size: clamp(2.25rem, 4.7vw, 4.75rem);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

#trial-title {
  max-width: none;
  line-height: 1.14;
}

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

#trial-title .trial-title-line:first-child {
  font-size: clamp(2.2rem, 4.2vw, 4.1rem);
}

#trial-title .trial-title-line:last-child {
  margin-top: 0.1em;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.trial h2 em {
  color: var(--yellow);
  font-style: normal;
}

.trial-copy > p:not(.section-kicker) {
  max-width: 700px;
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.trial-copy > .trial-lead {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  letter-spacing: -0.015em;
}

.trial-lead-line {
  display: block;
}

@media (min-width: 1200px) {
  .trial-lead-line {
    white-space: nowrap;
  }
}

.trial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 33px;
}

.trial-actions .button-coral span {
  display: grid;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.trial-actions .button-coral small {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.contact-facts {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-facts > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding-block: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-facts dt {
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-facts dd {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.contact-facts a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.trial-bubble {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.trial-bubble-one {
  top: 70px;
  right: 6%;
  width: 210px;
  height: 210px;
  box-shadow: inset 0 0 0 25px rgba(21, 201, 232, 0.05);
}

.trial-bubble-two {
  bottom: 40px;
  left: 2%;
  width: 86px;
  height: 86px;
  background: rgba(255, 216, 90, 0.13);
}

/* Footer */
.site-footer {
  padding: 70px 0 32px;
  color: var(--white);
  background: var(--navy-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.65fr;
  align-items: start;
  gap: 50px;
  padding-bottom: 56px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 90px;
  height: 90px;
}

.footer-brand span {
  display: grid;
}

.footer-brand strong {
  font-size: 1.05rem;
}

.footer-brand small {
  margin-top: 5px;
  color: var(--coral);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer-contact p,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.footer-contact a {
  display: inline-block;
  margin-top: 8px;
  color: var(--aqua);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-links span {
  color: var(--aqua);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom small,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.52);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-bottom a span {
  color: var(--aqua);
}

.mobile-actions {
  display: none;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 50px 24px;
  text-align: center;
  background: var(--aqua-pale);
}

.not-found > img {
  width: 120px;
}

.not-found h1 {
  color: var(--navy);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.25;
}

.not-found > p:not(.section-kicker) {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .global-nav {
    gap: 18px;
  }

  .global-nav .nav-desktop-optional {
    display: none;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .intro-sign {
    grid-column: 1 / -1;
    width: min(460px, 72%);
    margin: 32px auto 0;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-height: 74px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
  }

  .header-inner {
    width: min(calc(100% - 32px), 960px);
  }

  .brand {
    min-width: 0;
  }

  .brand img,
  .is-scrolled .brand img {
    width: 54px;
    height: 54px;
  }

  .global-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    margin: 0;
    padding-inline: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 40px rgba(6, 15, 62, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.32s ease, opacity 0.22s ease, padding 0.32s ease;
  }

  .site-header[data-menu-open="true"] .global-nav {
    max-height: min(680px, calc(100svh - var(--header-height)));
    overflow-y: auto;
    padding-block: 10px 22px;
    opacity: 1;
    pointer-events: auto;
  }

  .global-nav a,
  .global-nav .nav-desktop-optional,
  .global-nav .nav-mobile-only {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .global-nav a::after {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 900px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.58fr);
    gap: 40px;
  }

  .hero-class-card {
    width: 300px;
  }

  .hero-class-card figcaption {
    right: -4px;
    min-width: 190px;
  }

  .quick-nav-inner {
    grid-template-columns: 1fr;
  }

  .quick-nav-inner > p {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .class-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .class-panel:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 34px;
  }

  .class-panel:last-child .class-panel-copy {
    padding-top: 0;
  }

  .growth-map {
    grid-template-columns: repeat(2, 1fr);
    gap: 52px 22px;
  }

  .growth-map::before {
    display: none;
  }

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

  .facility-visual {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .lesson-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: clamp(32px, 4vw, 46px);
  }

  .lesson-steps {
    padding: 28px 24px;
  }

  .news-band-inner {
    grid-template-columns: 1fr auto;
  }

  .news-band-inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .faq-grid {
    grid-template-columns: 0.68fr 1fr;
    gap: 55px;
  }

  .trial-grid {
    grid-template-columns: minmax(280px, 0.7fr) 1fr;
    gap: 55px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 80px) 0 145px;
  }

  .hero-inner {
    display: block;
  }

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

  .hero h1 {
    font-size: clamp(3rem, 7.2vw, 4.6rem);
    line-height: 1.04;
  }

  .hero-class-card {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .growth .section-heading > p:last-child {
    max-width: 720px;
    white-space: normal;
  }

  .section {
    padding-block: 92px;
  }

  .header-cta {
    display: none;
  }

  .global-nav {
    grid-template-columns: 1fr;
  }

  .brand-copy strong {
    font-size: 0.8rem;
  }

  .brand-copy small {
    font-size: 0.52rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 62px) 0 120px;
  }

  .hero-picture img {
    object-position: center 64%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 12, 62, 0.92) 0%, rgba(6, 15, 70, 0.82) 48%, rgba(6, 17, 70, 0.5) 100%),
      linear-gradient(90deg, rgba(5, 12, 62, 0.45), rgba(5, 12, 62, 0.16));
  }

  .hero-inner {
    display: block;
  }

  .hero h1 {
    font-size: clamp(3rem, 8.5vw, 4rem);
    line-height: 1.05;
  }

  .hero-class-card {
    display: none;
  }

  .hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-points li {
    min-width: 0;
    padding: 0 10px 0 0;
  }

  .hero-points li + li {
    padding: 0 6px 0 12px;
  }

  .hero-points strong {
    font-size: 1.02rem;
  }

  .hero-points span {
    font-size: 0.63rem;
    white-space: normal;
  }

  .bubble-one { right: 12%; }
  .bubble-two { top: 58%; right: -16px; }
  .bubble-three { right: 70%; bottom: 10%; }

  .quick-nav {
    padding-bottom: 70px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .quick-links a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .intro {
    padding-top: 40px;
  }

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

  .intro-sign {
    grid-column: auto;
    width: min(440px, 88%);
  }

  .feature-lane {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .feature-lane::before,
  .feature-lane::after {
    display: none;
  }

  .feature-lane article {
    padding: 28px 0;
    border-top: 1px solid var(--line);
  }

  .feature-lane article + article {
    border-left: 0;
  }

  .classes {
    border-radius: 44px 44px 0 0;
  }

  .class-list {
    grid-template-columns: 1fr;
  }

  .class-panel:last-child {
    grid-column: auto;
    display: block;
  }

  .class-panel:last-child .class-panel-copy {
    padding-top: 27px;
  }

  .class-panel figure {
    aspect-ratio: 1.15;
  }

  .growth-map {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .growth-map li {
    display: grid;
    grid-template-columns: 118px 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 24px;
    text-align: left;
  }

  .growth-icon {
    width: 118px;
    height: 118px;
    grid-row: 1 / 4;
    margin: 0;
  }

  .growth-icon span { top: 38px; left: 30px; width: 57px; height: 34px; }
  .growth-icon i { top: 31px; right: 27px; width: 18px; height: 18px; border-width: 4px; }
  .growth-icon b { bottom: 23px; left: 24px; width: 70px; }
  .growth-icon-float span { top: 45px; left: 25px; width: 68px; height: 20px; }
  .growth-icon-float i { top: 34px; right: 26px; width: 20px; height: 20px; }
  .growth-icon-swim span { top: 44px; left: 20px; width: 77px; height: 8px; }
  .growth-icon-swim i { top: 31px; right: 22px; width: 20px; height: 20px; }
  .growth-icon-goal span { top: 28px; left: 38px; width: 41px; height: 54px; }
  .growth-icon-goal i { top: 21px; right: 33px; width: 22px; height: 22px; }

  .growth-map li > span {
    margin-top: 4px;
  }

  .facility-grid {
    gap: 56px;
  }

  .facility-visual {
    min-height: 480px;
  }

  .facility-main-photo {
    right: 28px;
    bottom: 70px;
  }

  .facility-sub-photo {
    width: 54%;
  }

  .lesson-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 22px 30px;
    border-radius: 34px;
  }

  .lesson-grid::before {
    top: -130px;
    right: -95px;
  }

  .lesson-feature {
    aspect-ratio: 4 / 2.7;
  }

  .lesson-steps {
    padding: 26px 20px;
    border-radius: 28px;
  }

  .lesson-gallery {
    overflow-x: auto;
    grid-template-columns: repeat(2, minmax(275px, 78vw));
    width: 100%;
    padding-inline: 20px;
    scroll-snap-type: x mandatory;
  }

  .lesson-gallery figure {
    min-height: 350px;
    border-radius: 24px !important;
    scroll-snap-align: center;
  }

  .news-band-inner {
    grid-template-columns: 1fr;
  }

  .news-band-inner > p {
    grid-column: auto;
    grid-row: auto;
  }

  .news-band .button {
    justify-self: start;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .trial {
    border-radius: 44px 44px 0 0;
  }

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

  .trial-photo {
    width: min(440px, 88%);
    margin-inline: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-links {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 20px;
  }

  .mobile-actions {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 1200;
    display: grid;
    overflow: hidden;
    grid-template-columns: 0.78fr 1.22fr;
    background: var(--white);
    border: 1px solid rgba(10, 20, 91, 0.12);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(6, 15, 59, 0.24);
  }

  .mobile-actions a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--navy);
    font-size: 0.73rem;
  }

  .mobile-actions a:last-child {
    color: var(--white);
    background: var(--coral);
  }

  .mobile-actions span {
    font-size: 1rem;
  }

  .site-footer {
    padding-bottom: 110px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 34px);
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 8px;
  }

  .brand img,
  .is-scrolled .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 0.72rem;
  }

  .brand-copy small {
    margin-top: 3px;
    font-size: 0.45rem;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .hero-eyebrow {
    align-items: flex-start;
    border-radius: 16px;
    font-size: 0.66rem;
    line-height: 1.6;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    line-height: 1.08;
  }

  .hero-title-second {
    white-space: nowrap;
  }

  .hero h1 > span + span {
    margin-top: 10px;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    margin-top: 28px;
  }

  .hero-points li,
  .hero-points li + li {
    padding-inline: 8px;
  }

  .section-heading h2,
  .trial h2 {
    font-size: clamp(2.05rem, 10.5vw, 3.25rem);
  }

  #facility-title {
    font-size: clamp(1.5rem, 7.5vw, 1.9rem);
  }

  #lesson-title {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  #trial-title .trial-title-line:first-child {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  #trial-title .trial-title-line:last-child {
    font-size: clamp(1.35rem, 6.5vw, 2rem);
  }

  .lesson-grid {
    padding: 22px 16px 24px;
    border-radius: 28px;
  }

  .lesson-feature {
    border-width: 5px;
    border-radius: 22px;
  }

  .lesson-steps {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .quick-nav-inner > p {
    display: grid;
    gap: 2px;
  }

  .intro-sign {
    width: 94%;
  }

  .intro-sign figcaption {
    width: min(270px, calc(100% - 16px));
    margin-top: -20px;
  }

  .class-panel-copy {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding-inline: 2px;
  }

  .growth-map li {
    grid-template-columns: 96px 1fr;
    column-gap: 16px;
  }

  .growth-icon {
    width: 96px;
    height: 96px;
  }

  .growth-icon span { top: 31px; left: 24px; width: 46px; height: 27px; }
  .growth-icon i { top: 25px; right: 21px; width: 15px; height: 15px; }
  .growth-icon b { bottom: 17px; left: 19px; width: 57px; height: 4px; }
  .growth-icon-float span { top: 37px; left: 20px; width: 55px; height: 17px; }
  .growth-icon-float i { top: 28px; right: 21px; width: 17px; height: 17px; }
  .growth-icon-swim span { top: 36px; left: 16px; width: 64px; height: 7px; }
  .growth-icon-swim i { top: 25px; right: 18px; width: 17px; height: 17px; }
  .growth-icon-goal span { top: 22px; left: 31px; width: 33px; height: 44px; }
  .growth-icon-goal i { top: 17px; right: 27px; width: 18px; height: 18px; }

  .facility-facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .facility-visual {
    min-height: 380px;
  }

  .facility-visual figure {
    border-width: 6px;
  }

  .facility-main-photo {
    right: 20px;
    bottom: 54px;
  }

  .lesson-steps li {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }

  .lesson-steps li > span {
    width: 48px;
    height: 48px;
  }

  .lesson-steps li:not(:last-child)::before {
    top: 47px;
    left: 23px;
  }

  .faq-list summary {
    grid-template-columns: 32px 1fr 30px;
    gap: 10px;
  }

  .faq-list details > div {
    padding-left: 42px;
  }

  .trial-photo {
    width: 96%;
  }

  .trial-actions {
    display: grid;
  }

  .trial-actions .button {
    width: 100%;
  }

  .contact-facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-brand img {
    width: 76px;
    height: 76px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal,
  .motion-ready .hero-class-card.reveal {
    transform: none !important;
  }
}

/* Lower pages */
.subpage-body {
  background: #fff;
}

.subpage-main {
  padding-top: var(--header-height);
  overflow: hidden;
}

.subpage-main > section {
  position: relative;
}

.subpage-main p {
  text-wrap: pretty;
}

.global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta[aria-current="page"] {
  box-shadow: 0 0 0 4px rgba(255, 76, 91, 0.16);
}

.page-hero {
  overflow: hidden;
  padding-block: clamp(70px, 8.5vw, 126px);
  background: var(--aqua-pale);
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.page-hero::before {
  top: -220px;
  right: -130px;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(8, 123, 215, 0.15);
  box-shadow: inset 0 0 0 70px rgba(255, 255, 255, 0.18);
}

.page-hero::after {
  bottom: -90px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.28);
}

.tone-blue { background: linear-gradient(135deg, #e4f8ff 0%, #f6fbff 58%, #e7e9ff 100%); }
.tone-pool { background: linear-gradient(135deg, #d8faff 0%, #f7ffff 53%, #dfefff 100%); }
.tone-coral { background: linear-gradient(135deg, #fff2ed 0%, #fff 54%, #fff3c9 100%); }
.tone-sun { background: linear-gradient(135deg, #fff8d5 0%, #fff 52%, #def9ff 100%); }
.tone-green { background: linear-gradient(135deg, #e8fff4 0%, #fff 54%, #e1f5ff 100%); }
.tone-question { background: linear-gradient(135deg, #e9faff 0%, #fff 50%, #fff5c9 100%); }
.tone-member { background: linear-gradient(135deg, #e1e8ff 0%, #f8fbff 56%, #dffcff 100%); }
.tone-contact { background: linear-gradient(135deg, #ddf9ff 0%, #fff 52%, #ffe7e8 100%); }
.tone-legal { background: linear-gradient(135deg, #eef2ff 0%, #fff 58%, #e9faff 100%); }
.tone-instagram {
  color: var(--white);
  background: linear-gradient(135deg, #071052 0%, #112575 52%, #087bd7 100%);
}

.tone-instagram::before { border-color: rgba(255, 255, 255, 0.16); }
.tone-instagram::after { background: rgba(21, 201, 232, 0.14); }

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(54px, 7vw, 110px);
}

.page-hero-copy,
.page-hero-photo,
.split-layout > *,
.page-end-grid > * {
  min-width: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.tone-instagram .breadcrumb { color: rgba(255, 255, 255, 0.7); }

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.page-eyebrow::before {
  width: 30px;
  height: 3px;
  background: var(--aqua);
  content: "";
}

.tone-instagram .page-eyebrow { color: var(--aqua); }

.page-hero-copy h1 {
  color: var(--navy);
  font-size: clamp(2.75rem, 3.5vw, 3.25rem);
  line-height: 1.17;
  letter-spacing: -0.055em;
}

.page-hero-copy h1 span,
.page-hero-copy h1 em {
  display: block;
  text-wrap: balance;
}

.page-hero-copy h1 em {
  color: var(--blue);
  font-style: normal;
}

.page-hero-copy > p:not(.page-eyebrow) {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.22vw, 1.1rem);
}

.tone-instagram .page-hero-copy h1,
.tone-instagram .page-hero-copy h1 em { color: var(--white); }
.tone-instagram .page-hero-copy h1 em { color: var(--yellow); }
.tone-instagram .page-hero-copy > p:not(.page-eyebrow) { color: rgba(255, 255, 255, 0.78); }

.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.page-tags span {
  padding: 7px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(10, 20, 91, 0.09);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.page-hero-photo {
  position: relative;
  margin: 0;
  filter: drop-shadow(0 28px 52px rgba(7, 31, 85, 0.18));
}

.page-hero-photo::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  background: var(--aqua);
  border-radius: 42px 42px 130px 42px;
  content: "";
}

.page-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: center;
  border: 8px solid var(--white);
  border-radius: 42px 42px 130px 42px;
}

.page-hero-photo.sign-photo img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.page-hero-photo figcaption,
.schedule-board figcaption,
.news-visual figcaption,
.question-visual figcaption,
.member-dashboard figcaption,
.contact-visual figcaption,
.legal-visual figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 9px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
}

.hero-contact,
.cta-row,
.address-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.page-section {
  padding-block: clamp(86px, 9vw, 144px);
}

.section-tint { background: #f2fbfd; }
.section-navy { color: var(--white); background: var(--navy); }

.page-heading {
  max-width: 640px;
}

.page-heading.centered {
  max-width: 930px;
  margin-inline: auto;
  text-align: center;
}

.page-heading.centered .section-kicker { justify-content: center; }

.page-heading h2,
.memo-panel h2,
.info-strip h2,
.member-notice h2,
.address-mini h2 {
  color: var(--navy);
  font-size: clamp(2.25rem, 4.25vw, 4.5rem);
  line-height: 1.22;
  letter-spacing: -0.055em;
}

.page-heading h2 span,
.page-heading h2 em {
  display: block;
  text-wrap: balance;
}

.page-heading h2 em,
.memo-panel h2 em,
.info-strip h2 em,
.member-notice h2 em,
.address-mini h2 em {
  color: var(--blue);
  font-style: normal;
}

.page-heading > p:last-child {
  margin-top: 24px;
  color: var(--muted);
}

.page-heading.light h2,
.page-heading.light h2 em,
.section-navy .member-notice h2,
.section-navy .member-notice h2 em,
.section-navy .address-mini h2 { color: var(--white); }
.page-heading.light > p:last-child { color: rgba(255, 255, 255, 0.72); }
.section-navy .section-kicker { color: rgba(255, 255, 255, 0.68); }

.page-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.74rem;
  text-align: right;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.feature-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 36px;
  background: #f7fcfd;
  border: 1px solid var(--line);
  border-radius: 30px;
}

.feature-card > span {
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.feature-card > i {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 28px 0 24px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-style: normal;
  font-size: 1.55rem;
  font-weight: 900;
}

.feature-card h3 { color: var(--navy); font-size: 1.35rem; line-height: 1.4; }
.feature-card p { margin-top: 13px; color: var(--muted); font-size: 0.9rem; }
.safety-cards .feature-card > i { background: var(--navy); }

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
}

.media-right { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.media-left { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }

.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.wide-photo figcaption { margin-top: 12px; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; }

.number-flow {
  display: grid;
  gap: 16px;
}

.number-flow li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.number-flow li > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
}

.number-flow h3 { color: var(--navy); font-size: 1.15rem; }
.number-flow p { margin-top: 5px; color: var(--muted); font-size: 0.86rem; }

.memo-panel,
.info-strip,
.member-notice,
.address-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  padding: clamp(38px, 6vw, 76px);
  background: var(--aqua-pale);
  border-radius: clamp(30px, 5vw, 58px);
}

.memo-panel > div > p:last-child { margin-top: 18px; color: var(--muted); }

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

.check-list li {
  position: relative;
  padding: 14px 14px 14px 44px;
  color: var(--navy);
  background: var(--white);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  content: "✓";
  font-size: 0.65rem;
  transform: translateY(-50%);
}

.page-end-cta {
  padding-block: clamp(76px, 8vw, 122px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.page-end-cta::before {
  position: absolute;
  top: 0;
  right: 7%;
  width: 170px;
  height: 90px;
  border: 2px solid rgba(21, 201, 232, 0.25);
  border-top: 0;
  border-radius: 0 0 100px 100px;
  content: "";
}

.page-end-cta.yellow { color: var(--navy); background: var(--yellow); }

.page-end-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(46px, 9vw, 130px);
}

.page-end-grid > div:first-child > p {
  margin-bottom: 18px;
  color: var(--aqua);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.page-end-cta.yellow .page-end-grid > div:first-child > p { color: var(--blue); }

.page-end-grid h2 {
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.page-end-grid h2 em { color: var(--yellow); font-style: normal; }
.page-end-cta.yellow h2 em { color: var(--blue); }
.page-end-grid > div:last-child > p { color: rgba(255, 255, 255, 0.74); }
.page-end-cta.yellow .page-end-grid > div:last-child > p { color: rgba(10, 20, 91, 0.75); }

/* Privacy: preserve the intended two-line reading without orphaning 「は。」. */
.page-privacy .page-end-grid h2 {
  font-size: clamp(2.2rem, 3.35vw, 3.25rem);
}

.page-privacy .page-end-grid h2 > span,
.page-privacy .page-end-grid h2 > em {
  display: block;
  white-space: nowrap;
}

.text-link-light,
.text-link-dark {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 800;
}
.text-link-light { color: var(--white); }
.text-link-dark { color: var(--navy); }

.class-detail-list { display: grid; gap: clamp(60px, 9vw, 120px); margin-top: 70px; }
.class-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(48px, 7vw, 96px); }
.class-detail.reverse > figure { order: 2; }
.class-detail figure { position: relative; margin: 0; }
.class-detail figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 38px; }
.class-detail figure > span { position: absolute; right: 18px; bottom: 18px; display: grid; width: 60px; height: 60px; place-items: center; color: var(--white); background: var(--navy); border: 5px solid var(--white); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.74rem; font-weight: 900; }
.class-detail > div > p:first-child { color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.14em; }
.class-detail h3 { margin-top: 12px; color: var(--navy); font-size: clamp(2rem, 3.2vw, 3.45rem); line-height: 1.25; letter-spacing: -0.045em; }
.page-classes .class-detail:last-child h3 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  white-space: nowrap;
}
.class-detail > div > p:not(:first-child) { margin-top: 20px; color: var(--muted); }
.class-detail ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.class-detail li { padding: 7px 12px; color: var(--navy); background: var(--aqua-pale); border-radius: 999px; font-size: 0.72rem; font-weight: 800; }

.progress-road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 34px; }
.progress-road li { position: relative; min-height: 250px; padding: 34px 28px; }
.progress-road li + li { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.progress-road span { display: grid; width: 48px; height: 48px; place-items: center; color: var(--navy); background: var(--aqua); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.68rem; font-weight: 900; }
.progress-road h3 { margin-top: 36px; font-size: 1.25rem; }
.progress-road p { margin-top: 12px; color: rgba(255, 255, 255, 0.68); font-size: 0.82rem; }

.info-strip { background: #f3f8ff; }
.page-classes .info-strip h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
  white-space: nowrap;
}
.info-strip > div:last-child > p { color: var(--muted); }
.info-strip .button { margin-top: 24px; }

.fact-list { display: grid; gap: 2px; margin-top: 32px; }
.fact-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.08em; }
.fact-list dd { color: var(--navy); font-size: 0.82rem; font-weight: 800; }

.step-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 58px; counter-reset: item; }
.step-cards li { min-height: 310px; padding: 30px; background: #f7fcfd; border: 1px solid var(--line); border-radius: 26px; }
.step-cards li > span { display: grid; width: 52px; height: 52px; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.7rem; font-weight: 900; }
.step-cards li > p:first-of-type { margin-top: 34px; color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.14em; }
.step-cards h3 { margin-top: 8px; color: var(--navy); font-size: 1.13rem; line-height: 1.45; }
.step-cards h3 + p { margin-top: 14px; color: var(--muted); font-size: 0.83rem; }

.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 54px; }
.contact-card { display: flex; min-height: 300px; flex-direction: column; align-items: flex-start; padding: clamp(30px, 4vw, 50px); color: var(--navy); background: var(--aqua-pale); border-radius: 34px; }
.contact-card.dark { color: var(--white); background: var(--navy); }
.contact-card > i { display: grid; width: 58px; height: 58px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-style: normal; font-size: 1.25rem; }
.contact-card.dark > i { color: var(--navy); background: var(--aqua); }
.contact-card > p { margin-top: 30px; font-family: Arial, Helvetica, sans-serif; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.14em; }
.contact-card h3 { margin-top: 8px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.2rem, 2.5vw, 2rem); line-height: 1.3; overflow-wrap: anywhere; }
.contact-card > span { margin-top: 14px; color: var(--muted); font-size: 0.82rem; }
.contact-card.dark > span { color: rgba(255, 255, 255, 0.7); }
.contact-card strong { margin-top: auto; padding-top: 28px; font-size: 0.78rem; }

/* Schedule */
.schedule-board { position: relative; overflow: hidden; min-height: 430px; margin: 0; color: var(--white); background: var(--navy); border: 8px solid var(--white); border-radius: 42px; box-shadow: var(--shadow); }
.schedule-board::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 15, 70, 0.28) 0%, transparent 32%, transparent 58%, rgba(6, 15, 70, 0.7) 100%); content: ""; pointer-events: none; }
.schedule-board > picture { position: absolute; inset: 0; display: block; }
.schedule-board > picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.005); }
.schedule-board-top { position: absolute; top: 28px; left: 28px; z-index: 2; display: flex; width: max-content; max-width: calc(100% - 56px); flex-direction: column; align-items: flex-start; gap: 7px; }
.schedule-board-top span { padding: 8px 11px; color: var(--navy); background: var(--aqua); border-radius: 999px; font-family: Arial, Helvetica, sans-serif; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.16em; }
.schedule-board-top strong { padding: 8px 12px; background: rgba(5, 15, 71, 0.72); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; box-shadow: 0 8px 22px rgba(6, 15, 70, 0.15); font-size: 0.82rem; backdrop-filter: blur(8px); }
.schedule-board-days { position: absolute; right: 24px; bottom: 25px; left: 24px; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px; background: rgba(5, 15, 71, 0.78); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 19px; box-shadow: 0 16px 30px rgba(6, 15, 70, 0.18); backdrop-filter: blur(9px); }
.schedule-board-days span { display: grid; min-height: 42px; place-items: center; color: var(--navy); background: var(--white); border-radius: 12px; font-size: 0.72rem; font-weight: 900; }
.schedule-board-days span:nth-child(2) { background: #dffaff; }
.schedule-board-days span:nth-child(3) { background: #fff2a8; }
.schedule-board-days span:nth-child(4) { background: #ffe4e7; }
.schedule-board figcaption { right: 28px; bottom: 96px; z-index: 2; color: var(--white); background: rgba(5, 15, 71, 0.76); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); }

.status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 58px; }
.status-card { display: flex; min-height: 330px; flex-direction: column; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 27px; box-shadow: 0 16px 35px rgba(7, 31, 85, 0.06); }
.status-card > span { color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.68rem; font-weight: 900; }
.status-card > p:first-of-type { margin-top: 32px; color: var(--aqua); font-family: Arial, Helvetica, sans-serif; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.13em; }
.status-card h3 { margin-top: 8px; color: var(--navy); font-size: 1.2rem; }
.status-card h3 + p { margin-top: 13px; color: var(--muted); font-size: 0.82rem; }
.status-card strong { margin-top: auto; padding-top: 24px; color: var(--coral); font-size: 0.72rem; }

.channel-grid { display: grid; gap: 13px; }
.channel-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 20px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.channel-card > i { display: grid; width: 58px; height: 58px; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-style: normal; font-size: 1.1rem; }
.channel-card p { color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.6rem; font-weight: 900; letter-spacing: 0.14em; }
.channel-card h3 { color: var(--navy); font-size: 1rem; overflow-wrap: anywhere; }
.channel-card span { color: var(--muted); font-size: 0.72rem; font-weight: 700; }

/* Access */
.address-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; }
.address-card { display: flex; min-height: 500px; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 76px); color: var(--white); background: var(--navy); border-radius: 40px; }
.address-card > p { color: var(--aqua); font-family: Arial, Helvetica, sans-serif; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.18em; }
.address-card h2 { margin-top: 24px; font-size: clamp(1.8rem, 2.7vw, 2.5rem); line-height: 1.35; letter-spacing: -0.045em; }
.address-card h2 > span { display: block; white-space: nowrap; }
.address-card > strong { margin-top: 15px; color: var(--yellow); }
.address-actions { align-items: flex-start; flex-direction: column; }
.address-actions > a:last-child { color: var(--aqua); font-family: Arial, Helvetica, sans-serif; font-weight: 900; }
.arrival-route { padding: clamp(34px, 5vw, 58px); background: #f4fbfd; border-radius: 40px; }
.arrival-route ol { display: grid; gap: 24px; margin-top: 32px; }
.arrival-route li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
.arrival-route li > span { display: grid; width: 44px; height: 44px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.66rem; font-weight: 900; }
.arrival-route h3 { color: var(--navy); font-size: 1rem; }
.arrival-route p { margin-top: 5px; color: var(--muted); font-size: 0.8rem; }
.transport-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.transport-grid article { position: relative; min-height: 280px; overflow: hidden; padding: 34px; background: var(--white); border-radius: 28px; }
.transport-grid article::after { position: absolute; right: -50px; bottom: -50px; width: 140px; height: 140px; background: var(--aqua-pale); border-radius: 50%; content: ""; }
.transport-grid i { color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.68rem; font-style: normal; font-weight: 900; letter-spacing: 0.18em; }
.transport-grid h3 { margin-top: 54px; color: var(--navy); font-size: 1.3rem; }
.transport-grid p { margin-top: 13px; color: var(--muted); font-size: 0.85rem; }

/* News */
.news-visual { position: relative; margin: 0; }
.news-phone { overflow: hidden; width: min(390px, 90%); margin: auto; color: var(--ink); background: var(--white); border: 7px solid var(--white); border-radius: 40px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24); transform: rotate(1.35deg); }
.news-phone-head { display: flex; align-items: center; gap: 10px; padding: 13px; }
.news-phone-head img { width: 36px; height: 36px; }
.news-phone-head strong { min-width: 0; margin-right: auto; font-size: 0.72rem; }
.news-phone > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.news-phone-foot { display: flex; align-items: center; gap: 13px; padding: 16px; font-size: 1.1rem; }
.news-phone-foot strong { margin-left: auto; font-size: 0.62rem; }
.news-visual figcaption { right: 5%; bottom: -20px; }
.info-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.info-topic-grid article { min-height: 330px; padding: 36px; background: #f7fcfd; border-radius: 32px; }
.info-topic-grid article > span { display: grid; width: 48px; height: 48px; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.68rem; font-weight: 900; }
.info-topic-grid i { display: block; margin-top: 50px; color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.65rem; font-style: normal; font-weight: 900; letter-spacing: 0.15em; }
.info-topic-grid h3 { margin-top: 8px; color: var(--navy); font-size: 1.3rem; }
.info-topic-grid p { margin-top: 14px; color: var(--muted); font-size: 0.85rem; }
.official-route { display: grid; gap: 12px; }
.official-route a { display: grid; grid-template-columns: 48px minmax(0, 1fr) 36px; align-items: center; gap: 18px; padding: 18px 20px; color: var(--navy); background: var(--white); border-radius: 18px; }
.official-route a > span { display: grid; width: 44px; height: 44px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.64rem; font-weight: 900; }
.official-route p { color: var(--muted); font-size: 0.66rem; }
.official-route h3 { font-size: 1rem; }
.official-route a > i { color: var(--blue); font-style: normal; font-weight: 900; text-align: center; }

/* FAQ */
.question-visual { position: relative; min-height: 430px; margin: 0; }
.question-visual > span { position: absolute; display: grid; min-width: 150px; min-height: 64px; place-items: center; padding: 12px 18px; color: var(--navy); background: var(--white); border: 2px solid var(--navy); border-radius: 999px; font-size: 0.78rem; font-weight: 900; box-shadow: 0 16px 35px rgba(7, 31, 85, 0.1); }
.question-visual > span:nth-child(1) { top: 10%; left: 3%; transform: rotate(-5deg); }
.question-visual > span:nth-child(2) { top: 5%; right: 0; transform: rotate(5deg); }
.question-visual > span:nth-child(3) { bottom: 24%; left: 0; transform: rotate(3deg); }
.question-visual > span:nth-child(4) { right: 2%; bottom: 18%; transform: rotate(-4deg); }
.question-visual > strong { position: absolute; inset: 50% auto auto 50%; display: grid; width: 170px; height: 170px; place-items: center; color: var(--white); background: var(--navy); border: 12px solid var(--aqua); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 3rem; line-height: 1; text-align: center; transform: translate(-50%, -50%); }
.question-visual > strong span { color: var(--yellow); }
.question-visual figcaption { right: 50%; bottom: 0; transform: translateX(50%); white-space: nowrap; }
.faq-page-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: clamp(48px, 8vw, 120px); }
.faq-index { position: sticky; top: calc(var(--header-height) + 30px); padding: 32px; background: var(--aqua-pale); border-radius: 28px; }
.faq-index h2 { color: var(--navy); font-size: 1.9rem; line-height: 1.4; letter-spacing: -0.04em; }
.faq-index h2 em { color: var(--blue); font-style: normal; }
.faq-index nav { display: grid; gap: 2px; margin-top: 28px; }
.faq-index nav a { padding: 12px 0; border-bottom: 1px solid rgba(10, 20, 91, 0.12); font-size: 0.78rem; font-weight: 800; }
.faq-index > p:last-child { margin-top: 24px; color: var(--muted); font-size: 0.74rem; }
.faq-groups { display: grid; gap: 78px; }
.faq-group > p { color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.16em; }
.faq-group > h2 { margin: 8px 0 24px; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.8rem); }
.faq-group details { border-top: 1px solid var(--line); }
.faq-group details:last-child { border-bottom: 1px solid var(--line); }
.faq-group summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) 34px; align-items: center; gap: 16px; padding: 23px 4px; cursor: pointer; list-style: none; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary > span,
.faq-group details > div > span { display: grid; width: 38px; height: 38px; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.74rem; font-weight: 900; }
.faq-group summary strong { color: var(--navy); font-size: 0.95rem; }
.faq-group summary i { color: var(--blue); font-style: normal; font-size: 1.3rem; transition: transform 0.2s ease; }
.faq-group details[open] summary i { transform: rotate(45deg); }
.faq-group details > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 0 4px 25px; }
.faq-group details > div > span { color: var(--navy); background: var(--aqua); }
.faq-group details > div p { color: var(--muted); font-size: 0.86rem; }

/* Members */
.member-dashboard { position: relative; overflow: hidden; margin: 0; padding: 32px; color: var(--white); background: var(--navy); border: 8px solid var(--white); border-radius: 38px; box-shadow: var(--shadow); }
.member-dashboard > div { position: relative; min-height: 110px; padding: 10px; }
.member-dashboard > div > span { color: var(--aqua); font-family: Arial, Helvetica, sans-serif; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.15em; }
.member-dashboard > div > strong { display: block; margin-top: 8px; font-size: 1.3rem; }
.member-dashboard > div > i { position: absolute; top: 0; right: 0; display: grid; width: 68px; height: 68px; place-items: center; color: var(--navy); background: var(--yellow); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.65rem; font-style: normal; font-weight: 900; }
.member-dashboard ul { display: grid; gap: 8px; }
.member-dashboard li { display: grid; grid-template-columns: 42px 1fr 22px; align-items: center; gap: 12px; padding: 15px; color: var(--navy); background: var(--white); border-radius: 14px; }
.member-dashboard li b { display: grid; width: 36px; height: 36px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.62rem; }
.member-dashboard li span { font-size: 0.82rem; font-weight: 800; }
.member-dashboard li i { color: var(--blue); font-style: normal; }
.member-dashboard figcaption.member-dashboard-note { position: static; right: auto; bottom: auto; display: flex; align-items: center; gap: 9px; max-width: none; margin: 14px 4px 0; padding: 12px 0 0; color: rgba(255, 255, 255, 0.76); background: transparent; border-top: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0; font-size: 0.66rem; font-weight: 700; line-height: 1.55; text-align: left; transform: none; white-space: normal; }
.member-dashboard figcaption.member-dashboard-note > span { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; color: var(--navy); background: var(--aqua); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.62rem; font-weight: 900; }
.member-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.member-action-grid > a { display: grid; min-height: 290px; grid-template-columns: 56px 1fr; align-content: start; gap: 0 18px; padding: 34px; color: var(--navy); background: #f6fbfd; border: 1px solid var(--line); border-radius: 28px; }
.member-action-grid > a > span { display: grid; width: 52px; height: 52px; grid-row: 1 / 5; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.68rem; font-weight: 900; }
.member-action-grid i { color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.64rem; font-style: normal; font-weight: 900; letter-spacing: 0.14em; }
.member-action-grid h3 { margin-top: 10px; font-size: 1.3rem; }
.member-action-grid p { margin-top: 13px; color: var(--muted); font-size: 0.83rem; }
.member-action-grid strong { align-self: end; margin-top: 24px; color: var(--coral); font-size: 0.73rem; }
.member-check-list { display: grid; gap: 12px; }
.member-check-list li { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px; background: var(--white); border-radius: 18px; }
.member-check-list li > span { display: grid; width: 46px; height: 46px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.66rem; font-weight: 900; }
.member-check-list p { display: grid; }
.member-check-list strong { color: var(--navy); font-size: 0.9rem; }
.member-check-list small { margin-top: 3px; color: var(--muted); font-size: 0.7rem; }
.member-notice { background: rgba(255, 255, 255, 0.08); }
.member-notice > div:last-child > p { color: rgba(255, 255, 255, 0.72); }
.member-notice .button { margin-top: 24px; }

/* Contact */
.contact-visual { position: relative; margin: 0; }
.contact-visual figcaption { right: auto; bottom: 0; left: 30px; }
.contact-cards-large .contact-card { min-height: 360px; }
.form-status { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(220px, 0.65fr); align-items: center; gap: clamp(30px, 5vw, 70px); padding: clamp(34px, 5vw, 62px); color: var(--navy); background: #fff6e8; border: 1px solid #f0dfc6; border-radius: 38px; }
.form-status > div:first-child { display: grid; justify-items: start; }
.form-status > div:first-child span { color: var(--coral); font-family: Arial, Helvetica, sans-serif; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.14em; }
.form-status > div:first-child strong { display: grid; width: 80px; height: 80px; place-items: center; margin-top: 16px; color: var(--white); background: var(--coral); border-radius: 50%; font-size: 2rem; }
.form-status h2 { font-size: clamp(1.8rem, 3.1vw, 3.1rem); line-height: 1.35; letter-spacing: -0.04em; }
.form-status h2 em { color: var(--coral); font-style: normal; }
.form-status h2 + p { margin-top: 16px; color: var(--muted); font-size: 0.84rem; }
.form-status > div:last-child { display: grid; gap: 8px; padding: 22px; background: var(--white); border-radius: 18px; }
.form-status > div:last-child p { color: var(--blue); font-size: 0.68rem; font-weight: 900; }
.form-status > div:last-child a { color: var(--navy); font-family: Arial, Helvetica, sans-serif; font-size: 0.8rem; font-weight: 900; overflow-wrap: anywhere; }
.address-mini { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.address-mini > div > p { color: var(--aqua); font-family: Arial, Helvetica, sans-serif; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.16em; }
.address-mini h2 { margin-top: 14px; font-size: clamp(1.8rem, 3.2vw, 3.4rem); }
.address-mini span { display: block; margin-top: 12px; color: var(--yellow); font-weight: 800; }
.address-mini .button { justify-self: end; }

/* Legal */
.legal-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr); }
.legal-visual { position: relative; min-height: 390px; margin: 0; }
.legal-visual > span { position: absolute; display: grid; width: 70px; height: 70px; place-items: center; color: var(--white); background: var(--blue); border: 7px solid var(--white); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.7rem; font-weight: 900; box-shadow: var(--shadow); }
.legal-visual > span:nth-child(1) { top: 10%; left: 8%; }
.legal-visual > span:nth-child(2) { top: 20%; right: 3%; background: var(--aqua); color: var(--navy); }
.legal-visual > span:nth-child(3) { bottom: 9%; left: 18%; background: var(--yellow); color: var(--navy); }
.legal-visual > strong { position: absolute; inset: 50% auto auto 50%; display: grid; width: 210px; height: 240px; place-items: center; color: var(--white); background: var(--navy); border-radius: 105px 105px 42px 42px; font-family: Arial, Helvetica, sans-serif; font-size: 1.3rem; line-height: 1.4; letter-spacing: 0.08em; text-align: center; transform: translate(-50%, -50%); }
.legal-visual figcaption { right: 50%; bottom: 0; transform: translateX(50%); white-space: nowrap; }
.legal-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); align-items: start; gap: clamp(48px, 8vw, 120px); }
.legal-status { position: sticky; top: calc(var(--header-height) + 30px); padding: 34px; color: var(--white); background: var(--navy); border-radius: 30px; }
.legal-status > span { color: var(--aqua); font-family: Arial, Helvetica, sans-serif; font-size: 0.6rem; font-weight: 900; letter-spacing: 0.13em; }
.legal-status h2 { margin-top: 18px; font-size: 1.9rem; line-height: 1.35; }
.legal-status h2 em { color: var(--yellow); font-style: normal; }
.legal-status > p { margin-top: 18px; color: rgba(255, 255, 255, 0.7); font-size: 0.77rem; }
.legal-status dl { display: grid; gap: 8px; margin-top: 28px; }
.legal-status dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.7rem; }
.legal-status dd { color: var(--aqua); font-weight: 900; }
.legal-content { display: grid; gap: 0; }
.legal-section { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 28px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.legal-section:first-child { padding-top: 0; }
.legal-section > p { display: grid; width: 52px; height: 52px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.68rem; font-weight: 900; }
.legal-section h2 { color: var(--navy); font-size: 1.35rem; line-height: 1.5; }
.legal-section h2 + p,
.legal-section div > p { margin-top: 14px; color: var(--muted); font-size: 0.86rem; }
.legal-section a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.legal-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.legal-list li { position: relative; padding: 12px 12px 12px 34px; color: var(--navy); background: #f4f9fc; border-radius: 12px; font-size: 0.76rem; font-weight: 800; }
.legal-list li::before { position: absolute; left: 14px; color: var(--blue); content: "•"; }
.legal-note { padding: 18px; background: #fff8dc; border-radius: 14px; }

/* Shared footer and 404 */
.footer-main-wide { grid-template-columns: 0.9fr 1.45fr 0.68fr; align-items: start; }
.footer-heading { margin-bottom: 17px; color: var(--aqua); font-family: Arial, Helvetica, sans-serif; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.18em; }
.footer-navigation { min-width: 0; }
.footer-sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.footer-sitemap nav { display: grid; align-content: start; gap: 9px; }
.footer-sitemap strong { margin-bottom: 4px; color: var(--white); font-size: 0.76rem; letter-spacing: 0.06em; }
.footer-sitemap a { padding-bottom: 7px; color: rgba(255, 255, 255, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.11); font-size: 0.7rem; font-weight: 700; transition: color 0.2s ease, border-color 0.2s ease; }
.footer-sitemap a:hover,
.footer-sitemap a[aria-current="page"] { color: var(--white); border-color: var(--aqua); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

@media (max-width: 1180px) {
  .page-hero-grid { gap: 54px; }
  .page-hero-copy h1 { font-size: clamp(2.25rem, 3.9vw, 2.9rem); }
  .tone-green .page-hero-copy h1 { font-size: clamp(2.15rem, 3.55vw, 2.7rem); }
  .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-card { min-height: 280px; }
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-cards li { min-height: 270px; }
  .footer-main-wide { grid-template-columns: 1fr 1.4fr; }
  .footer-main-wide .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .global-nav a[aria-current="page"] { color: var(--blue); }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, 0.68fr); }
  .page-hero-photo img { border-width: 6px; }
  .progress-road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress-road li:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, 0.18); border-left: 0; }
  .progress-road li:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .form-status { grid-template-columns: 110px minmax(0, 1fr); }
  .form-status > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .page-hero { padding-block: 62px 86px; }
  .page-hero-grid,
  .legal-hero-grid { grid-template-columns: 1fr; }
  .page-hero-copy { max-width: 760px; }
  .page-hero-photo,
  .schedule-board,
  .news-visual,
  .question-visual,
  .member-dashboard,
  .contact-visual,
  .legal-visual { width: min(580px, 88%); margin-inline: auto; }
  .page-hero-photo img { aspect-ratio: 4 / 3; }
  .schedule-board { min-height: 400px; }
  .news-visual { min-height: 500px; }
  .news-phone { width: 380px; }
  .split-layout,
  .media-right,
  .media-left,
  .address-grid { grid-template-columns: 1fr; }
  .media-left > figure { order: 2; }
  .page-heading { max-width: 760px; }
  .feature-cards,
  .transport-grid,
  .info-topic-grid { grid-template-columns: 1fr; }
  .feature-card,
  .transport-grid article,
  .info-topic-grid article { min-height: 0; }
  .transport-grid article,
  .info-topic-grid article { padding: 30px; }
  .transport-grid h3,
  .info-topic-grid i { margin-top: 28px; }
  .class-detail,
  .class-detail.reverse { grid-template-columns: 1fr; }
  .class-detail.reverse > figure { order: 0; }
  .class-detail figure { width: min(680px, 100%); }
  .page-end-grid,
  .memo-panel,
  .info-strip,
  .member-notice,
  .address-mini { grid-template-columns: 1fr; }
  .address-mini .button { justify-self: start; }
  .faq-page-grid,
  .legal-layout { grid-template-columns: 1fr; }
  .faq-index,
  .legal-status { position: static; }
  .faq-index nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .faq-groups { gap: 62px; }
  .footer-main-wide { grid-template-columns: 1fr; }
  .footer-main-wide .footer-links { grid-column: auto; }
}

@media (max-width: 760px) {
  .subpage-main { padding-top: var(--header-height); }
  .page-hero { padding-block: 50px 76px; }
  .page-hero-grid { gap: 48px; }
  .breadcrumb { margin-bottom: 25px; }
  .page-hero-copy h1 { font-size: clamp(2.2rem, 6.3vw, 2.8rem); line-height: 1.2; }
  .page-hero-copy > p:not(.page-eyebrow) { margin-top: 22px; }
  .page-hero-photo,
  .schedule-board,
  .news-visual,
  .question-visual,
  .member-dashboard,
  .contact-visual,
  .legal-visual { width: calc(100% - 12px); }
  .page-hero-photo::before { inset: 12px -12px -12px 12px; border-radius: 30px 30px 80px 30px; }
  .page-hero-photo img { border-radius: 30px 30px 80px 30px; }
  .page-hero-photo figcaption { right: 12px; bottom: 12px; }
  .page-section { padding-block: 82px; }
  .page-heading h2,
  .memo-panel h2,
  .info-strip h2,
  .member-notice h2,
  .address-mini h2 { font-size: clamp(2.05rem, 9.5vw, 3.5rem); }
  .feature-cards { margin-top: 42px; }
  .feature-card { min-height: 0; padding: 28px; }
  .feature-card > i { margin: 22px 0 18px; }
  .check-list { grid-template-columns: 1fr; }
  .page-end-grid { gap: 30px; }
  .page-end-grid h2 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .text-link-light,
  .text-link-dark { width: fit-content; }
  .class-detail-list { margin-top: 52px; }
  .class-detail { gap: 32px; }
  .class-detail figure img { border-radius: 28px; }
  .progress-road { grid-template-columns: 1fr; }
  .progress-road li { min-height: 0; padding: 28px; }
  .progress-road li + li,
  .progress-road li:nth-child(3),
  .progress-road li:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.18); border-left: 0; }
  .progress-road h3 { margin-top: 22px; }
  .fact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .step-cards,
  .status-grid,
  .contact-cards,
  .member-action-grid { grid-template-columns: 1fr; }
  .status-card,
  .step-cards li { min-height: 0; }
  .contact-card { min-height: 300px; }
  .address-card { min-height: 0; }
  .question-visual { min-height: 390px; }
  .question-visual > span { min-width: 125px; min-height: 54px; padding: 9px 13px; font-size: 0.68rem; }
  .question-visual > strong { width: 140px; height: 140px; border-width: 9px; font-size: 2.4rem; }
  .faq-index nav { grid-template-columns: 1fr; }
  .faq-group summary { grid-template-columns: 38px minmax(0, 1fr) 25px; gap: 10px; }
  .faq-group details > div { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
  .member-action-grid > a { min-height: 0; }
  .form-status { grid-template-columns: 1fr; }
  .form-status > div:last-child { grid-column: auto; }
  .legal-section { grid-template-columns: 46px minmax(0, 1fr); gap: 18px; }
  .legal-section > p { width: 44px; height: 44px; }
  .legal-list { grid-template-columns: 1fr; }
  .footer-sitemap { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .page-hero-copy h1 { font-size: clamp(1.5rem, 7.65vw, 3rem); letter-spacing: -0.055em; }
  .tone-green .page-hero-copy h1 { font-size: clamp(1.5rem, 7.3vw, 2.9rem); }
  .page-heading h2,
  .memo-panel h2,
  .info-strip h2,
  .member-notice h2,
  .address-mini h2 { font-size: clamp(1.7rem, 7.65vw, 2.8rem); }
  .member-notice h2 { font-size: clamp(1.65rem, 7.1vw, 2.6rem); }
  .page-eyebrow { letter-spacing: 0.14em; }
  .page-tags { gap: 6px; }
  .page-tags span { padding: 6px 10px; font-size: 0.64rem; }
  .hero-contact { display: grid; }
  .hero-contact .button { width: 100%; }
  .schedule-board { min-height: 330px; border-width: 5px; }
  .schedule-board-top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .schedule-board-days { right: 12px; bottom: 12px; left: 12px; gap: 5px; padding: 7px; }
  .schedule-board-days span { min-height: 38px; font-size: 0.65rem; }
  .schedule-board figcaption { right: 12px; bottom: 74px; max-width: calc(100% - 24px); text-align: center; }
  .news-visual { min-height: 420px; }
  .news-phone { width: min(310px, 94%); }
  .news-visual figcaption { right: 50%; bottom: -4px; transform: translateX(50%); white-space: nowrap; }
  .question-visual { min-height: 350px; }
  .question-visual > span:nth-child(1) { left: 0; }
  .question-visual > span:nth-child(2) { right: 0; }
  .question-visual > span:nth-child(3) { left: 0; }
  .question-visual > span:nth-child(4) { right: 0; }
  .question-visual figcaption,
  .legal-visual figcaption { max-width: 100%; padding-inline: 10px; font-size: 0.58rem; text-align: center; }
  .member-dashboard { padding: 22px; border-width: 5px; }
  .member-dashboard > div > i { width: 58px; height: 58px; }
  .contact-visual figcaption { left: 0; }
  .legal-visual { min-height: 350px; }
  .legal-visual > strong { width: 170px; height: 200px; font-size: 1rem; }
  .memo-panel,
  .info-strip,
  .member-notice,
  .address-mini,
  .address-card,
  .arrival-route,
  .form-status { padding: 28px 22px; border-radius: 28px; }
  .address-card h2 { font-size: clamp(1.25rem, 6.3vw, 1.65rem); }
  .contact-card h3 { font-size: 1.2rem; }
  .cta-row { display: grid; width: 100%; }
  .cta-row .button { width: 100%; }
  .not-found-actions { display: grid; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .news-phone,
  .question-visual > span {
    transform: none !important;
  }
}

/* Access: first-visit callout */
.access-call-strip {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 4.5vw, 64px);
  padding: clamp(42px, 5vw, 64px);
}

.access-call-strip h2 {
  font-size: clamp(2.4rem, 3.8vw, 3.65rem);
  line-height: 1.18;
}

.access-call-strip h2 span,
.access-call-strip h2 em {
  display: block;
  white-space: nowrap;
}

.access-call-contact {
  min-width: 0;
}

.access-call-contact > p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.access-call-contact .button {
  min-width: min(100%, 240px);
}

@media (max-width: 900px) {
  .access-call-strip {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .access-call-strip h2 {
    font-size: clamp(2rem, 7vw, 3.25rem);
  }
}

@media (max-width: 560px) {
  .access-call-strip {
    gap: 26px;
  }

  .access-call-strip h2 {
    font-size: clamp(1.6rem, 7.2vw, 2.15rem);
  }

  .access-call-contact .button {
    width: 100%;
  }
}

/* Lower-page decorative system */
.subpage-body {
  --page-accent: var(--aqua);
  --page-accent-2: var(--blue);
  --page-rgb: 21 201 232;
}

.page-beginner { --page-accent: #15c9e8; --page-accent-2: #087bd7; --page-rgb: 21 201 232; }
.page-classes { --page-accent: #087bd7; --page-accent-2: #15c9e8; --page-rgb: 8 123 215; }
.page-schedule { --page-accent: #ffd85a; --page-accent-2: #087bd7; --page-rgb: 255 216 90; }
.page-facility { --page-accent: #52d6ee; --page-accent-2: #087bd7; --page-rgb: 82 214 238; }
.page-access { --page-accent: #36c990; --page-accent-2: #087bd7; --page-rgb: 54 201 144; }
.page-trial { --page-accent: #ff4c5b; --page-accent-2: #ffd85a; --page-rgb: 255 76 91; }
.page-news { --page-accent: #ffd85a; --page-accent-2: #15c9e8; --page-rgb: 255 216 90; }
.page-faq { --page-accent: #ffd85a; --page-accent-2: #15c9e8; --page-rgb: 255 216 90; }
.page-members { --page-accent: #15c9e8; --page-accent-2: #ffd85a; --page-rgb: 21 201 232; }
.page-recruit { --page-accent: #ff4c5b; --page-accent-2: #ffd85a; --page-rgb: 255 76 91; }
.page-contact { --page-accent: #ff4c5b; --page-accent-2: #15c9e8; --page-rgb: 255 76 91; }
.page-privacy { --page-accent: #087bd7; --page-accent-2: #15c9e8; --page-rgb: 8 123 215; }

.subpage-body .page-hero {
  isolation: isolate;
}

.subpage-body .page-hero-grid,
.subpage-body .page-section > .container,
.subpage-body .page-end-grid {
  position: relative;
  z-index: 2;
}

.subpage-body .page-section:not(.section-navy):not(.page-end-cta)::after {
  position: absolute;
  top: 14%;
  left: -92px;
  width: 180px;
  height: 180px;
  border: 2px solid rgb(var(--page-rgb) / 0.1);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgb(var(--page-rgb) / 0.035);
  content: "";
  pointer-events: none;
}

.subpage-body .page-section:nth-of-type(even):not(.section-navy):not(.page-end-cta)::after {
  right: -96px;
  left: auto;
}

.subpage-body .page-heading.centered {
  position: relative;
  padding-bottom: 31px;
}

.subpage-body .page-heading.centered::after {
  display: block;
  width: 94px;
  height: 8px;
  margin: 27px auto 0;
  background: linear-gradient(90deg, var(--page-accent) 0 29%, transparent 29% 36%, var(--page-accent-2) 36% 65%, transparent 65% 72%, var(--page-accent) 72% 100%);
  border-radius: 99px;
  content: "";
}

.subpage-body .section-tint {
  background-image:
    radial-gradient(circle at 12% 18%, rgb(var(--page-rgb) / 0.075) 0 7px, transparent 8px),
    radial-gradient(circle at 87% 77%, rgb(var(--page-rgb) / 0.055) 0 12px, transparent 13px);
}

.subpage-body .page-end-cta {
  overflow: hidden;
  isolation: isolate;
}

.subpage-body .page-end-cta::after {
  position: absolute;
  right: -4%;
  bottom: -76px;
  width: 390px;
  height: 210px;
  background:
    radial-gradient(circle at 20% 45%, transparent 0 27px, rgb(var(--page-rgb) / 0.3) 28px 31px, transparent 32px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgb(var(--page-rgb) / 0.18) 29px 33px);
  border-radius: 52% 0 0 0;
  content: "";
  pointer-events: none;
  transform: rotate(-7deg);
}

.subpage-body .page-end-cta.yellow::after {
  opacity: 0.34;
  filter: saturate(1.2);
}

.subpage-body .feature-card,
.subpage-body .status-card,
.subpage-body .step-cards li,
.subpage-body .transport-grid article,
.subpage-body .info-topic-grid article,
.subpage-body .member-action-grid > a,
.subpage-body .channel-card,
.subpage-body .contact-card,
.subpage-body .teacher-video-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

/* Beginner: bubbles and a gentle first-splash path */
.page-beginner .page-hero {
  background:
    radial-gradient(circle at 8% 75%, transparent 0 43px, rgba(21, 201, 232, 0.22) 44px 47px, transparent 48px),
    radial-gradient(circle at 78% 17%, rgba(255, 255, 255, 0.72) 0 16px, transparent 17px),
    radial-gradient(circle at 84% 28%, rgba(8, 123, 215, 0.12) 0 8px, transparent 9px),
    linear-gradient(135deg, #ddf9ff 0%, #f8ffff 54%, #e4efff 100%);
}

.page-beginner .feature-card {
  isolation: isolate;
  border-top: 6px solid var(--aqua);
}

.page-beginner .feature-card:nth-child(2) { border-top-color: var(--yellow); }
.page-beginner .feature-card:nth-child(3) { border-top-color: var(--coral); }
.page-beginner .feature-card:nth-child(2) > i { color: var(--navy); background: var(--yellow); }
.page-beginner .feature-card:nth-child(3) > i { background: var(--coral); }

.page-beginner .feature-card::after {
  position: absolute;
  right: -38px;
  bottom: -42px;
  z-index: -1;
  width: 130px;
  height: 130px;
  border: 18px solid rgb(var(--page-rgb) / 0.09);
  border-radius: 50%;
  content: "";
}

.page-beginner .number-flow {
  position: relative;
}

.page-beginner .number-flow::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  border-left: 2px dashed rgba(21, 201, 232, 0.58);
  content: "";
}

.page-beginner .number-flow li {
  position: relative;
  box-shadow: 0 12px 30px rgba(7, 31, 85, 0.055);
}

/* Classes: pool lanes and progressive colour cues */
.page-classes .page-hero {
  background:
    repeating-linear-gradient(90deg, transparent 0 9%, rgba(8, 123, 215, 0.045) 9% 9.35%, transparent 9.35% 18%),
    linear-gradient(135deg, #e4f8ff 0%, #f8fcff 58%, #e4e8ff 100%);
}

.page-classes .class-detail figure {
  isolation: isolate;
}

.page-classes .class-detail figure::after {
  position: absolute;
  inset: 17px -17px -17px 17px;
  z-index: -1;
  border: 3px solid var(--aqua);
  border-radius: 38px;
  content: "";
}

.page-classes .class-detail:nth-child(2) figure::after {
  inset: 17px 17px -17px -17px;
  border-color: var(--yellow);
}

.page-classes .class-detail:nth-child(3) figure::after { border-color: var(--coral); }
.page-classes .class-detail figure img { box-shadow: 0 22px 50px rgba(7, 31, 85, 0.12); }

.page-classes .class-detail > div::before {
  display: block;
  width: 74px;
  height: 7px;
  margin-bottom: 21px;
  background: repeating-linear-gradient(90deg, var(--page-accent) 0 16px, transparent 16px 21px);
  border-radius: 99px;
  content: "";
}

.page-classes .progress-road {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(21, 201, 232, 0.07) 53px 56px),
    rgba(255, 255, 255, 0.025);
}

.page-classes .progress-road li:nth-child(2) span { background: #74e2f5; }
.page-classes .progress-road li:nth-child(3) span { background: var(--yellow); }
.page-classes .progress-road li:nth-child(4) span { color: var(--white); background: var(--coral); }

/* Schedule: a bright timetable grid */
.page-schedule .page-hero {
  background:
    linear-gradient(rgba(8, 123, 215, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 123, 215, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #fff8d5 0%, #fff 52%, #def9ff 100%);
  background-size: 38px 38px, 38px 38px, auto;
}

.page-schedule .schedule-board::before {
  position: absolute;
  top: -70px;
  right: -55px;
  width: 190px;
  height: 190px;
  border: 24px solid rgba(21, 201, 232, 0.12);
  border-radius: 50%;
  content: "";
}

.page-schedule .status-card {
  position: relative;
  overflow: hidden;
  border-top: 7px solid var(--yellow);
}

.page-schedule .status-card:nth-child(2) { border-top-color: var(--coral); }
.page-schedule .status-card:nth-child(3) { border-top-color: var(--aqua); }
.page-schedule .status-card:nth-child(4) { border-top-color: var(--blue); }

.page-schedule .status-card::after {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: currentColor;
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgb(var(--page-rgb) / 0.5);
  color: var(--page-accent);
  content: "";
}

.page-schedule .channel-card {
  border-left: 6px solid var(--page-accent);
  box-shadow: 0 12px 30px rgba(7, 31, 85, 0.05);
}

.page-schedule .channel-card:nth-child(2) { border-left-color: var(--coral); }
.page-schedule .channel-card:nth-child(3) { border-left-color: var(--aqua); }

/* Facility: light reflections and framed photography */
.page-facility .page-hero {
  background:
    linear-gradient(112deg, transparent 0 35%, rgba(255, 255, 255, 0.62) 35.3% 43%, transparent 43.3% 100%),
    linear-gradient(135deg, #d8faff 0%, #f8ffff 53%, #dfefff 100%);
}

.page-facility .facility-intro-line {
  display: block;
  white-space: nowrap;
}

.page-facility #pool-title,
.page-facility #viewing-title {
  font-size: clamp(2rem, 3.25vw, 3.25rem);
}

.page-facility #pool-title > span,
.page-facility #pool-title > em,
.page-facility #viewing-title > span,
.page-facility #viewing-title > em {
  white-space: nowrap;
}

.page-facility .viewing-intro-line {
  display: block;
}

.page-facility .wide-photo {
  position: relative;
  isolation: isolate;
}

.page-facility .wide-photo::before {
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  border-radius: 38px;
  content: "";
  opacity: 0.85;
}

.page-facility .wide-photo img {
  display: block;
  border: 7px solid var(--white);
}

.page-facility .wide-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: calc(100% - 36px);
  margin: 0;
  padding: 8px 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(7, 18, 73, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(7, 31, 85, 0.12);
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-align: center;
}

.page-facility .safety-cards .feature-card {
  border-top: 6px solid var(--aqua);
  box-shadow: 0 18px 40px rgba(7, 31, 85, 0.06);
}

.page-facility .safety-cards .feature-card:nth-child(2) { border-top-color: var(--blue); }
.page-facility .safety-cards .feature-card:nth-child(3) { border-top-color: var(--yellow); }
.page-facility .safety-cards .feature-card > i { box-shadow: 0 0 0 9px rgb(var(--page-rgb) / 0.14); }

.page-facility .fact-list > div {
  position: relative;
  padding-left: 18px;
}

.page-facility .fact-list > div::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--aqua);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

/* Access: dotted routes and location markers */
.page-access .page-hero {
  background:
    radial-gradient(circle, rgba(54, 201, 144, 0.17) 0 2px, transparent 2.5px) 0 0 / 30px 30px,
    linear-gradient(135deg, #e8fff4 0%, #fff 54%, #e1f5ff 100%);
}

.page-access .access-intro {
  max-width: none;
}

.page-access .access-intro > span {
  display: block;
  white-space: nowrap;
}

.page-access .address-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(7, 31, 85, 0.16);
}

.page-access .address-card::before {
  position: absolute;
  top: -105px;
  right: -95px;
  width: 260px;
  height: 260px;
  border: 3px dashed rgba(21, 201, 232, 0.35);
  border-radius: 50%;
  content: "";
}

.page-access .address-card::after {
  position: absolute;
  right: 46px;
  bottom: 42px;
  width: 22px;
  height: 22px;
  background: var(--yellow);
  border: 6px solid var(--white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 0 0 5px rgba(255, 216, 90, 0.2);
  content: "";
  transform: rotate(-45deg);
}

.page-access .arrival-route {
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(8, 123, 215, 0.06);
}

.page-access .arrival-route ol {
  position: relative;
}

.page-access .arrival-route ol::before {
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 21px;
  border-left: 2px dashed rgba(54, 201, 144, 0.55);
  content: "";
}

.page-access .arrival-route li { position: relative; }

.page-access .transport-grid article {
  border-top: 6px solid #36c990;
  box-shadow: 0 15px 36px rgba(7, 31, 85, 0.055);
}

.page-access .transport-grid article:nth-child(2) { border-top-color: var(--blue); }
.page-access .transport-grid article:nth-child(3) { border-top-color: var(--yellow); }

/* Trial: connected first steps and friendly ripples */
.page-trial .page-hero {
  background:
    radial-gradient(circle at 7% 78%, transparent 0 42px, rgba(255, 76, 91, 0.13) 43px 47px, transparent 48px),
    radial-gradient(circle at 92% 14%, transparent 0 68px, rgba(255, 216, 90, 0.22) 69px 72px, transparent 73px),
    linear-gradient(135deg, #fff2ed 0%, #fff 54%, #fff3c9 100%);
}

.page-trial .step-cards li {
  position: relative;
  overflow: hidden;
  border-top: 7px solid var(--coral);
  box-shadow: 0 16px 36px rgba(7, 31, 85, 0.06);
}

.page-trial .step-cards li:nth-child(2) { border-top-color: var(--yellow); }
.page-trial .step-cards li:nth-child(3) { border-top-color: var(--aqua); }
.page-trial .step-cards li:nth-child(4) { border-top-color: var(--blue); }
.page-trial .step-cards li:nth-child(2) > span { color: var(--navy); background: var(--yellow); }
.page-trial .step-cards li:nth-child(3) > span { color: var(--navy); background: var(--aqua); }
.page-trial .step-cards li:nth-child(4) > span { background: var(--blue); }

.page-trial .step-cards li::after {
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 105px;
  height: 105px;
  border: 16px solid rgb(var(--page-rgb) / 0.08);
  border-radius: 50%;
  content: "";
}

.page-trial .memo-panel {
  border: 2px solid rgba(255, 76, 91, 0.09);
  box-shadow: 0 20px 48px rgba(7, 31, 85, 0.06);
}

.page-trial #trial-contact-title {
  font-size: clamp(1.38rem, 7.15vw, 4.15rem);
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.page-trial #trial-contact-title > span,
.page-trial #trial-contact-title > em {
  display: inline;
  text-wrap: nowrap;
}

/* News: social tiles and an energetic pool feed */
.page-news .page-hero {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.11) 0 2px, transparent 2.5px) 0 0 / 32px 32px,
    linear-gradient(135deg, #071052 0%, #112575 52%, #087bd7 100%);
}

.page-news .news-visual::before,
.page-news .news-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.page-news .news-visual::before {
  top: 4%;
  left: -2%;
  width: 95px;
  height: 95px;
  background: var(--yellow);
  opacity: 0.9;
}

.page-news .news-visual::after {
  right: 1%;
  bottom: 6%;
  width: 128px;
  height: 128px;
  border: 18px solid rgba(21, 201, 232, 0.32);
}

.page-news .news-phone { position: relative; z-index: 1; }

.page-news .info-topic-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 123, 215, 0.08);
  box-shadow: 0 16px 36px rgba(7, 31, 85, 0.055);
}

.page-news .info-topic-grid article::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, transparent 49%, var(--yellow) 50%);
  content: "";
}

.page-news .info-topic-grid article:nth-child(2)::after { background: linear-gradient(135deg, transparent 49%, var(--aqua) 50%); }
.page-news .info-topic-grid article:nth-child(3)::after { background: linear-gradient(135deg, transparent 49%, var(--coral) 50%); }
.page-news .official-route a { border-left: 5px solid var(--aqua); }

/* FAQ: speech bubbles and highlighted answers */
.page-faq .page-hero {
  background:
    radial-gradient(circle at 13% 78%, rgba(255, 216, 90, 0.24) 0 11px, transparent 12px),
    radial-gradient(circle at 86% 18%, rgba(21, 201, 232, 0.18) 0 18px, transparent 19px),
    linear-gradient(135deg, #e9faff 0%, #fff 50%, #fff5c9 100%);
}

.page-faq .faq-index {
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(7, 31, 85, 0.08);
}

.page-faq .faq-index::after {
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 22px solid rgba(21, 201, 232, 0.18);
  border-radius: 50%;
  content: "";
}

.page-faq .faq-group details {
  margin-top: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-group details:last-child { border-bottom: 1px solid var(--line); }
.page-faq .faq-group details[open] { background: #f5fcff; border-color: rgba(21, 201, 232, 0.52); box-shadow: 0 12px 30px rgba(7, 31, 85, 0.055); }
.page-faq .faq-group summary { padding-inline: 18px; }
.page-faq .faq-group details > div { padding-inline: 18px; }

/* Members: notice-board lanes and quick-action tabs */
.page-members .page-hero {
  background:
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(8, 123, 215, 0.045) 55px 58px),
    linear-gradient(135deg, #e1e8ff 0%, #f8fbff 56%, #dffcff 100%);
}

.page-members .member-dashboard::before {
  position: absolute;
  right: -46px;
  bottom: -18px;
  width: 210px;
  height: 120px;
  background: repeating-linear-gradient(0deg, transparent 0 18px, rgba(21, 201, 232, 0.2) 19px 23px);
  content: "";
  transform: rotate(-8deg);
}

.page-members .member-dashboard > * { position: relative; z-index: 1; }

.page-members .member-action-grid > a {
  position: relative;
  overflow: hidden;
  border-top: 7px solid var(--aqua);
  box-shadow: 0 16px 36px rgba(7, 31, 85, 0.055);
}

.page-members .member-action-grid > a:nth-child(2) { border-top-color: var(--yellow); }
.page-members .member-action-grid > a:nth-child(3) { border-top-color: var(--coral); }
.page-members .member-action-grid > a:nth-child(4) { border-top-color: var(--blue); }

.page-members .member-action-grid > a::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 116px;
  height: 116px;
  border: 17px solid rgb(var(--page-rgb) / 0.08);
  border-radius: 50%;
  content: "";
}

.page-members .member-check-list li {
  border-left: 5px solid var(--aqua);
  box-shadow: 0 10px 25px rgba(7, 31, 85, 0.04);
}

.page-members .member-notice {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 5vw, 72px);
  padding: clamp(42px, 5vw, 64px);
}

.page-members .member-notice h2 {
  font-size: clamp(2.45rem, 3.65vw, 3.65rem);
  line-height: 1.24;
}

.page-members .member-notice h2 span,
.page-members .member-notice h2 em {
  display: block;
  white-space: nowrap;
}

.page-members .page-end-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(40px, 6vw, 88px);
}

.page-members .page-end-grid h2 {
  font-size: clamp(2.45rem, 3.65vw, 3.65rem);
  line-height: 1.2;
}

.page-members .page-end-grid h2 span,
.page-members .page-end-grid h2 em {
  display: block;
  white-space: nowrap;
}

.page-members .member-check-section .split-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(44px, 6vw, 88px);
}

.page-members .member-check-section .page-heading {
  max-width: 680px;
}

.page-members .member-check-section .page-heading h2 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.24;
}

.page-members .member-check-section .page-heading > p:last-child {
  max-width: 620px;
}

@media (min-width: 901px) {
  .page-members .member-check-section .page-heading h2 span,
  .page-members .member-check-section .page-heading h2 em {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .page-members .member-check-section .split-layout {
    grid-template-columns: 1fr;
  }

  .page-members .member-notice {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-members .page-end-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .page-members .member-check-section .page-heading h2 {
    font-size: clamp(1.7rem, 7.35vw, 2.65rem);
  }

  .page-members .member-notice {
    padding: 28px 22px;
  }

  .page-members .member-notice h2 {
    font-size: clamp(1.5rem, 7vw, 2.55rem);
  }

  .page-members .page-end-grid h2 {
    font-size: clamp(1.5rem, 7vw, 2.55rem);
  }
}

/* Recruit: teacher voices and video-ready interview slots */
.page-recruit .page-hero {
  background:
    radial-gradient(circle at 8% 78%, transparent 0 44px, rgba(255, 76, 91, 0.15) 45px 49px, transparent 50px),
    radial-gradient(circle at 87% 17%, rgba(255, 216, 90, 0.28) 0 18px, transparent 19px),
    linear-gradient(135deg, #e7faff 0%, #fff 51%, #fff0c9 100%);
}

.page-recruit .recruit-hero-lead {
  max-width: 610px;
}

.page-recruit .recruit-hero-photo::after {
  position: absolute;
  top: 34px;
  right: -28px;
  width: 92px;
  height: 92px;
  background: var(--yellow);
  border: 8px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(7, 31, 85, 0.16);
  content: "";
}

.page-recruit .recruit-hero-photo img {
  object-position: center 62%;
}

.page-recruit .recruit-role-cards .feature-card {
  min-height: 320px;
  border-top: 7px solid var(--coral);
  box-shadow: 0 18px 42px rgba(7, 31, 85, 0.07);
}

.page-recruit .recruit-role-cards .feature-card:nth-child(2) { border-top-color: var(--yellow); }
.page-recruit .recruit-role-cards .feature-card:nth-child(3) { border-top-color: var(--aqua); }
.page-recruit .recruit-role-cards .feature-card:nth-child(1) > i { background: var(--coral); }
.page-recruit .recruit-role-cards .feature-card:nth-child(2) > i { color: var(--navy); background: var(--yellow); }
.page-recruit .recruit-role-cards .feature-card:nth-child(3) > i { color: var(--navy); background: var(--aqua); }

.page-recruit .recruit-interview-section {
  background-color: #eefbff;
  background-image:
    radial-gradient(circle at 8% 14%, rgba(255, 216, 90, 0.34) 0 9px, transparent 10px),
    linear-gradient(rgba(8, 123, 215, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 123, 215, 0.045) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.teacher-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 30px);
  margin-top: clamp(44px, 6vw, 72px);
}

.teacher-video-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7, 31, 85, 0.09);
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(7, 31, 85, 0.09);
}

.teacher-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.teacher-video-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  place-items: center;
  gap: 12px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, #071052, #087bd7);
  isolation: isolate;
}

.teacher-video-card:nth-child(2) .teacher-video-placeholder { background: linear-gradient(145deg, #071052, #15aeca); }
.teacher-video-card:nth-child(3) .teacher-video-placeholder { background: linear-gradient(145deg, #071052, #d93f58); }

.teacher-video-placeholder::before {
  position: absolute;
  right: -12%;
  bottom: 10%;
  left: 20%;
  z-index: -1;
  height: 72px;
  background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(255, 255, 255, 0.13) 15px 18px);
  content: "";
  transform: rotate(-8deg);
}

.teacher-video-placeholder::after {
  position: absolute;
  top: -44px;
  right: -36px;
  z-index: -1;
  width: 128px;
  height: 128px;
  border: 18px solid rgba(255, 216, 90, 0.24);
  border-radius: 50%;
  content: "";
}

.teacher-video-number {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
}

.teacher-video-play {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding-left: 4px;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

.teacher-video-placeholder > strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.teacher-video-meta {
  padding: 25px 26px 28px;
}

.teacher-video-meta > p {
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.teacher-video-meta h3 {
  margin-top: 7px;
  color: var(--navy);
  font-size: clamp(1.13rem, 1.55vw, 1.4rem);
  line-height: 1.4;
}

.teacher-video-meta > span {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.75;
}

.page-recruit .recruit-check-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  padding: clamp(40px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: clamp(30px, 5vw, 54px);
}

.page-recruit .recruit-check-panel h2 {
  color: var(--white);
  font-size: clamp(2.05rem, 2.7vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.055em;
}

.page-recruit .recruit-check-panel h2 span,
.page-recruit .recruit-check-panel h2 em {
  display: block;
}

.page-recruit .recruit-check-panel h2 em {
  color: var(--yellow);
  font-style: normal;
}

.page-recruit .recruit-check-panel h2 span,
.page-recruit .recruit-check-panel h2 em,
.page-recruit .page-end-grid h2 em {
  white-space: nowrap;
}

.page-recruit .recruit-check-panel > div:last-child > p {
  color: rgba(255, 255, 255, 0.74);
}

.page-recruit .page-end-grid h2 {
  font-size: clamp(2.3rem, 3.3vw, 3.25rem);
}

.page-recruit .page-end-grid h2 em {
  display: block;
}

@media (max-width: 560px) {
  .page-recruit .recruit-check-note > span,
  .page-recruit .recruit-end-note > span {
    display: block;
    text-wrap: balance;
  }
}

/* Contact: a friendly consultation scene and clear action hierarchy */
.page-contact .page-hero {
  background:
    radial-gradient(circle at 9% 76%, transparent 0 46px, rgba(255, 76, 91, 0.14) 47px 50px, transparent 51px),
    radial-gradient(circle at 88% 15%, transparent 0 72px, rgba(21, 201, 232, 0.18) 73px 77px, transparent 78px),
    linear-gradient(135deg, #ddf9ff 0%, #fff 52%, #ffe7e8 100%);
}

.page-contact .contact-hero-lead span {
  display: block;
}

.page-contact .contact-hero-actions .button-white {
  border-color: rgba(7, 18, 73, 0.1);
  box-shadow: 0 14px 32px rgba(7, 31, 85, 0.1);
}

.page-contact .contact-visual {
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: #eefcff;
  border: 7px solid var(--white);
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.page-contact .contact-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-contact .contact-visual figcaption {
  right: auto;
  bottom: 18px;
  left: 20px;
  max-width: calc(100% - 40px);
  margin: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.page-contact #contact-way-title {
  font-size: clamp(1.38rem, 7.15vw, 4.15rem);
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.page-contact #contact-way-title > span,
.page-contact #contact-way-title > em {
  display: inline;
  text-wrap: nowrap;
}

.page-contact .contact-card {
  position: relative;
  overflow: hidden;
  border-top: 7px solid var(--coral);
  box-shadow: 0 20px 45px rgba(7, 31, 85, 0.08);
}

.page-contact .contact-card:not(.dark) { border-top-color: var(--aqua); }

.page-contact .contact-card::after {
  position: absolute;
  right: -62px;
  bottom: -62px;
  width: 190px;
  height: 190px;
  border: 24px solid rgba(21, 201, 232, 0.1);
  border-radius: 50%;
  content: "";
}

.page-contact .contact-card.dark::after { border-color: rgba(255, 255, 255, 0.08); }
.page-contact .contact-card > * { position: relative; z-index: 1; }

.page-contact .contact-card strong {
  width: 100%;
  border-top: 1px solid rgba(7, 18, 73, 0.12);
}

.page-contact .contact-card.dark strong {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.page-contact .form-status {
  position: relative;
  overflow: hidden;
  border-top: 8px solid var(--coral);
  box-shadow: 0 20px 45px rgba(7, 31, 85, 0.065);
}

.page-contact .form-status > div:first-child strong {
  background: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.page-contact .form-status > div:last-child a {
  padding-block: 4px;
}

.page-contact .form-status::after {
  position: absolute;
  top: 0;
  right: 9%;
  width: 70px;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 7px, transparent 7px 13px);
  content: "";
}

.page-contact .address-mini { position: relative; overflow: hidden; }
.page-contact .address-mini::after { position: absolute; right: -70px; bottom: -70px; width: 190px; height: 190px; border: 24px solid rgba(21, 201, 232, 0.13); border-radius: 50%; content: ""; }
.page-contact .address-mini > * { position: relative; z-index: 1; }

.page-contact #contact-address-title {
  font-size: clamp(1.15rem, 3vw, 2.6rem);
  letter-spacing: -0.045em;
}

.page-contact #contact-address-title > span {
  display: block;
  white-space: nowrap;
}

/* Privacy: restrained document and verification styling */
.page-privacy .page-hero {
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(8, 123, 215, 0.035) 19px 20px),
    linear-gradient(135deg, #eef2ff 0%, #fff 58%, #e9faff 100%);
}

.page-privacy .legal-status {
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(7, 31, 85, 0.14);
}

.page-privacy .legal-status::before {
  display: block;
  width: 72px;
  height: 7px;
  margin-bottom: 24px;
  background: repeating-linear-gradient(90deg, var(--aqua) 0 16px, transparent 16px 21px);
  border-radius: 99px;
  content: "";
}

.page-privacy .legal-section {
  margin-bottom: 14px;
  padding: 30px;
  background: #f8faff;
  border: 1px solid #e2e9f5;
  border-radius: 22px;
}

.page-privacy .legal-section:first-child { padding-top: 30px; }
.page-privacy .legal-section:nth-child(even) { background: #f3fbfd; }
.page-privacy .legal-section:last-child { border-bottom: 1px solid #e2e9f5; }
.page-privacy .legal-section > p { box-shadow: 0 0 0 7px rgba(8, 123, 215, 0.08); }

@media (hover: hover) {
  .subpage-body .feature-card:hover,
  .subpage-body .status-card:hover,
  .subpage-body .step-cards li:hover,
  .subpage-body .transport-grid article:hover,
  .subpage-body .info-topic-grid article:hover,
  .subpage-body .member-action-grid > a:hover,
  .subpage-body .channel-card:hover,
  .subpage-body .contact-card:hover,
  .subpage-body .teacher-video-card:hover {
    border-color: rgb(var(--page-rgb) / 0.52);
    box-shadow: 0 22px 48px rgba(7, 31, 85, 0.11);
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .subpage-body .page-section:not(.section-navy):not(.page-end-cta)::after {
    width: 128px;
    height: 128px;
  }

  .page-classes .class-detail figure::after {
    inset: 12px -12px -12px 12px;
  }

  .page-classes .class-detail:nth-child(2) figure::after {
    inset: 12px 12px -12px -12px;
  }

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

  .teacher-video-card {
    display: grid;
    grid-template-columns: minmax(270px, 0.95fr) minmax(0, 1.05fr);
  }

  .teacher-video-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-recruit .recruit-check-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .subpage-body .page-section:not(.section-navy):not(.page-end-cta)::after {
    top: 8%;
    left: -78px;
    opacity: 0.72;
  }

  .subpage-body .page-section:nth-of-type(even):not(.section-navy):not(.page-end-cta)::after {
    right: -78px;
    left: auto;
  }

  .subpage-body .page-heading.centered { padding-bottom: 21px; }
  .subpage-body .page-heading.centered::after { margin-top: 21px; }
  .subpage-body .page-end-cta::after { right: -150px; width: 330px; opacity: 0.55; }
  .page-beginner .number-flow::before { left: 27px; }
  .page-facility .wide-photo::before { inset: 10px -10px -10px 10px; border-radius: 30px; }
  .page-facility .wide-photo figcaption { right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 10px; font-size: 0.62rem; }
  .teacher-video-card { display: block; }
  .page-contact #contact-address-title { font-size: clamp(1.15rem, 6vw, 2.4rem); }
  .page-privacy .legal-section { padding: 24px 20px; }
}

@media (max-width: 560px) {
  .page-facility .facility-intro {
    font-size: clamp(0.78rem, 3.65vw, 0.98rem);
    letter-spacing: -0.025em;
  }

  .page-classes .info-strip h2 {
    font-size: clamp(1.38rem, 7vw, 2rem);
  }

  .page-classes .class-detail:last-child h3 {
    font-size: clamp(1.38rem, 7.2vw, 2.05rem);
  }

  .page-classes .class-detail figure::after,
  .page-classes .class-detail:nth-child(2) figure::after {
    inset: 9px -7px -9px 7px;
    border-radius: 28px;
  }

  .page-news .news-visual::before { left: -5%; width: 68px; height: 68px; }
  .page-news .news-visual::after { right: -4%; width: 92px; height: 92px; border-width: 13px; }
  .page-access .address-card::after { right: 26px; bottom: 26px; }
  .page-recruit .recruit-hero-photo::after { top: 18px; right: -10px; width: 70px; height: 70px; border-width: 6px; }
  .page-recruit .recruit-role-cards .feature-card { min-height: 0; }
  .teacher-video-card { border-radius: 24px; }
  .teacher-video-number { top: 14px; left: 14px; width: 36px; height: 36px; }
  .teacher-video-play { width: 56px; height: 56px; }
  .teacher-video-meta { padding: 22px; }
  .page-recruit .recruit-check-panel { padding: 28px 22px; border-radius: 28px; }
  .page-recruit .recruit-check-panel h2 { font-size: clamp(1.4rem, 6vw, 2.2rem); }
  .page-contact .contact-visual { min-height: 0; border-width: 5px; border-radius: 32px; }
  .page-contact .contact-visual figcaption { bottom: 14px; left: 14px; max-width: calc(100% - 28px); padding: 7px 10px; font-size: 0.6rem; }
  .page-faq .faq-group summary { padding-inline: 12px; }
  .page-faq .faq-group details > div { padding-inline: 12px; }
  .page-privacy .legal-section { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .page-privacy .legal-section > p { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-body .feature-card,
  .subpage-body .status-card,
  .subpage-body .step-cards li,
  .subpage-body .transport-grid article,
  .subpage-body .info-topic-grid article,
  .subpage-body .member-action-grid > a,
  .subpage-body .channel-card,
  .subpage-body .contact-card,
  .subpage-body .teacher-video-card {
    transition: none;
  }
}

/* Beginner memo and final CTA refinement */
.page-beginner .memo-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 4.8vw, 64px);
  background:
    radial-gradient(circle at 91% 18%, rgba(255, 255, 255, 0.7) 0 12px, transparent 13px),
    radial-gradient(circle at 7% 88%, transparent 0 44px, rgba(21, 201, 232, 0.16) 45px 48px, transparent 49px),
    linear-gradient(135deg, #d9f8fd 0%, #e8fbff 58%, #dff5ff 100%);
  border: 1px solid rgba(8, 123, 215, 0.08);
  box-shadow: 0 22px 55px rgba(7, 31, 85, 0.08);
}

.page-beginner .memo-panel::before {
  position: absolute;
  top: -74px;
  right: -56px;
  width: 190px;
  height: 190px;
  border: 22px solid rgba(21, 201, 232, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.page-beginner .memo-panel::after {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: 118px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--aqua) 0 18px, transparent 18px 24px);
  border-radius: 99px 99px 0 0;
  content: "";
  opacity: 0.65;
  pointer-events: none;
}

.page-beginner .memo-panel > * {
  position: relative;
  z-index: 1;
}

.page-beginner .memo-panel h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.55rem);
  line-height: 1.18;
}

.page-beginner .memo-panel h2 > span,
.page-beginner .memo-panel h2 > em,
.page-beginner .page-end-grid h2 > span,
.page-beginner .page-end-grid h2 > em {
  display: block;
  white-space: nowrap;
}

.page-beginner .memo-panel .check-list {
  gap: 14px;
}

.page-beginner .memo-panel .check-list li {
  display: flex;
  min-height: 58px;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 123, 215, 0.08);
  box-shadow: 0 10px 24px rgba(7, 31, 85, 0.05);
}

.page-beginner .memo-panel .check-list li:nth-child(2)::before { color: var(--navy); background: var(--aqua); }
.page-beginner .memo-panel .check-list li:nth-child(3)::before { color: var(--navy); background: var(--yellow); }
.page-beginner .memo-panel .check-list li:nth-child(4)::before { background: var(--coral); }

.page-beginner .page-end-cta {
  background:
    radial-gradient(circle at 91% 18%, transparent 0 52px, rgba(21, 201, 232, 0.16) 53px 56px, transparent 57px),
    radial-gradient(circle at 84% 72%, rgba(8, 123, 215, 0.2) 0 8px, transparent 9px),
    linear-gradient(135deg, #060c40 0%, #0a145b 58%, #0c1b70 100%);
}

.page-beginner .page-end-grid h2 {
  font-size: clamp(2.45rem, 3.7vw, 4rem);
  line-height: 1.16;
}

.page-beginner .page-end-grid > div:last-child > p {
  max-width: 36em;
  font-size: clamp(0.94rem, 1.15vw, 1.05rem);
  line-height: 1.95;
  text-wrap: balance;
}

.page-beginner .page-end-grid > div:last-child > p > span {
  display: block;
  white-space: nowrap;
}

.page-beginner .page-end-grid .cta-row {
  margin-top: 26px;
}

.page-beginner .page-end-grid .text-link-light {
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

@media (max-width: 360px) {
  .page-facility .facility-intro-line {
    white-space: normal;
  }
}

/* Footer refinement: clearer groups, stronger brand presence and touch-friendly links. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(58px, 5.5vw, 82px);
  background:
    radial-gradient(circle at 8% 14%, rgba(21, 201, 232, 0.13), transparent 24%),
    radial-gradient(circle at 93% 82%, rgba(8, 123, 215, 0.16), transparent 28%),
    var(--navy-deep);
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--blue) 54%, var(--yellow));
  content: "";
}

.site-footer::after {
  position: absolute;
  right: clamp(-90px, -4vw, -34px);
  bottom: 42px;
  z-index: -1;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(21, 201, 232, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(21, 201, 232, 0.035);
  content: "";
  pointer-events: none;
}

.footer-main-wide {
  grid-template-columns: minmax(250px, 0.9fr) minmax(440px, 1.55fr) minmax(245px, 0.8fr);
  gap: clamp(38px, 5vw, 76px);
  padding-bottom: clamp(46px, 5vw, 68px);
}

.footer-identity {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.footer-brand {
  gap: 15px;
}

.footer-brand img {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.2));
}

.footer-brand strong {
  font-size: 1rem;
  line-height: 1.45;
}

.footer-contact {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
  line-height: 1.75;
}

.footer-contact a {
  margin-top: 10px;
  font-size: 1.05rem;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-heading::before {
  width: 22px;
  height: 2px;
  background: var(--aqua);
  content: "";
}

.footer-sitemap {
  gap: clamp(22px, 3vw, 38px);
}

.footer-sitemap nav {
  gap: 7px;
}

.footer-sitemap strong {
  margin-bottom: 7px;
  font-size: 0.8rem;
}

.footer-sitemap a {
  padding: 9px 2px;
  font-size: 0.76rem;
}

.footer-links {
  gap: 9px;
}

.footer-links .footer-heading {
  margin-bottom: 11px;
}

.footer-links a {
  min-height: 48px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  border-color: rgba(21, 201, 232, 0.5);
  background: rgba(21, 201, 232, 0.1);
  transform: translateY(-2px);
}

.footer-links span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(21, 201, 232, 0.12);
}

.footer-bottom {
  position: relative;
  padding-top: 26px;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

@media (max-width: 1180px) {
  .footer-main-wide {
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  }

  .footer-main-wide .footer-links {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-links .footer-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .footer-main-wide {
    grid-template-columns: 1fr;
  }

  .footer-identity {
    width: min(100%, 470px);
  }

  .footer-main-wide .footer-links {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding-top: 52px;
  }

  .footer-main-wide {
    gap: 38px;
  }

  .footer-identity {
    padding: 18px;
  }

  .footer-brand img {
    width: 82px;
    height: 82px;
  }

  .footer-brand strong {
    font-size: 0.92rem;
  }

  .footer-sitemap {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }

  .footer-main-wide .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 4px;
  }

  .footer-bottom small {
    max-width: 25em;
    line-height: 1.7;
  }
}

@media (max-width: 390px) {
  .footer-sitemap {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand strong {
    font-size: 0.86rem;
  }
}

@media (min-width: 901px) {
  .page-beginner .memo-panel {
    grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
    gap: clamp(34px, 5vw, 70px);
  }

  .page-beginner .page-end-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(48px, 6.5vw, 96px);
  }

  .page-beginner .page-end-grid > div:last-child {
    padding-left: clamp(30px, 4vw, 58px);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 760px) {
  .page-beginner .memo-panel h2 {
    font-size: clamp(1.75rem, 7.55vw, 2.65rem);
  }

  .page-beginner .page-end-grid h2 {
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .page-beginner .page-end-grid > div:last-child > p > span {
    white-space: normal;
  }
}

@media (max-width: 390px) {
  .page-beginner .memo-panel {
    padding-inline: 19px;
  }

  .page-beginner .memo-panel h2 {
    font-size: clamp(1.66rem, 7.2vw, 2.2rem);
  }

  .page-beginner .memo-panel h2 > span,
  .page-beginner .memo-panel h2 > em,
  .page-beginner .page-end-grid h2 > span,
  .page-beginner .page-end-grid h2 > em {
    white-space: normal;
  }

  .page-beginner .memo-panel .check-list li {
    min-height: 54px;
    padding-right: 10px;
    font-size: 0.78rem;
  }
}

/* Schedule final CTA: keep the promise readable as an intentional two-line phrase. */
.page-schedule .page-end-grid h2 {
  font-size: clamp(2.25rem, 3.45vw, 3.75rem);
  line-height: 1.16;
}

.page-schedule .page-end-grid h2 > span,
.page-schedule .page-end-grid h2 > em {
  display: block;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .page-schedule .page-end-grid h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }
}

/* Access hero: keep each complete instruction together at common phone widths. */
@media (max-width: 560px) {
  .page-access .access-intro {
    font-size: clamp(0.75rem, 3.1vw, 0.9rem);
    letter-spacing: -0.04em;
  }
}

@media (max-width: 420px) {
  .page-access .access-intro > span {
    white-space: normal;
  }
}

@media (max-width: 340px) {
  .hero-lead-unit {
    display: block;
  }

  #classes-title {
    font-size: 1.25rem;
  }

  .page-classes .page-hero-copy h1 {
    font-size: 1.3rem;
  }

  .hero-actions .button {
    gap: 10px;
    padding-inline: 18px 14px;
    font-size: 0.83rem;
    letter-spacing: 0.02em;
  }
}

/* Access final CTA: preserve the headline as two balanced lines. */
.page-access .page-end-grid h2 {
  font-size: clamp(2.25rem, 3.45vw, 3.75rem);
  line-height: 1.16;
}

.page-access .page-end-grid h2 > span,
.page-access .page-end-grid h2 > em {
  display: block;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .page-access .page-end-grid h2 {
    font-size: clamp(1.6rem, 7.7vw, 2.55rem);
  }
}

/* News official routes: keep the key instruction on two clear lines. */
.page-news .news-route-heading h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.75rem);
  line-height: 1.16;
}

.page-news .news-route-heading h2 > span,
.page-news .news-route-heading h2 > em {
  display: block;
  white-space: nowrap;
}

.page-news .news-route-heading > p:last-child {
  max-width: 35em;
  margin-top: 24px;
}

@media (max-width: 560px) {
  .page-news .news-route-heading h2 {
    font-size: clamp(1.55rem, 7.4vw, 2.35rem);
  }
}

/* Workflow 6 mobile typography: keep complete words and endings together. */
@media (max-width: 390px) {
  .not-found h1 {
    font-size: clamp(1.6rem, 8.4vw, 1.9rem);
  }

  .not-found h1 > span,
  .not-found h1 > em,
  .page-privacy .page-end-grid h2 > span,
  .page-privacy .page-end-grid h2 > em,
  .page-faq .page-end-grid h2 > span,
  .page-faq .page-end-grid h2 > em,
  .page-recruit .page-hero-copy h1 > span,
  .page-recruit .page-hero-copy h1 > em,
  .page-recruit .recruit-check-panel h2 > span,
  .page-recruit .recruit-check-panel h2 > em {
    display: block;
    white-space: nowrap;
  }

  .page-privacy .legal-section h2 {
    font-size: 1.08rem;
    letter-spacing: -0.025em;
  }

  .page-privacy .page-end-grid h2,
  .page-faq .page-end-grid h2 {
    font-size: clamp(1.45rem, 6.6vw, 1.6rem);
  }

  .page-recruit .page-hero-copy h1 {
    font-size: clamp(1.25rem, 6.05vw, 1.45rem);
  }

  .page-recruit .recruit-check-panel h2 {
    font-size: clamp(1.15rem, 5.2vw, 1.3rem);
  }

  .page-recruit .page-end-grid h2 {
    font-size: clamp(1.45rem, 7.2vw, 1.8rem);
  }

  .page-recruit .page-end-grid h2 em {
    white-space: nowrap;
  }

  .page-beginner .number-flow li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .page-beginner .number-flow li > span {
    width: 42px;
    height: 42px;
  }

  .page-beginner .number-flow h3 {
    font-size: 1rem;
    letter-spacing: -0.025em;
  }

  .page-beginner .number-flow::before {
    left: 39px;
  }

  .page-members .member-action-grid > a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0 12px;
    padding: 24px 20px;
  }

  .page-members .member-action-grid > a > span {
    width: 40px;
    height: 40px;
  }

  .page-members .member-action-grid h3 {
    font-size: 1rem;
    letter-spacing: -0.025em;
  }

  .page-members .member-notice .section-kicker {
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .page-members .member-notice .section-kicker > span {
    gap: 6px;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .page-members .member-notice .section-kicker > span::before {
    width: 18px;
  }

  .page-news .official-route a {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 16px;
  }

  .page-news .official-route a > span {
    width: 38px;
    height: 38px;
  }

  .page-news .official-route h3 {
    overflow-wrap: normal;
    font-size: 0.88rem;
    letter-spacing: -0.02em;
  }

  .page-access .arrival-route li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .page-access .arrival-route li > span {
    width: 40px;
    height: 40px;
  }

  .page-access .arrival-route h3 {
    font-size: 0.94rem;
    letter-spacing: -0.025em;
  }

  .page-classes .class-detail h3 {
    font-size: clamp(1.32rem, 6vw, 1.45rem);
  }

  .page-classes .info-strip .button {
    gap: 10px;
    padding-inline: 16px 12px;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .page-end-grid .button,
  .page-members .member-notice .button,
  .page-access .address-card .button {
    gap: 10px;
    padding-inline: 18px 12px;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
  }

  .page-faq .faq-index {
    padding: 26px 22px;
  }

  .page-faq .faq-index h2 {
    font-size: 1.55rem;
  }

  .faq-list summary strong,
  .page-faq .faq-group summary strong {
    font-size: 0.88rem;
    text-wrap: pretty;
  }

  .faq-list details > div p,
  .page-faq .faq-group details > div p {
    text-wrap: pretty;
  }

  .class-panel-copy {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
  }

  .class-panel h3 {
    font-size: 1.15rem;
    letter-spacing: -0.04em;
  }

  #growth-title {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  #growth-title em {
    white-space: nowrap;
  }

  .news-band h2 {
    font-size: clamp(1rem, 4.4vw, 1.08rem);
    letter-spacing: -0.025em;
    white-space: nowrap;
  }

  .lesson-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .lesson-steps li > span {
    width: 42px;
    height: 42px;
  }

  .lesson-steps li:not(:last-child)::before {
    top: 41px;
    left: 20px;
  }

  .lesson-steps h3 {
    font-size: 1rem;
    letter-spacing: -0.025em;
  }

  .lesson-steps p {
    font-size: 0.8rem;
    text-wrap: pretty;
  }
}

/* Balance short mobile prose so sentence endings never become orphan lines. */
@media (max-width: 480px) {
  main p:not(.section-kicker):not(.page-eyebrow):not(.page-note) {
    text-wrap: balance;
  }

  .section-kicker {
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .section-kicker > span {
    gap: 6px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .section-kicker > span::before {
    width: 18px;
  }

  .check-list li {
    padding-right: 10px;
    padding-left: 40px;
    font-size: 0.8rem;
    letter-spacing: -0.01em;
  }

  .check-list li::before {
    left: 14px;
  }
}

@media (max-width: 360px) {
  .page-privacy .legal-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-privacy .legal-list li {
    padding-right: 8px;
    padding-left: 28px;
    font-size: 0.73rem;
    letter-spacing: -0.015em;
  }

  .page-privacy .legal-list li::before {
    left: 12px;
  }
}
