/* 060 篝建築 ― カッコイイ系の LP（黒地に灯りの色）。色はここだけ触れば差し替わる */
:root {
  --c-bg: #0e0e0e;
  --c-panel: #1a1a1a;
  --c-white: #ffffff;
  --c-ondark: #d1d5db;
  --c-ondark-sub: #a7a9ad;
  --c-accent: #ff8a1f;
  --c-yellow: #ffc93c;
  --c-light: #f4f1ec;
  --c-accent-text: #b04e00;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "M PLUS 1", sans-serif;
  --font-en: "Big Shoulders Display", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; color: var(--c-ondark); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* 英字の見出し（E04 でスクランブル） */
.label { font-family: var(--font-en); font-weight: 900; font-size: clamp(56px, 13vw, 160px); line-height: .9; letter-spacing: .01em; color: var(--c-white); text-transform: uppercase; white-space: nowrap; }
.label::before { content: ""; display: block; width: 56px; height: 4px; background: var(--c-accent); margin-bottom: 18px; }
.label--dark { color: #111; }
.sec-ttl { margin-top: 18px; font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.45; color: var(--c-white); }
.sec-ttl--dark { color: #111; }
.note { margin-top: 18px; font-size: 15px; color: var(--c-ondark-sub); }
.note--dark { color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; font-weight: 800; font-size: 16px; letter-spacing: .06em; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .25s, color .25s; }
.btn::after { content: "→"; font-family: var(--font-en); transition: transform .3s var(--ease); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(6px); }
.btn--orange { background: var(--c-accent); color: #0e0e0e; }
.btn--orange:hover { background: var(--c-yellow); }
.btn--black { background: #0e0e0e; color: #fff; }
.btn--black:hover { background: var(--c-accent-text); }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 17px; }
.btn--xl { min-height: 76px; padding: 0 44px; font-size: 19px; }
@media (max-width: 389px) { .btn--lg, .btn--xl { padding: 0 20px; font-size: 16px; } }

/* ===== ヘッダー（LP：ロゴと予約だけ） ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: linear-gradient(180deg, rgba(14, 14, 14, .85), rgba(14, 14, 14, 0)); }
.header__inner { display: flex; align-items: center; gap: 10px; height: 68px; padding: 0 10px 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: #fff; white-space: nowrap; flex: none; }
.logo__mark { width: 14px; height: 22px; background: var(--c-accent); clip-path: polygon(50% 0, 100% 60%, 50% 100%, 0 60%); }
.logo__en { font-family: var(--font-en); font-weight: 900; font-size: 30px; letter-spacing: .08em; line-height: 1; }
.logo__ja { font-weight: 700; font-size: 15px; color: var(--c-ondark); }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
.header__btn::after { display: none; }
@media (max-width: 389px) { .logo__ja { display: none; } }
@media (min-width: 1080px) { .header__inner { height: 84px; padding: 0 40px; } .header__btn { padding: 0 26px; } .header__btn::after { display: inline; } }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #fff; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: #0e0e0e; padding: 8px 20px 24px; display: flex; flex-direction: column; border-bottom: 2px solid var(--c-accent); }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: #fff; text-decoration: none; font-weight: 700; border-bottom: 1px solid #2a2a2a; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== メインビジュアル（静止画を動かす・動画風） ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 20px 92px; background: #000; overflow: hidden; }
.hero__film { position: absolute; inset: 0; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, .9) 100%); }
.hero__light { display: none; }
.hero__bar { display: none; }
.hero__rec { position: absolute; z-index: 3; left: 20px; top: 84px; display: flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 800; font-size: 16px; letter-spacing: .14em; color: #fff; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.hero__pause { position: absolute; z-index: 3; right: 16px; top: 76px; min-height: 44px; padding: 0 16px; background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .5); font-family: var(--font); font-size: 15px; cursor: pointer; }
.hero__pause { display: none; }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; }
.hero__kicker { font-family: var(--font-en); font-weight: 800; font-size: 17px; letter-spacing: .12em; color: var(--c-accent); }
.hero__title { margin: 8px 0 14px; font-weight: 800; font-size: clamp(48px, 13vw, 132px); line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.hero__title span { display: block; }
.hero__lead { font-size: 17px; color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.hero__date { font-size: 15px; line-height: 1.6; color: var(--c-ondark); border-left: 3px solid var(--c-accent); padding-left: 12px; }
@media (min-width: 1080px) { .hero { padding: 0 40px 72px; } .hero__rec { left: 40px; top: 104px; } .hero__pause { right: 40px; top: 96px; } }
/* 動く版：上下の黒い幕が開き → ゆっくり寄る → 灯りの光が横に流れる */
.is-motion .hero__bar { display: block; position: absolute; left: 0; right: 0; height: 50%; background: #000; z-index: 1; }
.is-motion .hero__bar--t { top: 0; }
.is-motion .hero__bar--b { bottom: 0; }
.is-motion .hero__light { display: block; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, transparent 30%, rgba(255, 160, 60, .32) 45%, rgba(255, 210, 120, .18) 50%, transparent 65%); mix-blend-mode: screen; background-size: 250% 100%; animation: sweep 9s linear infinite; }
.is-motion .hero__pause { display: block; }
.is-motion .hero__dot { animation: blink 1.2s steps(2) infinite; }
@keyframes sweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes blink { 50% { opacity: 0; } }
.is-paused .hero__light, .is-paused .hero__dot { animation-play-state: paused; }

/* ===== 悩み ===== */
.problem { padding: 120px 0 96px; }
.problems { margin-top: 48px; border-top: 1px solid #333; }
.problems li { display: flex; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid #333; }
.problems__no { font-family: var(--font-en); font-weight: 900; font-size: 48px; line-height: 1; color: var(--c-accent); flex: none; }
.problems p { font-weight: 700; font-size: clamp(19px, 2.4vw, 28px); color: #fff; }

/* ===== 演出①（A02）：解決 ===== */
.solution { background: var(--c-panel); padding: 96px 0; overflow: hidden; }
.solution__stage { position: relative; margin: 40px 0 32px; padding: 0 20px; display: grid; gap: 16px; justify-items: center; }
.solution__photo { width: 100%; max-width: 760px; overflow: hidden; }
.solution__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.solution__model { width: 70%; max-width: 360px; }
.solution__word { font-family: var(--font-en); font-weight: 900; font-size: clamp(56px, 16vw, 200px); line-height: .9; color: var(--c-accent); }
.solution__word--r { color: var(--c-yellow); }
.solution__text { font-size: 17px; max-width: 760px; color: var(--c-ondark); }
/* 動く版（PC）：止めて、全画面の寄りの写真 → 縮んでカード → 模型が浮かぶ → 左右から単語 */
.is-motion-pc .solution { padding: 0; }
.is-motion-pc .solution__pin { position: relative; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.is-motion-pc .solution__head { position: absolute; z-index: 4; left: 0; right: 0; top: 104px; }
.is-motion-pc .solution__head .label { font-size: 88px; }
.is-motion-pc .solution__head .sec-ttl { font-size: 30px; }
.is-motion-pc .solution__head .sec-ttl br { display: none; }
.is-motion-pc .solution__stage { position: absolute; inset: 0; margin: 0; padding: 0; display: block; }
.is-motion-pc .solution__photo { position: absolute; left: 50%; top: 57%; width: 46vw; max-width: none; margin: calc(46vw * -.3125) 0 0 -23vw; }
.is-motion-pc .solution__photo img { aspect-ratio: 16 / 10; }
.is-motion-pc .solution__model { position: absolute; z-index: 3; left: 50%; top: 57%; width: 24vw; max-width: none; margin: -12vw 0 0 -12vw; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.is-motion-pc .solution__word { position: absolute; z-index: 2; top: 70%; margin-top: -.45em; font-size: 15vw; }
.is-motion-pc .solution__word--l { right: 52%; }
.is-motion-pc .solution__word--r { left: 52%; }
.is-motion-pc .solution__text { position: absolute; z-index: 4; left: 0; right: 0; bottom: 28px; text-align: center; text-shadow: 0 2px 8px #000; }

/* ===== 演出②（G02）：図面／完成 ===== */
.compare { padding: 112px 0 96px; }
.compare__lead { display: none; margin-top: 10px; color: var(--c-ondark-sub); }
.has-js .compare__lead { display: block; }
.ba { position: relative; margin: 36px auto 56px; max-width: 1400px; aspect-ratio: 3 / 2; overflow: hidden; background: #0b2a4a; touch-action: pan-y; }
.ba__after { width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; background: #0b3a66; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.4) brightness(1.2); mix-blend-mode: luminosity; opacity: .45; }
.ba__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__tag { position: absolute; z-index: 3; top: 16px; padding: 4px 14px; font-weight: 800; font-size: 16px; color: #0e0e0e; }
.ba__tag--l { left: 16px; background: #e6f3ff; }
.ba__tag--r { right: 16px; background: var(--c-accent); }
.ba__line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--c-accent); pointer-events: none; }
.ba__knob { display: none; }
.has-js .ba__knob { display: grid; position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; background: var(--c-accent); color: #0e0e0e; font-size: 22px; font-weight: 800; border-radius: 50%; }
.ba__range { display: none; }
.has-js .ba__range { display: block; position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__line, .ba:focus-within .ba__knob { outline: 3px solid #fff; outline-offset: 3px; }
.feats { display: grid; gap: 1px; background: #333; border: 1px solid #333; }
.feat { background: var(--c-bg); padding: 28px 24px; }
.feat__no { font-family: var(--font-en); font-weight: 900; font-size: 40px; line-height: 1; color: var(--c-accent); }
.feat h3 { margin: 10px 0 6px; font-weight: 800; font-size: 22px; color: #fff; }
@media (min-width: 900px) { .feats { grid-template-columns: repeat(3, 1fr); } }

/* ===== 申し込みの帯 ===== */
.cta-band { background: var(--c-accent); padding: 56px 20px; display: grid; justify-items: center; gap: 22px; text-align: center; }
.cta-band__text { font-weight: 800; font-size: clamp(24px, 4vw, 40px); color: #0e0e0e; }
.cta-band .btn--orange { background: #0e0e0e; color: #fff; }
.cta-band .btn--orange:hover { background: #2a2a2a; }

/* ===== 声 ===== */
.voice { padding: 112px 0; }
.voice__grid { display: grid; gap: 28px; margin-top: 40px; }
.voice__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.voices { display: grid; gap: 20px; align-content: center; }
.voices li { border-left: 4px solid var(--c-accent); padding: 6px 0 6px 20px; }
.voices__q { font-weight: 700; font-size: 20px; line-height: 1.6; color: #fff; }
.voices__who { margin-top: 8px; font-size: 15px; color: var(--c-ondark-sub); }
@media (min-width: 900px) { .voice__grid { grid-template-columns: 1.2fr 1fr; gap: 56px; } }

/* ===== 料金・FAQ（白い区切り） ===== */
.price, .faq { background: var(--c-light); color: var(--c-text); padding: 112px 0; }
.faq { padding-top: 0; }
.price .label::before, .faq .label::before { background: var(--c-accent-text); }
.plans { display: grid; gap: 16px; margin-top: 40px; }
.plan { position: relative; background: #fff; border: 2px solid #111; padding: 28px 24px; }
.plan--best { border-color: var(--c-accent-text); box-shadow: 8px 8px 0 var(--c-accent); }
.plan__badge { position: absolute; top: -14px; left: 20px; background: #111; color: #fff; font-weight: 800; font-size: 15px; padding: 2px 12px; }
.plan__name { font-weight: 800; font-size: 20px; color: #111; }
.plan__yen { font-family: var(--font-en); font-weight: 900; font-size: 56px; line-height: 1.1; color: var(--c-accent-text); }
.plan__yen small { font-family: var(--font); font-size: 16px; color: #111; margin-left: 4px; }
.price__cta { margin-top: 36px; text-align: center; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.faq__list { margin-top: 32px; border-top: 2px solid #111; }
.faq details { border-bottom: 1px solid #c9c4bc; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 0; font-weight: 800; font-size: 17px; color: #111; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); font-weight: 900; font-size: 28px; color: var(--c-accent-text); }
.faq summary::after { content: "+"; margin-left: auto; font-size: 26px; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px 36px; }

/* ===== 申し込み ===== */
.contact { position: relative; padding: 120px 20px 128px; text-align: center; overflow: hidden; background: #000; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.contact__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; max-width: 900px; margin: 0 auto; }
.contact .label::before { margin: 0 auto 18px; }
.contact__title { font-weight: 800; font-size: clamp(30px, 5vw, 60px); line-height: 1.35; color: #fff; }
.contact__inner > p { color: #fff; }
.contact__tel { font-size: 15px; }

/* ===== フッター ===== */
.footer { background: #000; padding: 48px 20px 112px; text-align: center; font-size: 15px; color: var(--c-ondark-sub); display: grid; gap: 8px; border-top: 1px solid #222; }
.footer__logo { font-family: var(--font-en); font-weight: 900; font-size: 34px; letter-spacing: .08em; color: #fff; }
.footer__logo span { font-family: var(--font); font-size: 16px; letter-spacing: 0; }
@media (min-width: 1080px) { .footer { padding-bottom: 48px; } }

/* スマホ：画面の下に予約ボタンを固定 */
.fixed-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; min-height: 60px; background: var(--c-accent); color: #0e0e0e; font-weight: 800; font-size: 17px; text-decoration: none; }
@media (min-width: 1080px) { .fixed-cta { display: none; } }

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