/* DEMO皮膚科クリニック（7R のホームページの見本・区分 A＝医療。名前・場所・内容はすべて架空）
   方向：「レンズの中の肌」。皮膚科の道具のダーモスコープ（皮膚を拡大して見る道具）の丸いレンズの中に、肌のキメ（皮溝と皮丘の網目）を
         自作の WebGL で描き、横から当たる光がゆっくり回る。演出はこの1か所だけ。ほかは静かに、文字と余白で組む。
   色：白磁 #F4F6F4・墨緑 #1F2B27（文字）・千歳緑 #3B5A4E（ボタンと印）・白緑 #E4ECE7（面）・罫 #CBD6D0・光 #EBDAD2（演出だけ）。
   字体：端末の字体だけ（外から読み込まない）。見出しは明朝、本文はゴシック、時刻の数字は Optima（無い端末は Segoe UI など）。 */

:root {
  --paper: #F4F6F4;
  --white: #FFFFFF;
  --ink: #1F2B27;
  --ink-2: #4D5B56;
  --green: #3B5A4E;
  --green-d: #2B4439;
  --mist: #E4ECE7;
  --line: #CBD6D0;
  --blush: #EBDAD2;
  --foot: #1F2B27;
  --foot-ink: #E6ECE8;
  --foot-ink-2: #B9C6C0;

  --mincho: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "BIZ UDPMincho", "Noto Serif JP", serif;
  --gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", sans-serif;
  --num: "Optima", "Candara", "Segoe UI", "Hiragino Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--green); text-underline-offset: .28em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-d); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ib { display: inline-block; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--white); color: var(--ink); padding: 12px 18px; }
.skip:focus { top: 12px; }

.demo-band { background: var(--ink); color: var(--foot-ink); font-size: 13px; line-height: 1.6; padding: 9px 16px; text-align: center; letter-spacing: .04em; }

.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

/* ---------- 上の帯 ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(244, 246, 244, .96); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; flex: none; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--mincho); font-size: 19px; line-height: 1.25; letter-spacing: .08em; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--gothic); font-size: 11.5px; letter-spacing: .14em; color: var(--ink-2); }
.gnav { display: flex; margin-left: auto; }
.gnav a { display: flex; align-items: center; min-height: 44px; padding: 0 11px; color: var(--ink); text-decoration: none; font-size: 14.5px; white-space: nowrap; }
.gnav a:hover { color: var(--green); }
.gnav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green); }
.head-tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--green); border-radius: 999px; background: transparent; color: var(--green); cursor: pointer;
  font-family: var(--num); font-size: 16px; letter-spacing: .06em; white-space: nowrap;
}
.head-tel:hover { background: var(--green); color: var(--white); }
.head-tel svg { width: 16px; height: 16px; flex: none; }
.mnav { display: none; }

@media (max-width: 1100px) {
  .gnav { display: none; }
  .head-in { gap: 10px; min-height: 64px; }
  .head-tel { margin-left: auto; }
  .mnav { display: block; position: relative; }
  .mnav summary {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 14px;
    list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px;
  }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav summary .bars { width: 16px; height: 10px; border-block: 1.5px solid var(--ink); position: relative; }
  .mnav summary .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--ink); transform: translateY(-50%); }
  .mnav[open] summary { background: var(--mist); }
  .mnav-panel {
    position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px));
    background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 18px 40px -24px rgba(31, 43, 39, .5);
  }
  .mnav-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; color: var(--ink); text-decoration: none; border-radius: 12px; }
  .mnav-panel a[aria-current="page"] { background: var(--mist); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .brand svg { width: 28px; height: 28px; }
  .brand-name { font-size: 16px; letter-spacing: .04em; }
  .brand-name small { font-size: 10.5px; letter-spacing: .08em; }
  .head-tel { width: 44px; padding: 0; justify-content: center; font-size: 0; gap: 0; flex: none; }
  .head-tel svg { width: 19px; height: 19px; }
  .mnav summary { padding: 0; width: 44px; }
  .mnav summary .mnav-word { display: none; }
}

@media (max-width: 360px) {
  .brand svg { display: none; }
  .brand-name { font-size: 15px; letter-spacing: .02em; }
  .head-in { gap: 8px; }
}

/* ---------- 最初の画面：レンズの中の肌 ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.8s ease; }
.hero.gl-ready .hero-canvas { opacity: 1; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: center; gap: 56px;
  min-height: min(84vh, 760px); padding-block: 64px 72px;
}
.hero-text { max-width: 34em; }
.hero-title { font-weight: 400; }
.hero-name { display: block; font-family: var(--gothic); font-size: 15px; letter-spacing: .16em; color: var(--ink-2); }
.hero-say {
  display: block; margin-top: 22px;
  font-family: var(--mincho); font-weight: 500; font-size: clamp(31px, 4.1vw, 54px); line-height: 1.5; letter-spacing: .06em;
  font-feature-settings: "palt" 1;
}
.hero-say span { display: inline-block; }
.hero-lead { margin-top: 26px; font-size: 16.5px; line-height: 2; max-width: 30em; }

.today {
  margin-top: 30px; padding: 16px 20px 16px 22px; max-width: 31em;
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 0 14px 14px 0;
}
.today-head { font-size: 14px; color: var(--ink-2); letter-spacing: .06em; }
.today-body { margin-top: 2px; font-family: var(--num); font-size: 19px; letter-spacing: .04em; line-height: 1.6; }
.today-body .off { font-family: var(--gothic); font-size: 17px; }
.today-note { margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }

.hero-act { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-where { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }

.lens-slot { position: relative; width: min(100%, 540px); aspect-ratio: 1 / 1; justify-self: center; }
.lens-still, .lens-reticle { position: absolute; inset: 0; width: 100%; height: 100%; }
.lens-still { transition: opacity 1.8s ease; }
.hero.gl-ready .lens-still { opacity: 0; }
.lens-reticle { overflow: visible; }

@media (max-width: 1000px) and (min-width: 721px) {
  .hero-in { gap: 32px; min-height: 0; padding-block: 48px 56px; }
}
@media (max-width: 720px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding-block: 0 48px; }
  .lens-slot { order: -1; width: 300px; justify-self: end; margin: -64px -92px 4px 0; }
  .hero-text { position: relative; }
}
@media (max-width: 600px) {
  .hero-say { font-size: clamp(27px, 7.6vw, 34px); margin-top: 14px; }
  .hero-name { font-size: 13.5px; letter-spacing: .1em; }
  .hero-lead { font-size: 16px; margin-top: 18px; }
  .hero-act .btn { flex: 1 1 100%; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; font-size: 16px; letter-spacing: .06em; line-height: 1.3;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-main { background: var(--green); color: var(--white); }
.btn-main:hover { background: var(--green-d); color: var(--white); }
.btn-main .num { font-family: var(--num); font-size: 18px; letter-spacing: .06em; }
.btn-line { background: rgba(255, 255, 255, .7); border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--white); color: var(--ink); }

/* ---------- 区切りの組み方（左に見出し・右に中身） ---------- */
.sec { padding-block: 104px; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-white { background: var(--white); }
.sec-mist { background: var(--mist); }
.sec-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px 64px; }
.sec-title {
  font-family: var(--mincho); font-weight: 500; font-size: clamp(25px, 2.5vw, 32px); line-height: 1.5; letter-spacing: .1em;
}
.sec-title::before { content: ""; display: block; width: 15px; height: 15px; margin-bottom: 18px; border: 1px solid var(--green); border-radius: 50%; }
.sec-side p { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.sec-body > * + * { margin-top: 28px; }
.more { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--green); font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; line-height: 1.4; }
.more:hover { color: var(--green-d); }
@media (max-width: 860px) {
  .sec { padding-block: 72px; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- 診療時間の表 ---------- */
.hours-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 8px 24px 20px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 16px 4px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.hours thead th { font-weight: 400; font-size: 14.5px; color: var(--ink-2); padding-block: 14px 12px; }
.hours tbody th { text-align: left; font-weight: 400; white-space: nowrap; padding-right: 12px; }
.hours tbody th b { display: block; font-weight: 500; font-size: 15px; }
.hours tbody th span { display: block; font-family: var(--num); font-size: 16px; letter-spacing: .04em; color: var(--ink); }
.hours .is-today { background: var(--mist); }
.hours thead .is-today { color: var(--ink); font-weight: 600; }
.mark-on { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--green); }
.mark-off { display: inline-block; width: 13px; height: 1.5px; background: var(--ink-2); vertical-align: middle; }
.hours-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.hours-note li { list-style: none; }
@media (max-width: 600px) {
  .hours-wrap { padding: 4px 12px 16px; border-radius: 14px; }
  .hours th, .hours td { padding: 13px 2px; }
  .hours tbody th { padding-right: 6px; }
  .hours tbody th b { font-size: 14px; }
  .hours tbody th span { font-size: 13.5px; letter-spacing: 0; }
  .hours thead th { font-size: 13px; }
}

/* ---------- 場所 ---------- */
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.place-map { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.place-map img { width: 100%; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0 20px; }
.facts dt, .facts dd { padding-block: 13px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-2); font-size: 14.5px; }
.facts dd { font-size: 15.5px; }
.facts .num { font-family: var(--num); letter-spacing: .05em; }
.note-demo { font-size: 13px; color: var(--ink-2); }
@media (max-width: 860px) { .place { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts dt { padding-bottom: 0; border-bottom: 0; } .facts dd { padding-top: 2px; } }

/* ---------- 診療内容 ---------- */
.conds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.cond { padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.cond h3 { font-family: var(--mincho); font-weight: 500; font-size: 20px; letter-spacing: .06em; line-height: 1.6; }
.cond p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
@media (max-width: 700px) { .conds { grid-template-columns: minmax(0, 1fr); } }

.group + .group { margin-top: 56px; }
.group-title { font-family: var(--mincho); font-weight: 500; font-size: 21px; letter-spacing: .08em; padding-bottom: 12px; }

.self-pay { padding: 28px 30px; border: 1px solid var(--green); border-radius: 18px; background: var(--white); }
.self-pay h3 { font-family: var(--mincho); font-weight: 500; font-size: 21px; letter-spacing: .06em; }
.self-pay p { margin-top: 10px; font-size: 15px; }
.self-pay .more { margin-top: 12px; }

/* ---------- 受診の流れ（順番がある） ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; padding: 20px 22px 4px 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font-family: var(--num); font-size: 30px; line-height: 1.2; color: var(--green); }
.steps b { display: block; margin-top: 10px; font-family: var(--mincho); font-weight: 500; font-size: 19px; letter-spacing: .06em; }
.steps p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .steps, .steps-5 { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .steps li, .steps li + li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps li::before { grid-row: 1 / span 2; font-size: 26px; }
  .steps b { margin-top: 0; }
}

/* ---------- お知らせ（休診） ---------- */
.notices { list-style: none; border-top: 1px solid var(--line); }
.notices li { display: grid; grid-template-columns: 11em 5em minmax(0, 1fr); gap: 4px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.notices time { font-family: var(--num); letter-spacing: .04em; }
.notices .kind { display: inline-flex; justify-content: center; padding: 1px 10px; border-radius: 999px; background: var(--mist); color: var(--green-d); font-size: 13.5px; }
.notices .why { font-size: 15px; }
@media (max-width: 600px) { .notices li { grid-template-columns: auto auto; } .notices .why { grid-column: 1 / -1; } }

/* ---------- 院長より ---------- */
.message { max-width: 36em; font-family: var(--mincho); font-size: 18px; line-height: 2.2; letter-spacing: .05em; }
.sign { margin-top: 26px; font-family: var(--gothic); font-size: 15px; color: var(--ink-2); }
.sign b { margin-left: 12px; font-family: var(--mincho); font-weight: 500; font-size: 20px; color: var(--ink); letter-spacing: .12em; }

/* ---------- 中のページ ---------- */
.page-head { padding-block: 72px 56px; border-bottom: 1px solid var(--line); background: var(--white); }
.crumb { font-size: 13.5px; color: var(--ink-2); }
.crumb a { color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.page-title { margin-top: 6px; font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: .1em; line-height: 1.5; }
.page-lead { margin-top: 18px; max-width: 40em; font-size: 16.5px; line-height: 2; }
@media (max-width: 600px) { .page-head { padding-block: 32px 40px; } .page-lead { font-size: 16px; } }

.prose { max-width: 40em; }
.prose p + p { margin-top: 1em; }
.prose ul { margin-top: 10px; }
.prose li { list-style: none; position: relative; padding-left: 1.2em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .82em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* 自由診療の項目（折りたたまない） */
.treat { padding: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.treat + .treat { margin-top: 32px; }
.treat-name { font-family: var(--mincho); font-weight: 500; font-size: clamp(23px, 2.4vw, 28px); letter-spacing: .08em; line-height: 1.5; }
.treat-tag { display: inline-block; margin-top: 10px; padding: 2px 12px; border: 1px solid var(--green); border-radius: 999px; color: var(--green-d); font-size: 13.5px; }
.treat-items { margin-top: 22px; display: grid; grid-template-columns: 11em minmax(0, 1fr); border-top: 1px solid var(--line); }
.treat-items dt, .treat-items dd { padding-block: 18px; border-bottom: 1px solid var(--line); }
.treat-items dt { font-weight: 600; font-size: 15px; padding-right: 16px; }
.treat-items dd { font-size: 15.5px; line-height: 1.95; }
.treat-items dd p + p, .treat-items dd ul { margin-top: 8px; }
.treat-items li { list-style: none; position: relative; padding-left: 1.1em; }
.treat-items li::before { content: ""; position: absolute; left: 0; top: .85em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price th, .price td { padding: 8px 0; border-bottom: 1px dashed var(--line); text-align: left; vertical-align: baseline; font-weight: 400; }
.price td { text-align: right; white-space: nowrap; padding-left: 16px; font-family: var(--num); font-size: 17px; letter-spacing: .03em; }
.price td small { font-family: var(--gothic); font-size: 12.5px; color: var(--ink-2); margin-left: 4px; }
.price tr:last-child th, .price tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  .treat { padding: 26px 20px; border-radius: 18px; }
  .treat-items { grid-template-columns: minmax(0, 1fr); }
  .treat-items dt { padding-bottom: 2px; border-bottom: 0; }
  .treat-items dd { padding-top: 4px; }
}

/* よくある質問（決まった質問。折りたたまない） */
.faq { border-top: 1px solid var(--line); }
.faq dt { padding-top: 22px; font-family: var(--mincho); font-weight: 500; font-size: 19px; letter-spacing: .05em; display: grid; grid-template-columns: 1.8em minmax(0, 1fr); }
.faq dd { padding: 6px 0 22px 1.8em; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.faq dt::before { content: "問"; font-size: 15px; color: var(--green); padding-top: 3px; }

.overview { display: grid; grid-template-columns: 12em minmax(0, 1fr); border-top: 1px solid var(--line); }
.overview dt, .overview dd { padding-block: 16px; border-bottom: 1px solid var(--line); }
.overview dt { color: var(--ink-2); font-size: 15px; }
@media (max-width: 600px) { .overview { grid-template-columns: minmax(0, 1fr); } .overview dt { padding-bottom: 0; border-bottom: 0; } .overview dd { padding-top: 2px; } }
.hidden-note { color: var(--ink-2); }

/* ---------- お問い合わせ（選択式） ---------- */
.form { max-width: 40em; }
.field { border: 0; padding: 0; margin: 0; }
.field + .field { margin-top: 36px; }
.field legend, .field > label { display: block; padding: 0; font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.need { margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 400; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; line-height: 1.5; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); flex: none; }
.choice:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.choice:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.text-in, .select-in { width: 100%; min-height: 52px; padding: 10px 16px; background: var(--white); border: 1px solid #8C9A94; border-radius: 12px; font-size: 16px; }
.select-in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.hint { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.form-note { margin-top: 32px; padding: 18px 20px; background: var(--mist); border-radius: 14px; font-size: 14.5px; }
.form-send { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-send .btn[disabled] { opacity: .55; cursor: not-allowed; }
.form-result { font-size: 15px; font-weight: 600; color: var(--green-d); }
.form-result:empty { display: none; }

/* ---------- 下の段 ---------- */
.site-foot { background: var(--foot); color: var(--foot-ink); padding-block: 72px 40px; }
.site-foot a { color: var(--foot-ink); }
.site-foot :focus-visible { outline-color: var(--white); }
.foot-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 48px; }
.foot-name { font-family: var(--mincho); font-weight: 500; font-size: 22px; letter-spacing: .1em; }
.foot-facts { margin-top: 18px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 18px; font-size: 14.5px; line-height: 1.9; }
.foot-facts dt { color: var(--foot-ink-2); }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.foot-nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid rgba(230, 236, 232, .18); font-size: 15px; }
.foot-nav a:hover { text-decoration: underline; }
.foot-demo { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(230, 236, 232, .18); font-size: 13px; color: var(--foot-ink-2); line-height: 1.8; }
@media (max-width: 860px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .foot-facts { grid-template-columns: minmax(0, 1fr); gap: 0; } .foot-facts dd { margin-bottom: 8px; } }

/* 見本の知らせ（電話・地図・送信を押したとき） */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 16px); width: max-content; max-width: calc(100% - 32px);
  padding: 14px 20px; border-radius: 14px; background: var(--ink); color: var(--white); font-size: 14.5px; line-height: 1.7;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
