/* Design tokens and base typography shared across the homepage. */
:root {
  --color-ink: #203342;
  --color-muted: #637583;
  --color-warm-white: #fffdf9;
  --color-cream: #fff6e8;
  --color-cloud: #eef9ff;
  --color-cloud-strong: #dff3fb;
  --color-card: #ffffff;
  --color-green: #a9c9a0;
  --color-green-dark: #6f9c78;
  --color-sky: #69c7e8;
  --color-sky-dark: #2d8fb7;
  --color-sky-deep: #197da8;
  --color-wood: #d7a876;
  --color-line: #d7eef7;
  --shadow-soft: 0 16px 34px rgba(43, 111, 151, 0.1);
  --shadow-small: 0 10px 22px rgba(43, 111, 151, 0.07);
  --radius-card: 8px;
  --radius-pill: 999px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-warm-white);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: normal;
  line-height: 1.7;
}

h1,
h2,
h3,
p,
li,
a,
button,
.button {
  letter-spacing: normal;
}

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

a {
  color: inherit;
}

/* Accessibility helper for keyboard users. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  color: #ffffff;
  background: var(--color-sky-deep);
  border-radius: var(--radius-card);
}

.skip-link:focus {
  top: 1rem;
}

/* Header and navigation. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid rgba(215, 238, 247, 0.95);
  backdrop-filter: blur(14px);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #79d1ee, #dff3fb 46%, #a9c9a0);
}

.header-note {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 0.35rem 1rem;
  color: var(--color-muted);
  background: #eef9ff;
  font-size: 0.83rem;
}

.header-note a {
  text-decoration: none;
}

.header-inner {
  width: min(100% - 2rem, var(--container));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 180px;
  text-decoration: none;
}

.brand img {
  width: 72px;
  height: auto;
}

.brand-text {
  display: grid;
  line-height: 1.15;
  font-weight: 800;
}

.brand-text small {
  color: var(--color-sky-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
}

.desktop-nav a,
.mobile-nav a {
  padding: 0.55rem 0.65rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--color-sky-deep);
  background: rgba(105, 199, 232, 0.14);
}

.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--color-sky-deep);
  background: rgba(105, 199, 232, 0.18);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 0.55rem 0.75rem;
  color: var(--color-sky-deep);
  font-weight: 800;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: #ffffff;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: min(82vw, 300px);
  padding: 0.75rem;
  display: grid;
  gap: 0.15rem;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* Shared button styles. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.78rem 1rem;
  color: var(--color-ink);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--color-sky-deep);
  box-shadow: 0 10px 22px rgba(25, 125, 168, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #126b91;
}

.button-secondary {
  color: var(--color-sky-deep);
  background: #ffffff;
  border-color: rgba(45, 143, 183, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #eef9ff;
}

.button-ghost {
  color: var(--color-sky-deep);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.82);
}

/* Hero section and approved hero image treatment. */
.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 44%;
  z-index: -3;
}

.hero-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: 5rem 0 6rem;
  color: #ffffff;
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #dcf7ff;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: 3.35rem;
  line-height: 1.16;
  font-weight: 900;
}

.hero-lede {
  max-width: 610px;
  margin: 1.3rem 0 0;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.85;
  font-weight: 700;
}

.hero h1,
.hero-lede {
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, 0.8),
     1px -1px 0 rgba(0, 0, 0, 0.8),
    -1px  1px 0 rgba(0, 0, 0, 0.8),
     1px  1px 0 rgba(0, 0, 0, 0.8),
     0 3px 8px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 1.25rem;
}

.trust-line {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.local-strip {
  margin-top: -2.4rem;
  position: relative;
  z-index: 2;
}

.local-strip-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(186, 225, 240, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.local-strip p {
  margin: 0;
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.15rem;
}

.local-strip p + p {
  border-left: 1px solid var(--color-line);
}

.local-strip strong {
  color: var(--color-sky-deep);
  font-size: 1rem;
}

.local-strip span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Section shell, soft backgrounds, and shared headings. */
.section {
  padding: 4.8rem 0;
}

.section-soft {
  background: var(--color-cloud);
}

.section-community {
  background: linear-gradient(180deg, #eef9ff 0%, #fffdf9 100%);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--color-sky-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  margin-top: 0.9rem;
  background: linear-gradient(90deg, var(--color-sky), var(--color-cloud-strong));
  border-radius: var(--radius-pill);
}

.section-heading.center h2::after {
  margin-right: auto;
  margin-left: auto;
}

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

.section h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.28;
}

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

.section-heading p {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
}

/* Reassurance and support-style cards. */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card,
.program-card,
.voice-card,
.support-card {
  padding: 1.25rem;
  background: var(--color-card);
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.mini-card:hover,
.program-card:hover,
.voice-card:hover,
.support-card:hover,
.feature-card:hover {
  border-color: rgba(105, 199, 232, 0.58);
  box-shadow: 0 14px 28px rgba(43, 111, 151, 0.11);
}

.mini-card {
  min-height: 220px;
}

.icon-badge {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  display: inline-grid;
  place-items: center;
  color: var(--color-sky-deep);
  background: #e8f8ff;
  border-radius: 50%;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-card h3,
.program-card h3,
.voice-card h3,
.support-card h3,
.feature-card h3,
.day-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.13rem;
  line-height: 1.35;
}

.mini-card p,
.program-card p,
.voice-card p,
.support-card p,
.feature-card p,
.day-card p {
  margin: 0;
  color: var(--color-muted);
}

/* Feature cards and homepage image treatments. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.feature-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.feature-card:nth-child(1) img {
  object-position: 50% 48%;
}

.feature-card:nth-child(2) img {
  object-position: 50% 50%;
}

.feature-card:nth-child(3) img {
  object-position: 50% 45%;
}

.feature-card-safety img {
  object-position: 50% 48%;
}

.feature-card-natural img {
  object-fit: cover;
  object-position: 50% 52%;
}

.feature-card-culture img {
  object-fit: cover;
  object-position: 50% 50%;
}

.feature-body {
  padding: 1.25rem;
}

/* Daily-life layout and supporting photos. */
.day-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.6rem;
  align-items: start;
}

.day-photo img {
  width: 100%;
  height: clamp(320px, 35vw, 420px);
  object-fit: cover;
  object-position: 50% 52%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.day-list {
  display: grid;
  gap: 1rem;
}

.small-photo-note {
  margin: 0;
}

.small-photo-note img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.small-photo-note figcaption {
  margin-top: 0.65rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.day-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
}

.day-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: var(--color-sky-deep);
  border-radius: 50%;
  font-weight: 900;
}

/* Program summary cards. */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-label {
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  color: var(--color-sky-dark);
  background: #e8f8ff;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 900;
}

.note {
  margin: 1.5rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* Curated real-moments gallery. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.photo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: var(--radius-card);
  background: #dff3fb;
  box-shadow: var(--shadow-small);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card:nth-child(1),
.photo-card:nth-child(6) {
  grid-column: span 1;
}

.photo-card:nth-child(1) img {
  object-position: 54% 42%;
}

.photo-card:nth-child(2) img {
  object-position: 50% 48%;
}

.photo-card:nth-child(3) img {
  object-position: 50% 46%;
}

.photo-card:nth-child(4) img {
  object-position: 49% 42%;
}

.photo-card:nth-child(5) img {
  object-position: 50% 50%;
}

.photo-card:nth-child(6) img {
  object-position: 50% 45%;
}

.photo-card:nth-child(7) img,
.photo-card:nth-child(8) img {
  object-position: 50% 48%;
}

.photo-card figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.62rem;
  color: #ffffff;
  background: rgba(21, 91, 122, 0.76);
  border-radius: var(--radius-card);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.45;
}

.gallery-grid-simple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid-simple .photo-card:nth-child(1),
.gallery-grid-simple .photo-card:nth-child(5) {
  grid-column: span 1;
}

/* Parent voice text cards. */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.voice-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.voice-card blockquote {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.03rem;
  line-height: 1.75;
  font-weight: 800;
}

.voice-card cite {
  color: var(--color-muted);
  font-style: normal;
  font-weight: 800;
}

/* Teachers section. */
.teachers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
}

.teacher-side {
  display: grid;
  gap: 1rem;
}

.teacher-photo-card {
  overflow: hidden;
  margin: 0;
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.teacher-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: 50% 52%;
}

.teacher-photo-card figcaption {
  padding: 0.75rem 0.95rem 0.9rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.teacher-principles {
  display: grid;
  gap: 1rem;
}

.teacher-principle {
  padding: 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.teacher-principle h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.teacher-principle p {
  margin: 0;
  color: var(--color-muted);
}

.check-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.check-list li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.52rem;
  background: var(--color-sky);
  border-radius: 50%;
}

/* Safety support points and events/community layout. */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.event-feature {
  overflow: hidden;
  width: min(100%, 560px);
  justify-self: end;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.event-feature img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 54% 45%;
}

.event-feature p {
  margin: 0;
  padding: 1rem;
  color: var(--color-muted);
}

.event-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.event-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  color: var(--color-muted);
}

.event-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.65rem;
  background: var(--color-sky);
  border-radius: 50%;
}

/* About page layout. */
.about-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.subpage-hero {
  padding: 5.6rem 0 4.8rem;
  background: linear-gradient(180deg, #eef9ff 0%, #fffdf9 78%);
  border-bottom: 1px solid rgba(215, 238, 247, 0.85);
}

.subpage-photo-hero {
  --subpage-hero-image: linear-gradient(180deg, #eef9ff 0%, #fffdf9 100%);
  --subpage-hero-position: center;
  --subpage-hero-copy-justify: start;
  --subpage-hero-copy-align: left;
  --subpage-hero-copy-width: 760px;
  --subpage-hero-gradient-core: rgba(0, 0, 0, 0.72);
  --subpage-hero-gradient-mid: rgba(0, 0, 0, 0.50);
  --subpage-hero-gradient-edge: rgba(0, 0, 0, 0.18);
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-image: var(--subpage-hero-image);
  background-position: var(--subpage-hero-position);
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0;
  isolation: isolate;
}

.about-page .subpage-photo-hero {
  --subpage-hero-image: url("../images/web/sky-about-teacher-child-joy-ai-remake-v1.webp");
  --subpage-hero-position: 50% 32%;
  --subpage-hero-copy-justify: end;
}

.course-page .subpage-photo-hero {
  --subpage-hero-image: url("../images/web/sky-course-hero-classroom-group-ai-remake-v1.webp");
  --subpage-hero-position: 50% 50%;
}

.daily-page .subpage-photo-hero {
  --subpage-hero-image: url("../images/web/daily-life-hero-teacher-children-group-ai-remake-v1.webp");
  --subpage-hero-position: 50% 50%;
  --subpage-hero-copy-justify: end;
}

.staff-page .subpage-photo-hero {
  --subpage-hero-image: url("../images/web/sky-staff-hero-teacher-circle-2026.webp");
  --subpage-hero-position: 50% 50%;
}

.entrance-page .subpage-photo-hero {
  --subpage-hero-image: url("../images/web/sky-access-hero-school-front-flowers-ai-remake-v1.webp");
  --subpage-hero-position: 50% 38%;
}

.mamavoice-page .subpage-photo-hero {
  --subpage-hero-image: url("../images/web/sky-mamavoice-hero-parent-flower-workshop-generated-v1.webp");
  --subpage-hero-position: 50% 24%;
  --subpage-hero-gradient-core: rgba(0, 0, 0, 0.82);
  --subpage-hero-gradient-mid: rgba(0, 0, 0, 0.62);
  --subpage-hero-gradient-edge: rgba(0, 0, 0, 0.26);
}

.access-page .subpage-photo-hero {
  --subpage-hero-image: url("../images/web/sky-access-hero-daycare-exterior-generated-v1.webp");
  --subpage-hero-position: 50% 50%;
}

.mail-page .subpage-photo-hero {
  --subpage-hero-image: url("../images/web/sky-mail-hero-teacher-reading-2026.webp");
  --subpage-hero-position: 50% 50%;
}

.subpage-photo-hero .section-kicker,
.subpage-photo-hero h1,
.subpage-photo-hero .subpage-lede,
.subpage-photo-hero .subpage-hero-copy p:last-child {
  color: #ffffff;
}

.subpage-photo-hero .section-kicker {
  margin: 0 0 10px;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.85);
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 1),
    0 4px 10px rgba(0, 0, 0, 0.95);
}

.subpage-photo-hero.subpage-hero h1 {
  font-size: clamp(64px, 4.4vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.8);
  text-shadow:
    0 2px 2px rgba(0, 0, 0, 1),
    0 5px 12px rgba(0, 0, 0, 0.95),
    0 0 24px rgba(0, 0, 0, 0.75);
}

.subpage-photo-hero .subpage-lede,
.subpage-photo-hero .subpage-hero-copy p:last-child {
  max-width: var(--subpage-hero-copy-width);
  margin-top: 20px;
  font-size: clamp(19px, 1.35vw, 24px);
  font-weight: 600;
  line-height: 1.55;
  -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.85);
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 1),
    0 4px 10px rgba(0, 0, 0, 0.95);
}

.subpage-hero-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
  align-items: center;
  position: relative;
  z-index: 1;
}

.subpage-photo-hero .subpage-hero-inner {
  justify-content: var(--subpage-hero-copy-justify);
}

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

.subpage-photo-hero .subpage-hero-copy {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: min(var(--subpage-hero-copy-width), 100%);
  text-align: var(--subpage-hero-copy-align);
}

.course-page .subpage-photo-hero .subpage-hero-inner,
.staff-page .subpage-photo-hero .subpage-hero-inner {
  align-self: start;
  padding-top: 4.25rem;
}

.daily-page .subpage-photo-hero .subpage-hero-inner {
  align-self: start;
  padding-top: 1.75rem;
}

.mamavoice-page .subpage-photo-hero .subpage-hero-inner {
  align-self: start;
  padding-top: 2.5rem;
}

.subpage-hero h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.2;
}

.subpage-lede {
  margin: 1rem 0 0;
  color: var(--color-sky-deep);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.55;
}

.subpage-hero-copy p:last-child {
  margin: 1.1rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.subpage-hero-info {
  background: linear-gradient(180deg, #fffdf9 0%, #f8fcff 100%);
  border-bottom: 1px solid rgba(215, 238, 247, 0.85);
  padding: 2.6rem 0 3.2rem;
}

.subpage-hero-info-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 238, 247, 0.95);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(43, 111, 151, 0.08);
}

.subpage-hero-info-intro,
.subpage-hero-info-detail {
  padding: 2rem;
}

.subpage-hero-info-intro {
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(215, 238, 247, 0.9);
}

.subpage-hero-info-intro p,
.subpage-hero-info-detail p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.subpage-hero-info-detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.subpage-hero-info-detail h2 {
  margin: 0 0 0.55rem;
  color: var(--color-ink);
  font-size: 1.35rem;
  line-height: 1.35;
}

.about-panel,
.about-value-card,
.about-growth-item,
.about-photo-card {
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.about-panel h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

.about-panel p,
.about-value-card p,
.about-growth-item p,
.about-photo-card figcaption {
  margin: 0;
  color: var(--color-muted);
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.about-value-card {
  padding: 1.2rem;
}

.about-value-card h3,
.about-growth-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.6rem;
  align-items: center;
}

.about-panel {
  padding: 1.4rem;
}

.about-panel-light {
  background: #fffdf9;
}

.about-point-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.about-point-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  color: var(--color-muted);
}

.about-point-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.65rem;
  background: var(--color-sky);
  border-radius: 50%;
}

.about-growth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-growth-item {
  padding: 1.15rem;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-photo-card {
  overflow: hidden;
  margin: 0;
}

.about-photo-card img {
  width: 100%;
  height: clamp(220px, 21vw, 260px);
  object-fit: cover;
}

.about-photo-card-environment img {
  object-fit: contain;
  object-position: 50% 50%;
  background: #eef9ff;
}

.about-photo-card-warmth img {
  object-position: 50% 50%;
}

.about-photo-card-confidence img {
  object-position: 50% 52%;
}

.about-photo-card figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
}



/* Course page layout. */
.course-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.course-hero-card .icon-badge {
  margin-bottom: 1rem;
}

.course-card-grid,
.course-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.course-info-card,
.course-program-item,
.course-photo-card {
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.course-info-card,
.course-program-item {
  padding: 1.2rem;
}

.course-info-card h3,
.course-program-item h3 {
  margin: 0.6rem 0 0.45rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

.course-info-card p,
.course-program-item p,
.course-photo-card figcaption {
  margin: 0;
  color: var(--color-muted);
}

.course-program-item h3 {
  margin-top: 0;
}

.course-panel-list {
  background: #fffdf9;
}

.course-photo-card {
  overflow: hidden;
  margin: 0;
}

.course-photo-card img {
  width: 100%;
  height: clamp(220px, 21vw, 260px);
  object-fit: cover;
}

.course-photo-learning img {
  object-position: 50% 48%;
}

.course-photo-movement img {
  object-position: 50% 42%;
}

.course-photo-rhythm img {
  object-position: 50% 45%;
}

.course-photo-card figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
}


.course-table-block {
  margin-top: 1.25rem;
  padding: 1.35rem;
  max-width: 100%;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.95);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.course-table-block + .course-table-block,
.course-table-block + .course-detail-grid {
  margin-top: 1rem;
}

.course-table-block-soft {
  background: #fffdf9;
}

.course-table-block h3,
.course-detail-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.22rem;
  line-height: 1.35;
}

.course-table-note {
  margin: 0.65rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.course-fee-table,
.course-mini-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  overflow: hidden;
  border-radius: 16px;
  font-size: 0.95rem;
}

.course-mini-table {
  min-width: 480px;
}

.course-fee-table th,
.course-fee-table td,
.course-mini-table th,
.course-mini-table td {
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(207, 232, 242, 0.95);
  text-align: left;
  vertical-align: top;
}

.course-fee-table thead th {
  background: #eaf8ff;
  color: var(--color-ink);
  font-weight: 800;
}

.course-fee-table tbody th,
.course-mini-table th {
  width: 28%;
  background: rgba(239, 249, 255, 0.72);
  color: var(--color-ink);
  font-weight: 800;
}

.course-fee-table td,
.course-mini-table td {
  color: var(--color-muted);
}

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

.course-detail-card {
  padding: 1.35rem;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.95);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.course-detail-card p {
  margin: 0.8rem 0 0;
  color: var(--color-muted);
}

.course-definition-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.course-definition-list div {
  padding: 0.85rem;
  background: rgba(239, 249, 255, 0.72);
  border: 1px solid rgba(207, 232, 242, 0.95);
  border-radius: 14px;
}

.course-definition-list dt {
  margin-bottom: 0.25rem;
  color: var(--color-ink);
  font-weight: 800;
}

.course-definition-list dd {
  margin: 0;
  color: var(--color-muted);
}


/* Daily page layout. */
.daily-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.daily-hero-card .icon-badge {
  margin-bottom: 1rem;
}

.daily-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.daily-point-card,
.daily-schedule-panel,
.daily-event-card {
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.daily-point-card {
  padding: 1.2rem;
}

.daily-point-card h3,
.daily-schedule-panel h3,
.daily-event-card h3 {
  margin: 0.6rem 0 0.45rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

.daily-point-card p,
.daily-event-card p {
  margin: 0;
  color: var(--color-muted);
}

.daily-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.daily-schedule-panel {
  padding: 1.25rem;
}

.daily-schedule-panel h3 {
  margin-top: 0;
}

.daily-schedule-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(207, 232, 242, 0.95);
  border-radius: 16px;
}

.daily-schedule-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.9rem;
  padding: 0.82rem 0.9rem;
  background: #ffffff;
}

.daily-schedule-row:nth-child(odd) {
  background: rgba(239, 249, 255, 0.72);
}

.daily-schedule-row + .daily-schedule-row {
  border-top: 1px solid rgba(207, 232, 242, 0.95);
}

.daily-time {
  color: var(--color-sky-deep);
  font-weight: 900;
}

.daily-schedule-row strong {
  color: var(--color-ink);
}

.daily-schedule-row span:last-child {
  color: var(--color-muted);
}

.daily-note-panel {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  color: var(--color-muted);
  background: #fffdf9;
  border: 1px solid rgba(215, 238, 247, 0.95);
  border-radius: var(--radius-card);
}

.daily-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.daily-event-card {
  overflow: hidden;
}

.daily-event-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.daily-event-card:nth-child(1) img { object-position: 50% 38%; }
.daily-event-card:nth-child(2) img { object-position: 50% 42%; }
.daily-event-card:nth-child(3) img { object-position: 50% 48%; }
.daily-event-card:nth-child(4) img { object-position: 50% 48%; }
.daily-event-card:nth-child(5) img { object-position: 50% 45%; }
.daily-event-card:nth-child(6) img { object-position: 50% 45%; }
.daily-event-card:nth-child(7) img { object-position: 50% 45%; }
.daily-event-card:nth-child(8) img { object-position: 50% 45%; }
.daily-event-card:nth-child(9) img { object-position: 50% 48%; }
.daily-event-card:nth-child(10) img { object-position: 50% 45%; }
.daily-event-card:nth-child(11) img { object-position: 50% 45%; }

.daily-event-body {
  padding: 1.15rem;
}

.daily-event-body .note {
  margin-top: 0.8rem;
}

.daily-event-card-text {
  display: grid;
  align-items: center;
  min-height: 100%;
  background: #fffdf9;
}

/* Entrance page layout. */
.entrance-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.entrance-hero-card .icon-badge {
  margin-bottom: 1rem;
}

.entrance-card-grid,
.entrance-flow-grid {
  display: grid;
  gap: 1rem;
}

.entrance-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entrance-flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entrance-info-card,
.entrance-flow-card,
.entrance-capacity-card,
.entrance-photo-card {
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.entrance-info-card,
.entrance-flow-card,
.entrance-capacity-card {
  padding: 1.2rem;
}

.entrance-info-card h3,
.entrance-flow-card h3 {
  margin: 0.6rem 0 0.45rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

.entrance-info-card p,
.entrance-flow-card p,
.entrance-capacity-card p,
.entrance-photo-card figcaption {
  margin: 0;
  color: var(--color-muted);
}

.entrance-info-value {
  display: block;
  margin: 0.35rem 0;
  color: var(--color-ink);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.35;
}

.entrance-capacity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1.1rem;
  align-items: start;
}

.entrance-capacity-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  font-size: 0.95rem;
}

.entrance-capacity-table th,
.entrance-capacity-table td {
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(207, 232, 242, 0.95);
  text-align: left;
}

.entrance-capacity-table thead th {
  background: #eaf8ff;
  color: var(--color-ink);
  font-weight: 800;
}

.entrance-capacity-table tbody th {
  width: 48%;
  background: rgba(239, 249, 255, 0.72);
  color: var(--color-ink);
  font-weight: 800;
}

.entrance-capacity-table td {
  color: var(--color-muted);
}

.entrance-photo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.4rem;
  align-items: center;
}

.entrance-photo-card {
  overflow: hidden;
  margin: 0;
}

.entrance-photo-card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 50% 50%;
}

.entrance-photo-card figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
}

.entrance-check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.entrance-check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  color: var(--color-muted);
}

.entrance-check-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.65rem;
  background: var(--color-sky);
  border-radius: 999px;
}

.entrance-panel-actions {
  justify-content: flex-start;
  margin-top: 1rem;
}

/* Access page layout. */
.access-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.access-hero-card .icon-badge {
  margin-bottom: 1rem;
}

.access-info-grid,
.access-route-grid {
  display: grid;
  gap: 1rem;
}

.access-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.access-card,
.access-route-card,
.access-map-card {
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.access-card,
.access-route-card {
  padding: 1.2rem;
}

.access-card h3,
.access-route-card h3 {
  margin: 0.6rem 0 0.45rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

.access-card p,
.access-route-card p,
.access-list,
.access-map-footer p {
  margin: 0;
  color: var(--color-muted);
}

.access-main-value,
.access-route-lead,
.access-main-link {
  color: var(--color-ink);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.42;
}

.access-main-link {
  text-decoration-color: rgba(25, 125, 168, 0.34);
  text-underline-offset: 0.18em;
}

.access-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin-top: 1rem;
  list-style: none;
}

.access-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
}

.access-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.65rem;
  background: var(--color-sky);
  border-radius: 999px;
}

.access-map-card {
  overflow: hidden;
}

.access-map-frame {
  width: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 9;
  background: #eef9ff;
}

.access-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-map-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-top: 1px solid rgba(215, 238, 247, 0.9);
}

.access-map-link {
  color: var(--color-sky-deep);
  font-weight: 900;
  text-decoration: none;
}

.access-map-link:hover,
.access-map-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Mail/contact page layout. */
.mail-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.mail-hero-card .icon-badge {
  margin-bottom: 1rem;
}

.mail-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mail-contact-card,
.mail-note-card {
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.mail-contact-card {
  min-width: 0;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.72rem;
}

.mail-contact-card h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.35;
}

.mail-contact-card p,
.mail-note-card p,
.mail-list {
  margin: 0;
  color: var(--color-muted);
}

.mail-main-link {
  color: var(--color-ink);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.42;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(25, 125, 168, 0.34);
  text-underline-offset: 0.18em;
}

.mail-contact-person {
  font-weight: 800;
}

.mail-contact-card .button {
  margin-top: auto;
}

.mail-helper-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.4rem;
  align-items: center;
}

.mail-note-card {
  padding: 1.25rem;
}

.mail-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.mail-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
}

.mail-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.65rem;
  background: var(--color-sky);
  border-radius: 999px;
}

/* Privacy policy page layout. */
.privacy-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.privacy-hero-card .icon-badge {
  margin-bottom: 1rem;
}

.privacy-policy-layout {
  max-width: 920px;
}

.privacy-policy-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.privacy-policy-card p,
.privacy-policy-card li {
  color: var(--color-muted);
}

.privacy-policy-card > p:first-child {
  margin-top: 0;
  color: var(--color-ink);
  font-weight: 700;
}

.privacy-policy-section {
  padding-top: 1.35rem;
  margin-top: 1.35rem;
  border-top: 1px solid rgba(215, 238, 247, 0.95);
}

.privacy-policy-section h3 {
  margin: 0 0 0.8rem;
  color: var(--color-sky-deep);
  font-size: 1.15rem;
  line-height: 1.45;
}

.privacy-policy-section p {
  margin: 0.65rem 0 0;
}

.privacy-policy-section ul,
.privacy-policy-section ol {
  margin: 0.75rem 0 0;
  padding-left: 1.35rem;
}

.privacy-policy-section li + li {
  margin-top: 0.45rem;
}

/* Parent voices page layout. */
.mamavoice-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.mamavoice-hero-card .icon-badge {
  margin-bottom: 1rem;
}

.mamavoice-support-photo-section {
  padding: 2rem 0 0;
  background: #fffdf9;
}

.mamavoice-support-photo {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.mamavoice-support-photo img {
  display: block;
  width: 100%;
  height: clamp(220px, 34vw, 380px);
  object-fit: cover;
  object-position: 50% 48%;
}

.parent-voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.parent-voice-card {
  min-width: 0;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.parent-voice-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.4;
}

.parent-voice-card blockquote {
  margin: 0;
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.85;
}

.parent-voice-card cite {
  margin-top: auto;
  color: var(--color-muted);
  font-style: normal;
  font-weight: 800;
}

/* Staff page layout. */
.staff-page .section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
}

.staff-hero-card .icon-badge {
  margin-bottom: 1rem;
}

.staff-values-grid,
.staff-card-grid {
  display: grid;
  gap: 1rem;
}

.staff-values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.staff-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.staff-value-card,
.staff-card {
  background: #ffffff;
  border: 1px solid rgba(215, 238, 247, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.staff-value-card {
  padding: 1.2rem;
}

.staff-value-card .icon-badge {
  margin-bottom: 0.9rem;
}

.staff-value-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

.staff-value-card p {
  margin: 0;
  color: var(--color-muted);
}

.staff-card {
  padding: 1.15rem;
}

.staff-card-header {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.15rem;
  align-items: center;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(207, 232, 242, 0.95);
}

.staff-card-header > div {
  min-width: 0;
  max-width: 100%;
}

.staff-portrait {
  display: block;
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 50%;
  background: #eaf8ff;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(25, 125, 168, 0.16);
}

.staff-card h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.staff-role {
  margin: 0.32rem 0 0;
  max-width: 100%;
  color: var(--color-sky-deep);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.staff-card-section {
  margin-top: 0.95rem;
}

.staff-card-section h4 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 0.45rem;
  color: var(--color-ink);
  font-size: 0.96rem;
}

.staff-card-section p,
.staff-card-section li {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.staff-card-section p {
  margin: 0;
}

.staff-card-section p + p {
  margin-top: 0.55rem;
}

.staff-card-section ul {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding-left: 1.1rem;
}

.staff-review-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  color: #8a5b05;
  background: #fff3d2;
  font-size: 0.72rem;
  font-weight: 800;
}

.staff-uncertain {
  color: #8a5b05;
  font-size: 0.88rem;
}

/* Final CTA and footer. */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  font-size: 2.45rem;
}

.final-cta p {
  max-width: 680px;
  margin: 1rem auto 1.8rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.site-footer {
  padding: 2rem 0 6rem;
  color: var(--color-muted);
  background: #eef9ff;
  font-size: 0.92rem;
}

.footer-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--color-sky-deep);
  font-weight: 800;
  text-decoration: none;
}

/* Mobile-only sticky CTA. */
.sticky-mobile-cta {
  display: none;
}

/* Responsive rules for tablet and mobile layouts. */
@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .header-inner {
    justify-content: space-between;
  }

  .about-card-grid,
  .about-growth-grid,
  .entrance-card-grid,
  .access-info-grid,
  .mail-contact-grid,
  .staff-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-note {
    display: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 50px;
  }

  .brand {
    min-width: 0;
    gap: 0.55rem;
  }

  .header-inner {
    gap: 0.7rem;
  }

  .mobile-nav summary {
    padding: 0.45rem 0.6rem;
    font-size: 0.9rem;
  }

  .header-actions > .button {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .hero-image {
    object-position: 58% 44%;
  }

  .hero-inner {
    display: flex;
    align-items: end;
    min-height: 640px;
    padding: 8rem 0 3.5rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-lede {
    font-size: 1.02rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .subpage-hero-info {
    padding: 2rem 0 2.6rem;
  }

  .subpage-hero-info-inner {
    grid-template-columns: 1fr;
  }

  .subpage-hero-info-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(215, 238, 247, 0.9);
  }

  .about-page .section {
    padding: 3.2rem 0;
  }

  .section h2,
  .final-cta h2 {
    font-size: 1.9rem;
  }

  .reassurance-grid,
  .feature-grid,
  .program-grid,
  .voices-grid,
  .support-grid,
  .daily-card-grid,
  .daily-event-grid {
    grid-template-columns: 1fr;
  }

  .local-strip {
    margin-top: 0;
    background: #ffffff;
  }

  .local-strip-inner {
    width: min(100% - 1.25rem, var(--container));
    grid-template-columns: 1fr;
    box-shadow: none;
  }

  .local-strip p + p {
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }

  .day-layout,
  .teachers-layout,
  .events-layout,
  .subpage-hero-inner,
  .about-split,
  .daily-schedule-grid,
  .entrance-flow-grid,
  .entrance-capacity-grid,
  .entrance-photo-layout,
  .access-route-grid,
  .mail-contact-grid,
  .mail-helper-grid,
  .parent-voice-grid {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    padding: 4.2rem 0 3.6rem;
  }

  .subpage-photo-hero {
    min-height: 560px;
    padding: 5rem 0 4.2rem;
  }

  .subpage-photo-hero .subpage-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page .subpage-photo-hero {
    --subpage-hero-position: 50% 32%;
  }

  .course-page .subpage-photo-hero {
    --subpage-hero-position: 50% 50%;
  }

  .daily-page .subpage-photo-hero {
    --subpage-hero-position: 50% 48%;
  }

  .staff-page .subpage-photo-hero {
    --subpage-hero-position: 50% 50%;
  }

  .entrance-page .subpage-photo-hero {
    --subpage-hero-position: 50% 38%;
  }

  .mamavoice-page .subpage-photo-hero {
    --subpage-hero-position: 60% 24%;
  }

  .mail-page .subpage-photo-hero {
    --subpage-hero-position: 50% 50%;
  }

  .access-page .subpage-photo-hero {
    --subpage-hero-position: 28% 50%;
  }

  .subpage-photo-hero.subpage-hero h1 {
    font-size: clamp(52px, 7vw, 68px);
  }

  .subpage-photo-hero .subpage-lede,
  .subpage-photo-hero .subpage-hero-copy p:last-child {
    font-size: clamp(18px, 2.5vw, 22px);
  }

  .subpage-photo-hero .section-kicker {
    font-size: 15px;
  }

  .about-card-grid,
  .about-growth-grid {
    grid-template-columns: 1fr;
  }

  .day-photo img {
    height: 340px;
  }

  .feature-card img {
    height: 320px;
  }

  .staff-card-header {
    grid-template-columns: 160px 1fr;
    gap: 1rem;
  }

  .staff-portrait {
    width: 160px;
    height: 160px;
  }

  .small-photo-note img,
  .event-feature img {
    height: 320px;
  }

  .about-photo-card img {
    height: 220px;
  }

  .about-photo-card-confidence img {
    object-position: 50% 16%;
  }

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

  .photo-card,
  .photo-card img {
    min-height: 0;
  }

  .photo-card:nth-child(1),
  .photo-card:nth-child(6) {
    grid-column: span 1;
  }

  .gallery-grid-simple .photo-card:nth-child(5) {
    grid-column: span 1;
  }

  .footer-inner {
    display: grid;
  }

  .sticky-mobile-cta {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 12;
    display: inline-flex;
    box-shadow: 0 14px 32px rgba(25, 125, 168, 0.32);
  }
}

@media (max-width: 700px) {
  .about-photo-grid,
  .daily-card-grid,
  .daily-event-grid,
  .course-card-grid,
  .course-program-grid,
  .course-photo-grid,
  .course-detail-grid,
  .entrance-card-grid,
  .access-info-grid,
  .mail-contact-grid,
  .staff-values-grid,
  .staff-card-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-card img,
  .course-photo-card img,
  .daily-event-card img,
  .entrance-photo-card img,
  .mamavoice-support-photo img {
    height: 240px;
  }
}

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

  .container,
  .hero-inner,
  .header-inner,
  .footer-inner {
    width: min(100% - 1.25rem, var(--container));
  }

  .brand-text {
    font-size: 0.86rem;
  }

  .brand-text small {
    font-size: 0.58rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    min-height: 620px;
    padding-bottom: 2.5rem;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .subpage-photo-hero.subpage-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .subpage-photo-hero {
    --subpage-hero-copy-justify: start;
    min-height: 430px;
    padding: 3.4rem 0 3.2rem;
  }

  .subpage-photo-hero .subpage-hero-inner {
    gap: 1rem;
  }

  .subpage-photo-hero .section-kicker {
    font-size: 14px;
  }

  .subpage-photo-hero .subpage-lede,
  .subpage-photo-hero .subpage-hero-copy p:last-child {
    font-size: clamp(16px, 4.5vw, 20px);
    line-height: 1.55;
  }

  .course-page .subpage-photo-hero .subpage-hero-inner,
  .daily-page .subpage-photo-hero .subpage-hero-inner,
  .staff-page .subpage-photo-hero .subpage-hero-inner,
  .mamavoice-page .subpage-photo-hero .subpage-hero-inner {
    padding-top: 0;
    align-self: center;
  }

  .daily-page .subpage-photo-hero .subpage-hero-inner {
    align-self: end;
    padding-bottom: 1.5rem;
  }

  .subpage-hero-info {
    padding: 1.4rem 0 2.2rem;
  }

  .subpage-hero-info-intro,
  .subpage-hero-info-detail {
    padding: 1.25rem;
  }

  .subpage-hero-info-detail {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .entrance-page .subpage-photo-hero {
    --subpage-hero-position: 48% 38%;
  }

  .mamavoice-page .subpage-photo-hero {
    --subpage-hero-position: 80% 50%;
  }

  .access-page .subpage-photo-hero {
    --subpage-hero-position: 28% 50%;
  }

  .mamavoice-support-photo-section {
    padding-top: 1.25rem;
  }

  .about-page .section h2,
  .about-page .subpage-hero h1,
  .about-page .subpage-lede,
  .about-page p,
  .about-page li,
  .about-page h3,
  .entrance-page .section h2,
  .entrance-page .subpage-hero h1,
  .entrance-page .subpage-lede,
  .entrance-page p,
  .entrance-page li,
  .entrance-page h3,
  .access-page .section h2,
  .access-page .subpage-hero h1,
  .access-page .subpage-lede,
  .access-page p,
  .access-page li,
  .access-page h3,
  .mail-page .section h2,
  .mail-page .subpage-hero h1,
  .mail-page .subpage-lede,
  .mail-page p,
  .mail-page li,
  .mail-page h3,
  .mamavoice-page .section h2,
  .mamavoice-page .subpage-hero h1,
  .mamavoice-page .subpage-lede,
  .mamavoice-page p,
  .mamavoice-page li,
  .mamavoice-page h3,
  .mamavoice-page blockquote,
  .privacy-page .section h2,
  .privacy-page .subpage-hero h1,
  .privacy-page .subpage-lede,
  .privacy-page p,
  .privacy-page li,
  .privacy-page h3,
  .staff-page .section h2,
  .staff-page .subpage-hero h1,
  .staff-page .subpage-lede,
  .staff-page p,
  .staff-page li,
  .staff-page h3 {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .about-page .section h2,
  .entrance-page .section h2,
  .access-page .section h2,
  .mail-page .section h2,
  .mamavoice-page .section h2,
  .privacy-page .section h2,
  .staff-page .section h2 {
    font-size: 1.58rem;
  }

  .privacy-page .subpage-hero h1 {
    font-size: 1.9rem;
  }

  .staff-card {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .staff-card-grid,
  .staff-card-header > div {
    min-width: 0;
    max-width: 100%;
  }

  .staff-card-header > div {
    width: min(100%, 15.5rem);
  }

  .staff-card-section,
  .staff-card-section ul,
  .staff-card-section li,
  .staff-card-section p {
    min-width: 0;
    max-width: 100%;
  }

  .staff-card-header {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    justify-items: center;
    text-align: center;
  }

  .staff-portrait {
    width: 140px;
    height: 140px;
  }

  .staff-card h3 {
    font-size: 1.08rem;
  }

  .staff-role {
    font-size: 0.84rem;
  }

  .staff-card-section p,
  .staff-card-section li {
    font-size: 0.88rem;
  }

  .subpage-lede {
    font-size: 1.12rem;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .sticky-mobile-cta {
    width: auto;
  }

  .section-heading {
    margin-bottom: 1.25rem;
  }

  .mini-card {
    min-height: auto;
  }

  .day-card,
  .daily-schedule-row {
    grid-template-columns: 1fr;
  }

  .day-number {
    width: 38px;
    height: 38px;
  }

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

  .feature-card img {
    height: 280px;
  }

  .small-photo-note img,
  .event-feature img {
    height: 280px;
  }

  .about-photo-card img {
    height: 240px;
  }

  .about-panel {
    padding: 1.2rem;
  }

  .access-map-frame {
    min-height: 300px;
  }
}
