/* mametto 公式サイト 第7版（第6版の仕上げ）｜メインビジュアル（午後の家 → 帰宅の連携 → 映画の夜）と ④ 住んでからも、楽しみが増える。
   写真は場面（カット）ごとに、画像と同じ縦横比の箱（.space）で画面を覆う。札・輪・灯りの線の位置は画像の％。
   動き（カットの重なり・カメラ・灯りの広がり・カーテン・テレビ）は fv6.js が時刻 t から描く。ここは見た目と、札の出入りの短い遷移だけ。
   黄色は、操作と連携を読み取る手掛かり（押した場面・反応した場所・短い光）にだけ使う。 */

/* ---------- ヘッダー（FV の上に重ねる。明るい場面は正式ロゴ、暗い場面は白の版） ---------- */
.site-header { transition: color .5s; }
.brand-logo { position: relative; display: block; height: 28px; aspect-ratio: 489 / 96; }
.brand-logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s ease; }
.site-header[data-tone="light"] .logo-white { opacity: 0; }
.site-header[data-tone="dark"] .logo-ink { opacity: 0; }
.site-header[data-tone="dark"] .header-cta { background: rgba(255, 255, 255, .9); }
.brand-glow { position: absolute; left: 14.93%; top: 62.6%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 244, 205, .95) 0%, rgba(253, 202, 91, .55) 45%, rgba(253, 202, 91, 0) 100%); }
html.fv-intro .brand-glow { animation: fv-glow 1s ease-out .35s both; }
@keyframes fv-glow { 0% { opacity: 0; transform: scale(.5); } 35% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.2); } }

/* ---------- A. メインビジュアル ---------- */
.fv6 { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(640px, 100vh, 1200px); min-height: clamp(640px, 100svh, 1200px); background: #191816; color: #fff; }
.fv6-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; container-type: size; background: #191816; }
.cut { position: absolute; inset: 0; opacity: 0; }
.cut[data-cut="c1"] { opacity: 1; }
/* 画像と同じ縦横比の箱で画面を覆う（object-fit: cover と同じ切り取り）。--fx・--fy は、はみ出す分をどちらへ寄せるか（0〜1） */
.space { position: absolute; aspect-ratio: 3 / 2; width: max(100cqw, 150cqh);
  left: calc((100cqw - max(100cqw, 150cqh)) * var(--fx, .5)); top: calc((100cqh - max(66.667cqw, 100cqh)) * var(--fy, .5)); }
.cam { position: absolute; inset: 0; transform-origin: var(--ox, 50%) var(--oy, 50%); will-change: transform; }
.lyr, .lyr img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lyr img { object-fit: cover; }
.lyr-on, .lyr-room, .lyr-curtain, .lyr-tv { opacity: 0; }
/* 灯りの広がり：点灯の絵を、扉を中心にした楕円で見せる（--wr・--wr2 は fv6.js が広げる） */
.lyr-on { -webkit-mask-image: radial-gradient(var(--wr, 0%) var(--wr2, 0%) at var(--wx, 53%) var(--wy, 43%), #000 0%, #000 50%, rgba(0, 0, 0, .55) 72%, transparent 100%);
          mask-image: radial-gradient(var(--wr, 0%) var(--wr2, 0%) at var(--wx, 53%) var(--wy, 43%), #000 0%, #000 50%, rgba(0, 0, 0, .55) 72%, transparent 100%); }
.lyr-on.is-full { -webkit-mask-image: none; mask-image: none; }
/* テレビ：画面の四角だけ（PC・スマホで画像が違うので位置も別） */
.lyr-tv { clip-path: inset(24.5% 33.5% 54% 40.6%); }
.only-sp { display: none; }

/* 札：反応した場所に、黄色の点と短い言葉。動いている時だけ出し、見せ終わったら退く */
.tag { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: center; gap: 9px; pointer-events: none;
  transform: translate(-9px, -50%) translateY(6px); opacity: 0; transition: opacity .38s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.tag.on { opacity: 1; transform: translate(-9px, -50%); }
.tag--left { flex-direction: row-reverse; transform: translate(calc(-100% + 9px), -50%) translateY(6px); }
.tag--left.on { transform: translate(calc(-100% + 9px), -50%); }
/* PC で、言葉がヘッダー・場面の札・文字に重なる時だけ、fv6.js が下か上へ逃がす（点は設備の位置のまま） */
.tag--below { flex-direction: column; transform: translate(-50%, -9px) translateY(6px); }
.tag--below.on { transform: translate(-50%, -9px); }
.tag--above { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 9px)) translateY(6px); }
.tag--above.on { transform: translate(-50%, calc(-100% + 9px)); }
.tag-dot { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(253, 202, 91, .32), 0 2px 10px rgba(0, 0, 0, .25); }
.tag-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; }
.tag.on .tag-dot::after { animation: ping 1.1s cubic-bezier(.2, .7, .3, 1) .05s 1; }
@keyframes ping { 0% { opacity: .95; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
.tag-body { display: grid; padding: 7px 13px 8px; border-radius: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); line-height: 1.32; white-space: nowrap;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .22); }
.tag-body b { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.tag-body span { font-size: 15px; font-weight: 700; letter-spacing: .03em; }
/* 鍵の操作盤の輪（指紋で開ける瞬間） */
.ring { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px var(--yellow), 0 0 22px 4px rgba(253, 202, 91, .55), inset 0 0 14px rgba(253, 202, 91, .45); }
.ring.on { animation: ring 1.25s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes ring { 0% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1); } 60% { opacity: .9; transform: scale(1.12); } 100% { opacity: 0; transform: scale(1.9); } }
/* 灯りの線に沿って走る黄色い短い光 */
.flow { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow path { fill: none; stroke: #fff1c4; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: .2 3; stroke-dashoffset: .2; opacity: 0;
  filter: drop-shadow(0 0 5px rgba(253, 202, 91, 1)) drop-shadow(0 0 14px rgba(253, 202, 91, .8)); }

/* 文字を読むための暗がり（左下の文字、右下の札、上のヘッダー）。茶色ではなく、色みの少ない暗さ */
.fv6-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 14, 13, .34) 0, rgba(14, 14, 13, 0) 150px),
    radial-gradient(110% 80% at 0% 100%, rgba(14, 14, 13, .66) 0%, rgba(14, 14, 13, .44) 34%, rgba(14, 14, 13, 0) 64%),
    radial-gradient(60% 62% at 100% 100%, rgba(14, 14, 13, .42) 0%, rgba(14, 14, 13, 0) 66%); }

/* 午後の場面（明るい絵）では、正式ロゴ（濃い色）が沈まないよう、上の暗がりを付けない */
.fv6[data-tone="light"] .fv6-veil { background:
    radial-gradient(110% 80% at 0% 100%, rgba(14, 14, 13, .66) 0%, rgba(14, 14, 13, .44) 34%, rgba(14, 14, 13, 0) 64%),
    radial-gradient(60% 62% at 100% 100%, rgba(14, 14, 13, .42) 0%, rgba(14, 14, 13, 0) 66%); }

/* 確定コピー（見出し3行・補足・ボタン2つ）。PC は左下に */
.fv6-copy { position: relative; z-index: 2; padding: 120px 0 64px; }
.fv6-copy .wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); }
/* 小見出しは、写真の中間の明るさの壁の上でも読めるよう、場面の札と同じ薄い暗いガラスの地に */
.hero-eyebrow { display: inline-flex; align-items: center; gap: .45em; margin-bottom: 14px; padding: 5px 13px 6px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .14em; color: #fff;
  background: rgba(14, 14, 13, .34); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; margin-right: .2em; border-radius: 50%; background: var(--yellow); }
.hero-title { max-width: 640px; font-size: clamp(34px, 3.35vw, 54px); line-height: 1.28; font-weight: 600; letter-spacing: 0; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-title .hl { display: block; white-space: nowrap; }
/* 帰ってきたリビング（c2c、PC）だけ：見出しの右端が明るいソファの肘に重なるので、見出しの後ろを柔らかく少し落とす
   （第7版、明暗差の確認から。画面全体は暗くしない。data-cut は fv6.js が見えている絵のカットを入れる） */
.fv6 .hero-title { position: relative; }
.fv6 .hero-title::before { content: ''; position: absolute; z-index: -1; inset: -.3em -1.1em -.25em -.8em; border-radius: 1em; pointer-events: none;
  background: rgba(14, 14, 13, .36); filter: blur(28px); opacity: 0; transition: opacity .6s ease; }
.fv6[data-cut="c2c"] .hero-title::before { opacity: 1; }
@media (max-width: 899px) { .fv6 .hero-title::before { display: none; } }
.hero-lead { margin-top: 22px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.85; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 1px 16px rgba(0, 0, 0, .4); }
.hero-lead .hl { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fv6 .btn-secondary { background: rgba(255, 255, 255, .92); }
.fv6 .btn-secondary:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* 入り：文字は行ごとに少し下から（約1秒で読める）。ボタンと札も早い段階から使える */
@keyframes fv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.fv-intro .hero-eyebrow { animation: fv-rise .5s cubic-bezier(.2, .7, .2, 1) .05s both; }
html.fv-intro .hero-title .hl { animation: fv-rise .56s cubic-bezier(.2, .7, .2, 1) both; }
html.fv-intro .hero-title .hl:nth-child(1) { animation-delay: .12s; }
html.fv-intro .hero-title .hl:nth-child(2) { animation-delay: .2s; }
html.fv-intro .hero-title .hl:nth-child(3) { animation-delay: .28s; }
html.fv-intro .hero-lead { animation: fv-rise .5s cubic-bezier(.2, .7, .2, 1) .42s both; }
html.fv-intro .hero-actions { animation: fv-rise .5s cubic-bezier(.2, .7, .2, 1) .5s both; }
html.fv-intro .fv6-dock { animation: fv-rise .6s cubic-bezier(.2, .7, .2, 1) .62s both; }

/* 場面の札（PC は右下）。いまの場面の時刻と言葉、3つの場面、一時停止 */
/* 写真の下の方（通り道の足元・スピーカー）を隠さないよう、時刻と場面の言葉は1行にまとめて薄くする */
.fv6-dock { position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 64px; width: 468px; padding: 13px 14px 13px; border-radius: 22px;
  background: rgba(20, 19, 17, .5); -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 20px 50px rgba(0, 0, 0, .22); }
.dock-now { display: flex; align-items: baseline; gap: 12px; padding: 0 4px; }
.dock-time { flex: none; display: grid; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .14em; color: rgba(255, 255, 255, .84); font-feature-settings: "tnum"; }
.dock-time > span, .dock-line > span { grid-area: 1 / 1; opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.dock-time > span.on, .dock-line > span.on { opacity: 1; transform: none; }
.dock-time > span { white-space: nowrap; }
.dock-time > span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--yellow); vertical-align: middle; }
.dock-line { flex: 1; min-width: 0; display: grid; min-height: 1.5em; font-size: 16.5px; line-height: 1.5; font-weight: 700; letter-spacing: .02em; color: #fff; }
.dock-line > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-row { display: flex; gap: 8px; margin-top: 10px; }
.dock-scenes { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dock-btn { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 62px; padding: 8px 12px 13px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .09); color: #fff; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: background-color .25s, color .25s, transform .12s ease, box-shadow .25s; }
.dock-btn b { font-size: 15.5px; line-height: 1.35; letter-spacing: .04em; white-space: nowrap; }
.dock-btn small { font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .66); white-space: nowrap; transition: color .25s; }
@media (hover: hover) { .dock-btn[aria-pressed="false"]:hover { background: rgba(255, 255, 255, .16); } }
.dock-btn[aria-pressed="true"] { background: var(--yellow); color: var(--ink); box-shadow: none; }
.dock-btn[aria-pressed="true"] small { color: rgba(27, 27, 26, .72); }
.dock-btn:active { transform: scale(.96); }
.dock-btn:disabled { opacity: .38; cursor: default; transform: none; }   /* 画像が届かない場面 */
.dock-btn:focus-visible, .dock-play:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* 押される瞬間（自動で流れている時も、押した時も） */
.dock-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px var(--yellow), 0 0 24px rgba(253, 202, 91, .7); }
.dock-btn.is-press { animation: press .45s cubic-bezier(.3, .7, .3, 1) 1; }
.dock-btn.is-press::after { animation: press-ring .9s cubic-bezier(.2, .7, .3, 1) 1; }
@keyframes press { 0% { transform: scale(1); } 35% { transform: scale(.93); } 100% { transform: scale(1); } }
@keyframes press-ring { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.16, 1.3); } }
/* 進み具合（いまの場面だけ） */
.dock-bar { position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.dock-bar > i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--yellow); }
.dock-btn[aria-pressed="true"] .dock-bar { background: rgba(27, 27, 26, .16); }
.dock-btn[aria-pressed="true"] .dock-bar > i { background: var(--ink); }
.dock-play { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 52px; min-height: 62px; padding: 0 12px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .09); color: #fff; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 13px; font-weight: 700; white-space: nowrap; }
@media (hover: hover) { .dock-play:hover { background: rgba(255, 255, 255, .18); } }
.dock-play svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dock-play .i-play { fill: currentColor; stroke-width: 1.5; }
.dock-play .i-play, .dock-play .i-again, .dock-play .dock-play-text { display: none; }
.dock-play[data-state="paused"] .i-pause, .dock-play[data-state="ended"] .i-pause { display: none; }
.dock-play[data-state="paused"] .i-play { display: block; }
.dock-play[data-state="ended"] .i-again { display: block; }
.dock-play[data-state="ended"] .dock-play-text { display: inline; }
.dock-play[data-state="ended"] { background: rgba(255, 255, 255, .92); color: var(--ink); }
.fv6.is-static .dock-play { display: none; }
/* 画像を待っている場面の札に、小さく回る印（fv6.js が .is-wait を付ける） */
.dock-btn.is-wait::before { content: ""; position: absolute; right: 10px; top: 10px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
/* 「場面を選ぶ」：場面の札の上の右端に小さく（初見で、何を触れるかが分かるように）。写真の明るい所でも読めるよう、薄い暗いガラスの地。
   押せる物に見えないよう、矢印は付けない（開閉の飾りに見えるため） */
.dock-label { position: absolute; right: 16px; bottom: calc(100% + 8px); display: inline-flex; align-items: center; margin: 0; padding: 3px 11px 4px 12px; border-radius: 999px;
  font-size: 11.5px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; color: #fff; white-space: nowrap; pointer-events: none;
  background: rgba(14, 14, 13, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
@keyframes spin { to { transform: rotate(360deg); } }

.fv6-notes { position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 14px; display: grid; justify-items: end; gap: 0; font-size: 11px; line-height: 1.55; color: rgba(255, 255, 255, .74); letter-spacing: .03em; text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- ④ 住んでからも、楽しみが増える ---------- */
.grow { padding: var(--sec) 0 calc(var(--sec) * .9); background: var(--off); overflow: hidden; }
.grow .section-head { max-width: 860px; }
.grow-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 36px); margin-top: clamp(40px, 4.4vw, 64px); counter-reset: none; }
/* 3つの段階をつなぐ線。段の現れに合わせて、黄色の線が左から伸びる */
.grow-steps::before, .grow-steps::after { content: ""; position: absolute; left: 6px; right: 0; top: 11px; height: 2px; border-radius: 2px; }
.grow-steps::before { background: var(--line-strong); }
.grow-steps::after { right: auto; width: calc(100% - 6px); background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s cubic-bezier(.4, 0, .2, 1) .2s; }
.grow.in .grow-steps::after { transform: scaleX(.72); }
.grow-step { position: relative; z-index: 1; display: flex; flex-direction: column; }   /* 段階をつなぐ線（::after）より上に。線は点と文字の地で隠れる */
.js .grow-step { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * .36s + .15s); }
.js .grow.in .grow-step { opacity: 1; transform: none; }
.grow-when { position: relative; display: flex; align-items: center; gap: 0; min-height: 24px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); }
.grow-when span { position: relative; z-index: 1; padding: 0 12px 0 10px; background: var(--off); }   /* 点と文字のすき間も地で覆い、線を覗かせない */
.grow-when i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px var(--off); }
.grow-media { position: relative; margin-top: 18px; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--linen); }
.grow-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 50%); transform: scale(1.06); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * .36s + .2s); }
.grow.in .grow-media img { transform: scale(1); }
.grow-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; }
.grow-badge--inline { margin-right: 10px; padding: 1px 9px; font-size: 11px; }
.grow-title { margin-top: 16px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
.grow-text { margin-top: 6px; font-size: 15px; line-height: 1.85; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.grow-note { margin-top: 8px; font-size: 12.5px; line-height: 1.75; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
/* 断面へ迷わず進む（見出しのすぐ下に小さく） */
.grow-skip { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 2px 6px; border-bottom: 1.5px solid currentColor; color: var(--ink); font-size: 14.5px; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.grow-skip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
@media (hover: hover) { .grow-skip:hover svg { transform: translateY(2px); } }
.grow-skip:focus-visible, .grow-future summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
/* 未来像は、開いた人だけが読む詳細に */
.grow-future { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grow-future summary { display: flex; align-items: center; min-height: 54px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.grow-future summary::-webkit-details-marker { display: none; }
.grow-future summary svg { width: 18px; height: 18px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.grow-future[open] summary svg { transform: rotate(180deg); }
.grow-future-body { max-width: 760px; padding: 0 0 18px; }
.grow-future-body p { font-size: 15px; line-height: 1.9; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.grow-future-body .grow-note { font-size: 12.5px; color: var(--muted); }

/* その広がりを、設計から支える（工務店が設計から関わる価値を、短く。詳しい工夫は下のリビングの段） */
.ready { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4.4vw, 72px); row-gap: 0; align-items: start;
  margin-top: clamp(48px, 5.4vw, 80px); padding: clamp(30px, 3.6vw, 52px); border-radius: var(--radius-media); background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 48px rgba(27, 27, 26, .06); }
.ready-title { grid-column: 1; grid-row: 1 / span 4; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.45; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.ready-values { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.ready-values b { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 10px 14px; border-radius: 999px; background: var(--off); box-shadow: inset 0 0 0 1px var(--line); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.4; letter-spacing: .04em; }
.ready-values b::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(253, 202, 91, .3); }
.js .ready-values li { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .ready.in .ready-values li { opacity: 1; transform: none; }
.js .ready.in .ready-values li:nth-child(2) { transition-delay: .18s; }
.js .ready.in .ready-values li:nth-child(3) { transition-delay: .36s; }
.ready-lead { grid-column: 2; margin-top: 18px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.ready-cta { grid-column: 2; justify-self: start; margin-top: 24px; }
.ready .ai-note { grid-column: 2; margin-top: 14px; color: var(--muted); }

/* ================= 画面幅ごと ================= */
@media (max-width: 1180px) {
  .fv6-dock { width: 440px; }
  .dock-line { font-size: 15px; }
  .dock-btn small { display: none; }
  .dock-btn { min-height: 54px; }
  .dock-play { min-height: 54px; }
}
/* 背の低い PC の窓（ブラウザの帯を引いた高さ）：下の余白を詰めて、写真の見える所を広く。
   札の添え（鍵を開けると など）は残す（「ただいま」と鍵の関係が伝わるように）。幅 1180px 以下は上の指定で隠れる */
@media (min-width: 900px) and (max-height: 760px) {
  .fv6-copy { padding-bottom: 46px; }
  .fv6-dock { bottom: 46px; padding: 11px 12px; }
  .fv6-notes { bottom: 6px; }
  .dock-row { margin-top: 8px; }
  .dock-btn { padding: 6px 12px 11px; }
  .dock-btn, .dock-play { min-height: 54px; }
}
@media (max-width: 1100px) {
  .ready { grid-template-columns: minmax(0, 1fr); }
  .ready-title { grid-row: auto; margin-bottom: 18px; }
  .ready-values, .ready-lead, .ready-cta, .ready .ai-note { grid-column: 1; }
}
/* PC の幅が狭い時は、札を文字の上に（左下の文字と重ならないように） */
@media (min-width: 900px) and (max-width: 1099px) {
  .fv6-copy { padding-bottom: 196px; }
  .fv6-dock { left: var(--gutter); right: auto; bottom: 44px; width: min(520px, calc(100vw - var(--gutter) * 2)); }
}

/* スマホ・縦長のタブレット：上に写真の帯（画面の約半分。PC の横長の絵の切り抜きではなく、縦の絵を幅いっぱいに）、
   その下に場面の札・見出し・ボタン。文字を写真に重ねず、動きの見える範囲を広く取る */
@media (max-width: 899px) {
  .only-pc { display: none; }
  .only-sp { display: inline; }
  .brand-logo { height: 26px; }
  .fv6 { --band: clamp(320px, max(50vh, 100vh - 420px), 600px); --band: clamp(320px, max(50svh, 100svh - 420px), 600px);
    min-height: 0; justify-content: flex-start; }
  .fv6-stage { position: relative; inset: auto; flex: none; height: var(--band); }
  .space { left: calc((100cqw - max(100cqw, 150cqh)) * var(--fxs, var(--fx, .5))); }
  .space--tall { aspect-ratio: 2 / 3; width: max(100cqw, 66.667cqh);
    left: calc((100cqw - max(100cqw, 66.667cqh)) * var(--fxs, .5)); top: calc((100cqh - max(150cqw, 100cqh)) * var(--fys, .5)); }
  .space--tall .cam { transform-origin: var(--oxs, var(--ox, 50%)) var(--oys, var(--oy, 50%)); }
  .tag { left: var(--xs, var(--x)); top: var(--ys, var(--y)); gap: 7px; }
  /* スマホだけ、言葉を点の左に出す札（画面の右の端で切れないように） */
  .tag--sp-left { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%) translateY(6px); }
  .tag--sp-left.on { transform: translate(calc(-100% + 7px), -50%); }
  /* スマホだけ、言葉を点の上に出す札（棚のスピーカー：言葉で花器や本体を隠さないように） */
  .tag--sp-above { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 7px)) translateY(6px); }
  .tag--sp-above.on { transform: translate(-50%, calc(-100% + 7px)); }
  .tag-dot { width: 14px; height: 14px; box-shadow: 0 0 0 3px rgba(253, 202, 91, .32), 0 2px 8px rgba(0, 0, 0, .25); }
  .tag-body { padding: 5px 10px 6px; border-radius: 10px; }
  .tag-body b { font-size: 10.5px; }
  .tag-body span { font-size: 13px; }
  .lyr-tv { clip-path: inset(23.6% 47% 60.2% 21.8%); }
  /* 写真の帯の上（ロゴ）と下（札へつなぐ）だけを暗く */
  .fv6-veil { inset: 0 0 auto 0; height: var(--band); background:
    linear-gradient(180deg, rgba(14, 14, 13, .4) 0, rgba(14, 14, 13, .1) 70px, rgba(14, 14, 13, 0) 100px),
    linear-gradient(0deg, #191816 0, rgba(25, 24, 22, .55) 30px, rgba(25, 24, 22, 0) 96px); }
  .fv6[data-tone="light"] .fv6-veil { background: linear-gradient(0deg, #191816 0, rgba(25, 24, 22, .55) 30px, rgba(25, 24, 22, 0) 96px); }
  /* 通り道（c2b）の絵の間だけ、ロゴの後ろを薄く落とす（天井の灯りの線がロゴの後ろを通るため）。中心はロゴの中心、ほかの絵では出さない */
  .fv6-veil::before { content: ""; position: absolute; left: calc(var(--gutter) - 50px); top: -9px; width: 232px; height: 84px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(14, 14, 13, .42) 0%, rgba(14, 14, 13, .26) 52%, rgba(14, 14, 13, 0) 100%);
    opacity: 0; transition: opacity .6s ease; }
  .fv6[data-cut="c2b"] .fv6-veil::before { opacity: 1; }
  .fv6-copy { order: 2; padding: 0 0 12px; }
  .hero-eyebrow { display: none; }
  .hero-title { font-size: min(7.5vw, 32px); line-height: 1.25; }
  .hero-lead { margin-top: 6px; font-size: 13.5px; line-height: 1.7; }
  .hero-actions { flex-direction: column; gap: 8px; margin-top: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-primary { min-height: 50px; }
  .hero-actions .btn-secondary { min-height: 46px; font-size: 15px; }
  /* 札は、見出しの上に1列で */
  .fv6-dock { position: relative; order: 1; right: auto; bottom: auto; width: auto; margin: -18px var(--gutter) 10px; padding: 10px 10px 10px; border-radius: 18px; background: rgba(38, 36, 33, .78); }
  /* 時刻の札は写真の帯の左下（札のすぐ上）へ。場面の言葉に札の幅をすべて使わせる（高さは増やさない） */
  .dock-now { padding: 0 4px; }
  .dock-time { position: absolute; left: 14px; bottom: calc(100% + 9px); font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
  /* 「場面を選ぶ」は、時刻の札と向かい合う写真の帯の右下へ（帯の下の暗がりの上なので、地は付けない） */
  .dock-label { right: 14px; bottom: calc(100% + 9px); padding: 0; border-radius: 0; font-size: 11px; letter-spacing: .1em; color: #fff;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 1px 10px rgba(0, 0, 0, .6); }
  .dock-line { margin-top: 0; font-size: 14px; }
  .dock-line > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock-row { margin-top: 8px; gap: 6px; }
  .dock-scenes { gap: 5px; }
  .dock-btn { min-height: 46px; padding: 6px 8px 10px; align-items: center; text-align: center; border-radius: 12px; }
  .dock-btn b { font-size: 13.5px; letter-spacing: .02em; }
  .dock-btn small { display: none; }
  .dock-bar { left: 10px; right: 10px; bottom: 5px; }
  .dock-play { min-width: 46px; min-height: 46px; padding: 0; border-radius: 12px; }
  .dock-play .dock-play-text { display: none !important; }
  .fv6-notes { position: relative; order: 3; right: auto; bottom: auto; justify-items: start; padding: 0 var(--gutter) 12px; font-size: 10px; color: rgba(255, 255, 255, .6); }

  .grow-steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; margin-top: 32px; }
  .grow-steps::before, .grow-steps::after { display: none; }
  .grow-step { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .grow-when { grid-column: 1 / -1; }
  .grow-media { grid-row: 2 / span 2; margin-top: 10px; border-radius: 12px; aspect-ratio: 4 / 3; }
  .grow-title, .grow-text { grid-column: 2; }
  .grow-title { margin-top: 8px; font-size: 17px; }
  .grow-text { font-size: 14px; }
  .grow-skip { margin-top: 14px; }
  .grow-future summary { min-height: 50px; font-size: 14.5px; }
  .grow-future-body p { font-size: 14px; }
  .ready { padding: 26px 20px 24px; border-radius: 18px; }
  .ready-title { font-size: 22px; margin-bottom: 14px; }
  .ready-values { gap: 8px; }
  .ready-values b { padding: 7px 14px 8px 12px; font-size: 14.5px; }
  .ready-lead { margin-top: 14px; font-size: 14.5px; }
  .ready-cta { width: 100%; }
}
/* 背の低いスマホ：通り道の札は、点が写真の帯の下の暗がりの近くに来るので、言葉を点の左上へ（点は足元の灯りのまま） */
@media (max-width: 899px) and (max-height: 720px) {
  .tag[data-tag="foot"] { align-items: flex-end; transform: translate(calc(-100% + 7px), calc(-100% + 7px)) translateY(6px); }
  .tag[data-tag="foot"].on { transform: translate(calc(-100% + 7px), calc(-100% + 7px)); }
}
@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .dock-line { font-size: 13px; }
  .dock-btn b { font-size: 12.5px; }
  .grow-step { grid-template-columns: 100px minmax(0, 1fr); }
}
/* 横向きのスマホ（低い画面）：札は右上に小さく */
@media (max-width: 899px) and (max-height: 520px) and (orientation: landscape) {
  .fv6 { min-height: 520px; }
}

/* 動きを減らす設定：カメラの動き・札の入り・光の走りは付けない（fv6.js も自動で流さない） */
@media (prefers-reduced-motion: reduce) {
  .tag, .tag--left { transition: none; }
  .tag.on .tag-dot::after, .ring.on, .dock-btn.is-press, .dock-btn.is-press::after { animation: none; }
  .ring.on { opacity: 1; }
  .js .grow-step, .grow-media img, .js .ready-values li, .grow-steps::after, .grow-skip svg, .grow-future summary svg { transition: none !important; }
}
