@charset "utf-8";

:root {
  --bg: #f7f2e9;
  --surface: #ffffff;
  --surface-soft: #f2eadc;
  --brown-900: #3b241b;
  --brown-700: #654438;
  --brown-500: #9a7565;
  --accent: #c75f43;
  --accent-dark: #9f452f;
  --green: #6f8d67;
  --green-soft: #e9f0e6;
  --line: #dfd2c3;
  --text: #382f2a;
  --muted: #6e625b;
  --shadow: 0 16px 40px rgba(68, 42, 30, .08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brown-900);
  color: #fff;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(78, 51, 40, .12);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--brown-900);
}
.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 50% 12px;
  background: var(--accent);
  transform: rotate(-10deg);
}
.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fff7e9;
}
.brand-mark::before { width: 15px; height: 22px; left: 9px; top: 13px; transform: rotate(20deg); }
.brand-mark::after { width: 15px; height: 22px; right: 9px; top: 13px; transform: rotate(-20deg); }
.brand-mark span { width: 9px; height: 9px; left: 20px; top: 9px; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-sub { font-size: .75rem; letter-spacing: .08em; }
.brand-name { font-size: 1.55rem; font-weight: 800; letter-spacing: .08em; }
.header-actions { margin-left: auto; display: flex; gap: 10px; }
.header-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 17px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.header-action--outline { background: #fff; color: var(--accent-dark); }
.header-action:hover { filter: brightness(.96); }
.menu-button { display: none; }

.global-nav { background: var(--brown-900); color: #fff; }
.global-nav-inner {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}
.global-nav a {
  position: relative;
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 8px 6px;
  border-left: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.global-nav a:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.global-nav a:hover,
.global-nav a.is-current { background: var(--accent); }

.section-shell,
.breadcrumb { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.breadcrumb-wrap { background: #fff; border-bottom: 1px solid #eee5db; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding-block: 11px;
  list-style: none;
  font-size: .8rem;
  color: var(--muted);
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 10px; color: #b7a69b; }
.breadcrumb a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.page-hero {
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.72) 0 55px, transparent 56px),
    radial-gradient(circle at 90% 70%, rgba(255,255,255,.54) 0 90px, transparent 91px),
    linear-gradient(135deg, #ead8c4, #f5ede3 56%, #e6eee2);
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 8%;
  top: -130px;
  border: 38px solid rgba(199, 95, 67, .13);
  border-radius: 50%;
}
.page-hero-inner {
  position: relative;
  width: min(calc(100% - 40px), var(--content));
  min-height: 260px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 58px;
}
.page-hero-kicker,
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.page-hero h1 { margin: 0; color: var(--brown-900); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.25; letter-spacing: .06em; }
.page-hero p:last-child { margin: 16px 0 0; font-size: 1.05rem; font-weight: 600; }

.section-nav {
  position: relative;
  z-index: 2;
  margin-top: -27px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}
.section-nav a {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 12px 8px;
  border-right: 1px solid var(--line);
  color: var(--brown-700);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}
.section-nav a:last-child { border-right: 0; }
.section-nav a:hover,
.section-nav a.is-current { background: var(--brown-900); color: #fff; }

.page-content { padding-block: 72px 100px; }
.intro-panel {
  padding: clamp(28px, 5vw, 62px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.intro-panel h2,
.content-section h2,
.cta-panel h2 { margin: 0; color: var(--brown-900); line-height: 1.45; }
.intro-panel h2 { font-size: clamp(1.65rem, 4vw, 2.45rem); }
.intro-panel > p:not(.eyebrow):not(.lead-message) { max-width: 900px; margin: 28px auto 0; text-align: left; }
.lead-message {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 17px 24px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brown-900);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
}
.wide-figure { margin: 34px 0 0; }
.wide-figure img { border-radius: 12px; }

.content-section { padding-top: 88px; }
.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}
.section-number {
  flex: 0 0 auto;
  margin: 2px 0 0;
  color: var(--accent);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
}
.section-heading h2 { font-size: clamp(1.5rem, 3.5vw, 2.15rem); }
.text-card,
.media-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 24px rgba(68, 42, 30, .05);
}
.text-card { padding: clamp(24px, 4vw, 44px); }
.text-card p { margin: 0; }
.text-card--accent { border-left: 7px solid var(--accent); }
.media-card {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 34%);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
}
.media-card-body > :first-child { margin-top: 0; }
.media-card-body > :last-child { margin-bottom: 0; }
.media-card-image { margin: 0; }
.media-card-image img { width: 100%; border-radius: var(--radius-md); object-fit: cover; }
.feature-list {
  margin: 22px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  counter-reset: features;
}
.feature-list li {
  counter-increment: features;
  display: grid;
  gap: 2px;
  padding: 15px 16px 15px 50px;
  position: relative;
  border-radius: 12px;
  background: var(--green-soft);
}
.feature-list li::before {
  content: counter(features, decimal-leading-zero);
  position: absolute;
  left: 15px;
  top: 14px;
  color: var(--green);
  font-weight: 900;
}
.feature-list strong { color: var(--brown-900); }
.feature-list span { color: var(--muted); font-size: .78rem; line-height: 1.35; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 24px rgba(68, 42, 30, .05);
}
.benefit-card p { margin: 0; }
.benefit-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: .85rem;
  font-weight: 900;
}
.note {
  margin: 18px 0 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: .9rem;
  text-indent: -1.15em;
}
.note::before { content: "※"; }

.steps { display: grid; gap: 22px; }
.step-card { padding: clamp(24px, 4vw, 42px); }
.step-card--final { border-color: rgba(199, 95, 67, .42); background: #fffaf7; }
.step-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.step-heading h3 { margin: 0; color: var(--brown-900); font-size: clamp(1.15rem, 2.8vw, 1.5rem); line-height: 1.45; }
.step-number {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}
.step-layout { display: grid; grid-template-columns: 1fr 250px; gap: 34px; align-items: start; }
.step-layout > img { width: 100%; border-radius: 14px; object-fit: cover; }
.certification-list { display: grid; gap: 8px; margin: 20px 0; }
.certification-list div { display: grid; grid-template-columns: 120px 1fr; border-radius: 10px; background: var(--surface-soft); overflow: hidden; }
.certification-list dt { padding: 10px 14px; background: var(--brown-700); color: #fff; font-weight: 800; }
.certification-list dd { margin: 0; padding: 10px 14px; }
.subheading { margin: 25px 0 8px; color: var(--brown-900); font-weight: 800; }
.plain-list { margin: 0; padding-left: 1.25em; }
.table-scroll { overflow-x: auto; margin-top: 20px; border-radius: 12px; outline-offset: 4px; }
table { width: 100%; min-width: 540px; border-collapse: collapse; background: #fff; }
caption { padding: 12px 16px; background: var(--brown-900); color: #fff; font-weight: 800; text-align: left; }
th, td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; }
thead th { background: var(--surface-soft); color: var(--brown-900); }
tbody th { background: #faf7f2; color: var(--brown-900); }

.cta-panel {
  margin-top: 90px;
  padding: clamp(30px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: var(--brown-900);
  color: #fff;
}
.cta-panel .eyebrow { color: #f3b4a1; }
.cta-panel h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-panel p:last-child { margin-bottom: 0; }
.cta-actions { display: grid; gap: 10px; min-width: 210px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.button--primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button--secondary { background: transparent; color: #fff; }
.button:hover { transform: translateY(-1px); filter: brightness(1.05); }

.site-footer { background: #e7dccd; color: var(--brown-900); }
.footer-inner { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; padding-block: 48px 30px; text-align: center; }
.footer-brand { display: grid; line-height: 1.35; }
.footer-brand-sub { font-size: .78rem; letter-spacing: .08em; }
.footer-brand strong { font-size: 1.5rem; letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 24px; font-size: .9rem; }
.footer-links a { text-underline-offset: 4px; }
.copyright { margin: 28px 0 0; font-size: .75rem; color: var(--muted); }
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.2);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 960px) {
  .header-actions { display: none; }
  .menu-button {
    margin-left: auto;
    display: grid;
    width: 54px;
    min-height: 54px;
    place-items: center;
    gap: 0;
    padding: 6px;
    border: 0;
    border-radius: 12px;
    background: var(--brown-900);
    color: #fff;
    cursor: pointer;
  }
  .menu-button-lines,
  .menu-button-lines::before,
  .menu-button-lines::after {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: .2s ease;
  }
  .menu-button-lines { position: relative; margin-top: 4px; }
  .menu-button-lines::before,
  .menu-button-lines::after { content: ""; position: absolute; left: 0; }
  .menu-button-lines::before { top: -7px; }
  .menu-button-lines::after { top: 7px; }
  .menu-button[aria-expanded="true"] .menu-button-lines { background: transparent; }
  .menu-button[aria-expanded="true"] .menu-button-lines::before { top: 0; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button-lines::after { top: 0; transform: rotate(-45deg); }
  .menu-button-label { font-size: .62rem; line-height: 1; }
  .global-nav {
    position: fixed;
    inset: 92px 0 0;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: .2s ease;
  }
  .global-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .global-nav-inner { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); padding: 18px; }
  .global-nav a { min-height: 64px; border: 1px solid rgba(255,255,255,.14); }
  .section-nav { grid-template-columns: repeat(3, 1fr); }
  .section-nav a { border-bottom: 1px solid var(--line); }
  .media-card { grid-template-columns: 1fr 230px; }
  .step-layout { grid-template-columns: 1fr 210px; }
}

@media (max-width: 680px) {
  body { font-size: 15px; line-height: 1.8; }
  .header-inner { width: min(calc(100% - 24px), var(--content)); min-height: 76px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark::before { width: 12px; height: 18px; left: 8px; top: 11px; }
  .brand-mark::after { width: 12px; height: 18px; right: 8px; top: 11px; }
  .brand-mark span { width: 7px; height: 7px; left: 17px; top: 8px; }
  .brand-sub { font-size: .62rem; }
  .brand-name { font-size: 1.18rem; }
  .menu-button { width: 50px; min-height: 50px; }
  .global-nav { inset: 76px 0 0; }
  .global-nav-inner { grid-template-columns: 1fr; }
  .section-shell,
  .breadcrumb { width: min(calc(100% - 24px), var(--content)); }
  .breadcrumb { font-size: .73rem; }
  .page-hero-inner { width: min(calc(100% - 24px), var(--content)); min-height: 220px; padding-block: 44px 58px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p:last-child { font-size: .92rem; }
  .section-nav { grid-template-columns: repeat(2, 1fr); margin-top: -22px; border-radius: 14px; }
  .section-nav a { min-height: 62px; padding: 10px 6px; font-size: .83rem; }
  .page-content { padding-block: 48px 70px; }
  .intro-panel { border-radius: 20px; text-align: left; }
  .intro-panel .eyebrow,
  .intro-panel h2 { text-align: center; }
  .lead-message { border-radius: 14px; text-align: center; }
  .content-section { padding-top: 65px; }
  .section-heading { gap: 12px; }
  .section-number { font-size: 2.2rem; }
  .media-card,
  .step-layout { grid-template-columns: 1fr; }
  .media-card-image { order: -1; }
  .media-card-image img,
  .step-layout > img { width: 100%; max-height: 280px; }
  .feature-list { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 22px; }
  .step-card { border-radius: 15px; }
  .step-heading { align-items: flex-start; }
  .certification-list div { grid-template-columns: 1fr; }
  .certification-list dt { padding-bottom: 6px; }
  .certification-list dd { padding-top: 6px; }
  .cta-panel { grid-template-columns: 1fr; margin-top: 66px; border-radius: 20px; }
  .cta-actions { min-width: 0; }
  .page-top { width: 44px; height: 44px; right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* ===== Top page ===== */
.home-main {
  overflow: hidden;
}

.home-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.home-hero {
  position: relative;
  background: #1f1713;
}

.hero-slider {
  position: relative;
  width: min(100%, 1600px);
  min-height: clamp(420px, 47vw, 700px);
  margin-inline: auto;
  overflow: hidden;
  background: #33251e;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s ease, visibility .75s ease;
}

.hero-slide.is-current {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 47vw, 700px);
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 18, 14, .72) 0%, rgba(28, 18, 14, .26) 52%, rgba(28, 18, 14, .08) 100%),
    linear-gradient(0deg, rgba(28, 18, 14, .45) 0%, transparent 44%);
}

.hero-copy {
  position: absolute;
  z-index: 4;
  left: max(20px, calc((100% - var(--content)) / 2));
  bottom: clamp(72px, 9vw, 130px);
  width: min(650px, calc(100% - 40px));
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.hero-kicker {
  margin: 0 0 10px;
  color: #f6c6b7;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.25;
  letter-spacing: .05em;
}

.hero-copy p:last-child {
  max-width: 540px;
  margin: 18px 0 0;
  font-size: clamp(.98rem, 1.7vw, 1.2rem);
  font-weight: 700;
  line-height: 1.8;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 24px;
  width: min(calc(100% - 40px), var(--content));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  background: rgba(40,24,17,.46);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(7px);
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--accent);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dot.is-current {
  background: #fff;
  transform: scale(1.16);
}

.hero-status {
  margin-left: auto;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.home-intro {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

.intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.intro-card .eyebrow {
  margin-bottom: 6px;
}

.intro-card h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.45;
}

.intro-card p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
}

.intro-card .button {
  min-width: 190px;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.home-section {
  padding-block: clamp(68px, 8vw, 106px);
}

.home-section--white {
  background: #fff;
}

.home-section--soft {
  background:
    radial-gradient(circle at 4% 12%, rgba(255,255,255,.78) 0 70px, transparent 71px),
    radial-gradient(circle at 94% 88%, rgba(255,255,255,.62) 0 110px, transparent 111px),
    var(--surface-soft);
}

.home-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 38px;
  text-align: center;
}

.home-heading .eyebrow {
  margin-bottom: 8px;
}

.home-heading h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  line-height: 1.4;
  letter-spacing: .04em;
}

.home-heading p:last-child {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 19px;
  background: #fff;
  color: var(--brown-900);
  box-shadow: 0 10px 28px rgba(68,42,30,.08);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(68,42,30,.13);
}

.guide-card img {
  width: 100%;
  aspect-ratio: 300 / 230;
  object-fit: cover;
}

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

.audience-card {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(68,42,30,.05);
  transition: transform .2s ease, border-color .2s ease;
}

.audience-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.audience-card img {
  width: min(250px, 100%);
  height: auto;
}

.audience-card span {
  margin-top: 12px;
  color: var(--accent-dark);
  font-size: .82rem;
  font-weight: 800;
}

.updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

.update-card,
.information-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 30px rgba(68,42,30,.08);
}

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

.update-card-header,
.information-header {
  padding: 22px 24px 17px;
  border-bottom: 1px solid var(--line);
}

.update-card-header p,
.information-header p {
  margin: 0 0 4px;
  color: var(--accent-dark);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.update-card-header h3,
.information-header h3 {
  margin: 0;
  color: var(--brown-900);
  font-size: 1.35rem;
  line-height: 1.35;
}

.update-card-body {
  flex: 1;
  padding: 22px 24px 25px;
}

.update-date {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brown-700);
  font-size: .82rem;
  font-weight: 800;
}

.update-photo {
  overflow: hidden;
  display: block;
  margin: 0;
  border-radius: 13px;
  background: #eee4d8;
}

.update-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s ease;
}

.update-photo:hover img {
  transform: scale(1.025);
}

.update-card h4 {
  margin: 17px 0 4px;
  color: var(--brown-900);
  font-size: 1.03rem;
}

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

.update-card-footer {
  padding: 0 24px 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.information-list {
  margin: 0;
  padding: 8px 24px 22px;
  list-style: none;
}

.information-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  padding-block: 17px;
  border-bottom: 1px solid #eee5db;
}

.information-list li:last-child {
  border-bottom: 0;
}

.information-date {
  color: var(--accent-dark);
  font-size: .82rem;
  font-weight: 900;
}

.information-copy {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
}

.information-copy a {
  color: var(--brown-900);
  font-weight: 800;
  text-underline-offset: 3px;
}

.new-badge {
  display: inline-flex;
  margin-right: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .06em;
  vertical-align: .1em;
}

.movie-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 47%);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background: var(--brown-900);
  color: #fff;
}

.movie-panel .eyebrow {
  color: #f3b4a1;
}

.movie-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.45;
}

.movie-panel p:last-child {
  margin-bottom: 0;
  color: #eee3dc;
}

.movie-media {
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #201712;
  box-shadow: 0 16px 42px rgba(0,0,0,.26);
}

.movie-media video {
  display: block;
  width: 100%;
  aspect-ratio: 300 / 230;
  background: #201712;
  object-fit: cover;
}

.home-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ead8c4, #f7f0e7 58%, #e6eee2);
}

.home-cta h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.45;
}

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

.home-cta-actions {
  display: flex;
  gap: 10px;
}

.home-cta .button--secondary {
  border-color: var(--brown-900);
  background: #fff;
  color: var(--brown-900);
}

.footer-logo {
  width: min(420px, 92%);
  height: auto;
  mix-blend-mode: multiply;
}

.footer-notice {
  max-width: 790px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.75;
}

@media (max-width: 1080px) {
  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .information-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero-copy {
    left: 28px;
  }

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

  .intro-card .button {
    justify-self: start;
  }

  .movie-panel {
    grid-template-columns: 1fr;
  }

  .movie-media {
    max-width: 620px;
  }

  .home-cta {
    grid-template-columns: 1fr;
  }

  .home-cta-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .home-shell {
    width: min(calc(100% - 24px), var(--content));
  }

  .hero-slider,
  .hero-slide img {
    min-height: 500px;
  }

  .hero-slide img {
    object-position: center;
  }

  .hero-slide::after {
    background:
      linear-gradient(0deg, rgba(28,18,14,.76) 0%, rgba(28,18,14,.25) 70%, rgba(28,18,14,.08) 100%);
  }

  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 92px;
    width: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-controls {
    width: calc(100% - 24px);
    bottom: 22px;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
  }

  .hero-status {
    display: none;
  }

  .home-intro {
    margin-top: 18px;
  }

  .intro-card {
    border-radius: 20px;
  }

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

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

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

  .information-card {
    grid-column: auto;
  }

  .movie-panel,
  .home-cta {
    border-radius: 20px;
  }

  .home-cta-actions {
    display: grid;
  }

  .home-cta-actions .button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .information-list li {
    grid-template-columns: 48px 1fr;
    gap: 11px;
  }
}


/* v3: guide plates without arrow icons */
.guide-card::before,
.guide-card::after {
  content: none !important;
  display: none !important;
}

/* v3: make the header logo more prominent without increasing header height */
.site-brand {
  flex: 0 1 520px;
}

.site-brand img {
  display: block;
  width: min(520px, 61vw) !important;
  height: auto;
}

@media (max-width: 680px) {
  .site-brand {
    flex-basis: auto;
  }

  .site-brand img {
    width: min(278px, 70vw) !important;
  }
}


/* ===== Phase 2: common header/footer for lower pages ===== */
.global-nav a.is-current {
  background: #5a2f23;
  color: #fff;
}

.page-hero {
  border-top: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 680px) {
  .site-brand img {
    width: min(278px, 70vw) !important;
  }
}


/* ===== Phase 3: About category pages ===== */
.category-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(36px, 6vw, 70px);
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff, #f7f0e7);
  box-shadow: var(--shadow);
}

.category-intro h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.65rem, 3.5vw, 2.45rem);
  line-height: 1.45;
}

.category-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.category-intro-visual {
  display: grid;
  min-height: 230px;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.72) 0 26px, transparent 27px),
    radial-gradient(circle at 76% 65%, rgba(255,255,255,.52) 0 42px, transparent 43px),
    #dce8d7;
}

.category-intro-visual span {
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  border: 1px solid rgba(71,91,64,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  color: #4d6646;
  font-size: 3.2rem;
  font-weight: 800;
}

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

.category-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(68,42,30,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(68,42,30,.12);
}

.category-card img {
  width: 100%;
  aspect-ratio: 250 / 90;
  object-fit: cover;
}

.category-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 24px;
}

.category-card-number {
  margin: 0 0 7px;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.category-card h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: 1.25rem;
  line-height: 1.4;
}

.category-card p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.policy-lead {
  max-width: 920px;
  margin: 0 auto clamp(38px, 6vw, 72px);
  padding: clamp(26px, 5vw, 48px);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(68,42,30,.07);
  color: var(--brown-900);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 2;
}

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

.policy-card {
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.policy-card-number {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.policy-card h3 {
  margin: 0 0 10px;
  color: var(--brown-900);
  font-size: 1.25rem;
  line-height: 1.55;
}

.policy-card .arrow-copy {
  margin: 0 0 17px;
  color: var(--accent-dark);
  font-weight: 800;
}

.policy-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.policy-card li + li {
  margin-top: 8px;
}

.photo-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.photo-story {
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(68,42,30,.07);
}

.photo-story img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-story figcaption {
  padding: 12px 14px 15px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.6;
}

.english-details {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.english-details summary {
  padding: 20px 22px;
  color: var(--brown-900);
  font-weight: 800;
  cursor: pointer;
}

.english-details-body {
  padding: 0 22px 24px;
  color: var(--muted);
}

.english-details-body h3 {
  margin: 24px 0 8px;
  color: var(--brown-900);
  font-size: 1.05rem;
}

.concept-layout {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.concept-figure {
  position: sticky;
  top: 128px;
  margin: 0;
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.concept-figure img {
  width: 100%;
  height: auto;
}

.concept-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.concept-card-list {
  display: grid;
  gap: 18px;
}

.concept-card {
  padding: clamp(23px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.concept-card h2 {
  margin: 0 0 14px;
  color: var(--brown-900);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.45;
}

.concept-card h2 span {
  display: block;
  margin-top: 5px;
  color: var(--accent-dark);
  font-size: .78rem;
  letter-spacing: .08em;
}

.concept-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.concept-card li + li {
  margin-top: 8px;
}

.content-alert {
  margin: 0 0 28px;
  padding: 17px 19px;
  border: 1px solid #dec8a9;
  border-radius: 14px;
  background: #fff8ea;
  color: #69523b;
  font-size: .9rem;
}

.data-section + .data-section {
  margin-top: clamp(46px, 7vw, 82px);
}

.data-section-header {
  margin-bottom: 22px;
}

.data-section-header .eyebrow {
  margin-bottom: 7px;
}

.data-section-header h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fff;
}

.data-table caption {
  padding: 0 0 12px;
  color: var(--muted);
  font-size: .85rem;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  border: 1px solid #ddd0c1;
  vertical-align: top;
}

.data-table thead th {
  background: var(--brown-900);
  color: #fff;
  font-size: .86rem;
  text-align: center;
}

.data-table tbody th {
  background: #f5ede4;
  color: var(--brown-900);
  text-align: left;
}

.data-table td {
  font-size: .88rem;
  line-height: 1.65;
}

.compact-table {
  min-width: 620px;
}

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

.note-list li {
  position: relative;
  padding-left: 1.5em;
  color: var(--muted);
  font-size: .92rem;
}

.note-list li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 900;
}

.info-box {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.info-box h3 {
  margin: 0 0 10px;
  color: var(--brown-900);
  font-size: 1.1rem;
}

.info-box p:last-child,
.info-box ul:last-child {
  margin-bottom: 0;
}

.event-overview-grid,
.health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.event-overview-card,
.health-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.event-overview-card h3,
.health-card h3 {
  margin: 0 0 11px;
  color: var(--brown-900);
  font-size: 1.2rem;
}

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

.month-card {
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.07);
}

.month-card img {
  width: 100%;
  aspect-ratio: 300 / 190;
  object-fit: cover;
}

.month-card figcaption {
  padding: 12px 14px 15px;
  color: var(--brown-900);
  font-weight: 800;
  text-align: center;
}

.feature-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
  gap: 28px;
  align-items: center;
  padding: clamp(25px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-event + .feature-event {
  margin-top: 24px;
}

.feature-event h3 {
  margin: 0 0 13px;
  color: var(--brown-900);
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  line-height: 1.45;
}

.feature-event-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feature-event-images img {
  width: 100%;
  height: 165px;
  border-radius: 13px;
  object-fit: cover;
}

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

.health-media figure {
  overflow: hidden;
  margin: 0;
  border-radius: 15px;
  background: #fff;
}

.health-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.health-media figcaption {
  padding: 10px 12px 13px;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}

@media (max-width: 960px) {
  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .concept-layout,
  .feature-event {
    grid-template-columns: 1fr;
  }

  .concept-figure {
    position: static;
    max-width: 500px;
  }
}

@media (max-width: 760px) {
  .category-intro,
  .policy-grid,
  .event-overview-grid,
  .health-grid {
    grid-template-columns: 1fr;
  }

  .category-intro-visual {
    min-height: 175px;
  }

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

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

  .health-media {
    grid-template-columns: 1fr;
  }

  .feature-event-images img {
    height: 135px;
  }
}

@media (max-width: 460px) {
  .photo-story-grid,
  .month-grid,
  .feature-event-images {
    grid-template-columns: 1fr;
  }
}


/* ===== Phase 4: childcare, garden, visit and access ===== */
.content-lead {
  max-width: 900px;
  margin: 0 auto clamp(42px, 7vw, 78px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.content-lead h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  line-height: 1.5;
}

.content-lead p:last-child {
  max-width: 790px;
  margin: 20px auto 0;
  color: var(--muted);
  text-align: left;
}

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

.childcare-menu-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.9) 0 44px, transparent 45px),
    linear-gradient(145deg, #f0dfca, #fff 62%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(68,42,30,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.childcare-menu-card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.9) 0 44px, transparent 45px),
    linear-gradient(145deg, #dfe9db, #fff 62%);
}

.childcare-menu-card:nth-child(3) {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.9) 0 44px, transparent 45px),
    linear-gradient(145deg, #ead9d5, #fff 62%);
}

.childcare-menu-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(68,42,30,.12);
}

.childcare-menu-number {
  margin: 0;
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.childcare-menu-card h2 {
  margin: 22px 0 0;
  color: var(--brown-900);
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
}

.childcare-menu-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.childcare-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  color: var(--accent-dark);
  font-weight: 800;
}

.garden-message {
  max-width: 920px;
  margin: 0 auto clamp(48px, 7vw, 84px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.garden-message h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.5;
}

.garden-message p {
  margin: 20px 0 0;
}

.garden-section + .garden-section {
  margin-top: clamp(72px, 9vw, 116px);
}

.garden-section-header {
  max-width: 820px;
  margin-bottom: 30px;
}

.garden-section-header h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.5;
}

.garden-section-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.garden-photo {
  overflow: hidden;
  position: relative;
  grid-column: span 4;
  margin: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.07);
}

.garden-photo--wide {
  grid-column: span 8;
}

.garden-photo--full {
  grid-column: 1 / -1;
}

.garden-photo--tall img {
  aspect-ratio: 3 / 4;
}

.garden-photo img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.garden-photo--wide img {
  aspect-ratio: 16 / 8.5;
}

.garden-photo--full img {
  aspect-ratio: 890 / 300;
  min-height: 260px;
}

.garden-photo:hover img {
  transform: scale(1.025);
}

.garden-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  color: var(--brown-900);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.55;
  backdrop-filter: blur(6px);
}

.garden-quote {
  margin: 30px 0 0;
  padding: 24px 28px;
  border-left: 5px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--green-soft);
  color: #40543b;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
}

.visit-point-list {
  display: grid;
  gap: 18px;
  counter-reset: visit-points;
}

.visit-point {
  counter-increment: visit-points;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.05);
}

.visit-point::before {
  content: counter(visit-points, decimal-leading-zero);
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
}

.visit-point h3 {
  margin: 0;
  color: var(--brown-900);
  font-size: 1.22rem;
  line-height: 1.5;
}

.visit-point p {
  margin: 9px 0 0;
  color: var(--muted);
}

.visit-application {
  margin-top: clamp(54px, 8vw, 92px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brown-900), #5b3a2d);
  color: #fff;
  text-align: center;
}

.visit-application .eyebrow {
  color: #f3b4a1;
}

.visit-application h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
}

.visit-application p {
  max-width: 760px;
  margin: 18px auto 0;
  color: #f2e9e3;
}

.visit-application .button {
  margin-top: 28px;
  min-width: 250px;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
}

.access-card {
  padding: clamp(27px, 4vw, 42px);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.access-card h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.5;
}

.access-name {
  margin: 22px 0 0;
  color: var(--brown-900);
  font-weight: 800;
  line-height: 1.8;
}

.access-address {
  margin: 18px 0 0;
  font-style: normal;
}

.access-contact {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.access-contact a,
.access-contact span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--brown-900);
  font-weight: 800;
  text-decoration: none;
}

.access-contact small {
  color: var(--muted);
  font-weight: 600;
}

.access-map {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.access-map img {
  width: 100%;
  height: auto;
}

.access-map figcaption {
  padding: 16px 18px 20px;
  color: var(--muted);
  font-size: .88rem;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.access-actions .button--secondary {
  border-color: var(--brown-900);
  background: #fff;
  color: var(--brown-900);
}

.phase-notice {
  margin-top: 26px;
  padding: 17px 20px;
  border: 1px solid #dec8a9;
  border-radius: 14px;
  background: #fff8ea;
  color: #69523b;
  font-size: .88rem;
}

@media (max-width: 960px) {
  .childcare-menu-grid {
    grid-template-columns: 1fr;
  }

  .childcare-menu-card {
    min-height: 200px;
  }

  .access-layout {
    grid-template-columns: 1fr;
  }

  .access-card {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .garden-photo,
  .garden-photo--wide {
    grid-column: span 6;
  }

  .garden-photo--full {
    grid-column: 1 / -1;
  }

  .garden-photo img,
  .garden-photo--wide img,
  .garden-photo--full img {
    min-height: 210px;
    aspect-ratio: 4 / 3;
  }

  .visit-point {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
  }

  .visit-point::before {
    width: 46px;
    height: 46px;
    font-size: .9rem;
  }
}

@media (max-width: 500px) {
  .garden-photo,
  .garden-photo--wide,
  .garden-photo--full {
    grid-column: 1 / -1;
  }

  .garden-photo img,
  .garden-photo--wide img,
  .garden-photo--full img {
    min-height: 230px;
  }

  .visit-point {
    display: block;
  }

  .visit-point::before {
    margin-bottom: 15px;
  }

  .access-actions {
    display: grid;
  }

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


/* ===== Phase 5: Community and recruitment pages ===== */
.portal-lead {
  max-width: 920px;
  margin: 0 auto clamp(42px, 7vw, 78px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.portal-lead h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.55rem, 3.5vw, 2.3rem);
  line-height: 1.5;
}

.portal-lead p:last-child {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
}

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

.portal-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(27px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 84% 17%, rgba(255,255,255,.82) 0 45px, transparent 46px),
    linear-gradient(145deg, #e8d5c1, #fff 64%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(68,42,30,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.portal-card:nth-child(2) {
  background:
    radial-gradient(circle at 84% 17%, rgba(255,255,255,.82) 0 45px, transparent 46px),
    linear-gradient(145deg, #dce8d7, #fff 64%);
}

.portal-card:nth-child(3) {
  background:
    radial-gradient(circle at 84% 17%, rgba(255,255,255,.82) 0 45px, transparent 46px),
    linear-gradient(145deg, #ead9d5, #fff 64%);
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 38px rgba(68,42,30,.12);
}

.portal-card-kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.portal-card h2 {
  margin: 22px 0 0;
  color: var(--brown-900);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  line-height: 1.45;
}

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

.portal-card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 28px;
  color: var(--accent-dark);
  font-weight: 800;
}

.category-local-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(calc(100% - 30px), var(--content));
  margin: 30px auto 0;
}

.category-local-nav a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brown-900);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.category-local-nav a:hover,
.category-local-nav a.is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.service-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 84px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-lead h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  line-height: 1.5;
}

.service-lead p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.service-lead-image {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: var(--surface-soft);
}

.service-lead-image img {
  width: 100%;
  min-height: 235px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.info-pair-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.info-pair-card h3 {
  margin: 0 0 10px;
  color: var(--brown-900);
  font-size: 1.15rem;
}

.info-pair-card p:last-child {
  margin-bottom: 0;
}

.program-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #fff;
}

.program-table th,
.program-table td {
  padding: 13px 15px;
  border: 1px solid #ddd0c1;
}

.program-table thead th {
  background: var(--brown-900);
  color: #fff;
  text-align: center;
}

.program-table tbody th {
  background: #f5ede4;
  color: var(--brown-900);
  text-align: left;
  white-space: nowrap;
}

.program-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: .9rem;
}

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

.photo-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.07);
}

.photo-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.baby-room-photo-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.baby-room-photo-gallery figure {
  align-self: start;
}

.baby-room-photo-gallery img {
  display: block;
  height: auto;
  object-fit: contain;
}

.photo-gallery.baby-room-photo-gallery figcaption {
  padding: 12px 14px 15px;
  background: #fff;
  color: var(--brown-900);
  font-weight: 700;
  line-height: 1.6;
}

.photo-gallery figcaption {
  padding: 11px 13px 14px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.service-steps {
  display: grid;
  gap: 16px;
  counter-reset: service-step;
}

.service-steps > .step-card {
  counter-increment: service-step;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.service-steps > .step-card::before {
  content: counter(service-step, decimal-leading-zero);
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.service-steps > .step-card h3 {
  margin: 0 0 8px;
  color: var(--brown-900);
  font-size: 1.12rem;
}

.service-steps > .step-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.service-cta {
  margin-top: clamp(54px, 8vw, 92px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brown-900), #5c3a2c);
  color: #fff;
  text-align: center;
}

.service-cta .eyebrow {
  color: #f3b4a1;
}

.service-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3.3vw, 2.2rem);
}

.service-cta p {
  max-width: 750px;
  margin: 17px auto 0;
  color: #f1e7e1;
}

.service-cta .button {
  margin-top: 28px;
  min-width: 250px;
}

.contact-panel {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.contact-panel h3 {
  margin: 0 0 12px;
  color: var(--brown-900);
  font-size: 1.12rem;
}

.contact-panel address {
  font-style: normal;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 13px;
}

.contact-lines a {
  color: var(--accent-dark);
  font-weight: 800;
  text-underline-offset: 3px;
}

.parking-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
}

.parking-card {
  padding: clamp(27px, 4vw, 42px);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.parking-card h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.parking-map {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.parking-map img {
  width: 100%;
  height: auto;
}

.parking-map figcaption {
  padding: 15px 18px 19px;
  color: var(--muted);
  font-size: .86rem;
}

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

.job-card {
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.job-card dt {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.job-card dd {
  margin: 0;
  color: var(--brown-900);
  line-height: 1.75;
}

.job-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.job-table th,
.job-table td {
  padding: 14px 16px;
  border: 1px solid #ddd0c1;
  vertical-align: top;
}

.job-table th {
  width: 190px;
  background: #f5ede4;
  color: var(--brown-900);
  text-align: left;
}

.recruit-alert {
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid #dec8a9;
  border-radius: 14px;
  background: #fff8ea;
  color: #69523b;
  font-size: .9rem;
}

@media (max-width: 960px) {
  .portal-card-grid--three {
    grid-template-columns: 1fr;
  }

  .service-lead,
  .parking-layout {
    grid-template-columns: 1fr;
  }

  .service-lead-image {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .portal-card-grid,
  .info-pair-grid,
  .job-summary {
    grid-template-columns: 1fr;
  }

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

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

  .service-steps > .step-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
  }

  .service-steps > .step-card::before {
    width: 44px;
    height: 44px;
    font-size: .88rem;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .service-steps > .step-card {
    display: block;
  }

  .service-steps > .step-card::before {
    margin-bottom: 14px;
  }

  .category-local-nav {
    display: grid;
  }

  .category-local-nav a {
    width: 100%;
  }
}


/* ===== Phase 5 complete: staff work and training ===== */
.staff-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  margin-bottom: clamp(52px, 8vw, 92px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.staff-lead h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  line-height: 1.5;
}

.staff-lead p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.staff-lead-media {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: var(--surface-soft);
}

.staff-lead-media img {
  width: 100%;
  min-height: 270px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.work-feature {
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.work-feature-number {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.work-feature h3 {
  margin: 0 0 10px;
  color: var(--brown-900);
  font-size: 1.22rem;
  line-height: 1.5;
}

.work-feature p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.staff-photo {
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.07);
}

.staff-photo img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.staff-photo--wide {
  grid-column: span 2;
}

.staff-photo--wide img {
  aspect-ratio: 16 / 8;
}

.staff-photo figcaption {
  padding: 12px 14px 15px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.6;
}

.staff-message {
  margin-top: clamp(50px, 8vw, 90px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ead8c4, #f8f2e9 60%, #e3ecdf);
}

.staff-message h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.5rem, 3.3vw, 2.2rem);
  line-height: 1.5;
}

.staff-message p {
  max-width: 820px;
  margin: 17px 0 0;
  color: var(--muted);
}

.training-plan {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: #fff;
}

.training-plan th,
.training-plan td {
  padding: 15px 16px;
  border: 1px solid #ddd0c1;
  vertical-align: top;
}

.training-plan thead th {
  background: var(--brown-900);
  color: #fff;
  text-align: center;
}

.training-plan tbody th {
  width: 190px;
  background: #f5ede4;
  color: var(--brown-900);
  text-align: left;
}

.training-plan td {
  line-height: 1.75;
}

.training-plan ul {
  margin: 0;
  padding-left: 1.2em;
}

.training-plan li + li {
  margin-top: 7px;
}

.inhouse-training {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.training-topic {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--brown-900);
  font-weight: 800;
}

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

.report-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 9px 26px rgba(68,42,30,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.report-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(68,42,30,.11);
}

.report-card-kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.report-card h3 {
  margin: 17px 0 0;
  color: var(--brown-900);
  font-size: 1.2rem;
  line-height: 1.5;
}

.report-card span:last-child {
  margin-top: 24px;
  color: var(--accent-dark);
  font-weight: 800;
}

.historical-notice {
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid #dec8a9;
  border-radius: 14px;
  background: #fff8ea;
  color: #69523b;
  font-size: .9rem;
}

@media (max-width: 960px) {
  .staff-lead {
    grid-template-columns: 1fr;
  }

  .staff-lead-media {
    max-width: 580px;
  }

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

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

@media (max-width: 760px) {
  .work-feature-grid,
  .inhouse-training {
    grid-template-columns: 1fr;
  }

  .staff-photo,
  .staff-photo--wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .staff-photo-grid {
    grid-template-columns: 1fr;
  }

  .staff-photo img {
    height: 250px;
  }
}


/* ===== Phase 6: Childcare detail pages ===== */
.childcare-local-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(calc(100% - 30px), var(--content));
  margin: 30px auto 0;
}

.childcare-local-nav a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brown-900);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.childcare-local-nav a:hover,
.childcare-local-nav a.is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.childcare-story-lead {
  max-width: 930px;
  margin: 0 auto clamp(48px, 7vw, 84px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.childcare-story-lead h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.55;
}

.childcare-story-lead p:last-child {
  max-width: 790px;
  margin: 18px auto 0;
  color: var(--muted);
}

.childcare-scene + .childcare-scene {
  margin-top: clamp(72px, 9vw, 116px);
}

.childcare-scene-header {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 900px;
  margin-bottom: 28px;
}

.childcare-scene-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
}

.childcare-scene-header h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
}

.childcare-scene-header p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
}

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

.childcare-photo {
  overflow: hidden;
  position: relative;
  grid-column: span 4;
  margin: 0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.07);
}

.childcare-photo--wide {
  grid-column: span 8;
}

.childcare-photo--full {
  grid-column: 1 / -1;
}

.childcare-photo--small {
  grid-column: span 3;
}

.childcare-photo img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.childcare-photo--wide img {
  aspect-ratio: 16 / 8.5;
}

.childcare-photo--full img {
  min-height: 290px;
  aspect-ratio: 16 / 7;
}

.childcare-photo:hover img {
  transform: scale(1.025);
}

.childcare-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  color: var(--brown-900);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.55;
  backdrop-filter: blur(6px);
}

.childcare-copy-card {
  margin-top: 22px;
  padding: 22px 25px;
  border-left: 5px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--green-soft);
  color: #40543b;
}

.childcare-copy-card p {
  margin: 0;
}

.childcare-copy-card p + p {
  margin-top: 10px;
}

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

.childcare-event {
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.07);
}

.childcare-event img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.childcare-event figcaption {
  padding: 12px 14px 15px;
  color: var(--brown-900);
  font-weight: 800;
  text-align: center;
}

.childcare-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(56px, 8vw, 92px);
}

.childcare-next a {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--brown-900);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(68,42,30,.05);
}

.childcare-next a:hover {
  border-color: var(--accent);
}

.childcare-next small {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-size: .72rem;
  letter-spacing: .12em;
}

@media (max-width: 960px) {
  .childcare-photo,
  .childcare-photo--wide {
    grid-column: span 6;
  }

  .childcare-photo--small {
    grid-column: span 4;
  }

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

@media (max-width: 680px) {
  .childcare-local-nav {
    display: grid;
  }

  .childcare-local-nav a {
    width: 100%;
  }

  .childcare-scene-header {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .childcare-scene-number {
    width: 46px;
    height: 46px;
    font-size: .78rem;
  }

  .childcare-photo,
  .childcare-photo--wide,
  .childcare-photo--full,
  .childcare-photo--small {
    grid-column: 1 / -1;
  }

  .childcare-photo img,
  .childcare-photo--wide img,
  .childcare-photo--full img,
  .childcare-photo--small img {
    min-height: 245px;
    aspect-ratio: 4 / 3;
  }

  .childcare-event-grid,
  .childcare-next {
    grid-template-columns: 1fr;
  }

  .childcare-event img {
    height: 250px;
  }
}


/* Phase 6 v2: correct grouping for Log House and Kids Kitchen */
.loghouse-gallery {
  display: grid;
  gap: 22px;
}

.loghouse-collage,
.loghouse-card {
  overflow: hidden;
  margin: 0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(68,42,30,.07);
}

.loghouse-collage img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.loghouse-collage figcaption {
  padding: 12px 15px 16px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
  text-align: center;
}

.loghouse-pair {
  display: grid;
  grid-template-columns: minmax(0, 400fr) minmax(0, 420fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: stretch;
}

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

.loghouse-card figcaption {
  padding: 12px 16px;
  background: var(--surface-soft);
  color: var(--brown-900);
  font-weight: 900;
  text-align: center;
}

.loghouse-card img {
  display: block;
  width: 100%;
  height: auto;
  flex: 1;
  object-fit: cover;
}

@media (max-width: 680px) {
  .loghouse-pair {
    grid-template-columns: 1fr;
  }
}


/* Phase 6 v3: show full photos on Childcare Scenes 01 and 02 */
.childcare-no-crop .childcare-photo {
  display: flex;
  height: fit-content;
  flex-direction: column;
}

.childcare-no-crop .childcare-photo img,
.childcare-no-crop .childcare-photo--wide img,
.childcare-no-crop .childcare-photo--full img,
.childcare-no-crop .childcare-photo--small img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #f6f1e9;
}

.childcare-no-crop .childcare-photo figcaption {
  position: static;
  padding: 12px 14px 15px;
  border-radius: 0;
  background: #fff;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  backdrop-filter: none;
}

@media (max-width: 680px) {
  .childcare-no-crop .childcare-photo img,
  .childcare-no-crop .childcare-photo--wide img,
  .childcare-no-crop .childcare-photo--full img,
  .childcare-no-crop .childcare-photo--small img {
    min-height: 0;
    aspect-ratio: auto;
  }
}


/* Phase 6 v4: editorial photo layout for desktop */
@media (min-width: 761px) {
  .childcare-photo-grid,
  .garden-grid,
  .childcare-event-grid {
    display: block;
    columns: 3;
    column-gap: 20px;
  }

  .childcare-photo,
  .childcare-photo--wide,
  .childcare-photo--full,
  .childcare-photo--small,
  .garden-photo,
  .garden-photo--wide,
  .garden-photo--full,
  .garden-photo--tall,
  .childcare-event {
    display: inline-flex;
    width: 100%;
    height: auto;
    break-inside: avoid;
    flex-direction: column;
    margin: 0 0 20px;
    border: 1px solid rgba(118, 92, 75, .12);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(68,42,30,.07);
    vertical-align: top;
    transition: transform .2s ease, box-shadow .2s ease;
  }

  .childcare-photo:hover,
  .garden-photo:hover,
  .childcare-event:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(68,42,30,.12);
  }

  .childcare-photo img,
  .childcare-photo--wide img,
  .childcare-photo--full img,
  .childcare-photo--small img,
  .garden-photo img,
  .garden-photo--wide img,
  .garden-photo--full img,
  .garden-photo--tall img,
  .childcare-event img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background: #f6f1e9;
  }

  .childcare-photo figcaption,
  .garden-photo figcaption,
  .childcare-event figcaption {
    position: static;
    padding: 12px 14px 15px;
    border-radius: 0;
    background: #fff;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    backdrop-filter: none;
  }

  .childcare-photo-grid .gallery-panorama,
  .garden-grid .gallery-panorama {
    display: flex;
    column-span: all;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 26px;
  }

  .gallery-panorama img {
    width: 100%;
    max-height: none;
  }
}

/* Tablet: two-column natural-ratio gallery */
@media (min-width: 521px) and (max-width: 760px) {
  .childcare-photo-grid,
  .garden-grid,
  .childcare-event-grid {
    display: block;
    columns: 2;
    column-gap: 15px;
  }

  .childcare-photo,
  .childcare-photo--wide,
  .childcare-photo--full,
  .childcare-photo--small,
  .garden-photo,
  .garden-photo--wide,
  .garden-photo--full,
  .garden-photo--tall,
  .childcare-event {
    display: inline-flex;
    width: 100%;
    height: auto;
    break-inside: avoid;
    flex-direction: column;
    margin: 0 0 15px;
  }

  .childcare-photo img,
  .childcare-photo--wide img,
  .childcare-photo--full img,
  .childcare-photo--small img,
  .garden-photo img,
  .garden-photo--wide img,
  .garden-photo--full img,
  .garden-photo--tall img,
  .childcare-event img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .childcare-photo figcaption,
  .garden-photo figcaption,
  .childcare-event figcaption {
    position: static;
    padding: 11px 12px 13px;
    border-radius: 0;
    background: #fff;
    color: var(--muted);
    text-align: center;
    backdrop-filter: none;
  }

  .childcare-photo-grid .gallery-panorama,
  .garden-grid .gallery-panorama {
    column-span: all;
  }
}

/* Mobile: one photo per row, no cropping */
@media (max-width: 520px) {
  .childcare-photo-grid,
  .garden-grid,
  .childcare-event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .childcare-photo,
  .childcare-photo--wide,
  .childcare-photo--full,
  .childcare-photo--small,
  .garden-photo,
  .garden-photo--wide,
  .garden-photo--full,
  .garden-photo--tall,
  .childcare-event {
    width: 100%;
    margin: 0;
  }

  .childcare-photo img,
  .childcare-photo--wide img,
  .childcare-photo--full img,
  .childcare-photo--small img,
  .garden-photo img,
  .garden-photo--wide img,
  .garden-photo--full img,
  .garden-photo--tall img,
  .childcare-event img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .childcare-photo figcaption,
  .garden-photo figcaption,
  .childcare-event figcaption {
    position: static;
    padding: 12px 14px 15px;
    border-radius: 0;
    background: #fff;
    color: var(--muted);
    text-align: center;
    backdrop-filter: none;
  }
}


/* Phase 6 v5: split composite images and prioritize a balanced editorial layout */
@media (min-width: 961px) {
  .gallery-balanced {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-rows: 82px;
    grid-auto-flow: dense;
    gap: 18px !important;
    columns: auto !important;
  }

  .gallery-balanced > figure {
    display: grid !important;
    width: auto !important;
    height: 100% !important;
    min-width: 0;
    margin: 0 !important;
    break-inside: auto;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(118, 92, 75, .12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(68, 42, 30, .08);
    transition: transform .22s ease, box-shadow .22s ease;
  }

  .gallery-balanced > figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(68, 42, 30, .14);
  }

  .gallery-item--standard {
    grid-column: span 4;
    grid-row: span 4;
  }

  .gallery-item--feature {
    grid-column: span 8;
    grid-row: span 5;
  }

  .gallery-item--wide {
    grid-column: span 8;
    grid-row: span 4;
  }

  .gallery-item--panorama {
    grid-column: 1 / -1;
    grid-row: span 5;
  }

  .gallery-item--tall {
    grid-column: span 4;
    grid-row: span 6;
  }

  .gallery-balanced > figure img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center 36%;
    background: #eee8df;
  }

  .gallery-balanced > figure figcaption {
    position: static !important;
    padding: 12px 14px 14px !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--brown-900) !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    text-align: center;
    backdrop-filter: none !important;
  }

  .garden-grid.gallery-balanced > figure img {
    object-position: center center;
  }
}

@media (min-width: 681px) and (max-width: 960px) {
  .gallery-balanced {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    columns: auto !important;
  }

  .gallery-balanced > figure,
  .gallery-balanced > .gallery-item--feature,
  .gallery-balanced > .gallery-item--wide,
  .gallery-balanced > .gallery-item--standard,
  .gallery-balanced > .gallery-item--tall {
    display: grid !important;
    width: auto !important;
    height: 360px !important;
    margin: 0 !important;
    grid-column: auto;
    grid-row: auto;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .gallery-balanced > .gallery-item--panorama {
    grid-column: 1 / -1;
    height: 390px !important;
  }

  .gallery-balanced > figure img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center 36%;
  }

  .gallery-balanced > figure figcaption {
    position: static !important;
    padding: 12px 13px 14px !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--brown-900) !important;
    text-align: center;
    backdrop-filter: none !important;
  }
}

@media (max-width: 680px) {
  .gallery-balanced {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    columns: auto !important;
  }

  .gallery-balanced > figure,
  .gallery-balanced > .gallery-item--feature,
  .gallery-balanced > .gallery-item--wide,
  .gallery-balanced > .gallery-item--standard,
  .gallery-balanced > .gallery-item--tall,
  .gallery-balanced > .gallery-item--panorama {
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-rows: auto auto;
  }

  .gallery-balanced > figure img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  .gallery-balanced > figure figcaption {
    position: static !important;
    padding: 12px 14px 15px !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--brown-900) !important;
    text-align: center;
    backdrop-filter: none !important;
  }
}


/* ===== Phase 7: Monthly News, Kawaraban, Contact and Complaints ===== */
.update-local-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: min(calc(100% - 30px), var(--content));
  margin: 30px auto 0;
}

.update-local-nav a {
  display: inline-flex;
  min-width: 170px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brown-900);
  font-weight: 800;
  text-decoration: none;
}

.update-local-nav a:hover,
.update-local-nav a.is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.update-intro {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.update-intro h2,
.update-year-section h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
}

.update-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.update-archive-card {
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 9px 28px rgba(68,42,30,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.update-archive-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(68,42,30,.13);
}

.update-archive-image {
  overflow: hidden;
  background: #eee6dc;
}

.update-archive-image img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 38%;
  transition: transform .35s ease;
}

.update-archive-card:hover .update-archive-image img {
  transform: scale(1.025);
}

.update-card-placeholder {
  display: grid;
  height: 230px;
  place-items: center;
  color: #9e8f83;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.update-archive-body {
  flex: 1;
  padding: 20px 21px 23px;
}

.update-archive-date {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.update-archive-body h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: 1.16rem;
  line-height: 1.5;
}

.update-archive-body p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .87rem;
}

.update-year-section {
  margin-top: clamp(62px, 9vw, 105px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.update-year-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 24px;
}

.update-year-links a {
  display: inline-flex;
  min-width: 105px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brown-900);
  font-weight: 800;
  text-decoration: none;
}

.update-year-links a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.update-article {
  padding-top: clamp(40px, 6vw, 70px);
}

.update-article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.update-article-photo {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(68,42,30,.08);
}

.update-article-photo:nth-child(3n + 1):not(:only-child) {
  grid-column: 1 / -1;
}

.update-article-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: #eee7de;
}

.update-article-back {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.update-article-back .button--secondary {
  border-color: var(--brown-900);
  background: #fff;
  color: var(--brown-900);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 32px;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.contact-lead,
.complaint-lead {
  max-width: 900px;
  margin: 0 auto clamp(42px, 7vw, 76px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-lead h2,
.complaint-lead h2,
.contact-address-card h2,
.complaint-report-section h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.5;
}

.contact-lead p:last-child,
.complaint-lead p:last-child {
  max-width: 760px;
  margin: 17px auto 0;
  color: var(--muted);
}

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

.contact-method {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--brown-900);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(68,42,30,.06);
}

a.contact-method:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.contact-method-label {
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.contact-method strong {
  margin-top: 13px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.contact-method span:last-child {
  margin-top: 9px;
  color: var(--muted);
  font-size: .85rem;
}

.contact-address-card {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 50px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ead8c4, #f8f2e9 60%, #e3ecdf);
}

.contact-address-card address {
  margin-top: 18px;
  color: var(--brown-900);
  font-style: normal;
  line-height: 1.85;
}

.contact-address-card a:not(.button) {
  color: var(--accent-dark);
  font-weight: 800;
}

.contact-address-actions,
.complaint-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 25px;
}

.contact-address-actions .button--secondary,
.complaint-actions .button--secondary {
  border-color: var(--brown-900);
  background: #fff;
  color: var(--brown-900);
}

.complaint-report-section {
  margin-top: clamp(55px, 8vw, 90px);
}

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

.complaint-report-card {
  padding: 25px 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.complaint-report-year {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.complaint-report-card h3 {
  margin: 0;
  color: var(--brown-900);
  font-size: 1.15rem;
  line-height: 1.55;
}

.complaint-report-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .update-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .update-local-nav {
    display: grid;
  }

  .update-local-nav a {
    width: 100%;
  }

  .update-archive-grid,
  .update-article-gallery,
  .complaint-report-grid {
    grid-template-columns: 1fr;
  }

  .update-article-photo:nth-child(3n + 1):not(:only-child) {
    grid-column: auto;
  }

  .update-archive-image img,
  .update-card-placeholder {
    height: 220px;
  }

  .contact-address-actions,
  .complaint-actions {
    display: grid;
  }

  .contact-address-actions .button,
  .complaint-actions .button {
    width: 100%;
  }
}


/* Phase 7 v5: consolidated and audited article gallery layout */
.update-article-gallery--balanced {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: clamp(18px, 2.5vw, 26px) !important;
  align-items: start !important;
}
.update-article-gallery.update-article-gallery--balanced > .update-article-photo.update-photo-card {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  align-self: start !important;
  grid-column: auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(118, 92, 75, .12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(68,42,30,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.update-article-gallery--balanced > .update-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(68,42,30,.13);
}
.update-article-gallery.update-article-gallery--balanced > .update-article-photo.update-photo-card.photo-span-full { grid-column: 1 / -1 !important; }
.update-article-gallery.update-article-gallery--balanced > .update-article-photo.update-photo-card.photo-span-half { grid-column: span 1 !important; }

.update-article-gallery.update-article-gallery--balanced > .update-article-photo.update-photo-card.photo-span-full.photo-narrow {
  width: min(100%, 900px) !important;
  justify-self: center !important;
}
.update-article-gallery.update-article-gallery--balanced > .update-article-photo.update-photo-card.photo-span-full.photo-portrait {
  width: min(100%, 760px) !important;
  justify-self: center !important;
}
.update-article-gallery--balanced .update-photo-frame {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #eee7de;
}
.update-article-gallery--balanced .update-photo-frame img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}
.gallery-count-1 {
  grid-template-columns: minmax(0, 1040px) !important;
  justify-content: center !important;
}
.gallery-count-1.gallery-single-narrow { grid-template-columns: minmax(0, 820px) !important; }
.gallery-count-1.gallery-single-standard { grid-template-columns: minmax(0, 960px) !important; }
.gallery-count-1.gallery-single-wide { grid-template-columns: minmax(0, 1080px) !important; }
.gallery-count-1 > .update-photo-card { grid-column: 1 !important; }
/* Monthly/year archive cards remain consistent. */
.update-archive-card { display: grid; grid-template-rows: auto 1fr; }
.update-archive-image { aspect-ratio: 16 / 10; }
.update-archive-image img,
.update-card-placeholder { width: 100%; height: 100% !important; min-height: 0; object-fit: cover; }
.update-archive-body { display: flex; flex-direction: column; }
.update-archive-body h2 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.update-archive-body p:last-child { margin-top: auto; padding-top: 10px; }
@media (max-width: 760px) {
  .update-article-gallery--balanced,
  .gallery-count-1,
  .gallery-count-1.gallery-single-narrow,
  .gallery-count-1.gallery-single-standard,
  .gallery-count-1.gallery-single-wide {
    grid-template-columns: 1fr !important;
  }
  .update-article-gallery.update-article-gallery--balanced > .update-article-photo.update-photo-card,
  .update-article-gallery.update-article-gallery--balanced > .update-article-photo.update-photo-card.photo-span-full,
  .update-article-gallery.update-article-gallery--balanced > .update-article-photo.update-photo-card.photo-span-half {
    grid-column: 1 / -1 !important;
  }
  .update-archive-body h2 { min-height: 0; }
}


/* Phase 7 v6: prioritize readability by stacking article images on desktop */
.update-article-gallery--balanced {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(24px, 4vw, 42px) !important;
  width: min(100%, 1120px);
  margin-inline: auto;
  align-items: start !important;
}

.update-article-gallery--balanced > .update-photo-card,
.update-article-gallery--balanced > .update-article-photo,
.update-article-gallery--balanced > .photo-span-full,
.update-article-gallery--balanced > .photo-span-half,
.update-article-gallery--balanced > .photo-index-1,
.update-article-gallery--balanced > .photo-index-2,
.update-article-gallery--balanced > .photo-index-3,
.update-article-gallery--balanced > .photo-index-4,
.update-article-gallery--balanced > .photo-index-5,
.update-article-gallery--balanced > .photo-index-6 {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  margin: 0 !important;
}

/* Portrait photos are centered and kept at a comfortable reading size. */
.update-article-gallery--balanced > .photo-portrait {
  width: min(100%, 760px) !important;
  justify-self: center !important;
}

.update-article-gallery--balanced .update-photo-frame {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 18px;
  background: #eee7de;
}

.update-article-gallery--balanced .update-photo-frame img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Keep large composite images readable without excessive enlargement. */
.update-article-gallery--balanced > .photo-wide,
.update-article-gallery--balanced > .photo-standard {
  width: min(100%, 1080px) !important;
  justify-self: center !important;
}

@media (max-width: 680px) {
  .update-article-gallery--balanced {
    width: 100%;
    gap: 18px !important;
  }

  .update-article-gallery--balanced > .photo-portrait,
  .update-article-gallery--balanced > .photo-wide,
  .update-article-gallery--balanced > .photo-standard {
    width: 100% !important;
  }
}


/* ===== Phase 8: Guardian and health pages ===== */
.guardian-lead {
  max-width: 900px;
  margin: 0 auto clamp(42px,7vw,76px);
  text-align: center;
}
.guardian-lead h2 { margin:0; color:var(--brown-900); font-size:clamp(1.55rem,3.4vw,2.25rem); }
.guardian-lead p:last-child { max-width:780px; margin:18px auto 0; color:var(--muted); }
.guardian-public-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.guardian-card {
  display:block; min-height:245px; padding:30px 28px; border:1px solid var(--line);
  border-radius:var(--radius-md); background:#fff; color:inherit; text-decoration:none;
  box-shadow:0 9px 28px rgba(68,42,30,.07); transition:.22s ease;
}
.guardian-card:hover { transform:translateY(-4px); border-color:var(--accent); box-shadow:0 16px 36px rgba(68,42,30,.13); }
.guardian-card-kicker { color:var(--accent-dark); font-size:.72rem; font-weight:900; letter-spacing:.13em; }
.guardian-card h2 { margin:14px 0 0; color:var(--brown-900); font-size:1.25rem; }
.guardian-card p { margin:13px 0 0; color:var(--muted); }
.guardian-private {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:32px; align-items:center;
  margin-top:35px; padding:clamp(30px,5vw,54px); border-radius:var(--radius-lg);
  background:linear-gradient(135deg,#ead8c4,#f8f2e9 58%,#e3ecdf);
}
.guardian-private h2 { margin:0; color:var(--brown-900); font-size:clamp(1.55rem,3.4vw,2.25rem); }
.guardian-private p { color:#5d5148; }
.guardian-private-note { font-size:.87rem; font-weight:700; }
.guardian-login-button { white-space:nowrap; }

.document-public-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.document-public-card {
  display:block; padding:32px; border:1px solid var(--line); border-radius:var(--radius-md);
  background:#fff; color:inherit; text-decoration:none; box-shadow:0 9px 28px rgba(68,42,30,.07);
}
.document-public-card span { display:inline-grid; width:54px; height:54px; place-items:center; border-radius:14px; background:var(--accent); color:#fff; font-weight:900; }
.document-public-card h2 { margin:18px 0 0; color:var(--brown-900); }
.document-public-card p { color:var(--muted); }
.document-public-card strong { color:var(--accent-dark); }

.health-local-nav {
  display:flex; flex-wrap:wrap; justify-content:center; gap:9px;
  width:min(calc(100% - 30px),var(--content)); margin:28px auto 0;
}
.health-local-nav a {
  display:inline-flex; min-height:42px; align-items:center; padding:8px 15px;
  border:1px solid var(--line); border-radius:999px; background:#fff;
  color:var(--brown-900); font-size:.8rem; font-weight:800; text-decoration:none;
}
.health-local-nav a:hover,.health-local-nav a.is-current { border-color:var(--accent); background:var(--accent); color:#fff; }
.health-notice { margin-bottom:26px; padding:20px 22px; border-left:5px solid var(--accent); border-radius:0 14px 14px 0; background:#fff4e9; }
.health-notice p { margin:7px 0 0; color:#66564b; }
.health-legacy-content {
  padding:clamp(24px,4vw,44px); border-radius:var(--radius-lg); background:#fff;
  box-shadow:var(--shadow); color:#3f352f; line-height:1.9;
}
.health-legacy-content table { width:100% !important; max-width:100%; border-collapse:collapse; }
.health-legacy-content td,.health-legacy-content th { width:auto !important; height:auto !important; padding:8px; vertical-align:top; }
.health-legacy-content img { max-width:100%; height:auto; }
.health-legacy-content strong,.health-legacy-content b { color:var(--brown-900); }
.health-legacy-content font { font-family:inherit !important; font-size:inherit !important; color:inherit; }

@media(max-width:900px){
  .guardian-public-grid { grid-template-columns:1fr; }
  .guardian-private { grid-template-columns:1fr; }
  .guardian-login-button { width:100%; }
}
@media(max-width:680px){
  .document-public-grid { grid-template-columns:1fr; }
  .health-local-nav { display:grid; }
  .health-local-nav a { width:100%; justify-content:center; }
  .health-legacy-content { padding:20px 14px; overflow-x:auto; }
  .health-legacy-content table,.health-legacy-content tbody,.health-legacy-content tr,.health-legacy-content td { max-width:100% !important; }
}


/* ===== Phase 3: visual enrichment and page-specific polish ===== */
.childcare-menu-card {
  position: relative;
  min-height: 0;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 18px 22px;
  overflow: hidden;
}
.childcare-menu-media,
.portal-card-media,
.training-photo-panel,
.support-visual,
.event-inline-photo {
  margin: 0;
  overflow: hidden;
}
.childcare-menu-media {
  border-radius: 16px;
  background: var(--surface-soft);
}
.childcare-menu-media img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .35s ease;
}
.childcare-menu-card:hover .childcare-menu-media img,
.portal-card:hover .portal-card-media img {
  transform: scale(1.025);
}
.childcare-menu-card h2 { margin-top: 12px; }
.card-arrow {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: auto 0 0 auto;
  border-radius: 50%;
  background: var(--brown-900);
  color: #fff;
  font-size: 1.1rem;
  transition: transform .2s ease, background .2s ease;
}
.childcare-menu-card:hover .card-arrow { transform: translateX(3px); background: var(--accent-dark); }

.portal-card {
  min-height: 0;
  justify-content: flex-start;
  gap: 17px;
  padding: 18px 18px 24px;
  overflow: hidden;
}
.portal-card-media {
  border-radius: 16px;
  background: var(--surface-soft);
}
.portal-card-media img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .35s ease;
}
.portal-card h2 { margin-top: 10px; }
.portal-card-link { margin-top: auto; padding-top: 6px; }

.training-photo-panel {
  max-width: 920px;
  margin: 0 auto clamp(42px, 6vw, 70px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #fff;
}
.training-photo-panel img {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: cover;
}

.support-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
  max-width: 1040px;
  text-align: left;
  background: linear-gradient(135deg, #fff 0%, #fff 62%, #eef2ec 100%);
}
.support-lead--complaint {
  background: linear-gradient(135deg, #fff 0%, #fff 62%, #f3e9e2 100%);
}
.support-copy { min-width: 0; }
.support-lead .support-copy p:last-child {
  margin: 17px 0 0;
  text-align: left;
}
.support-visual {
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(68,42,30,.10);
}
.support-visual img {
  display: block;
  width: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.contact-method { position: relative; overflow: hidden; }
.contact-method::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  right: -24px;
  top: -24px;
  border-radius: 50%;
  background: rgba(74,125,139,.08);
}
.contact-method-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 13px;
  border-radius: 50%;
  background: #edf3f3;
  color: var(--accent-dark);
  font-size: 1.35rem;
}
.complaint-report-card {
  box-shadow: 0 8px 24px rgba(68,42,30,.055);
  border-top: 4px solid rgba(74,125,139,.55);
}

.event-overview-card--with-photo { display: flex; flex-direction: column; }
.event-inline-photo {
  width: min(100%, 280px);
  margin-top: 18px;
  border-radius: 14px;
  background: var(--surface-soft);
}
.event-inline-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .support-lead { grid-template-columns: 1fr; }
  .support-visual { max-width: 560px; }
  .support-visual img { min-height: 220px; }
}
@media (max-width: 720px) {
  .childcare-menu-media img,
  .portal-card-media img { height: 170px; }
  .training-photo-panel img { max-height: 300px; }
  .support-lead { padding: 24px; }
  .support-visual img { min-height: 190px; }
}

/* ===== Phase 4: guardian public page / secure portal entry ===== */
.guardian-page {
  display: grid;
  gap: clamp(32px, 5vw, 58px);
}
.guardian-monthly.monthly-type4r {
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(124,92,68,.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 4% 8%, rgba(193,150,119,.10) 0 72px, transparent 73px),
    radial-gradient(circle at 96% 92%, rgba(114,147,97,.10) 0 100px, transparent 101px),
    #fbfaf7;
}
.guardian-health {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  gap: clamp(22px, 4vw, 38px);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(87,122,111,.18);
  border-radius: 26px;
  background: linear-gradient(135deg,#f5f8f4,#eef4f1);
  box-shadow: 0 14px 34px rgba(56,82,72,.07);
}
.guardian-health-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(56,82,72,.10);
}
.guardian-health-icon span {
  position: relative;
  width: 42px;
  height: 42px;
  border: 3px solid #5f8277;
  border-radius: 50%;
}
.guardian-health-icon span::before,
.guardian-health-icon span::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: #5f8277;
  content: "";
  transform: translate(-50%,-50%);
}
.guardian-health-icon span::after { transform: translate(-50%,-50%) rotate(90deg); }
.guardian-health-copy .eyebrow { margin-bottom: 6px; color: #5f8277; }
.guardian-health-copy h2 { margin:0; color:var(--brown-900); font-size:clamp(1.55rem,3vw,2.15rem); }
.guardian-health-copy p:not(.eyebrow) { margin:12px 0 0; color:var(--muted); }
.guardian-health-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: #456a5e;
  font-weight: 900;
  text-decoration: none;
}
.guardian-health-link:hover span { transform: translateX(3px); }
.guardian-health-link span { transition: transform .2s ease; }
.guardian-private--secure {
  position: relative;
  grid-template-columns: 70px minmax(0,1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(67,100,114,.18);
  background: linear-gradient(135deg,#f4eadf 0%,#eef4ed 100%);
}
.guardian-private--secure::after {
  position:absolute;
  right:-70px;
  top:-90px;
  width:240px;
  height:240px;
  border:40px solid rgba(72,115,130,.06);
  border-radius:50%;
  content:"";
  pointer-events:none;
}
.guardian-private-lock {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  align-self: start;
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 10px 26px rgba(56,72,70,.10);
}
.lock-symbol {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 19px;
  border-radius: 5px;
  background: #47788a;
  flex: 0 0 auto;
}
.lock-symbol::before {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 14px;
  height: 13px;
  border: 3px solid #47788a;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  content: "";
  transform: translateX(-50%);
}
.guardian-login-button--secure {
  position: relative;
  z-index: 2;
  gap: 12px;
  padding-inline: 24px;
}
.guardian-login-button--secure .lock-symbol { width:18px;height:15px;background:#fff; }
.guardian-login-button--secure .lock-symbol::before { bottom:11px;width:10px;height:10px;border-color:#fff;border-width:2px;border-bottom:0; }
@media (max-width: 760px) {
  .guardian-health { grid-template-columns: 1fr; }
  .guardian-health-icon { width:68px;height:68px; }
  .guardian-private--secure { grid-template-columns: 56px minmax(0,1fr); }
  .guardian-login-button--secure { grid-column: 1 / -1; width:100%; }
}
@media (max-width: 520px) {
  .guardian-monthly.monthly-type4r { padding: 24px 18px 30px; border-radius: 22px; }
  .guardian-private--secure { grid-template-columns:1fr; }
  .guardian-private-lock { width:54px;height:54px; }
}

/* ===== Phase 4 v2: guardian health CTA + health article conversion ===== */
.guardian-health-button {
  display:inline-flex;
  min-height:52px;
  align-items:center;
  gap:11px;
  margin-top:22px;
  padding:12px 20px 12px 14px;
  border-radius:999px;
  background:#4d7569;
  color:#fff;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(69,106,94,.20);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.guardian-health-button:hover {
  background:#3e6258;
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(69,106,94,.25);
}
.guardian-health-button-icon {
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  font-size:1.1rem;
  line-height:1;
}
.guardian-health-button-arrow { margin-left:3px; transition:transform .2s ease; }
.guardian-health-button:hover .guardian-health-button-arrow { transform:translateX(3px); }

/* Modernized disease / injury articles converted from the legacy table pages. */
.health-modern-content {
  display:grid;
  gap:22px;
  color:#443831;
  line-height:1.9;
}
.health-section {
  padding:clamp(24px,4vw,42px);
  border:1px solid rgba(124,92,68,.13);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 30px rgba(68,42,30,.055);
}
.health-section--intro {
  border-left:5px solid rgba(78,122,109,.62);
  background:linear-gradient(135deg,#fff,#f8faf7);
}
.health-section h2 {
  position:relative;
  margin:0 0 24px;
  padding:0 0 14px;
  color:var(--brown-900);
  font-size:clamp(1.35rem,2.5vw,1.8rem);
  line-height:1.45;
}
.health-section h2::after {
  position:absolute;
  left:0;
  bottom:0;
  width:46px;
  height:2px;
  background:#6c9485;
  content:"";
}
.health-section h3 {
  margin:26px 0 10px;
  padding:10px 14px;
  border-radius:10px;
  background:#f3eee5;
  color:#4a3022;
  font-size:1.03rem;
  line-height:1.6;
}
.health-section p {
  margin:10px 0 0;
  color:#4d423b;
  font-size:.96rem;
  line-height:1.95;
}
.health-section .health-alert {
  padding:14px 16px;
  border-left:4px solid #c85c45;
  border-radius:0 10px 10px 0;
  background:#fff4ef;
  color:#93422f;
  font-weight:700;
}
.health-figure {
  width:min(100%,520px);
  margin:24px auto 8px;
  padding:12px;
  border-radius:16px;
  background:#faf8f4;
  box-shadow:inset 0 0 0 1px rgba(124,92,68,.10);
}
.health-figure img {
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  margin:auto;
}
.health-local-nav {
  gap:8px;
  margin-bottom:4px;
}
.health-local-nav a {
  min-height:44px;
  padding:9px 14px;
  line-height:1.35;
  text-align:center;
}
@media(max-width:680px){
  .guardian-health-button { width:100%; justify-content:center; }
  .health-section { padding:22px 18px; border-radius:18px; }
  .health-local-nav { grid-template-columns:1fr 1fr; }
  .health-local-nav a { width:auto; font-size:.75rem; }
}
@media(max-width:440px){
  .health-local-nav { grid-template-columns:1fr; }
}

/* Phase 4 v3: clearer source attribution and attendance rules on HFMD page */
.health-source-quote {
  margin:0 0 24px;
  padding:20px 22px;
  border-left:3px solid #b8aaa0;
  border-radius:0 12px 12px 0;
  background:#faf8f5;
  color:#4d423b;
}
.health-source-quote p { margin:0; color:inherit; font-weight:400; }
.health-source-quote cite {
  display:block;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(124,92,68,.14);
  color:#77685f;
  font-size:.86rem;
  font-style:normal;
  text-align:right;
}
.health-commentary { margin:0 0 18px !important; }
.health-rule-list {
  display:grid;
  gap:12px;
  margin:18px 0 0;
  padding:0;
  list-style:none;
  counter-reset:health-rule;
}
.health-rule-list li {
  position:relative;
  padding:18px 18px 18px 66px;
  border:1px solid rgba(124,92,68,.14);
  border-radius:14px;
  background:#fff;
  counter-increment:health-rule;
}
.health-rule-list li::before {
  position:absolute;
  top:16px;
  left:18px;
  display:grid;
  width:32px;
  height:32px;
  place-items:center;
  border-radius:50%;
  background:#5f8277;
  color:#fff;
  content:counter(health-rule);
  font-weight:700;
}
.health-rule-list strong { display:block; color:var(--brown-900); font-size:1.03rem; line-height:1.6; }
.health-rule-list p { margin:5px 0 0; }
.health-caution {
  margin:20px 0 0 !important;
  padding:14px 16px;
  border-radius:10px;
  background:#fff6ed;
  color:#6d4a37 !important;
}
.health-reference { margin-top:16px !important; color:#77685f !important; font-size:.9rem !important; }
@media(max-width:680px){
  .health-source-quote { padding:17px 16px; }
  .health-source-quote cite { text-align:left; }
  .health-rule-list li { padding:16px 14px 16px 58px; }
  .health-rule-list li::before { left:14px; top:14px; }
}


/* Phase 4 v4: normalize legacy bullet fragments and illustration placement. */
.health-point-list {
  display:grid;
  gap:10px;
  margin:14px 0 18px;
}
.health-point-item {
  position:relative;
  padding:13px 16px 13px 42px;
  border-radius:11px;
  background:#f7f3eb;
}
.health-point-item::before {
  position:absolute;
  left:17px;
  top:19px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#6c9485;
  content:"";
}
.health-point-item strong {
  display:block;
  color:var(--brown-900);
  font-size:1rem;
  line-height:1.55;
}
.health-point-item p {
  margin:5px 0 0 !important;
}
.health-bullet-text {
  position:relative;
  padding-left:1.35em;
}
.health-bullet-text::before {
  position:absolute;
  left:.1em;
  color:#6c9485;
  content:"•";
  font-weight:700;
}
.health-subheading {
  margin:20px 0 8px;
  padding:8px 12px;
  border-left:3px solid #87a89d;
  border-radius:0 8px 8px 0;
  background:#f7f3eb;
  color:var(--brown-900);
  font-size:.98rem;
  line-height:1.6;
}
.health-figure.health-figure--uniform {
  display:grid;
  width:100%;
  max-width:620px;
  min-height:170px;
  margin:24px auto 10px;
  padding:22px;
  place-items:center;
  border:1px solid rgba(124,92,68,.10);
  border-radius:16px;
  background:#faf8f4;
  box-shadow:none;
}
.health-figure.health-figure--uniform img {
  display:block;
  width:auto;
  max-width:100%;
  max-height:320px;
  height:auto;
  margin:0 auto;
  object-fit:contain;
}
.health-figure.health-figure--small img { max-width:min(210px,75%); }
.health-figure.health-figure--wide img { width:100%; max-width:560px; }
@media(max-width:680px){
  .health-point-item { padding:12px 13px 12px 38px; }
  .health-point-item::before { left:15px; top:18px; }
  .health-figure.health-figure--uniform { min-height:140px; padding:16px; }
}


/* Phase 4 v5: one bullet marker only, aligned in normal flow on all health pages. */
.health-point-item {
  display:grid;
  grid-template-columns:10px minmax(0,1fr);
  column-gap:11px;
  align-items:start;
  position:relative;
  padding:13px 16px;
}
.health-point-item::before {
  position:static;
  grid-column:1;
  grid-row:1 / span 2;
  align-self:start;
  width:8px;
  height:8px;
  margin-top:.62em;
  border-radius:50%;
  background:#6c9485;
  content:"";
}
.health-point-item > strong,
.health-point-item > p {
  grid-column:2;
  min-width:0;
}
.health-point-item > strong { grid-row:auto; }
.health-point-item > p { margin:5px 0 0 !important; }

.health-bullet-text {
  display:grid;
  grid-template-columns:10px minmax(0,1fr);
  column-gap:10px;
  align-items:start;
  padding-left:0;
}
.health-bullet-text::before {
  position:static;
  align-self:start;
  width:7px;
  height:7px;
  margin-top:.66em;
  border-radius:50%;
  background:#6c9485;
  color:transparent;
  content:"";
}
@media(max-width:680px){
  .health-point-item { padding:12px 13px; column-gap:10px; }
  .health-point-item::before { position:static; margin-top:.62em; }
  .health-bullet-text { column-gap:9px; }
}


/* Phase 4 v6: align bullet markers for paragraph-only health point items. */
.health-point-item > p:first-child {
  margin-top:0 !important;
}
.health-point-item--paragraph::before {
  margin-top:.52em;
}


/* Phase 4 v7: burn severity comparison */
.burn-depth-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:18px 0 24px;
}
.burn-depth-card {
  overflow:hidden;
  border:1px solid rgba(72,49,34,.14);
  border-radius:16px;
  background:#fffdf9;
  box-shadow:0 8px 22px rgba(72,49,34,.06);
}
.burn-depth-degree {
  padding:10px 14px;
  background:#f1eadf;
  color:#412819;
  font-size:1.1rem;
  font-weight:700;
  text-align:center;
}
.burn-depth-card dl { margin:0; }
.burn-depth-card dl > div { padding:13px 15px 15px; }
.burn-depth-card dl > div + div { border-top:1px solid rgba(72,49,34,.10); }
.burn-depth-card dt {
  margin:0 0 5px;
  color:#6e5748;
  font-size:.82rem;
  font-weight:700;
}
.burn-depth-card dd {
  margin:0;
  color:#3e3028;
  line-height:1.75;
}
@media (max-width:720px) {
  .burn-depth-grid { grid-template-columns:1fr; gap:10px; }
  .burn-depth-card { display:grid; grid-template-columns:72px minmax(0,1fr); }
  .burn-depth-degree { display:flex; align-items:center; justify-content:center; padding:12px 8px; }
  .burn-depth-card dl { min-width:0; }
}

/* =========================================================
   Phase 5: Piramide / Pyramid Method renewal (2026-08-30)
   ========================================================= */
.piramide-page .piramide-title-break { display: none; }

.piramide-content {
  display: grid;
  gap: clamp(56px, 8vw, 96px);
}

.piramide-intro-copy {
  max-width: 900px;
  margin: 28px auto 0;
  display: grid;
  gap: 14px;
  text-align: left;
}

.piramide-intro-copy p { margin: 0; }

.piramide-section-heading {
  max-width: 880px;
  margin: 0 auto clamp(26px, 4vw, 42px);
  text-align: center;
}

.piramide-section-heading .eyebrow { margin-bottom: 8px; }

.piramide-section-heading h2 {
  margin: 0;
  color: var(--brown-900);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1.5;
}

.piramide-section-heading > p:not(.eyebrow) {
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 2;
  text-align: left;
}

.piramide-overview {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid #dfd4c7;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(112, 151, 138, .11) 0 74px, transparent 75px),
    linear-gradient(145deg, #fffdf9 0%, #f6f2e9 100%);
  box-shadow: 0 20px 45px rgba(72, 49, 35, .07);
}

.piramide-flow {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
}

.piramide-flow-foundation,
.piramide-flow-result {
  width: min(100%, 650px);
  padding: 22px 28px;
  border-radius: 20px;
  text-align: center;
}

.piramide-flow-foundation {
  background: #eef4ef;
  border: 1px solid #d5e1d8;
}

.piramide-flow-foundation strong,
.piramide-flow-result strong {
  display: block;
  color: var(--brown-900);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
}

.piramide-flow-foundation small {
  display: block;
  margin-top: 6px;
  color: #65706b;
  font-size: .88rem;
}

.piramide-flow-label,
.piramide-flow-result span,
.piramide-flow-support span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.piramide-flow-arrow {
  padding: 8px 0;
  color: #9a806c;
  font-size: 1.35rem;
  line-height: 1;
}

.piramide-flow-core {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.piramide-flow-core > div {
  min-height: 125px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #eaded1;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.piramide-flow-core span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d36a4c;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}

.piramide-flow-core > div:nth-child(2) span { background: #c39b57; }
.piramide-flow-core > div:nth-child(3) span { background: #6f9a78; }
.piramide-flow-core > div:nth-child(4) span { background: #6f8fa0; }

.piramide-flow-core strong {
  color: var(--brown-900);
  font-size: .95rem;
  line-height: 1.55;
}

.piramide-flow-support {
  width: min(100%, 800px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.piramide-flow-support > div {
  padding: 18px 20px;
  border-radius: 18px;
  background: #f4eadc;
  text-align: center;
}

.piramide-flow-support > div:last-child { background: #edf2ee; }

.piramide-flow-support strong {
  color: var(--brown-900);
  font-size: 1rem;
}

.piramide-flow-result {
  background: var(--brown-900);
}

.piramide-flow-result span { color: #d7c2aa; }
.piramide-flow-result strong { color: #fff; }

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

.piramide-concept-card {
  position: relative;
  min-height: 310px;
  padding: clamp(26px, 4vw, 38px);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  border: 1px solid #e4d8cb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(72, 49, 35, .06);
  overflow: hidden;
}

.piramide-concept-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 130px;
  height: 130px;
  border: 22px solid rgba(211, 106, 76, .07);
  border-radius: 50%;
}

.piramide-concept-card--02::after { border-color: rgba(195, 155, 87, .09); }
.piramide-concept-card--03::after { border-color: rgba(111, 154, 120, .09); }
.piramide-concept-card--04::after { border-color: rgba(111, 143, 160, .09); }

.piramide-concept-no {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d36a4c;
  color: #fff;
  font-weight: 800;
}

.piramide-concept-card--02 .piramide-concept-no { background: #c39b57; }
.piramide-concept-card--03 .piramide-concept-no { background: #6f9a78; }
.piramide-concept-card--04 .piramide-concept-no { background: #6f8fa0; }

.piramide-concept-en {
  margin: 1px 0 8px;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.piramide-concept-card h3 {
  margin: 0 0 16px;
  color: var(--brown-900);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.5;
}

.piramide-concept-card h3 span {
  display: block;
  margin-top: 4px;
  color: #6a5a4f;
  font-size: .78em;
  font-weight: 600;
}

.piramide-concept-card p:last-child {
  margin: 0;
  color: #564b44;
  line-height: 2;
}

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

.piramide-practice-card {
  min-height: 300px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 26px;
  border: 1px solid #dfd5ca;
  background: linear-gradient(145deg, #fbf5ec, #fffdf9);
}

.piramide-practice-card--project {
  background: linear-gradient(145deg, #eef4ef, #fffdf9);
}

.piramide-practice-en {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.piramide-practice-card h3 {
  margin: 0 0 18px;
  color: var(--brown-900);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.piramide-practice-card p:not(.piramide-practice-en) {
  color: #584e47;
  line-height: 2;
}

.piramide-chikuhou {
  position: relative;
  padding: clamp(34px, 6vw, 62px);
  border-radius: 30px;
  background: linear-gradient(120deg, #4b3022 0%, #604535 62%, #496976 140%);
  color: #fff;
  overflow: hidden;
}

.piramide-chikuhou::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 48px solid rgba(255,255,255,.06);
  border-radius: 50%;
}

.piramide-chikuhou-mark {
  position: absolute;
  right: 38px;
  top: 28px;
  color: rgba(255,255,255,.08);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.7rem, 8vw, 6.5rem);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
}

.piramide-chikuhou-copy {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.piramide-chikuhou .eyebrow { color: #c6dce3; }

.piramide-chikuhou h2 {
  margin: 6px 0 22px;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.piramide-chikuhou p:not(.eyebrow) {
  margin: 0;
  color: rgba(255,255,255,.92);
  line-height: 2.1;
}

.piramide-chikuhou p + p { margin-top: 14px; }

@media (max-width: 820px) {
  .piramide-page .piramide-title-break { display: block; }
  .piramide-flow-core { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .piramide-concept-grid,
  .piramide-practice-grid { grid-template-columns: 1fr; }
  .piramide-concept-card { min-height: 0; }
}

@media (max-width: 560px) {
  .piramide-overview { padding: 24px 16px; border-radius: 22px; }
  .piramide-flow-core { grid-template-columns: 1fr; }
  .piramide-flow-core > div { min-height: 92px; }
  .piramide-flow-support { grid-template-columns: 1fr; }
  .piramide-concept-card {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 24px 20px;
    border-radius: 20px;
  }
  .piramide-concept-no { width: 40px; height: 40px; }
  .piramide-chikuhou-mark { display: none; }
}

/* Phase 5 related label */
.category-card h2 .title-sub {
  display: block;
  margin-top: 3px;
  font-size: .72em;
  font-weight: 600;
}

/* Phase 5 v3: Piramide reference diagram / framed presentation */
.piramide-reference {
  margin-top: clamp(42px, 6vw, 76px);
}
.piramide-reference-heading {
  margin-bottom: 22px;
}
.piramide-reference-heading .eyebrow {
  margin-bottom: 0;
}
.piramide-reference-figure {
  position: relative;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 20px);
  max-width: 900px;
  background: #f7f1e8;
  border: clamp(8px, 1.2vw, 12px) solid #4b3023;
  border-radius: 4px;
  box-shadow:
    0 0 0 4px #9a7258,
    0 0 0 7px rgba(75, 48, 35, .16),
    inset 0 0 0 2px rgba(255,255,255,.65),
    0 18px 42px rgba(63, 45, 34, .18);
}
.piramide-reference-figure::before {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  border: 1px solid rgba(218, 190, 165, .85);
}
.piramide-reference-figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid rgba(75, 48, 35, .22);
  border-radius: 1px;
}
@media (max-width: 640px) {
  .piramide-reference-heading {
    margin-bottom: 16px;
  }
  .piramide-reference-figure {
    padding: 8px;
    border-width: 6px;
    box-shadow:
      0 0 0 3px #9a7258,
      0 0 0 5px rgba(75, 48, 35, .14),
      inset 0 0 0 1px rgba(255,255,255,.65),
      0 12px 28px rgba(63, 45, 34, .16);
  }
  .piramide-reference-figure::before {
    inset: 3px;
  }
}
/* PC版ヘッダーロゴ調整 */
@media (min-width: 961px) {
  .header-inner {
    min-height: 82px;
  }

  .site-brand {
    flex-basis: 620px;
  }

  .site-brand img {
    width: min(620px, 66vw) !important;
  }
}
