@charset "UTF-8";
:root {
  --accent: #ff4d00;
  --accent-ink: #ffffff;
  --ink: #1d1d1f;
  --ink-70: #606064;
  --ink-45: #6e6e73;
  --ink-08: #d2d2d7;
  --paper: #f5f5f7;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-display: var(--font-jp);
  --font-latin: var(--font-jp);
  --wrap: 1120px;
  --pad: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 90px;
  /* ナビのアンカーは滑らかに。動きを減らす設定では下の reduced-motion で auto に戻る */
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.045em;
}
h1,
h2 {
  text-wrap: balance;
}
h1 {
  font-size: 64px;
}
h2 {
  font-size: 56px;
}
h3 {
  font-size: 24px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  fill: currentColor;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 6px;
}
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
.container {
  width: min(calc(100% - 96px), var(--wrap));
  margin-inline: auto;
}
.section {
  padding: 120px 0;
}
.center {
  text-align: center;
}
.eyebrow {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lead {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink-70);
  margin: 28px auto 0;
  max-width: 770px;
}
.fine {
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-70);
}
/* 写真提供の呼びかけ。文字色と太さは上の断り書きに揃える */
.contribute-note {
  margin-top: 12px;
}
.mobile {
  display: none;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  padding: 8px 18px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}
.skip:focus {
  top: 10px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
}
/* 下線は文字だけに引く。「›」には掛けない */
.text-link:hover .text-link__label {
  text-decoration: underline;
}
.text-link__mark {
  font-size: 21px;
  line-height: 1;
  /* 「›」の字面は中心より下に寄っているので上げる */
  transform: translateY(-3px);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading h2 {
  font-size: 38px;
}
.section-heading > p {
  font-size: 14px;
  color: var(--ink-70);
}
/* Navigation stays available; feature sections always follow normal document flow. */
.nav {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), 1120px);
  min-height: 54px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* ver2 と同じ磨りガラス。下の面が透けるくらいの白 + blur に saturate を足す。
     角丸は高さいっぱい (ピル) */
  border: 1px solid #dedee3;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 30px rgba(13, 13, 13, 0.08);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.nav__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.nav__type {
  width: 95px;
  height: 18px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}
/* 下線は擬似要素で引き、左から伸ばす。text-decoration では動かせない */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}
.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .nav__links a::after {
    transition: none;
  }
}
.nav__cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.nav__cta span {
  margin-left: 6px;
}
.nav__cta:hover {
  background: #ff6930;
}
.store {
  display: inline-block;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.store:hover {
  opacity: 0.75;
}
.store img {
  width: 150px;
  height: auto;
}
.hero {
  position: relative;
  isolation: isolate;
  padding-top: 126px;
  /* 端末画像の下端が次のセクションと接して窮屈に見えるので余白を置く。
     `.hero__product:after` の光も overflow: hidden で切られていた */
  padding-bottom: 96px;
  overflow: hidden;
}
/* 背景の実写 (ver2 から移植)。下側を地の色へ抜いて、次のセクションと段差を作らない */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 92%);
}
.hero .eyebrow {
  font-size: 17px;
  margin-bottom: 22px;
}
.hero h1 {
  line-height: 1.28;
  font-weight: 800;
}
.hero__lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 24px;
  color: var(--ink-70);
}
.hero__cta {
  margin-top: 26px;
}
.hero__cta > p {
  font-size: 12px;
  margin-top: 12px;
  color: var(--ink-70);
}
.hero__cta > p span {
  margin-left: 10px;
}
.hero__product {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 580px;
  max-width: 1100px;
  margin: 58px auto 0;
  gap: 40px;
  isolation: isolate;
}
.hero__product:after {
  content: '';
  position: absolute;
  z-index: -1;
  bottom: -80px;
  left: 10%;
  right: 10%;
  height: 180px;
  background: radial-gradient(ellipse, #dedee5, transparent 67%);
  filter: blur(22px);
}
.hero__main {
  width: auto;
  height: 560px;
  filter: drop-shadow(0 18px 18px #00000018);
  z-index: 2;
}
.hero__side {
  height: 480px;
  width: auto;
  margin-top: 55px;
  filter: drop-shadow(0 15px 15px #00000014);
}
.hero__side--left {
  transform: perspective(1200px) rotateY(14deg);
  transform-origin: right center;
}
.hero__side--right {
  transform: perspective(1200px) rotateY(-14deg);
  transform-origin: left center;
}
.highlights {
  background: var(--paper);
  padding-block: 105px;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.highlight {
  height: 530px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: #fff;
  padding: 30px 28px;
}
/* hover ではカードを動かさず、中の端末だけ少し寄る */
@media (hover: hover) and (pointer: fine) {
  .highlight > img,
  .highlight__stack {
    transition: scale 0.45s var(--ease);
    transform-origin: 50% 100%;
  }
  .highlight:hover > img,
  .highlight:hover .highlight__stack {
    scale: 1.06;
  }
  @media (prefers-reduced-motion: reduce) {
    .highlight > img,
    .highlight__stack {
      transition: none;
    }
  }
}
.highlight > div {
  position: relative;
  z-index: 2;
}
.highlight p {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.highlight h3 {
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
.highlight > img {
  position: absolute;
  width: 210px;
  max-width: none;
  /* translateX(-50%) で中央に寄せると transform-origin が実際の見た目とずれる
     (原点は移動前の箱で決まる) ので、左右 0 + auto マージンで中央に置く */
  left: 0;
  right: 0;
  margin-inline: auto;
  top: 187px;
}
.highlight--record {
  background: #171719;
  color: #f5f5f7;
}
.highlight--record > img {
  width: 230px;
  top: 190px;
}
.highlight--memory {
  background: #eeece8;
}
/* 共有のカードは、共有の節と同じ見せ方をする —
   公開ページを主役に、シェアカードを手前に小さく重ねる */
.highlight__stack {
  position: absolute;
  left: 0;
  right: 0;
  margin-inline: auto;
  top: 180px;
  width: 205px;
}
.highlight__web {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px #00000018);
}
.highlight__card {
  position: absolute;
  left: -36px;
  top: 148px;
  width: 128px;
  height: auto;
  border-radius: 9px;
  rotate: -6deg;
  box-shadow: 0 12px 22px #00000026;
}
.round-link {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #e8e8ed;
  color: #333;
}
/* 下向きの矢。線だけで描き、太さは端末の縁と釣り合う細さにする */
.round-link svg {
  width: 15px;
  height: 15px;
  fill: none;
}
.round-link path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover) and (pointer: fine) {
  .round-link svg {
    transition: translate 0.3s var(--ease);
  }
  .highlight:hover .round-link svg {
    translate: 0 2px;
  }
  @media (prefers-reduced-motion: reduce) {
    .round-link svg {
      transition: none;
    }
    .highlight:hover .round-link svg {
      translate: none;
    }
  }
}
/* 2 枚目の地はベージュ寄りなので、丸は白で抜く */
.highlight--memory .round-link {
  background: #fff;
}
.highlight--record .round-link {
  background: #38383b;
  color: white;
}
.feature-intro {
  position: relative;
  margin-bottom: 65px;
}
.feature-intro .eyebrow {
  color: var(--ink-70);
}
.record-stage {
  position: relative;
  min-height: 690px;
  border-radius: 30px;
  overflow: hidden;
  background: #111113;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f5f7;
}
.record-stage > img {
  height: 610px;
  width: auto;
  margin-top: 42px;
  filter: drop-shadow(0 0 40px #000);
}
.record-stage__copy {
  position: absolute;
  left: 55px;
  top: 190px;
  width: 250px;
}
.record-stage__copy > p {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
}
.record-stage__copy h3 {
  font-size: 28px;
  line-height: 1.5;
}
.record-stage__detail {
  position: absolute;
  right: 45px;
  bottom: 155px;
  width: 230px;
}
.record-stage__detail h3 {
  font-size: 25px;
  line-height: 1.5;
}
.record-stage__detail p {
  margin-top: 20px;
  font-size: 13px;
  color: #a1a1a6;
  line-height: 1.9;
}
.feature-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 55px;
  margin-top: 48px;
}
.feature-facts h3 {
  font-size: 22px;
  line-height: 1.5;
}
.feature-facts p {
  font-size: 14px;
  color: var(--ink-70);
  margin-top: 14px;
  line-height: 1.9;
}
.memories {
  padding-top: 65px;
}
.memory-stage {
  height: 640px;
  background: var(--paper);
  border-radius: 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 76px;
  overflow: hidden;
}
/* 走っている絵を 2 本並べるバンド。文字は置かない。
   動きを減らす設定では静止画に落とす (ver2 の break と同じ) */
.clips {
  padding-block: 30px 55px;
}
.clip-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 820px;
  margin: 0 auto;
}
.clip-pair figure {
  margin: 0;
}
/* 左は上から、右は下から。進み具合 (--clip-progress) はスクロール量そのもので、
   画面の中央に来たところで定位置 (1) になる。js/lp.js が入れる */
@media (prefers-reduced-motion: no-preference) {
  .clip-pair {
    --clip-progress: 0;
    /* 定位置までの移動量。SP は下の 580px のブロックで小さくする */
    --clip-shift: 120px;
  }
  .clip-pair figure {
    opacity: clamp(0, calc(var(--clip-progress) * 1.6), 1);
  }
  .clip-pair figure:first-child {
    translate: 0 calc(-1 * var(--clip-shift) * (1 - var(--clip-progress)));
  }
  .clip-pair figure:last-child {
    translate: 0 calc(var(--clip-shift) * (1 - var(--clip-progress)));
  }
}
.clip__motion,
.clip__still {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 35px #00000015;
}
.clip__still {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .clip__motion {
    display: none;
  }
  .clip__still {
    display: block;
  }
}
/* 走行の記録の面と同じ組み方 — 端末を中央に、左右に文字を添える */
.memory-stage__copy {
  position: absolute;
  left: 55px;
  top: 170px;
  width: 250px;
}
.memory-stage__copy > p {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
}
.memory-stage__copy h3 {
  font-size: 28px;
  line-height: 1.5;
}
.memory-stage__detail {
  position: absolute;
  right: 45px;
  bottom: 150px;
  width: 250px;
}
.memory-stage__detail h3 {
  font-size: 25px;
  line-height: 1.5;
}
.memory-stage__detail p {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.9;
}
.memory-stage__phone {
  height: 575px;
  width: auto;
  filter: drop-shadow(0 16px 16px #0000001a);
}
.feature-caption {
  max-width: 730px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink-70);
}
.feature-caption strong {
  color: var(--ink);
}
/* SP でだけ効かせる改行 */
.feature-caption .sp {
  display: none;
}
.data-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  /* 幅は上の .memory-stage と揃える (コンテナいっぱい) */
  margin: 100px auto 0;
  padding: 60px 60px 0 70px;
  background: var(--paper);
  border-radius: 30px;
  height: 560px;
  overflow: hidden;
}
/* 端末は 2 台。集計と踏破の地図を並べ、下端は面で切る */
.data-panel__shots {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 55px;
}
.data-panel__shots img:nth-child(2) {
  margin-top: 34px;
}
.data-panel > div {
  padding-bottom: 50px;
}
.data-panel .eyebrow {
  font-size: 15px;
  color: var(--ink-70);
}
.data-panel h3 {
  font-size: 44px;
}
.data-panel p:not(.eyebrow) {
  font-size: 15px;
  color: var(--ink-70);
  margin-top: 24px;
}
.data-panel__shots img {
  width: 240px;
  height: auto;
}
.share {
  padding-top: 55px;
}
/* 共有の節は「カード → Web ページ」の順に目が動くように置く。
   主役は端末の中の公開ページで、カードはその手前に小さく重ねる */
.share-stage {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.share-stage__web {
  width: 330px;
  height: auto;
  filter: drop-shadow(0 22px 30px #00000018);
}
.share-stage__card {
  position: absolute;
  z-index: 2;
  left: 7%;
  bottom: 12%;
  width: 200px;
  margin: 0;
  rotate: -6deg;
}
.share-stage__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 36px #00000024;
}
.privacy-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 60px auto 0;
  max-width: 780px;
  padding-top: 40px;
  border-top: 1px solid var(--ink-08);
}
.privacy-note svg {
  width: 38px;
  height: 46px;
  flex-shrink: 0;
  color: var(--ink);
}
.privacy-note h3 {
  font-size: 25px;
}
.privacy-note p {
  font-size: 13px;
  color: var(--ink-70);
  margin-top: 12px;
}
.collection {
  background: var(--paper);
}
/* 3 枚並べて、中央 (道の駅の詳細) だけ大きく前に出す */
.collection-stage {
  display: flex;
  justify-content: center;
  gap: 30px;
  height: 615px;
  /* 端末はこの高さに収まっているので切る必要がない。切ると影の下側が落ちる */
  overflow: visible;
}
.collection-stage img {
  height: 555px;
  width: auto;
  margin-top: 30px;
  filter: drop-shadow(0 15px 18px #00000013);
}
.collection-stage img:nth-child(2) {
  height: 595px;
  margin-top: 0;
}
.collection-info {
  max-width: 950px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.collection-info h3 {
  font-size: 23px;
}
.collection-info p {
  font-size: 14px;
  color: var(--ink-70);
  margin-top: 15px;
}
.station-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  margin: 65px 0 25px;
}
.station-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps-grid > li {
  position: relative;
  background: var(--paper);
  border-radius: 24px;
  padding: 30px 28px;
  height: 430px;
  overflow: hidden;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #86868b;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 500;
  /* 数字の字面は行の中で下に寄るので、丸の中心に見えるまで持ち上げる */
  line-height: 1;
  padding-bottom: 2px;
  margin-bottom: 25px;
}
.steps-grid h3 {
  font-size: 22px;
}
.steps-grid p {
  font-size: 13px;
  color: var(--ink-70);
  margin-top: 14px;
}
/* アイコンと公式バッジは中央で縦に積む */
.step-download {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.step-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
}
.step-download .store img {
  width: 150px;
}
.step-screen {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.step-screen img {
  width: 170px;
  max-width: 100%;
}
.steps-grid .text-link {
  font-size: 13px;
}
/* 機能の全貌。3 列のリストで、個々の節で拾えなかったものまで並べる */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
}
.feature-list h3 {
  font-size: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-08);
}
.feature-list ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-70);
}
.feature-list li + li {
  margin-top: 10px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.qa {
  padding-top: 40px;
}
.qa__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 70px;
}
.qa__layout h2 {
  font-size: 38px;
  line-height: 1.4;
}
.qa__layout .eyebrow {
  font-size: 15px;
  color: var(--ink-70);
}
.qa__items {
  border-top: 1px solid var(--ink-08);
}
details {
  border-bottom: 1px solid var(--ink-08);
}
summary {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  font-size: 14px;
  padding: 0 25px 25px 0;
  color: var(--ink-70);
}
.pricing {
  background: var(--paper);
}
.pricing .eyebrow {
  color: var(--ink-70);
}
/* 料金のカードは ver2 の作り — 正方形の枠に、上にプラン名・下に金額。
   年額は推しなので地をアクセントにする */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  max-width: 680px;
  margin: 55px auto 0;
}
.plan {
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(24px, 2.8vw, 36px);
  border: 1px solid var(--ink-08);
  border-radius: clamp(20px, 2vw, 28px);
  /* 節の地 (--paper) と同じだと面が沈むので白で起こす */
  background: #fff;
  text-align: left;
}
.plan--best {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
}
.plan h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-45);
}
.plan--best h3 {
  color: rgba(255, 255, 255, 0.75);
}
.plan__foot {
  align-self: end;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.2;
}
.price span {
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-45);
}
.plan--best .price span {
  color: rgba(255, 255, 255, 0.75);
}
.plan__sub {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-08);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-45);
}
.plan--best .plan__sub {
  border-top-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 599px) {
  /* 正方形のままだと 1 枚が小さくなりすぎるので、縦積みで少し横長にする */
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
  }
  .plan {
    aspect-ratio: 4 / 3;
  }
}
.pricing__terms {
  max-width: 44em;
  margin: clamp(28px, 3vw, 40px) auto 0;
  font-size: 12px;
  color: var(--ink-70);
  line-height: 1.9;
}
/* ============================================== 下に敷く層 */
/* 締めの CTA とフッターは画面の下に敷いたまま動かさない (ver2 と同じ)。
   本体がその上を滑り、スクロールし切ったところで下から現れる。
   本体の下の余白 (= この層の高さぶん) は js/lp.js が測って入れる */
.under {
  position: fixed;
  inset: auto 0 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  /* --paper は薄いグレーの面の色。ここは body と同じ地なので白を直接置く */
  background: #fff;
}
/* 本体はその上に重ねる。地の色を敷かないと下の層が透ける */
.over {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 0 0 clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 36px);
}
.closing {
  display: grid;
  align-content: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.closing__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 30px;
  border-radius: 16px;
}
.closing h2 {
  font-size: 51px;
}
.closing .store {
  margin-top: 32px;
}
.closing .fine {
  margin-top: 15px;
}
/* フッターは中面 (法務ページ) と同じ組み。天の罫 → ブランド / リンク / 著作権を
   1 行に並べる */
.footer {
  padding: 0 0 clamp(48px, 6vw, 80px);
}
.footer .container {
  padding-top: 34px;
  border-top: 1px solid var(--ink-08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-45);
  font-size: 13px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer__mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  padding: 5px;
  background: var(--accent);
  fill: #fff;
}
.footer__type {
  width: 90px;
  height: 18px;
  fill: var(--ink);
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer a:hover {
  color: var(--ink);
}
.footer small {
  font-size: 13px;
}
.doc {
  overflow-wrap: anywhere;
}
.doc .nav {
  overflow-wrap: normal;
}
@media (max-width: 1100px) {
  .nav__links {
    gap: 15px;
  }
  .container {
    width: calc(100% - 80px);
  }
  h1 {
    font-size: 57px;
  }
  h2 {
    font-size: 49px;
  }
  .highlight {
    padding-inline: 23px;
  }
  /* 中央寄せのまま折り返すと行末がばらついて読みにくいので、
     節のリードと注記は左に寄せ、PC 用の改行も外して自然に流す */
  .feature-intro .lead,
  .pricing__terms {
    text-align: left;
  }
  .feature-intro .lead br,
  .pricing__terms br {
    display: none;
  }
  .highlight h3 {
    font-size: 20px;
  }
  .highlight__stack {
    width: 190px;
  }
  .highlight__card {
    left: -30px;
    width: 118px;
    top: 140px;
  }
  .record-stage__copy {
    left: 35px;
    width: 200px;
  }
  .record-stage__copy h3 {
    font-size: 23px;
  }
  .record-stage__detail {
    right: 25px;
    width: 200px;
  }
  .record-stage__detail h3 {
    font-size: 22px;
  }
  .record-stage__detail p {
    font-size: 12px;
  }
  .record-stage > img {
    height: 550px;
  }
  .record-stage {
    min-height: 640px;
  }
  .feature-facts {
    gap: 32px;
  }
  .feature-facts h3 {
    font-size: 20px;
  }
  .data-panel {
    padding-inline: 55px;
  }
  .section-heading h2 {
    font-size: 33px;
  }
  .steps-grid {
    gap: 18px;
  }
  .steps-grid > li {
    padding-inline: 22px;
  }
  .steps-grid h3 {
    font-size: 19px;
  }
}
@media (max-width: 800px) {
  :root {
    --pad: 26px;
  }
  .nav {
    width: calc(100% - 32px);
    top: 8px;
    border-radius: 999px;
    gap: 15px;
    padding: 9px 14px;
    min-height: 51px;
  }
  .nav__links {
    display: none;
  }
  .nav__type {
    width: 89px;
  }
  .nav__icon {
    width: 27px;
    height: 27px;
  }
  .container {
    width: calc(100% - 48px);
  }
  .section {
    padding-block: 85px;
  }
  h1 {
    font-size: 47px;
  }
  h2 {
    font-size: 43px;
  }
  .hero {
    padding-top: 110px;
    padding-bottom: 72px;
  }
  .hero .eyebrow {
    font-size: 15px;
  }
  .hero__lead {
    font-size: 15px;
  }
  .hero__product {
    height: 480px;
    margin-top: 45px;
    gap: 20px;
  }
  .hero__main {
    height: 460px;
  }
  .hero__side {
    height: 375px;
    margin-top: 65px;
  }
  .hero__cta > p {
    font-size: 11px;
  }
  .highlights {
    padding-block: 70px;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .section-heading .text-link,
  .section-heading > p {
    margin-top: 18px;
  }
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 30px;
  }
  .highlight-grid {
    gap: 15px;
  }
  .highlight {
    height: 430px;
    padding: 23px 19px;
    border-radius: 20px;
  }
  .highlight p {
    font-size: 11px;
  }
  .highlight h3 {
    font-size: 18px;
  }
  .highlight > img {
    width: 170px;
    top: 170px;
  }
  .highlight__stack {
    width: 165px;
    top: 165px;
  }
  .highlight__card {
    left: -24px;
    width: 102px;
    top: 120px;
  }
  .round-link {
    right: 13px;
    bottom: 13px;
    width: 30px;
    height: 30px;
  }
  .lead {
    font-size: 18px;
  }
  .feature-intro {
    margin-bottom: 45px;
  }
  .record-stage {
    min-height: 625px;
  }
  .record-stage > img {
    height: 465px;
    margin-top: 120px;
  }
  .record-stage__copy {
    top: 40px;
    left: 36px;
    width: 240px;
  }
  .record-stage__copy > p {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .record-stage__copy h3 {
    font-size: 24px;
  }
  .record-stage__copy h3 br {
    display: none;
  }
  .record-stage__detail {
    right: 26px;
    bottom: 120px;
    width: 165px;
  }
  .record-stage__detail h3 {
    font-size: 19px;
  }
  .record-stage__detail p {
    font-size: 11px;
  }
  .record-stage > img {
    margin-left: -110px;
  }
  .feature-facts {
    gap: 23px;
    margin-top: 35px;
  }
  .feature-facts h3 {
    font-size: 17px;
  }
  .feature-facts p {
    font-size: 12px;
  }
  .memory-stage {
    height: 540px;
    gap: 30px;
  }
  .memory-stage__copy {
    left: 30px;
    top: 120px;
    width: 200px;
  }
  .memory-stage__copy h3 {
    font-size: 23px;
  }
  .memory-stage__detail {
    right: 26px;
    bottom: 110px;
    width: 200px;
  }
  .memory-stage__detail h3 {
    font-size: 22px;
  }
  .memory-stage__detail p {
    font-size: 12px;
  }
  .clip-pair {
    gap: 26px;
    max-width: 620px;
  }
  .memory-stage__phone {
    height: 470px;
  }
  .feature-caption {
    font-size: 16px;
    margin-top: 30px;
  }
  .data-panel {
    padding: 45px 30px 0 40px;
    height: 440px;
    gap: 24px;
    margin-top: 70px;
  }
  .data-panel h3 {
    font-size: 37px;
  }
  .data-panel__shots {
    gap: 14px;
    margin-top: 40px;
  }
  .data-panel__shots img {
    width: 175px;
  }
  .data-panel p:not(.eyebrow) {
    font-size: 13px;
  }
  .data-panel .eyebrow {
    font-size: 13px;
  }
  .share-stage__web {
    width: 280px;
  }
  .share-stage__card {
    width: 168px;
    left: 10%;
  }
  .privacy-note {
    margin-top: 40px;
    padding-top: 30px;
  }
  .collection-stage {
    height: 540px;
    gap: 18px;
  }
  .collection-stage img {
    height: 480px;
  }
  .collection-stage img:nth-child(2) {
    height: 520px;
  }
  .collection-info {
    gap: 35px;
    margin-top: 40px;
  }
  .collection-info h3 {
    font-size: 19px;
  }
  .collection-info p {
    font-size: 12px;
  }
  .station-gallery {
    gap: 15px;
    margin-top: 45px;
  }
  .steps-grid > li {
    padding: 24px 20px;
    height: 410px;
  }
  .steps-grid h3 {
    font-size: 18px;
  }
  .steps-grid p {
    font-size: 12px;
  }
  .step-number {
    margin-bottom: 20px;
  }
  .step-screen img {
    width: 140px;
  }
  .qa__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .qa__layout h2 {
    font-size: 36px;
  }
  .qa__layout h2 br {
    display: none;
  }
  .price {
    font-size: 47px;
  }
  .closing h2 {
    font-size: 45px;
  }
  .footer .container {
    gap: 20px;
  }
}
@media (max-width: 580px) {
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 68px;
  }
  .hero {
    padding-top: 103px;
    padding-bottom: 52px;
  }
  .hero .eyebrow {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 32px;
    line-height: 1.35;
    letter-spacing: -0.06em;
  }
  .hero__lead {
    font-size: 13px;
    line-height: 1.9;
    margin-top: 24px;
    max-width: 340px;
  }
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .hero__cta {
    margin-top: 23px;
  }
  .hero__cta > p {
    font-size: 10px;
  }
  .hero__cta > p span {
    margin-left: 7px;
  }
  .store img {
    width: 140px;
  }
  /* 3 台の塊で画面幅の 90% (46 + (37 - 15) * 2 = 90vw)。幅で指定して高さは比率に任せる */
  .hero__product {
    height: auto;
    margin-top: 38px;
    gap: 0;
    width: 100%;
    max-width: none;
  }
  .hero__main {
    width: 46vw;
    height: auto;
    flex-shrink: 0;
  }
  /* 両脇は中央端末の背面に潜らせる (z-index は中央が 2、脇は auto) */
  .hero__side {
    width: 37vw;
    height: auto;
    margin-top: 13vw;
    flex-shrink: 0;
  }
  .hero__side--left {
    margin-right: -15vw;
  }
  .hero__side--right {
    margin-left: -15vw;
  }
  .hero__product:after {
    bottom: -65px;
  }
  .section-heading h2 {
    font-size: 28px;
    line-height: 1.4;
  }
  /* 「次の休みに、使ってみよう。」を 1 行に収める (13 文字) */
  .steps .section-heading h2 {
    font-size: 24px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading .text-link {
    font-size: 13px;
  }
  .highlights {
    padding-block: 60px;
  }
  .feature-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .feature-list li {
    font-size: 12px;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .highlight {
    height: 455px;
    border-radius: 24px;
    padding: 28px;
  }
  .highlight h3 {
    font-size: 18px;
  }
  .highlight p {
    font-size: 12px;
  }
  .highlight > img {
    width: 205px;
    top: 168px;
  }
  .highlight--record > img {
    width: 220px;
  }
  .highlight__stack {
    width: 195px;
    top: 165px;
  }
  .highlight__card {
    left: -28px;
    width: 120px;
    top: 140px;
  }
  .round-link {
    width: 33px;
    height: 33px;
    bottom: 18px;
    right: 18px;
  }
  h2 {
    font-size: 30px;
    line-height: 1.4;
  }
  .eyebrow {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .lead {
    font-size: 15px;
    margin-top: 22px;
    line-height: 1.9;
  }
  .feature-intro {
    margin-bottom: 36px;
  }
  .record-stage {
    min-height: 560px;
    border-radius: 24px;
    display: block;
    text-align: center;
    padding-top: 30px;
  }
  .record-stage__copy {
    position: static;
    width: auto;
    margin: 0 20px;
  }
  .record-stage__copy > p {
    font-size: 12px;
  }
  .record-stage__copy h3 {
    font-size: 19px;
  }
  .record-stage > img {
    height: 425px;
    width: auto;
    margin: 25px auto 0;
  }
  .record-stage__detail {
    position: static;
    width: auto;
    margin: 25px 25px 35px;
  }
  .record-stage__detail h3 {
    font-size: 17px;
  }
  .record-stage__detail h3 br {
    display: none;
  }
  .record-stage__detail p {
    font-size: 12px;
    margin-top: 12px;
  }
  .feature-facts {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 34px;
  }
  .feature-facts > div {
    padding-bottom: 27px;
    border-bottom: 1px solid var(--ink-08);
  }
  .feature-facts > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .feature-facts h3 {
    font-size: 17px;
  }
  .feature-facts h3 br {
    display: none;
  }
  .feature-facts p {
    font-size: 13px;
    margin-top: 12px;
  }
  /* 狭い画面は重ねずに縦へ落とす */
  .memory-stage {
    height: auto;
    display: block;
    padding: 30px 26px;
    text-align: center;
    border-radius: 24px;
  }
  .memory-stage__copy,
  .memory-stage__detail {
    position: static;
    width: auto;
  }
  .memory-stage__copy > p {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .memory-stage__copy h3 {
    font-size: 19px;
  }
  .memory-stage__phone {
    height: 425px;
    margin: 25px auto 0;
  }
  .memory-stage__detail {
    margin-top: 25px;
  }
  .memory-stage__detail h3 {
    font-size: 17px;
  }
  .memory-stage__detail p {
    font-size: 12px;
    margin-top: 12px;
  }
  .clip-pair {
    gap: 14px;
    --clip-shift: 70px;
  }
  .clip__motion,
  .clip__still {
    border-radius: 12px;
  }
  .feature-caption {
    font-size: 14px;
    margin-top: 25px;
    text-align: center;
  }
  .feature-caption .sp {
    display: inline;
  }
  .data-panel {
    padding: 30px 26px 0;
    height: 520px;
    display: block;
    text-align: center;
    margin-top: 50px;
    border-radius: 24px;
  }
  .data-panel > div {
    padding-bottom: 0;
  }
  .data-panel .eyebrow {
    font-size: 12px;
  }
  .data-panel h3 {
    font-size: 23px;
  }
  .data-panel h3 br {
    display: none;
  }
  .data-panel p:not(.eyebrow) {
    font-size: 13px;
    margin-top: 16px;
  }
  .data-panel__shots {
    justify-content: center;
    gap: 12px;
    margin: 28px 0 0;
  }
  .data-panel__shots img {
    width: 44%;
    max-width: 190px;
  }
  .data-panel__shots img:nth-child(2) {
    margin-top: 0;
  }
  .share-stage {
    justify-content: flex-end;
    padding-right: 4%;
  }
  .share-stage__web {
    width: 215px;
  }
  /* カードは端末の上に載せて止める (幅の 6 割ほどが端末に重なる) */
  .share-stage__card {
    width: 128px;
    left: 12%;
    bottom: 12%;
  }
  .share-stage__card img {
    border-radius: 10px;
  }
  .privacy-note {
    align-items: flex-start;
    gap: 16px;
    margin-top: 35px;
  }
  .privacy-note svg {
    width: 27px;
    height: 35px;
    margin-top: 3px;
  }
  .privacy-note h3 {
    font-size: 18px;
  }
  .privacy-note p {
    font-size: 12px;
    line-height: 1.9;
  }
  /* hero と同じ重ね方。中央 46vw を前に、両脇 37vw を 15vw ずつ裏に潜らせて塊で 90vw */
  .collection-stage {
    height: auto;
    gap: 0;
    align-items: start;
    overflow: visible;
    isolation: isolate;
  }
  .collection-stage img {
    height: auto;
    width: 37vw;
    margin-top: 13vw;
    flex-shrink: 0;
    filter: drop-shadow(0 12px 12px #00000013);
  }
  .collection-stage img:nth-child(1) {
    margin-right: -15vw;
  }
  .collection-stage img:nth-child(2) {
    height: auto;
    width: 46vw;
    margin-top: 0;
    position: relative;
    z-index: 2;
  }
  .collection-stage img:nth-child(3) {
    margin-left: -15vw;
  }
  .collection-info {
    grid-template-columns: 1fr;
    gap: 28px;
    /* 端末 3 台の下に間合いを取る (端末は影のぶんも下へ出る) */
    margin-top: 45px;
  }
  .collection-info h3 {
    font-size: 17px;
  }
  .collection-info p {
    font-size: 13px;
  }
  .station-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 10px;
    margin: 35px 0 20px;
  }
  .collection .fine {
    font-size: 11px;
    text-align: left;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps-grid > li {
    height: 360px;
    padding: 28px;
  }
  .steps-grid h3 {
    font-size: 18px;
  }
  .steps-grid p {
    font-size: 13px;
  }
  /* 番号は見出しの上に置く。右上に浮かせると見出しが逃げ場を失って
     「シェ / ア。」のように割れる */
  .step-number {
    width: 28px;
    height: 28px;
    font-size: 13px;
    margin-bottom: 14px;
  }
  .step-download {
    margin-top: 26px;
    gap: 16px;
  }
  .step-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }
  .step-download .store img {
    width: 130px;
  }
  .step-screen {
    margin-top: 25px;
  }
  .step-screen img {
    width: 175px;
  }
  .steps-grid > li:first-child {
    height: 340px;
  }
  .qa__layout h2 {
    font-size: 30px;
  }
  .qa__layout h2 br {
    display: block;
  }
  summary {
    font-size: 13px;
    padding-block: 21px;
  }
  details p {
    font-size: 13px;
  }
  .qa__layout {
    gap: 30px;
  }
  .plans {
    margin-top: 35px;
  }
  .pricing__terms {
    font-size: 11px;
  }
  .closing h2 {
    font-size: 34px;
  }
  .closing__icon {
    width: 58px;
    height: 58px;
    border-radius: 13px;
    margin-bottom: 25px;
  }
  .closing .fine {
    font-size: 10px;
  }
  .footer nav {
    gap: 10px 18px;
    font-size: 12px;
  }
  .footer small {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.gallery-controls[hidden] {
  display: none;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 25px;
}
.gallery-status {
  font-size: 12px;
  color: var(--ink-70);
  margin-right: 8px;
}
.gallery-controls button {
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dedee3;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.gallery-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.gallery-controls button:focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 4px;
}
@media (max-width: 580px) {
  .hero h1 {
    font-size: 32px;
  }
  .record-stage__copy h3 br,
  .data-panel h3 br,
  .feature-facts h3 br {
    display: block;
  }
  .highlight-grid {
    display: flex;
    overflow-x: auto;
    /* proximity だと指を離した位置で止まってしまうので mandatory。
       スナップ先は 3 枚とも中央に来る位置 (0 / 336 / 672px) */
    scroll-snap-type: x mandatory;
    /* 端で引っ張ったときにブラウザの「戻る」に持っていかれないようにする */
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
    gap: 16px;
  }
  .highlight-grid::-webkit-scrollbar {
    display: none;
  }
  .highlight {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
}

/* Independent translate preserves the existing device perspectives and card positions. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending {
    opacity: 0;
  }
  .reveal-enter {
    animation: rise-in 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
  }
  @keyframes rise-in {
    from {
      opacity: 0;
      translate: 0 32px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
  /* 道の駅のイラストは、未攻略のグレーで出てから 1 枚ずつ色が付く。
     図鑑が埋まっていく見え方をそのまま借りる */
  .station-gallery img.reveal-enter {
    animation: station-fill 1500ms cubic-bezier(0.2, 1.3, 0.4, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
  }
  @keyframes station-fill {
    0% {
      opacity: 0;
      scale: 0.86;
      filter: grayscale(1) opacity(0.55);
    }
    40% {
      opacity: 1;
      scale: 1;
      filter: grayscale(1) opacity(0.55);
    }
    100% {
      opacity: 1;
      scale: 1;
      filter: grayscale(0) opacity(1);
    }
  }
  /* 共有のカードは右から差し込むように出す。角度も一緒に付く */
  .share-stage__card.reveal-enter {
    animation: share-card-in 900ms var(--ease) both;
    animation-delay: var(--reveal-delay, 0ms);
  }
  @keyframes share-card-in {
    from {
      opacity: 0;
      translate: 90px 0;
      rotate: 7deg;
    }
    to {
      opacity: 1;
      translate: 0 0;
      rotate: -6deg;
    }
  }
  /* ヒーローの左右の端末は、正面を向いた状態から遅れて角度が付く。
     静止時の角度 (.hero__side--left / --right) が終端なので、動きを減らす
     設定ではその角度のまま出る */
  .hero__side--left {
    animation: hero-tilt-left 900ms var(--ease) both;
    animation-delay: 700ms;
  }
  .hero__side--right {
    animation: hero-tilt-right 900ms var(--ease) both;
    animation-delay: 780ms;
  }
  @keyframes hero-tilt-left {
    from {
      transform: perspective(1200px) rotateY(0deg);
    }
    to {
      transform: perspective(1200px) rotateY(14deg);
    }
  }
  @keyframes hero-tilt-right {
    from {
      transform: perspective(1200px) rotateY(0deg);
    }
    to {
      transform: perspective(1200px) rotateY(-14deg);
    }
  }
  /* 料金のカードだけは横に回して出す。奥行きは親の perspective で作る */
  .plans {
    perspective: 1200px;
  }
  .plan {
    transform-style: preserve-3d;
  }
  .plan.reveal-enter {
    animation: plan-flip 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
  }
  @keyframes plan-flip {
    from {
      opacity: 0;
      transform: rotateY(-100deg);
    }
    55% {
      opacity: 1;
    }
    to {
      opacity: 1;
      transform: rotateY(0);
    }
  }
  .store,
  .nav__cta {
    transition:
      opacity 200ms ease,
      translate 250ms ease,
      box-shadow 250ms ease;
  }
  @media (hover: hover) and (pointer: fine) {
    .store:hover,
    .nav__cta:hover {
      translate: 0 -2px;
    }
    .nav__cta:hover {
      box-shadow: 0 5px 15px #ff4d0026;
    }
  }
}
@media print {
  .reveal-pending,
  .reveal-enter {
    opacity: 1 !important;
    animation: none !important;
    translate: none !important;
  }
}

/* Five small riders share the bottom edge; the entire layer lets clicks through. */
.rider-parade {
  --rider-size: 110px;
  position: fixed;
  inset: auto 0 max(4px, env(safe-area-inset-bottom));
  height: 140px;
  z-index: 10;
  overflow: hidden;
  contain: layout paint;
  pointer-events: none;
  user-select: none;
  /* 最上部・最下部では消える。値は js/riders.js がスクロール位置から入れる */
  opacity: var(--parade-opacity, 0);
  transition: opacity 0.25s ease-out;
}
.rider-parade__rider {
  position: absolute;
  left: 0;
  bottom: var(--lane);
  width: calc(var(--rider-size) * var(--bike-scale));
  will-change: transform;
}
.rider-parade__rider img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}
.rider-parade__rider:nth-child(1) {
  --bike-scale: 0.88;
  --lane: 12px;
  z-index: 2;
}
.rider-parade__rider:nth-child(2) {
  --bike-scale: 1;
  --lane: 4px;
  z-index: 4;
}
.rider-parade__rider:nth-child(3) {
  --bike-scale: 1.1;
  --lane: 0px;
  z-index: 5;
}
.rider-parade__rider:nth-child(4) {
  --bike-scale: 1.06;
  --lane: 20px;
  z-index: 1;
}
.rider-parade__rider:nth-child(5) {
  --bike-scale: 1;
  --lane: 8px;
  z-index: 3;
}
/* 対向車は手前の車線を左へ。絵は最初から左向きに描いた別のライダー */
.rider-parade__rider--oncoming {
  --bike-scale: 1;
  --lane: 6px;
  z-index: 6;
}
@media (max-width: 580px) {
  .rider-parade {
    --rider-size: 68px;
    height: 100px;
  }
  .rider-parade__rider {
    bottom: calc(var(--lane) * 0.65);
  }
}
@media (prefers-reduced-motion: reduce), print {
  .rider-parade {
    display: none;
  }
}
