@charset "UTF-8";
/* =================================================================
   あおぞらクリニック  スタイルシート(リニューアル版)
   写真主体・余白広め・左右非対称を取り入れた構成
   ベース=ホワイト / アクセント=ブルー(信頼)＋グリーン(健康)
   ================================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #eef6fb;
  --bg-mint: #edf8f1;
  --bg-warm: #f7fafc;

  --ink: #25323d;
  --ink-soft: #586773;
  --ink-mute: #8c99a4;

  --primary: #1f8fc6;
  --primary-dark: #136792;
  --primary-soft: #d8edf8;
  --accent: #2fb389;
  --accent-dark: #1f8c69;
  --accent-soft: #d8f2e7;
  --cta: #ff7a59;
  --cta-dark: #ec5f3c;

  --line: #e4ebf0;
  --line-soft: #eef3f6;
  --sh-sm: 0 4px 16px rgba(31,90,130,.07);
  --sh-md: 0 14px 36px rgba(31,90,130,.11);
  --sh-lg: 0 26px 60px rgba(31,90,130,.16);

  --wrap: 1140px;
  --wrap-narrow: 880px;
  --r: 18px;
  --r-lg: 26px;
  --pill: 999px;
  --header-h: 88px;

  --f-jp: "Noto Sans JP", system-ui, sans-serif;
  --f-round: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;
  --f-en: "Montserrat", system-ui, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; padding-top: var(--header-h); font-family: var(--f-jp); color: var(--ink); background: var(--bg);
  line-height: 1.9; font-size: 16px; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
table { border-collapse: collapse; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 44px, var(--wrap-narrow)); margin-inline: auto; }
.sp-only { display: none; }
.sp-hide { display: inline; }
.section { padding: clamp(66px, 9vw, 116px) 0; }
.bg-soft { background: var(--bg-soft); }
.bg-mint { background: var(--bg-mint); }
.bg-warm { background: var(--bg-warm); }

/* ---------- セクション見出し(ラベルチップ＋大見出し) ---------- */
.label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-round); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  color: var(--primary-dark); background: var(--bg-soft);
  padding: 7px 17px; border-radius: var(--pill);
}
.label svg { width: 16px; height: 16px; color: var(--primary); }
.label.is-accent { color: var(--accent-dark); background: var(--bg-mint); }
.label.is-accent svg { color: var(--accent); }
.label.is-light { color: #fff; background: rgba(255,255,255,.16); }
.label.is-light svg { color: #fff; }

.head { margin-bottom: clamp(34px, 5vw, 54px); }
.head.center { text-align: center; }
.head.center .label { margin-bottom: 18px; }
.head .label { margin-bottom: 16px; }
.title {
  font-family: var(--f-round); font-weight: 700;
  font-size: clamp(27px, 4.3vw, 40px); line-height: 1.45; letter-spacing: .01em;
}
.title .c1 { color: var(--primary); }
.title .c2 { color: var(--accent-dark); }
.lead { margin-top: 18px; color: var(--ink-soft); font-size: clamp(15px, 2vw, 16.5px); }
.head.center .lead { margin-inline: auto; max-width: 660px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 62px; padding: 0 30px; border-radius: var(--pill);
  font-family: var(--f-round); font-weight: 700; font-size: 16px; letter-spacing: .03em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s; white-space: nowrap;
}
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn .ico-arrow { transition: transform .25s; }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 12px 26px rgba(255,122,89,.32); }
.btn-cta:hover { background: var(--cta-dark); transform: translateY(-3px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 26px rgba(31,143,198,.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); }
.btn-tel { background: var(--accent); color: #fff; box-shadow: 0 12px 26px rgba(47,179,137,.26); }
.btn-tel:hover { background: var(--accent-dark); transform: translateY(-3px); }
.btn-ghost { background: #fff; color: var(--primary-dark); border: 1.5px solid var(--primary-soft); box-shadow: var(--sh-sm); }
.btn-ghost:hover { background: var(--bg-soft); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* 2つ並べるとき必ず同サイズにする行 */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 0; min-width: 210px; }
.btn-row.center { justify-content: center; }

/* =================================================================
   ヘッダー
   ================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line-soft);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
}
.brand-mark svg { width: 27px; height: 27px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--f-round); font-weight: 700; font-size: 19px; color: var(--ink); white-space: nowrap; }
.brand-sub { font-size: 11px; color: var(--ink-soft); letter-spacing: .14em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 13px; font-size: 14.5px; font-weight: 500; white-space: nowrap;
  color: var(--ink); border-radius: 10px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--primary); background: var(--bg-soft); }
.nav a.is-current { color: var(--primary); font-weight: 700; }
.nav-cta { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header-tel .lbl { font-size: 10.5px; color: var(--ink-soft); letter-spacing: .06em; white-space: nowrap; }
.header-tel .num { font-family: var(--f-en); font-weight: 700; font-size: 21px; color: var(--primary-dark); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.header-tel .num svg { width: 17px; height: 17px; }
.header-cta .btn { height: 48px; padding: 0 22px; font-size: 14.5px; }

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: var(--primary-dark); transition: transform .3s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   ヒーロー(写真主体・診療時間バーは下に余白を確保)
   ================================================================= */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(98deg, rgba(244,250,253,.97) 0%, rgba(244,250,253,.9) 32%, rgba(240,249,244,.5) 62%, rgba(240,249,244,.12) 100%),
    linear-gradient(to top, rgba(244,250,253,.92) 0%, rgba(244,250,253,0) 26%);
}
.hero-inner { position: relative; z-index: 1; min-height: clamp(460px, 64vh, 600px); display: flex; align-items: center; padding: clamp(40px, 5vw, 64px) 0 clamp(30px, 4vw, 44px); }
.hero-copy { max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--accent-dark); font-family: var(--f-round); font-weight: 700; font-size: 13.5px; padding: 9px 18px; border-radius: var(--pill); box-shadow: var(--sh-sm); margin-bottom: 22px; }
.hero-badge svg { width: 17px; height: 17px; }
.hero h1 { font-family: var(--f-round); font-weight: 700; font-size: clamp(24px, 4vw, 42px); line-height: 1.46; letter-spacing: .005em; }
.hero h1 .hl { background: linear-gradient(transparent 62%, rgba(47,179,137,.26) 0); }
.hero h1 .accent { color: var(--primary); }
.hero-lead { margin-top: 22px; font-size: clamp(15px, 2vw, 17px); color: var(--ink-soft); }
.hero-actions { margin-top: 30px; max-width: 500px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* 診療時間サマリーバー(ヒーロー直下・上下に余白) */
.quickbar { position: relative; z-index: 1; margin-top: 4px; padding-bottom: clamp(22px, 4vw, 44px); }
.quickbar-inner { background: #fff; border-radius: var(--r); box-shadow: var(--sh-md); display: grid; grid-template-columns: 1.55fr 1fr; overflow: hidden; }
.quickbar .cell { padding: 20px 26px; display: flex; gap: 15px; align-items: center; }
.quickbar .cell + .cell { border-left: 1px solid var(--line-soft); }
.quickbar .ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--bg-soft); color: var(--primary); }
.quickbar .ic svg { width: 23px; height: 23px; }
.quickbar .l { font-size: 12px; color: var(--ink-soft); margin-bottom: 3px; }
.quickbar .v { font-family: var(--f-round); font-weight: 700; font-size: 15px; line-height: 1.55; }
.quickbar .v .note { font-family: var(--f-jp); font-weight: 500; font-size: 12px; color: var(--ink-soft); margin-left: 3px; }

/* =================================================================
   選ばれる理由(写真＋番号つきリスト)
   ================================================================= */
.reasons { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.reasons-photo { position: relative; }
.reasons-photo .main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--sh-lg); background: var(--bg-mint); }
.reasons-photo .main img { width: 100%; height: 100%; object-fit: cover; }
.reasons-photo .sub { position: absolute; right: -24px; bottom: -24px; width: 44%; border-radius: var(--r); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--sh-md); border: 5px solid #fff; background: var(--bg-soft); }
.reasons-photo .sub img { width: 100%; height: 100%; object-fit: cover; }
.reason-list { display: flex; flex-direction: column; gap: 34px; }
.reason-item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; }
.reason-item .no { font-family: var(--f-en); font-weight: 700; font-size: 38px; line-height: 1; color: var(--primary); text-align: center; }
.reason-item h3 { font-family: var(--f-round); font-weight: 700; font-size: 19.5px; color: var(--primary-dark); }
.reason-item p { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; }

/* =================================================================
   診療案内(写真カード)
   ================================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .28s, box-shadow .28s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.svc-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(150deg, var(--bg-soft), var(--bg-mint)); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-img .chip { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--primary-dark); font-family: var(--f-round); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: var(--pill); box-shadow: var(--sh-sm); }
.svc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-family: var(--f-round); font-weight: 700; font-size: 20px; }
.svc-body p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.svc-tags li { font-size: 12.5px; font-weight: 500; color: var(--primary-dark); background: var(--bg-soft); padding: 5px 12px; border-radius: var(--pill); }
.svc-card.is-accent .svc-tags li { color: var(--accent-dark); background: var(--bg-mint); }

/* =================================================================
   診療時間表(青地は白文字のみ・赤は使わない)
   ================================================================= */
.hours-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.hours { width: 100%; text-align: center; border-collapse: collapse; }
.hours th, .hours td { padding: 15px 10px; font-size: 15px; }
.hours thead th { background: var(--primary); color: #fff; font-weight: 700; font-family: var(--f-round); }
.hours thead th:first-child { background: var(--primary-dark); }
.hours thead .t { display: block; font-family: var(--f-jp); font-weight: 500; font-size: 11.5px; opacity: .92; margin-top: 2px; }
.hours tbody th { background: var(--bg-warm); font-family: var(--f-round); font-weight: 700; color: var(--ink); width: 96px; }
.hours tbody tr + tr th, .hours tbody tr + tr td { border-top: 1px solid var(--line); }
.hours tbody td { border-left: 1px solid var(--line-soft); }
.hours tbody tr.off th, .hours tbody tr.off td { background: var(--bg-soft); }
.hours .o { color: var(--accent-dark); font-weight: 700; font-size: 18px; }
.hours .x { color: var(--ink-mute); font-size: 14px; }
.hours-note { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.hours-note span { display: flex; gap: 9px; align-items: flex-start; }
.hours-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex: none; }

/* =================================================================
   受診の流れ(矢印つきステッパー)
   ================================================================= */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-align: center; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.flow-img { position: relative; aspect-ratio: 16/11; overflow: hidden; background: linear-gradient(150deg, var(--bg-soft), var(--bg-mint)); }
.flow-img img { width: 100%; height: 100%; object-fit: cover; }
.flow-body { padding: 24px 18px 26px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.flow-no {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  font-family: var(--f-en); font-weight: 700; font-size: 19px;
}
.flow-body h3 { font-family: var(--f-round); font-weight: 700; font-size: 17px; }
.flow-body p { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
.flow-arrow { display: grid; place-items: center; width: 44px; color: var(--primary); }
.flow-arrow svg { width: 26px; height: 26px; }

/* =================================================================
   院長・医師
   ================================================================= */
.doctor { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(34px, 5vw, 60px); align-items: center; }
.doctor-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/3.4; box-shadow: var(--sh-md); background: var(--bg-mint); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-body .role { color: var(--accent-dark); font-weight: 700; font-size: 14px; margin-top: 4px; }
.doctor-body .dname { font-family: var(--f-round); font-weight: 700; font-size: clamp(26px, 4vw, 34px); margin: 6px 0 2px; }
.doctor-body .dname small { font-size: 15px; color: var(--ink-soft); font-weight: 500; margin-left: 10px; }
.doctor-body .greet { margin: 18px 0; color: var(--ink-soft); }
.doctor-body .sign { font-family: var(--f-round); font-weight: 700; }

/* 表(医院概要・経歴など共通) */
.dl-table { width: 100%; }
.dl-table th, .dl-table td { text-align: left; padding: 17px 8px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.dl-table tr:last-child th, .dl-table tr:last-child td { border-bottom: none; }
.dl-table th { width: 168px; color: var(--primary-dark); font-weight: 700; font-family: var(--f-round); }
.dl-table td { color: var(--ink-soft); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px) clamp(22px, 3vw, 40px); box-shadow: var(--sh-sm); }

/* 医院概要などの縦積み定義リスト(th=ラベルを上・td=値を下・1列) */
.dl-stack { display: flex; flex-direction: column; }
.dl-stack > div { padding: 20px 4px; }
.dl-stack > div + div { border-top: 1px solid var(--line); }
.dl-stack dt { font-family: var(--f-round); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--primary-dark); margin-bottom: 7px; }
.dl-stack dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.8; }

/* スタッフ */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.staff-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.staff-photo { aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(150deg, var(--bg-soft), var(--bg-mint)); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-body { padding: 22px 24px 26px; }
.staff-body .pos { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); padding: 4px 12px; border-radius: var(--pill); }
.staff-body h3 { font-family: var(--f-round); font-weight: 700; font-size: 19px; margin: 12px 0 4px; }
.staff-body h3 small { font-size: 13px; color: var(--ink-soft); font-weight: 500; margin-left: 8px; }
.staff-body p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }

/* =================================================================
   お知らせ(クリーンなリスト)
   ================================================================= */
.news { display: flex; flex-direction: column; gap: 0; }
.news-item { display: flex; align-items: center; gap: 22px; padding: 24px 18px; border-radius: var(--r); transition: background .2s; }
.news-item + .news-item { border-top: 1px solid var(--line); }
.news-item:hover { background: var(--bg-soft); }
.news-meta { display: flex; align-items: center; gap: 14px; flex: none; }
.news-date { font-family: var(--f-en); font-weight: 600; font-size: 14px; color: var(--ink-soft); width: 92px; }
.news-cat { font-size: 12px; font-weight: 700; color: #fff; background: var(--primary); padding: 5px 13px; border-radius: var(--pill); min-width: 72px; text-align: center; white-space: nowrap; flex: none; }
.news-cat.is-important { background: var(--cta); }
.news-cat.is-medical { background: var(--accent); }
.news-ttl { font-weight: 500; font-size: 15.5px; flex: 1; }
.news-item .chev { color: var(--ink-mute); width: 20px; height: 20px; flex: none; transition: transform .2s, color .2s; }
.news-item:hover .chev { color: var(--primary); transform: translateX(3px); }

/* お知らせ詳細 */
.article { max-width: var(--wrap-narrow); margin-inline: auto; }
.article-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.article-title { font-family: var(--f-round); font-weight: 700; font-size: clamp(23px, 3.6vw, 31px); line-height: 1.5; }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-family: var(--f-round); font-size: 21px; margin: 36px 0 14px; }
.article-body ul { margin: 0 0 22px; }
.article-body ul li { padding-left: 26px; position: relative; margin-bottom: 9px; }
.article-body ul li::before { content: ""; position: absolute; left: 5px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* =================================================================
   FAQ(明確に開閉できるトグルボタン)
   ================================================================= */
.faq-list { max-width: var(--wrap-narrow); margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.is-open { border-color: var(--primary-soft); box-shadow: var(--sh-sm); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 22px; text-align: left; font-family: var(--f-round); font-weight: 700; font-size: 16px; }
.faq-q .q { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--bg-soft); color: var(--primary); display: grid; place-items: center; font-family: var(--f-en); font-weight: 700; font-size: 16px; }
.faq-q .tx { flex: 1; }
.faq-q .tog { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; position: relative; transition: background .2s, transform .3s; }
.faq-q .tog::before, .faq-q .tog::after { content: ""; position: absolute; background: #fff; border-radius: 2px; }
.faq-q .tog::before { width: 14px; height: 2.5px; }
.faq-q .tog::after { width: 2.5px; height: 14px; transition: opacity .25s, transform .3s; }
.faq-item.is-open .faq-q .tog { background: var(--accent-dark); }
.faq-item.is-open .faq-q .tog::after { opacity: 0; transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 22px 24px 72px; color: var(--ink-soft); font-size: 14.5px; }

/* =================================================================
   約束/特徴(アイコン＋見出し＋本文のリッチカード)
   ================================================================= */
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.promise-card { display: grid; grid-template-columns: 64px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px; box-shadow: var(--sh-sm); }
.promise-card .ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--bg-soft); color: var(--primary); }
.promise-card.is-accent .ic { background: var(--bg-mint); color: var(--accent-dark); }
.promise-card .ic svg { width: 32px; height: 32px; }
.promise-card .no { font-family: var(--f-en); font-weight: 700; font-size: 13px; color: var(--accent-dark); letter-spacing: .08em; }
.promise-card h3 { font-family: var(--f-round); font-weight: 700; font-size: 19px; margin: 4px 0 10px; }
.promise-card p { font-size: 14.5px; color: var(--ink-soft); }

/* 画像＋テキストの交互ブロック(理念など) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 60px); align-items: center; }
.split.reverse .split-text { order: 2; }
.split-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sh-md); background: var(--bg-soft); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 院内ギャラリー */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery figure { margin: 0; }
.gallery .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sh-sm); background: linear-gradient(150deg, var(--bg-soft), var(--bg-mint)); }
.gallery .ph img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-family: var(--f-round); font-weight: 700; margin-top: 12px; }
.gallery figcaption span { display: block; font-family: var(--f-jp); font-weight: 400; font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

/* =================================================================
   CTA帯(ヒーローと同系の明るいトーン・濃色文字)
   ================================================================= */
.cta-band { position: relative; overflow: hidden; background: var(--primary-dark); }
.cta-band-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(16,90,128,.93) 0%, rgba(19,103,146,.9) 45%, rgba(31,140,105,.88) 100%); }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner .label { margin-bottom: 18px; }
.cta-inner h2 { font-family: var(--f-round); font-weight: 700; font-size: clamp(25px, 4vw, 38px); line-height: 1.42; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.2); }
.cta-inner h2 .accent { color: #ffffff; }
.cta-inner p { margin-top: 16px; color: rgba(255,255,255,.92); font-size: clamp(14.5px, 2vw, 16px); }
.cta-actions { margin-top: 32px; max-width: 540px; margin-inline: auto; }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; backdrop-filter: blur(2px); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.24); }
.cta-tel { margin-top: 26px; }
.cta-tel a { font-family: var(--f-en); font-weight: 700; font-size: clamp(26px, 4.6vw, 38px); color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.cta-tel a svg { width: 28px; height: 28px; }
.cta-tel .open { display: block; font-family: var(--f-jp); font-size: 13px; color: rgba(255,255,255,.85); margin-top: 6px; font-weight: 500; }

/* =================================================================
   下層ページヘッダー
   ================================================================= */
.page-hero { position: relative; overflow: hidden; padding: clamp(50px, 7vw, 88px) 0 clamp(42px, 6vw, 66px); text-align: center; }
.page-hero.has-photo { color: #fff; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero.plain { background: linear-gradient(160deg, var(--bg-soft), var(--bg-mint)); }
.page-hero.plain::before { content: ""; position: absolute; right: -6%; top: -40%; width: 360px; aspect-ratio: 1; background: radial-gradient(circle, rgba(31,143,198,.12), transparent 65%); border-radius: 50%; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(19,103,146,.82), rgba(31,140,105,.74)); }
.page-hero .inner { position: relative; z-index: 1; }
.page-hero .label { margin-bottom: 14px; }
.page-hero h1 { font-family: var(--f-round); font-weight: 700; font-size: clamp(28px, 4.6vw, 42px); }
.page-hero p { margin-top: 14px; color: var(--ink-soft); }
.page-hero.has-photo p { color: rgba(255,255,255,.92); }
.crumb { display: flex; justify-content: center; gap: 9px; margin-top: 20px; font-size: 12.5px; color: var(--ink-mute); }
.page-hero.has-photo .crumb { color: rgba(255,255,255,.8); }
.crumb a:hover { color: var(--primary); }
.page-hero.has-photo .crumb a:hover { color: #fff; }
.crumb .sep { opacity: .5; }

/* =================================================================
   アクセス
   ================================================================= */
.access-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 48px); align-items: start; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 4/3.4; border: 1px solid var(--line); background: var(--bg-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.access-points { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.access-point { display: flex; gap: 15px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--r); padding: 18px 20px; }
.access-point .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; color: var(--primary); display: grid; place-items: center; }
.access-point .ic svg { width: 21px; height: 21px; }
.access-point .t { font-family: var(--f-round); font-weight: 700; font-size: 15px; }
.access-point .d { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

/* =================================================================
   お問い合わせフォーム
   ================================================================= */
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(30px, 4vw, 46px); align-items: start; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--f-round); font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.field .req { color: #fff; background: var(--cta); font-size: 11px; padding: 2px 9px; border-radius: var(--pill); margin-left: 8px; }
.field .opt { color: var(--ink-mute); background: var(--bg-warm); font-size: 11px; padding: 2px 9px; border-radius: var(--pill); margin-left: 8px; }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: 15px; color: var(--ink); padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-warm); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; }
.form-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
.form-agree input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--primary); }
.form-msg { margin-top: 16px; padding: 16px 18px; border-radius: 12px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: var(--bg-mint); color: var(--accent-dark); }
.contact-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; align-items: stretch; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--bg-soft); border-radius: var(--r-lg); padding: 28px; }
.side-card.is-tel { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.side-card h3 { font-family: var(--f-round); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.side-card .tel-num { font-family: var(--f-en); font-weight: 700; font-size: 30px; display: flex; align-items: center; gap: 10px; }
.side-card .tel-num svg { width: 24px; height: 24px; }
.side-card .small { font-size: 13.5px; }
.side-card.is-tel .open { font-size: 13px; margin-top: 8px; opacity: .95; }

/* =================================================================
   フッター
   ================================================================= */
.site-footer { background: #1b2a33; color: #c6d2da; padding: clamp(50px, 6vw, 74px) 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8ea3af; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; color: #9fb1bb; }
.footer-col h4 { font-family: var(--f-round); font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13.5px; color: #b6c4cd; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact .tel { font-family: var(--f-en); font-weight: 700; font-size: 24px; color: #fff; display: flex; align-items: center; gap: 9px; }
.footer-contact .tel svg { width: 20px; height: 20px; }
.footer-contact .open { font-size: 13px; color: #9fb1bb; margin: 8px 0 16px; }
.footer-sns { display: flex; gap: 10px; }
.footer-sns a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #c6d2da; transition: background .2s, color .2s; }
.footer-sns a:hover { background: var(--primary); color: #fff; }
.footer-sns svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 12.5px; color: #8ea3af; flex-wrap: wrap; }
.footer-bottom .links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }
.footer-note { margin-top: 14px; font-size: 11.5px; color: #6f828d; }

/* =================================================================
   スマホ固定CTA / PC追従CTA
   ================================================================= */
.sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 -6px 20px rgba(31,90,130,.12); transform: translateY(110%); transition: transform .35s; }
.sp-bar.is-visible { transform: translateY(0); }
.sp-bar a { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 13px 6px; font-family: var(--f-round); font-weight: 700; font-size: 15px; color: #fff; }
.sp-bar a svg { width: 20px; height: 20px; flex: none; }
.sp-bar .b-tel { background: var(--accent); }
.sp-bar .b-form { background: var(--cta); }
.sp-bar a small { display: none; }
.float-cta { position: fixed; right: 24px; bottom: 28px; z-index: 90; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .35s; }
.float-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta a { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px 0 22px; border-radius: var(--pill); font-family: var(--f-round); font-weight: 700; color: #fff; font-size: 15px; box-shadow: var(--sh-md); }
.float-cta a svg { width: 20px; height: 20px; }
.float-cta .f-form { background: var(--cta); animation: pulse 2.4s infinite; }
.float-cta .f-tel { background: var(--accent); }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 24px rgba(255,122,89,.3); } 50% { box-shadow: 0 10px 30px rgba(255,122,89,.55); } }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =================================================================
   レスポンシブ
   ================================================================= */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .reasons { grid-template-columns: 1fr; gap: 44px; }
  .reasons-photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .doctor { grid-template-columns: 1fr; gap: 30px; }
  .doctor-photo { max-width: 380px; }
  .svc-grid, .staff-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .access-grid, .contact-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .promise-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ナビをドロワー化(項目が多いので早めに) */
@media (max-width: 1024px) {
  .header-tel { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 16px 24px 40px; transform: translateX(100%); transition: transform .35s; overflow-y: auto; }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav a { display: flex; align-items: baseline; gap: 12px; padding: 17px 6px; font-size: 16.5px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a:hover { background: none; }
  /* ドロワー内の各項目に英字ラベルを添える(ヘッダーと同じ並び順) */
  .nav a::after { font-family: var(--f-en); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--ink-mute); }
  .nav a[href="index.html"]::after { content: "TOP"; }
  .nav a[href="about.html"]::after { content: "ABOUT"; }
  .nav a[href="services.html"]::after { content: "SERVICE"; }
  .nav a[href="doctor.html"]::after { content: "DOCTOR"; }
  .nav a[href="access.html"]::after { content: "ACCESS"; }
  .nav a[href="news.html"]::after { content: "NEWS"; }
  /* ドロワー下部のCTAボタン(メインビジュアルと同じ:白文字・丸ピル・アイコン付き) */
  .nav-cta { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 8px; }
  .nav-cta .btn { width: 100%; height: 58px; font-size: 15.5px; padding: 0 24px; color: #fff; border: none; border-radius: var(--pill); align-items: center; }

  /* 受診の流れ → 縦並び＋下向き三角 */
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { width: 100%; height: 38px; transform: rotate(90deg); }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .sp-only { display: inline; }
  .sp-hide { display: none; }
  .header-cta .btn { display: none; }

  /* スマホでは中央揃えの長い本文を左揃えにする(中央だと改行が崩れるため) */
  .head.center .lead { text-align: left; }
  .sp-left { text-align: left !important; }

  /* スマホのヒーロー:写真を上部バンド、テキストは下に明るい背景で配置 */
  .hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg-mint) 100%); }
  .hero-bg { position: relative; inset: auto; height: 36vh; min-height: 220px; }
  .hero-bg img { object-position: center 28%; }
  .hero-bg::after { background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(244,250,253,.55) 100%); }
  .hero-inner { min-height: auto; padding: 26px 0 8px; }
  .hero-badge { margin-bottom: 16px; }

  .quickbar-inner { grid-template-columns: 1fr; }
  .quickbar .cell + .cell { border-left: none; border-top: 1px solid var(--line-soft); }

  .svc-grid, .staff-grid, .gallery, .promise-grid, .contact-top { grid-template-columns: 1fr; }
  .reasons-photo .sub { right: 0; }

  /* 診療時間表(3列なのでスマホでもそのまま) */
  .hours th, .hours td { padding: 13px 6px; font-size: 14px; }
  .hours tbody th { width: 74px; }

  /* お問い合わせ/医院概要などの表 → TH を上・TD を下に縦積み */
  .dl-table, .dl-table tbody, .dl-table tr, .dl-table th, .dl-table td { display: block; width: 100%; }
  .dl-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .dl-table tr:last-child { border-bottom: none; }
  .dl-table th { width: 100%; padding: 0 0 6px; border: none; }
  .dl-table td { padding: 0; border: none; }

  /* お知らせ → 縦積み */
  .news-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 12px; }
  .news-item .chev { display: none; }
  .news-date { width: auto; }
  .news-cat { width: auto; }

  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .sp-bar { display: grid; }
  .float-cta { display: none; }

  .faq-a-inner { padding-left: 22px; }
  .promise-card { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 420px) {
  .btn { height: 58px; font-size: 15px; }
  .hero-stat { position: static; margin-top: 14px; box-shadow: var(--sh-sm); }
}
