/* =========================================================
   国分寺駅おなかのカメラクリニック — リデザイン ドラフト v2
   現状サイトの世界観（白基調・写真主体・やわらかいローズ・余白）に寄せた構成
   ========================================================= */

/* ページ間のなめらかな切替（対応ブラウザのみ。クリック時のカクつき軽減） */
@view-transition { navigation: auto; }

:root {
  --brand:        #9b103f;   /* えんじ（差し色・ロゴ色） */
  --brand-dark:   #7c0d32;
  --rose:         #e7afc6;   /* やわらかいピンク */
  --rose-bg:      #fbeef3;   /* 淡いピンク背景 */
  --rose-bg-2:    #f7e3ea;
  --accent:       #937960;   /* 温かみのあるトープ */

  --ink:          #38312d;   /* 本文 */
  --ink-soft:     #6b615b;
  --muted:        #9a8f88;
  --line:         #eee6e1;

  --bg:           #ffffff;
  --bg-soft:      #faf7f4;

  --radius:       14px;
  --radius-lg:    22px;
  --shadow-sm:    0 1px 8px rgba(56,49,45,.05);
  --shadow:       0 18px 50px -28px rgba(56,49,45,.30);

  --container:    1120px;
  --gutter:       clamp(20px, 5vw, 44px);

  --ff-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-head: "Zen Kaku Gothic New", var(--ff-sans);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
/* オフキャンバスのメニュー（画面外に待機）が横スクロールを生まないようにクリップ */
body { overflow-x: clip; }
body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: .03em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }

/* セクション見出し（日本語主体・小さな差し色） */
.heading { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.heading h1, .heading h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  letter-spacing: .08em;
}
.heading h1 { margin: 0; }
.heading h1 .en, .heading h2 .en {
  display: block; font-family: var(--ff-head); font-weight: 500;
  font-size: .8rem; letter-spacing: .26em; color: var(--brand);
  margin-bottom: .9em; text-transform: uppercase;
}
.heading h1 .en::after, .heading h2 .en::after { content: ""; display: block; width: 30px; height: 2px; background: var(--rose); margin: .9em auto 0; }
.heading .lead { color: var(--ink-soft); margin-top: 1.1em; font-size: 1rem; }

/* ボタン（フラット・やわらかい） */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 2em; border-radius: 8px;
  font-family: var(--ff-head); font-weight: 700; font-size: .96rem; letter-spacing: .08em;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--rose { background: var(--rose); color: var(--brand-dark); }
.btn--rose:hover { background: #dd9bb6; transform: translateY(-2px); }
.btn--outline { background: #fff; color: var(--brand); border: 1px solid var(--rose); }
.btn--outline:hover { background: var(--rose-bg); transform: translateY(-2px); }
.btn--lg { padding: 1.05em 2.4em; font-size: 1.02rem; }
.btn--wide { min-width: 240px; }

/* =========================================================
   ヘッダー（ロゴ中央寄せ + 横並び日本語ナビ）
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__bar-inner { display: flex; align-items: center; gap: clamp(1em, 2.4vw, 2em); padding-block: 12px; }
.brand img { width: clamp(144px, 15vw, 184px); }
.header__contact { margin-left: auto; text-align: right; line-height: 1.35; }
.header__contact .tel { font-family: var(--ff-head); font-weight: 700; font-size: 1.16rem; color: var(--brand); letter-spacing: .04em; white-space: nowrap; }
.header__contact .tel svg { width: .9em; height: .9em; display: inline-block; vertical-align: -1px; margin-right: .2em; }
.header__contact .sub { font-size: .72rem; color: var(--muted); }
.header__rsv { display: inline-flex; flex-shrink: 0; }

/* ナビは2段目の独立行（折り返し禁止で横並び） */
.header__nav { border-top: 1px solid var(--line); }
.header__nav .nav__list { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: clamp(.5em, 1.9vw, 2.2em); padding-block: .55em; }
.nav__link {
  font-family: var(--ff-head); font-weight: 500; font-size: .95rem; color: var(--ink);
  padding: .55em .1em; position: relative; white-space: nowrap;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15em; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .26s var(--ease); }
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__drawer-cta { display: none; }
.nav-toggle { display: none; }

/* メガメニュー（ドロップダウン） */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__parent { display: inline-flex; align-items: center; gap: .3em; cursor: pointer; font-family: var(--ff-head); font-weight: 500; font-size: .95rem; color: var(--ink); padding: .55em .1em; background: none; white-space: nowrap; }
.nav__parent:hover { color: var(--brand); }
.nav__parent .caret { width: .5em; height: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -.2em 0 0 .15em; transition: transform .2s; }
/* 親とサブメニューの隙間を埋める透明ブリッジ（マウスが渡れるように） */
.nav__item.has-sub::after { content: ""; position: absolute; left: -12px; right: -12px; top: 100%; height: 18px; }
.submenu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .5em; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 120; }
.nav__item.has-sub:hover .submenu, .nav__item.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu li a { display: block; padding: .6em .9em; border-radius: 9px; font-size: .9rem; font-family: var(--ff-head); font-weight: 500; white-space: nowrap; color: var(--ink); }
.submenu li a:hover { background: var(--rose-bg); color: var(--brand-dark); }
.nav__link.is-current, .submenu a.is-current { color: var(--brand); }

@media (max-width: 980px) {
  .nav__item { display: block; }
  .nav__item.has-sub::after { display: none; }
  .nav__parent { width: 100%; justify-content: space-between; padding: 1em .2em; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: .2em 0 .6em .9em; min-width: 0; display: none; }
  /* PC用の hover/focus 時の translateX(-50%) を打ち消す（詳細度を揃えてモバイルで横ズレ防止） */
  .nav__item.has-sub:hover .submenu, .nav__item.has-sub:focus-within .submenu { transform: none; left: auto; }
  .nav__item.has-sub.is-open .submenu { display: block; }
  .nav__item.has-sub.is-open .nav__parent .caret { transform: rotate(-135deg); margin-top: .1em; }
}

/* 右端固定の WEB予約タブ（PC） */
.side-rsv {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 95;
  writing-mode: vertical-rl; background: var(--rose); color: var(--brand-dark);
  font-family: var(--ff-head); font-weight: 700; letter-spacing: .2em;
  padding: 1.3em .7em; border-radius: 10px 0 0 10px; box-shadow: var(--shadow-sm);
  transition: background .25s;
}
.side-rsv:hover { background: #dd9bb6; }
/* タッチ端末（スマホ・タブレット）では幅に関わらず側面タブを非表示。PCサイト表示でも確実に消す */
@media (pointer: coarse) { .side-rsv { display: none !important; } }

/* =========================================================
   ヒーロー（全幅写真 + 下に2カラム導入）
   ========================================================= */
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 9px; }
.hero__dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.6); border: 1px solid rgba(155,16,63,.3); }
.hero__dots span.is-active { background: var(--brand); }

.intro { padding-block: clamp(48px, 7vw, 92px); }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro__title { font-size: clamp(1.7rem, 3.8vw, 2.7rem); line-height: 1.55; letter-spacing: .06em; }
.intro__title .accent { color: var(--brand); }
.intro__title .em { background: linear-gradient(transparent 66%, var(--rose-bg-2) 0); padding: 0 .1em; }
.intro__body p { color: var(--ink-soft); }
.intro__body p + p { margin-top: 1.2em; }
.intro__body .btn { margin-top: 1.8em; }

/* クイック導線（4アイコン） */
.quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.quicklinks a { background: #fff; display: flex; flex-direction: column; align-items: center; gap: .6em; padding: clamp(20px, 3vw, 34px) 1em; transition: background .25s; }
.quicklinks a:hover { background: var(--rose-bg); }
.quicklinks .ico { width: 46px; height: 46px; color: var(--brand); }
.quicklinks .ico svg { width: 100%; height: 100%; stroke-width: 1.4; }
.quicklinks .lbl { font-family: var(--ff-head); font-weight: 700; font-size: .98rem; }
.quicklinks .en { font-size: .68rem; color: var(--muted); letter-spacing: .14em; }

/* =========================================================
   当院の特徴（写真カード3枚）
   ========================================================= */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 30px); }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fcard:hover { box-shadow: var(--shadow-sm); }
.fcard__media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fcard__media img { transition: transform .6s var(--ease); }
.fcard__no { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--brand); font-family: var(--ff-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; padding: .3em .9em; border-radius: 999px; }
.fcard__body { padding: clamp(20px, 2.4vw, 28px); }
.fcard__body h3 { font-size: 1.18rem; color: var(--brand-dark); }
.fcard__body p { color: var(--ink-soft); font-size: .93rem; margin-top: .6em; }
.fcard__body .note { display: block; margin-top: .5em; font-size: .8rem; color: var(--brand); }
/* 数値カード（件数など）：塗りで意図をはっきり */
.stat-card { background: var(--rose-bg); border: 1px solid var(--rose-bg-2); box-shadow: none; }
.stat-card:hover { box-shadow: none; }

/* =========================================================
   診療案内（カードグリッド・白基調）
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.scard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.scard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rose); }
.scard__media { aspect-ratio: 16/10; overflow: hidden; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.03); }
.scard__media--illust { background: var(--rose-bg); }
.scard__media--illust svg { width: 100%; height: 100%; display: block; }
.scard__body { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; flex: 1; }
.scard__body h3 { font-size: 1.18rem; color: var(--brand-dark); display: flex; align-items: baseline; gap: .5em; }
.scard__body h3 .en { font-size: .66rem; color: var(--accent); font-weight: 500; letter-spacing: .12em; }
.scard__body p { color: var(--ink-soft); font-size: .92rem; margin-top: .6em; flex: 1; }
.scard__link { display: inline-flex; align-items: center; gap: .45em; margin-top: 1.1em; font-family: var(--ff-head); font-weight: 700; font-size: .88rem; color: var(--brand); }
.scard__link svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.scard:hover .scard__link svg { transform: translateX(4px); }
.scard__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8em 1.1em; margin-top: 1.1em; }
.scard__actions .scard__link { margin-top: 0; }
.scard__rsv { display: inline-flex; align-items: center; gap: .35em; background: var(--rose); color: var(--brand-dark); font-family: var(--ff-head); font-weight: 700; font-size: .8rem; padding: .5em 1.05em; border-radius: 999px; transition: background .2s, transform .2s var(--ease); }
.scard__rsv svg { width: 1em; height: 1em; }
.scard__rsv:hover { background: #dd9bb6; transform: translateY(-2px); }

/* =========================================================
   症状・疾患からさがす（記事への導線）
   ========================================================= */
.find__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 48px); }
.find__group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 2.8vw, 36px); }
.find__group h3 { display: flex; align-items: center; gap: .6em; font-size: 1.2rem; color: var(--brand-dark); margin-bottom: 1.1em; padding-bottom: .7em; border-bottom: 1px solid var(--line); }
.find__group h3 .ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--rose-bg); border-radius: 10px; color: var(--brand); }
.find__group h3 .ico svg { width: 20px; height: 20px; }
.find__group h3 .en { margin-left: auto; font-size: .66rem; font-weight: 500; letter-spacing: .14em; color: var(--muted); }
.find__tags { display: flex; flex-wrap: wrap; gap: .6em; }
.find__tag {
  display: inline-flex; align-items: center; gap: .35em;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: .5em 1.1em; font-size: .9rem; color: var(--ink);
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.find__tag svg { width: .9em; height: .9em; color: var(--rose); transition: color .2s, transform .2s var(--ease); }
.find__tag:hover { background: var(--rose-bg); border-color: var(--rose); color: var(--brand-dark); transform: translateY(-2px); }
.find__tag:hover svg { color: var(--brand); transform: translateX(2px); }

@media (max-width: 980px) { .find__cols { grid-template-columns: 1fr; } }

/* =========================================================
   院長メッセージ
   ========================================================= */
.doctor { background: var(--rose-bg); }
.doctor__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.doctor__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.doctor__quote { font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.7; letter-spacing: .05em; }
.doctor__quote .accent { color: var(--brand); }
.doctor__name { margin-top: 1.4em; }
.doctor__name .role { font-size: .84rem; color: var(--ink-soft); letter-spacing: .08em; }
.doctor__name .name { font-family: var(--ff-head); font-size: 1.4rem; margin-top: .25em; }
.doctor__name .name small { font-size: .58em; color: var(--ink-soft); margin-left: .6em; letter-spacing: .18em; }

/* =========================================================
   お知らせ
   ========================================================= */
.news__list { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.news__item { display: flex; flex-wrap: wrap; align-items: center; gap: 1em; padding: 1.25em .3em; border-bottom: 1px solid var(--line); transition: color .2s; }
.news__item:hover { color: var(--brand); }
.news__date { font-family: var(--ff-head); font-weight: 700; color: var(--muted); font-size: .88rem; min-width: 92px; letter-spacing: .04em; }
.news__cat { font-size: .72rem; color: #fff; background: var(--accent); border-radius: 999px; padding: .25em .95em; font-family: var(--ff-head); }
.news__cat[data-cat="休診"] { background: var(--brand); }
.news__title { flex: 1; min-width: 220px; font-size: .96rem; }
.news__more { text-align: center; margin-top: 2.4em; }

/* =========================================================
   よくある質問（AEO / FAQ）
   ========================================================= */
.faq__list { max-width: 840px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8em; overflow: hidden; transition: border-color .2s; }
.faq__item[open] { border-color: var(--rose); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .7em; padding: 1.1em 1.2em; font-family: var(--ff-head); font-weight: 700; font-size: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .q { color: var(--brand); font-size: 1.05em; flex: none; }
.faq__item summary .ico { margin-left: auto; flex: none; width: 1.1em; height: 1.1em; color: var(--brand); transition: transform .3s var(--ease); }
.faq__item[open] summary .ico { transform: rotate(45deg); }
.faq__a { padding: 0 1.2em 1.2em calc(1.2em + 1.6em); color: var(--ink-soft); font-size: .95rem; }
.faq__a a { color: var(--brand); font-weight: 700; }

/* 常時表示のQ&A（院長インタビュー等・隠さず読ませる） */
.qa { max-width: 860px; margin-inline: auto; }
.qa__item { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 1.3em 1.5em; margin-bottom: 1em; }
.qa__q { font-family: var(--ff-head); font-weight: 700; color: var(--brand-dark); display: flex; gap: .55em; align-items: baseline; font-size: 1.05rem; line-height: 1.6; }
.qa__q .q { color: var(--brand); font-size: 1.1em; flex: none; }
.qa__a { color: var(--ink-soft); margin-top: .7em; }

/* 採用：募集要項テーブル（常時表示・省略なし） */
.spec { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec th, .spec td { text-align: left; padding: .9em 1.2em; border: 1px solid var(--line); font-size: .93rem; vertical-align: top; line-height: 1.7; }
.spec th { background: var(--rose-bg); font-family: var(--ff-head); font-weight: 700; white-space: nowrap; width: 12em; color: var(--brand-dark); }
.spec td { color: var(--ink-soft); }
@media (max-width: 560px) {
  .spec, .spec tbody, .spec tr { display: block; }
  .spec th, .spec td { display: block; width: auto; border: 0; }
  .spec th { border-radius: 0; }
  .spec tr { border-bottom: 1px solid var(--line); }
  .spec tr:last-child { border-bottom: 0; }
  .spec td { padding-top: .4em; }
}
.job { margin-bottom: clamp(36px, 5vw, 56px); }
.job__head { display: flex; align-items: center; gap: .8em; flex-wrap: wrap; margin-bottom: .8em; }
.job__head h3 { font-size: 1.4rem; color: var(--brand-dark); }
.job__status { font-size: .78rem; font-family: var(--ff-head); font-weight: 700; padding: .25em .9em; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.job__lead { color: var(--ink-soft); margin-bottom: 1em; }

/* =========================================================
   下層ページ共通（胃カメラ・大腸カメラ 等）
   ========================================================= */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5em; padding: .9em 0; font-size: .8rem; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: .5em; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line); }
.breadcrumb a:hover { color: var(--brand); }

.page-hero { background: linear-gradient(180deg, var(--rose-bg), #fff); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,4vw,56px); align-items: center; padding-block: clamp(40px,6vw,72px); }
.page-hero__en { font-family: var(--ff-head); font-weight: 500; letter-spacing: .22em; color: var(--brand); font-size: .78rem; }
.page-hero h1 { font-size: clamp(1.8rem,4vw,2.8rem); line-height: 1.4; margin: .4em 0 .6em; }
.page-hero h1 .accent { color: var(--brand); }
.page-hero p { color: var(--ink-soft); }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: .8em; margin-top: 1.8em; }
@media (max-width: 800px) { .page-hero__cta { justify-content: center; } }
.page-hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }

.prose { max-width: 860px; }
.prose p { color: var(--ink-soft); margin-bottom: 1.2em; }
.prose h3 { font-size: 1.3rem; color: var(--brand-dark); margin: 1.6em 0 .7em; padding-left: .6em; border-left: 4px solid var(--rose); }
.lead-box { background: var(--rose-bg); border-radius: var(--radius-lg); padding: clamp(22px,3vw,32px); margin-bottom: 2em; }
.lead-box h3 { border: 0; padding: 0; margin: 0 0 .5em; }
.lead-box p { margin: 0; color: var(--ink); }

/* 検査の流れ（番号付きステップ） */
.steps { counter-reset: step; max-width: 820px; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.2em; padding-bottom: 1.6em; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.step__no { width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; z-index: 1; }
.step__body h4 { font-family: var(--ff-head); font-size: 1.1rem; color: var(--brand-dark); margin-bottom: .35em; padding-top: .5em; }
.step__body p { color: var(--ink-soft); font-size: .94rem; margin-bottom: .5em; }
.step__body .sub { font-size: .85rem; color: var(--muted); }

/* 注意ボックス */
.notebox { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.2em 1.4em; margin-bottom: 1.2em; }
.notebox h4 { font-family: var(--ff-head); color: var(--accent); margin-bottom: .5em; font-size: 1rem; }
.notebox p, .notebox li { color: var(--ink-soft); font-size: .92rem; }
.notebox ul { padding-left: 1.2em; list-style: disc; }
.notebox ul li { margin-bottom: .3em; }

/* 発見される疾患リンク */
.disease-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.disease-group h4 { font-family: var(--ff-head); color: var(--brand-dark); margin-bottom: .6em; font-size: 1rem; }
.disease-tags { display: flex; flex-wrap: wrap; gap: .5em; }
.disease-tags a, .disease-tags span { display: inline-flex; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; font-size: .85rem; color: var(--ink); transition: .2s; }
.disease-tags a:hover { background: var(--rose-bg); border-color: var(--rose); color: var(--brand-dark); }

/* 症状カテゴリ（カード型・バランス配置） */
.symptom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 26px); }
.symptom-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow-sm); }
.symptom-card h4 { font-family: var(--ff-head); color: var(--brand-dark); font-size: 1.12rem; margin-bottom: 1em; padding-bottom: .7em; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .6em; }
.symptom-card h4 .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--rose-bg); color: var(--brand); display: grid; place-items: center; flex: none; }
.symptom-card h4 .ico svg { width: 20px; height: 20px; }
.symptom-card .tags { display: flex; flex-wrap: wrap; gap: .55em; }
.symptom-card .tags span { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-size: .9rem; color: var(--ink); }
@media (max-width: 760px) { .symptom-grid { grid-template-columns: 1fr; } }

/* 料金表 */
.pricing { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); max-width: 760px; }
.pricing th, .pricing td { padding: .9em 1.1em; border: 1px solid var(--line); text-align: left; font-size: .95rem; vertical-align: middle; }
.pricing thead th { background: var(--rose-bg-2); color: var(--brand-dark); font-family: var(--ff-head); }
.pricing tbody th { background: var(--bg-soft); font-family: var(--ff-head); font-weight: 700; }
.pricing .price { font-family: var(--ff-head); font-weight: 700; color: var(--brand); white-space: nowrap; }
.pricing-note { font-size: .82rem; color: var(--muted); margin-top: 1em; }

@media (max-width: 880px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; max-width: 520px; }
  .disease-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   アクセス・診療時間
   ========================================================= */
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
.access__map iframe { width: 100%; aspect-ratio: 4/3.3; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.access__map-links { display: flex; gap: 1.2em; margin-top: .9em; }
.access__map-links a { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; font-family: var(--ff-head); font-weight: 700; color: var(--brand); }

.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); table-layout: fixed; }
.hours th, .hours td { text-align: center; padding: .8em .35em; border: 1px solid var(--line); font-size: .9rem; vertical-align: middle; }
.hours th:first-child, .hours td:first-child { width: 6.6em; }
.hours tbody td.o { position: relative; }
.hours thead th { background: var(--rose-bg-2); color: var(--brand-dark); font-family: var(--ff-head); font-weight: 700; }
.hours thead th.sun, .hours thead th.hol { color: var(--brand); }
.hours tbody th { background: var(--bg-soft); font-family: var(--ff-head); white-space: nowrap; font-weight: 700; font-size: .82rem; }
.hours .o { color: var(--brand); font-weight: 700; }
.hours .x { color: var(--muted); }

.info-list { margin-top: 1.5em; }
.info-list li { display: flex; gap: 1em; padding: .85em 0; border-bottom: 1px solid var(--line); }
.info-list .k { font-family: var(--ff-head); font-weight: 700; min-width: 84px; font-size: .9rem; }
.info-list .v { color: var(--ink-soft); font-size: .93rem; }
.info-list .v .tel { font-family: var(--ff-head); font-weight: 700; color: var(--brand); font-size: 1.12rem; }

/* アクセス：写真付き道順カード */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.route-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.route-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.route-card__body { padding: 1em 1.1em 1.2em; }
.route-card__step { display: inline-flex; align-items: center; gap: .5em; font-family: var(--ff-head); font-weight: 700; color: var(--brand-dark); font-size: .98rem; }
.route-card__step .n { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .82em; flex: none; }
.route-card__body p { font-size: .9rem; color: var(--ink-soft); margin-top: .55em; }

/* 動画埋め込み（16:9レスポンシブ） */
.video-embed { position: relative; width: 100%; max-width: 800px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-top: .9em; }
.video-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); max-width: 1000px; margin: 0 auto; }
.video-pair .video-embed { margin: 0; max-width: none; }
@media (max-width: 760px) { .video-pair { grid-template-columns: 1fr; } }
@media (max-width: 880px) { .route-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .route-grid { grid-template-columns: 1fr; } }
.note { font-size: .82rem; color: var(--muted); margin-top: 1.1em; }

/* =========================================================
   WEB予約 帯（ローズ・現状サイトの象徴セクション）
   ========================================================= */
.rsv-band { background: linear-gradient(180deg, var(--rose-bg), var(--rose-bg-2)); text-align: center; }
.rsv-band .en { font-family: var(--ff-head); font-weight: 500; letter-spacing: .26em; color: var(--brand); font-size: .8rem; }
.rsv-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-top: .5em; color: var(--brand-dark); }
.rsv-band p { color: var(--ink-soft); margin-top: 1em; }
.rsv-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9em; margin-top: 2em; }

/* =========================================================
   フッター（明るめ）
   ========================================================= */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 76px) 0 0; font-size: .9rem; color: var(--ink-soft); }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(26px, 4vw, 52px); padding-bottom: 44px; }
.footer__brand img { width: 196px; }
.footer__brand p { margin-top: 1.1em; line-height: 1.9; }
.footer__brand .tel { font-family: var(--ff-head); font-weight: 700; color: var(--brand); font-size: 1.12rem; }
.footer__col h4 { color: var(--ink); font-size: .9rem; letter-spacing: .06em; margin-bottom: 1em; padding-left: .6em; border-left: 3px solid var(--rose); }
.footer__col li { margin-bottom: .6em; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { text-align: center; padding: 1.5em 0; font-size: .76rem; color: var(--muted); border-top: 1px solid var(--line); }

/* =========================================================
   ご予約フォーム（reserve.html）
   ========================================================= */
.subhead { background: var(--rose-bg); padding: clamp(28px,4vw,44px) 0; text-align: center; }
.subhead h1 { font-size: clamp(1.5rem,3vw,2.1rem); color: var(--brand-dark); }
.subhead h1 .en { display: block; font-size: .7rem; letter-spacing: .26em; color: var(--brand); margin-bottom: .6em; }
.subhead p { color: var(--ink-soft); font-size: .95rem; margin-top: .8em; }

.reserve { padding: clamp(40px,6vw,76px) 0; }
.reserve__form { max-width: 720px; margin-inline: auto; }
.reserve__note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1em 1.2em; font-size: .86rem; color: var(--ink-soft); margin-bottom: 2.2em; }
.field { margin-bottom: 2.2em; }
.field__label { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; margin-bottom: .9em; display: flex; align-items: center; gap: .5em; }
.field__label .opt { font-size: .68rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: .15em .55em; font-weight: 500; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; }
.opt-card { position: relative; }
.opt-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-card label { display: flex; align-items: center; gap: .65em; padding: 1em 1.1em; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-family: var(--ff-head); font-weight: 700; font-size: .96rem; transition: border-color .2s, background .2s, color .2s; background: #fff; }
.opt-card label::before { content: ""; width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 50%; flex: none; transition: .2s; }
.opt-card input:checked + label { border-color: var(--brand); background: var(--rose-bg); color: var(--brand-dark); }
.opt-card input:checked + label::before { border-color: var(--brand); background: radial-gradient(var(--brand) 42%, transparent 46%); }
.opt-card input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
/* ご予約内容は複数選択可：チェックボックスは□＋✓で表現（きっかけ等のラジオは○のまま） */
.opt-card input[type="checkbox"] + label::before { border-radius: 5px; }
.opt-card input[type="checkbox"]:checked + label::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat; border-color: var(--brand); }
.field__input { width: 100%; padding: .9em 1em; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.field__input:focus { border-color: var(--brand); outline: none; }
.field__hint { font-size: .82rem; color: var(--muted); margin-top: .5em; }
.reserve__submit { text-align: center; margin-top: 2.4em; }
.reserve__skip { display: inline-block; margin-top: 1.2em; font-size: .9rem; color: var(--ink-soft); text-decoration: underline; }
.reserve__skip:hover { color: var(--brand); }
.reserve__after { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 1.4em; }

@media (max-width: 600px) { .opts { grid-template-columns: 1fr; } }

/* =========================================================
   記事ページ（症状・疾患）
   ========================================================= */
.arthead { background: linear-gradient(180deg, var(--rose-bg), #fff); border-bottom: 1px solid var(--line); }
.arthead__inner { max-width: 860px; margin-inline: auto; padding: clamp(28px,4vw,48px) 0; }
.artcat { display: inline-block; background: var(--brand); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: .76rem; padding: .35em 1.1em; border-radius: 999px; letter-spacing: .06em; }
.arttitle { font-size: clamp(1.7rem, 3.8vw, 2.6rem); line-height: 1.45; margin: .55em 0 .6em; color: var(--ink); }
.artmeta { display: flex; flex-wrap: wrap; gap: 1.4em; align-items: center; color: var(--muted); font-size: .85rem; }
.artmeta .supervisor { display: inline-flex; align-items: center; gap: .5em; color: var(--ink-soft); }
.artmeta .supervisor a { color: var(--brand); font-weight: 700; }
.supervisor__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* サービス交互ロー（内視鏡トップ等） */
.svc-rows { display: grid; gap: clamp(20px,3vw,34px); max-width: 980px; margin: 0 auto; }
.svc-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(18px,2.6vw,32px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.svc-row__media { align-self: stretch; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; min-height: 220px; max-height: 300px; }
.svc-row__body { padding: clamp(22px,2.8vw,34px); align-self: center; }
.svc-row__body h2 { font-size: clamp(1.25rem,2.4vw,1.55rem); color: var(--brand-dark); margin: 0 0 .2em; }
.svc-row__body .en { display: block; font-family: var(--ff-head); font-size: .78rem; letter-spacing: .1em; color: var(--rose-2,#c98aa6); margin-bottom: .6em; }
.svc-row__body p { color: var(--ink-soft); margin: 0 0 1em; }
.svc-row:nth-child(even) { grid-template-columns: 1fr 320px; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
@media (max-width: 760px) { .svc-row, .svc-row:nth-child(even) { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-row__media { order: 0; } .svc-row__media img { min-height: 190px; } }

/* 機器・画像グリッド */
.imgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 0 auto 2.2em; max-width: 920px; }
.imgrid figure { margin: 0; }
.imgrid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.imgrid figcaption { font-size: .76rem; color: var(--muted); text-align: center; margin-top: .5em; }
@media (max-width: 700px) { .imgrid { grid-template-columns: 1fr; } }

/* CAD EYE 図版（原寸比率・切り抜きなし。画像内にキャプションあり） */
.cadeye-fig { margin: 1.1em auto 1.8em; text-align: center; }
.cadeye-fig img { max-width: min(100%, 600px); height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 10px; }

/* 監修者カード（E-E-A-T） */
.author-card { display: flex; gap: clamp(16px,2.5vw,28px); align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-lg); padding: clamp(20px,2.6vw,30px); max-width: 860px; margin: 2.6em auto 0; box-shadow: var(--shadow-sm); }
.author-card__photo { flex: 0 0 auto; width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid var(--rose-bg); }
.author-card__body { min-width: 0; }
.author-card__label { font-family: var(--ff-head); font-size: .74rem; letter-spacing: .08em; color: var(--brand); font-weight: 700; }
.author-card__name { font-family: var(--ff-head); font-size: 1.22rem; font-weight: 700; color: var(--ink); margin: .15em 0 .15em; }
.author-card__name small { font-weight: 500; color: var(--muted); font-size: .66em; margin-left: .5em; letter-spacing: .04em; }
.author-card__role { font-size: .86rem; color: var(--ink-soft); }
.author-card__creds { display: flex; flex-wrap: wrap; gap: .45em; margin: .8em 0; }
.author-card__creds span { background: var(--rose-bg); color: var(--brand-dark); font-size: .72rem; padding: .32em .85em; border-radius: 999px; }
.author-card__link { display: inline-block; font-size: .83rem; font-weight: 700; color: var(--brand); }
.author-card__link:hover { text-decoration: underline; }
@media (max-width: 600px) { .author-card { flex-direction: column; text-align: center; } .author-card__creds { justify-content: center; } }
.article-body { max-width: 860px; margin-inline: auto; }
.article-body > p { color: var(--ink-soft); margin-bottom: 1.2em; }
.article-body h2 { font-size: clamp(1.3rem,2.6vw,1.6rem); color: var(--brand-dark); margin: 2em 0 .8em; padding: 0 0 .5em .7em; border-left: 5px solid var(--brand); border-bottom: 1px solid var(--line); }
.article-body h3 { font-size: 1.12rem; color: var(--brand-dark); margin: 1.4em 0 .5em; }
.article-body ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.article-body ul li { position: relative; padding-left: 1.4em; color: var(--ink-soft); margin-bottom: .6em; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: .55em; height: .55em; background: var(--rose); border-radius: 50%; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px,2.4vw,28px); margin-bottom: 2em; }
.toc h2 { font-family: var(--ff-head); font-size: 1.05rem; color: var(--brand-dark); margin: 0 0 .8em; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: .5em; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--brand); }
.article-related { display: grid; grid-template-columns: repeat(3,1fr); gap: 1em; }
.article-related a { display: flex; flex-direction: column; gap: .3em; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1em 1.2em; transition: border-color .2s, transform .2s var(--ease); }
.article-related a:hover { border-color: var(--rose); transform: translateY(-3px); }
.article-related .c { font-size: .72rem; color: var(--muted); font-family: var(--ff-head); }
.article-related .t { font-family: var(--ff-head); font-weight: 700; color: var(--brand-dark); }
@media (max-width: 700px) { .article-related { grid-template-columns: 1fr; } }

/* 追従要素 */
.fab-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.fab-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab-top:hover { background: var(--brand-dark); }
.mbar { display: none; }

/* スクロール演出（控えめ） */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 980px) {
  .intro__grid, .access__grid, .doctor__grid { grid-template-columns: 1fr; }
  .doctor__photo { max-width: 340px; }
  .features { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero__media img { aspect-ratio: 16/10; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .side-rsv { display: none; }
}

@media (max-width: 980px) {
  /* backdrop-filter は fixed の含有ブロックを作り、ドロワーがヘッダー内に閉じ込められて短くなる。
     モバイルでは無効化し、ドロワーを画面全体基準（全高）に戻す */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .header__contact, .header__rsv { display: none; }
  .header__nav { border-top: 0; }
  .header__nav.nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 330px);
    background: #fff; box-shadow: -20px 0 60px -20px rgba(0,0,0,.3);
    transform: translateX(100%); transition: transform .4s var(--ease);
    padding: 84px 26px 32px; overflow-y: auto; z-index: 108;
  }
  .header__nav.nav.is-open { transform: none; }
  .header__nav .nav__list { display: block; padding-block: 0; }
  .nav__item { display: block; width: 100%; }
  .nav__item.has-sub { display: block; }
  .nav__link { display: block; width: 100%; padding: 1em .2em; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .submenu li a { padding: .85em .4em; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .submenu li:last-child a { border-bottom: 0; }
  .nav__drawer-cta { display: block; margin-top: 1.4em; }
  .nav__drawer-cta .btn { width: 100%; }
  .nav__link::after { display: none; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; background: var(--rose-bg); color: var(--brand); z-index: 110; }
  .nav-toggle span { position: relative; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: .3s; }
  .nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
  .nav-toggle.is-open span { background: transparent; }
  .nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(56,49,45,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 105; }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; background: #fff; box-shadow: 0 -8px 30px -12px rgba(0,0,0,.22); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5em; padding: 1em; font-family: var(--ff-head); font-weight: 700; font-size: .95rem; }
  .mbar a svg { width: 1.2em; height: 1.2em; }
  .mbar .mbar__rsv { background: var(--brand); color: #fff; }
  .fab-top { bottom: 74px; }
  body { padding-bottom: 56px; }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .quicklinks { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
}
