/* おりめ不動産（業種別サンプル⑥・コードの 3D の飛び出す絵本）。2026-11-11。見た目の正は ../../DESIGN.md、文の正は ../../CONTENTS.md */
/* jpfont:start */
@font-face{font-family:"Kaisei Decol";src:url(../fonts/kaisei-decol-700.afd0659d.woff2) format("woff2");font-style:normal;font-weight:700;font-display:swap;}
@font-face{font-family:"BIZ UDPGothic";src:url(../fonts/biz-udpgothic-400.3394120f.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap;}
@font-face{font-family:"BIZ UDPGothic";src:url(../fonts/biz-udpgothic-700.fa32f29f.woff2) format("woff2");font-style:normal;font-weight:700;font-display:swap;}
@font-face{font-family:"Klee One";src:url(../fonts/klee-one-600.3bd4e288.woff2) format("woff2");font-style:normal;font-weight:600;font-display:swap;}
/* jpfont:end */

:root {
  --desk: #CEC7BB;
  --paper: #F4EEE2;
  --white: #FBF8F1;
  --kraft: #D7C4A2;
  --gray: #CBC4B8;
  --ink: #2B2724;
  --blue: #2E5BA8;
  --vh: 1vh;
  --f-head: "Kaisei Decol", "BIZ UDPGothic", serif;
  --f-body: "BIZ UDPGothic", sans-serif;
  --f-hand: "Klee One", "BIZ UDPGothic", sans-serif;
  --shadow: 0 1px 0 rgba(43, 39, 36, .22), 0 14px 26px -16px rgba(43, 39, 36, .65);
}

/* 土台 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.8;
  font-feature-settings: "palt";
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.cl-p { display: inline-block; }
.nw { white-space: nowrap; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ページ頭 */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 26px;
  padding: 24px 34px 0;
  pointer-events: none;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.hd > * { pointer-events: auto; }
.hd.solid { background: rgba(244, 238, 226, .96); padding: 12px 34px; box-shadow: 0 1px 0 rgba(43, 39, 36, .18); }
.logo { display: flex; align-items: center; gap: 10px; line-height: 1; margin-right: auto; }
.logo-txt { display: flex; flex-direction: column; }
.logo-ja { font-family: var(--f-head); font-weight: 700; font-size: 23px; letter-spacing: .08em; white-space: nowrap; }
.logo-en { margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .28em; color: var(--blue); white-space: nowrap; }
.hd-nav { display: flex; gap: 22px; }
.hd-nav a { font-size: 13px; font-weight: 700; letter-spacing: .1em; padding: 6px 0; border-bottom: 1.5px solid transparent; white-space: nowrap; }
.hd-nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* ロゴの家（さわると、点線の所で折れてもどる） */
.logo-mark { position: relative; width: 34px; height: 34px; flex: none; perspective: 160px; }
.lm { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lm-house { fill: var(--white); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.lm-fold { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 3 3; }
.lm-a { clip-path: polygon(0 93%, 100% 39.6%, 100% 100%, 0 100%); }
.lm-b { clip-path: polygon(0 0, 100% 0, 100% 39.6%, 0 93%); transform-origin: 15% 85%; }
.logo:hover .lm-b, .logo.fold .lm-b { animation: fold .9s cubic-bezier(.45, 0, .3, 1); }
@keyframes fold { 0%, 100% { transform: none; } 45%, 55% { transform: rotate3d(28, -15, 0, 172deg); } }
.logo:hover .lm-b .lm-house, .logo.fold .lm-b .lm-house { animation: foldShade .9s; }
@keyframes foldShade { 0%, 100% { fill: var(--white); } 45%, 55% { fill: #E7DECD; } }

/* ボタン（紙の札） */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 22px;
  border: 1.5px solid var(--ink); border-radius: 3px;
  background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-weight: 700; font-size: 15px; letter-spacing: .08em; line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(43, 39, 36, .5), 0 8px 16px -10px rgba(43, 39, 36, .5);
  transition: transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 rgba(43, 39, 36, .5); }
.btn-tel, .btn-go { background: var(--blue); border-color: var(--blue); color: var(--white); }
.hd-tel { min-height: 40px; padding: 10px 18px; font-size: 14px; }
.btn-menu { display: none; min-height: 38px; padding: 9px 14px; font-size: 13px; }

/* スマホのメニュー（上から紙が1枚おりてくる） */
.mnav { position: fixed; inset: 0; z-index: 60; background: rgba(43, 39, 36, .25); }
.mnav-in {
  position: absolute; left: 0; right: 0; top: 0; min-height: 100%;
  display: flex; flex-direction: column;
  padding: 78px 26px 30px;
  background:
    linear-gradient(transparent calc(33.33% - 1px), rgba(43, 39, 36, .1) calc(33.33% - 1px), rgba(43, 39, 36, .1) 33.33%, rgba(255, 255, 255, .5) 33.33%, transparent calc(33.33% + 2px), transparent calc(66.66% - 1px), rgba(43, 39, 36, .1) calc(66.66% - 1px), rgba(43, 39, 36, .1) 66.66%, rgba(255, 255, 255, .5) 66.66%, transparent calc(66.66% + 2px)),
    var(--paper);
  box-shadow: 0 20px 40px -20px rgba(43, 39, 36, .6);
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.3, .8, .2, 1);
}
.mnav.on .mnav-in { transform: none; }
.mnav nav a { display: block; padding: 14px 0; font-family: var(--f-head); font-weight: 700; font-size: 26px; letter-spacing: .06em; line-height: 1.3; border-bottom: 1px dashed rgba(43, 39, 36, .25); }
.mnav-close { position: absolute; top: 16px; right: 16px; padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--white); font-weight: 700; font-size: 13px; }
.mnav-tel { margin-top: 34px; width: 100%; padding: 18px; font-size: 17px; }

/* 見せ場（スクロールで動く 3D） */
.show { position: relative; height: calc(var(--vh) * 1100); }
.stage { position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.lines line { stroke: var(--ink); stroke-width: 1; }
.lines circle { fill: var(--blue); }
.scroll-hint {
  position: absolute; left: 7vw; bottom: 28px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  transition: opacity .4s;
}
.scroll-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 10px 0 0 6px; background: var(--ink); animation: hint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.scroll-hint.off { opacity: 0; }

.cue { position: absolute; opacity: 0; visibility: hidden; transition: opacity .45s, transform .45s, visibility 0s .45s; transform: translateY(12px); pointer-events: none; }
.cue.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s, transform .45s, visibility 0s; }
.cue-hero { left: 7vw; top: 50%; transform: translateY(-46%); max-width: 40vw; }
.cue-hero.on { transform: translateY(-50%); }
.hero-h { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.32; letter-spacing: .06em; }
.hero-sub { margin-top: 26px; font-size: 16px; font-weight: 700; letter-spacing: .08em; line-height: 1.9; }
.cue-box { left: 6vw; bottom: 9vh; }
.box { display: inline-flex; flex-direction: column; gap: 4px; padding: 16px 22px 17px; background: var(--white); border-radius: 2px; box-shadow: var(--shadow); }
.box-h { font-family: var(--f-head); font-weight: 700; font-size: 24px; letter-spacing: .06em; line-height: 1.4; }
.box-s { font-size: 14px; letter-spacing: .04em; }
.cue-end { left: 7vw; top: 50%; transform: translateY(-46%); }
.cue-end.on { transform: translateY(-50%); pointer-events: auto; }
.end-h { font-family: var(--f-head); font-weight: 700; font-size: clamp(34px, 4vw, 56px); letter-spacing: .06em; line-height: 1.3; }
.end-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* 間取り図の書き込み（手書きの字） */
.notes { position: absolute; inset: 0; pointer-events: none; }
.note {
  position: absolute; left: 0; top: 0;
  font-family: var(--f-hand); font-weight: 600; font-size: 17px; letter-spacing: .04em; line-height: 1;
  white-space: nowrap; color: var(--ink);
  padding: 7px 10px 8px; background: var(--white); border-radius: 2px;
  box-shadow: 0 1px 0 rgba(43, 39, 36, .2), 0 8px 14px -10px rgba(43, 39, 36, .6);
  opacity: 0; will-change: transform, opacity;
}

/* 部屋の札（家賃） */
.slip {
  position: absolute; right: 6vw; top: 50%;
  width: 290px; padding: 22px 24px 24px;
  background: var(--white); border-top: 6px solid var(--blue); border-radius: 2px;
  box-shadow: 0 1px 0 rgba(43, 39, 36, .25), 0 22px 40px -22px rgba(43, 39, 36, .8);
  opacity: 0; visibility: hidden; transform: translateY(-46%);
  transition: opacity .45s, transform .45s, visibility 0s .45s;
}
.slip.on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .45s, transform .45s, visibility 0s; }
.slip-k { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.slip-t { margin-top: 8px; font-family: var(--f-head); font-weight: 700; font-size: 34px; letter-spacing: .04em; line-height: 1.1; }
.slip-a { margin-left: 12px; font-family: var(--f-body); font-size: 18px; font-weight: 700; }
.slip-y { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(43, 39, 36, .35); font-size: 15px; font-weight: 700; }
.slip-y b { margin: 0 2px 0 8px; font-size: 32px; letter-spacing: .02em; color: var(--blue); }
.slip-y small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; }
.slip-d { margin: 10px 0 18px; padding: 0; list-style: none; font-size: 13px; line-height: 1.8; }
.slip-d li::before { content: "・"; }
.btn-go { width: 100%; }

/* 段（セクション）。地は机と生成りを交互に */
.sec { padding: 120px 7vw; }
.sec-in { max-width: 1120px; margin: 0 auto; }
.sec-search, .sec-sell, .sec-about { background: var(--paper); }
.sec-h { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.4; letter-spacing: .06em; }
.sec-lead { margin-top: 14px; font-size: 16px; font-weight: 700; letter-spacing: .06em; }
.sec-p { margin-top: 22px; font-size: 16px; line-height: 2; letter-spacing: .04em; max-width: 36em; }
.sec-small { margin-top: 26px; font-size: 13px; opacity: .8; }
.rv { opacity: 0; transform: translateY(30px) rotate(-1deg); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.rv-in { opacity: 1; transform: none; }

/* 条件でさがす */
.filters { margin-top: 34px; display: grid; gap: 12px; }
.f-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-k { width: 4.5em; flex: none; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 9px 16px; border: 1.5px solid rgba(43, 39, 36, .5); border-radius: 3px 3px 0 0;
  background: var(--white); color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .06em; line-height: 1; white-space: nowrap;
  box-shadow: 0 2px 0 rgba(43, 39, 36, .25); transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-3px); box-shadow: 0 5px 0 rgba(43, 39, 36, .3); }
.map3d { position: relative; margin-top: 30px; height: clamp(420px, 44vw, 560px); background: var(--desk); border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(43, 39, 36, .08); }
#mapgl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: pointer; }
.map3d.nogl #mapgl { display: none; }
.map-hint { position: absolute; left: 18px; bottom: 14px; font-family: var(--f-hand); font-weight: 600; font-size: 14px; pointer-events: none; }
.pick {
  position: absolute; right: 18px; top: 18px; width: 290px; padding: 20px 22px 22px;
  background: var(--white); border-top: 6px solid var(--blue); border-radius: 2px; box-shadow: 0 22px 40px -22px rgba(43, 39, 36, .8);
  animation: pickIn .35s cubic-bezier(.3, 1.4, .5, 1);
}
@keyframes pickIn { from { opacity: 0; transform: translateY(10px) rotate(-1.5deg); } }
.pick-x { position: absolute; right: 10px; top: 10px; padding: 6px 10px; border: 1px solid rgba(43, 39, 36, .4); border-radius: 3px; background: var(--white); font-size: 12px; font-weight: 700; }
.pick-body { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.res-count { margin-top: 26px; font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.res { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.res-card {
  width: 100%; height: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px 18px; border: 0; border-top: 4px solid var(--gray); border-radius: 2px;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.res-card:hover { transform: translateY(-3px); }
.res-card.on { border-top-color: var(--blue); }
.res-town, .pick-body .res-town { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.res-t { font-family: var(--f-head); font-weight: 700; font-size: 26px; line-height: 1.2; }
.res-a { margin-left: 10px; font-family: var(--f-body); font-size: 14px; }
.res-p { font-size: 14px; font-weight: 700; }
.res-p b { font-size: 24px; color: var(--blue); margin-right: 2px; }
.res-p small { margin-left: 10px; font-size: 12px; font-weight: 400; }
.res-d { font-size: 13px; }
.res-n { margin-top: 4px; font-family: var(--f-hand); font-weight: 600; font-size: 15px; }
.res-empty { margin-top: 18px; padding: 18px 20px; background: var(--white); border-radius: 2px; font-size: 15px; box-shadow: var(--shadow); }

/* はじめに、3つだけ */
.faq { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faq-c { padding: 26px 24px 28px; background: var(--white); border-radius: 2px; box-shadow: var(--shadow); }
.faq-q { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.faq-a { margin-top: 12px; font-family: var(--f-head); font-weight: 700; font-size: 26px; line-height: 1.45; letter-spacing: .04em; }
.faq-s { margin-top: 12px; font-size: 13px; line-height: 1.9; }

/* 売る・貸す */
.sell { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.sell .btn { margin-top: 28px; }
.sell-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sell-pts li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border-radius: 2px; box-shadow: var(--shadow); font-weight: 700; font-size: 16px; }
.sell-n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--f-head); font-size: 17px; }

/* 町のこと */
.towns { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.town { padding: 22px 22px 26px; background: var(--white); border-radius: 2px; box-shadow: var(--shadow); }
.town-art { display: block; width: 100%; height: auto; aspect-ratio: 240 / 140; filter: drop-shadow(0 6px 6px rgba(43, 39, 36, .18)); }
.ta-white { fill: var(--white); stroke: var(--ink); stroke-width: 1.4; }
.ta-kraft { fill: var(--kraft); stroke: var(--ink); stroke-width: 1.4; }
.ta-gray { fill: var(--gray); stroke: var(--ink); stroke-width: 1.2; }
.ta-line { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; }
.ta-line-f { fill: rgba(43, 39, 36, .06); stroke: var(--ink); stroke-width: 1.2; }
.town-h { margin: 18px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: .06em; }
.town-p { margin-top: 8px; font-size: 14px; line-height: 1.9; }
.town-m { display: inline-block; margin-top: 12px; font-family: var(--f-hand); font-weight: 600; font-size: 15px; padding: 0 2px; background: linear-gradient(transparent 70%, rgba(46, 91, 168, .22) 70%); }

/* お店のこと */
.about { text-align: center; }
.about-p { margin-left: auto; margin-right: auto; }

/* アクセスと紙の地図（3枚に折った紙が、じゃばらに開く） */
.access { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: center; }
.acc-dl { margin: 26px 0 0; display: grid; gap: 8px; }
.acc-dl div { display: flex; gap: 18px; padding-bottom: 8px; border-bottom: 1px dashed rgba(43, 39, 36, .3); }
.acc-dl dt { width: 3.5em; flex: none; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.acc-dl dd { margin: 0; font-size: 15px; font-weight: 700; }
.acc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* 横のはみ出しを画面の端で切る（2026-11-15）：PC は閉じた地図の箱を右へ 1/3 ずらすぶん、
   スマホは端まで広げた町の地図が 1° 傾いて浮き上がるぶん。見た目は変えない（clip は縦のスクロールを作らない） */
.sec-search, .sec-access { overflow-x: clip; }
.fmap { perspective: 1800px; }
.fmap-in { position: relative; width: 100%; aspect-ratio: 720 / 480; transform: translateX(33.333%); transition: transform 1.3s cubic-bezier(.3, .7, .2, 1); }
.fmap.open .fmap-in { transform: none; }
.fm-p { position: absolute; top: 0; left: 0; width: 33.333%; height: 100%; transform-style: preserve-3d; transform-origin: left center; transition: transform 1.3s cubic-bezier(.3, .7, .2, 1); }
.fm-2, .fm-3 { left: 100%; width: 100%; }
.fm-2 { transform: rotateY(-176deg); }
.fm-3 { transform: rotateY(176deg); }
.fmap.open .fm-2, .fmap.open .fm-3 { transform: none; }
.fm-f, .fm-b { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fm-f { box-shadow: 0 18px 30px -18px rgba(43, 39, 36, .7); }
.fm-b { background: var(--paper); transform: rotateY(180deg); box-shadow: inset 0 0 0 1px rgba(43, 39, 36, .1); }
.fm-art { position: absolute; top: 0; left: 0; width: 300%; height: 100%; }
.fm-2 > .fm-f .fm-art { left: -100%; }
.fm-3 > .fm-f .fm-art { left: -200%; }
.fm-2 > .fm-f::before, .fm-3 > .fm-f::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 18px; z-index: 1; background: linear-gradient(90deg, rgba(43, 39, 36, .12), transparent); }

/* フッター */
.ft { background: var(--ink); color: var(--paper); padding: 56px 7vw 46px; }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; }
.ft-name { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: .08em; white-space: nowrap; }
.ft-mark { width: 40px; height: 40px; }
.ft-info { font-size: 14px; letter-spacing: .06em; }
.ft-credit { margin-top: 36px; font-size: 12px; letter-spacing: .1em; opacity: .8; }

/* スマホの下の帯 */
.sbar { display: none; }

/* 知らせ */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 13px 20px; background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 700; letter-spacing: .06em; border-radius: 3px; white-space: nowrap;
  transition: opacity .25s, transform .25s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 3D が動かないとき */
.stage.nogl::after { content: ""; position: absolute; inset: 0; background: var(--paper); }

/* 少しせまい PC */
@media (max-width: 1180px) {
  .hd-nav { gap: 16px; }
  .hd-nav a { font-size: 12px; letter-spacing: .06em; }
}
@media (max-width: 1000px) {
  .hd-nav { display: none; }
}

/* スマホ */
@media (max-width: 760px) {
  .hd { padding: 14px 16px 0; gap: 8px; }
  .hd.solid { padding: 9px 16px; }
  .logo-mark { width: 28px; height: 28px; }
  .logo-ja { font-size: 19px; }
  .logo-en { font-size: 9px; letter-spacing: .22em; margin-top: 5px; }
  .hd-tel { display: none; }
  .btn-menu { display: inline-flex; }
  .cue-hero { left: 22px; right: 22px; top: 92px; max-width: none; transform: translateY(10px); }
  .cue-hero.on { transform: none; }
  .hero-h { font-size: clamp(34px, 10vw, 44px); }
  .hero-sub { margin-top: 14px; font-size: 14px; }
  .scroll-hint { left: 50%; transform: translateX(-50%); }
  .scroll-hint::after { margin: 10px auto 0; }
  .cue-box { left: 16px; right: 16px; bottom: auto; top: 84px; }
  .box { padding: 13px 16px 14px; }
  .box-h { font-size: 19px; }
  .box-s { font-size: 13px; }
  .cue-end { left: 22px; right: 22px; top: 92px; transform: translateY(10px); }
  .cue-end.on { transform: none; }
  .end-h { font-size: 32px; }
  .end-btns { margin-top: 16px; }
  .end-btns .btn { flex: 1; }
  .note { font-size: 13px; padding: 5px 8px 6px; }
  .slip {
    left: 14px; right: 14px; top: auto; bottom: 14px; width: auto;
    padding: 14px 16px 16px;
    display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end;
    transform: translateY(14px);
  }
  .slip.on { transform: none; }
  .slip-k { grid-column: 1 / -1; font-size: 11px; }
  .slip-t { grid-column: 1; margin-top: 4px; font-size: 26px; }
  .slip-a { font-size: 15px; margin-left: 8px; }
  .slip-y { grid-column: 1 / -1; margin-top: 8px; padding-top: 8px; font-size: 13px; }
  .slip-y b { font-size: 26px; }
  .slip-y small { display: inline; margin-left: 10px; font-size: 12px; }
  .slip-d { grid-column: 1 / -1; margin: 4px 0 10px; font-size: 12px; line-height: 1.6; display: flex; flex-wrap: wrap; gap: 0 12px; }
  .btn-go { grid-column: 1 / -1; min-height: 42px; font-size: 14px; }

  .sec { padding: 80px 6vw; }
  .sec-lead { font-size: 15px; }
  .sec-p { font-size: 15px; }
  .f-row { gap: 8px; }
  .f-k { width: 100%; }
  .chip { min-height: 40px; padding: 9px 13px; font-size: 13px; }
  .map3d { height: 470px; margin-left: -6vw; margin-right: -6vw; border-radius: 0; }
  .pick { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; padding: 14px 16px 16px; }
  .pick-body { margin-bottom: 10px; }
  .res { grid-template-columns: 1fr; }
  .faq, .towns { grid-template-columns: 1fr; }
  .faq-a { font-size: 23px; }
  .sell, .access { grid-template-columns: 1fr; gap: 34px; }
  .about { text-align: left; }
  .fmap-in { aspect-ratio: auto; height: 0; padding-bottom: 66.66%; transform: translateY(0); }
  .fm-p { width: 100%; height: 33.333%; transform-origin: center top; }
  .fm-2, .fm-3 { left: 0; top: 100%; width: 100%; height: 100%; }
  .fm-2 { transform: rotateX(176deg); }
  .fm-3 { transform: rotateX(-176deg); }
  .fm-b { transform: rotateX(180deg); }
  .fm-art { width: 100%; height: 300%; }
  .fm-2 > .fm-f .fm-art { left: 0; top: -100%; }
  .fm-3 > .fm-f .fm-art { left: 0; top: -200%; }
  .fm-2 > .fm-f::before, .fm-3 > .fm-f::before { inset: 0 0 auto 0; width: auto; height: 14px; background: linear-gradient(180deg, rgba(43, 39, 36, .12), transparent); }
  .ft { padding: 44px 6vw 110px; }
  .sbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(244, 238, 226, .97); box-shadow: 0 -1px 0 rgba(43, 39, 36, .15);
    transform: translateY(110%); transition: transform .35s;
  }
  .sbar.on { transform: none; }
  .sbar .btn { flex: 1; }
  .toast { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .logo:hover .lm-b, .logo.fold .lm-b { animation: none; }
  .fmap-in, .fm-p { transition: none; }
  .mnav-in { transition: none; }
}
