/* =====================================================================
   バイクトメタイ LP  BLOCK 02〜07 とフッター
   色・文字・枠線のルールはファーストビュー(index.html 内の <style>)と共通。
   ===================================================================== */

/* ---------- 共通 ---------- */
.blk {
  position: relative;
  overflow-x: clip;
  padding: 88px var(--gutter) 96px;
}
.blk-inner { position: relative; max-width: 1080px; margin: 0 auto; }
.blk--dark { background: var(--ink); color: #fff; }
.blk--tint { background: #fff4f2; }
.blk--red { background: var(--red); color: #fff; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--red);
}
.label::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.h2 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(32px, 8.8vw, 72px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.h2 .hl { color: var(--red); }
.nb { display: inline-block; }
.blk--dark .h2 .hl { color: #ff5c76; }
.body {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.85;
  color: var(--sub);
  max-width: 36em;
}
.blk--dark .body { color: #c9c9cf; }
.closing {
  margin: 56px 0 0;
  font-weight: 900;
  font-size: clamp(22px, 6vw, 40px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.note { margin: 14px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--mid-gray); }
.blk--dark .note { color: #9a9aa3; }

/* スマホの形の枠(ファーストビューと同じ見た目) */
.device {
  position: relative;
  width: min(72vw, 290px);
  margin: 0 auto;
  border: 5px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 44px -22px rgba(25, 25, 28, 0.6);
}
.blk--dark .device { border-color: #3a3a40; }
.device-screens { position: relative; aspect-ratio: 1 / 2; }
.device-screens > img,
.device-screens > .screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity .5s ease;
}
.device-screens > .is-on { opacity: 1; }
.device .spot { transition: opacity .35s; }
.device .spot.is-on { opacity: 1; }

/* タップの合図(指で押したような波紋) */
.tap {
  position: absolute;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(25, 25, 28, 0.28);
  border: 2px solid #fff;
  opacity: 0;
  pointer-events: none;
}
.tap.is-on { animation: tap 0.9s ease-out both; }
@keyframes tap {
  0% { opacity: 0; transform: scale(1.6); }
  35% { opacity: 1; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* スクロールで現れる */
.js .sr { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease-out), translate .7s var(--ease-out); transition-delay: var(--d, 0s); }
.js .sr.in { opacity: 1; translate: 0 0; }

/* 自動で切り替わる手順ボタン(BLOCK 03・04・05 共通) */
.tabs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tab {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: start;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color .3s, color .3s, translate .3s var(--ease-out);
}
.tab-num {
  grid-row: span 2;
  min-width: 52px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--red);
  line-height: 1.5;
  padding-top: 2px;
}
.tab-title { font-size: 15px; font-weight: 900; line-height: 1.45; }
.tab-desc { font-size: 12.5px; font-weight: 600; line-height: 1.65; color: var(--sub); transition: color .3s; }
.tab.is-on { background: var(--ink); color: #fff; translate: 0 -2px; }
.tab.is-on .tab-num { color: #ff8da0; }
.tab.is-on .tab-desc { color: #d4d4d8; }
/* 実際のアプリのボタン表記を見せる小さな札 */
.btn-chip {
  display: inline-block;
  margin: 2px 0 4px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
}

/* ---------- BLOCK 02 課題共感 ---------- */
.b02 .nope { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 30em; }
.b02 .nope li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #26262b;
  font-size: 14.5px;
  font-weight: 700;
  color: #e4e4e7;
}
.b02 .nope svg { flex: none; width: 34px; height: 22px; color: #8b8b94; }
.b02 .qs {
  position: relative;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  transition: opacity .8s, filter .8s;
}
.b02 .q {
  position: relative;
  width: fit-content;
  max-width: 92%;
  padding: 16px 20px 16px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font-size: clamp(17px, 4.8vw, 26px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.b02 .q::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: #fff;
  rotate: 45deg;
  border-radius: 3px;
}
.b02 .q:nth-child(2) { justify-self: end; }
.b02 .q:nth-child(2)::after { left: auto; right: 30px; }
.b02 .q-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.b02 .q-ico svg { width: 24px; height: 24px; }
.b02 .q:nth-child(2) .q-ico { background: var(--ink); }
.js .b02 .q { opacity: 0; translate: 0 18px; scale: .96; transition: opacity .55s var(--ease-out), translate .55s var(--ease-out), scale .55s var(--ease-out); }
.js .b02 .q.in { opacity: 1; translate: 0 0; scale: 1; }
/* 締めコピーが出たら、疑問は後ろへ下がる */
.b02 .qs.resolved { opacity: .22; }
.b02 .want {
  margin: 48px 0 0;
  font-size: clamp(23px, 6.4vw, 52px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.b02 .want mark {
  background: linear-gradient(transparent 58%, rgba(236, 18, 52, .85) 58% 92%, transparent 92%);
  color: #fff;
  padding: 0 .05em;
}

/* ---------- BLOCK 03 使い方 STEP 1・2 ---------- */
.b03 .how { display: grid; gap: 28px; margin-top: 36px; }
.b03 .spot-input3 { top: 33.8%; bottom: 58.6%; left: 4%; right: 4%; border-radius: 10px; }
.b03 .spot-card3 { top: 45%; bottom: 37%; left: 7%; right: 7%; border-radius: 12px; }
.b03 .device-wrap { position: relative; }
.b03 .zoom3 {
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: min(86vw, 360px);
  translate: -50% 0;
  margin: 0;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  opacity: 0;
  scale: .9;
  transition: opacity .4s var(--ease-out), scale .5s cubic-bezier(.3, 1.5, .5, 1);
  pointer-events: none;
}
.b03 .zoom3.is-on { opacity: 1; scale: 1; }
.b03 .zoom3 img { width: 100%; height: auto; border-radius: 10px; }
.b03 .verdicts { margin-top: 40px; }
.b03 .verdicts-legend {
  display: block;
  width: min(100%, 340px);
  height: auto;
  border-radius: 10px;
  border: 1.5px solid var(--line);
}
.b03 .verdict-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.b03 .verdict-list li {
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid var(--ink);
}
.b03 .verdict-list img { width: 100%; height: auto; border-radius: 10px; }
.b03 .verdict-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 700;
  color: #52525b;
}
.b03 .verdict-check .chip-gray {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ececee;
  color: #52525b;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- BLOCK 04 使い方 STEP 3 ---------- */
.b04 .act { display: grid; gap: 22px; margin-top: 36px; }
.b04 .card-shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  background: #fff;
}
.b04 .card-shot img { width: 100%; height: auto; }
.b04 .card-shot .spot { border-radius: 999px; }
.b04 .spot-a1 { top: 52.6%; bottom: 31.2%; left: 2.4%; right: 2.4%; }
.b04 .spot-a2 { top: 70.4%; bottom: 14.6%; left: 2.4%; right: 2.4%; }
.b04 .spot-a3 { top: 89.4%; bottom: 2.4%; left: 27%; right: 27%; }
.b04 .device { width: min(78vw, 310px); }
.b04 .gmaps-label {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.b04 .gmaps-label svg { width: 13px; height: 13px; color: var(--red); }
.b04 .photo-omit {
  position: absolute;
  left: 3%;
  right: 0;
  top: 70%;
  bottom: 0;
  display: grid;
  place-items: center;
  color: var(--mid-gray);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transition: opacity .5s;
}
.b04 .photo-omit.is-on { opacity: 1; }
.b04 .gmaps-note { text-align: center; }
/* 出典(地図データ ©Google)を、縮小した画面でも読める大きさで表示する */
.device .map-attr { font-size: 9px; padding: 1px 5px; z-index: 2; }
.b03 .b03-attr { left: 6px; opacity: 0; transition: opacity .5s; }
.b03 .b03-attr.is-on { opacity: 1; }
.b04 .example {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 16%;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transition: opacity .3s;
}
.b04 .example.is-on { opacity: 1; }

/* ---------- BLOCK 05 駐輪結果の報告 ---------- */
.b05 .report { display: grid; gap: 26px; margin-top: 36px; }
.b05 .arrive {
  position: relative;
  height: 74px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.b05 .arrive::before {
  content: "";
  position: absolute;
  left: 0;
  right: 40px;
  bottom: 10px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 22px);
  opacity: .25;
}
.b05 .arrive-bike {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 64px;
  color: var(--ink);
  transition: left 1.4s cubic-bezier(.45, 0, .2, 1);
}
.b05 .arrive.in .arrive-bike { left: calc(100% - 118px); }
.b05 .arrive-p {
  position: absolute;
  right: 0;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #1d4ed8;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}
.b05 .flow-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b05 .flow-btn {
  min-height: 52px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.b05 .flow-btn.is-on { background: var(--ink); color: #fff; }
.b05 .flow-steps { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.b05 .flow-steps span { width: 7px; height: 7px; border-radius: 50%; background: #d4d4d8; transition: background-color .3s, width .3s; }
.b05 .flow-steps span.is-on { width: 20px; border-radius: 9px; background: var(--red); }
.b05 .flow-caption { margin: 10px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--sub); min-height: 1.6em; }

/* ---------- BLOCK 06 集合知の価値 ---------- */
.b06 .story { margin: 44px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; position: relative; }
.b06 .scene {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: #222227;
  border: 1.5px solid #34343a;
}
.b06 .scene-num { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: 0.2em; color: #ff8da0; }
.b06 .scene-title { margin: 4px 0 0; font-size: 17px; font-weight: 900; }
.b06 .stage6 {
  position: relative;
  height: 150px;
  margin-top: 12px;
  border-radius: 16px;
  background: #2c2c32;
  overflow: hidden;
}
.b06 .stage6::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 3px;
  background: repeating-linear-gradient(90deg, #fff 0 14px, transparent 14px 22px);
  opacity: .2;
}
.b06 .rider { position: absolute; bottom: 24px; color: #fff; transition: left 1.3s cubic-bezier(.45, 0, .2, 1), opacity .5s; }
.b06 .rider svg { display: block; width: 100%; height: auto; }
.b06 .rider-tag {
  position: absolute;
  bottom: -21px;
  left: 50%;
  translate: -50% 0;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}
.b06 .rider--big { width: 132px; left: -140px; }
.b06 .scene.in .rider--big { left: calc(100% - 196px); }
.b06 .rider--small { width: 86px; left: 18px; }
.b06 .p6 {
  position: absolute;
  right: 14px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1d4ed8;
  font-size: 21px;
  font-weight: 900;
}
.b06 .say {
  position: absolute;
  padding: 7px 12px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  opacity: 0;
  scale: .7;
  transition: opacity .35s, scale .45s cubic-bezier(.3, 1.6, .5, 1);
  transition-delay: var(--d, 0s);
}
.b06 .say--white { background: #fff; color: var(--ink); }
.b06 .scene.in .say { opacity: 1; scale: 1; }
.b06 .s1-say { top: 14px; right: 56px; transform-origin: 80% 100%; }
.b06 .record {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 12px;
}
.b06 .record-pin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  opacity: 0;
  translate: 0 -24px;
  transition: opacity .5s, translate .6s cubic-bezier(.3, 1.5, .5, 1);
  transition-delay: .3s;
}
.b06 .record-pin svg { width: 18px; height: 18px; color: #16825d; }
.b06 .scene.in .record-pin { opacity: 1; translate: 0 0; }
.b06 .record-note { font-size: 10.5px; color: #a1a1aa; text-align: center; }
.b06 .real {
  margin: 12px 0 0;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
}
.b06 .real img { width: 100%; height: auto; border-radius: 9px; }
.b06 .real figcaption { padding: 6px 4px 2px; font-size: 11px; font-weight: 700; color: #52525b; }
.b06 .s3-say1 { top: 12px; left: 116px; right: 12px; width: fit-content; }
.b06 .s3-say2 { top: 70px; left: 116px; right: 12px; width: fit-content; }
.b06 .phone-mini {
  position: absolute;
  left: 62px;
  bottom: 52px;
  width: 22px;
  height: 38px;
  border-radius: 5px;
  border: 2.5px solid #fff;
  background: #2c2c32;
}
.b06 .phone-mini::after { content: ""; position: absolute; inset: 5px 3px; border-radius: 2px; background: #16825d; }

/* ---------- BLOCK 07 ラストCTA ---------- */
.b07 { text-align: center; padding-bottom: 72px; }
.b07 .brand7 { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; letter-spacing: 0.04em; }
.b07 .brand7 img { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.b07 .h2 { margin-top: 26px; font-size: clamp(40px, 10.5vw, 112px); line-height: 1.1; }
.b07 .body { margin: 22px auto 0; color: #ffe1e6; text-align: center; }
.b07 .cta7 {
  margin: 34px auto 0;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .5);
}
.b07 .cta7 svg { width: 22px; height: 22px; }
.b07 .ride { position: relative; height: 60px; margin: 46px auto 0; max-width: 520px; }
.b07 .ride::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 3px;
  background: repeating-linear-gradient(90deg, #fff 0 14px, transparent 14px 22px);
  opacity: .45;
}
.b07 .ride-bike { position: absolute; left: 0; bottom: 10px; width: 52px; color: #fff; transition: left 2.4s cubic-bezier(.5, 0, .3, 1); }
.b07 .ride.in .ride-bike { left: calc(100% - 52px); }

.site-footer { background: var(--ink); color: #d4d4d8; padding: 30px var(--gutter) 40px; }
.site-footer ul {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  justify-content: center;
}
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; color: #e4e4e7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-note { margin: 10px 0 0; text-align: center; font-size: 11px; color: #9a9aa3; }

/* ---------- タブレット・PC ---------- */
@media (min-width: 720px) {
  .blk { padding: 120px var(--gutter) 128px; }
  .b02 .qs { gap: 22px; }
  .b03 .how, .b04 .act, .b05 .report { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
  .b03 .verdict-list { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
  .b04 .act { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .b04 .act-left { display: grid; gap: 18px; }
  .b05 .report-left { display: grid; gap: 22px; }
  .b06 .story { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  /* PC: ブロックごとに画面いっぱいに見せ、スクロールが各ブロックの頭で軽く止まる */
  html { scroll-snap-type: y proximity; }
  .site-header, .blk { scroll-snap-align: start; }
  .blk { min-height: 100vh; display: flex; align-items: center; padding-top: 72px; padding-bottom: 72px; }
  .blk-inner { width: 100%; }
  .h2 { font-size: clamp(44px, 4.6vw, 68px); }
  /* 画面の高さに収まるよう、スマホ枠を少し小さくする */
  .device, .b04 .device { width: min(270px, calc((100vh - 200px) / 2)); }
  /* BLOCK 03・05: 左に文章と手順、右にスマホ */
  .b03 .blk-inner, .b05 .blk-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 72px; align-items: start; }
  .b03 .blk-inner > *, .b05 .blk-inner > * { grid-column: 1; }
  .b03 .how, .b05 .report, .b05 .report-left { display: contents; }
  .b03 .device-wrap, .b05 .report > div:last-child { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
  .b03 .tabs, .b05 .arrive, .b05 .flow-switch { margin-top: 28px; }
  .b03 .verdicts { grid-column: 1 / -1; }
  .b05 .closing { grid-column: 1; }
  .b04 .device { width: min(230px, calc((100vh - 400px) / 2)); }
  .b04 .act { margin-top: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 28px; align-items: start; }
  .b04 .act-left { display: contents; }
  .closing { margin-top: 40px; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .js .sr, .js .b02 .q { opacity: 1; translate: none; scale: 1; transition: none; }
  .device-screens > img, .device-screens > .screen, .tab, .b03 .zoom3 { transition: none; }
  .b05 .arrive-bike, .b06 .rider, .b07 .ride-bike { transition: none; }
  .b06 .say, .b06 .record-pin { transition: none; }
  .tap.is-on { animation: none; opacity: .8; }
}
