/* ============================================================
   MAZEMAZE — site styles v2
   Direction: Nothing/FunTech CI的な規律 × 日本語コピー主役 × Apple型スクロール
   ベース #e0e0e0 はレンダー背景(RGB 224,224,224)と完全一致させ、
   製品画像が背景に溶けるシームレス表現をつくる。
   ============================================================ */

:root{
  --bg:        #e0e0e0;
  --bg-dark:   #0b0b0c;
  --ink:       #121316;
  --ink-inv:   #f2f2f0;
  --red:       #d7261d;
  --hairline:  rgba(18,19,22,.18);
  --hairline-inv: rgba(242,242,240,.22);

  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-dot:  "DotGothic16", "Noto Sans JP", monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 28px;
  --space-4: 48px;
  --space-5: 88px;
  --sec-pad: clamp(96px, 14vh, 170px);

  --ease-out: cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-body);
  font-size:16px; line-height:1.9;
  color:var(--ink); background:var(--bg);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  line-break:strict;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,p{ margin:0; }

::selection{ background:var(--red); color:#fff; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--ink); color:var(--ink-inv); padding:10px 18px; font-size:13px;
}
.skip-link:focus{ left:0; }

/* ---------- 共通 ---------- */
.container{ width:min(92vw, 1240px); margin-inline:auto; }
.max-720{ max-width:720px; margin-inline:auto; }
.max-640{ max-width:640px; margin-inline:auto; }
.center{ text-align:center; }

.section{ padding-block:var(--sec-pad); position:relative; }
.section--dark{ background:var(--bg-dark); color:var(--ink-inv); }
.section--dark ::selection{ background:#fff; color:var(--bg-dark); }

/* ドットグリッド装飾(Nothing/CI仕様書トーン) */
.dotted{
  background-image:radial-gradient(rgba(18,19,22,.15) 1px, transparent 1.5px);
  background-size:16px 16px;
}
.section--dark.dotted, .dotted--inv{
  background-image:radial-gradient(rgba(242,242,240,.12) 1px, transparent 1.5px);
  background-size:16px 16px;
}

/* eyebrow: セクション番号ラベル(ドット文字) */
.eyebrow{
  font-family:var(--font-dot);
  font-size:13px; letter-spacing:.22em;
  display:flex; align-items:center; gap:14px;
  margin-bottom:clamp(20px, 4vh, 44px);
  opacity:.92;
}
.eyebrow::after{ content:""; flex:1; height:1px; background:var(--hairline); }
.section--dark .eyebrow::after{ background:var(--hairline-inv); }
.eyebrow .no{ color:var(--red); }
.eyebrow.center-line{ justify-content:center; }
.eyebrow.center-line::before{ content:""; flex:1; height:1px; background:var(--hairline); }
.section--dark .eyebrow.center-line::before{ background:var(--hairline-inv); }

/* 見出し */
.section-heading{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(34px, 6vw, 72px);
  line-height:1.22; letter-spacing:.005em;
  text-wrap:balance;
}
.section-heading .accent{ color:var(--red); }
.body-text{
  font-size:clamp(14.5px, 1.35vw, 16.5px);
  line-height:2.15;
  margin-top:clamp(18px, 3vh, 30px);
  white-space:pre-line;
}
.caption-small{
  font-family:var(--font-dot);
  font-size:12px; letter-spacing:.1em; opacity:.62; margin-top:14px;
}

/* 日本語の読みやすい改行 —
   対応ブラウザ(Chrome系)では文節単位で折り返す。
   非対応ブラウザはこの宣言だけ無視される。 */
.section-heading, .feature-row h2, .feature-center h2, .product-feature__text h2,
.hero-sub, .wash-hero__sub, .price-lead, .promise-grid h3, .step-card h3,
.loop-lines p, .loop-close, .body-text{
  word-break:auto-phrase;
}
/* 文節スパン: この単位の途中では絶対に折り返さない */
.nb{ display:inline-block; }

/* ボタン */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:700; font-size:13.5px; letter-spacing:.14em;
  white-space:nowrap;
  padding:16px 34px; border-radius:6px;
  border:1px solid transparent;
  transition:background .25s var(--ease-out), color .25s var(--ease-out),
             border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn-primary{ background:var(--red); color:#fff; }
.btn-primary:hover{ background:#b81c15; }
.btn-secondary{ background:transparent; color:inherit; border-color:currentColor; }
.btn-secondary:hover{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.section--dark .btn-secondary:hover{ background:var(--ink-inv); color:var(--bg-dark); border-color:var(--ink-inv); }
.cta-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:var(--space-4); }

/* ---------- ヘッダー ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  color:var(--ink);
  transition:background .35s ease, color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled{
  background:rgba(11,11,12,.86);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  color:var(--ink-inv);
  box-shadow:0 1px 0 var(--hairline-inv);
}
.nav-inner{
  width:min(94vw, 1360px); margin-inline:auto;
  display:flex; align-items:center; gap:30px;
  height:64px;
}
.wordmark{ display:flex; align-items:baseline; gap:10px; line-height:1; }
.wordmark__ja{ font-family:var(--font-head); font-weight:900; font-size:21px; letter-spacing:.02em; }
.wordmark__en{
  font-family:var(--font-dot); font-size:11px; letter-spacing:.3em; color:var(--red);
  transform:translateY(-1px);
}
.site-nav{ display:flex; gap:26px; margin-left:auto; }
.site-nav a{
  font-family:var(--font-dot); font-size:13px; letter-spacing:.16em;
  opacity:.85; transition:opacity .2s; padding:6px 0;
}
.site-nav a:hover{ opacity:1; }
.nav-cta{ padding:10px 22px; font-size:12px; }
.nav-toggle{ display:none; }
.mobile-nav-panel{ display:none; }

/* ---------- ティッカー(マーキー) ---------- */
.ticker{
  background:var(--bg-dark); color:var(--ink-inv);
  overflow:hidden; white-space:nowrap;
  padding-block:13px;
}
.ticker__track{
  display:inline-block;
  font-family:var(--font-dot); font-size:14px; letter-spacing:.24em;
  animation:ticker 40s linear infinite;
  will-change:transform;
}
.ticker__track .sep{ color:var(--red); margin-inline:26px; }
@keyframes ticker{
  from{ transform:translateX(0); }
  to  { transform:translateX(-50%); }
}

/* ---------- 巨大タイポ + ぷるぷる ---------- */
.giant-type{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(64px, 14.5vw, 210px);
  line-height:1.02; letter-spacing:.01em;
  user-select:none;
}
.giant-type .dot{ color:var(--red); }
.jelly-text span{
  display:inline-block;
  animation:jelly 3.4s ease-in-out calc(var(--i) * .13s) infinite;
  transform-origin:50% 78%;
}
@keyframes jelly{
  0%,100%{ transform:scale(1,1); }
  4%  { transform:scale(1.04,.95); }
  8%  { transform:scale(.97,1.03); }
  12% { transform:scale(1.015,.99); }
  16% { transform:scale(1,1); }
}

.scroll-hint{
  font-family:var(--font-dot); font-size:12px; letter-spacing:.3em;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  margin-top:var(--space-4); opacity:.6;
}
.scroll-hint svg{ animation:hint-bob 1.8s ease-in-out infinite; }
@keyframes hint-bob{
  0%,100%{ transform:translateY(0); opacity:.5; }
  50%{ transform:translateY(6px); opacity:1; }
}

/* ---------- Hero(index) ---------- */
.hero-index{
  min-height:100svh;
  display:grid; place-items:center; text-align:center;
  padding:120px 4vw 60px; position:relative; overflow:hidden;
}
.hero-index__inner{ position:relative; width:min(92vw,1100px); }
.hero-index .giant-type{ position:relative; z-index:1; }
.hero-index__product{
  width:min(46vw, 380px);
  margin:clamp(-34px,-4vw,-60px) auto 0;
  position:relative; z-index:2;
  will-change:transform;
}
.hero-sub{
  position:relative; z-index:3;
  font-size:clamp(14px, 1.6vw, 17px); font-weight:500; letter-spacing:.08em;
  margin-top:var(--space-3);
}

/* ---------- Hero(wash: ピン留めスクロールシーケンス) ---------- */
.wash-hero{ height:320vh; position:relative; }
.wash-hero__sticky{
  position:sticky; top:0; height:100svh; overflow:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
}
.wash-hero__type{
  position:absolute; top:12svh; left:0; right:0; z-index:1; text-align:center;
  will-change:transform, opacity;
}
.wash-hero__sub{
  font-size:clamp(13px,1.5vw,16px); font-weight:500; letter-spacing:.1em; margin-top:12px;
}
.wash-hero__frames{
  position:absolute; top:32svh; left:50%; z-index:2;
  width:min(62vw, 470px); aspect-ratio:1200/1470;
  transform:translateX(-50%);
  will-change:transform;
}
.wash-hero__frames .frame{
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  opacity:0;
}
.wash-hero__frames .frame.is-active{ opacity:1; }
.wash-hero__meta{
  position:absolute; bottom:6svh; left:0; right:0; z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:16px;
  opacity:0; transform:translateY(16px);
  transition:opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.wash-hero__meta.is-in{ opacity:1; transform:none; }
.wash-hero__meta .cta-row{ margin-top:0; }
.wash-hero__hint{
  position:absolute; bottom:4svh; left:0; right:0; z-index:1;
  display:flex; justify-content:center;
  transition:opacity .4s;
}

/* 価格バッジ */
.price-badge{
  font-family:var(--font-dot); font-size:14px; letter-spacing:.14em;
  white-space:nowrap;
  border:1px solid var(--hairline); border-radius:999px;
  padding:10px 22px; display:inline-block; background:rgba(255,255,255,.5);
}
.section--dark .price-badge{ border-color:var(--hairline-inv); background:rgba(255,255,255,.04); }

/* ---------- 大コピーの行リビール ---------- */
.line-reveal{ overflow:hidden; display:block; }
.line-reveal > span{
  display:block; transform:translateY(112%);
  transition:transform 1s var(--ease-out);
}
.is-in .line-reveal > span{ transform:none; }
.line-reveal:nth-child(2) > span{ transition-delay:.08s; }
.line-reveal:nth-child(3) > span{ transition-delay:.16s; }

/* ---------- 機能セクション ---------- */
.feature-row{
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:clamp(30px, 6vw, 90px); align-items:center;
}
.feature-row--reverse .feature-row__image{ order:2; }
.feature-row__image{ position:relative; }
.feature-row h2, .feature-center h2{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(28px, 3.6vw, 48px); line-height:1.3; letter-spacing:.005em;
}
.feature-center{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.feature-center__image{ width:min(70vw, 560px); }

[data-parallax]{ will-change:transform; }

/* キャップ2枚ギャラリー */
.cap-gallery{ position:relative; padding-bottom:10%; }
.cap-gallery .cap-main{ width:88%; }
.cap-gallery .cap-sub{
  position:absolute; right:0; bottom:0;
  width:46%;
  border:1px solid var(--hairline);
  box-shadow:0 24px 60px -30px rgba(18,19,22,.4);
}

/* ---------- カラーブレイク画像(ズーム演出) ----------
   レンダー余白をトリミングした画像を、背景と同色の余白の中で
   中央に浮かせる。cover切り抜きをしないので構図が崩れない。 */
.colors-break{
  display:grid; place-items:center;
  overflow:hidden;
  margin-block:clamp(8px,2vh,24px);
}
.colors-break .zoom-img{
  width:min(88vw, 980px); height:auto;
  transform:scale(1.1);
  will-change:transform;
}

/* ---------- カラー: CI仕様書風スペックカード ---------- */
.spec-grid{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:16px; margin-top:var(--space-4);
}
.spec-card{
  background:none; border:1px solid var(--hairline); border-radius:10px;
  overflow:hidden; text-align:left; color:inherit;
  transition:border-color .25s, transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
button.spec-card:hover{ transform:translateY(-4px); box-shadow:0 20px 44px -26px rgba(18,19,22,.5); }
.spec-card[aria-pressed="true"]{ border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); }
.spec-card__chip{
  aspect-ratio:16/10; background:rgb(var(--chip-rgb));
  position:relative;
}
.spec-card[aria-pressed="true"] .spec-card__chip::after{
  content:"✓"; position:absolute; top:10px; right:12px;
  color:#fff; font-size:15px; font-weight:700;
}
.spec-card__meta{
  display:flex; justify-content:space-between; align-items:baseline; gap:8px;
  padding:12px 14px;
  font-family:var(--font-dot); font-size:12.5px; letter-spacing:.14em;
}
.spec-card__meta .hex{ opacity:.55; font-size:11px; }
.spec-card--coming{ opacity:.55; }
.spec-card--coming .spec-card__chip::after{
  content:"COMING"; position:absolute; inset:auto 12px 10px auto;
  font-family:var(--font-dot); font-size:10px; letter-spacing:.2em; color:#fff;
  opacity:.9;
}

/* ---------- 全幅スプラッシュビジュアル(黒背景PRレンダー) ---------- */
.splash-band{
  background:#000; overflow:hidden;
}
.splash-band img{
  width:100%; display:block;
  transform:scale(1.1);
  will-change:transform;
}

/* ---------- サイズ比較写真 ---------- */
.size-photo{
  width:min(92vw, 880px);
  margin:var(--space-4) auto 0;
}

/* ---------- SVG図版(設計図トーン) ---------- */
.blueprint{ width:100%; margin-top:var(--space-4); }
.blueprint svg{ width:100%; height:auto; display:block; }
.blueprint .bp-label{
  font-family:var(--font-dot); font-size:13px; letter-spacing:.12em;
}
.blueprint .bp-label--sm{ font-size:11px; }

/* ---------- 価格 ---------- */
.price-section{ text-align:center; }
.price-lead{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(20px, 2.6vw, 32px); letter-spacing:.02em;
}
.price-display{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(88px, 17vw, 250px);
  line-height:1.06; letter-spacing:.01em;
  margin-block:clamp(10px,2vh,24px);
}
.price-display .yen{ font-size:.42em; vertical-align:.4em; margin-right:.05em; color:var(--red); }
.price-note{ font-family:var(--font-dot); font-size:13px; letter-spacing:.16em; opacity:.7; }

/* ---------- 開発状況 ---------- */
.status-list{
  margin-top:var(--space-4); text-align:left;
  border-top:1px solid var(--hairline);
}
.status-list li{
  display:flex; justify-content:space-between; align-items:baseline; gap:20px;
  padding:20px 4px;
  border-bottom:1px solid var(--hairline);
  font-size:clamp(14px,1.4vw,16px);
}
.status-list .state{
  font-family:var(--font-dot); font-size:12.5px; letter-spacing:.18em;
  white-space:nowrap; opacity:.85;
}
.status-list .state--done{ color:var(--red); opacity:1; }

/* ---------- フォーム ---------- */
.signup-card{
  margin-top:var(--space-4); text-align:left;
  border:1px solid var(--hairline-inv); border-radius:12px;
  padding:clamp(26px,4vw,44px);
  background:rgba(255,255,255,.03);
}
.form-field{ margin-bottom:22px; }
.form-field label{
  display:block; font-family:var(--font-dot); font-size:12.5px;
  letter-spacing:.16em; margin-bottom:9px; opacity:.85;
}
.form-field input, .form-field select{
  width:100%; padding:15px 16px; font-size:15px;
  font-family:var(--font-body); color:var(--ink-inv);
  background:rgba(255,255,255,.06);
  border:1px solid var(--hairline-inv); border-radius:8px;
  transition:border-color .25s;
  appearance:none; -webkit-appearance:none;
}
.form-field select option{ color:var(--ink); }
.form-field input:focus, .form-field select:focus{ outline:none; border-color:var(--red); }
.form-field input::placeholder{ color:rgba(242,242,240,.35); }
.form-submit{ width:100%; }
.form-note{ text-align:center; }
.form-success{
  display:none; margin-top:18px; padding:16px;
  border:1px solid var(--red); border-radius:8px;
  font-size:14px; text-align:center;
}
.form-success.is-visible{ display:block; }

/* ---------- 汎用リビール ---------- */
.reveal{
  opacity:0; transform:translateY(34px);
  transition:opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-in{ opacity:1; transform:none; }
.reveal-stagger > *{
  opacity:0; transform:translateY(26px);
  transition:opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-stagger.is-in > *{ opacity:1; transform:none; }
.reveal-stagger.is-in > *:nth-child(2){ transition-delay:.1s; }
.reveal-stagger.is-in > *:nth-child(3){ transition-delay:.2s; }
.reveal-stagger.is-in > *:nth-child(4){ transition-delay:.3s; }

/* 画像のマスクリビール */
.img-reveal{ position:relative; overflow:hidden; }
.img-reveal::after{
  content:""; position:absolute; inset:0; background:inherit;
  background-color:var(--bg);
  transform:scaleY(1); transform-origin:top;
  transition:transform 1.1s var(--ease-out);
}
.section--dark .img-reveal::after{ background-color:var(--bg-dark); }
.img-reveal.is-in::after{ transform:scaleY(0); }
.img-reveal img{
  transform:scale(1.08);
  transition:transform 1.4s var(--ease-out);
}
.img-reveal.is-in img{ transform:scale(1); }

/* ---------- 3カラム(まぜまぜが守ること) ---------- */
.promise-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  margin-top:var(--space-5);
  border-left:1px solid var(--hairline-inv);
}
.promise-grid > div{
  border-right:1px solid var(--hairline-inv);
  padding:clamp(20px,3vw,44px);
  text-align:left;
}
.promise-grid .p-no{
  font-family:var(--font-dot); font-size:13px; letter-spacing:.2em;
  color:var(--red); display:block; margin-bottom:18px;
}
.promise-grid h3{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(19px,1.9vw,25px); line-height:1.4; margin-bottom:12px;
}
.promise-grid .body-text{ font-size:14px; margin-top:0; opacity:.85; }

/* ---------- ブランド標本(CI仕様書風) ---------- */
.specimen-board{
  position:relative;
  border:1px solid var(--hairline);
  padding:clamp(40px,7vw,110px) clamp(20px,4vw,60px);
  margin-top:var(--space-4);
  text-align:center;
}
.specimen-board .mark{
  position:absolute; width:14px; height:14px;
  border-color:var(--ink); border-style:solid; border-width:0;
}
.specimen-board .mark.tl{ top:-1px; left:-1px; border-top-width:2px; border-left-width:2px; }
.specimen-board .mark.tr{ top:-1px; right:-1px; border-top-width:2px; border-right-width:2px; }
.specimen-board .mark.bl{ bottom:-1px; left:-1px; border-bottom-width:2px; border-left-width:2px; }
.specimen-board .mark.br{ bottom:-1px; right:-1px; border-bottom-width:2px; border-right-width:2px; }
.specimen-board .giant-type{ font-size:clamp(56px, 11vw, 170px); }
.specimen-board .spec-note{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin-top:clamp(30px,5vw,60px);
  font-family:var(--font-dot); font-size:11.5px; letter-spacing:.2em; opacity:.65;
}

/* ---------- 製品カード(index) ---------- */
.product-feature__grid{
  display:grid; grid-template-columns:1fr 1fr; align-items:center;
  gap:clamp(30px,5vw,80px);
}
.product-feature__text h2{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(30px,3.8vw,52px); line-height:1.28;
}
.product-feature__text .price-badge{ margin-top:var(--space-3); }
.product-feature__text .cta-row{ justify-content:flex-start; }

/* ---------- フッター ---------- */
.site-footer{
  background:var(--bg-dark); color:var(--ink-inv);
  padding:clamp(70px,10vh,120px) 0 40px;
  border-top:1px solid var(--hairline-inv);
  overflow:hidden;
}
.footer-inner{ display:flex; flex-direction:column; gap:40px; }
.footer-wordmark .giant-type{ font-size:clamp(52px, 10vw, 150px); line-height:1.1; }
.footer-row{
  display:flex; flex-wrap:wrap; gap:26px; align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--hairline-inv);
  padding-top:30px;
}
.footer-nav{ display:flex; gap:24px; flex-wrap:wrap; }
.footer-nav a{ font-family:var(--font-dot); font-size:12.5px; letter-spacing:.18em; opacity:.75; }
.footer-nav a:hover{ opacity:1; }
.footer-sns{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-dot); font-size:12px; letter-spacing:.12em; opacity:.75;
}
.footer-disclaimer, .footer-copyright{ font-size:11.5px; opacity:.5; letter-spacing:.06em; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px){
  .feature-row{ grid-template-columns:1fr; gap:34px; }
  .feature-row--reverse .feature-row__image{ order:0; }
  .product-feature__grid{ grid-template-columns:1fr; }
  .promise-grid{ grid-template-columns:1fr; border-left:none; border-top:1px solid var(--hairline-inv); }
  .promise-grid > div{ border-right:none; border-bottom:1px solid var(--hairline-inv); }
  .spec-grid{ grid-template-columns:1fr 1fr; }
  .wash-hero__frames{ width:min(74vw, 400px); }
}

@media (max-width: 860px){
  .site-nav, .nav-cta{ display:none; }
  .nav-toggle{
    display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px;
    margin-left:auto; background:none; border:none;
    width:44px; height:44px;
  }
  .nav-toggle span{
    width:22px; height:2px; background:currentColor; display:block;
    transition:transform .3s var(--ease-out), opacity .2s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .mobile-nav-panel{
    display:flex; flex-direction:column; gap:4px;
    position:fixed; inset:64px 0 auto 0; z-index:99;
    background:rgba(11,11,12,.96); color:var(--ink-inv);
    -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    padding:18px 5vw 28px;
    transform:translateY(-110%); transition:transform .4s var(--ease-out);
  }
  .mobile-nav-panel.is-open{ transform:none; }
  .mobile-nav-panel a{
    font-family:var(--font-dot); font-size:15px; letter-spacing:.18em;
    padding:14px 4px; border-bottom:1px solid var(--hairline-inv);
  }
  .mobile-nav-panel .btn{ margin-top:16px; border-bottom:none; }
  .site-header:not(.is-scrolled) .nav-toggle[aria-expanded="true"]{ color:var(--ink-inv); }
}

@media (max-width: 640px){
  .wash-hero{ height:280vh; }
  .spec-grid{ grid-template-columns:1fr; }
  .cap-gallery .cap-main{ width:100%; }
  .cap-gallery .cap-sub{ width:52%; }
  .status-list .state{ font-size:11px; }
}

/* ---------- MAZEMAZE LOOP(循環プログラム) ---------- */
.loop-section{ overflow:hidden; }
.loop-section > .container{ position:relative; z-index:1; }

/* 背景: 透明なプラスチック片・水の粒がゆっくり漂う */
.loop-bubbles{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.loop-bubbles span{
  position:absolute;
  width:var(--s); height:var(--s);
  left:var(--x); top:var(--y);
  border-radius:50%;
  background:radial-gradient(circle at 32% 30%,
    rgba(255,255,255,.9),
    rgba(var(--c), .26) 58%,
    rgba(var(--c), .12));
  animation:bubble-drift var(--d) ease-in-out infinite alternate;
}
@keyframes bubble-drift{
  from{ transform:translate3d(0,0,0); }
  to  { transform:translate3d(var(--dx,22px), var(--dy,-36px), 0); }
}

/* 循環図 */
.loop-diagram{ width:min(88vw, 620px); margin:clamp(30px,6vh,64px) auto 0; }
.loop-diagram svg{ width:100%; height:auto; display:block; }
.loop-orbit{
  transform-box:fill-box; transform-origin:center;
  animation:loop-spin 46s linear infinite;
}
@keyframes loop-spin{ to{ transform:rotate(360deg); } }
.loop-node-en{ font-family:var(--font-dot); letter-spacing:.14em; }
.loop-node-ja{ font-family:var(--font-head); font-weight:900; }

/* 補助コピー3行 */
.loop-lines{ margin-top:clamp(30px,6vh,60px); }
.loop-lines p{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(20px, 3vw, 34px); line-height:2;
}

/* 締めメッセージ */
.loop-close{
  margin-top:var(--space-5);
  padding-top:var(--space-4);
  border-top:1px solid var(--hairline);
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(17px, 2.1vw, 25px); line-height:2.1;
  white-space:pre-line;
}

/* ---------- LOOP専用ページ(loop.html) ---------- */
.loop-hero{
  min-height:100svh;
  display:grid; place-items:center; text-align:center;
  padding:120px 4vw 60px; position:relative; overflow:hidden;
}
.loop-hero__ring{
  position:absolute; inset:0; display:grid; place-items:center;
  z-index:0; pointer-events:none;
}
.loop-hero__ring svg{ width:min(88vw, 740px); height:auto; opacity:.55; }
.loop-hero__inner{ position:relative; z-index:1; }
.loop-hero .giant-type{ font-size:clamp(37px, 9vw, 128px); line-height:1.18; }

.step-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:14px; margin-top:var(--space-4); text-align:left;
}
.step-card{
  border:1px solid var(--hairline); border-radius:10px;
  padding:22px; background:rgba(255,255,255,.35);
}
.step-card .s-no{
  font-family:var(--font-dot); font-size:13px; letter-spacing:.18em;
  color:var(--red); display:block; margin-bottom:12px;
}
.step-card h3{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(17px,1.6vw,21px); margin-bottom:8px;
}
.step-card p{ font-size:13.5px; line-height:1.9; opacity:.85; }

.section--dark .status-list{ border-color:var(--hairline-inv); }
.section--dark .status-list li{ border-color:var(--hairline-inv); }

@media (max-width:900px){ .step-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .step-grid{ grid-template-columns:1fr; } }

/* ---------- 購入セクション(発売前は hidden、store.js が制御) ---------- */
.buy-colors{
  display:flex; gap:12px; justify-content:center; flex-wrap:wrap;
  margin-top:var(--space-4);
}
.buy-color{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-dot); font-size:12.5px; letter-spacing:.16em;
  padding:12px 20px; border:1px solid var(--hairline); border-radius:999px;
  background:none; color:inherit;
  transition:border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.buy-color:hover{ transform:translateY(-2px); }
.buy-color[aria-pressed="true"]{ border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); }
.buy-color__chip{
  width:16px; height:16px; border-radius:50%;
  background:rgb(var(--chip-rgb)); flex:none;
}
.store-mode-badge{
  display:inline-block; margin-top:var(--space-2);
  font-family:var(--font-dot); font-size:11px; letter-spacing:.22em;
  color:var(--red); border:1px dashed var(--red); border-radius:999px;
  padding:6px 14px;
}

/* ---------- フォーム: 送信エラー ---------- */
.form-error{
  display:none; margin-top:18px; padding:16px;
  border:1px solid var(--hairline-inv); border-radius:8px;
  font-size:14px; text-align:center; opacity:.9;
}
.form-error.is-visible{ display:block; }

/* ---------- フッター: 法令リンク ---------- */
.footer-legal{ display:flex; gap:18px; flex-wrap:wrap; }
.footer-legal a{ font-size:11.5px; opacity:.55; letter-spacing:.08em; }
.footer-legal a:hover{ opacity:.9; text-decoration:underline; text-underline-offset:3px; }

/* ---------- 法令ページ ---------- */
.legal-heading{ font-size:clamp(28px, 4.5vw, 52px); }
.legal-draft{
  margin-top:var(--space-3); padding:14px 18px;
  border:1px dashed var(--red); border-radius:8px;
  font-size:13px; line-height:1.9;
}
.legal-list{ margin-top:var(--space-4); border-top:1px solid var(--hairline); }
.legal-list > div{
  display:grid; grid-template-columns:220px 1fr; gap:8px 24px;
  padding:18px 4px; border-bottom:1px solid var(--hairline);
}
.legal-list dt{
  font-family:var(--font-dot); font-size:12.5px; letter-spacing:.14em;
  opacity:.8; padding-top:5px;
}
.legal-list dd{ font-size:14.5px; line-height:2; }
.legal-sec{ margin-top:var(--space-4); }
.legal-sec h2{
  font-family:var(--font-head); font-weight:900;
  font-size:clamp(18px, 2vw, 24px); margin-bottom:10px;
}
.legal-sec p, .legal-sec li{ font-size:14.5px; line-height:2; }
.legal-sec ul{ list-style:disc; padding-left:1.5em; }
.text-link{ text-decoration:underline; text-underline-offset:3px; }
@media (max-width:640px){
  .legal-list > div{ grid-template-columns:1fr; gap:4px; }
}

/* ---------- 決済完了ページ ---------- */
.success-hero{
  min-height:80svh; display:grid; align-items:center;
  padding-top:calc(var(--sec-pad) + 64px);
}

/* ============================================================
   モーション削減設定への対応
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .jelly-text span, .scroll-hint svg, .ticker__track{ animation:none; }
  .reveal, .reveal-stagger > *{ opacity:1; transform:none; transition:none; }
  .line-reveal > span{ transform:none; transition:none; }
  .img-reveal::after{ display:none; }
  .img-reveal img{ transform:none; transition:none; }
  .colors-break .zoom-img, .splash-band img{ transform:none; }
  .wash-hero{ height:auto; }
  .wash-hero__sticky{ position:static; height:auto; padding:120px 0 60px; }
  .wash-hero__type{ position:static; }
  .wash-hero__frames{ position:static; transform:none; margin:40px auto 0; }
  .wash-hero__frames .frame{ position:static; opacity:1; height:auto; }
  .wash-hero__frames .frame:not(.is-active){ display:none; }
  .wash-hero__meta{ position:static; opacity:1; transform:none; margin-top:30px; }
  .wash-hero__hint{ display:none; }
  .loop-orbit, .loop-bubbles span{ animation:none; }
}

/* ============================================================
   site-v2 追加分 — Motion + Lucide 対応
   (元サイト: ../site/ は無変更。ここから下がv2の差分)
   ============================================================ */

/* スクロール進捗バー(motion-fx.jsが有効化) */
.scroll-progress{
  position:fixed; top:0; left:0; right:0; height:3px; z-index:120;
  background:var(--red);
  transform:scaleX(0); transform-origin:0 50%;
  opacity:0; pointer-events:none;
}
.scroll-progress.is-active{ opacity:1; }

/* Lucideアイコン共通 */
.lucide{ display:inline-block; vertical-align:middle; }

/* PROMISE / STEP カードのアイコン */
.card-ico{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px;
  border:1px solid var(--hairline-inv);
  margin-bottom:14px;
}
.card-ico .lucide{ width:22px; height:22px; color:var(--red); }
.section:not(.section--dark) .card-ico{ border-color:var(--hairline); }

/* ステータスバッジ内アイコン */
.status-list .state{ display:inline-flex; align-items:center; gap:6px; }
.status-list .state .lucide{ width:13px; height:13px; flex:none; }

/* フッターSNS・スクロールヒントのLucide置き換え分 */
.footer-sns .lucide{ width:18px; height:18px; }
.scroll-hint .lucide{ width:14px; height:14px; animation:hint-bob 1.8s ease-in-out infinite; }

/* successページのチェックアイコン */
.success-check{
  display:flex; justify-content:center; margin-bottom:18px;
}
.success-check .lucide{ width:64px; height:64px; color:var(--red); }

/* モーション削減時の追い対応 */
@media (prefers-reduced-motion: reduce){
  .scroll-hint .lucide{ animation:none; }
  .scroll-progress{ display:none; }
}

/* ============================================================
   site-v2 追加分 その2 — 視覚強化(泡・オーロラ・ホバー・スイープ)
   ============================================================ */

/* ヒーローの泡背景: コンテンツより背面に敷く */
.hero-index .loop-bubbles,
.wash-hero__sticky .loop-bubbles,
.success-hero .loop-bubbles{ z-index:0; }
.hero-index__inner, .wash-hero__type, .wash-hero__frames, .wash-hero__meta,
.success-hero .container{ position:relative; z-index:1; }
.success-hero{ overflow:hidden; }

/* ダークセクション: ブランドカラーのオーロラを極薄で漂わせる */
.section--dark{ overflow:hidden; }
.section--dark::before{
  content:""; position:absolute; inset:-20%;
  background:
    radial-gradient(38% 34% at 18% 22%, rgba(46,95,216,.20), transparent 70%),
    radial-gradient(30% 30% at 82% 18%, rgba(91,54,216,.16), transparent 70%),
    radial-gradient(30% 34% at 74% 82%, rgba(42,168,92,.11), transparent 70%),
    radial-gradient(24% 26% at 22% 84%, rgba(242,199,212,.09), transparent 70%);
  animation:aurora-drift 26s ease-in-out infinite alternate;
  pointer-events:none;
}
.section--dark > .container{ position:relative; z-index:1; }
@keyframes aurora-drift{
  from{ transform:translate3d(-2%, -2%, 0) scale(1); }
  to  { transform:translate3d(2%, 3%, 0) scale(1.08); }
}

/* 画像リビール: 幕をブランドカラーのグラデーションに(色が拭き抜ける) */
.img-reveal::after{
  background:linear-gradient(118deg, #2E5FD8 0%, #5B36D8 55%, #F2C7D4 100%) !important;
}

/* カードのホバー強化(PROMISE / AIM / STEP) */
.promise-grid > div, .step-card{
  transition:transform .45s var(--ease-out), background-color .45s var(--ease-out),
             opacity .9s var(--ease-out);
}
/* reveal-stagger入場中はそちらのtransformを優先させる */
.reveal-stagger:not(.is-in) > .step-card,
.reveal-stagger:not(.is-in) > div{
  transition:opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.promise-grid > div:hover, .step-card:hover{
  transform:translateY(-6px);
  background-color:rgba(255,255,255,.045);
}
.section:not(.section--dark) .step-card:hover{ background-color:rgba(18,19,22,.045); }
.card-ico{ transition:transform .45s var(--ease-out), border-color .45s var(--ease-out); }
.promise-grid > div:hover .card-ico, .step-card:hover .card-ico{
  transform:scale(1.14) rotate(-7deg);
  border-color:var(--red);
}

/* ヒーロー製品画像: マウス追従3D傾き用 */
.hero-index__product{ perspective:900px; }
.hero-index__product img{ will-change:transform; transform-style:preserve-3d; }

/* 価格: 白→ブルーのグラデーション文字 */
.price-display{
  background:linear-gradient(100deg, var(--ink-inv) 30%, #7FA4F5 75%, #2E5FD8 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

/* 進捗バー: 3色グラデーションで存在感を出す */
.scroll-progress{
  height:4px;
  background:linear-gradient(90deg, #2E5FD8, #5B36D8 55%, var(--red));
}

/* モーション削減時 */
@media (prefers-reduced-motion: reduce){
  .section--dark::before{ animation:none; }
  .promise-grid > div:hover, .step-card:hover{ transform:none; }
}
