@charset "UTF-8";
/* ==========================================================================
   ワクシル ティザーサイト｜「発見の地図」
   一枚の大きな世界の中を、カメラが旅していく。
   参考：HELLO CYCLING（巨大な俯瞰イラストが主役 / 文章は最小限）
   ========================================================================== */

:root {
  --o:        #F47A20;   /* ワクシルオレンジ */
  --o-dark:   #D95F0B;
  --o-light:  #FFF0E3;
  --cta:      #BE5205;   /* 白文字を載せて AA を満たす濃さ */
  --cta-hover:#9E4304;
  --white:    #FFFFFF;
  --ivory:    #FFF9F2;
  --beige:    #F5EBDD;
  --ink:      #282521;
  --ink-sub:  #716B64;
  --green:    #6E9E5E;
  --yellow:   #F2C14E;
  --blue:     #5B8FA8;
  --pink:     #E89AA0;

  --f-display: "M PLUS Rounded 1c", system-ui, sans-serif;
  --f-body:    "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --f-en:      "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.68, 0.30, 1);
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 4rem);
  --pad-sec: clamp(5rem, 3rem + 9vw, 11rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(0.938rem, 0.9rem + 0.16vw, 1.0625rem);
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: min(1160px, 100% - var(--gutter) * 2); margin-inline: auto; }
.center { text-align: center; }

/* --- 文字 ---------------------------------------------------------------- */
.d1 {
  font-family: var(--f-display);
  /* 360px で 28px、1440px で 72px。最長行が1行に収まる大きさから始める */
  font-size: clamp(1.75rem, 0.83rem + 4.07vw, 4.5rem);
  font-weight: 800; line-height: 1.28; letter-spacing: .01em;
  text-wrap: balance;
}
.d2 {
  font-family: var(--f-display);
  /* 360px で 20px、1440px で 52px。最長の見出し14文字が1行に収まる */
  font-size: clamp(1.25rem, 0.583rem + 2.96vw, 3.25rem);
  font-weight: 800; line-height: 1.38; text-wrap: balance;
}
.d3 {
  font-family: var(--f-display);
  /* 360px で 17px、1440px で 30px。22文字の一文が2行に収まる */
  font-size: clamp(1.0625rem, 0.79rem + 1.2vw, 1.875rem);
  font-weight: 700; line-height: 1.55; text-wrap: pretty;
}
.lead { font-size: clamp(1rem, 0.94rem + 0.3vw, 1.25rem); line-height: 1.95; text-wrap: pretty; }
.note { font-size: clamp(0.75rem, 0.73rem + 0.11vw, 0.875rem); color: var(--ink-sub); line-height: 1.7; }
.sub  { color: var(--ink-sub); }

/* 章ラベル */
.eyebrow {
  font-family: var(--f-en); font-size: .8125rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--cta);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }

/* --- ボタン -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: .5rem 2rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--f-display); font-size: clamp(1rem, .97rem + .16vw, 1.125rem);
  font-weight: 700; line-height: 1.4; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { flex: none; width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--p { background: var(--cta); color: #fff; box-shadow: 0 4px 14px rgba(190,82,5,.22); }
.btn--p:hover { background: var(--cta-hover); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(190,82,5,.3); }
.btn--s { background: var(--white); border-color: var(--cta); color: var(--cta); }
.btn--s:hover { background: var(--o-light); transform: translateY(-3px); }
.btn--w { background: var(--white); color: var(--cta); box-shadow: 0 4px 16px rgba(87,38,2,.18); }
.btn--w:hover { background: var(--ivory); transform: translateY(-3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-row--c { justify-content: center; }
@media (max-width: 767px) {
  .btn--p, .btn--s, .btn--w { width: 100%; max-width: 360px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row--c { align-items: center; }
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.header {
  position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 100;
  height: 64px; display: flex; align-items: center;
  background: transparent; border-block-end: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
@media (min-width: 1024px) { .header { height: 76px; } }
.header.stuck { background: rgba(255,255,255,.93); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-block-end-color: var(--beige); }
.header__in { display: flex; align-items: center; gap: 1rem; width: min(1160px, 100% - var(--gutter)*2); margin-inline: auto; }
/* ロゴは画像（icon.png）。文字までロゴに含まれているので、横にテキストは置かない */
.logo { display: inline-flex; align-items: center; min-height: 44px;
        text-decoration: none; margin-inline-end: auto; }
.logo img { height: clamp(36px, 1.9rem + 1.1vw, 46px); width: auto; }
.header .btn { min-height: 44px; padding: .35rem 1.2rem; font-size: .9375rem; width: auto; max-width: none; }

/* ==========================================================================
   FV ＋ 旅（sticky のカメラ）
   --------------------------------------------------------------------------
   .journey は縦に長いスクロール領域。その中で .stage を sticky にして
   画面に固定し、スクロール量に応じて .world の transform を動かす。
   ========================================================================== */
/* 停留点の数ぶんだけ縦に長さを取る。この長さがカメラの移動距離になる。 */
/* 旅は時間で進むので、縦の長さは1画面ぶんだけ。ページを伸ばさない。 */
.journey { position: relative; }

.stage {
  position: relative;
  height: 100vh;                          /* 古いブラウザ用の保険 */
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 15%, #FFFDFB 0%, var(--ivory) 55%, #FFF3E6 100%);
}

.world-holder {
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  width: 2000px; height: 1400px;
  transform-origin: 0 0;
  will-change: transform;
}
.world { width: 2000px; height: 1400px; }

/* カメラの停留点ごとに出るコピー */
.stops { position: absolute; inset: 0; pointer-events: none; }
.stop {
  position: absolute; inset-block-end: clamp(1.5rem, 1rem + 3vw, 4rem);
  inset-inline-start: 50%;
  width: min(560px, calc(100% - var(--gutter) * 2));
  transform: translate(-50%, 14px);
  padding: clamp(1.1rem, .9rem + 1vw, 1.6rem) clamp(1.25rem, 1rem + 1.4vw, 2rem);
  border-radius: 24px;
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--beige);
  box-shadow: 0 10px 34px rgba(40,37,33,.08);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
  text-align: center;
  pointer-events: auto;
}
.stop.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.stop__n {
  font-family: var(--f-en); font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; color: var(--cta); display: block; margin-block-end: .4rem;
}

/* ==========================================================================
   場面の「起動」
   --------------------------------------------------------------------------
   常に全部が動いていると散らかるので、カメラが着いた場面だけが動きだす。
   .live が付いたときにはじめて、湯気や手元や吹き出しが生きる。
   ========================================================================== */
.spot .steam > *,
.spot .chips > * { opacity: 0; }
.spot .pop { opacity: 0; transform: scale(.6); transform-origin: center;
             transition: opacity .45s var(--ease) .25s, transform .45s var(--ease) .25s; }
.spot .arm, .spot .arm2 { transform-origin: 0 0; }
.spot .ball, .spot .tale { transform-origin: center; }

.spot.live .steam > * { animation: puff 3.6s var(--ease) infinite; }
.spot.live .steam > *:nth-child(2) { animation-delay: 1.2s; }
.spot.live .steam > *:nth-child(3) { animation-delay: 2.4s; }
.spot.live .chips > * { animation: chip 2.4s var(--ease) infinite; }
.spot.live .chips > *:nth-child(2) { animation-delay: .9s; }
.spot.live .pop { opacity: 1; transform: scale(1); }
.spot.live .arm  { animation: knead 2.2s ease-in-out infinite; }
.spot.live .arm2 { animation: knead 2.2s ease-in-out infinite .4s; }
.spot.live .ball { animation: bounce 1.8s ease-in-out infinite; }
.spot.live .tale { animation: talk 3s ease-in-out infinite; }

@keyframes chip { 0% { opacity:0; transform: translate(0,0) rotate(0); }
                  30% { opacity:.9; } 100% { opacity:0; transform: translate(-26px,-18px) rotate(-40deg); } }
@keyframes knead { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-7deg); } }
@keyframes bounce { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-22px) scale(1.04); } }
@keyframes talk { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }

/* FV のコピー（旅の最初の停留点に重ねる） */
/* 見出しと事前登録ボタンは、旅のあいだも出したままにする。
   何のサービスかと、次にやることは、いつでも読めないといけない。
   だから旅の絵は上寄せの帯の下を動き、停留点のコピーは下に出す。 */
.hero-copy {
  position: absolute; inset-block-start: clamp(5rem, 3.5rem + 5vw, 8.5rem);
  inset-inline-start: 50%; transform: translateX(-50%);
  z-index: 4;
  /* 見出し「あなたの当たり前を、」10文字が1行に収まる幅を確保する。
     囲みを付けたぶん、内側の余白も引いて考える。 */
  width: min(880px, calc(100% - var(--gutter) * 1.4));
  text-align: center;
  padding: clamp(1rem, .7rem + 1.2vw, 1.6rem) clamp(.75rem, .5rem + 1vw, 2rem);
  border-radius: 28px;
  background: rgba(255,252,248,.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(40,37,33,.07);
}
/* 停留点のコピーが出ているあいだは、少しだけ控える */
.hero-copy.gone { opacity: .96; }

/* メインコピーは行ごとに下から立ち上がる */
.hero-copy .ln { display: block; overflow: hidden; }
.hero-copy .ln > i {
  display: block; font-style: normal;
  transform: translateY(105%);
  transition: transform 1.05s cubic-bezier(.16,.84,.24,1);
}
.hero-copy .ln:nth-child(2) > i { transition-delay: .13s; }
.hero-copy.on .ln > i { transform: none; }
.hero-copy .hero-badge, .hero-copy .btn-row {
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s;
}
.hero-copy.on .hero-badge, .hero-copy.on .btn-row { opacity: 1; transform: none; }

/* 旅の終わりに立ち上がる、大きな一行 */
.finale {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; text-align: center;
  padding-inline: var(--gutter);
  pointer-events: none;
  background: radial-gradient(62% 52% at 50% 50%,
    rgba(255,253,250,.96) 0%, rgba(255,253,250,.88) 48%, rgba(255,253,250,0) 78%);
  opacity: 0; transition: opacity .7s var(--ease);
}
.finale.on { opacity: 1; }
.finale p {
  font-family: var(--f-display); font-weight: 800; line-height: 1.34;
  text-wrap: balance;
  transform: translateY(24px); transition: transform .9s cubic-bezier(.16,.84,.24,1);
}
.finale.on p { transform: none; }
.finale__1 { font-size: clamp(1.375rem, 1rem + 1.8vw, 2.25rem); color: var(--ink-sub); }
.finale__2 { font-size: clamp(1.875rem, 1.1rem + 3.6vw, 4rem); margin-block-start: .5rem; transition-delay: .12s; }
.finale__2 { color: var(--ink); }
@media (min-width: 640px) { .br-sp { display: none; } }
/* 囲みの外側にも、ごく淡く光をにじませて絵から浮かせる */
.hero-copy::before {
  content: ""; position: absolute; inset: -40%;
  z-index: -1; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 50%,
    rgba(255,252,247,.55) 0%, rgba(255,252,247,.28) 55%, rgba(255,252,247,0) 78%);
}
.hero-copy .accent { color: var(--o-dark); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5em;
  margin-block: 1.25rem;
  padding: .5em 1.1em; border-radius: 999px;
  background: rgba(255,255,255,.9); border: 1px solid var(--beige);
  font-size: .8125rem; font-weight: 700; color: var(--ink-sub);
}
.hero-badge svg { width: 17px; height: 17px; color: var(--o); flex: none; }

/* スクロールを促す小さな合図 */
.scroll-hint {
  position: absolute; inset-block-end: 1.25rem; inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-family: var(--f-en); font-size: .6875rem; letter-spacing: .16em; color: var(--ink-sub);
  transition: opacity .4s var(--ease);
}
.scroll-hint.gone { opacity: 0; }
.scroll-hint span { display: block; width: 1px; height: 34px; background: linear-gradient(var(--o), transparent); }

/* 旅の進み具合。押すとその場所へ飛べるので、指で押せる大きさを確保する */
.progress {
  position: absolute; inset-block-start: 50%; inset-inline-end: clamp(.25rem, .1rem + .6vw, 1rem);
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  z-index: 5;
}
.progress button {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.progress button::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--beige);
  box-shadow: 0 0 0 3px rgba(255,255,255,.6);
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.progress button.on::before { background: var(--o); transform: scale(1.5); }
.progress button:hover::before { background: var(--o-dark); }
.progress button:focus-visible { outline: 2px solid var(--cta); outline-offset: -6px; border-radius: 8px; }

/* ==========================================================================
   通常セクション
   ========================================================================== */
.sec { position: relative; padding-block: var(--pad-sec); overflow: hidden; }
.sec--ivory { background: var(--ivory); }
.sec--orange { background: var(--o); color: var(--ink); }

.head { display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
        text-align: center; margin-block-end: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }


/* 写真プレースホルダー */
.photo {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .4rem; aspect-ratio: var(--ratio, 4/3);
  border: 2px dashed #E2D5C4; border-radius: 20px; background: var(--ivory);
  color: var(--ink-sub); text-align: center; padding: 1rem; overflow: hidden;
}
.photo svg { width: 28px; height: 28px; color: #CDBBA6; }
.photo span { font-size: .75rem; line-height: 1.5; }
.photo--round { border-radius: 999px; aspect-ratio: 1; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   循環
   ========================================================================== */
.loop { position: relative; max-width: 680px; margin-inline: auto; }
.loop__mid {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%); width: min(40%, 200px); text-align: center;
}
.loop__mid .photo { width: 72px; margin-inline: auto; }
.loop__mid p { margin-block-start: .5rem; font-family: var(--f-display); font-weight: 700;
               font-size: clamp(.8125rem, .75rem + .3vw, 1rem); line-height: 1.5; }
.ring { fill: var(--white); stroke: var(--beige); stroke-width: 2; transition: stroke .4s var(--ease), fill .4s var(--ease); }
.step.on .ring { stroke: var(--o); fill: var(--o-light); }
.step text { font-family: var(--f-display); font-size: 15px; font-weight: 700; fill: var(--ink-sub); transition: fill .4s var(--ease); }
.step.on text { fill: var(--cta); }
.step g { color: var(--ink-sub); transition: color .4s var(--ease); }
.step.on g { color: var(--o); }
/* 循環の円は、スクロールに合わせて描かれていく（JS が長さを測って動かす） */
.road { fill: none; stroke: var(--o); stroke-width: 7; stroke-linecap: round; }

/* ==========================================================================
   創業者ストーリー：人生を横に辿る
   --------------------------------------------------------------------------
   縦スクロールで横に進む。真ん中に来た場面だけが色と動きを取り戻し、
   そばと出会う Scene 04 からオレンジの面積が増えていく。
   ========================================================================== */
/* 帯は時間で流れるので、縦の長さは中身ぶんだけ */
.life { position: relative; background: var(--ivory); }
.life__stage {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  overflow: hidden;
  padding-block: var(--pad-sec);
}
.life__head {
  width: min(1160px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
}

.life__viewport { position: relative; overflow: hidden; padding-block-end: 72px;
                  /* 中身は transform で動かすので、ここは触らせない */
                  touch-action: pan-y; }
.life__track {
  position: relative;
  /* 中身ぶんの幅を持たせる。これが無いと帯の幅が画面幅のままになり、
     中に敷いた道が1画面ぶんで途切れてしまう */
  width: max-content;
  display: flex; align-items: flex-start;
  gap: clamp(1rem, .6rem + 1.6vw, 2.25rem);
  padding-inline: max(var(--gutter), calc(50vw - 210px));
  will-change: transform;
}

/* 人生をつなぐ道。場面の絵に隠れないよう、カード群の下を一本で通す */
.life__road {
  position: absolute; inset-inline: 0;
  inset-block-start: auto; inset-block-end: -72px;
  width: 100%; height: 56px; overflow: visible; pointer-events: none;
}

.life__scene { flex: none; width: clamp(240px, 62vw, 420px); }
.life__art {
  position: relative; aspect-ratio: 4 / 3; border-radius: clamp(20px, 1.4vw + 14px, 30px);
  overflow: hidden; background: var(--white); border: 1px solid var(--beige);
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(40,37,33,.05);
  /* 中央から外れている場面は、色を落として奥に下げる */
  filter: saturate(.28); opacity: .5; transform: scale(.9);
  transition: filter .7s var(--ease), opacity .7s var(--ease),
              transform .7s cubic-bezier(.16,.84,.24,1), box-shadow .7s var(--ease);
}
.life__art svg { width: 100%; height: 100%; }
.life__art--cool { background: #F5F8FA; border-color: #E2EAEF; }
.life__art--warm { background: var(--o-light); border-color: #F6DFC8; }
.life__art--photo { background: var(--ivory); }
/* 写真枠のアイコンだけは、絵と違って引き伸ばさない */
.life__art--photo .photo svg { width: 30px; height: 30px; }

.life__scene.on .life__art {
  filter: none; opacity: 1; transform: none;
  box-shadow: 0 18px 44px rgba(40,37,33,.10);
}

.life__n {
  margin-block-start: 1rem;
  font-family: var(--f-en); font-size: .75rem; font-weight: 700; letter-spacing: .16em;
  color: var(--ink-sub);
  opacity: .45; transition: opacity .6s var(--ease), color .6s var(--ease);
}
.life__scene--warm .life__n { color: var(--cta); }
.life__n--now { color: var(--cta); }
.life__scene.on .life__n { opacity: 1; }

.life__t {
  margin-block-start: .35rem;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1rem, .9rem + .5vw, 1.3125rem); line-height: 1.55;
  opacity: .45; transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.life__scene.on .life__t { opacity: 1; transform: none; }

/* 進み具合 */
.life__bar { display: none;
  width: min(1160px, 100% - var(--gutter) * 2); margin-inline: auto;
  height: 3px; border-radius: 3px; background: var(--beige); overflow: hidden;
}
.life__bar i { display: block; height: 100%; width: 0; background: var(--o); border-radius: 3px; }

/* 中央に来た場面だけ、絵の中が動きだす */
.life__scene .curls > *, .life__scene .dust > * { opacity: 0; }
.life__scene.on .curls > * { animation: chip 2.4s var(--ease) infinite; }
.life__scene.on .curls > *:nth-child(2) { animation-delay: .9s; }
.life__scene.on .dust > * { animation: dust 3s var(--ease) infinite; }
.life__scene.on .dust > *:nth-child(2) { animation-delay: .7s; }
.life__scene.on .dust > *:nth-child(3) { animation-delay: 1.4s; }
.life__scene.on .dust > *:nth-child(4) { animation-delay: 2.1s; }
.life__scene.on .hand  { animation: knead 2.4s ease-in-out infinite; transform-origin: 0 0; }
.life__scene.on .hand2 { animation: knead 2.4s ease-in-out infinite .5s; transform-origin: 100% 0; }
.life__scene.on .rays  { animation: rays 3.2s ease-in-out infinite; transform-origin: 180px 110px; }
.life__scene.on .flag  { animation: sway 4s ease-in-out infinite; transform-origin: 252px 40px; }
.life__scene.on .walkA { animation: walk 1.6s ease-in-out infinite; transform-origin: 78px 172px; }
.life__scene.on .walkB { animation: walk 1.6s ease-in-out infinite .8s; transform-origin: 112px 172px; }

@keyframes dust { 0% { opacity:0; transform: translateY(6px); } 40% { opacity:.9; }
                  100% { opacity:0; transform: translateY(-22px); } }
@keyframes rays { 0%,100% { opacity:.45; transform: scale(.96); } 50% { opacity:.8; transform: scale(1.04); } }
@keyframes walk { 0%,100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }

.story-key {
  max-width: 640px; margin-inline: auto;
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  border-radius: 28px; background: var(--o-light); text-align: center;
}

/* 画面が狭いときは、絵を小さくして1画面に収める。作り（縦スクロールで横に進む）は同じ。 */
@media (max-width: 899px) {
  .life__stage { padding-block: clamp(3.5rem, 2rem + 6vw, 5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
  .life__scene { width: min(230px, 68vw); }
}

/* 横に送れる帯は、右端をぼかして「まだ続く」ことを見せる */
.swipe { position: relative; }
.swipe::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: 0;
  width: clamp(28px, 8vw, 56px); pointer-events: none;
  background: linear-gradient(to left, var(--fade, var(--ivory)), transparent);
}
.swipe-hint {
  display: none;
  align-items: center; justify-content: center; gap: .5em;
  margin-block-start: .75rem;
  font-family: var(--f-en); font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; color: var(--ink-sub);
}
.swipe-hint svg { width: 15px; height: 15px; }
.life .swipe-hint { display: flex; }
@media (max-width: 759px) {
  .people-wrap .swipe-hint { display: flex; }
  /* 帯は画面の端まで伸びるので、ぼかしの枠も同じ幅に合わせる */
  .people-wrap { margin-inline: calc(var(--gutter) * -1); }
  .people-wrap .people { margin-inline: 0; }
}

@media (min-width: 760px) { .people-wrap .swipe::after { display: none; } }

/* ==========================================================================
   二者
   ========================================================================== */
.duo { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr auto 1fr; } }
.duo__side { display: flex; flex-direction: column; gap: .9rem; }
.duo__mid { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.duo__mid svg { width: min(100%, 230px); }
/* 縦に積むとき、「出会う。」が次の段の見出しに見えてしまう。
   左右に線を引いて、2つをつなぐ区切りだと分かる形にする。 */
@media (max-width: 899px) {
  .duo__mid { flex-direction: row; align-items: center; gap: 1rem; }
  .duo__mid::before, .duo__mid::after {
    content: ""; flex: 1 1 auto; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--beige) 35%, var(--beige) 65%, transparent);
  }
  .duo__mid p { flex: none; color: var(--cta); }
}

/* ==========================================================================
   創業者の言葉
   --------------------------------------------------------------------------
   画面に貼りついたまま、スクロールに合わせて 2〜3行ずつが
   下から現れ、読み終える頃に上へ抜けていく。常に1ブロックだけが立っている。
   ========================================================================== */
.words { position: relative; background: var(--ivory); }
/* 言葉は時間で入れ替わるので、縦の長さは1画面ぶん。ページを伸ばさない。 */
.words__stage {
  position: relative;
  min-height: min(640px, 86vh);
  display: grid; place-items: center;
  overflow: hidden;
  padding-block: var(--pad-sec);
  padding-inline: var(--gutter);
}
/* スマホでは1ブロックが2〜3行しかないのに枠が高く、上下が空きすぎる。
   本文と操作ボタンが一目で収まる高さまで詰める。 */
@media (max-width: 767px) {
  .words__stage {
    min-height: min(430px, 58vh);
    padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) clamp(5rem, 4rem + 5vw, 7rem);
  }
}
.words__inner {
  position: relative;
  /* 1ブロックが自然に2〜3行で折り返す幅 */
  width: min(560px, 100%);
  display: grid;               /* 全ブロックを同じ場所に重ねる */
  place-items: center;
}

.word {
  grid-area: 1 / 1;
  text-align: center;
  font-family: var(--f-body);
  font-size: clamp(1.0625rem, 0.86rem + 0.9vw, 1.5rem);
  line-height: 2.1;
  color: var(--ink);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s var(--ease), transform .7s cubic-bezier(.16,.84,.24,1);
  pointer-events: none;
}
/* いま読んでいるブロックだけが立つ */
.word.on { opacity: 1; transform: none; }
/* 読み終えたブロックは上へ抜ける */
.word.past { opacity: 0; transform: translateY(-28px); }

/* 書き出しと締めは、大きく置く */
.word--lead, .word--end {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.375rem, 1rem + 1.7vw, 2.5rem);
  line-height: 1.55; text-wrap: balance;
}
.word--end { color: var(--cta); }
/* 気づきの一節 */
.word--key {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.1875rem, 0.95rem + 1.1vw, 1.875rem);
  line-height: 1.8;
}
/* 並べて見せる短い行 */
.word--list, .word--quote { line-height: 2.4; }
.word--quote { font-family: var(--f-display); font-weight: 700; }

/* 進み具合 */
.words__bar {
  position: absolute; inset-block-end: calc(clamp(1rem, .6rem + 1.4vw, 2rem) + 68px);
  inset-inline-start: 50%; transform: translateX(-50%);
  width: min(280px, 60%); height: 3px; border-radius: 3px;
  background: var(--beige); overflow: hidden;
}
.words__bar i { display: block; height: 100%; width: 0; background: var(--o); border-radius: 3px; }
/* スマホは下に固定CTAが出るので、その上へ逃がす */
@media (max-width: 767px) {
  .words__bar { inset-block-end: calc(9rem + env(safe-area-inset-bottom)); }
  .words__inner { padding-block-end: 3.5rem; }
}

/* ==========================================================================
   語り手
   ========================================================================== */
.teller { background: var(--white); }
.teller__in { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 820px) { .teller__in { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); } }
/* 写真は白背景の切り抜き。白いままの面に置くと宙に浮いて見えるので、
   淡いオレンジの面に載せ、写真の白は乗算で面に溶かす。 */
.teller__photo {
  position: relative; width: min(380px, 100%); margin-inline: auto;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, var(--o-light) 0%, var(--ivory) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-block-start: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
/* うしろの淡い円で、人物の背に奥行きを出す */
.teller__photo::before {
  content: ""; position: absolute; inset-block-start: 8%; inset-inline: 8%;
  aspect-ratio: 1; border-radius: 999px;
  background: radial-gradient(circle at 50% 45%, #FFE2CA 0%, #FFE2CA 58%, transparent 70%);
}
.teller__photo img {
  position: relative; width: 92%; height: auto; display: block;
  mix-blend-mode: multiply;
}
.teller__body { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
@media (max-width: 819px) {
  .teller__in { justify-items: center; text-align: center; }
  .teller__body { align-items: center; }
}

/* ==========================================================================
   ストーリーの締め：ひとりから、世界中へ視点が広がる
   --------------------------------------------------------------------------
   「当たり前」に灰色、「特別」にオレンジのマーカーが左から引かれ、
   そのあと中央のひとりを起点に、人が外へ次々と現れていく。
   ほとんどは淡い輪郭のまま＝まだ見つけられていない人。
   ========================================================================== */
.mk {
  padding-inline: .08em;
  background-image: linear-gradient(var(--mkc), var(--mkc));
  background-repeat: no-repeat;
  background-position: 0 86%;
  background-size: 0% 34%;
  transition: background-size .9s var(--ease) var(--mkd, .25s);
}
.mk--plain { --mkc: #E0D6C8; }
.mk--warm  { --mkc: #FFD3A6; --mkd: .75s; }
.story-key.in .mk { background-size: 100% 34%; }

.widen { margin-block-start: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.widen__lead, .widen__tail {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .9s cubic-bezier(.16,.84,.24,1);
}
.widen__tail { transition-delay: 1.5s; }
.widen.on .widen__lead, .widen.on .widen__tail { opacity: 1; transform: none; }

.widen__field { margin-block: clamp(.5rem, .3rem + 1vw, 1.5rem); }
.widen__field svg { width: 100%; height: auto; }

/* ひとりずつ、中心から外へ現れる */
.wp {
  opacity: 0;
  transform-box: fill-box; transform-origin: center;
  transition: opacity .5s var(--ease) var(--wd, 0s),
              transform .7s cubic-bezier(.16,.84,.24,1) var(--wd, 0s);
}
.wp:not(.wp--me) { transform: scale(.3); }
.wp--me { transform: scale(.7); }
.widen.on .wp { opacity: 1; transform: none; }
/* 見つかった人だけ、少し大きく現れる */
.widen.on .wp--lit { transform: scale(1.06); }

/* ==========================================================================
   ワクシルとは：条件で選ぶ → 人から選ぶ
   --------------------------------------------------------------------------
   上の「条件」は色が抜けて沈み、下の「人」のまわりに軌道が順に組み上がる。
   ========================================================================== */
.swap { display: flex; flex-direction: column; align-items: center;
        gap: clamp(1.25rem, .9rem + 1.4vw, 2rem); }
.swap__lbl { font-family: var(--f-display); font-weight: 700;
             font-size: clamp(1rem, .92rem + .4vw, 1.25rem); text-align: center; }
.swap__lbl--on { color: var(--cta); margin-block-start: clamp(1rem, .8rem + 1vw, 1.75rem); }
.swap__note { font-size: var(--fs-note, .875rem); color: var(--ink-sub); text-align: center; }

.swap__old { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
             transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chips li {
  padding: .45em 1.1em; border-radius: 999px;
  background: var(--white); border: 1px solid var(--beige);
  font-size: .9375rem; font-weight: 700; color: var(--ink-sub);
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
/* 条件で選ぶやり方は、そのままそっと後ろに下がる */
.swap.on .swap__old { opacity: .38; transform: scale(.94); filter: grayscale(1); }

.swap__turn { position: relative; text-align: center; }
.swap__turn span {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-display); font-weight: 700; font-size: .9375rem; color: var(--cta);
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--ease) .35s, transform .6s var(--ease) .35s;
}
.swap__turn span::before, .swap__turn span::after {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
}
.swap.on .swap__turn span { opacity: 1; transform: none; }

.swap__new { width: 100%; }
.orbit { width: min(660px, 100%); margin-inline: auto; }
.orbit svg { width: 100%; height: auto; }
.orbit__sat text {
  font-family: var(--f-display); font-size: 17px; font-weight: 700; fill: var(--ink);
}
/* 中央の人と、そのまわりが順に立ち上がる */
.orbit__hub { opacity: 0; transform: scale(.86); transform-origin: 320px 215px;
              transition: opacity .7s var(--ease), transform .8s cubic-bezier(.16,.84,.24,1); }
.swap.on .orbit__hub { opacity: 1; transform: none; }

.orbit__sat { opacity: 0; transform: scale(.8); transform-origin: center;
              transition: opacity .55s var(--ease), transform .65s cubic-bezier(.16,.84,.24,1); }
.swap.on .orbit__sat { opacity: 1; transform: none; }
.swap.on .orbit__sat[data-o="0"] { transition-delay: .45s; }
.swap.on .orbit__sat[data-o="1"] { transition-delay: .58s; }
.swap.on .orbit__sat[data-o="2"] { transition-delay: .71s; }
.swap.on .orbit__sat[data-o="3"] { transition-delay: .84s; }
.swap.on .orbit__sat[data-o="4"] { transition-delay: .97s; }
/* 中央へつながる線は、順に伸びていく（長さは JS が測る） */
.orbit__lines path { transition: stroke-dashoffset .7s var(--ease); }

/* ==========================================================================
   循環：円の上を、人が一周する
   ========================================================================== */
.runner { opacity: 0; transition: opacity .5s var(--ease); }
.runner.on { opacity: 1; }
.runner.on .runner__legA { animation: walk 0.9s ease-in-out infinite; transform-origin: -5px 14px; }
.runner.on .runner__legB { animation: walk 0.9s ease-in-out infinite .45s; transform-origin: 5px 14px; }
/* 灯った丸は、ひと呼吸ぶんだけ大きくなる */
.step .ring { transform-origin: center; }
.step.on .ring { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ==========================================================================
   二者：左右から歩いてきて、中央で出会う
   ========================================================================== */
.meet { position: relative; width: min(760px, 100%); margin-inline: auto; }
.meet svg { width: 100%; height: auto; overflow: visible; }
.meet__a, .meet__b { will-change: transform; }
.meet__a.walking .meet__legA, .meet__b.walking .meet__legA { animation: walk .62s ease-in-out infinite; }
.meet__a.walking .meet__legB, .meet__b.walking .meet__legB { animation: walk .62s ease-in-out infinite .31s; }
.meet__a .meet__legA, .meet__b .meet__legA { transform-origin: -15px 216px; }
.meet__a .meet__legB, .meet__b .meet__legB { transform-origin: 15px 216px; }

/* そば台と出会いのしるしは、二人がそろってから現れる */
.meet__table, .meet__spark { opacity: 0; transform: scale(.9); transform-origin: 340px 200px;
  transition: opacity .55s var(--ease), transform .7s cubic-bezier(.16,.84,.24,1); }
.meet.met .meet__table { opacity: 1; transform: none; }
.meet.met .meet__spark { opacity: 1; transform: none; transition-delay: .15s; }

.meet__cap {
  position: absolute; inset-block-start: 4%;
  width: min(15em, 40%);
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(.875rem, .8rem + .45vw, 1.125rem); line-height: 1.55;
  opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.meet__cap--l { inset-inline-start: 0; text-align: start; transform: translateX(-14px); }
.meet__cap--r { inset-inline-end: 0; text-align: end;   transform: translateX(14px); }
.meet.on .meet__cap { opacity: 1; transform: none; }
@media (max-width: 700px) {
  .meet__cap { position: static; width: 100%; text-align: center; transform: none; margin-block-start: .5rem; }
  .meet__cap--l { margin-block-start: 1rem; }
}

/* ==========================================================================
   会える人
   ========================================================================== */
.people { display: grid; gap: clamp(1.1rem, .8rem + 1.4vw, 1.6rem); }
@media (min-width: 760px)  { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 759px) {
  .people {
    grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block-end: 1rem;
  }
  .people > * { scroll-snap-align: start; }
}
.person {
  display: flex; flex-direction: column; gap: .8rem; height: 100%;
  background: var(--white); border: 1px solid var(--beige); border-radius: 26px;
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  box-shadow: 0 4px 18px rgba(40,37,33,.05);
}

/* --------------------------------------------------------------------------
   カードが配られる
   --------------------------------------------------------------------------
   最初は中央にひとまとめで重なっていて、順に手札を配るように所定の位置へ飛ぶ。
   飛ぶ向きと距離は、そのカードが中央からどれだけ離れているかで JS が決める。
   着地したあとは、机に置いたようにわずかに傾いたまま止まる。
   -------------------------------------------------------------------------- */
.people [data-deal] {
  opacity: 0;
  transform: translate(var(--fx, 0px), var(--fy, -40px)) rotate(var(--fr, -10deg)) scale(.88);
  transform-origin: center;
  transition: opacity .55s var(--ease) var(--d, 0s),
              transform .95s cubic-bezier(.18, .9, .25, 1) var(--d, 0s);
  will-change: transform;
}
.people [data-deal].dealt { opacity: 1; transform: rotate(var(--tilt, 0deg)); }

/* 配り終わったら、傾きを直す動きだけの短いトランジションに切り替える。
   クラス名は .done だとフォーム完了画面の .done（display:none）と衝突するので
   .settled を使う。 */
.people [data-deal].settled {
  will-change: auto;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.people [data-deal].settled:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 16px 36px rgba(40,37,33,.11);
}
.person__top { display: flex; align-items: center; gap: .8rem; }
.person__top .photo { width: 62px; flex: none; }
.person__nm { font-family: var(--f-display); font-weight: 800; font-size: 1.0625rem; }
.person__q { font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1.65; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-block-start: auto; padding-block-start: .5rem; }
.tag { padding: .28em .85em; border-radius: 999px; background: var(--o-light);
       color: var(--cta-hover); font-size: .75rem; font-weight: 700; }
.tag--o { background: var(--white); border: 1px solid var(--beige); color: var(--ink-sub); }

/* ==========================================================================
   あなたの当たり前
   ========================================================================== */
.motifs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.7rem, .5rem + 1vw, 1.2rem); }
/* 5列に切り替えるのは、いちばん長い「子どもとの遊び方」が1行に収まる幅から。
   600px で切り替えると札が細くなり、ラベルが2行に折れてしまう。 */
@media (min-width: 760px) { .motifs { grid-template-columns: repeat(5, 1fr); } }
.motif {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: 1.2rem .55rem; border-radius: 20px; background: var(--white);
  border: 1px solid var(--beige); text-align: center;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.motif:hover { transform: translateY(-4px); border-color: var(--o); }
.motif svg { width: 42px; height: 42px; color: var(--o); }
.motif span { font-size: .75rem; font-weight: 700; }

/* ==========================================================================
   フォーム
   ========================================================================== */
.form-shell { max-width: 660px; margin-inline: auto; }
fieldset { border: 0; padding: 0; margin: 0; }
legend, .lg { font-family: var(--f-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
              font-weight: 700; line-height: 1.5; padding: 0; margin-block-end: 1.1rem; }
.choices { display: grid; gap: .7rem; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset-block-start: 50%; inset-inline-start: 1.05rem;
                transform: translateY(-50%); width: 22px; height: 22px; margin: 0; accent-color: var(--cta); }
.choice span {
  display: flex; align-items: center; height: 100%; min-height: 56px;
  padding: .75rem 1.05rem .75rem 3rem;
  border: 2px solid var(--beige); border-radius: 14px; background: var(--white);
  line-height: 1.6; transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.choice input:checked + span { border-color: var(--cta); background: var(--o-light); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 2px; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { display: flex; align-items: center; gap: .5em; font-size: .9375rem; font-weight: 700; }
.req { padding: .15em .6em; border-radius: 999px; background: var(--o-light);
       color: var(--cta-hover); font-size: .75rem; font-weight: 700; }
.req--o { background: var(--beige); color: var(--ink); }
.input, .select, .textarea {
  width: 100%; min-height: 56px; padding: .85rem 1.05rem;
  border: 2px solid var(--beige); border-radius: 14px; background: var(--white);
  font: inherit; color: inherit;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.textarea { min-height: 118px; resize: vertical; }
.select { appearance: none; padding-inline-end: 2.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23716B64' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.05rem center; background-size: 12px; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(190,82,5,.14); }

.err { display: none; align-items: flex-start; gap: .4em; font-size: .8125rem; font-weight: 700; color: #B3261E; }
.err svg { flex: none; width: 16px; height: 16px; margin-block-start: .15em; }
.field.bad .err, fieldset.bad .err { display: flex; }
.field.bad .input, .field.bad .select { border-color: #B3261E; }
.form-sum { display: none; gap: .5em; align-items: flex-start; padding: .9rem 1.1rem;
            border-radius: 14px; border: 2px solid #B3261E; background: #FDF3F2;
            color: #B3261E; font-size: .9375rem; font-weight: 700; }
.form-sum.on { display: flex; }
.groups { display: flex; flex-direction: column; gap: clamp(2rem, 1.25rem + 2.5vw, 3rem); }
.fields { display: flex; flex-direction: column; gap: 1.1rem; }
.mins { display: inline-flex; align-items: center; gap: .5em; padding: .4em 1em;
        border-radius: 999px; background: var(--o-light); color: var(--cta-hover);
        font-size: .8125rem; font-weight: 700; }
/* フォームの完了画面。.done は汎用的すぎて他の用途と衝突するため用途を名前に含める */
.form-done { display: none; flex-direction: column; align-items: center; gap: 1.4rem; text-align: center;
        padding: clamp(2rem, 1.25rem + 3vw, 3.5rem) clamp(1.25rem, 1rem + 2vw, 3rem);
        border-radius: 28px; background: var(--o-light); }
.form-done.on { display: flex; }
.form-shell.finished .live { display: none; }

/* ==========================================================================
   フッター
   ========================================================================== */
.footer { background: var(--ivory); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; }
.footer__grid { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3rem); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h3 { font-family: var(--f-display); font-size: .9375rem; font-weight: 700; margin-block-end: .8rem; }
.footer nav { display: flex; flex-direction: column; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem;
                text-decoration: none; color: var(--ink-sub); }
.footer nav a:hover { color: var(--cta); text-decoration: underline; text-underline-offset: .3em; }
.footer__end { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
               align-items: center; margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem);
               padding-block-start: 1.5rem; border-block-start: 1px solid var(--beige); }

/* スマートフォンの固定CTA */
.sticky {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 90;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-block-start: 1px solid var(--beige);
  transform: translateY(115%); transition: transform .4s var(--ease);
}
.sticky.on { transform: none; }
@media (min-width: 768px) { .sticky { display: none; } }

/* ==========================================================================
   表示アニメーション・アクセシビリティ
   ========================================================================== */
[data-in] { opacity: 0; transition: opacity .6s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
[data-in="up"] { transform: translateY(26px); }
[data-in="l"]  { transform: translateX(-34px); }
[data-in="r"]  { transform: translateX(34px); }
[data-in="s"]  { transform: scale(.94); }
[data-in].in   { opacity: 1; transform: none; }
/* 左右から滑り込ませるのは、二者が横に並んでいるとき（900px 以上）だけ。
   縦に積んでいるあいだは横幅いっぱいなので、待機位置が画面の外へ出てしまう。
   横スクロールの原因になるため、縦から現れる形に切り替える。 */
@media (max-width: 899px) {
  [data-in="l"], [data-in="r"] { transform: translateY(22px); }
}

@keyframes sway { 0%,100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes bob  { 0%,100% { transform: translateY(0); }   50% { transform: translateY(-7px); } }
@keyframes puff { 0% { opacity:0; transform: translateY(4px) scaleX(.9); }
                  35% { opacity:.75; } 100% { opacity:0; transform: translateY(-15px) scaleX(1.25); } }
@keyframes twinkle { 0%,100% { opacity:.35; transform: scale(.9); } 50% { opacity:1; transform: scale(1.1); } }
.a-flag { transform-origin: left center; animation: sway 4.5s ease-in-out infinite; }
.a-bob  { animation: bob 7s ease-in-out infinite; }
.a-puff > * { transform-origin: center bottom; animation: puff 5s var(--ease) infinite; }
.a-puff > *:nth-child(2) { animation-delay: 1.6s; }
.a-puff > *:nth-child(3) { animation-delay: 3.2s; }
.a-tw   { transform-origin: center; animation: twinkle 4.5s ease-in-out infinite; }

.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
      overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-block-start: 0; inset-inline-start: 50%;
        transform: translate(-50%, -110%); z-index: 200; padding: .75rem 1.5rem;
        border-radius: 0 0 12px 12px; background: var(--cta); color: #fff;
        font-weight: 700; text-decoration: none; transition: transform .2s var(--ease); }
.skip:focus { transform: translate(-50%, 0); }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 4px; }
.sec--orange :focus-visible { outline-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  [data-in] { opacity: 1; transform: none; }
  /* カメラの旅は動かさず、停留点のコピーをすべて縦に並べて読めるようにする */
  /* 固定を解くと、絵の一部が枠の外へ出て横スクロールが生まれるので、ここで切る */
  .journey { height: auto !important; overflow: hidden; }
  .stage { position: static; height: auto; padding-block: 3rem; }
  .world-holder { position: static; transform: none !important;
                  width: 100%; height: auto; }
  .world { width: 100%; height: auto; }
  .stops { position: static; display: flex; flex-direction: column; gap: 1rem;
           margin-block-start: 2rem; }
  .stop { position: static; opacity: 1; visibility: visible; transform: none;
          width: min(560px, 100%); margin-inline: auto; }
  .hero-copy { position: static; transform: none; margin-inline: auto; margin-block-end: 2rem; }
  .hero-copy.gone { opacity: 1; transform: none; }
  .hero-copy .ln > i { transform: none; }
  .hero-copy .hero-badge, .hero-copy .btn-row { opacity: 1; transform: none; }
  .scroll-hint, .progress { display: none; }
  /* 大きな一行も、絵の上に重ねず普通に読ませる */
  .finale { position: static; opacity: 1; background: none; padding-block: 2.5rem 0; }
  .finale p { transform: none; }
  /* 場面の起動もすべて済んだ状態にする */
  .spot .steam > *, .spot .chips > * { opacity: .8; }
  .spot .pop { opacity: 1; transform: none; }
  /* 人生の帯は横に固定せず、指で送れる状態にする */
  .life { height: auto !important; }
  .life__stage { position: static; height: auto; min-height: 0; padding-block: var(--pad-sec); }
  .life__viewport { overflow-x: auto; }
  .life__track { transform: none !important; padding-inline: var(--gutter); }
  .life__art { filter: none; opacity: 1; transform: none; }
  .life__n, .life__t { opacity: 1; transform: none; }
  .life__road, .life__bar { display: none; display: none; }
  .life__scene .curls > *, .life__scene .dust > * { opacity: .8; }
  /* 創業者の言葉は、重ねずに縦に並べて全部読めるようにする */
  .words { height: auto !important; }
  .words__stage { position: static; height: auto; min-height: 0; padding-block: var(--pad-sec); }
  .words__inner { display: flex; flex-direction: column; gap: 2rem; }
  .word { opacity: 1; transform: none !important; }
  .words__bar { display: none; }
  /* 締めの広がりも、最初から全部そろった状態にする */
  .story-key .mk { background-size: 100% 34%; }
  .widen__lead, .widen__tail { opacity: 1; transform: none; }
  .wp { opacity: 1; transform: none !important; }
}

/* オレンジ面の上に置く、控えめなボタン（文字は AA を満たす濃さ） */
.btn--g { background: transparent; border-color: rgba(40,37,33,.5); color: var(--ink); }
.btn--g:hover { background: rgba(255,255,255,.6); border-color: var(--ink); transform: translateY(-3px); }

/* 創業者ストーリーのページの入口 */
.storytop { padding-block: clamp(6.5rem, 4rem + 9vw, 11rem) clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.storytop .d1 { margin-block: .8rem .6rem; }
.storytop .note { margin-block-start: 1.2rem; }
/* 指で押せる大きさを確保する */
.tolink { display: inline-flex; align-items: center; min-height: 44px;
          padding-inline: .6em; color: var(--cta); text-underline-offset: 3px; }
/* ページ見出しと重なるので、帯の中の見出しは小さく */
.life__head--sub { gap: 0; }

/* --- 創業者ストーリーへの入口 ------------------------------------------- */
.origin { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 820px) { .origin { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); } }
.origin__photo {
  position: relative; width: min(340px, 100%); margin-inline: auto;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, var(--o-light) 0%, var(--white) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-block-start: clamp(1.25rem, 1rem + 1.6vw, 2rem);
}
.origin__photo::before {
  content: ""; position: absolute; inset-block-start: 8%; inset-inline: 8%;
  aspect-ratio: 1; border-radius: 999px;
  background: radial-gradient(circle at 50% 45%, #FFE2CA 0%, #FFE2CA 58%, transparent 70%);
}
.origin__photo img { position: relative; width: 92%; height: auto; display: block; mix-blend-mode: multiply; }
.origin__body { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.origin__body .lead { max-width: 34em; }
@media (max-width: 819px) {
  .origin { justify-items: center; text-align: center; }
  .origin__body { align-items: center; }
}

/* 言葉の操作。自動で入れ替わる読み物なので、止める手段を必ず出しておく */
.words__ui {
  position: absolute; inset-block-end: clamp(1rem, .6rem + 1.4vw, 2rem);
  inset-inline-start: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - var(--gutter) * 2);
  display: flex; align-items: center; gap: .35rem;
}
.wbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-width: 44px; min-height: 44px; padding: 0 .5rem;
  white-space: nowrap;                  /* 「一時停止」を縦に割らせない */
  border: 1px solid transparent; border-radius: 999px;
  background: none; color: var(--ink-sub);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.wbtn svg { width: 18px; height: 18px; }
.wbtn--w { padding-inline: .9rem; font-size: .8125rem; font-weight: 700; font-family: var(--f-display);
           flex: none; }
.wbtn:hover { background: var(--o-light); color: var(--cta); }
.wbtn:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.wbtn[aria-pressed="true"] { background: var(--o-light); color: var(--cta); border-color: var(--cta); }
.words__ui .note { margin-inline-start: .4rem; font-family: var(--f-en); white-space: nowrap; }
@media (max-width: 767px) {
  .words__ui { inset-block-end: calc(4.6rem + env(safe-area-inset-bottom)); }
}

/* --- 次に読むもの ------------------------------------------------------- */
.nextgrid { display: grid; gap: clamp(1rem, .7rem + 1.4vw, 1.75rem); }
@media (min-width: 760px) { .nextgrid { grid-template-columns: 1fr 1fr; } }
.nextcard {
  display: flex; flex-direction: column;
  border-radius: 28px; overflow: hidden; text-decoration: none;
  background: var(--white); border: 1px solid var(--beige);
  box-shadow: 0 6px 24px rgba(40,37,33,.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.nextcard:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(40,37,33,.1); border-color: var(--o); }
.nextcard:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }
.nextcard__photo {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(180deg, var(--o-light) 0%, var(--ivory) 100%);
  display: grid; place-items: end center;
}
.nextcard__photo::before {
  content: ""; position: absolute; inset-block-start: 6%; inset-inline: 32%;
  aspect-ratio: 1; border-radius: 999px;
  background: radial-gradient(circle at 50% 45%, #FFE2CA 0%, #FFE2CA 58%, transparent 70%);
}
.nextcard__photo img { position: relative; width: 46%; height: auto; mix-blend-mode: multiply; }
.nextcard__photo--art { place-items: center; }
.nextcard__photo--art svg { width: 46%; height: auto; }
.nextcard__body {
  display: flex; flex-direction: column; gap: .55rem;
  padding: clamp(1.25rem, 1rem + 1.4vw, 2rem);
}
.nextcard__go {
  display: inline-flex; align-items: center; gap: .5em; margin-block-start: .4rem;
  font-family: var(--f-display); font-weight: 700; color: var(--cta);
}
.nextcard__go svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.nextcard:hover .nextcard__go svg { transform: translateX(4px); }

/* ヒアリングに添える一言。色だけで伝えず、文字としても読める形にする */
.perk {
  display: inline-block; margin-inline-start: .6em;
  padding: .1em .7em; border-radius: 999px;
  background: var(--o-light); color: var(--cta);
  font-family: var(--f-display); font-size: .8125rem; font-weight: 700; font-style: normal;
  white-space: nowrap;
}
/* .choice span は横並びなので、添え書きは flex の向きを変えて下へ落とす */
.choice--perk span { flex-wrap: wrap; }
@media (max-width: 719px) {
  .choice--perk span { flex-direction: column; align-items: flex-start; }
  .perk { margin-inline-start: 0; margin-block-start: .5em; }
}

/* 「次に読むもの」が1枚だけのとき。縦長のカードが1枚ぽつんと残ると
   間が抜けて見えるので、写真と文章を横に並べた1枚に組み直す。 */
.nextgrid--one { grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; }
@media (min-width: 720px) {
  .nextcard--wide { flex-direction: row; align-items: stretch; }
  .nextcard--wide .nextcard__photo { flex: 0 0 42%; aspect-ratio: auto; position: relative; }
  /* 文章の高さでカードの高さが決まるので、写真はその高さに収める。
     下端で揃えて、切れずに立っているように見せる。 */
  .nextcard--wide .nextcard__photo img {
    position: absolute; inset-block-end: 0; inset-inline-start: 50%;
    transform: translateX(-50%);
    width: auto; max-width: 82%; max-height: 100%;
  }
  .nextcard--wide .nextcard__photo::before { inset-inline: 14%; inset-block-start: 14%; }
  .nextcard--wide .nextcard__body {
    flex: 1 1 auto; justify-content: center;
    padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
  }
}

/* 運営の列だけになったフッター。
   1列のまま縦に並べると右が大きく空くので、広い画面では横一列にして 高さを詰める。 */
.footer__grid--one { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .footer__grid--one nav { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 2.2rem; }
}

/* ==========================================================================
   規約・ポリシーなどの文書ページ
   長い文章を読ませる場所なので、幅を絞り、行間を広く、装飾はほぼ入れない。
   ========================================================================== */
.doc { background: var(--white); padding-block-start: clamp(6.5rem, 4rem + 9vw, 11rem); }
.doc__in { width: min(760px, 100% - var(--gutter) * 2); }
.doc .d2 { margin-block-end: .4rem; }
.doc__body { margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 2.05; }
.doc__body > * + * { margin-block-start: 1.1em; }
.doc__body h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.0625rem, .95rem + .5vw, 1.375rem);
  line-height: 1.6;
  margin-block-start: 2.6em; padding-block-end: .5em;
  border-block-end: 2px solid var(--o-light);
  scroll-margin-block-start: 6rem;      /* #contact で飛んだときヘッダーに隠れない */
}
.doc__body h2 + * { margin-block-start: 1em; }
.doc__body ol, .doc__body ul.doc__list { padding-inline-start: 1.4em; }
.doc__body ol { list-style: decimal; }
.doc__body ul.doc__list { list-style: disc; }
.doc__body li + li { margin-block-start: .7em; }
.doc__body li::marker { color: var(--cta); font-weight: 700; }
/* 文中のリンク。行の高さは変えずに、押せる範囲だけ上下へ広げる */
.doc__body a { color: var(--cta); text-underline-offset: 3px; padding-block: .3em; }
.doc__body strong { font-weight: 700; }

.doc__table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.doc__table th, .doc__table td {
  padding: .8em 1em; border: 1px solid var(--beige); text-align: start; vertical-align: top;
}
.doc__table thead th { background: var(--ivory); font-weight: 700; }
.doc__table--info th { width: 32%; background: var(--ivory); white-space: nowrap; }
@media (max-width: 559px) {
  .doc__table--info th, .doc__table--info td { display: block; width: auto; white-space: normal; }
  .doc__table--info th { border-block-end: 0; }
}
/* まだ埋まっていない箇所。色だけでなく文字でも分かるようにしてある。
   淡いオレンジの上なので、文字は --cta より一段暗い色にして AA を満たす（5.78:1）。 */
.fillin {
  display: inline-block; padding: .1em .6em; border-radius: 6px;
  background: var(--o-light); color: var(--cta-hover); font-weight: 700;
}
.doc__back { margin-block-start: clamp(3rem, 2rem + 3vw, 4.5rem); }
.doc__back a {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  font-family: var(--f-display); font-weight: 700; color: var(--cta); text-decoration: none;
}
.doc__back a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* 表の中のリンクも、指で押せる高さ（24px以上）を確保する */
.doc__table td { line-height: 1.95; }

/* --- 面の切り替わりを見せる -----------------------------------------------
   同じ色の面が続くと、あいだの余白が「空白の海」に見えて、下に続きがあると
   気づけない。色を変え、境目の余白も詰めて、次の面の縁が早めに顔を出すようにする。 */

/* 事前登録（アイボリー）→ 次に読むもの（白）。色が変わるので境目が見える */
#next { background: var(--white); }
#reg  { padding-block-end:   clamp(2.5rem, 1.5rem + 3.5vw, 5rem); }
#next { padding-block-start: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); }
/* 「次に読むもの」の下はすぐフッター。空きすぎるので下の余白も詰める */
#next { padding-block-end: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

/* ワクシルとは → あなたの当たり前。どちらも白なので、余白だけ詰める */
#about    { padding-block-end:   clamp(2rem, 1.2rem + 3vw, 4rem); }
#ordinary { padding-block-start: clamp(2rem, 1.2rem + 3vw, 4rem); }
