/* 湘南せきのこどもクリニック — spec: 白／オフホワイト／砂浜ベージュ／淡いブルーグレー、CTAは落ち着いた青緑 */
:root {
  --color-bg: #faf9f6;
  --color-bg-white: #ffffff;
  --color-bg-muted: #eef2f3;
  --color-sand: #e8e2d8;
  --color-text: #2f3438;
  --color-text-muted: #5c6368;
  --color-border: #d5dde0;
  --color-cta: #2d6d6f;
  --color-cta-hover: #245a5c;
  --color-cta-soft: rgba(45, 109, 111, 0.1);
  --color-fever: #6b5348;
  --color-fever-border: rgba(107, 83, 72, 0.35);
  /* ワードマークのアクセント（咳＝せき を人名と誤読されにくくするためのライン・強調） */
  --color-wordmark-accent: #d9723d;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --container: min(1080px, 100% - 2rem);
  --header-h: 3.375rem;
  --mobile-dock-h: 3.5rem;
  --radius: 4px;
  --shadow-card: 0 8px 28px rgba(47, 52, 56, 0.06);
  /* トップページ：症状〜アクセスの帯に使う砂色（アクセス・予約と同系） */
  --section-home-access-bg: #f6f2ea;
  --symptom-icon-ink: #6c7378;
  /* 診療内容カード（トップ）：枚ごとに淡い色分け */
  --svc-card-1: #e8f2f2;
  --svc-card-2: #eef4f1;
  --svc-card-3: #f5f1ea;
  --svc-card-4: #f1ecf3;
  --svc-card-5: #e9f0f6;
  --svc-card-6: #eaf3f1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg-white);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a {
  color: var(--color-cta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--color-cta-hover); }
a:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: var(--container); margin-inline: auto; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-wrap { position: relative; }
.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: var(--header-h);
  width: var(--container);
  margin-inline: auto;
  padding-block: 0.35rem;
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}
.site-logo:hover img {
  opacity: 0.92;
}
.site-logo img {
  display: block;
  height: clamp(1.85rem, 3.6vw, 2.35rem);
  width: auto;
  max-width: min(260px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.global-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}
.global-nav.is-open { display: block; }
.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.global-nav a:hover { background: var(--color-bg); color: var(--color-cta); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-white);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--color-text);
  box-shadow: 0 -6px 0 var(--color-text), 0 6px 0 var(--color-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.45;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 2px; }
.btn--primary {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
}
.btn--primary:hover { background: var(--color-cta-hover); border-color: var(--color-cta-hover); color: #fff; }
.btn--secondary {
  background: transparent;
  color: var(--color-cta);
  border-color: rgba(45, 109, 111, 0.45);
}
.btn--secondary:hover { background: var(--color-cta-soft); }
.btn--sub {
  background: var(--color-bg-muted);
  color: var(--color-text);
  border-color: var(--color-border);
  font-weight: 500;
}
.btn--sub:hover { background: #e4e9ea; color: var(--color-text); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--block { width: 100%; }
.btn--header-reserve {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.btn--fever-outline {
  background: transparent;
  color: var(--color-fever);
  border: 2px solid var(--color-fever-border);
  font-weight: 600;
}
.btn--fever-outline:hover {
  background: rgba(107, 83, 72, 0.06);
  color: var(--color-fever);
}

.text-link { font-weight: 500; }

/* ----- Sections ----- */
.section {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}
.section--alt { background: var(--color-bg); }
.section--strong { padding-block: clamp(3rem, 6vw, 4.25rem); }
.section--compact {
  padding-block: 1.5rem;
  background: var(--color-bg-muted);
  border-block: 1px solid var(--color-border);
}

/* トップ：症状〜アクセスまで、アクセス帯色（--section-home-access-bg）と白のみを交互 */
.symptoms-section.section {
  background: var(--section-home-access-bg);
}
.clinic-about.section {
  background: var(--color-bg-white);
}
.services-section.section {
  background: var(--color-bg-white);
}
.access-reservation.section {
  background: var(--section-home-access-bg);
}

/* ----- quick-cta-band（ヒーロー直下：初診・発熱・アコーディオン） ----- */
.quick-cta-band {
  padding-block: clamp(1.25rem, 3.2vw, 1.85rem);
  padding-inline: 1rem;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}
.quick-cta-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(0.85rem, 2.4vw, 1.35rem);
  width: min(1080px, 100%);
  margin-inline: auto;
}
.quick-cta-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(47, 52, 56, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-white);
  box-shadow: 0 1px 8px rgba(47, 52, 56, 0.04);
}
.quick-cta-item--fever {
  border-color: var(--color-fever-border);
}
.quick-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: clamp(1.15rem, 3vw, 1.45rem) 1.25rem;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  background: var(--color-bg-white);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.quick-cta-card:hover {
  background: #fafafa;
}
.quick-cta-card:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: -2px;
  z-index: 1;
}
.quick-cta-item.is-open .quick-cta-card {
  border-bottom-color: var(--color-border);
  background: #fafafa;
}
.quick-cta-card__title {
  margin: 0;
  font-size: clamp(1rem, 2.6vw, 1.1875rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #9aa3a9;
  transition: color 0.2s ease;
}
.quick-cta-item.is-open .quick-cta-card__title {
  color: var(--color-text);
}
.quick-cta-card__trail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
}
.quick-cta-card__open {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: #b8bec4;
  transition: color 0.2s ease;
}
.quick-cta-item.is-open .quick-cta-card__open {
  color: #859099;
}
.quick-cta-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #9c887c;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.quick-cta-item--fever .quick-cta-card__icon {
  background: var(--color-fever);
}
.quick-cta-card__chevron {
  display: block;
  margin-top: 1px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.quick-cta-item.is-open .quick-cta-card__chevron {
  transform: rotate(180deg);
}
.quick-cta-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.quick-cta-item.is-open .quick-cta-panel {
  grid-template-rows: 1fr;
}
.quick-cta-panel__inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.38s ease 0.06s,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.04s,
    padding 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.quick-cta-item.is-open .quick-cta-panel__inner {
  padding-block: clamp(1rem, 2.5vw, 1.35rem) clamp(1.25rem, 3vw, 1.65rem);
  opacity: 1;
  transform: translateY(0);
}
.quick-cta-panel--fever .quick-cta-panel__inner {
  background: linear-gradient(180deg, rgba(107, 83, 72, 0.04) 0%, transparent 100%);
}
.quick-cta-panel__lead {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.quick-cta-panel__flow {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.quick-cta-panel__flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 0.85rem;
  align-items: start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.quick-cta-panel__flow li:last-child {
  border-bottom: none;
}
.quick-cta-panel__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-cta);
}
.quick-cta-item--fever .quick-cta-panel__step-num {
  background: var(--color-fever);
}
.quick-cta-panel__step-body strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-text);
  font-weight: 600;
}
.quick-cta-panel__note {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.quick-cta-panel__note a {
  color: var(--color-cta);
}
.quick-cta-item--fever .quick-cta-panel__note a {
  color: var(--color-fever);
}
.quick-cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0;
}
.quick-cta-panel__actions .btn {
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
}
@media (max-width: 767px) {
  .quick-cta-band {
    padding-inline: 1rem;
  }
  .quick-cta-band__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quick-cta-panel,
  .quick-cta-panel__inner,
  .quick-cta-card__chevron {
    transition: none;
  }
  .quick-cta-item.is-open .quick-cta-panel__inner {
    transform: none;
  }
}

.section-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.section-kicker__meta {
  letter-spacing: 0.1em;
  text-transform: none;
  font-size: 0.8125rem;
  font-weight: 400;
}
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head--strong { max-width: 48rem; }
.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.45;
}
.section-lead {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.7;
}

/* ----- Hero（写真全面＋オーバーレイ：左上にロゴ・住所、開院・見出し・告知・円形CTA） ----- */
.hero {
  position: relative;
  scroll-margin-top: var(--header-h);
  display: flex;
  flex-direction: column;
  min-height: clamp(460px, 74vh, 900px);
  background: #dce6e8;
  overflow: hidden;
  /* 右上・右下を同じ縦リズムで揃えるためのインセット（情報追加なし） */
  --hero-rail-inset: clamp(0.65rem, 2.4vw, 1.85rem);
}
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__picture {
  display: block;
  margin: 0;
  line-height: 0;
  height: 100%;
}
.hero__visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* わずかに左・やや下寄り：天井寄りの空抜けを抑え、中央付近に室内の塊が乗りやすくする */
  object-position: 52% 32%;
}
.hero__visual-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* 手前ほど上に描画。最後に列挙した層が最背面。左の可読用ベールを弱め、中央の写真トーンを残す */
  background:
    radial-gradient(
      ellipse 100% 72% at 8% 22%,
      rgba(248, 245, 239, 0.62) 0%,
      rgba(248, 245, 239, 0.22) 44%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 82% 48% at 0% 92%,
      rgba(234, 238, 236, 0.32) 0%,
      transparent 55%
    ),
    linear-gradient(
      102deg,
      rgba(245, 241, 235, 0.68) 0%,
      rgba(245, 241, 235, 0.32) 32%,
      rgba(243, 239, 234, 0.12) 48%,
      rgba(238, 241, 242, 0.05) 64%,
      transparent 78%
    ),
    linear-gradient(
      180deg,
      rgba(244, 241, 235, 0.38) 0%,
      rgba(244, 241, 235, 0.07) 32%,
      rgba(228, 235, 237, 0.42) 100%
    ),
    radial-gradient(
      ellipse 110% 88% at 52% 48%,
      rgba(224, 229, 231, 0.1) 0%,
      rgba(232, 236, 236, 0.04) 45%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 95% 72% at 56% 46%,
      rgba(222, 228, 230, 0.08) 0%,
      rgba(232, 236, 235, 0.03) 52%,
      transparent 72%
    );
}
/* PC（900px〜）：スクリムとトリミングを別最適化 */
@media (min-width: 900px) {
  .hero {
    min-height: clamp(520px, 82vh, 980px);
  }
  .hero__visual-img {
    object-position: 50% 33%;
  }
  .hero__visual-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.32) 0%,
        rgba(252, 250, 248, 0.1) 22%,
        transparent 44%
      ),
      radial-gradient(
        ellipse 104% 78% at 5% 23%,
        rgba(248, 245, 239, 0.7) 0%,
        rgba(248, 245, 239, 0.26) 44%,
        transparent 62%
      ),
      radial-gradient(
        ellipse 64% 42% at 20% 87%,
        rgba(230, 236, 235, 0.3) 0%,
        transparent 56%
      ),
      linear-gradient(
        100deg,
        rgba(245, 241, 235, 0.76) 0%,
        rgba(245, 241, 235, 0.5) min(26%, 300px),
        rgba(245, 241, 235, 0.2) min(42%, 420px),
        rgba(242, 238, 234, 0.12) 50%,
        rgba(239, 241, 242, 0.08) 58%,
        rgba(235, 238, 239, 0.05) 68%,
        rgba(216, 224, 227, 0.24) 100%
      ),
      linear-gradient(
        180deg,
        transparent 0%,
        transparent 38%,
        rgba(230, 236, 238, 0.44) 100%
      ),
      radial-gradient(
        ellipse 145% 108% at 50% 48%,
        rgba(218, 224, 227, 0.16) 0%,
        rgba(230, 234, 235, 0.08) 40%,
        rgba(234, 237, 237, 0.03) 55%,
        transparent 68%
      ),
      radial-gradient(
        ellipse 98% 80% at 54% 46%,
        rgba(212, 220, 224, 0.14) 0%,
        rgba(224, 230, 232, 0.07) 44%,
        transparent 70%
      ),
      linear-gradient(
        102deg,
        transparent 0%,
        transparent 36%,
        rgba(228, 233, 234, 0.05) 52%,
        rgba(218, 226, 229, 0.08) 72%,
        rgba(210, 220, 223, 0.1) 100%
      ),
      linear-gradient(
        90deg,
        transparent 0%,
        transparent 50%,
        rgba(224, 230, 232, 0.09) 72%,
        rgba(216, 226, 230, 0.14) 100%
      );
  }
}

.hero__overlay {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  /* ブランド → OPEN → 主コピー＋サブコピー → 右下円形CTA */
  grid-template-rows: auto auto 1fr auto;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.5rem;
  min-height: clamp(460px, 74vh, 900px);
  box-sizing: border-box;
  pointer-events: none;
}
.hero__overlay > * {
  pointer-events: auto;
}
.hero__brand {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(24rem, 100%);
  padding: 0;
  margin-left: clamp(0.35rem, 1.15vw, 0.95rem);
  margin-top: clamp(0.12rem, 0.35vw, 0.32rem);
  /* 署名・導入：主見出しより先に目立たないトーン */
  opacity: 0.94;
}
.hero-wordmark {
  margin: 0;
  line-height: 1.28;
}
.hero-wordmark__stack {
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}
.hero-wordmark__ja {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-bottom: 0.38rem;
  border-bottom: 1px solid rgba(217, 114, 61, 0.72);
}
.hero-wordmark__line {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.84rem, 2.05vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #252d33;
}
.hero-wordmark__prefix,
.hero-wordmark__suffix {
  font-weight: 600;
  letter-spacing: inherit;
  color: inherit;
}
/* 「せき＝咳」を示す強調。字間を空け、色で「せきの（姓）」とつながって読まれにくくする */
.hero-wordmark__seki {
  display: inline-block;
  margin-inline: 0.04em 0.1em;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-wordmark-accent);
  text-shadow: none;
}
.hero-wordmark__medial {
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.hero-wordmark__en {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.56rem, 1.15vw, 0.71875rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  color: #3a4349;
  line-height: 1.5;
  max-width: 20rem;
}
.hero__address {
  margin-top: 0.55rem;
}
.hero__address-line {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: 0.032em;
  color: #3d474e;
}
.hero__address-line + .hero__address-line {
  margin-top: 0.18rem;
}
.hero-open {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.42rem;
  max-width: 100%;
}
.hero-open__banner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  /* 円と文言を詰め、全体を左寄せ気味にして主コピーとの干渉を減らす */
  gap: 0.65rem 0.85rem;
}
.hero-open__access {
  margin: 18px 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: #3d474e;
  text-align: left;
  max-width: 100%;
  white-space: nowrap;
}
.hero__copy-block {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: min(34rem, 100%);
  margin-left: clamp(1.1rem, 4.2vw, 2.35rem);
  margin-top: clamp(1.75rem, 5vh, 3rem);
  margin-bottom: clamp(0.35rem, 1.4vh, 0.95rem);
  padding: 0;
}
.hero__rail-bottom {
  grid-column: 1;
  grid-row: 4;
  justify-self: end;
  align-self: end;
  /* tweak: nudge clinic-hours block down so headline has more air */
  margin-top: clamp(1rem, 2.2vh, 1.5rem);
  margin-bottom: 0.15rem;
  max-width: 100%;
}
.hero-hours {
  /* tweak: outer wrapper — visual card + padding = .hero-hours__card */
  --hh-teal: var(--color-cta);
  --hh-teal-deep: var(--color-cta-hover);
  --hh-surface: rgba(255, 255, 255, 0.92);
  --hh-row-alt: rgba(232, 244, 243, 0.88);
  --hh-text-soft: var(--color-text-muted);
  --hh-text-faint: #8a9a9e;
  width: 520px;
  max-width: calc(100% - 1rem);
  margin-inline: auto;
}
.hero-hours__card {
  /* tweak: inner “card” surface (padding + shadow live here) */
  display: grid;
  grid-template-columns: 1fr 108px;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  border-radius: clamp(14px, 3.2vw, 22px);
  background: var(--hh-surface);
  border: 1px solid rgba(255, 255, 255, 0.85);
  /* tweak: per spec ~0 10px 24px @ 10% — softer than NEW OPEN bubble */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}
.hero-hours__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 42%, rgba(215, 235, 234, 0.2));
  pointer-events: none;
}
.hero-hours__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hero-hours__eyebrow {
  margin: 0 0 0.1rem;
  font-family: var(--font-sans);
  /* tweak: one step under title */
  font-size: clamp(0.6rem, 1.05vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--hh-teal-deep);
}
.hero-hours__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  /* tweak: card title band ~16–18px max; weight unchanged */
  font-size: clamp(0.875rem, 1.55vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1.3;
}
.hero-hours .hero-hours__table {
  width: 100%;
  min-width: 380px;
  border-collapse: separate;
  border-spacing: 0 5px;
  table-layout: fixed;
  font-family: var(--font-sans);
  /* tweak: ~1px lighter than previous high bound */
  font-size: clamp(0.56rem, 1.1vw, 0.6875rem);
  font-weight: 500;
  color: var(--color-text);
}
.hero-hours .hero-hours__table thead th {
  color: var(--hh-text-soft);
  font-weight: 600;
  padding: 0 0 0.25rem;
  vertical-align: bottom;
  white-space: nowrap;
}
.hero-hours .hero-hours__th-sun {
  white-space: nowrap;
}
.hero-hours .hero-hours__table thead th:first-child,
.hero-hours .hero-hours__table tbody th {
  text-align: left;
  width: 22%;
  padding-left: 0.2rem;
}
.hero-hours .hero-hours__table tbody tr {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}
.hero-hours .hero-hours__table tbody tr:nth-child(even) {
  background: var(--hh-row-alt);
}
/* 左列：時刻（縦）。予防接種行のみ2行表示 */
.hero-hours .hero-hours__table tbody th.hero-hours__time {
  white-space: nowrap;
  line-height: 1.25;
}
.hero-hours__time--vax {
  white-space: normal;
  line-height: 1.2;
}
.hero-hours__time--vax .hero-hours__time-range {
  display: block;
  white-space: nowrap;
}
.hero-hours__time--vax .hero-hours__time-note {
  display: block;
  font-size: 0.72em;
  font-weight: 500;
  margin-top: 0.08em;
  white-space: nowrap;
}
.hero-hours .hero-hours__table tbody th,
.hero-hours .hero-hours__table tbody td {
  padding: 0.4rem 0.1rem;
  text-align: center;
  vertical-align: middle;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}
.hero-hours .hero-hours__table tbody th {
  font-size: clamp(0.6rem, 1.2vw, 0.73rem);
  font-weight: 600;
  color: var(--color-text);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.hero-hours .hero-hours__table tbody td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.hero-hours__dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid var(--hh-teal);
  background-color: #fff;
  box-sizing: border-box;
  vertical-align: middle;
}
.hero-hours__dash {
  color: var(--hh-text-faint);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  vertical-align: middle;
}
.hero-hours__cell--closed {
  text-align: center;
}
.hero-hours__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: 0.35rem;
  color: var(--hh-text-soft);
  font-size: clamp(0.56rem, 1.05vw, 0.7rem);
}
.hero-hours__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}
.hero-hours__reserve {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(108px, 21vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #5a9fa2 0%, var(--hh-teal-deep) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  /* tweak: softer than card — secondary to NEW OPEN */
  box-shadow: 0 6px 16px rgba(45, 109, 111, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-hours__reserve:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(45, 109, 111, 0.22);
  color: #fff;
}
.hero-hours__reserve:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 3px;
}
.hero-hours__reserve-inner {
  display: grid;
  gap: 0.1rem;
}
.hero-hours__reserve-main {
  font-size: clamp(0.9rem, 2.1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.hero-hours__reserve-sub {
  font-size: clamp(0.55rem, 1.1vw, 0.65rem);
  font-weight: 500;
  opacity: 0.95;
}
@media (max-width: 899px) {
  .hero-hours__card {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .hero-hours__reserve {
    width: 100px;
    justify-self: center;
  }
  .hero-hours__content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hero-hours .hero-hours__table {
    min-width: 380px;
    width: 380px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-hours__reserve {
    transition: none;
  }
  .hero-hours__reserve:hover {
    transform: none;
  }
}
.hero__corner-nav {
  margin-top: clamp(0.7rem, 1.6vh, 1rem);
  width: 100%;
  max-width: 16.5rem;
}
.hero__corner-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero__corner-nav a {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(0.74rem, 1.55vw, 0.84375rem);
  font-weight: 600;
  letter-spacing: 0.032em;
  color: #252d33;
  text-decoration: none;
  padding: 0.08rem 0;
  line-height: 1.35;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero__corner-nav a:hover {
  color: var(--color-cta-hover);
  border-bottom-color: rgba(45, 109, 111, 0.4);
}
.hero__corner-nav a:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (min-width: 900px) {
  .hero__overlay {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
    /* ブランドはコンパクトに。中央は最小幅を確保し見出しが細切れに折り返さない */
    grid-template-columns:
      minmax(9.5rem, min(20vw, 14rem))
      minmax(19.5rem, 1fr)
      auto;
    grid-template-rows: auto 1fr auto;
    column-gap: clamp(1.75rem, 3.8vw, 3rem);
    row-gap: 0.75rem;
    padding: clamp(1rem, 2.5vw, 1.75rem) clamp(1.15rem, 2.8vw, 2.1rem) clamp(1.25rem, 3vw, 2rem);
    align-items: start;
  }
  .hero__brand {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    margin-left: clamp(0.25rem, 0.9vw, 0.65rem);
    max-width: 100%;
  }
  .hero-open {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin-inline-end: var(--hero-rail-inset);
    margin-top: 0.15rem;
  }
  .hero-open__date-img {
    transform: translateX(-10px);
  }
  .hero-open__banner {
    gap: 0.55rem 0.7rem;
  }
  .hero__copy-block {
    grid-column: 2;
    /* PC: 見出しをしっかり上げるため上段に配置 */
    grid-row: 1 / 2;
    align-self: end;
    justify-self: start;
    margin-left: clamp(0.25rem, 1.2vw, 0.85rem);
    margin-right: clamp(1.5rem, 4.5vw, 3.75rem);
    margin-top: 0;
    margin-bottom: 0;
    min-width: 0;
    max-width: min(44rem, 100%);
    padding: 0;
    z-index: 1;
  }
  .hero__rail-bottom {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: end;
    justify-self: end;
    /* tweak: match .hero-hours max width */
    width: min(37vw, 36.5rem);
    max-width: calc(100% - 1.75rem);
    /* tweak: extra ~16–20px below headline band */
    margin-top: clamp(1rem, 1.8vh, 1.35rem);
    margin-bottom: clamp(0.55rem, 2.2vh, 1.05rem);
    margin-inline-end: var(--hero-rail-inset);
  }
  .hero-hours {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
  .hero-hours__card {
    gap: 0.55rem;
  }
}
.hero-open__date-img {
  flex-shrink: 0;
  width: 9.1rem;
  height: 9.1rem;
  object-fit: contain;
  transform: translateX(-4px);
}
.hero-open__message {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-open__headline {
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.hero-open__en {
  font-size: clamp(2.06rem, 5.1vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  color: #fff;
  border-bottom: 4px solid rgba(255, 255, 255, 0.72);
  padding-bottom: 0.28rem;
  white-space: nowrap;
}

.hero__title {
  margin: 0 0 clamp(0.68rem, 1.85vh, 1.12rem);
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5.15vw, 3.05rem);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.024em;
  color: #070d0f;
  font-feature-settings: "palt" 1;
  text-align: start;
  white-space: nowrap;
}
.hero__title-lead,
.hero__title-tail {
  font-weight: inherit;
  letter-spacing: inherit;
}
/* PC：意図した1行見出し。899px以下で「ぜーぜー、」の直後改行 */
.hero__title-break--sm {
  display: none;
}
@media (max-width: 420px) {
  .hero__title {
    font-size: clamp(1.38rem, 4.65vw, 1.78rem);
    letter-spacing: -0.02em;
  }
}
@media (min-width: 900px) {
  .hero__title {
    font-size: clamp(2.12rem, 3.65vw, 3.32rem);
    letter-spacing: -0.034em;
    font-weight: 600;
  }
  .hero__title-lead {
    font-weight: 600;
  }
  .hero__title-tail {
    font-weight: 500;
  }
}
.hero__subcopy {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 2.35vw, 1.1rem);
  font-weight: 600;
  color: #141c20;
  line-height: 1.5;
  letter-spacing: 0.024em;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .hero__subcopy {
    font-size: clamp(1.14rem, 1.32vw, 1.375rem);
  }
}

/* ----- symptoms-section（グレー円アイコン＋下ラベル） ----- */
.symptoms-section__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem 1rem;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
}
@media (min-width: 640px) {
  .symptoms-section__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem 1.25rem;
  }
}
.symptoms-section__grid > li {
  width: 100%;
  max-width: 11rem;
}
.symptoms-section__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.22s ease, color 0.22s ease;
}
.symptoms-section__item:hover {
  transform: translateY(-2px);
  color: var(--color-cta-hover);
}
.symptoms-section__item:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.symptoms-section__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  padding: 0.25rem;
  overflow: visible;
}
.symptoms-section__icon {
  display: block;
  width: 94%;
  height: 94%;
  object-fit: contain;
  object-position: center;
}
.symptoms-section__label {
  display: block;
  width: 100%;
  margin: 0;
  font-size: clamp(0.75rem, 2.5vw, 0.8125rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--color-text);
}
.symptoms-section__item:hover .symptoms-section__label {
  color: var(--color-cta-hover);
}
@media (prefers-reduced-motion: reduce) {
  .symptoms-section__item {
    transition: color 0.22s ease;
  }
  .symptoms-section__item:hover {
    transform: none;
  }
}

/* ----- clinic-about ----- */
.clinic-about__inner {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .clinic-about__inner {
    grid-template-columns: minmax(0, 240px) 1fr;
    align-items: start;
  }
  .clinic-about .section-head { margin-bottom: 0; }
}
.clinic-about__body p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 52rem;
}
.clinic-about__body p:last-child { margin-bottom: 0; }
.clinic-about__more { margin-top: 1rem !important; }

/* ----- director-home（トップ：院長紹介ブロック） ----- */
.director-home {
  background: var(--section-home-access-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: none;
  padding-block: clamp(2rem, 4.5vw, 2.75rem);
}
.director-home__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.director-home .section-head {
  margin-bottom: 0;
}
.director-home__lead {
  margin: 0;
  max-width: min(40rem, 100%);
  text-wrap: pretty;
  line-height: 1.85;
}
.director-home__cta {
  margin: 0;
  text-align: center;
}
.director-home__cta-btn {
  min-width: min(100%, 14rem);
  padding: 0.65rem 2rem;
  border-radius: 999px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* ----- director-message（トップ：院長メッセージ・ゆったりレイアウト） ----- */
.director-message {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: start;
  margin-top: 0;
}
@media (min-width: 900px) {
  .director-message {
    grid-template-columns: auto minmax(0, 1fr) minmax(160px, 220px);
    gap: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
  }
}
.director-message__label-col {
  display: none;
}
@media (min-width: 900px) {
  .director-message__label-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.35rem;
  }
}
.director-message__en {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: rgba(47, 52, 56, 0.38);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.director-message__body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 2vw, 1.25rem);
  min-width: 0;
}
.director-message__lead {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-text);
}
.director-message__lead-br {
  display: none;
}
@media (min-width: 520px) {
  .director-message__lead-br {
    display: inline;
  }
}
.director-message__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.8vw, 1.1rem);
}
.director-message__copy p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  text-wrap: pretty;
}
.director-message__specialty {
  padding-top: clamp(0.35rem, 1vw, 0.65rem);
  border-top: 1px solid rgba(47, 52, 56, 0.1);
}
.director-message__specialty-title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text);
}
.director-message__specialty-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.director-message__specialty-list li {
  position: relative;
  padding-left: 1.1em;
  font-size: 0.8125rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}
.director-message__specialty-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-cta);
}
.director-message__portrait {
  margin: 0;
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: linear-gradient(165deg, #e8e2d8 0%, #eef2f3 55%);
  box-shadow: var(--shadow-card);
}
@media (max-width: 899px) {
  .director-message__portrait {
    max-width: min(200px, 52vw);
    margin-inline: auto;
    order: -1;
  }
  .director-message {
    display: flex;
    flex-direction: column;
  }
  .director-message__body {
    order: 1;
  }
}
.director-message__portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 12%;
}
.director-message__nameplate {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0.75rem 0.85rem 0.7rem;
  background: linear-gradient(0deg, rgba(45, 109, 111, 0.82) 0%, rgba(45, 109, 111, 0.55) 55%, transparent 100%);
  color: #fff;
}
.director-message__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
/* ----- services-section ----- */
.services-section__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 640px) {
  .services-section__list {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 1rem;
  }
}
@media (min-width: 960px) {
  .services-section__list { grid-template-columns: repeat(4, 1fr); }
}
.services-section__list > li {
  display: flex;
  min-height: 0;
  width: 100%;
}
.services-section__item {
  --services-wm-size: 58%;
  --services-wm-inset: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 1.1rem 1.15rem 1rem;
  border: 1px solid rgba(45, 109, 111, 0.12);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(155deg, #faf9f7 0%, #f2f5f5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 10px rgba(47, 52, 56, 0.04);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.services-section__item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--color-cta);
  opacity: 0.45;
  transition: opacity 0.25s ease;
}
.services-section__item:hover {
  border-color: rgba(45, 109, 111, 0.26);
  background: linear-gradient(155deg, #f8fbfb 0%, #eef3f3 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 16px rgba(45, 109, 111, 0.07);
  color: inherit;
}
.services-section__item:hover::before {
  opacity: 1;
}
.services-section__item--featured {
  background: linear-gradient(155deg, #f3f8f8 0%, #e9f1f0 100%);
  border-color: rgba(45, 109, 111, 0.2);
}
.services-section__item--featured::before {
  width: 4px;
  opacity: 0.75;
}
.services-section__item--featured:hover::before {
  opacity: 1;
}
.services-section__wm {
  position: absolute;
  right: var(--services-wm-inset);
  bottom: var(--services-wm-inset);
  width: var(--services-wm-size);
  height: var(--services-wm-size);
  min-width: 3.75rem;
  min-height: 3.75rem;
  max-width: calc(100% - var(--services-wm-inset) - var(--services-wm-inset));
  max-height: calc(100% - var(--services-wm-inset) - var(--services-wm-inset));
  opacity: 0.07;
  pointer-events: none;
  object-fit: contain;
  object-position: right bottom;
}
.services-section__item:hover .services-section__wm {
  opacity: 0.1;
}
.services-section__head {
  position: relative;
  z-index: 1;
  margin-bottom: 0.6rem;
}
.services-section__item--fever::before {
  background: var(--color-fever);
}
.services-section__item--fever:hover {
  border-color: var(--color-fever-border);
}
.services-section__item--fever .services-section__anchor {
  color: var(--color-fever);
}
.services-section__item--fever:hover .services-section__anchor {
  color: var(--color-fever);
}
.services-section__titles {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.services-section__en {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(45, 109, 111, 0.55);
}
.services-section__name {
  display: block;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--color-text);
}
.services-section__desc {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.services-section__anchor {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-cta);
  text-decoration: none;
}
.services-section__item:hover .services-section__anchor {
  color: var(--color-cta-hover);
}
.services-section__anchor-arrow {
  display: inline-block;
  transition: transform 0.22s ease;
}
.services-section__item:hover .services-section__anchor-arrow {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .services-section__item,
  .services-section__item::before,
  .services-section__anchor-arrow {
    transition: none;
  }
  .services-section__item:hover .services-section__anchor-arrow {
    transform: none;
  }
}
.services-section__footer-link { margin: 0; text-align: center; }

/* ----- access-reservation ----- */
.access-reservation__grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .access-reservation__grid { grid-template-columns: 1.1fr 0.95fr; }
}
.access-reservation__map-placeholder {
  min-height: 200px;
  display: block;
  padding: 0;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  width: 100%;
}
.access-reservation__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.access-reservation__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.access-reservation__hours,
.access-reservation__cta-block {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-white);
}
.access-reservation__subhead {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.access-reservation__hours-table-wrap {
  overflow-x: auto;
}
.access-reservation__hours-table-wrap .hero-hours__table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.625rem, 1.25vw, 0.75rem);
  font-weight: 500;
  color: #333;
  line-height: 1.35;
}
.access-reservation__hours-table-wrap .hero-hours__table th,
.access-reservation__hours-table-wrap .hero-hours__table td {
  padding: 0.38rem 0.2rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 500;
}
.access-reservation__hours-table-wrap .hero-hours__table thead th {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 600;
  color: #333;
}
.access-reservation__hours-table-wrap .hero-hours__time {
  font-size: 0.8125rem;
}
.access-reservation__hours-table-wrap .hero-hours__th-sun {
  white-space: nowrap;
}
.access-reservation__hours-table-wrap .hero-hours__time {
  text-align: left;
  white-space: nowrap;
  font-weight: 600;
  color: #333;
  padding-right: 0.45rem;
}
.access-reservation__hours-table-wrap .hero-hours__table tbody tr:last-child th,
.access-reservation__hours-table-wrap .hero-hours__table tbody tr:last-child td {
  border-bottom: none;
}
.access-reservation__hours-table-wrap .hero-hours__open {
  font-weight: 600;
  color: #333;
}
.access-reservation__hours-table-wrap .hero-hours__closed {
  color: #888;
  font-weight: 500;
}
.access-reservation__hours-line {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}
.access-reservation__hours-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.access-reservation__hours-note--muted { margin-top: 0.5rem; font-size: 0.8125rem; }
.access-reservation__reserve-lead {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.access-reservation__detail-link { margin: 0.85rem 0 0; font-size: 0.875rem; }

/* ----- Mobile dock ----- */
.mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: #fff;
  box-shadow: 0 -2px 12px rgba(47, 52, 56, 0.1);
  flex-direction: column;
}
.mobile-dock__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.45rem 0.5rem;
  background: #3a3a3a;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
}
.mobile-dock__buttons {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.mobile-dock__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 3.5rem;
  padding: 0.5rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--color-text);
}
.mobile-dock__item:last-child { border-right: none; }
.mobile-dock__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-dock__icon svg {
  width: 20px;
  height: 20px;
}
.mobile-dock__sub {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.mobile-dock__item--tel {
  background: #fff;
  color: var(--color-cta);
  border-right: 1px solid var(--color-border);
}
.mobile-dock__item--tel:hover {
  background: #f4fafa;
  color: var(--color-cta);
}
.mobile-dock__item--reserve {
  background: var(--color-cta);
  color: #fff;
}
.mobile-dock__item--reserve:hover {
  background: var(--color-cta-hover);
  color: #fff;
}
.mobile-dock__item--reserve .mobile-dock__sub {
  color: rgba(255, 255, 255, 0.8);
}
.mobile-dock__item--reserve .mobile-dock__icon svg {
  stroke: #fff;
}

.page-top {
  position: fixed;
  right: 0.5rem;
  bottom: 4rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.35rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--color-text-muted);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-left: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.94);
}
.page-top:hover { color: var(--color-cta); }
.page-top__arrow { writing-mode: horizontal-tb; font-size: 0.75rem; }

.site-footer {
  padding-block: 2rem;
  background: var(--color-sand);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}
.site-footer a { color: var(--color-cta); }
.site-footer__grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.site-footer__title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.site-footer__seki {
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-wordmark-accent);
}
.site-footer p { margin: 0; line-height: 1.65; }
.site-footer__copy {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(47, 52, 56, 0.1);
  text-align: center;
  font-size: 0.8125rem;
}

@media (max-width: 899px) {
  .btn--header-reserve { display: none; }
  body { padding-bottom: calc(var(--mobile-dock-h) + env(safe-area-inset-bottom, 0)); }
  .mobile-dock {
    display: flex;
    flex-direction: column;
  }
  .page-top {
    bottom: calc(var(--mobile-dock-h) + 0.75rem + env(safe-area-inset-bottom, 0));
  }
  /* 固定ヘッダー：ハンバーガーを常に最上段に */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 102;
    transform: none;
  }
  .site-header.site-header--revealed {
    transform: none;
  }
  /* トップ：899px以下のみコンパクトヒーロー（900px〜はPCと同じグリッド） */
  .hero {
    padding-top: var(--header-h);
    min-height: clamp(420px, 88vh, 860px);
  }
  .hero__overlay {
    grid-template-columns: 1fr;
    /* 縦長：上に開院（右・約8割）→ 主コピー（中央）を詰めて配置 */
    grid-template-rows: auto auto;
    gap: 0.4rem 0.65rem;
    padding: 0.35rem 0.85rem 1rem;
    min-height: clamp(380px, 78vh, 780px);
  }
  /* 左上ワードマーク非表示（住所・コーナーナビは従来どおり非表示） */
  .hero__brand {
    display: none !important;
  }
  .hero__address,
  .hero__corner-nav {
    display: none !important;
  }
  .hero-open {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    gap: 0.64rem;
    max-width: min(36rem, 94vw);
    width: fit-content;
  }
  .hero-open__banner {
    align-items: center;
    gap: 0.72rem 0.88rem;
  }
  .hero-open__date-img {
    width: 9.75rem;
    height: 9.75rem;
  }
  .hero-open__en {
    font-size: clamp(1.88rem, 8.25vw, 3.19rem);
    border-bottom-width: 4px;
    padding-bottom: 0.26rem;
  }
  .hero-open__message {
    align-items: flex-end;
    text-align: right;
  }
  .hero-open__access {
    margin: 36px 0 0;
    font-size: clamp(1.1rem, 2.64vw, 1.3rem);
    letter-spacing: 0.04em;
    text-align: right;
    align-self: flex-end;
  }
  .hero__copy-block {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    justify-self: center;
    margin-left: 0;
    margin-right: 0;
    margin-top: clamp(1.5rem, 5vh, 3rem);
    margin-bottom: 0;
    max-width: none;
    padding: 0 0.15rem;
    text-align: center;
  }
  .hero__copy-block .hero__title,
  .hero__copy-block .hero__subcopy {
    text-align: center;
  }
  .hero__rail-bottom {
    display: none !important;
  }
  .hero__title {
    white-space: normal;
    line-height: 1.3;
  }
  .hero__title-break--sm {
    display: inline;
  }
  .hero__subcopy {
    white-space: normal;
  }
}

@media (min-width: 900px) {
  /* ワイド：初回はヘッダー非表示、スクロールで出現 */
  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }
  .site-header.site-header--revealed {
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .site-header {
      transition-duration: 0.05s;
    }
  }
  .nav-toggle { display: none; }
  .global-nav {
    display: flex;
    position: static;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: none;
  }
  .global-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem;
  }
  .global-nav a {
    padding: 0.4rem 0.55rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .btn--header-reserve { font-size: 0.875rem; padding: 0.5rem 1.1rem; }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr; }
}

/* ----- Subpages: director, stub pages ----- */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.35rem; user-select: none; }
.page-intro {
  padding-block: 1.5rem;
  padding-top: 1.5rem;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-white) 65%);
  border-bottom: 1px solid var(--color-border);
}
.page-intro h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
}
.page-intro .section-lead { max-width: 40em; }

.director { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 768px) {
  .director { grid-template-columns: minmax(200px, 280px) 1fr; }
}
figure.director__photo {
  margin: 0;
  max-width: 280px;
  margin-inline: auto;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 768px) {
  figure.director__photo { margin-inline: 0; }
}
.director__photo img { display: block; width: 100%; height: auto; }
.director__caption {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--color-border);
}
.director__subhead {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.director__body p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.director-teaser__cta { margin-top: 1rem; }
.director-page .director__body { max-width: 48em; }
.director-page__back { margin-top: 2rem; }
.director-page__cta-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.global-nav a[aria-current="page"] { font-weight: 600; color: var(--color-cta); }

/* ヒーロー以外：ヘッダー下に潜まない */
main:not(:has(.hero)):not(:has(.page-hero-banner)) {
  padding-top: calc(var(--header-h) + 1.5rem);
}
main:has(.page-hero-banner) {
  padding-top: var(--header-h);
}
.page-hero-banner {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: clamp(180px, 30vw, 280px);
  margin-left: calc(-50vw + 50%);
  margin-bottom: 0;
  overflow: hidden;
}
.page-hero-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
}
.page-hero-banner__breadcrumb {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 0.2rem;
}
.page-hero-banner__breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.page-hero-banner__breadcrumb a:hover {
  text-decoration: underline;
  color: #fff;
}
.page-hero-banner__breadcrumb .breadcrumb-sep {
  color: rgba(255,255,255,0.6);
}
.page-hero-banner__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.stub-page {
  padding-bottom: 2.5rem;
}
.stub-page h1:not(.page-hero-banner__title) { font-family: var(--font-serif); font-size: 1.35rem; }
.stub-page p { color: var(--color-text-muted); max-width: 40em; }
.stub-page main section[id],
.stub-page > section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* 診療内容ページ（ドラフト本文） */
.services-page h1 { margin-bottom: 0.75rem; }
.services-page__intro,
.services-page__note,
.services-page section > p,
.services-page .services-visual-section__text p,
.services-page__dept-head .section-lead,
.services-page__back {
  max-width: 48rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.services-page__intro { margin: 0 0 1rem; }
.services-page__note {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.services-page__dept-head {
  /* tweak: 上のセクションとの呼吸 — 診療科 H2 まわりのバランス */
  margin: 0 0 1.75rem;
  padding-top: clamp(2.25rem, 5.5vw, 3.75rem);
}
.services-page__dept-head .section-head {
  margin-bottom: 0;
}
.services-page .services-page__dept-heading.section-title {
  /* 症状・予防接種・診療科・舌下免疫療法などのブロック見出し（H3） */
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.services-page #medical-departments {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.services-page section > p,
.services-page .services-visual-section__text p { margin: 0 0 1rem; }
.services-page section > p:last-child,
.services-page .services-visual-section__text p:last-child { margin-bottom: 0; }
.services-page .section-title { margin-top: 0; margin-bottom: 0.65rem; }
.services-page__back { margin: 2rem 0 0; }
.stub-page.services-page p { max-width: 48rem; }

/* 診療内容：症状ブロックの画像＋本文（画像は仮の四角） */
.services-visual-section .services-visual-section__text p {
  max-width: none;
}
.services-visual-section__grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  grid-template-columns: 1fr;
}
.services-visual-section__grid .services-visual-section__media {
  order: -1;
}
.services-visual-section__placeholder {
  aspect-ratio: 1;
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  box-sizing: border-box;
  background: linear-gradient(145deg, var(--color-bg-muted) 0%, #e4e9ea 100%);
  border: 1px dashed rgba(90, 100, 105, 0.45);
  border-radius: calc(var(--radius) + 2px);
}
.services-visual-section__icon-card {
  aspect-ratio: 1;
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  padding: 0;
}
.services-visual-section__icon-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 720px) {
  .services-visual-section__grid {
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 1.75rem;
  }
  .services-visual-section__grid .services-visual-section__media {
    order: unset;
  }
  .services-visual-section__grid--flip {
    grid-template-columns: 1fr minmax(200px, 280px);
  }
  .services-visual-section__placeholder {
    max-width: none;
    margin-inline: 0;
  }
  .services-visual-section__icon-card {
    max-width: none;
    margin-inline: 0;
  }
}

/* 初診・発熱など案内ページ */
.guide-page__body {
  max-width: 48em;
}
.guide-page__body p,
.guide-page__body li,
.guide-page__body td,
.guide-page__body th {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.guide-page__body p { margin: 0 0 1rem; }
.guide-page__body p:last-child { margin-bottom: 0; }
.guide-page__subhead {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}
.guide-page__section { margin-bottom: 2.25rem; }
.guide-page__section:last-child { margin-bottom: 0; }
.guide-page__note {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.guide-page__note p { margin: 0; font-size: inherit; }
.guide-page__list {
  margin: 0 0 1rem;
  padding-left: 1.25em;
}
.guide-page__list li { margin-bottom: 0.35rem; }
.guide-page__list--check {
  list-style: none;
  padding-left: 0;
}
.guide-page__list--check li {
  position: relative;
  padding-left: 1.35em;
}
.guide-page__list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-cta);
  font-weight: 600;
}
.guide-page__cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 2rem;
}
.guide-page__toc {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.guide-page__toc-title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.guide-page__toc ol {
  margin: 0;
  padding-left: 1.25em;
  font-size: 0.875rem;
  line-height: 1.65;
}
.guide-page__toc a { text-decoration: none; }
.guide-page__toc a:hover { text-decoration: underline; }
.guide-page__steps {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}
.guide-page__steps li {
  counter-increment: guide-step;
  position: relative;
  padding: 0 0 1rem 2.5rem;
  margin: 0;
  border-left: 2px solid var(--color-border);
  margin-left: 0.65rem;
}
.guide-page__steps li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.guide-page__steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: -0.65rem;
  transform: translateX(-50%);
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-cta);
  border-radius: 50%;
}
.guide-page__steps strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-text);
  font-size: 0.9375rem;
}
.guide-page__callout {
  margin: 1rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--color-cta);
  background: var(--color-bg-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.guide-page__callout--fever {
  border-left-color: var(--color-fever);
}
.guide-page__callout p {
  margin: 0;
  font-size: 0.875rem;
}
.guide-page__table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
}
.guide-page__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.guide-page__table th,
.guide-page__table td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.guide-page__table th {
  background: var(--color-bg-muted);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}
.guide-page__back { margin-top: 2rem; }
.guide-page section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ----- Language Switch (Header) ----- */
.lang-switch {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.2em 0.55em;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-switch:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
}

/* ----- English Info Modal ----- */
.en-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 52, 56, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.en-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.en-modal {
  position: relative;
  background: var(--color-bg-white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 2.5rem 2rem 2rem;
  max-width: 480px;
  width: calc(100% - 2rem);
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(12px);
  transition: transform 0.25s;
}
.en-modal-overlay.is-open .en-modal {
  transform: translateY(0);
}
.en-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
}
.en-modal__close:hover {
  color: var(--color-text);
  background: var(--color-bg-muted);
}
.en-modal__title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
  color: var(--color-text);
}
.en-modal__subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}
.en-modal__highlight {
  background: var(--color-cta-soft);
  color: var(--color-cta);
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
.en-modal__info {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.en-modal__info dt {
  font-weight: 600;
  color: var(--color-text);
  margin-top: 0.75rem;
}
.en-modal__info dt:first-child {
  margin-top: 0;
}
.en-modal__info dd {
  margin: 0.15rem 0 0;
  padding: 0;
  color: var(--color-text-muted);
}
.en-modal__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}