@charset "UTF-8";
/* ==========================================================================
   みどり野歯科クリニック ／ デジリスタ 制作デモ
   ※ cafe（明朝・緑）／construction（太ゴシック・濃紺・直線）とは別設計。
     余白を広く、角丸は中庸、淡いティール。診療時間と予約導線を最優先。
   ========================================================================== */

/* ---------- 1. トークン ---------- */
:root {
  --bg:        #f5faf9;
  --bg-2:      #e8f2f1;
  --bg-3:      #d8e9e7;
  --paper:     #ffffff;
  --ink:       #2b3a3a;
  --ink-2:     #5f7272;
  --ink-3:     #93a5a5;
  --brand:     #2f8480;   /* ティール */
  --brand-2:   #3c9b96;
  --brand-pale:#e3f0ef;
  --accent:    #e8896f;   /* コーラル（予約導線） */
  --accent-2:  #f0a189;
  --line:      #dbe8e6;
  --line-2:    #e9f2f1;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 1px 2px rgba(30,60,60,.04), 0 8px 26px rgba(30,60,60,.07);
  --shadow-lg: 0 2px 8px rgba(30,60,60,.06), 0 22px 54px rgba(30,60,60,.11);

  --wrap:      1140px;
  --wrap-nr:   800px;
  --gap:       clamp(18px, 2.8vw, 30px);
  --sec:       clamp(60px, 9.5vw, 124px);

  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --num:  "Jost", "Century Gothic", var(--sans);

  --hd-h: 76px;
}

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 2;
  letter-spacing: .04em; font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--accent); }
p { margin: 0 0 1.5em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.5em; padding-left: 1.4em; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.55; letter-spacing: .05em; margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. レイアウト ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--nr { width: min(100% - 40px, var(--wrap-nr)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--bg-2); }
.sec--pale { background: var(--paper); }

/* セクション見出し：中央・細い縦罫＋英字（cafeの明朝ともconstructionの番号バッジとも別） */
.shead { text-align: center; margin-bottom: clamp(34px, 5vw, 58px); }
.shead__en { display: block; font-family: var(--num); font-size: 12px; letter-spacing: .3em; color: var(--brand); text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.shead__ja { font-size: clamp(22px, 3.2vw, 32px); }
.shead__ja::after { content: ""; display: block; width: 40px; height: 3px; background: var(--accent); border-radius: 2px; margin: 20px auto 0; }
.shead__lead { margin-top: 20px; color: var(--ink-2); font-size: 15px; }
.shead--left { text-align: left; }
.shead--left .shead__ja::after { margin-inline: 0; }

.hd2 { font-size: clamp(20px, 2.7vw, 26px); margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--brand-pale); }
.hd3 { font-size: 17px; margin-bottom: 12px; color: var(--brand); display: flex; align-items: center; gap: 10px; }
.hd3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- 4. パーツ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 36px; background: var(--brand); color: #fff; border: 2px solid var(--brand);
  border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: .08em;
  box-shadow: 0 6px 18px rgba(47,132,128,.2);
  transition: background .2s, border-color .2s, transform .18s, box-shadow .2s;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(47,132,128,.26); }
.btn--accent { background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 18px rgba(232,137,111,.25); }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--brand); box-shadow: none; }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: 11px 24px; font-size: 13.5px; }
.btn--wide { width: 100%; max-width: 360px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btns--center { justify-content: center; }

/* 診療時間表（このサイトの主役） */
.hours { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.hours th, .hours td { padding: 14px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.hours thead th { background: var(--brand); color: #fff; font-weight: 700; letter-spacing: .06em; font-size: 14px; }
.hours thead th:first-child { text-align: left; padding-left: 18px; }
.hours tbody th { text-align: left; padding-left: 18px; white-space: nowrap; font-weight: 500; color: var(--ink); background: var(--bg-2); }
.hours td { color: var(--brand); font-size: 17px; font-weight: 700; }
.hours td.is-off { color: var(--ink-3); font-weight: 400; }
.hours__note { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; line-height: 1.9; }

/* 診療案内カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card { background: var(--paper); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.card__ico { width: 52px; height: 52px; color: var(--brand); margin-bottom: 18px; }
.card__t { font-size: 18px; margin-bottom: 12px; }
.card__d { font-size: 14.5px; color: var(--ink-2); line-height: 1.95; margin: 0; }
.card__tag { display: inline-block; font-size: 11.5px; letter-spacing: .08em; background: var(--brand-pale); color: var(--brand); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.card__tag--free { background: #fdeee9; color: #c2694f; }

/* 画像＋文章 */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.media + .media { margin-top: clamp(52px, 7vw, 92px); }
.media--rev .media__fig { order: 2; }
.media__fig { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-3); }
.media__en { display: block; font-family: var(--num); font-size: 12px; letter-spacing: .26em; color: var(--brand); margin-bottom: 12px; }
.media__t { font-size: clamp(20px, 2.7vw, 27px); margin-bottom: 18px; }
.media__d { color: var(--ink-2); font-size: 15px; }

/* 自由診療の費用表（費用・期間・リスクをセットで） */
.jihi { display: grid; gap: 20px; }
.jihi__i { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.jihi__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; background: var(--brand-pale); padding: 16px 22px; }
.jihi__n { font-size: 17px; font-weight: 700; color: var(--ink); }
.jihi__p { font-size: 20px; font-weight: 700; color: var(--brand); margin-left: auto; }
.jihi__p small { font-size: 12px; font-weight: 400; color: var(--ink-2); margin-left: .3em; }
.jihi__b { padding: 22px 22px 24px; }
.jihi__row { display: grid; grid-template-columns: 7.5em 1fr; gap: 4px 16px; font-size: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.jihi__row:last-child { border-bottom: 0; }
.jihi__k { color: var(--ink-3); font-size: 13px; }
.jihi__v { color: var(--ink-2); line-height: 1.9; }
.jihi__v--risk { color: var(--ink); }

/* ステップ */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 24px 26px 24px 78px; position: relative; box-shadow: var(--shadow); }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 24px; top: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-family: var(--num); font-weight: 700; font-size: 16px;
}
.steps__t { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.steps__d { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.9; }

/* テーブル */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { width: 8.5em; font-weight: 700; color: var(--brand); white-space: nowrap; }
.tbl td { color: var(--ink-2); }

/* 注記 */
.note { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; font-size: 13.5px; color: var(--ink-2); line-height: 1.95; }
.note > :last-child { margin-bottom: 0; }
.note--brand { border-left-color: var(--brand); }

.capbox { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.capbox__t { background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .06em; padding: 14px 22px; margin: 0; }
.capbox__b { padding: 24px 22px; font-size: 14.5px; color: var(--ink-2); }
.capbox__b > :last-child { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__i { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq__q { display: flex; align-items: flex-start; gap: 14px; padding: 20px 50px 20px 22px; position: relative; font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "Q"; font-family: var(--num); font-size: 17px; color: var(--accent); flex: none; }
.faq__q::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s; }
.faq__i[open] .faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { display: flex; gap: 14px; padding: 0 50px 22px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }
.faq__a::before { content: "A"; font-family: var(--num); font-size: 17px; color: var(--brand); flex: none; }
.faq__a > :last-child { margin-bottom: 0; }

/* ---------- 5. ヘッダー / フッター ---------- */
.demobar { background: #26403f; color: #dcece9; font-size: 12.5px; line-height: 1.75; padding: 9px 20px; text-align: center; }
.demobar p { margin: 0; display: inline; }
.demobar strong { color: #f5b79f; font-weight: 700; }
.demobar a { color: #f5b79f; text-decoration: underline; text-underline-offset: 3px; margin-left: .6em; white-space: nowrap; }
.demobar a:hover { color: #fff; }
.demobar__ex { display: block; font-size: 11.5px; color: #9dbcb8; margin-top: 3px; }

.hd { position: sticky; top: 0; z-index: 80; background: rgba(245,250,249,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd__in { width: min(100% - 32px, 1240px); margin-inline: auto; height: var(--hd-h); display: flex; align-items: center; gap: 18px; }
.hd__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); }
.hd__mark { width: 42px; height: 42px; flex: none; }
.hd__name { font-size: 18px; font-weight: 700; letter-spacing: .06em; line-height: 1.25; display: block; }
.hd__sub { font-size: 10.5px; letter-spacing: .16em; color: var(--ink-3); display: block; margin-top: 3px; }

.gnav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.gnav a { font-size: 14px; font-weight: 500; color: var(--ink); position: relative; padding-block: 8px; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--accent); }

.hd__tel { text-align: right; line-height: 1.2; }
.hd__tel a { font-family: var(--num); font-size: 21px; font-weight: 700; color: var(--brand); letter-spacing: .03em; }
.hd__tel small { display: block; font-size: 10.5px; color: var(--ink-3); }

.burger { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 70; background: var(--bg); padding: 26px 28px 40px; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto; visibility: hidden; }
.drawer[data-open="true"] { transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 28px; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer li a { display: flex; align-items: baseline; gap: 14px; padding: 18px 4px; font-size: 17px; font-weight: 700; color: var(--ink); }
.drawer li a small { font-size: 10.5px; letter-spacing: .16em; color: var(--ink-3); font-weight: 400; }
.drawer__info { font-size: 13.5px; color: var(--ink-2); line-height: 2; margin-top: 26px; }

.crumb { font-size: 12.5px; color: var(--ink-3); padding: 16px 0; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumb a { color: var(--ink-2); }

.phead { background: var(--bg-2); padding-block: clamp(44px, 6.5vw, 78px); text-align: center; }
.phead__en { display: block; font-family: var(--num); font-size: 12px; letter-spacing: .3em; color: var(--brand); margin-bottom: 12px; }
.phead__ja { font-size: clamp(25px, 4vw, 37px); }
.phead__lead { margin-top: 20px; color: var(--ink-2); font-size: 15px; }

.ft { background: #26403f; color: #a9c2bf; padding-block: clamp(48px, 7vw, 74px) 0; font-size: 14px; }
.ft a { color: #cfe0dd; }
.ft a:hover { color: #f5b79f; }
.ft__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.ft__name { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: .06em; margin-bottom: 6px; }
.ft__sub { font-size: 11px; letter-spacing: .18em; color: #7d9a97; margin-bottom: 20px; }
.ft__addr { font-size: 13.5px; line-height: 2.1; margin: 0; }
.ft__h { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .08em; margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: 11px; font-size: 13.5px; }
.ft__bar { margin-top: clamp(34px, 5vw, 52px); border-top: 1px solid #35534f; padding-block: 22px 26px; font-size: 12px; color: #7d9a97; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.ft__credit a { text-decoration: underline; text-underline-offset: 3px; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(30,60,60,.08); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 11px 4px 13px; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.mbar a + a { background: var(--accent); color: #fff; }
.mbar svg { width: 19px; height: 19px; }

.totop { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s, visibility .3s, background .2s; box-shadow: 0 6px 18px rgba(47,132,128,.25); }
.totop[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--accent); }
.totop svg { width: 17px; height: 17px; }

/* ---------- 6. ページ個別 ---------- */
/* ヒーロー：中央寄せの見出し＋画像、直下に診療時間 */
.hero { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); padding-block: clamp(38px, 5.5vw, 68px) 0; text-align: center; }
.hero__t { font-size: clamp(25px, 4.2vw, 44px); line-height: 1.5; }
.hero__t span { display: block; color: var(--brand); }
.hero__d { margin: 24px auto 0; font-size: clamp(14px, 1.8vw, 16px); color: var(--ink-2); max-width: 34em; }
.hero__btns { margin-top: 32px; }
.hero__fig { margin: clamp(34px, 5vw, 54px) 0 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__pts { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 26px; font-size: 13px; color: var(--ink-2); }
.hero__pts span { display: flex; align-items: center; gap: 8px; }
.hero__pts svg { width: 17px; height: 17px; color: var(--brand); }

/* 診療時間ブロック */
.hoursbox { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 3.5vw, 38px); }
.hoursbox__t { font-size: 18px; margin-bottom: 20px; text-align: center; }

.info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.info__map { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }

.cta { background: var(--brand); color: #d7ebe9; text-align: center; padding-block: clamp(52px, 8vw, 92px); }
.cta__t { color: #fff; font-size: clamp(22px, 3.2vw, 31px); margin-bottom: 16px; }
.cta__d { color: #c2ddda; font-size: 15px; max-width: 36em; margin-inline: auto; margin-bottom: 32px; }
.cta .btn { background: var(--accent); border-color: var(--accent); }
.cta .btn:hover { background: #fff; border-color: #fff; color: var(--brand); }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.cta .btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }
.cta__tel { display: block; margin-top: 30px; }
.cta__tel a { color: #fff; font-family: var(--num); font-size: clamp(27px, 4.4vw, 37px); font-weight: 700; letter-spacing: .04em; }
.cta__tel small { display: block; font-size: 12.5px; color: #c2ddda; letter-spacing: .08em; margin-top: 4px; }

/* フォーム */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field__l { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.field__req { font-size: 10.5px; letter-spacing: .1em; background: var(--accent); color: #fff; padding: 3px 9px; border-radius: 3px; }
.field__opt { font-size: 10.5px; letter-spacing: .1em; background: var(--bg-3); color: var(--ink-2); padding: 3px 9px; border-radius: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,132,128,.14); }
.field__help { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.check input { width: 17px; height: 17px; margin-top: 5px; flex: none; accent-color: var(--brand); }

/* ---------- 7. 動き ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.9,.28,1); }
.rv.is-in { opacity: 1; transform: none; }
.rv--d1 { transition-delay: .1s; }
.rv--d2 { transition-delay: .2s; }
.rv--d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 8. レスポンシブ ---------- */
@media (max-width: 1080px) { .hd__tel { display: none; } .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .ft__top { grid-template-columns: 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } }
@media (max-width: 782px) {
  :root { --hd-h: 62px; }
  .gnav { display: none; }
  .burger { display: block; }
  .cards, .media, .info { grid-template-columns: 1fr; }
  .media--rev .media__fig { order: 0; }
  .mbar { display: grid; }
  body { padding-bottom: 62px; }
  .totop { bottom: 74px; right: 14px; }
  .demobar { font-size: 11.5px; text-align: left; }
  .demobar a { display: inline-block; margin-left: 0; }
  .ft__top { grid-template-columns: 1fr; }
  .hours { font-size: 13.5px; }
  .hours th, .hours td { padding: 12px 3px; }
  .hours td { font-size: 15px; }
  .hours tbody th, .hours thead th:first-child { padding-left: 10px; }
  .jihi__row { grid-template-columns: 1fr; gap: 2px; }
  .jihi__p { margin-left: 0; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .wrap, .wrap--nr { width: calc(100% - 32px); }
  .btn { padding: 15px 26px; }
  .btns .btn { width: 100%; max-width: none; }
  .card { padding: 26px 22px; }
  .steps li { padding: 22px 20px 22px 66px; }
  .steps li::before { left: 18px; top: 22px; }
}
@media print {
  .demobar, .hd, .mbar, .totop, .cta, .drawer { display: none !important; }
  body { background: #fff; padding: 0; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   9. 追加：院長紹介ページ / 求人ページ（2026-09-08 追加）
   ========================================================================== */

/* ヘッダー右側：求人リンク＋電話 */
.hd__side { display: flex; align-items: center; gap: 14px; }
.hd__recruit {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; white-space: nowrap;
  color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; background: var(--paper);
  transition: color .2s, border-color .2s, background .2s;
}
.hd__recruit:hover { color: #fff; background: var(--brand); border-color: var(--brand); }

/* 経歴の年表 */
.hist { list-style: none; margin: 0; padding: 0; }
.hist li {
  display: grid; grid-template-columns: 6.5em 1fr; gap: 4px 22px;
  padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.hist li:last-child { border-bottom: 0; }
.hist__y { font-family: var(--num); font-size: 16px; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.hist__d { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.9; }

/* 一問一答 */
.qa { display: grid; gap: 18px; }
.qa__i { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.qa__q { font-size: 16px; font-weight: 700; color: var(--brand); margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.qa__q::before { content: "—"; color: var(--accent); flex: none; }
.qa__a { font-size: 14.5px; color: var(--ink-2); line-height: 1.95; margin: 0; }

/* 働き方の数字 */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.nums__i { background: var(--paper); padding: 28px 14px; text-align: center; }
.nums__n { font-family: var(--num); font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; line-height: 1.05; color: var(--brand); }
.nums__n small { font-size: .4em; margin-left: .2em; font-weight: 500; color: var(--ink-2); font-family: var(--sans); }
.nums__l { font-size: 12.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.7; }

/* 募集要項 */
.job { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job + .job { margin-top: 24px; }
.job__h { background: var(--brand); color: #fff; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.job__t { font-size: 18px; font-weight: 700; }
.job__type { font-size: 12px; letter-spacing: .08em; background: rgba(255,255,255,.2); padding: 4px 12px; border-radius: 999px; }
.job__b { padding: 4px 24px 22px; }
.job__row { display: grid; grid-template-columns: 8em 1fr; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.job__row:last-child { border-bottom: 0; }
.job__k { font-size: 13.5px; font-weight: 700; color: var(--brand); }
.job__v { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.job__v strong { color: var(--ink); }

/* 向き・不向きの2カラム */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.fit__i { border-radius: var(--radius); padding: 28px 26px; }
.fit__i--yes { background: var(--brand-pale); border: 1px solid #bfdedb; }
.fit__i--no  { background: #fdf1ec; border: 1px solid #f2d3c7; }
.fit__t { font-size: 17px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.fit__i--yes .fit__t { color: var(--brand); }
.fit__i--no .fit__t { color: #b5643f; }
.fit ul { margin: 0; padding-left: 1.3em; font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }
.fit li + li { margin-top: 10px; }

@media (max-width: 1080px) { .hd__recruit { display: none; } }
@media (max-width: 900px) { .nums { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 782px) {
  .fit { grid-template-columns: 1fr; }
  .hist li { grid-template-columns: 1fr; gap: 2px; padding: 15px 0; }
  .job__row { grid-template-columns: 1fr; gap: 2px; }
  .job__b { padding: 4px 20px 20px; }
}
