/* おおたにクリニック - 共通スタイル */

:root {
  /* Colors */
  --primary: #5a8c5a;
  --primary-dark: #3d5a3d;
  --primary-light: #a8c894;
  --sage: #d4e4c8;
  --sage-bg: #eef3e6;
  --warm: #d97942;
  --warm-light: #f0c195;
  --pink: #f5b8a8;
  --bg: #faf7f0;
  --card: #ffffff;
  --text: #3a3a35;
  --text-light: #5a5a52; /* WCAG AA 準拠に引き上げ (旧 #6a6a60) */
  --border: #e8e4d8;
  --max-w: 1080px;

  /* Spacing scale (8の倍数 + 中間4) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radius scale (3段階) */
  --radius-sm: 8px;   /* バッジ・タグ・小ボタン */
  --radius-md: 14px;  /* カード・標準 */
  --radius-lg: 20px;  /* 大バナー・ヒーロー */

  /* Shadow scale */
  --shadow-sm: 0 2px 8px rgba(60, 90, 60, 0.08);
  --shadow-md: 0 4px 16px rgba(60, 90, 60, 0.10);
  --shadow-lg: 0 12px 32px rgba(60, 90, 60, 0.20);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 18.5px; }

body {
  margin: 0;
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 18.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.8; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── HEADER / NAV ───────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.logo-text-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.logo-text-sub {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 3px;
  white-space: nowrap;
}
.logo-text-name { white-space: nowrap; }
.logo { flex-shrink: 1; min-width: 0; }
.site-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: nowrap;
}
.site-nav a {
  font-size: 15.5px;
  padding: 9px 12px;
  border-radius: 20px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.site-nav a.is-active {
  background: var(--sage);
  color: var(--primary-dark);
  font-weight: 700;
}
.tel-btn {
  margin-left: 6px;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 32px;
  font-size: 15.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.tel-btn:hover { background: var(--primary-dark); opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 26px;
  color: var(--primary-dark);
}

@media (max-width: 1040px) {
  .header-inner { padding: 12px 16px; }
  .logo-text-name { font-size: 17px; }
  .logo-text-sub { display: none; }
  .nav-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .site-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 80px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { font-size: 17px; padding: 16px 18px; border-radius: 14px; }
  .tel-btn { margin: 16px 0 0; justify-content: center; padding: 18px; font-size: 17px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 10px 12px; gap: 8px; }
  .logo { flex: 1 1 auto; }
  .logo-text-name { font-size: 16px; letter-spacing: 0.02em; }
}

/* ─── FOOTER ───────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 52px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.6fr;
  gap: 48px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .name { font-size: 18px; font-weight: 700; }
.footer-addr { font-size: 15.5px; line-height: 1.95; opacity: 0.88; }
.footer-col-label {
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 14px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; font-size: 16.5px; line-height: 2.05; }
.footer-col a { opacity: 0.92; }
.footer-col a:hover { opacity: 1; }
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 14.5px;
  opacity: 0.7;
  text-align: center;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-right { gap: 24px; }
}
@media (max-width: 440px) {
  .footer-right { grid-template-columns: 1fr; }
}

/* ─── SECTION TITLE (左:日本語大 ／ 右:英語小) ─── */
.section-title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 0;
}
.section-title h2 {
  order: 1;
  font-size: 34px;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.section-title .line {
  order: 2;
  height: 1px;
  flex: 1;
  background: var(--primary-light);
  opacity: 0.5;
  align-self: center;
  margin-top: 0.5em; /* ベースラインに対する見た目の中央寄せ補正 */
}
.section-title .eyebrow {
  order: 3;
  font-size: 13.5px;
  letter-spacing: 0.25em;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 600px) {
  /* スマホでは縦並び: 上に英語小・下に日本語大 (見切れ防止) */
  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .section-title h2 {
    font-size: 24px;
    white-space: normal;
    line-height: 1.4;
  }
  .section-title .eyebrow {
    order: -1;
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .section-title .line { display: none; }
}

/* ─── PAGE INTRO (about/news/compliance) ─── */
.page-intro {
  padding: 56px 0 38px;
  background: var(--sage-bg);
  position: relative;
  overflow: hidden;
}
.page-intro .eyebrow {
  font-size: 14.5px;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 700;
}
.page-intro h1 {
  font-size: 44px;
  margin: 12px 0 16px;
  color: var(--primary-dark);
  font-weight: 700;
}
.page-intro .lead {
  font-size: 18px;
  color: var(--text-light);
  line-height: 2;
  max-width: 760px;
}
.page-intro .leaf {
  position: absolute;
  right: 30px;
  top: 30px;
  opacity: 0.4;
}
@media (max-width: 600px) {
  .page-intro { padding: 44px 0 30px; }
  .page-intro h1 { font-size: 32px; }
  .page-intro .lead { font-size: 16px; }
  .page-intro .leaf { right: 16px; top: 16px; transform: scale(0.7); }
}

/* ─── HOME: HERO COVER (Facebookプロフィール風) ─── */
.hero-cover {
  position: relative;
  width: 100%;
  min-height: 560px;
  height: 70vh;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-cover-slides {
  position: absolute;
  inset: 0;
}
.hero-cover-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-cover-slide.is-active { opacity: 1; }
.hero-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* スマホ縦画面では、被写体 (右側のクリニック) が切れないよう右寄りにクロップ */
@media (max-width: 720px) {
  .hero-cover-img { object-position: 78% center; }
}
@media (max-width: 480px) {
  .hero-cover-img { object-position: 82% center; }
}
.hero-cover-fallback {
  position: absolute;
  inset: 0;
  z-index: -1; /* 画像が読み込まれていれば隠れる */
}
/* 画像が無いときに見えるグラデーション (緑×空) */
.hero-cover-fallback-1 {
  background:
    radial-gradient(ellipse at 30% 80%, rgba(90, 140, 90, 0.5), transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(216, 232, 240, 0.7), transparent 60%),
    linear-gradient(180deg, #b8d4ea 0%, #d6e8d4 55%, #5a8c5a 100%);
}
.hero-cover-fallback-2 {
  background: linear-gradient(135deg, #d4e4c8 0%, #faf7f0 50%, #f5d6b8 100%);
}
.hero-cover-fallback-3 {
  background: linear-gradient(135deg, #d8e8f0 0%, #faf7f0 60%, #d4e4c8 100%);
}
.hero-cover-fallback-4 {
  background: linear-gradient(135deg, #f0e0d4 0%, #faf7f0 60%, #a8c894 100%);
}
/* 画像が表示されているスライドではフォールバックを隠す */
.hero-cover-slide:has(img.hero-cover-img:not([style*="display: none"])) .hero-cover-fallback { display: none; }
/* 画像があるスライドでは大きな placeholder-label だけ隠す (バッジは残す) */
.hero-cover-slide:has(img.hero-cover-img:not([style*="display: none"])) .placeholder-label { display: none; }
/* 画像があるスライドでは placeholder のレイアウトを「右上にバッジだけ」に */
.hero-cover-slide:has(img.hero-cover-img:not([style*="display: none"])) .hero-cover-placeholder {
  justify-content: flex-start;
  padding-top: 28px;
  padding-right: 28px;
}

/* すべてのスライドに斜めストライプの透かしを表示 (「仮画像」と分かる視覚パターン) */
.hero-cover-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 3px,
    transparent 3px,
    transparent 20px
  );
  pointer-events: none;
  z-index: 1;
}
/* 大きな斜めの「PHOTO 5/23 仮画像」テキスト透かし */
.hero-cover-slide::before {
  content: "PHOTO  5/23  仮画像";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
  font-size: clamp(36px, 8vw, 100px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.3em;
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  overflow: visible;
}

/* プレースホルダー (画像未配置時に院長指示の文字を右に大きく表示) */
.hero-cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.97);
  text-shadow: 0 4px 24px rgba(60, 90, 60, 0.45), 0 2px 4px rgba(0, 0, 0, 0.2);
  padding: 60px 8% 60px 24px;
  text-align: right;
  pointer-events: none;
  z-index: 1;
}
.hero-cover-placeholder .placeholder-label {
  font-size: 110px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin: 0;
}
.hero-cover-placeholder .placeholder-note {
  font-size: 15px;
  letter-spacing: 0.3em;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 22px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  font-weight: 600;
  align-self: flex-end;
}
@media (max-width: 1040px) {
  .hero-cover-placeholder .placeholder-label { font-size: 80px; }
  .hero-cover-placeholder { padding: 50px 32px 50px 24px; }
}
@media (max-width: 720px) {
  /* スマホでは左下のキャッチコピーと被らないように上寄せ */
  .hero-cover-placeholder {
    justify-content: flex-start;
    padding-top: 36px;
    padding-right: 20px;
    gap: 12px;
  }
  .hero-cover-placeholder .placeholder-label { font-size: 56px; }
  .hero-cover-placeholder .placeholder-note { font-size: 12.5px; padding: 6px 16px; }
}
@media (max-width: 480px) {
  .hero-cover-placeholder { padding-top: 28px; padding-right: 16px; gap: 10px; }
  .hero-cover-placeholder .placeholder-label { font-size: 42px; }
  .hero-cover-placeholder .placeholder-note { font-size: 11.5px; padding: 5px 14px; }
}

/* 初期表示の緑ベール: 文字をしっかり読ませてから 3秒かけて写真にフェードアウト */
.hero-cover-intro-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, #eef3e6 0%, #faf7f0 50%, #f0e0d4 100%);
  pointer-events: none;
  animation: heroIntroFade 2.8s ease-out 0.4s forwards;
}
@keyframes heroIntroFade {
  0% { opacity: 1; }
  40% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* テキスト可読性のためのオーバーレイ (左下に白の対角グラデ、右側はほぼ素のまま) */
.hero-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 250, 245, 0.85) 0%,
    rgba(255, 250, 245, 0.55) 32%,
    rgba(255, 255, 255, 0.06) 55%,
    rgba(255, 255, 255, 0.00) 68%
  );
}

/* 装飾の葉っぱ */
.hero-cover-leaf-1 {
  position: absolute;
  top: 30px;
  right: 5%;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}
.hero-cover-leaf-2 {
  position: absolute;
  bottom: 50%;
  left: 3%;
  z-index: 2;
  opacity: 0.7;
}

/* メインコンテンツ */
.hero-cover-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 0 56px;
  color: #fff;
}
.hero-cover-content .hero-tag {
  background: transparent;
  color: var(--primary-dark);
  margin-bottom: 18px;
  padding: 0;
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 1),
    0 1px 2px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 255, 255, 0.85);
}
.hero-cover-title {
  font-size: 52px;
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #15220f;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.95);
  paint-order: stroke fill;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(255, 255, 255, 1),
    0 0 28px rgba(255, 255, 255, 0.65),
    0 2px 6px rgba(31, 46, 28, 0.30);
}
/* .accent は強調を外し、本文と同じスタイル */
.hero-cover-title .accent { color: inherit; }
.mobile-only-break { display: none; }
.hero-cover-lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.95;
  color: #2a3a26;
  font-weight: 700;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(255, 255, 255, 0.9);
  max-width: 680px;
}
.hero-cover-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-cover {
  padding: 16px 30px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  color: var(--primary-dark) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
}
.btn-cover:hover { opacity: 0.92; transform: translateY(-2px); transition: all 0.2s; }
.btn-cover-ghost {
  padding: 16px 26px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 700;
  background: var(--warm);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--warm);
  box-shadow: 0 6px 18px rgba(232, 168, 124, 0.4);
  transition: background 0.15s, transform 0.15s;
}
.btn-cover-ghost:hover {
  background: #d89464;
  border-color: #d89464;
  opacity: 1;
  transform: translateY(-1px);
}

/* スライドインジケーター (画面下端) */
.hero-cover-indicators {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.hero-cover-indicators span {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.4s;
}
.hero-cover-indicators span.is-active {
  width: 28px;
  background: #fff;
}

@media (max-width: 920px) {
  .hero-cover { min-height: 480px; height: 64vh; }
  .hero-cover-title { font-size: 38px; }
  .hero-cover-lead { font-size: 16px; }
  .hero-cover-content { padding-bottom: 64px; }
}
@media (max-width: 600px) {
  .hero-cover {
    min-height: 440px;
    height: 60vh;
    max-height: 600px;
    align-items: center;
  }
  .hero-cover-title { font-size: 30px; line-height: 1.45; }
  .hero-cover-lead {
    font-size: 15px;
    line-height: 1.85;
    color: #1a2618;
    font-weight: 700;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 1),
      0 1px 2px rgba(255, 255, 255, 0.95),
      0 0 18px rgba(255, 255, 255, 0.85);
  }
  .hero-cover-content .hero-tag { font-size: 16px; padding: 0; margin-bottom: 14px; }
  .btn-cover, .btn-cover-ghost { padding: 13px 22px; font-size: 14.5px; }
  .hero-cover-leaf-1 { width: 80px; height: 80px; }
  .hero-cover-leaf-2 { display: none; }
  .hero-cover-content { padding-top: 24px; padding-bottom: 24px; }
}
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 9px 10px; gap: 6px; }
  .logo-text-name { font-size: 15px; }
  .mode-toggle { padding: 6px 11px; font-size: 13px; margin-right: 10px; }
  .nav-toggle { width: 34px; height: 34px; flex-basis: 34px; font-size: 24px; }
  .hero-cover { min-height: 520px; height: 66vh; }
  .hero-cover-title { font-size: 28px; line-height: 1.4; letter-spacing: 0.01em; }
  .mobile-only-break { display: inline; }
  .hero-cover-lead { font-size: 14px; line-height: 1.8; }
  .hero-cover-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
  }
  .btn-cover,
  .btn-cover-ghost {
    padding: 12px 20px;
  }
  .hero-cover-indicators { display: none; }
  .page-intro h1 {
    font-size: 28px;
    line-height: 1.45;
    letter-spacing: 0.01em;
  }
}

/* ─── (旧 HERO grid layout — 念のため残置、現在は未使用) ─── */
.hero {
  position: relative;
  padding: 64px 0 44px;
  background: linear-gradient(180deg, var(--sage-bg) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero .leaf-1 { position: absolute; top: 20px; right: 30px; opacity: 0.5; }
.hero .leaf-2 { position: absolute; bottom: 20px; left: 20px; opacity: 0.4; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid var(--primary-light);
}
.hero h1 {
  font-size: 44px;
  line-height: 1.45;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero h1 .accent { color: var(--warm); }
.hero p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 2.05;
  margin-top: 20px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  padding: 14px 26px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff !important;
}
.btn-secondary {
  background: #fff;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}
.btn:hover { opacity: 0.85; }

/* Hero slideshow */
.hero-slideshow {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(60, 90, 60, 0.18);
  border: 4px solid #fff;
  background: var(--sage-bg);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-slide-img + .emoji,
.hero-slide-img ~ .caption,
.hero-slide-img ~ .note { position: relative; z-index: 1; }
/* 画像があるときはエモジ/キャプションをやや暗いオーバーレイで読みやすく */
.hero-slide:has(img.hero-slide-img:not([style*="display: none"])) {
  background: rgba(0, 0, 0, 0.05);
}
.hero-slide:has(img.hero-slide-img:not([style*="display: none"])) .emoji { display: none; }
.hero-slide:has(img.hero-slide-img:not([style*="display: none"])) .caption {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  background: rgba(60, 90, 60, 0.55);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.hero-slide:has(img.hero-slide-img:not([style*="display: none"])) .note {
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero-slide .emoji { font-size: 96px; opacity: 0.55; }
.hero-slide .caption {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.15em;
}
.hero-slide .note {
  font-size: 11.5px;
  color: var(--text-light);
}
.hero-slide-1 { background: linear-gradient(135deg, var(--sage), #fff); }
.hero-slide-2 { background: linear-gradient(135deg, var(--warm-light), #fff); }
.hero-slide-3 { background: linear-gradient(135deg, #d8e8f0, #fff); }
.hero-slide-4 { background: linear-gradient(135deg, #f0e0d4, #fff); }
.slide-indicators {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.slide-indicators span {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(60, 90, 60, 0.3);
  transition: all 0.3s;
}
.slide-indicators span.is-active {
  width: 18px;
  background: var(--primary);
}
@media (max-width: 920px) {
  .hero { padding: 44px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero-slideshow { width: 300px; height: 300px; }
  .hero-slide .emoji { font-size: 80px; }
  .hero .leaf-1, .hero .leaf-2 { transform: scale(0.7); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15.5px; }
}

/* ─── NEWS BAR (home) ───────────────────────────── */
.news-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.news-bar-inner {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.news-bar .badge,
.news-bar .date,
.news-bar .more {
  display: inline-flex;
  align-items: center;
  height: 32px;
  line-height: 1;
  flex-shrink: 0;
  box-sizing: border-box;
  white-space: nowrap;
}
.news-bar .badge {
  padding: 0 16px;
  background: var(--warm);
  color: #fff;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 700;
}
.news-bar .date {
  padding: 0 14px;
  font-size: 15px;
  color: var(--primary-dark);
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--sage-bg);
  border-radius: 8px;
}
.news-bar .title {
  display: inline-flex;
  align-items: center;
  height: 32px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
}
.news-bar .title > span { overflow: hidden; text-overflow: ellipsis; }
a.title:hover { color: var(--primary-dark); text-decoration: underline; }
.news-bar .more {
  margin-left: auto;
  font-size: 15.5px;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 600px) {
  /* スマホでは Grid で 1行目=バッジ/日付+一覧 / 2行目=タイトル に明確分離 */
  .news-bar-inner {
    display: grid;
    grid-template-columns: auto auto 1fr;
    column-gap: 10px;
    row-gap: 10px;
    padding: 14px 20px;
    align-items: center;
  }
  .news-bar .badge {
    grid-column: 1; grid-row: 1;
    height: 30px;
    font-size: 13.5px;
    padding: 0 14px;
  }
  .news-bar .date {
    grid-column: 2; grid-row: 1;
    height: 30px;
    font-size: 13.5px;
    padding: 0 12px;
  }
  .news-bar .more {
    grid-column: 3; grid-row: 1;
    justify-self: end;
    height: 30px;
    margin-left: 0;
    font-size: 14px;
  }
  .news-bar .title {
    grid-column: 1 / -1;
    grid-row: 2;
    height: auto;
    font-size: 15.5px;
    white-space: normal;
    line-height: 1.6;
  }
}

/* ─── HOURS TABLE ───────────────────────────── */
.section {
  padding: 64px 0;
}
.section-sage { background: var(--sage-bg); }
.section-white { background: #fff; }

.hours-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 24px;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 19px;
}
.hours-table thead { background: var(--sage-bg); }
.hours-table th {
  padding: 18px 8px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 19px;
}
.hours-table th:first-child {
  text-align: left;
  padding-left: 22px;
  font-size: 17px;
  font-weight: 600;
}
.hours-table th.holiday { color: var(--warm); }
.hours-table td {
  padding: 22px 8px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.hours-table td:first-child {
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  padding-left: 22px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.hours-table tbody tr { border-top: 1px solid var(--border); }
.hours-table .off { color: #ccc; }
.hours-table .partial { color: var(--warm); }
.hours-legend {
  padding: 18px 22px;
  font-size: 15.5px;
  color: var(--text-light);
  background: #fafbf7;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  line-height: 1.8;
}
.hours-legend .mark-on { color: var(--primary); font-size: 19px; vertical-align: -2px; margin-right: 2px; }
.hours-legend .mark-partial { color: var(--warm); font-size: 19px; vertical-align: -2px; margin-right: 2px; }
.upcoming-kyushin {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1.5px dashed #c0392b;
  border-radius: 8px;
  background: transparent;
}
.upcoming-kyushin-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 8px;
  font-size: 14.5px;
  letter-spacing: 0.02em;
}
.upcoming-kyushin-icon { font-size: 15px; line-height: 1; }
.upcoming-kyushin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.upcoming-kyushin-item {
  font-size: 15.5px;
  line-height: 1.7;
  position: relative;
  padding-left: 1.1em;
  color: var(--text);
}
/* 通常モード: 日付強調は控えめに同色のまま */
.kyushin-date-emph {
  font-weight: inherit;
  color: inherit;
}
/* 通常/簡易モードの表示切替 (汎用) */
.only-simple { display: none; }
body.mode-simple .only-normal { display: none; }
body.mode-simple .only-simple { display: inline; }
/* 簡易モードでのみ日付を赤色＋極太に強調 */
body.mode-simple .kyushin-date-emph {
  font-weight: 800;
  color: #c0392b;
}
body.mode-simple .upcoming-kyushin-item { font-weight: 600; }
.upcoming-kyushin-item::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--text-light);
}
.upcoming-kyushin-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.upcoming-kyushin-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
@media (max-width: 600px) {
  .upcoming-kyushin { padding: 12px 14px; }
  .upcoming-kyushin-item { font-size: 15px; }
}

.hours-note {
  margin-top: 18px;
  font-size: 17.5px;
  color: var(--text-light);
  line-height: 1.95;
}
.hours-alert {
  margin-top: 14px;
  padding: 16px 20px;
  background: #fff4e8;
  border: 1.5px solid var(--warm);
  border-radius: 14px;
  font-size: 16.5px;
  color: var(--text);
  line-height: 1.85;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hours-alert-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}
.hours-alert a {
  color: var(--primary-dark);
  text-decoration: underline;
  font-weight: 700;
}
.hours-alert a:hover { color: var(--primary); opacity: 1; }

@media (max-width: 600px) {
  .section { padding: 32px 0; }
  .hours-card { margin-top: 18px; border-radius: 12px; }
  .hours-table {
    table-layout: fixed;
    font-size: 14px;
  }
  .hours-table th,
  .hours-table td {
    padding: 13px 0;
  }
  .hours-table th {
    font-size: 14px;
    line-height: 1.3;
  }
  .hours-table th:first-child {
    width: 31%;
    font-size: 12.5px;
    padding-left: 10px;
  }
  .hours-table td {
    font-size: 20px;
    padding: 15px 0;
  }
  .hours-table td:first-child {
    width: 31%;
    font-size: 12.5px;
    padding-left: 10px;
    letter-spacing: 0;
  }
  .hours-legend {
    font-size: 13.5px;
    gap: 8px 14px;
    padding: 14px 16px;
  }
  .hours-legend span { margin-left: 0 !important; }
  .hours-legend span:last-child { flex-basis: 100%; }
  .hours-note { font-size: 14.5px; }
  .hours-alert { padding: 14px 16px; font-size: 15px; }
}

/* ─── CARE GRID ───────────────────────────── */
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.care-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.care-card .icon {
  width: 60px;
  height: 60px;
}
.care-card .title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
}
a.care-card-link {
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}
a.care-card-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(60, 90, 60, 0.12);
  opacity: 1;
}
a.care-card-link .link-arrow {
  color: var(--primary);
  margin-left: 4px;
  font-size: 0.9em;
}
.care-card .desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.9;
}
@media (max-width: 760px) {
  .care-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .care-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
  .care-card { padding: 22px 20px; }
}

/* ─── EQUIPMENT (医院紹介) ───────────────────────────── */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}
.equipment-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.equipment-photo {
  aspect-ratio: 4 / 3;
  background: var(--sage-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.equipment-photo .emoji { font-size: 72px; opacity: 0.5; }
.equipment-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.equipment-photo:has(img.equipment-img:not([style*="display: none"])) .emoji { display: none; }
.equipment-photo:has(img.equipment-img:not([style*="display: none"])) .placeholder-note { display: none; }
.equipment-photo .placeholder-note {
  position: absolute;
  bottom: 12px;
  font-size: 11.5px;
  color: var(--text-light);
  letter-spacing: 0.1em;
}
.equipment-body { padding: 18px 20px 20px; }
.equipment-body .title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 9px;
}
.equipment-body .desc {
  font-size: 15.5px;
  color: var(--text-light);
  line-height: 1.95;
}
@media (max-width: 760px) {
  .equipment-grid { grid-template-columns: 1fr; }
}

/* ─── MESSAGE (院長・理事長) ───────────────────────────── */
.message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 28px;
  position: relative;
}
.message-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  border: 1px solid var(--border);
}
.message-card .portrait {
  flex-shrink: 0;
}
.message-card .portrait img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sage);
}
.message-card .body { min-width: 0; }
.message-card .who {
  font-size: 14px;
  color: var(--warm);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.message-card .name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 3px;
}
.message-card .ruby {
  font-size: 14px;
  color: var(--text-light);
  margin-left: 8px;
  font-weight: 500;
}
.message-card .role {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 5px;
}
.message-card .quote {
  font-size: 16.5px;
  color: var(--text);
  line-height: 2;
  margin-top: 14px;
}
.message-card .read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 720px) {
  .message-grid { grid-template-columns: 1fr; }
  .message-card { padding: 22px 20px; }
  .message-card .portrait img { width: 84px; height: 84px; }
}

/* ─── ACCESS (home) ───────────────────────────── */
.access-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-top: 26px;
}
.access-map {
  background: #fafbf7;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
}
.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
}
.map-external {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark) !important;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--primary-light);
  transition: background 0.15s;
}
.map-external:hover { background: #fff; opacity: 1; }
.access-info .row { margin-bottom: 18px; }
.access-info .label {
  font-size: 14.5px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.access-info .value {
  font-size: 17.5px;
  margin-top: 6px;
  line-height: 1.9;
}
.parking-note {
  margin: 12px 0 8px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
}
.parking-note.small { font-size: 13px; margin-top: 10px; }
.parking-list {
  margin: 0 0 6px;
  font-size: 15.5px;
  color: var(--text-light);
  line-height: 1.95;
  padding-left: 20px;
}
.parking-list li {
  margin-bottom: 4px;
  list-style: disc;
}
.parking-list li a {
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-light);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.parking-list li a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  opacity: 1;
}
.parking-list li a .ext {
  margin-left: 4px;
  font-size: 0.9em;
  color: var(--primary);
}
@media (max-width: 720px) {
  .access-grid { grid-template-columns: 1fr; }
  .access-map { min-height: 220px; aspect-ratio: 4 / 3; }
}

/* ─── ABOUT page ───────────────────────────── */
.profile-block { padding: 56px 0; }
.profile-block.bg-white { background: #fff; }
.profile-row {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.profile-row.reverse { flex-direction: row-reverse; }
.profile-photo {
  flex-shrink: 0;
  text-align: center;
  width: 260px;
}
.profile-photo .frame {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--sage-bg);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-photo .who {
  margin-top: 14px;
  font-size: 13px;
  color: var(--warm);
  font-weight: 700;
  letter-spacing: 0.15em;
}
.profile-photo .name {
  font-size: 25px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 3px;
}
.profile-photo .ruby {
  font-size: 14.5px;
  color: var(--text-light);
  margin-top: 4px;
}
.profile-photo .role {
  font-size: 14.5px;
  color: var(--text-light);
  margin-top: 8px;
}
.profile-body { flex: 1; min-width: 0; }
.profile-body .headline {
  font-size: 23px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.6;
  margin: 0 0 18px;
}
.profile-body .sub-headline {
  display: block;
  color: var(--warm);
  font-size: 17px;
  margin-top: 6px;
}
.profile-body p {
  font-size: 17.5px;
  line-height: 2.05;
  color: var(--text);
  margin: 0 0 16px;
}
@media (max-width: 720px) {
  .profile-row, .profile-row.reverse { flex-direction: column; gap: 24px; }
  .profile-photo { width: 100%; }
  .profile-photo .frame { width: 200px; height: 200px; }
}

/* History timeline */
.history-list {
  margin-top: 28px;
  padding-left: 26px;
  border-left: 2px solid var(--primary-light);
}
.history-item {
  margin-bottom: 26px;
  position: relative;
}
.history-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--primary-light);
}
.history-item .year {
  font-size: 14.5px;
  color: var(--warm);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.history-item .title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 4px;
}
.history-item .desc {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.95;
}

/* 仮情報を示す注意ブロック */
.provisional-notice {
  margin-top: 20px;
  padding: 16px 22px;
  background: repeating-linear-gradient(
    -45deg,
    #fff7d6 0px,
    #fff7d6 14px,
    #fff1c2 14px,
    #fff1c2 28px
  );
  border: 2px dashed #d4a017;
  border-radius: var(--radius-md);
  color: #6b4f10;
  font-size: 15px;
  line-height: 1.7;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.provisional-notice strong {
  color: #8a5c10;
  font-size: 16px;
}
.provisional-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

/* Network (連携病院) */
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.network-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
}
.network-card .tag {
  font-size: 13.5px;
  color: var(--warm);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.network-card .name {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 6px;
  line-height: 1.55;
}
.network-note {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 18px;
  line-height: 1.9;
}
@media (max-width: 720px) {
  .network-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .network-grid { grid-template-columns: 1fr; }
}

/* ─── HOME CARE (在宅医療の対象) ───────────────────────────── */
.homecare-intro {
  font-size: 18px;
  line-height: 2.05;
  color: var(--text);
  margin-top: 20px;
  max-width: 800px;
}
.homecare-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  list-style: none;
}
.homecare-list li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px 18px 54px;
  font-size: 16.5px;
  color: var(--text);
  position: relative;
}
.homecare-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.homecare-cta {
  margin-top: 26px;
  font-size: 17px;
  color: var(--text);
  background: var(--sage-bg);
  border-radius: 14px;
  padding: 20px 24px;
  line-height: 1.95;
}
.homecare-cta strong { color: var(--primary-dark); }
@media (max-width: 600px) {
  .homecare-list { grid-template-columns: 1fr; }
}

/* ─── NEWS LIST ───────────────────────────── */
.news-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 0;
}
.news-filter button {
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 15.5px;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
}
.news-filter button.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.news-list { margin-top: 18px; }
.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
}
.news-item .date {
  font-size: 20px;
  color: var(--primary-dark);
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.news-item .cat {
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cat-kyushin { background: var(--warm); color: #fff; }
.cat-info { background: var(--sage); color: var(--primary-dark); }
.cat-yobou { background: #a8d4d4; color: var(--primary-dark); }
.cat-column { background: var(--primary-light); color: var(--primary-dark); }
.news-item .body .title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.55;
}
.news-item .body .summary {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.85;
}
.news-item .arrow {
  font-size: 22px;
  color: var(--primary);
}
@media (max-width: 720px) {
  .news-item {
    grid-template-columns: auto auto;
    grid-template-areas:
      "date cat"
      "body body";
    gap: 8px 12px;
  }
  .news-item .date { grid-area: date; }
  .news-item .cat { grid-area: cat; justify-self: start; }
  .news-item .body { grid-area: body; }
  .news-item .arrow { display: none; }
}

.cms-note {
  margin: 30px 0 48px;
  padding: 24px 26px;
  background: #fff8ec;
  border: 1px dashed var(--warm);
  border-radius: 14px;
  font-size: 15.5px;
  line-height: 1.9;
  color: #7a5a3a;
}
.cms-note .label {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--warm);
  font-size: 17px;
}
.cms-note code {
  background: rgba(232, 168, 124, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

/* ─── COMPLIANCE ───────────────────────────── */
.toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 16px;
  margin-top: 30px;
}
.toc .label { color: var(--text-light); font-weight: 600; }
.toc a { color: var(--primary); font-weight: 600; }
.toc .sep { color: var(--text-light); }

.compliance-group {
  margin-top: 44px;
}
.compliance-group .head {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.compliance-group .head h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}
.compliance-group .head .sub {
  font-size: 14.5px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.7;
}

details.compliance-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px 24px;
  margin-bottom: 12px;
}
details.compliance-item > summary {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.5;
}
details.compliance-item > summary::-webkit-details-marker { display: none; }
details.compliance-item > summary .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  flex-shrink: 0;
}
details.compliance-item > summary .toggle {
  margin-left: auto;
  font-size: 20px;
  color: var(--text-light);
  font-weight: 500;
  transition: transform 0.2s;
}
details.compliance-item[open] > summary .toggle { transform: rotate(45deg); }
details.compliance-item .item-body {
  margin-top: 14px;
  padding-left: 40px;
  font-size: 17px;
  line-height: 2.1;
  color: var(--text);
}
details.compliance-item .item-body p {
  margin: 0 0 8px;
  position: relative;
  padding-left: 16px;
}
details.compliance-item .item-body p::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--primary);
}
details.compliance-item .item-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
  font-size: 15.5px;
}
details.compliance-item .item-body th,
details.compliance-item .item-body td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
  background: #fafbf7;
}
details.compliance-item .item-body th {
  background: var(--sage-bg);
  color: var(--primary-dark);
  font-weight: 700;
}

.compliance-notice {
  margin-top: 38px;
  background: var(--sage-bg);
  border-radius: 14px;
  padding: 24px 26px;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--text);
}
.compliance-notice .label {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-size: 18px;
}
.compliance-notice .meta {
  font-size: 14.5px;
  color: var(--text-light);
  display: block;
  margin-top: 14px;
  line-height: 1.85;
}

@media (max-width: 600px) {
  details.compliance-item { padding: 16px 20px; }
  details.compliance-item > summary { font-size: 15px; }
  details.compliance-item .item-body { padding-left: 0; font-size: 14px; }
  .compliance-group .head h2 { font-size: 19px; }
}

/* ─── CTAバナー (homecare上部の電話誘導など) ───────────────────────── */
.cta-banner-section { padding: 36px 0; }
.cta-banner {
  background: #fff;
  border: 1.5px solid var(--primary-light);
  border-radius: 20px;
  padding: 28px 32px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(60, 90, 60, 0.1);
  position: relative;
}
.cta-banner-lead {
  font-size: 17px;
  color: var(--text-light);
  margin: 0 0 12px;
  line-height: 1.7;
}
.cta-banner-action {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  line-height: 1.5;
}
.cta-banner-text { white-space: nowrap; }
.cta-banner-tel {
  white-space: nowrap;
  font-size: 30px;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
}
.cta-banner-tel:hover { color: var(--primary); opacity: 1; }
.cta-banner-tel-icon { font-size: 24px; opacity: 0.85; }

@media (max-width: 600px) {
  .cta-banner-section { padding: 28px 0; }
  .cta-banner { padding: 22px 18px; border-radius: 14px; }
  .cta-banner-lead { font-size: 15px; margin-bottom: 8px; }
  .cta-banner-action { font-size: 15.5px; gap: 4px 6px; }
  .cta-banner-tel { font-size: 24px; }
  .cta-banner-tel-icon { font-size: 20px; }
}
@media (max-width: 380px) {
  .cta-banner-tel { font-size: 22px; }
}

/* ─── 在宅医療ティーザー (ホームのB位置バナー) ───────────────────────── */
.homecare-teaser {
  display: flex;
  align-items: stretch;
  gap: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  padding: 38px 40px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 32px rgba(60, 90, 60, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.homecare-teaser:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(60, 90, 60, 0.28);
  opacity: 1;
}
.homecare-teaser-body { flex: 1; min-width: 0; }
.homecare-teaser-eyebrow {
  font-size: 13.5px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}
.homecare-teaser-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.homecare-teaser-title .accent {
  color: #ffe9a8;
}
.homecare-teaser-text {
  font-size: 16px;
  line-height: 1.95;
  margin: 0 0 18px;
  opacity: 0.95;
  max-width: 640px;
}
.homecare-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 32px;
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.homecare-teaser-art {
  flex: 0 0 200px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 760px) {
  .homecare-teaser {
    flex-direction: column-reverse;
    padding: 32px 28px;
    gap: 18px;
  }
  .homecare-teaser-title { font-size: 26px; }
  .homecare-teaser-text { font-size: 15px; }
  .homecare-teaser-art { flex: 0 0 auto; max-width: 160px; }
  .homecare-teaser-art svg { width: 140px; height: 140px; }
}

/* ═══ しんぷる表示モード ═══════════════════════════════════════
   - 文字とボタンをさらに大きく
   - 不要な装飾セクションを非表示
   - 画面下部に固定の大きな電話ボタン
   ═══════════════════════════════════════════════════════════ */

/* モード切替ボタン (常時ヘッダー右側に表示、テキストのみ) */
.mode-toggle {
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary-dark);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: all 0.2s;
  margin-left: auto;
}
.mode-toggle:hover { background: var(--sage-bg); }
.mode-toggle[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 920px) {
  .mode-toggle { padding: 6px 12px; font-size: 13px; }
}
@media (max-width: 480px) {
  .mode-toggle { padding: 7px 12px; font-size: 13.5px; margin-right: 12px; }
}

/* ─── しんぷる表示有効時 ─── */
body.mode-simple { font-size: 21px; line-height: 2; }

/* 非表示にする装飾セクション */
body.mode-simple .simple-hide { display: none !important; }

/* ヒーローカバーを少しコンパクトに、CTAを電話中心に */
body.mode-simple .hero-cover {
  min-height: 480px;
  height: auto;
  max-height: none;
  padding-top: 70px;
  padding-bottom: 30px;
}
body.mode-simple .hero-cover-placeholder {
  display: none;
}
body.mode-simple .hero-cover-content .hero-tag {
  font-size: 24px;
  padding: 0;
  margin-bottom: 22px;
  font-weight: 700;
}
body.mode-simple .hero-cover-title { font-size: 60px; line-height: 1.45; }
body.mode-simple .hero-cover-lead { font-size: 22px; font-weight: 700; line-height: 1.9; }
body.mode-simple .hero-cover-cta { gap: 14px; margin-top: 28px; }
body.mode-simple .btn-cover {
  padding: 18px 32px;
  font-size: 19px;
  border-radius: 32px;
}
body.mode-simple .btn-cover-ghost {
  padding: 18px 28px;
  font-size: 19px;
  border-radius: 32px;
}

/* ナビは必要最小限に絞る */
body.mode-simple .site-nav a[href*="compliance"],
body.mode-simple .footer-col,
body.mode-simple .news-filter,
body.mode-simple .cms-note { display: none; }

/* お知らせバーは大きく、目立つカード型に */
body.mode-simple .news-bar { padding: 8px 0; background: #fff8ec; }
body.mode-simple .news-bar-inner {
  flex-wrap: wrap;
  padding: 14px 24px;
  gap: 14px;
}
body.mode-simple .news-bar .badge {
  font-size: 17px;
  padding: 8px 18px;
}
body.mode-simple .news-bar .date { font-size: 18px; }
body.mode-simple .news-bar .title {
  font-size: 20px;
  white-space: normal;
  flex-basis: 100%;
  line-height: 1.7;
}
body.mode-simple .news-bar .more {
  font-size: 18px;
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 20px;
  margin-left: 0;
}

/* 在宅医療ページ等のテキスト調整 */
body.mode-simple .homecare-teaser-text { display: none; }
body.mode-simple .page-intro .lead { font-size: 22px; line-height: 1.8; font-weight: 800; color: var(--text); }
body.mode-simple .homecare-cta { font-size: 26px !important; padding: 36px 24px; line-height: 1.7; font-weight: 800; }
body.mode-simple .homecare-cta strong { font-size: 28px; display: block; margin: 12px 0; font-weight: 900; }
body.mode-simple .homecare-cta a { font-size: 44px !important; display: block; margin: 16px 0; letter-spacing: 0.05em; line-height: 1.2; }
body.mode-simple .homecare-cta span { font-size: 22px !important; line-height: 1.6; font-weight: 700; margin-top: 16px !important; }
body.mode-simple .cta-banner { padding: 36px 20px; border-width: 3px; }
body.mode-simple .cta-banner-lead { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
body.mode-simple .cta-banner-action { font-size: 22px; font-weight: 700; color: var(--text); gap: 8px 10px; }
body.mode-simple .cta-banner-tel { font-size: 38px; font-weight: 900; }
body.mode-simple .cta-banner-tel-icon { font-size: 30px; }

/* 共通セクション */
body.mode-simple .section { padding: 40px 0; }

/* セクション見出しを大きく */
body.mode-simple .section-title h2 { font-size: 36px; }
body.mode-simple .section-title .eyebrow { font-size: 16px; }

/* 診療時間表 (通常モードより必ず大きく + 詰まり緩和) */
body.mode-simple .hours-table { font-size: 22px; }
body.mode-simple .hours-table th { font-size: 24px; padding: 18px 8px; }
body.mode-simple .hours-table th:first-child { font-size: 18px; padding-left: 22px; font-weight: 600; }
body.mode-simple .hours-table td { font-size: 32px; padding: 22px 8px; }
body.mode-simple .hours-table td:first-child {
  font-weight: 700;
  padding-left: 22px;
  line-height: 1.2;
}
/* 12時間制の2段表示 (午前/午後ラベル + 範囲) */
body.mode-simple .hours-table td:first-child .only-simple {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
body.mode-simple .hours-table td:first-child .t-label {
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 700;
}
body.mode-simple .hours-table td:first-child .t-range {
  font-size: 22px;
  color: var(--text);
  font-weight: 700;
}
/* 縦罫線・横罫線を濃いめにして列・行の区切りを明確に */
body.mode-simple .hours-table th + th,
body.mode-simple .hours-table td + td { border-left: 1px solid #d8d0bc; }
body.mode-simple .hours-table tbody td { border-top: 1px solid #d8d0bc; }
body.mode-simple .hours-legend { font-size: 19px; padding: 22px 26px; gap: 28px; line-height: 2; }
body.mode-simple .hours-legend .mark-on,
body.mode-simple .hours-legend .mark-partial { font-size: 22px; }

/* 院長・理事長メッセージは短めに表示 (line-clamp) */
body.mode-simple .message-grid { gap: 32px; }
body.mode-simple .message-card { padding: 30px 28px; }
body.mode-simple .message-card .portrait img { width: 120px; height: 120px; }
body.mode-simple .message-card .name { font-size: 28px; }
body.mode-simple .message-card .who { font-size: 16px; }
body.mode-simple .message-card .ruby { font-size: 16px; }
body.mode-simple .message-card .role { font-size: 16px; }
body.mode-simple .message-card .quote {
  font-size: 19px;
  line-height: 2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.mode-simple .message-card .read-more {
  font-size: 18px;
  background: var(--sage-bg);
  padding: 10px 18px;
  border-radius: 20px;
  margin-top: 14px;
}

/* アクセス情報を大きく */
body.mode-simple .access-info .label { font-size: 17px; font-weight: 800; }
body.mode-simple .access-info .value { font-size: 21px; line-height: 1.85; font-weight: 700; }
body.mode-simple .parking-note { font-weight: 700; font-size: 17px; color: var(--text); }
body.mode-simple .parking-list { font-size: 18px; font-weight: 700; color: var(--text); }
body.mode-simple .parking-list a { font-weight: 700; }
body.mode-simple .access-map { min-height: 320px; }

/* プロフィール (ご挨拶ページ) の文字も大きく、写真も大きく */
body.mode-simple .profile-photo .frame { width: 200px; height: 200px; }
body.mode-simple .profile-photo .name { font-size: 28px; }
body.mode-simple .profile-photo .who { font-size: 16px; }
body.mode-simple .profile-photo .ruby { font-size: 17px; }
body.mode-simple .profile-photo .role { font-size: 17px; }
body.mode-simple .profile-body .headline { font-size: 26px; }
body.mode-simple .profile-body p { font-size: 20px; line-height: 2.1; }

/* お知らせ (news.html) を大きく */
body.mode-simple .news-item { padding: 28px 8px; }
body.mode-simple .news-item .date { font-size: 22px; }

/* もじおおきく: 診療内容カード (トップ) */
body.mode-simple .care-card .title { font-size: 24px; }
body.mode-simple .care-card .desc { font-size: 19px; line-height: 1.95; }

/* もじおおきく: 在宅医療ティーザー (トップ) */
body.mode-simple .homecare-teaser-eyebrow { font-size: 16px; }
body.mode-simple .homecare-teaser-title { font-size: 38px; }
body.mode-simple .homecare-teaser-cta { font-size: 19px; padding: 14px 28px; }
body.mode-simple .news-item .cat { font-size: 16px; padding: 8px 16px; }
body.mode-simple .news-item .body .title { font-size: 22px; line-height: 1.55; }
body.mode-simple .news-item .body .summary { font-size: 18px; }

/* フッター */
body.mode-simple .site-footer { padding: 40px 0 24px; margin-top: 40px; }
body.mode-simple .footer-grid {
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}
body.mode-simple .footer-addr { font-size: 18px; }
body.mode-simple .footer-copy { font-size: 16px; }

/* もじおおきく: 診療時間表 (パターン3: マーク小・曜日大・バランス重視) */
body.mode-simple .hours-table th { font-size: 20px; padding: 12px 4px; }
body.mode-simple .hours-table th:first-child { font-size: 14px; padding-left: 12px; font-weight: 600; }
body.mode-simple .hours-table td { font-size: 20px; padding: 14px 4px; }
body.mode-simple .hours-table td:first-child { padding-left: 12px; font-weight: 700; line-height: 1.2; }
/* 12時間制の2段表示 (午前/午後ラベル + 範囲) */
body.mode-simple .hours-table td:first-child .only-simple {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
body.mode-simple .hours-table td:first-child .t-label {
  font-size: 18px;
  color: var(--primary-dark);
  font-weight: 700;
}
body.mode-simple .hours-table td:first-child .t-range {
  font-size: 19px;
  color: var(--text);
  font-weight: 700;
}
/* 縦罫線・横罫線を濃いめにして列・行の区切りを明確に */
body.mode-simple .hours-table th + th,
body.mode-simple .hours-table td + td { border-left: 1px solid #d8d0bc; }
body.mode-simple .hours-table tbody td { border-top: 1px solid #d8d0bc; }
body.mode-simple .hours-legend { font-size: 19px; line-height: 2; }
body.mode-simple .upcoming-kyushin { padding: 28px 32px; border-width: 2px; }
body.mode-simple .upcoming-kyushin-head { font-size: 28px; gap: 12px; margin-bottom: 18px; }
body.mode-simple .upcoming-kyushin-icon { font-size: 28px; }
body.mode-simple .upcoming-kyushin-list { gap: 14px; }
body.mode-simple .upcoming-kyushin-item { font-size: 32px; line-height: 1.6; padding-left: 1.3em; }
body.mode-simple .hours-note { font-size: 22px; }
body.mode-simple .hours-alert { font-size: 21px; padding: 20px 24px; }
body.mode-simple .hours-alert-icon { font-size: 28px; }

/* もじおおきく: 院内掲示 (compliance) を拡大 */
body.mode-simple .toc { font-size: 20px; padding: 22px 26px; }
body.mode-simple .compliance-group .head h2 { font-size: 32px; }
body.mode-simple .compliance-group .head .sub { font-size: 18px; line-height: 1.8; }
body.mode-simple details.compliance-item { padding: 22px 28px; }
body.mode-simple details.compliance-item > summary { font-size: 23px; gap: 18px; line-height: 1.5; }
body.mode-simple details.compliance-item > summary .num { width: 34px; height: 34px; font-size: 16px; }
body.mode-simple details.compliance-item > summary .toggle { font-size: 26px; }
body.mode-simple details.compliance-item .item-body { font-size: 21px; line-height: 1.95; padding-left: 50px; }
body.mode-simple details.compliance-item .item-body p { padding-left: 20px; font-size: 21px; }
body.mode-simple details.compliance-item .item-body table { font-size: 19px; }
body.mode-simple details.compliance-item .item-body th,
body.mode-simple details.compliance-item .item-body td { padding: 12px 14px; }
body.mode-simple .compliance-notice { font-size: 20px; padding: 28px 30px; }
body.mode-simple .compliance-notice .label { font-size: 22px; }
body.mode-simple .compliance-notice .meta { font-size: 16.5px; }

/* もじおおきく: 個別記事 (news-detail) を拡大 */
body.mode-simple .news-detail p { font-size: 20px; line-height: 2; }
body.mode-simple .news-detail h2 { font-size: 26px; }
body.mode-simple .news-detail h3 { font-size: 22px; }
body.mode-simple .news-detail ul,
body.mode-simple .news-detail ol { font-size: 20px; line-height: 2; }
body.mode-simple .news-detail blockquote { font-size: 20px; }

/* 本文用のページ底部にスペースを確保 (固定電話バー分) */
body.mode-simple { padding-bottom: 96px; }

/* ─── 固定 大きな電話バー (画面下部) ─── */
.fixed-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none; /* 通常モードでは非表示 */
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  padding: 14px 16px;
}
body.mode-simple .fixed-call-bar { display: block; }
.fixed-call-bar-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.fixed-call-bar a {
  flex: 1;
  background: #fff;
  color: var(--primary-dark) !important;
  border-radius: 32px;
  padding: 18px 16px;
  font-size: 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.fixed-call-bar a .call-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}
.fixed-call-bar a .call-text strong {
  font-size: 1.1em;
}
.fixed-call-bar a:hover { opacity: 0.92; }
.fixed-call-bar a.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
  padding: 18px 22px;
  font-size: 18px;
}
.fixed-call-bar .icon { font-size: 26px; }
@media (max-width: 600px) {
  body.mode-simple { padding-bottom: 110px; }
  body.mode-simple .hero-cover .btn-cover-ghost { display: none; }
  body.mode-simple .access-map { min-height: 220px; }
  .fixed-call-bar { padding: 12px 10px; }
  .fixed-call-bar-inner { flex-direction: row; gap: 8px; flex-wrap: wrap; }
  .fixed-call-bar a { 
    flex: 1 1 200px;
    flex-direction: row;
    padding: 12px 8px; 
    white-space: nowrap; 
    gap: 8px; 
    line-height: 1.2;
  }
  .fixed-call-bar a .call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-size: 16px;
  }
  .fixed-call-bar a .call-text strong {
    font-size: 20px;
    font-weight: 800;
  }
  .fixed-call-bar a.secondary { 
    flex: 1 1 120px;
    font-size: 18px; 
    padding: 12px 8px; 
    gap: 6px; 
  }
  .fixed-call-bar .icon { font-size: 26px; }
}

@media (max-width: 360px) {
  body.mode-simple .hero-cover-title {
    font-size: 32px;
    line-height: 1.42;
    letter-spacing: 0.01em;
  }
  body.mode-simple .hero-cover-lead {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
  }
  body.mode-simple .btn-cover,
  body.mode-simple .btn-cover-ghost {
    font-size: 17px;
    padding: 14px 22px;
  }
  .fixed-call-bar { padding: 10px 8px; }
  .fixed-call-bar-inner { flex-direction: row; gap: 6px; flex-wrap: wrap; }
  .fixed-call-bar a { 
    flex: 1 1 180px;
    padding: 12px 6px; 
    gap: 6px; 
  }
  .fixed-call-bar a .call-text { font-size: 15px; }
  .fixed-call-bar a .call-text strong { font-size: 18px; }
  .fixed-call-bar a.secondary { 
    flex: 1 1 100px;
    font-size: 16px; 
    padding: 12px 6px; 
    gap: 4px; 
  }
  .fixed-call-bar .icon { font-size: 24px; }
}
