@charset "UTF-8";
/* =========================================================
   下層ページ共通（診療案内・各診療科）
   ========================================================= */
:root {
  --navy: #34507a;
  --blue: #5f80ad;
  --blue-pale: #eef3f9;
  --blue-circle: #e3ebf6;
  --pink-circle: #f8e7ea;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 5vw, 72px) 0; }
.section--tight { padding: clamp(32px, 3.5vw, 48px) 0; }

/* 見出し */
.h2 {
  position: relative; font-family: var(--serif); font-weight: 500;
  font-size: clamp(25px, 2.4vw, 32px); letter-spacing: .1em; line-height: 1.45;
  padding-bottom: 18px; margin-bottom: 18px;
}
.h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--rose); }
.h2--plain { padding-bottom: 0; }
.h2--plain::after { display: none; }
.h2-lead { font-size: 16px; color: var(--ink-sub); line-height: 1.85; margin: -4px 0 32px; }

/* ---------- 下層ヒーロー（全面背景） ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(320px, 30vw, 440px); display: flex; align-items: center;
  background: var(--blue-pale);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-position: right 30%; background-size: cover; background-repeat: no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 32%, rgba(255,255,255,0) 62%);
}
.page-hero__inner { width: 100%; max-width: 1340px; margin: 0 auto; padding: 28px var(--gutter) 44px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 clamp(20px, 3vw, 36px); padding: 0; font-size: 14px; color: var(--ink-sub); }
.breadcrumb li + li::before { content: "›"; margin: 0 8px 0 4px; color: #999; }
.breadcrumb a:hover { color: var(--rose); text-decoration: underline; }
.page-hero__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.4vw, 60px);
  letter-spacing: .14em; line-height: 1.3; color: #222;
}
.page-hero__en { font-family: var(--en); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .16em; color: var(--rose); margin: 8px 0 0; }
.page-hero__en--blue { color: #4a6994; }
.page-hero__en::after { content: ""; display: block; width: 32px; height: 2px; background: var(--rose); margin: 18px 0 22px; }
.page-hero__en--blue::after { display: none; }
.page-hero__en--blue { margin-bottom: 22px; }
.page-hero__lead { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.9; letter-spacing: .1em; color: #333; }

/* ---------- アイコン円 ---------- */
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue-circle);
}
.icon-circle svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-circle--plain { background: transparent; width: 52px; }
.icon-circle--plain svg { width: 42px; height: 42px; stroke: var(--rose); }
.icon-circle--rose { background: var(--pink-circle); }
.icon-circle--rose svg { stroke: var(--rose); }
.icon-circle--pink { background: var(--pink-circle); width: 52px; height: 52px; }
.icon-circle--pink svg { stroke: var(--rose); }

.more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--navy); letter-spacing: .08em; }
.more::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s; }
a:hover .more::after { transform: translateX(4px) rotate(45deg); }

/* ---------- 診療メニュー ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.menu-card { grid-column: span 2; min-width: 0; }
.menu-card--wide { grid-column: span 3; }
.menu-card a {
  position: relative; display: flex; height: 100%; min-height: 220px; overflow: hidden;
  background-color: #fff; background-position: right center; background-size: auto 100%; background-repeat: no-repeat;
  border: 1px solid #eceef1; border-radius: 4px; box-shadow: 0 6px 24px rgba(40, 60, 90, .06);
  transition: box-shadow .3s, transform .3s;
}
.menu-card a:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(40, 60, 90, .12); }
.menu-card a::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 42%, rgba(255,255,255,.75) 62%, rgba(255,255,255,0) 100%);
}
.menu-card--wide a { background-image: none; }
.menu-card--wide a::before { display: none; }
.menu-card__img { position: absolute; top: 0; right: 0; bottom: 0; width: 38%; }
.menu-card__img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 40%); z-index: 1; }
.menu-card__img img { width: 100%; height: 100%; object-fit: cover; }
.menu-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 24px 24px; }
.menu-card__desc { max-width: 15em; }
.menu-card--wide .menu-card__body { max-width: 64%; padding: 32px 28px; }
.menu-card__head { display: flex; align-items: center; gap: 14px; }
.menu-card__ttl { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; letter-spacing: .08em; line-height: 1.45; }
.menu-card__desc { font-size: 16px; line-height: 1.8; color: #444; }
.menu-card .more { margin-top: auto; padding-top: 4px; }

/* ---------- リンクタイル ---------- */
.link-tiles { display: grid; gap: 16px; }
.link-tiles--4 { grid-template-columns: repeat(4, 1fr); }
.link-tiles--3 { grid-template-columns: repeat(3, 1fr); }
.link-tiles--2 { grid-template-columns: repeat(2, 1fr); }
.link-tiles a {
  position: relative; display: flex; align-items: center; gap: 16px; min-height: 76px;
  padding: 14px 44px 14px 22px; background: #fff; border: 1px solid #e3e6ea; border-radius: 4px;
  font-size: 16px; font-weight: 500; letter-spacing: .06em; line-height: 1.5;
  transition: border-color .25s, box-shadow .25s;
}
.link-tiles a::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid #888; border-right: 1.5px solid #888; transform: translateY(-50%) rotate(45deg); }
.link-tiles a:hover { border-color: var(--rose-line); box-shadow: 0 6px 20px rgba(40,60,90,.08); }
.link-tiles__ico { width: 32px; height: 32px; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.link-tiles__ico .fill { fill: var(--rose); stroke: none; }
.link-tiles__ico--navy .fill { fill: var(--navy); }

/* ---------- 受診案内 ---------- */
.consult { padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(48px, 5vw, 72px); }
.consult__inner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1232px; margin: 0 auto; padding: clamp(32px, 4vw, 52px) clamp(24px, 6vw, 80px);
  background:
    radial-gradient(ellipse 28% 70% at 0% 50%, rgba(160, 190, 150, .35), transparent 70%),
    radial-gradient(ellipse 22% 60% at 100% 60%, rgba(160, 190, 150, .3), transparent 70%),
    var(--blue-pale);
  border-radius: 4px;
}
.consult__inner--single { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.consult__inner--single .consult__col--tel { border: 0 !important; padding: 0 !important; }
.consult__inner--single .consult__label { display: inline-block; }
.consult__col--tel { border-left: 1px solid #cdd6e2; padding-left: clamp(24px, 4vw, 56px); }
.consult__col:first-child { padding-right: clamp(24px, 4vw, 56px); }
.consult__label { border-left: 2px solid var(--rose); padding-left: 10px; font-size: 15px; line-height: 1.4; margin-bottom: 14px; }
.consult__title { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 25px); line-height: 1.7; letter-spacing: .08em; margin-bottom: 24px; }
.consult__note { font-size: 15px; color: var(--ink-sub); margin-bottom: 14px; }
.consult__tel { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(28px, 2.8vw, 36px); letter-spacing: .06em; line-height: 1.3; color: #222; min-height: 48px; }
.consult__tel-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--rose); border-radius: 6px; flex: none; }
.consult__tel-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.consult__hours { font-size: 15px; color: var(--ink-sub); margin: 6px 0 10px; }
.consult__address { font-size: 15px; line-height: 1.7; color: #444; }

/* ---------- ページ内ナビ ---------- */
.anchor-nav { background: #fff; box-shadow: 0 6px 18px rgba(40,60,90,.06); position: relative; z-index: 2; }
.anchor-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.anchor-nav li { border-left: 1px solid #dde2e8; }
.anchor-nav li:last-child { border-right: 1px solid #dde2e8; }
.anchor-nav a { display: flex; align-items: center; justify-content: center; min-height: 56px; margin: 8px 0; font-size: 15px; letter-spacing: .1em; text-align: center; }
.anchor-nav a:hover { color: var(--rose); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 症状カード（矢印なし） ---------- */
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.symptoms li {
  display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px);
  padding: 10px; background: #fff; border: 1px solid #e6e9ed; border-radius: 4px;
}
.symptoms img { width: clamp(96px, 9vw, 124px); aspect-ratio: 1; object-fit: cover; border-radius: 2px; flex: none; }
.symptoms p { font-size: 17px; font-weight: 500; line-height: 1.6; letter-spacing: .06em; }
.symptoms p::before { content: ""; display: block; width: 18px; height: 2px; background: var(--rose); margin-bottom: 10px; }

/* ---------- 対象疾患 ---------- */
.diseases {
  display: grid; grid-template-columns: 1fr 1fr; background: #fff;
  border: 1px solid #e6e9ed; border-radius: 4px; padding: 12px 16px;
}
.diseases ul { padding: 0 16px; }
.diseases ul + ul { border-left: 1px solid #e6e9ed; }
.diseases li {
  display: flex; align-items: center; gap: 22px; min-height: 84px; padding: 12px 0;
  font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.6; letter-spacing: .04em;
}
.diseases li + li { border-top: 1px solid #e6e9ed; }

/* ---------- 検査カード ---------- */
.test-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.test-cards li { background: #fff; border: 1px solid #e6e9ed; border-radius: 4px; padding: 10px 10px 20px; }
.test-cards img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; margin-bottom: 14px; }
.test-cards h3 { font-size: 17px; font-weight: 500; letter-spacing: .06em; padding: 0 8px; margin-bottom: 6px; }
.test-cards p { font-size: 15px; line-height: 1.75; color: #555; padding: 0 8px; }

/* ---------- ご紹介 ---------- */
.referral {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 4vw, 48px); border-radius: 4px;
  background:
    radial-gradient(ellipse 22% 90% at 100% 50%, rgba(150, 185, 140, .45), transparent 75%),
    linear-gradient(90deg, var(--blue-pale), #f6f9fc);
}
.referral__ico { width: 56px; height: 56px; flex: none; fill: none; stroke: #8aa3c6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.referral__title { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.6; letter-spacing: .06em; margin-bottom: 10px; }
.referral p { font-size: 16px; color: #444; max-width: 46em; }

/* ---------- CTA帯（ローズ） ---------- */
.cta-band { padding: 8px var(--gutter) clamp(40px, 5vw, 64px); }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 1232px; margin: 0 auto; padding: clamp(28px, 3vw, 36px) clamp(24px, 4vw, 40px);
  background: var(--rose); border-radius: 4px; color: #fff;
}
.cta-band__img { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -2; background-position: center; background-size: cover; }
.cta-band__inner::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -1;
  background: linear-gradient(90deg, var(--rose) 0%, rgba(169,80,92,.55) 35%, rgba(169,80,92,.1) 100%);
}
.cta-band__text { font-size: 16px; letter-spacing: .08em; margin-bottom: 14px; }
.cta-band__btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 32px;
  background: #fff; color: var(--rose); border-radius: 4px;
  font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: .1em;
  transition: background .25s;
}
.cta-band__btn:hover { background: #fdf3f4; }
.cta-band__btn .ico { width: 26px; height: 26px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .menu-card, .menu-card--wide { grid-column: span 3; }
  .link-tiles--4, .link-tiles--3 { grid-template-columns: repeat(2, 1fr); }
  .symptoms { grid-template-columns: repeat(2, 1fr); }
  .test-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .page-hero { min-height: 0; align-items: flex-end; }
  .page-hero__bg { background-position: 80% center; }
  .page-hero::before { background: linear-gradient(0deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 55%, rgba(255,255,255,.25) 100%); }
  .page-hero__inner { padding: 16px var(--gutter) 32px; }
  .breadcrumb ol { margin-bottom: 64px; }
  .page-hero__lead { font-size: 16px; }
  .page-hero__lead br, .page-hero__lead--wide br { display: none; }

  .menu-grid { grid-template-columns: 1fr; gap: 16px; }
  .menu-card, .menu-card--wide { grid-column: auto; }
  .menu-card a { min-height: 0; }
  .menu-card__body, .menu-card--wide .menu-card__body { max-width: 68%; padding: 22px 18px; }
  .menu-card--wide .menu-card__img { width: 36%; }

  .link-tiles--4, .link-tiles--3, .link-tiles--2 { grid-template-columns: 1fr; gap: 10px; }
  .link-tiles a { min-height: 64px; }

  .consult__inner { grid-template-columns: 1fr; }
  .consult__col:first-child { padding-right: 0; padding-bottom: 28px; }
  .consult__col--tel { border-left: 0; border-top: 1px solid #cdd6e2; padding: 28px 0 0; }
  .consult .btn--lg { width: 100%; }

  .anchor-nav ul { grid-template-columns: repeat(2, 1fr); padding: 8px var(--gutter); }
  .anchor-nav li, .anchor-nav li:last-child { border: 0; border-bottom: 1px solid #e6e9ed; }
  .anchor-nav li:nth-child(odd) { border-right: 1px solid #e6e9ed; }
  .anchor-nav li:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .anchor-nav a { min-height: 48px; margin: 0; }

  .symptoms { grid-template-columns: 1fr; gap: 10px; }
  .symptoms img { width: 88px; }
  .diseases { grid-template-columns: 1fr; padding: 4px 12px; }
  .diseases ul { padding: 0 4px; }
  .diseases ul + ul { border-left: 0; border-top: 1px solid #e6e9ed; }
  .diseases li { gap: 16px; min-height: 72px; font-size: 16px; }
  .test-cards { grid-template-columns: 1fr; }
  .referral { flex-direction: column; align-items: flex-start; }
  .cta-band__img { width: 100%; opacity: .25; }
  .cta-band__inner::before { width: 100%; background: rgba(169,80,92,.6); }
  .cta-band__btn { width: 100%; justify-content: center; padding: 14px 16px; }
}

/* ===== 下層ページ追加分（tools/build.py で生成するページ） ===== */
.symptoms--icon .icon-circle { width: 68px; height: 68px; flex: none; }
.symptoms--icon .icon-circle svg { width: 34px; height: 34px; }
.symptoms--icon p small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; letter-spacing: .02em; color: var(--ink-sub); line-height: 1.7; }
.referral__body p:only-child { margin: 0; }
.page-hero__en--label { font-family: var(--en); color: var(--rose); letter-spacing: .2em; }
.photo-note { font-size: 12px; color: var(--ink-sub); margin-top: 6px; }
.sep { border-top: 1px solid var(--line); }

/* ごあいさつ */
.greet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.greet__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 25%; border-radius: 2px; }
.greet__body .greet__catch { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: .08em; line-height: 1.6; margin-bottom: 18px; color: var(--ink); }
.greet__body p { font-size: 16px; line-height: 2; color: var(--ink-sub); }
.greet__sign { margin-top: 14px; text-align: right; font-family: var(--serif); font-size: 18px; letter-spacing: .1em; color: var(--ink) !important; }

/* 医師・スタッフ紹介 */
.staff { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); }
.staff + .staff { margin-top: 0; }
.staff__doctor { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-right: clamp(0px, 3vw, 40px); border-right: 1px solid var(--line); }
.staff__doctor img, .staff__team img { width: 100%; object-fit: cover; border-radius: 2px; }
.staff__doctor img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.staff__team img { aspect-ratio: 16 / 9; }
.staff__name { font-family: var(--serif); font-size: 22px; letter-spacing: .1em; }
.staff__role { font-size: 15px; color: var(--ink-sub); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.staff__career li { font-size: 15px; line-height: 1.9; }
.staff__team h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .08em; margin-top: 14px; }
.staff__team p { font-size: 15px; color: var(--ink-sub); margin-top: 4px; }

/* 院内写真 */
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rooms img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rooms figcaption { text-align: center; font-family: var(--serif); font-size: 16px; letter-spacing: .1em; margin-top: 10px; }

/* 概要表 */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; border-top: 1px solid var(--ink); }
.spec th, .spec td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.75; font-weight: 400; }
.spec th { width: 22%; font-family: var(--serif); font-weight: 500; letter-spacing: .08em; white-space: nowrap; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--ink); }

@media (max-width: 900px) {
  .greet, .staff { grid-template-columns: 1fr; }
  .staff__doctor { border-right: 0; padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .staff__doctor { grid-template-columns: 1fr 1.2fr; gap: 16px; }
  .spec th, .spec td { padding: 12px 10px; font-size: 15px; }
  .spec th { width: 30%; white-space: normal; }
}
.h2--center { text-align: center; }
.h2--center::after { left: 50%; transform: translateX(-50%); }
.h2--center + .h2-lead { text-align: center; }
.bullet-box { background: var(--bg-soft); border-radius: 2px; padding: 24px clamp(20px, 3vw, 40px); display: grid; gap: 6px; }
.bullet-box li { position: relative; padding-left: 22px; font-size: 16px; }
.bullet-box li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 9px; height: 9px; border-radius: 50%; background: var(--rose-line); }

/* お知らせ一覧・記事 */
.page-hero--low { min-height: 0; }
.page-hero--low .page-hero__inner { padding-bottom: clamp(32px, 4vw, 56px); }
.wrap--narrow { max-width: 920px; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-bottom: 0; margin-bottom: 24px; }
.tabs li + li { border-left: 1px solid var(--line); }
.tab { position: relative; width: 100%; min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--line) !important; border: 0; background: none; font: inherit; font-family: var(--serif); font-size: 17px; letter-spacing: .1em; color: var(--ink-sub); cursor: pointer; }
.tab[aria-pressed="true"] { color: var(--rose); }
.tab[aria-pressed="true"]::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 2px; background: var(--rose); }
.news-rows li { border-bottom: 1px solid var(--line); }
.news-rows a { position: relative; display: grid; grid-template-columns: 110px 92px minmax(0, 1fr); align-items: center; gap: 16px; padding: 22px 40px 22px 4px; font-size: 16px; }
.news-rows a::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid #888; border-right: 1.5px solid #888; transform: translateY(-50%) rotate(45deg); }
.news-rows time { font-size: 15px; color: var(--ink-sub); font-variant-numeric: tabular-nums; }
.news-rows .tag { justify-self: start; }
.news-rows a:hover .news-rows__title { color: var(--rose); }
.news-empty { padding: 24px 4px; color: var(--ink-sub); }
.article__meta { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-sub); }
.article__title { margin-top: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.3vw, 28px); letter-spacing: .06em; line-height: 1.6; }
.article__body { margin-top: 24px; font-size: 16px; line-height: 2; }
.article__body p + p, .article__body table + p, .article__body p + table { margin-top: 12px; }
.article__body h2 { position: relative; margin: 36px 0 12px; padding-bottom: 10px; font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .08em; }
.article__body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--rose); }
.article__body .spec { margin-top: 12px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--serif); letter-spacing: .08em; }
.pager a { min-height: 44px; display: inline-flex; align-items: center; }
.pager a:hover { color: var(--rose); }
.pager__list { padding: 0 28px; border: 1px solid var(--rose-line); color: var(--rose); }
.pager__next { justify-self: end; }
@media (max-width: 767px) {
  .news-rows a { grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; padding: 18px 32px 18px 2px; }
  .news-rows .news-rows__title { grid-column: 1 / -1; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* 診療時間・アクセス */
.access-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.map-box { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line);
  background-color: #f3f4f1;
  background-image: linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%), linear-gradient(0deg, transparent 44%, #fff 44%, #fff 50%, transparent 50%),
    linear-gradient(28deg, transparent 62%, #e4e7e1 62%, #e4e7e1 65%, transparent 65%), linear-gradient(#e9ebe6 1px, transparent 1px), linear-gradient(90deg, #e9ebe6 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 44px 44px, 44px 44px; }
.map-box svg { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -90%); }
.map-box .fill { fill: var(--rose); }
.map-box span { position: absolute; left: 12px; bottom: 10px; font-size: 14px; color: var(--ink-sub); background: rgba(255,255,255,.9); padding: 2px 10px; }
.info-dl { border-top: 1px solid var(--ink); }
.info-dl div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.info-dl dt { font-family: var(--serif); font-weight: 500; letter-spacing: .08em; }
.info-dl dd { margin: 0; font-size: 16px; line-height: 1.8; }
.info-dl .tel-big { font-size: 24px; letter-spacing: .06em; color: var(--rose); }
.photo-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-2 figcaption { font-size: 14px; color: var(--ink-sub); margin-top: 6px; }
.hours-block .hours { width: 100%; }
@media (max-width: 900px) { .access-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .info-dl div { grid-template-columns: 1fr; gap: 2px; } .photo-2 { gap: 10px; } }

/* 受診の流れ・持ち物・FAQ */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; }
.steps li { position: relative; padding: 22px 18px; border: 1px solid #e6e9ed; border-radius: 4px; background: #fff; }
.steps li + li::before { content: ""; position: absolute; left: -19px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--rose); border-right: 1.5px solid var(--rose); transform: translateY(-50%) rotate(45deg); }
.steps__num { display: block; font-family: var(--en); font-size: 34px; color: var(--rose); letter-spacing: .06em; line-height: 1; }
.steps h3 { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: .06em; line-height: 1.5; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--ink-sub); line-height: 1.7; }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #e6e9ed; border-bottom: 0; }
.items li:nth-child(even) { border-left: 1px solid #e6e9ed; }
.items li { position: relative; padding: 16px 16px 16px 46px; border-bottom: 1px solid #e6e9ed; font-size: 17px; }
.items li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 10px; height: 6px; border-left: 1.5px solid var(--rose); border-bottom: 1.5px solid var(--rose); transform: translateY(-70%) rotate(-45deg); }
.pink-box { margin-top: 28px; padding: 22px clamp(20px, 3vw, 36px); background: var(--rose-pale); font-size: 16px; }
.pink-box b { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: .06em; color: var(--rose-dark); margin-bottom: 4px; }
.qa { border-top: 1px solid var(--ink); }
.qa div { padding: 22px 4px; border-bottom: 1px solid var(--line); }
.qa dt, .qa dd { position: relative; padding-left: 40px; }
.qa dt { font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: .04em; }
.qa dd { margin: 10px 0 0; font-size: 16px; color: var(--ink-sub); line-height: 1.9; }
.qa dt::before, .qa dd::before { position: absolute; left: 4px; top: -2px; font-family: var(--en); font-size: 24px; line-height: 1.2; }
.qa dt::before { content: "Q"; color: var(--rose); }
.qa dd::before { content: "A"; color: #9aa3ab; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps li:nth-child(4)::before { display: none; } }
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 12px; padding: 16px; }
  .steps li + li::before, .steps li:nth-child(4)::before { display: block; left: 50%; top: -15px; transform: translateX(-50%) rotate(135deg); }
  .steps__num { grid-row: 1 / span 2; font-size: 26px; padding-top: 4px; }
  .steps h3 { margin-top: 0; }
  .items { grid-template-columns: 1fr; }
  .items li:nth-child(even) { border-left: 0; }
}

/* 健診・予防接種 */
.check-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.check-cards li { border: 1px solid #e6e9ed; border-radius: 4px; background: #fff; overflow: hidden; }
.check-cards img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.check-cards h3 { margin: 16px 18px 6px; font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .06em; }
.check-cards p { margin: 0 18px 20px; font-size: 15px; color: var(--ink-sub); line-height: 1.8; }
.table-wrap { overflow-x: auto; }
.vac { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; border-top: 1px solid var(--ink); }
.vac th, .vac td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; line-height: 1.7; font-weight: 400; vertical-align: top; }
.vac thead th { font-family: var(--serif); font-weight: 500; letter-spacing: .08em; background: var(--bg-soft); }
.vac tbody th { font-family: var(--serif); font-weight: 500; white-space: nowrap; }
.pink-box .tel-big { display: inline-block; margin-top: 6px; font-family: var(--serif); font-size: 26px; letter-spacing: .06em; color: var(--rose-dark); }
/* 文章ページ・サイトマップ */
.prose { max-width: 800px; font-size: 16px; line-height: 2; }
.prose h2 { position: relative; margin: 44px 0 12px; padding-bottom: 10px; font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .08em; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--rose); }
.prose ul { padding-left: 1.3em; list-style: disc; }
.sitemap-tree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.sitemap-tree > li > a { display: block; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 18px; letter-spacing: .08em; }
.sitemap-tree ul { margin-top: 8px; }
.sitemap-tree ul a { position: relative; display: block; padding: 7px 0 7px 18px; font-size: 15px; }
.sitemap-tree ul a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; border-top: 1px solid var(--rose); border-right: 1px solid var(--rose); transform: translateY(-50%) rotate(45deg); }
.sitemap-tree a:hover { color: var(--rose); }
@media (max-width: 900px) { .check-cards { grid-template-columns: 1fr; } .sitemap-tree { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sitemap-tree { grid-template-columns: 1fr; } }

.diseases li { min-width: 0; overflow-wrap: anywhere; }
.hours-block .table-wrap .hours { min-width: 300px; }
@media (max-width: 360px) { .diseases ul { padding: 0 4px; } .diseases li { gap: 14px; } }

.vac thead th { background: var(--rose-pale); }
.pink-box--center { text-align: center; padding-block: 28px; }
.pink-box--center .tel-big { font-size: clamp(30px, 3.4vw, 40px); }
.pink-box small { font-size: 15px; color: var(--ink-sub); }
