/* エムアイレンタカー / エムアイ時間貸しタクシー 共通スタイル
   構成: 画面全体に固定した3D(#world)の上を、「窓」(透明・3Dが見える区間)と「面」(不透明の本文)が交互に流れる。 */

:root {
  --paper: #f5f3ee;
  --paper-2: #ebe7de;
  --ink: #121c2a;
  --ink-2: #4b5666;
  --line: rgba(18, 28, 42, 0.13);
  --navy: #223a5e;
  --blue: #1976d2;
  --cta: #ffa726;
  --cta-ink: #1b1306;
  --accent: #1976d2;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-head: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-num: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1120px;
  --radius-panel: clamp(24px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0f1622; --paper-2: #151e2d; --ink: #e8edf3; --ink-2: #a3afbe; --line: rgba(232, 237, 243, 0.14); --accent: #6aa9ec; color-scheme: dark; }
}
/* タクシーは常に夜の配色 */
.page-taxi { --paper: #0c1422; --paper-2: #121d30; --ink: #eef2f7; --ink-2: #a8b4c4; --line: rgba(238, 242, 247, 0.13); --cta: #f5a531; --accent: #f5b14e; --font-head: var(--font-mincho); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #0b1424; color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.85; font-feature-settings: "palt" 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; word-break: auto-phrase; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 4px; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 3D の土台 ---------- */
.world { position: fixed; inset: 0; height: 100lvh; z-index: 0; pointer-events: none; }
.world canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; }
.world-ready .world canvas { opacity: 1; }
.poster { position: absolute; inset: 0; overflow: hidden; }
.poster svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; }
.page-rental .poster { background: linear-gradient(180deg, #2f7fd0 0%, #8cc1e8 46%, #cfe6f2 58%, #2a8db0 60%, #0d5a80 100%); }
.page-taxi .poster { background: linear-gradient(180deg, #23366c 0%, #8a5d7f 38%, #ff9a6a 56%, #3b5d78 58%, #10243d 100%); }
.map-labels { position: fixed; inset: 0; height: 100lvh; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.map-label { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.04em; padding: 2px 10px; border-radius: 999px; background: rgba(8, 14, 26, 0.55); border: 1px solid rgba(255, 255, 255, 0.25); margin: -32px 0 0 -40px; opacity: 0.55; transition: opacity 0.3s, background 0.3s; backdrop-filter: blur(4px); }
.map-label.on { opacity: 1; background: rgba(245, 165, 49, 0.92); color: #1b1306; border-color: transparent; }

main, .site-header, .site-footer, .bar { position: relative; z-index: 2; }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; color: #fff; transition: background 0.35s, color 0.35s, box-shadow 0.35s; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.is-scrolled .site-header { background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 168px; height: 33px; background: currentColor; -webkit-mask: url(/img/rental/logo.png) left center / contain no-repeat; mask: url(/img/rental/logo.png) left center / contain no-repeat; }
.brand-text { font-weight: 900; font-size: 17px; letter-spacing: 0.04em; }
.brand-text small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; opacity: 0.8; line-height: 1.2; }
.nav { display: none; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; opacity: 0.88; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 980px) { .nav { display: flex; } }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 26px; border-radius: 999px; font: 700 16px/1.3 var(--font-body); text-decoration: none; border: 0; cursor: pointer; transition: transform 0.2s, filter 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 10px 30px -12px rgba(255, 167, 38, 0.8); }
.btn-line { background: rgba(255, 255, 255, 0.08); color: inherit; border: 1.5px solid currentColor; backdrop-filter: blur(6px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn small { font-weight: 500; font-size: 12px; opacity: 0.8; }
.arrow { width: 18px; height: 18px; flex: none; }

/* ---------- 窓(3Dが見える区間) ---------- */
.window { position: relative; color: #fff; }
.window .stick { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; }
.scrim { text-shadow: 0 2px 24px rgba(5, 12, 26, 0.45), 0 1px 3px rgba(5, 12, 26, 0.35); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; opacity: 0.92; }
.display { font-family: var(--font-head); font-weight: 900; font-size: clamp(34px, min(8.4vw, 9.5svh), 92px); line-height: 1.18; letter-spacing: 0.01em; }
.page-taxi .display { font-weight: 800; line-height: 1.3; }
.lead { font-size: clamp(15px, 1.6vw, 18px); max-width: 32em; opacity: 0.95; }
.statement { font-family: var(--font-head); font-weight: 900; font-size: clamp(30px, 5.8vw, 64px); line-height: 1.3; }
.page-taxi .statement { font-weight: 800; }

/* ヒーロー */
.hero { height: 210svh; }
.hero .stick { align-items: end; padding-bottom: clamp(40px, 10svh, 120px); padding-top: 80px; }
.hero-copy { max-width: calc(var(--max)); }
@media (max-height: 760px) { .hero .lead { display: none; } .hero-copy { gap: 16px; } }
.hero-copy { display: grid; gap: 22px; opacity: calc(1 - var(--p, 0) * 3.4); transform: translateY(calc(var(--p, 0) * -90px)); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 100svh; pointer-events: none; background: linear-gradient(180deg, rgba(6, 14, 30, 0.42) 0%, rgba(6, 14, 30, 0) 22%, rgba(6, 14, 30, 0) 50%, rgba(6, 14, 30, 0.5) 100%); }
.hero-after { position: absolute; left: 0; right: 0; top: 120svh; text-align: center; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.badges li { font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(8px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tel { font-size: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tel a { font-family: var(--font-num); font-weight: 600; font-size: 22px; text-decoration: none; letter-spacing: 0.02em; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 28px; font: 600 11px/1 var(--font-num); letter-spacing: 0.3em; writing-mode: vertical-rl; opacity: calc(0.8 - var(--p, 0) * 4); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 56px; margin: 12px auto 0; background: linear-gradient(currentColor, transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }

/* 時間帯の切り替え */
.tod { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(8, 16, 30, 0.35); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); width: fit-content; }
.tod span { font-size: 12px; padding: 0 8px 0 10px; opacity: 0.85; }
.tod button { font: 700 13px/1 var(--font-body); color: #fff; background: transparent; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.tod button[aria-pressed="true"] { background: #fff; color: #10203a; }
.tod-note { font-size: 14px; display: none; }
[data-tod="night"] .tod-note, [data-tod="evening"] .tod-note { display: block; }
.tod-note a { font-weight: 700; text-underline-offset: 5px; }

/* 通過する窓 */
.pass { min-height: 170svh; display: grid; }
.pass .stick { align-items: center; }
.pass-copy { display: grid; gap: 18px; max-width: 980px; }
.pass-copy .lead { max-width: 34em; }
.pass-copy.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- 面(本文) ---------- */
.panel { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius-panel) var(--radius-panel) 0 0; margin-top: calc(var(--radius-panel) * -1); padding-block: clamp(72px, 11vw, 128px) clamp(72px, 10vw, 120px); box-shadow: 0 -30px 60px -40px rgba(0, 0, 0, 0.5); }
.panel + .panel { border-radius: 0; margin-top: 0; box-shadow: none; padding-top: 0; }
.panel.tone { background: var(--paper-2); }
.panel + .panel.tone { padding-top: clamp(72px, 10vw, 120px); }
.panel-end { border-radius: 0 0 var(--radius-panel) var(--radius-panel); margin-bottom: calc(var(--radius-panel) * -1); z-index: 3; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 6vw, 64px); max-width: 44em; }
.sec-label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); }
.h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(28px, 4.6vw, 48px); line-height: 1.35; letter-spacing: 0.01em; }
.page-taxi .h2 { font-weight: 800; }
.sec-head p { color: var(--ink-2); }

/* 番号つきの理由(枠なし、罫線で区切る) */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.reasons li { display: grid; grid-template-columns: auto 1fr; gap: 6px clamp(20px, 4vw, 48px); padding-block: clamp(26px, 4vw, 40px); border-bottom: 1px solid var(--line); align-items: start; }
.reasons .no { font: 700 clamp(44px, 7vw, 80px)/0.9 var(--font-num); color: var(--accent); grid-row: span 2; min-width: 1.4em; }
.reasons h3 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; line-height: 1.45; }
.page-taxi .reasons h3 { font-family: var(--font-mincho); font-weight: 800; }
.reasons h3 small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.reasons p { color: var(--ink-2); max-width: 40em; }
@media (min-width: 900px) { .reasons.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; } .reasons.cols-2 li { border-top: 1px solid var(--line); border-bottom: 0; } }

/* 車種 */
.lineup { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.lineup div { padding: 28px 24px 30px 0; display: grid; gap: 8px; align-content: start; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .lineup div { border-bottom: 0; border-right: 1px solid var(--line); padding-left: 24px; } .lineup div:first-child { padding-left: 0; } .lineup div:last-child { border-right: 0; } }
.lineup svg { width: 76px; height: 40px; color: var(--accent); margin-bottom: 6px; }
.lineup h3 { font-size: 19px; font-weight: 900; }
.lineup p { font-size: 15px; color: var(--ink-2); }

/* キャンペーン */
.campaign { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 0; grid-template-columns: 1fr; border-radius: 22px; overflow: hidden; background: var(--navy); color: #fff; }
@media (min-width: 860px) { .campaign { grid-template-columns: 0.8fr 1fr 1fr; } }
.campaign > * { padding: clamp(26px, 4vw, 40px); }
.campaign .c-head { display: grid; gap: 8px; align-content: center; background: var(--cta); color: var(--cta-ink); }
.campaign .c-head p { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; }
.campaign .c-head h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.35; }
.campaign .c-item { display: grid; gap: 8px; align-content: start; border-top: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 860px) { .campaign .c-item { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.14); } }
.campaign .c-item small { font: 700 13px/1 var(--font-num); letter-spacing: 0.2em; opacity: 0.75; }
.campaign .c-item h4 { margin: 0; font-size: 21px; font-weight: 900; }
.campaign .c-item p { font-size: 15px; opacity: 0.9; }
.campaign mark { background: none; color: var(--cta); font-weight: 900; }

/* FAQ */
.faq { display: grid; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline; padding: 22px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font: 700 22px/1 var(--font-num); color: var(--accent); }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.25s; opacity: 0.6; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 0 24px 38px; color: var(--ink-2); }

/* 予約方法 */
.booking { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .booking { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.book-main { display: grid; gap: 18px; padding: clamp(28px, 4vw, 44px); border-radius: 22px; background: var(--navy); color: #fff; }
.book-main h3 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; line-height: 1.4; }
.book-main p { opacity: 0.9; }
.book-sub { display: grid; gap: 0; border-top: 1px solid var(--line); }
.book-sub > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.book-sub dt, .book-sub b { font-weight: 700; }
.book-sub span { color: var(--ink-2); }
.book-sub .big { font: 600 26px/1.2 var(--font-num); color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }

/* ---------- タクシー固有 ---------- */
.count { font-family: var(--font-num); font-weight: 700; font-size: 1.12em; letter-spacing: 0; display: inline-block; min-width: 2.1em; text-align: right; }
.scenes { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .scenes { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1000px) { .scenes { grid-template-columns: repeat(3, 1fr); } }
.scene { padding: 24px 0 26px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.scene h3 { font-size: 18px; font-weight: 700; font-family: var(--font-body); }
.scene p { font-size: 15px; color: var(--ink-2); }
.tag { justify-self: start; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); }

.cars { display: grid; gap: clamp(36px, 5vw, 56px); grid-template-columns: 1fr; margin-top: clamp(64px, 9vw, 112px); }
@media (min-width: 880px) { .cars { grid-template-columns: 1fr 1fr; } }
.car { display: grid; gap: 20px; align-content: start; }
.photos { display: grid; grid-template-columns: 3fr 2fr; gap: 4px; border-radius: 18px; overflow: hidden; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos .ext img { aspect-ratio: 16 / 10; }
.car-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.car-name h3 { font-family: var(--font-mincho); font-weight: 800; font-size: 30px; }
.car-name span { font-size: 14px; color: var(--ink-2); }
.meter { display: flex; align-items: baseline; gap: 10px; padding-block: 12px; border-block: 1px solid var(--line); }
.meter .unit { font-size: 14px; color: var(--ink-2); }
.meter .price { font: 700 44px/1 var(--font-num); }
.meter .yen { font-weight: 700; }
.car ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: 15px; }
.per-head { font-size: 14px; color: var(--ink-2); }
.per-head .num { font-size: 20px; font-weight: 700; color: var(--accent); }

/* モデルコース(地図の窓) */
.map-window { padding-block: 22svh 40svh; }
.map-head { max-width: var(--max); margin: 0 auto 30svh; padding-inline: var(--gutter); }
.map-head .h2 { color: #fff; }
.map-head p { color: rgba(255, 255, 255, 0.86); max-width: 30em; }
.courses { display: grid; gap: 70svh; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.course { justify-self: end; width: min(440px, 100%); padding: 26px 26px 24px; border-radius: 22px; background: rgba(9, 16, 30, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; display: grid; gap: 16px; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.course.is-active { border-color: rgba(245, 177, 78, 0.8); background: rgba(9, 16, 30, 0.82); }
@media (max-width: 860px) { .course { justify-self: center; } .courses { gap: 60svh; } .map-head { margin-bottom: 46svh; } }
.course-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; }
.course-top h3 { font-family: var(--font-mincho); font-weight: 800; font-size: 22px; line-height: 1.45; }
.course-top .dur { font: 600 18px/1 var(--font-num); color: #f5b14e; white-space: nowrap; }
.route { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; }
.route li + li::before { content: "→"; opacity: 0.55; margin-right: 6px; }
.route b { font-weight: 700; }
.slots { display: flex; gap: 4px; }
.slots i { width: 30px; height: 10px; border-radius: 3px; background: #f5b14e; }
.slot-cap { font-size: 12px; opacity: 0.75; }
.course-price { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.course-price div { display: flex; align-items: baseline; gap: 8px; }
.course-price .lbl { font-size: 13px; opacity: 0.75; }
.course-price .num { font-size: 28px; font-weight: 700; }
.map-note { max-width: var(--max); margin: 40svh auto 0; padding-inline: var(--gutter); font-size: 13px; color: rgba(255, 255, 255, 0.8); text-align: right; }

/* 料金表 */
.free-plan { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .free-plan { grid-template-columns: 1fr 1.05fr; } }
.rate { width: 100%; border-collapse: collapse; font-size: 15px; }
.rate th, .rate td { padding: 14px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rate th:first-child, .rate td:first-child { text-align: left; padding-left: 0; }
.rate thead th { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.rate td.num { font-size: 20px; font-weight: 600; }
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 7.5em 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rules b { font-weight: 700; }
.rules span { color: var(--ink-2); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; } .flow li { border-top: 2px solid var(--accent); } }
.flow li { counter-increment: step; padding: 22px 0 26px; display: grid; gap: 6px; align-content: start; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .flow li { border-bottom: 0; } }
.flow li::before { content: "STEP " counter(step, decimal-leading-zero); font: 700 14px/1 var(--font-num); color: var(--accent); letter-spacing: 0.12em; }
.flow h3 { font-size: 18px; font-weight: 700; font-family: var(--font-body); }
.flow p { font-size: 14px; color: var(--ink-2); }

.places { display: grid; gap: 24px 48px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .places { grid-template-columns: 1fr 1fr; } }
.place { padding-left: 20px; border-left: 3px solid var(--accent); display: grid; gap: 4px; }
.place h3 { font-size: 20px; font-weight: 700; font-family: var(--font-body); }
.place p { font-size: 15px; color: var(--ink-2); }

.sub-sec { margin-top: clamp(80px, 11vw, 140px); }

/* ---------- フッター ---------- */
.site-footer { background: var(--paper); color: var(--ink); padding-block: 56px calc(40px + 76px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .site-footer { padding-bottom: 48px; } }
.site-footer .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer h2 { font-size: 18px; font-weight: 900; }
.site-footer p, .site-footer li { font-size: 14px; color: var(--ink-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-underline-offset: 4px; }
.copy { font-size: 12px; color: var(--ink-2); }

/* ---------- スマホの固定バー ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.35s ease; }
.is-scrolled .bar { transform: none; }
.bar .btn { flex: 1; min-height: 50px; font-size: 15px; padding-inline: 12px; }
.bar .btn-tel { flex: 0 0 auto; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
@media (min-width: 900px) { .bar { display: none; } }

/* 3D を使わないとき */
.no-3d .world canvas { display: none; }
