@charset "UTF-8";
/* ==========================================================================
   ナカノ歯科医院  共通スタイル
   デザイントークンは design/tokens.css と同一（色や余白の変更はここ一箇所）
   ========================================================================== */

:root {
  --c-primary: #1B7A8F;
  --c-primary-dark: #12586A;
  --c-primary-100: #CFE5EB;
  --c-primary-050: #EAF4F7;
  --c-accent: #E8734A;
  --c-accent-dark: #C95B35;
  --c-accent-050: #FDF0EB;
  --c-ink: #1F2A2E;
  --c-ink-muted: #5F6F75;
  --c-ink-faint: #93A3A9;
  --c-line: #DCE6E9;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F9FA;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18, 60, 72, .06), 0 2px 8px rgba(18, 60, 72, .06);
  --shadow-md: 0 4px 12px rgba(18, 60, 72, .08), 0 12px 28px rgba(18, 60, 72, .08);

  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "MS PMincho", serif;

  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); }
h1, h2, h3, h4 { line-height: 1.5; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }
.section { padding-block: 96px; }
.section--soft { background: var(--c-bg-soft); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 見出し ---------- */
.eyebrow {
  font-size: 11.5px; letter-spacing: .2em; color: var(--c-primary);
  font-weight: 700; margin-bottom: 10px; line-height: 1.6;
}
.section-title {
  font-family: var(--font-serif); font-size: 29px; font-weight: 600;
  letter-spacing: .03em; margin-bottom: 14px;
}
.section-sub { font-size: 14px; line-height: 2; color: var(--c-ink-muted); }
.section-head--center { text-align: center; margin-bottom: 44px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  padding: 17px 32px; border: none; border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer; transition: .2s;
}
.btn svg { flex: none; }
.btn--accent { background: var(--c-accent); color: #fff; box-shadow: 0 4px 12px rgba(232, 115, 74, .28); }
.btn--accent:hover { background: var(--c-accent-dark); box-shadow: 0 6px 16px rgba(201, 91, 53, .34); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--ghost { background: #fff; color: var(--c-primary); box-shadow: inset 0 0 0 1.5px var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary-050); }
.btn--lg { font-size: 17px; padding: 21px 44px; }
.btn--line { background: #06C755; color: #fff; box-shadow: 0 4px 12px rgba(6, 199, 85, .26); }
.btn--line:hover { background: #05A948; box-shadow: 0 6px 16px rgba(5, 169, 72, .32); }
.cta-band .btn--line { box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--c-primary); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

.btn-tel {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--c-primary); color: #fff; text-decoration: none;
  padding: 13px 34px; border-radius: var(--r-md);
}
.btn-tel__label { font-size: 11px; letter-spacing: .12em; opacity: .85; line-height: 1.6; }
.btn-tel__number { font-size: 24px; font-weight: 700; letter-spacing: .03em; line-height: 1.2; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.utilbar { background: var(--c-primary-050); border-bottom: 1px solid #D5E7EC; }
.utilbar__in { display: flex; justify-content: flex-end; gap: 20px; padding-block: 7px; font-size: 12px; }
.utilbar a { color: var(--c-primary); text-decoration: none; }
.utilbar a:hover { text-decoration: underline; }

.header { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 50; }
.header__in { display: flex; align-items: center; gap: 28px; padding-block: 16px; }

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; flex: none; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, #2A93A8, #12586A);
  display: flex; align-items: center; justify-content: center;
}
.logo__name { font-family: var(--font-serif); font-size: 19px; font-weight: 600; letter-spacing: .04em; line-height: 1.2; display: block; }
.logo__en { font-size: 9.5px; letter-spacing: .18em; color: var(--c-ink-faint); margin-top: 3px; display: block; line-height: 1.4; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 26px; }
.gnav a {
  font-size: 14px; font-weight: 600; color: var(--c-ink); text-decoration: none;
  padding-block: 6px; position: relative; display: block;
}
.gnav a:hover { color: var(--c-primary); }
.gnav a[aria-current="page"] { color: var(--c-primary); }
.gnav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--c-primary); border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__tel { text-align: right; line-height: 1.25; text-decoration: none; }
.header__tel-label { font-size: 10px; letter-spacing: .1em; color: var(--c-ink-faint); display: block; }
.header__tel-number { font-size: 19px; font-weight: 700; color: var(--c-primary); display: block; }
.header__cta {
  background: var(--c-accent); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 13px 22px; border-radius: var(--r-pill); text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(232, 115, 74, .26);
}
.header__cta:hover { background: var(--c-accent-dark); }

.burger {
  display: none; flex-direction: column; gap: 4.5px; margin-left: auto;
  padding: 10px; background: none; border: none; cursor: pointer;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* スマホ固定バー */
.fixedbar { display: none; }

/* ==========================================================================
   ヒーロー（トップ）
   ========================================================================== */
.hero { position: relative; background: linear-gradient(160deg, #EAF4F7 0%, #F7FBFC 55%, #fff 100%); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(42, 147, 168, .16), rgba(42, 147, 168, 0) 70%);
}
.hero__in { display: flex; gap: 48px; align-items: center; padding-block: 76px 68px; position: relative; z-index: 1; }
.hero__copy { flex: 1; min-width: 0; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .18em; color: var(--c-primary); font-weight: 700; margin-bottom: 20px; }
.hero__eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--c-primary); }
.hero__title { font-family: var(--font-serif); font-size: 42px; font-weight: 600; line-height: 1.4; letter-spacing: .03em; margin-bottom: 22px; }
.hero__title em { font-style: normal; color: var(--c-primary); }
.hero__lead { font-size: 15px; line-height: 2.1; color: var(--c-ink-muted); margin-bottom: 32px; max-width: 30em; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__pills { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 30px; }
.pill { font-size: 12px; color: var(--c-primary); background: #fff; border: 1px solid var(--c-primary-100); padding: 7px 15px; border-radius: var(--r-pill); font-weight: 600; }

.hero__visual { width: 420px; flex: none; position: relative; }
.hero__photo {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  border-radius: 20px 20px 20px 90px;
  box-shadow: 0 12px 32px rgba(18, 60, 72, .16);
}
.hero__card {
  position: absolute; left: -34px; bottom: 34px; background: #fff;
  border-radius: 14px; box-shadow: 0 8px 24px rgba(18, 60, 72, .14);
  padding: 16px 20px; min-width: 214px;
}
.hero__card-title { font-size: 10.5px; letter-spacing: .12em; color: var(--c-ink-faint); margin-bottom: 7px; }
.hero__card-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding-block: 3px; }
.hero__card-row b { font-weight: 600; }

/* ==========================================================================
   下層ページの見出し帯
   ========================================================================== */
.pagehead { background: linear-gradient(160deg, #EAF4F7, #F7FBFC); border-bottom: 1px solid var(--c-line); }
.pagehead__in { padding-block: 52px; text-align: center; }
.pagehead__title { font-family: var(--font-serif); font-size: 32px; font-weight: 600; letter-spacing: .04em; }
.pagehead__en { font-size: 11px; letter-spacing: .2em; color: var(--c-primary); font-weight: 700; margin-bottom: 8px; }
.breadcrumb { font-size: 12px; color: var(--c-ink-muted); padding-block: 14px; }
.breadcrumb a { color: var(--c-ink-muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin-inline: 8px; color: var(--c-ink-faint); }

/* ==========================================================================
   診療案内カード
   ========================================================================== */
.services { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.service-card { flex: 1 1 calc((100% - 36px) / 3); max-width: calc((100% - 36px) / 3); }
.service-card {
  background: #fff; border-radius: 16px; padding: 26px 22px 24px;
  box-shadow: var(--shadow-sm); transition: .2s; position: relative;
  display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card__icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--c-primary-050);
  display: flex; align-items: center; justify-content: center; color: var(--c-primary); margin-bottom: 16px;
}
.service-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.service-card__en { font-size: 9.5px; letter-spacing: .14em; color: var(--c-ink-faint); margin-bottom: 12px; line-height: 1.6; }
.service-card p { font-size: 13px; line-height: 1.9; color: var(--c-ink-muted); margin-bottom: 16px; }
.service-card .link-arrow { margin-top: auto; font-size: 12.5px; }

/* 診療案内ページの詳細ブロック */
.detail { display: flex; gap: 44px; align-items: flex-start; padding-block: 56px; border-top: 1px solid var(--c-line); }
.detail:first-of-type { border-top: none; padding-top: 24px; }
.detail__media { width: 340px; flex: none; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; box-shadow: var(--shadow-sm); }
.detail__body { flex: 1; min-width: 0; }
.detail__body h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.detail__en { font-size: 10px; letter-spacing: .16em; color: var(--c-ink-faint); margin-bottom: 16px; }
.detail__body p { font-size: 14.5px; line-height: 2.05; color: var(--c-ink-muted); }
.detail__body p + p { margin-top: 14px; }
.checklist { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.8; }
.checklist svg { flex: none; color: var(--c-primary); margin-top: 5px; }

/* ==========================================================================
   費用のご案内（自由診療）
   ========================================================================== */
.price-table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden;
}
.price-table th, .price-table td { padding: 18px 20px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--c-primary); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding-block: 13px; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody th { font-size: 15px; font-weight: 600; line-height: 1.6; }
.price-table tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--c-ink-muted); margin-top: 6px; line-height: 1.8; }
.price-table .price { text-align: right; white-space: nowrap; font-weight: 700; font-size: 18px; color: var(--c-primary-dark); }
.price-table .price span { display: block; font-size: 11.5px; font-weight: 400; color: var(--c-ink-faint); margin-top: 4px; }
.price-note { font-size: 12.5px; line-height: 1.9; color: var(--c-ink-muted); margin-top: 14px; }

.risk { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px 26px; margin-top: 16px; }
.risk h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.risk h3 svg { flex: none; color: var(--c-accent); }
.risk ul { display: flex; flex-direction: column; gap: 8px; }
.risk li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.85; color: var(--c-ink-muted); }
.risk li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary-100); }


/* ==========================================================================
   院内ギャラリー
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-sm); display: block; }
.gallery figcaption { font-size: 12.5px; color: var(--c-ink-muted); margin-top: 9px; text-align: center; line-height: 1.7; }

.photo-wide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-sm); display: block; }

/* ==========================================================================
   診療の流れ（イメージキャラクター）
   ========================================================================== */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.flow-step { text-align: center; }
.flow-step img {
  width: 100%; max-width: 190px; margin: 0 auto 16px; display: block;
  aspect-ratio: 280 / 400; object-fit: cover; object-position: center top;
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.flow-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 700;
  margin-bottom: 9px; line-height: 1;
}
.flow-step h3 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.flow-step p { font-size: 12.5px; line-height: 1.85; color: var(--c-ink-muted); }

.character-note {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin-top: 36px; font-size: 12.5px; color: var(--c-ink-muted); line-height: 1.8;
}
.character-note img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none; }

/* ==========================================================================
   受付時間表
   ========================================================================== */
.hours-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.hours-table th, .hours-table td { text-align: center; padding: 14px 4px; border-bottom: 1px solid var(--c-line); border-right: 1px solid var(--c-line); }
.hours-table th:last-child, .hours-table td:last-child { border-right: none; }
.hours-table tbody tr:last-child th, .hours-table tbody tr:last-child td { border-bottom: none; }
.hours-table thead th { background: var(--c-primary); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.hours-table thead th:first-child { text-align: left; padding-left: 18px; width: 168px; }
.hours-table tbody th { background: var(--c-primary-050); color: var(--c-primary-dark); font-weight: 600; text-align: left; padding-left: 18px; font-size: 13px; }
.hours-table .is-open { color: var(--c-primary); font-weight: 700; font-size: 16px; }
.hours-table .is-closed { color: var(--c-ink-faint); font-size: 16px; }
.hours-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 12.5px; color: var(--c-ink-muted); }
.hours-legend b { color: var(--c-ink); font-weight: 600; }
.notice-box { margin-top: 22px; background: var(--c-accent-050); border-radius: var(--r-md); padding: 16px 18px; font-size: 13px; line-height: 1.9; color: #8A452B; }
.notice-box b { display: block; color: var(--c-accent); font-size: 12px; letter-spacing: .1em; margin-bottom: 4px; }

/* ==========================================================================
   お知らせ
   ========================================================================== */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.news-list { border-top: 1px solid var(--c-line); }
.news-list a, .news-item { display: flex; align-items: center; gap: 16px; padding: 17px 6px; border-bottom: 1px solid var(--c-line); text-decoration: none; color: inherit; }
.news-list a:hover { background: #F7FBFC; }
.news-list time { font-size: 12.5px; color: var(--c-ink-faint); flex: none; width: 92px; }
.news-cat { flex: none; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); letter-spacing: .04em; }
.news-cat--info { color: var(--c-primary); background: var(--c-primary-050); }
.news-cat--important { color: var(--c-accent); background: var(--c-accent-050); }
.news-cat--column { color: var(--c-ink-muted); background: #F0F4F5; }
.news-title { font-size: 14.5px; line-height: 1.6; flex: 1; min-width: 0; }
.news-list .news-arrow { flex: none; color: var(--c-ink-faint); }

/* ==========================================================================
   院長紹介
   ========================================================================== */
.doctor { background: #fff; border-radius: 18px; overflow: hidden; display: flex; box-shadow: var(--shadow-sm); }
.doctor__photo { width: 300px; flex: none; background: linear-gradient(150deg, #BFDDE5, #5FA4B4); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .85); font-size: 11.5px; letter-spacing: .12em; }
.doctor__body { padding: 36px 38px; }
.doctor__role { font-size: 11px; letter-spacing: .16em; color: var(--c-primary); font-weight: 700; margin-bottom: 8px; }
.doctor__name { font-family: var(--font-serif); font-size: 26px; font-weight: 600; }
.doctor__kana { font-family: var(--font-sans); font-size: 12px; letter-spacing: .12em; color: var(--c-ink-faint); margin-left: 14px; }
.doctor__msg { font-size: 14px; line-height: 2.05; color: var(--c-ink-muted); margin-block: 16px 20px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 11.5px; color: var(--c-primary-dark); background: var(--c-primary-050); padding: 6px 13px; border-radius: var(--r-pill); }

/* ==========================================================================
   アクセス
   ========================================================================== */
.access { display: flex; gap: 36px; align-items: flex-start; }
.access__map { flex: 1; min-width: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--c-line); background: var(--c-bg-soft); position: relative; }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access__map-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--c-ink-faint); font-size: 12px; text-align: center; padding: 20px; line-height: 1.9;
  background:
    linear-gradient(#E7EFF1 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, #E7EFF1 1px, transparent 1px) 0 0 / 44px 100%,
    var(--c-bg-soft);
}
.access__info { width: 400px; flex: none; }
.info-list { border-top: 1px solid var(--c-line); }
.info-list > div { display: flex; gap: 18px; padding: 15px 2px; border-bottom: 1px solid var(--c-line); }
.info-list dt { width: 86px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--c-primary); }
.info-list dd { margin: 0; font-size: 14px; line-height: 1.85; }
.info-list dd small { display: block; font-size: 12px; color: var(--c-ink-muted); margin-top: 3px; }
.routes { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.route { display: flex; gap: 11px; align-items: flex-start; background: var(--c-primary-050); border-radius: 11px; padding: 13px 15px; }
.route svg { flex: none; color: var(--c-primary); margin-top: 3px; }
.route div { font-size: 13px; line-height: 1.75; }
.route b { display: block; font-size: 12px; color: var(--c-primary-dark); margin-bottom: 2px; }

/* ==========================================================================
   フォーム
   ========================================================================== */
.form-card { background: #fff; border-radius: 18px; padding: 38px 40px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field > label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.badge-req { font-size: 10px; font-weight: 700; color: #fff; background: var(--c-accent); padding: 3px 7px; border-radius: 4px; letter-spacing: .04em; }
.badge-opt { font-size: 10px; font-weight: 700; color: var(--c-ink-muted); background: #EDF2F3; padding: 3px 7px; border-radius: 4px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--c-ink);
  padding: 14px 15px; border: 1.5px solid var(--c-line); border-radius: 10px; background: #fff; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(27, 122, 143, .13);
}
.field input::placeholder, .field textarea::placeholder { color: #B4C1C6; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F6F75' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field__help { font-size: 11.5px; color: var(--c-ink-faint); margin-top: 7px; line-height: 1.6; }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; min-width: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; background: var(--c-primary-050); border-radius: 11px; padding: 15px 17px; font-size: 13px; line-height: 1.75; margin-bottom: 22px; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 4px; accent-color: var(--c-primary); }
.form-submit { width: 100%; font-size: 16px; font-weight: 700; padding: 18px; }
.form-foot { font-size: 12px; color: var(--c-ink-muted); text-align: center; margin-top: 16px; line-height: 1.8; }

/* ==========================================================================
   CTA帯 ＋ フッター
   ========================================================================== */
.cta-band { background: linear-gradient(140deg, #1B7A8F, #12586A); color: #fff; text-align: center; padding-block: 60px; }
.cta-band h2 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; margin-bottom: 10px; letter-spacing: .03em; }
.cta-band p { font-size: 13.5px; line-height: 1.9; opacity: .9; margin-bottom: 26px; }
.cta-band__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-band .btn-tel { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .34); }

.footer { background: #0E4654; color: rgba(255, 255, 255, .82); padding-top: 52px; }
.footer__in { display: flex; gap: 56px; }
.footer__brand { width: 340px; flex: none; }
.footer .logo { margin-bottom: 16px; }
.footer .logo__mark { background: rgba(255, 255, 255, .14); }
.footer .logo__name { color: #fff; }
.footer .logo__en { color: rgba(255, 255, 255, .5); }
.footer__addr { font-size: 12.5px; line-height: 2; }
.footer__cols { display: flex; gap: 52px; margin-left: auto; }
.footer__col h3 { font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .5); margin-bottom: 14px; font-weight: 600; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 13px; color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-block: 18px 22px;
  display: flex; justify-content: space-between; gap: 20px; font-size: 11.5px; color: rgba(255, 255, 255, .55); flex-wrap: wrap;
}
.footer__bar a { color: inherit; text-decoration: none; margin-left: 18px; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1080px) {
  .service-card { flex-basis: calc((100% - 18px) / 2); max-width: calc((100% - 18px) / 2); }
  .hero__visual { width: 340px; }
  .access__info { width: 340px; }
}

@media (max-width: 900px) {
  .header__tel, .header__cta { display: none; }
  .burger { display: flex; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .25s ease; margin-left: 0;
  }
  .gnav.is-open { max-height: 80vh; overflow-y: auto; }
  .gnav__list { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .gnav__list li { border-bottom: 1px solid var(--c-line); }
  .gnav a { padding-block: 16px; font-size: 15px; }
  .gnav a[aria-current="page"]::after { display: none; }

  .hero__in { flex-direction: column; align-items: stretch; padding-block: 44px 56px; }
  .hero__visual { width: 100%; }
  .hero__photo { aspect-ratio: 4 / 3; border-radius: 16px 16px 16px 60px; }
  .hero__card { left: auto; right: 12px; bottom: -18px; }
  .hero__pills { margin-bottom: 28px; }

  .detail { flex-direction: column; gap: 24px; }
  .detail__media { width: 100%; }
  .access { flex-direction: column; }
  .access__info { width: 100%; }
  .doctor { flex-direction: column; }
  .doctor__photo { width: 100%; aspect-ratio: 3 / 2; }
  .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .footer__in { flex-direction: column; gap: 36px; }
  .footer__brand { width: 100%; }
  .footer__cols { margin-left: 0; gap: 36px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; padding-bottom: 62px; }
  .section { padding-block: 56px; }
  .container { padding-inline: 18px; }
  .utilbar { display: none; }
  .hero__title { font-size: 29px; }
  .section-title { font-size: 23px; }
  .pagehead__title { font-size: 25px; }
  .service-card { flex-basis: 100%; max-width: 100%; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
  .flow-step img { max-width: 150px; margin-bottom: 12px; }
  .character-note { flex-direction: column; gap: 10px; text-align: center; }
  .field-row { flex-direction: column; gap: 0; }
  .form-card { padding: 26px 20px; border-radius: 14px; }
  .hours-table { font-size: 12.5px; }
  .hours-table thead th:first-child { width: auto; padding-left: 10px; font-size: 11.5px; }
  .hours-table tbody th { padding-left: 10px; font-size: 11.5px; }
  .hours-table th, .hours-table td { padding: 12px 2px; }
  .news-list a, .news-item { flex-wrap: wrap; gap: 8px 12px; padding-block: 15px; }
  .news-title { flex-basis: 100%; }
  .news-list .news-arrow { display: none; }
  .doctor__body { padding: 26px 22px; }
  .price-table th, .price-table td { padding: 15px 14px; }
  .price-table tbody th { font-size: 14px; }
  .price-table .price { font-size: 16px; }
  .risk { padding: 20px 18px; }
  .hero__btns .btn, .cta-band__btns .btn { width: 100%; }
  .footer__bar { flex-direction: column; gap: 8px; }
  .footer__bar a { margin-left: 0; margin-right: 18px; }

  /* 下部固定バー */
  .fixedbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -2px 12px rgba(18, 60, 72, .08);
  }
  .fixedbar a {
    flex: 1; text-align: center; padding: 15px 0; font-size: 14px; font-weight: 700;
    text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 7px;
  }
  .fixedbar__map { color: var(--c-primary); flex: 1; }
  .fixedbar__line { color: #fff; background: #06C755; flex: 1.5; }
  .fixedbar__tel { color: #fff; background: var(--c-accent); flex: 1.5; }
  .fixedbar a { font-size: 13px; gap: 6px; }
  .fixedbar a svg { flex: none; }
}

@media print {
  .header, .utilbar, .fixedbar, .cta-band { display: none; }
}

/* ==========================================================================
   相談室（/soudan/）— 読み手は50〜70代とそのご家族。本文をやや大きめに。
   ========================================================================== */
.sd-body { font-size: 16.5px; line-height: 2.05; color: var(--c-ink); }
.sd-body p { margin-bottom: 20px; }
.sd-body h2 {
  font-family: var(--font-serif); font-size: 24px; font-weight: 600;
  line-height: 1.6; margin: 56px 0 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.sd-body h3 { font-size: 17.5px; font-weight: 700; margin: 34px 0 12px; color: var(--c-primary-dark); line-height: 1.7; }
.sd-body ul { margin: 0 0 22px; padding-left: 1.4em; list-style: disc; }
.sd-body ol { margin: 0 0 22px; padding-left: 1.6em; list-style: decimal; }
.sd-body ul.checklist, .sd-body ul.sd-worry { padding-left: 0; list-style: none; }
.sd-body li { margin-bottom: 10px; line-height: 1.95; }
.sd-body li::marker { color: var(--c-primary); }
.sd-body a:not(.btn):not(.btn-tel):not(.link-arrow):not(.sd-card) { color: var(--c-primary); }
.sd-mark { background: linear-gradient(transparent 62%, var(--c-primary-100) 62%); font-weight: 700; }

.sd-lead { font-size: 16px; line-height: 2; color: var(--c-ink-muted); margin: 0; }
.sd-meta { margin-top: 22px; font-size: 12.5px; color: var(--c-ink-faint); display: flex; flex-wrap: wrap; gap: 4px 20px; }

.sd-toc { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 22px 26px; margin: 32px 0 8px; box-shadow: var(--shadow-sm); }
.sd-toc p { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--c-primary-dark); margin: 0 0 10px; }
.sd-toc ol { margin: 0; padding-left: 1.4em; list-style: decimal; }
.sd-toc li { margin-bottom: 3px; font-size: 14.5px; line-height: 1.8; }
.sd-toc a { color: var(--c-ink-muted); text-decoration: none; }
.sd-toc a:hover { color: var(--c-primary); text-decoration: underline; }

.sd-answer { background: var(--c-primary-050); border-left: 4px solid var(--c-primary); border-radius: var(--r-md); padding: 24px 28px; margin: 0 0 24px; }
.sd-answer p:last-child { margin-bottom: 0; }

.sd-myth { border-top: 1px solid var(--c-line); padding: 22px 0 4px; }
.sd-myth:first-of-type { border-top: none; }
.sd-myth h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--c-ink); margin: 0 0 10px; }
.sd-myth h3::before { content: "よくある誤解"; display: inline-block; font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--c-accent); background: var(--c-accent-050); padding: 3px 9px; border-radius: var(--r-sm); margin-right: 12px; vertical-align: 3px; }
.sd-myth p { font-size: 15.5px; color: var(--c-ink-muted); margin-bottom: 8px; }

.sd-cause, .sd-reason { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 22px 26px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.sd-num { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: #fff; background: var(--c-primary); padding: 3px 10px; border-radius: var(--r-sm); margin-bottom: 10px; }
.sd-cause h3, .sd-reason h3 { margin: 0 0 8px; font-size: 18px; font-family: var(--font-serif); font-weight: 600; color: var(--c-ink); }
.sd-cause p, .sd-reason p { font-size: 15.5px; color: var(--c-ink-muted); margin-bottom: 12px; }
.sd-cause p:last-child, .sd-reason p:last-child { margin-bottom: 0; }

.sd-split { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 680px) { .sd-split { grid-template-columns: 1fr 1fr; } }
.sd-box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 22px 24px; }
.sd-box--inc { border-top: 3px solid var(--c-primary); }
.sd-box--exc { border-top: 3px solid var(--c-accent); }
.sd-box h3 { margin: 0 0 12px; font-size: 16px; }
.sd-box--inc h3 { color: var(--c-primary-dark); }
.sd-box--exc h3 { color: var(--c-accent-dark); }
.sd-box ul { margin: 0; padding-left: 1.3em; font-size: 14.5px; list-style: disc; }
.sd-box li { color: var(--c-ink-muted); }
.sd-box small { display: block; font-size: 12.5px; color: var(--c-ink-faint); line-height: 1.7; margin-top: 2px; }

.sd-faq { border-bottom: 1px solid var(--c-line); padding: 20px 0; }
.sd-faq:last-of-type { border-bottom: none; }
.sd-faq h3 { display: flex; gap: 12px; font-size: 16.5px; margin: 0 0 10px; color: var(--c-ink); }
.sd-faq h3 b { color: var(--c-primary); flex: none; font-weight: 700; }
.sd-faq p { display: flex; gap: 12px; font-size: 15.5px; color: var(--c-ink-muted); margin: 0; }
.sd-faq p b { color: var(--c-accent); flex: none; font-weight: 700; }

.sd-stance { background: var(--c-primary); color: #fff; border-radius: var(--r-lg); padding: 32px 34px; margin: 40px 0; }
.sd-stance h2 { color: #fff; border: none; padding: 0; margin: 0 0 14px; font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.sd-stance p { font-size: 15.5px; line-height: 2; margin-bottom: 14px; color: rgba(255,255,255,.94); }
.sd-stance p:last-child { margin-bottom: 0; }
.sd-stance strong { color: #fff; }

.sd-fig { margin: 0 0 24px; }
.sd-fig img { width: 100%; height: auto; border-radius: var(--r-md); display: block; border: 1px solid var(--c-line); }
.sd-fig figcaption { font-size: 12.5px; color: var(--c-ink-faint); margin-top: 8px; line-height: 1.7; }

.sd-cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .sd-cards { grid-template-columns: 1fr 1fr; } }
.sd-card { display: block; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px 26px; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: .2s; }
.sd-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sd-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--c-ink); line-height: 1.6; }
.sd-card p { font-size: 14px; line-height: 1.9; color: var(--c-ink-muted); margin: 0 0 12px; }
.sd-card span { font-size: 13px; font-weight: 600; color: var(--c-primary); }

.sd-worry { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.sd-worry li { list-style: none; margin: 0; font-size: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 8px 16px; color: var(--c-ink-muted); }

.sd-disclosure { margin-top: 44px; padding: 24px 26px; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--r-md); font-size: 13px; line-height: 1.9; color: var(--c-ink-muted); }
.sd-disclosure h3 { font-size: 13px; color: var(--c-ink); margin: 0 0 10px; }
.sd-disclosure p { margin-bottom: 9px; }
.sd-disclosure ul { margin: 0 0 9px; padding-left: 1.3em; font-size: 12.5px; list-style: disc; }
.sd-disclosure li { margin-bottom: 3px; }

/* 相談室：列数の多い表は横スクロールさせる（ページ本体は横に流さない） */
.sd-scroll { overflow-x: auto; margin-bottom: 22px; -webkit-overflow-scrolling: touch; }
.sd-scroll .price-table { margin-bottom: 0; }
.sd-scroll--wide .price-table { min-width: 560px; }
.sd-scroll--mid .price-table { min-width: 460px; }

/* ---- LINE で相談・予約 ---- */
.line-card {
  background: #fff; border: 1px solid var(--c-line); border-top: 3px solid #06C755;
  border-radius: var(--r-md); padding: 26px 28px; margin: 28px 0;
  box-shadow: var(--shadow-sm); text-align: center;
}
.line-card h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; margin: 0 0 10px; color: var(--c-ink); }
.line-card p { font-size: 14.5px; line-height: 1.95; color: var(--c-ink-muted); margin: 0 0 20px; max-width: 46em; margin-inline: auto; }
.line-card .btn { margin-bottom: 10px; }
.line-card small { display: block; font-size: 12.5px; color: var(--c-ink-faint); line-height: 1.8; }
.sd-body .line-card p { margin-bottom: 20px; }

/* ---- LINE予約の4ステップ ---- */
.line-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; text-align: left; }
@media (min-width: 700px) { .line-steps { grid-template-columns: repeat(4, 1fr); } }
.line-steps li {
  list-style: none; margin: 0; background: var(--c-bg-soft); border: 1px solid var(--c-line);
  border-radius: var(--r-sm); padding: 14px 14px 13px; font-size: 13px; line-height: 1.7; color: var(--c-ink-muted);
}
.line-steps b {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: #fff; background: #06C755; border-radius: var(--r-sm); padding: 2px 8px; margin-bottom: 7px;
}
.line-qr { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--c-line); }
.line-qr img { width: 150px; height: 150px; display: block; margin: 0 auto 8px; border-radius: var(--r-sm); }
.line-qr p { font-size: 12.5px; color: var(--c-ink-faint); margin: 0; }
@media (max-width: 640px) { .line-qr { display: none; } }
.line-card .tel-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-ink-muted); }
.line-card .tel-alt a { font-weight: 700; font-size: 17px; color: var(--c-accent); text-decoration: none; }
