/* ============================================================
   レジデンス灯 渋谷（架空・制作デモ） tone-17 高級不動産
   base #FEFEFE / text #13171C / accent #031A37
   金アクセントは --accent-rgb（gradient-mesh のカラーエンジンがJSで書き換える）
   ============================================================ */
:root {
  --base: #FEFEFE;
  --ink: #13171C;
  --navy: #031A37;
  --navy-deep: #041226;
  --muted: #5A6472;
  --hairline: rgba(3, 26, 55, 0.14);
  --accent-rgb: 201, 164, 105; /* 初期値: 夕景の金 #C9A469 */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--base);
  line-height: 1.9;
  font-size: 15.5px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.nw { display: inline-block; }

/* ── 小タグ ─────────────────────────── */
.site-tag {
  position: fixed; top: 14px; left: 16px; z-index: 60;
  display: flex; align-items: baseline; gap: 10px;
  pointer-events: none;
}
.site-tag .tag-name {
  font-family: var(--serif); font-weight: 600; font-size: 0.92rem;
  color: #F4F1EA; background: rgba(4, 18, 38, 0.72);
  border: 1px solid rgba(201, 164, 105, 0.4);
  padding: 5px 14px; letter-spacing: 0.12em;
}
.site-tag .tag-sub {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.26em;
  color: rgba(244, 241, 234, 0.85); text-shadow: 0 1px 4px rgba(4, 18, 38, 0.8);
}
body.light-scrolled .site-tag .tag-sub { color: var(--muted); text-shadow: none; }

/* ── 内覧アルティメーター（scroll-odyssey翻案） ── */
.viewmeter {
  position: fixed; top: 50%; right: 18px; transform: translateY(-50%);
  z-index: 40; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono);
}
.vm-label {
  writing-mode: vertical-rl; letter-spacing: 0.3em; font-size: 0.56rem;
  color: rgb(var(--accent-rgb));
}
.vm-window {
  position: relative; width: 22px; height: 240px; overflow: hidden;
  border: 1px solid rgba(201, 164, 105, 0.38);
  background: rgba(4, 18, 38, 0.62);
  border-radius: 3px;
}
.vm-tape {
  position: absolute; inset: -640px 0;
  background-image:
    repeating-linear-gradient(180deg, rgba(201, 164, 105, 0.28) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(180deg, rgba(244, 241, 234, 0.55) 0 2px, transparent 2px 60px);
  background-position: 0 0, 0 0;
}
.vm-pointer {
  position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: rgb(var(--accent-rgb));
  animation: vmPulse 2.4s ease-in-out infinite alternate;
}
@keyframes vmPulse { from { opacity: 0.45; } to { opacity: 1; } }
.vm-readout {
  font-size: 0.62rem; letter-spacing: 0.08em; color: var(--ink);
  background: rgba(254, 254, 254, 0.82); border: 1px solid var(--hairline);
  padding: 2px 6px; border-radius: 3px; text-align: center; line-height: 1.4;
}
.vm-readout .vm-unit { display: block; font-size: 0.5rem; color: var(--muted); letter-spacing: 0.14em; }
@media (max-width: 640px) { .viewmeter { display: none; } }

/* ── FV ─────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  background:
    radial-gradient(120% 90% at 70% 20%, #14294E 0%, #0A1B38 46%, var(--navy-deep) 100%);
  color: #F4F1EA;
  display: flex; flex-direction: column; justify-content: center;
}
#meshCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 13, 26, 0.12) 0%, rgba(4, 13, 26, 0.34) 55%, rgba(3, 10, 22, 0.8) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto; width: 100%;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 3rem) clamp(3.5rem, 8vh, 5rem);
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.3em;
  color: rgb(var(--accent-rgb)); margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.15rem, 5.4vw, 3.55rem);
  line-height: 1.32; letter-spacing: 0.06em;
  text-wrap: balance; margin-bottom: 1.3rem;
}
.hero-lead {
  font-size: 0.95rem; line-height: 2.1; color: rgba(244, 241, 234, 0.86);
  max-width: 44ch; margin-bottom: 1.8rem; text-wrap: balance;
}
.hero-cta-row { margin-bottom: 1.9rem; }
.btn-cta {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--serif); font-weight: 600; letter-spacing: 0.14em;
  font-size: 0.98rem;
  color: var(--navy-deep);
  background: rgb(var(--accent-rgb));
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 15px 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}
.btn-cta:hover, .btn-cta:focus-visible { transform: translateY(-2px); filter: brightness(1.07); }
.btn-cta:focus-visible { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 3px; }
.hero-badges {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px; max-width: 460px;
}
.hero-badges li {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(244, 241, 234, 0.88);
}
.hero-badges svg { width: 19px; height: 19px; flex: none; color: rgb(var(--accent-rgb)); }
.hero-visual { position: relative; }
.hero-visual img {
  border: 1px solid rgba(201, 164, 105, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-visual figcaption {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.24em;
  color: rgba(244, 241, 234, 0.6); margin-top: 10px; text-align: right;
}
.hero-scrollcue {
  position: relative; z-index: 2;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.3em;
  color: rgba(244, 241, 234, 0.55); text-align: center;
  padding-bottom: 22px;
  animation: cueDrift 2.6s ease-in-out infinite alternate;
}
@keyframes cueDrift { from { opacity: 0.45; } to { opacity: 0.95; } }

/* ── スカイライン稜線 ─────────────────── */
.skyline { height: 130px; overflow: hidden; }
.skyline svg { width: 100%; height: 100%; display: block; }
.sky-1 { background: linear-gradient(180deg, var(--navy-deep) 0%, #0E2140 40%, #FEFEFE 100%); }
.sky-2 { background: linear-gradient(180deg, #FEFEFE 0%, #F1F4F8 100%); }

/* ── 共通セクション ───────────────────── */
.section { padding: clamp(4rem, 10vh, 6.5rem) clamp(1.25rem, 5vw, 3rem); }
.container { max-width: 1120px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: clamp(2.2rem, 5vh, 3.2rem); }
.eyebrow {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.32em;
  color: rgb(var(--accent-rgb)); margin-bottom: 0.7rem;
}
.section h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem); letter-spacing: 0.1em;
  line-height: 1.4; text-wrap: balance; color: var(--navy);
}
.sec-lead {
  margin-top: 1.1rem; font-size: 0.92rem; color: var(--muted);
  max-width: 46em; margin-left: auto; margin-right: auto; text-wrap: balance;
}
.sec-note { margin-top: 2rem; font-size: 0.72rem; color: var(--muted); text-align: center; letter-spacing: 0.04em; }

/* ── 物件情報 ─────────────────────────── */
.sec-outline { background: #FEFEFE; }
.outline-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: auto auto; gap: clamp(1.2rem, 3vw, 2rem);
}
.outline-plan { grid-row: 1; }
.outline-ext { grid-row: 1 / span 2; grid-column: 2; }
.outline-plan img, .outline-ext img { border: 1px solid var(--hairline); width: 100%; }
.outline-ext img { height: 100%; object-fit: cover; }
.outline-grid figcaption {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.2em;
  color: var(--muted); margin-top: 8px;
}
.outline-ext { display: flex; flex-direction: column; }
.outline-ext img { flex: 1; min-height: 0; }
.spec-table { grid-column: 1; }
.spec-table div {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; padding: 9px 4px;
  border-bottom: 1px solid var(--hairline);
}
.spec-table div:first-child { border-top: 2px solid var(--navy); }
.spec-table dt {
  font-size: 0.78rem; letter-spacing: 0.18em; color: var(--muted); flex: none;
}
.spec-table dd { font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.05em; text-align: right; }
.spec-price { font-size: 1.5rem !important; font-weight: 600; color: var(--navy); }
.spec-price span { font-size: 0.85rem; margin-left: 2px; }

/* ── 物件の魅力 ───────────────────────── */
.sec-appeal { background: #FEFEFE; }
.concept { max-width: 640px; margin: 0 auto clamp(2.4rem, 6vh, 3.6rem); }
.concept p { margin-bottom: 1.15rem; font-size: 0.95rem; line-height: 2.15; }
.concept p:last-child { margin-bottom: 0; }
.appeal-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}
.appeal-card { background: #FFF; border: 1px solid var(--hairline); }
.appeal-card .card-photo { overflow: hidden; aspect-ratio: 16 / 10; }
.appeal-card .card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.appeal-card:hover .card-photo img { transform: scale(1.04); }
.appeal-card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.08rem;
  letter-spacing: 0.12em; color: var(--navy);
  padding: 1.1rem 1.3rem 0.3rem;
}
.appeal-card h3::before {
  content: ""; display: inline-block; width: 22px; height: 1px;
  background: rgb(var(--accent-rgb)); vertical-align: middle; margin-right: 10px;
}
.appeal-card p { padding: 0 1.3rem 1.3rem; font-size: 0.85rem; color: #3A4250; }

/* ── ACCESS ──────────────────────────── */
.sec-access { background: #F1F4F8; }
.access-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.4rem, 3vw, 2.4rem); align-items: stretch;
}
/* 等角街区（iso-city） */
.iso-stage {
  background: #0A1B38;
  border: 1px solid rgba(201, 164, 105, 0.3);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  color: #E8EDF4;
}
.iso-hud { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.18em; color: rgba(232, 237, 244, 0.75); }
.hud-caption { color: rgb(var(--accent-rgb)); text-align: right; }
.iso-frame {
  position: relative; flex: 1; min-height: 340px; overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 40%, rgba(20, 41, 78, 0.9) 0%, rgba(6, 16, 33, 0.95) 100%);
}
.iso-world {
  position: absolute; left: 50%; top: 55%; width: 0; height: 0;
  transform: rotateX(55deg) rotateZ(45deg);
  transform-style: preserve-3d;
}
.iso-tilt { position: absolute; transform-style: preserve-3d; }
.iso-tile, .iso-shadow, .iso-b, .iso-face { position: absolute; transform-style: preserve-3d; }
.iso-face { top: 0; left: 0; backface-visibility: hidden; }
.iso-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; }
.iso-legend span { display: flex; align-items: center; gap: 6px; }
.lg-chip { width: 9px; height: 9px; display: inline-block; }
.lg-res { background: #5E7A9E; }
.lg-com { background: #3E5E86; }
.lg-grn { background: #4C7A5E; }
.lg-civ { background: #C9A469; }
.iso-scalebar { display: flex; align-items: center; gap: 0; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; color: rgba(232, 237, 244, 0.75); }
.iso-scalebar i { width: 26px; height: 5px; background: rgba(232, 237, 244, 0.85); }
.iso-scalebar i:nth-child(2n) { background: rgba(232, 237, 244, 0.25); }
.iso-scalebar span { margin-left: 10px; }

/* 駅マップ（scroll-odysseyのピン地図） */
.station-map-wrap { display: flex; flex-direction: column; gap: 14px; }
.station-map {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid rgba(3, 26, 55, 0.25); border-radius: 2px;
  background:
    repeating-radial-gradient(circle at 25% 65%, transparent 0 26px, rgba(201, 164, 105, 0.14) 26px 27px),
    repeating-radial-gradient(circle at 78% 28%, transparent 0 34px, rgba(94, 122, 158, 0.18) 34px 35px),
    linear-gradient(135deg, #0E2140 0%, #14294E 55%, #0A1B38 100%);
}
.map-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: var(--px); top: var(--py);
  translate: -50% -100%;
  width: 30px; height: 40px; padding: 0;
  background: none; border: none; cursor: pointer;
}
.map-pin svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.map-pin:focus-visible { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 3px; }
.map-pop {
  position: absolute; width: min(240px, 62vw); z-index: 5;
  background: #0B1E3C; border: 1px solid rgba(201, 164, 105, 0.45);
  border-radius: 4px; padding: 13px 15px; color: #EDF1F7;
  transform: scale(0.05); opacity: 0; pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.map-pop.open { transform: scale(1); opacity: 1; pointer-events: auto; }
.map-pop h3 { font-family: var(--serif); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 4px; }
.map-pop h3 span { font-family: var(--mono); font-size: 0.68rem; color: rgb(var(--accent-rgb)); margin-left: 8px; }
.map-pop p { font-size: 0.72rem; line-height: 1.75; color: rgba(237, 241, 247, 0.82); }
.pop-1 { left: 18%; top: 70%; translate: 16px calc(-100% - 8px); transform-origin: 0 100%; }
.pop-2 { left: 50%; top: 20%; translate: 16px 8px; transform-origin: 0 0; }
.pop-3 { left: 82%; top: 66%; translate: calc(-100% - 16px) calc(-100% - 8px); transform-origin: 100% 100%; }
.map-hint {
  position: absolute; right: 12px; bottom: 9px;
  font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.24em;
  color: rgba(237, 241, 247, 0.55);
}
.station-list { list-style: none; display: flex; flex-direction: column; }
.station-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 4px; border-bottom: 1px solid var(--hairline);
  background: transparent;
}
.station-list li:first-child { border-top: 2px solid var(--navy); }
.st-line { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--muted); flex: none; width: 9.5em; }
.st-name { font-family: var(--serif); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.04em; }
.st-walk { margin-left: auto; font-size: 0.8rem; color: var(--muted); }
.st-walk b { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); margin: 0 2px; }

.access-note { max-width: 640px; margin: 2.2rem auto 0; }
.access-note p { font-size: 0.92rem; line-height: 2.1; margin-bottom: 0.9rem; }
.access-note p:last-child { margin-bottom: 0; }

/* ── Q&A ─────────────────────────────── */
.sec-faq { background: #FEFEFE; }
.container.narrow { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--hairline); padding: 1.15rem 1.4rem; background: #FFF; }
.faq-item dt {
  font-family: var(--serif); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.06em; color: var(--navy); margin-bottom: 0.4rem;
}
.faq-item dt::before { content: "Q."; color: rgb(var(--accent-rgb)); margin-right: 9px; font-family: var(--mono); }
.faq-item dd { font-size: 0.85rem; color: #3A4250; }

/* ── GALLERY ─────────────────────────── */
.sec-gallery { background: #FEFEFE; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.g-item { position: relative; overflow: hidden; border: 1px solid var(--hairline); }
.g-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.6s ease; }
.g-item:hover img { transform: scale(1.045); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(4, 18, 38, 0.78));
  color: #F4F1EA; font-size: 0.72rem; letter-spacing: 0.22em;
}
.mid-cta { text-align: center; margin-top: clamp(2.4rem, 6vh, 3.4rem); }
.mid-cta p { font-family: var(--serif); font-size: 1.02rem; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 1.2rem; }
.btn-cta-line { background: var(--navy); color: #F4F1EA; border-color: var(--navy); box-shadow: 0 8px 22px rgba(3, 26, 55, 0.22); }

/* ── 最終CTA・内覧予約 ─────────────────── */
.sec-reserve {
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(201, 164, 105, 0.14) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #F4F1EA;
}
.reserve-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.6rem); align-items: start;
}
.reserve-copy { font-family: var(--serif); font-size: 1.02rem; letter-spacing: 0.1em; color: rgba(244, 241, 234, 0.9); margin-bottom: 0.6rem; }
.sec-reserve h2.reserve-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: 0.18em;
  color: #F4F1EA; margin-bottom: 1.6rem;
}
.reserve-notes { list-style: none; margin-bottom: 1.1rem; }
.reserve-flow { font-size: 0.85rem; color: rgba(244, 241, 234, 0.82); margin-bottom: 0.9rem; max-width: 46em; }
.reserve-flow:last-of-type { margin-bottom: 1.6rem; }
.reserve-notes li {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.85rem; padding: 7px 0; color: rgba(244, 241, 234, 0.88);
}
.reserve-notes svg { width: 20px; height: 20px; flex: none; color: rgb(var(--accent-rgb)); }
.reserve-form {
  background: rgba(254, 254, 254, 0.05);
  border: 1px solid rgba(201, 164, 105, 0.3);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-size: 0.72rem; letter-spacing: 0.2em; color: rgb(var(--accent-rgb)); margin-bottom: 5px; }
.form-row input, .form-row select {
  width: 100%; padding: 11px 13px; font-size: 0.9rem; font-family: var(--sans);
  color: #F4F1EA; background: rgba(4, 18, 38, 0.55);
  border: 1px solid rgba(244, 241, 234, 0.22); border-radius: 2px;
}
.form-row input::placeholder { color: rgba(244, 241, 234, 0.35); }
.form-row input:focus, .form-row select:focus { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 1px; }
.btn-form { width: 100%; border: none; font-size: 1.02rem; padding: 16px 20px; }
.form-purpose { margin-top: 0.9rem; font-size: 0.7rem; color: rgba(244, 241, 234, 0.7); }
.form-purpose a { color: rgb(var(--accent-rgb)); }
.form-demo { margin-top: 0.7rem; font-size: 0.74rem; color: #E8C98A; }
.reserve-tel { margin-top: 1.4rem; font-size: 0.8rem; color: rgba(244, 241, 234, 0.8); }
.tel-num { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.08em; margin: 0 6px; }
.tel-note { font-size: 0.68rem; color: rgba(244, 241, 234, 0.55); }
.reserve-visual img { border: 1px solid rgba(201, 164, 105, 0.35); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4); }
.reserve-visual figcaption { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.2em; color: rgba(244, 241, 234, 0.55); margin-top: 10px; text-align: right; }

/* ── フッター ─────────────────────────── */
.footer {
  background: var(--navy-deep); color: rgba(244, 241, 234, 0.75);
  text-align: center; padding: 3rem 1.25rem 2.6rem;
  border-top: 1px solid rgba(201, 164, 105, 0.25);
}
.footer-name { font-family: var(--serif); font-weight: 600; letter-spacing: 0.22em; font-size: 1.05rem; color: #F4F1EA; margin-bottom: 0.6rem; }
.footer-company { font-size: 0.72rem; margin-bottom: 1.1rem; }
.footer-privacy { max-width: 640px; margin: 0 auto 1.2rem; font-size: 0.72rem; }
.footer-privacy summary { cursor: pointer; color: rgb(var(--accent-rgb)); letter-spacing: 0.12em; padding: 4px; }
.footer-privacy summary:focus-visible { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 2px; }
.privacy-body { text-align: left; padding: 0.8rem 1rem; border: 1px solid rgba(201, 164, 105, 0.25); margin-top: 0.6rem; line-height: 1.9; }
.privacy-body p + p { margin-top: 0.6rem; }
.footer-demo { font-size: 0.72rem; line-height: 2; text-wrap: balance; }
.footer-demo + .footer-demo { margin-bottom: 0.9rem; }
.footer-credit { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.2em; color: rgba(244, 241, 234, 0.45); }

/* ── レスポンシブ ─────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero-text { display: contents; }
  .hero-eyebrow { order: 1; margin-bottom: 0; }
  .hero-title { order: 2; margin-bottom: 0; }
  .hero-lead { order: 3; margin-bottom: 0; }
  .hero-visual { order: 4; }
  .hero-cta-row { order: 5; margin-bottom: 0; }
  .hero-badges { order: 6; }
  .hero-inner { padding-top: 4.6rem; padding-bottom: 2.2rem; }
  .hero { min-height: 0; }
  .outline-grid { grid-template-columns: 1fr; }
  .outline-ext { grid-row: auto; grid-column: 1; }
  .outline-ext img { max-height: 420px; object-position: 50% 30%; }
  .appeal-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .iso-frame { min-height: 300px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reserve-grid { grid-template-columns: 1fr; }
  .reserve-visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  /* SPは密な縦積み（§2.5）。密度は余白と装飾側で作り、主力導線のGALLERYは縮めない */
  .section { padding-top: 2.35rem; padding-bottom: 2.35rem; }
  .sec-head { margin-bottom: 1.15rem; }
  .sec-note { margin-top: 1.1rem; }
  .concept { margin-bottom: 1.6rem; }
  .concept p { margin-bottom: 0.9rem; line-height: 1.95; }
  /* 魅力カードはSPで横並び型（密な縦積み） */
  .appeal-card { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto 1fr; align-items: stretch; }
  .appeal-card .card-photo { aspect-ratio: auto; height: 100%; min-height: 104px; grid-column: 1; grid-row: 1 / span 2; }
  .appeal-card h3 { grid-column: 2; grid-row: 1; padding: 0.75rem 0.9rem 0.15rem; font-size: 0.94rem; }
  .appeal-card p { grid-column: 2; grid-row: 2; padding: 0 0.9rem 0.75rem; font-size: 0.76rem; line-height: 1.75; }
  .appeal-card h3::before { width: 14px; margin-right: 7px; }
  .appeal-grid { gap: 0.9rem; }
  .faq-item { padding: 0.9rem 1rem; }
  .faq-item dd { font-size: 0.8rem; }
  .spec-table div { padding: 7px 4px; }
  .skyline { height: 52px; }
  .iso-frame { min-height: 195px; }
  .outline-ext img { max-height: 230px; }
  .reserve-visual { max-width: 210px; }
  .reserve-form { padding: 1rem; }
  .form-row { margin-bottom: 0.8rem; }
  .access-note { margin-top: 1.6rem; }
  .access-note p { line-height: 1.95; }
  .mid-cta { margin-top: 1.8rem; }
  .footer { padding: 1.8rem 1.25rem 1.8rem; }
  .hero-badges { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .hero-badges li { font-size: 0.72rem; }
  /* GALLERY: 「狭いほど列が増える」逆行をやめ、2列のまま大きく見せる（3列→2列で単調） */
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .g-item img { aspect-ratio: 4 / 3; }
  .g-item figcaption { font-size: 0.7rem; letter-spacing: 0.12em; padding: 18px 10px 8px; }
  .map-pop { left: 50%; top: 50%; translate: -50% -50%; transform-origin: 50% 50%; }
  .station-list li { flex-wrap: wrap; gap: 4px 10px; }
  .st-line { width: auto; }
}

/* 極小幅（〜360px）: 1文字だけの泣き別れを起こす箇所を詰める */
@media (max-width: 360px) {
  .site-tag { flex-wrap: wrap; gap: 3px 8px; }
  .site-tag .tag-name { font-size: 0.8rem; letter-spacing: 0.05em; padding: 4px 10px; white-space: nowrap; }
  .site-tag .tag-sub { font-size: 0.5rem; letter-spacing: 0.14em; white-space: nowrap; }
  .hero-eyebrow { font-size: 0.63rem; letter-spacing: 0.14em; white-space: nowrap; }
  .hero-badges { gap: 6px 8px; }
  .hero-badges li { font-size: 0.66rem; letter-spacing: 0.01em; gap: 7px; }
  .hero-badges svg { width: 16px; height: 16px; }
}

/* ── prefers-reduced-motion: 全演出を静止で成立 ── */
@media (prefers-reduced-motion: reduce) {
  #meshCanvas { display: none; }
  .viewmeter { display: none; }
  .hero-scrollcue, .vm-pointer { animation: none; }
  .appeal-card .card-photo img, .g-item img { transition: none; }
  .map-pop { transition: none; }
  .btn-cta { transition: none; }
  * { scroll-behavior: auto !important; }
}
