/* =============================================================================
   車寄せナビ 紹介サイト

   参考にしたのは発注元ご指定のサイト（四條畷学園 100周年）の組み立て。
     白地の大きなロゴと舞う記号 → 巨大な英字を背にした文章 → 波の縁の
     緑の帯にカード → 2段組の一覧 → 中央寄せの締め → 色のついたフッター

   そこへ、このアプリの世界のものを当てている。
     葉        → 地図の目印（ピン）と道路の破線
     緑        → アプリと同じ #008000
     黄色の点  → ロゴの目印と同じ琥珀色
     明朝の英字 → 道路標識のような詰めた書体（Barlow Condensed）
     緑のフッター → 立ち上がりの動画と同じ濃紺。最初と最後を揃える
   ============================================================================= */

:root {
  --navy: #0b192f;
  --ink: #16243a;
  --muted: #536072;
  --green: #008000;
  --green-deep: #006a00;
  --mint: #e8f3e6;
  --mint-2: #cfe7cb;
  --amber: #f2b300;
  --paper: #f6f8f3;
  --white: #ffffff;
  --line: #dde3da;

  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(11, 25, 47, 0.35);

  --font-jp: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-sign: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 12vw, 176px);
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
  -webkit-text-size-adjust: 100%;
}

/* 見出しが弾んで一瞬大きくなっても、画面が横に揺れないように（上下ははみ出してよい） */
main {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  /* 日本語の折り返しを、語のまとまりで行う（対応するブラウザのみ） */
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------------------
   カーソル：地図の目印の形（ご指示 2026-09-20「サイト全体で、マウスの
   カーソルを地図の目印に」）
   **上下を返して、先を上に向けている**（ご指示 2026-09-20「いまの形を
   反転する」）。ふつうの矢印と同じく、上の先（14, 2）が押す位置になる。
   押せるもの（リンク・釦・よくある質問）の上では黄色の目印に替え、
   押せることが分かるようにする。どちらも、読めない環境では、ふつうの
   矢印・指の形に戻る
   --------------------------------------------------------------------------- */

:root {
  --cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cg transform='matrix%281 0 0 -1 0 36%29'%3E%3Cpath d='M14 2C7.4 2 2 7.2 2 13.7c0 8.3 10 18.6 11 19.6a1.4 1.4 0 0 0 2 0c1-1 11-11.3 11-19.6C26 7.2 20.6 2 14 2Z' fill='%23008000' stroke='%230b192f' stroke-width='3.2' stroke-linejoin='round'/%3E%3Cpath d='M14 2C7.4 2 2 7.2 2 13.7c0 8.3 10 18.6 11 19.6a1.4 1.4 0 0 0 2 0c1-1 11-11.3 11-19.6C26 7.2 20.6 2 14 2Z' fill='%23008000' stroke='%23ffffff' stroke-width='1.4'/%3E%3Ccircle cx='14' cy='13.6' r='4.6' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E") 14 2, auto;
  --cursor-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cg transform='matrix%281 0 0 -1 0 36%29'%3E%3Cpath d='M14 2C7.4 2 2 7.2 2 13.7c0 8.3 10 18.6 11 19.6a1.4 1.4 0 0 0 2 0c1-1 11-11.3 11-19.6C26 7.2 20.6 2 14 2Z' fill='%23f2b300' stroke='%230b192f' stroke-width='3.2' stroke-linejoin='round'/%3E%3Cpath d='M14 2C7.4 2 2 7.2 2 13.7c0 8.3 10 18.6 11 19.6a1.4 1.4 0 0 0 2 0c1-1 11-11.3 11-19.6C26 7.2 20.6 2 14 2Z' fill='%23f2b300' stroke='%23ffffff' stroke-width='1.4'/%3E%3Ccircle cx='14' cy='13.6' r='4.6' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E") 14 2, pointer;
}
html {
  cursor: var(--cursor);
}
a,
button,
summary,
label,
[role='button'] {
  cursor: var(--cursor-link);
}

/* ---------------------------------------------------------------------------
   押した位置に、赤い輪が3つ広がる（ご指示 2026-09-20「マウスを押すたびに、
   押した位置を示す、広がる赤い円を3つ」）
   出し方は main.js。画面に貼った層に置き、ページを送っても押した位置に残る。
   押すのを邪魔しないよう、層も輪も押せないものにする
   --------------------------------------------------------------------------- */

:root {
  --click-red: #e5241b;
}
.click-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}
/* 押した点を中心に置く（大きさは main.js が 4px から 64px へ広げる） */
.click-ring {
  position: absolute;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 2.5px solid var(--click-red);
  border-radius: 50%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* 読み上げにだけ届ける文字（見出しを1文字ずつに分けたとき、元の文を持たせる） */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1180px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  position: relative;
}
.wrap--narrow {
  width: min(860px, 100% - var(--gutter) * 2);
}

/* 幅の広い画面でだけ効く改行／狭い画面でだけ効く改行 */
.br-wide {
  display: none;
}
@media (min-width: 900px) {
  .br-wide {
    display: inline;
  }
  .br-narrow {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   見出しの共通部品
   --------------------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--green);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 3px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 3px;
  background: currentColor;
}
.eyebrow--light {
  color: var(--white);
}

.section-title {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title--light {
  color: var(--white);
}
.section-title--center {
  text-align: center;
}

/* 背に敷く巨大な英字（参考サイトの MESSAGE にあたる） */
.giant {
  position: absolute;
  top: calc(var(--section) * 0.35);
  left: 0;
  right: 0;
  margin: 0;
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: clamp(88px, 19vw, 300px);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: rgba(11, 25, 47, 0.045);
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

/* ---------------------------------------------------------------------------
   丸い釦（参考サイトの、矢印の入った丸つきの釦）
   --------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 10px 10px 30px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.pill:hover {
  background: var(--green-deep);
}
.pill:active {
  transform: translateY(1px);
}
.pill__arrow {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  flex: none;
  transition: transform 0.25s;
}
.pill__arrow::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--green);
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
  mask: var(--i-arrow) center / contain no-repeat;
}
.pill:hover .pill__arrow {
  transform: translateX(4px);
}
.pill--small {
  padding: 6px 6px 6px 20px;
  gap: 12px;
  font-size: 14px;
}
.pill--small .pill__arrow {
  width: 30px;
  height: 30px;
}
.pill--large {
  padding: 14px 14px 14px 40px;
  font-size: clamp(17px, 2vw, 20px);
}
.pill--large .pill__arrow {
  width: 48px;
  height: 48px;
}
.pill--white {
  background: var(--white);
  color: var(--green-deep);
}
.pill--white:hover {
  background: var(--mint);
}
.pill--white .pill__arrow {
  background: var(--green);
}
.pill--white .pill__arrow::before {
  background: var(--white);
}

.round-button {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: var(--cursor-link);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.round-button--ghost {
  color: var(--white);
}
.round-button--ghost:hover {
  background: var(--white);
  color: var(--green);
}
.round-button[disabled] {
  opacity: 0.35;
  cursor: var(--cursor);
}
.round-button__arrow {
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
  mask: var(--i-arrow) center / contain no-repeat;
}
.round-button__arrow--left {
  transform: rotate(180deg);
}
.round-button__arrow--up {
  transform: rotate(-90deg);
}

/* ---------------------------------------------------------------------------
   ヘッダー
   --------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
  padding: env(safe-area-inset-top) var(--gutter) 0;
  transition: opacity 0.5s;
}
/*
  白い地は、ヘッダーそのものではなく裏の層に敷く。

  **ヘッダーに backdrop-filter を掛けてはいけない。** 掛けると、中にある
  メニュー（position: fixed で画面いっぱいに広げている）の基準が、画面
  ではなくヘッダーの箱（高さ 76px）に変わる。スマートフォンでメニューを
  開くと、76px の帯に押し込められて項目が画面の外へはみ出していた。
*/
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s;
}
.site-header.is-solid::before {
  opacity: 1;
}
.site-header {
  transition: opacity 0.5s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-header.is-hidden {
  transform: translateY(-110%);
}
/* メニューを開いても、ロゴは上に残す */
.site-header__logo {
  position: relative;
  z-index: 2;
}
.site-header__logo img {
  width: auto;
  height: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav ul {
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul a {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  position: relative;
}
.site-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transition: right 0.25s;
}
.site-nav ul a:hover::after {
  right: 0;
}

.menu-button {
  display: none;
}

@media (max-width: 1080px) {
  .menu-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: var(--cursor-link);
  }
  .menu-button__bars,
  .menu-button__bars::before,
  .menu-button__bars::after {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s, opacity 0.25s;
  }
  .menu-button__bars {
    position: relative;
    margin: 8px 0;
  }
  .menu-button__bars::before,
  .menu-button__bars::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .menu-button__bars::before {
    top: -8px;
  }
  .menu-button__bars::after {
    top: 8px;
  }
  .menu-button__label {
    font: 700 10px/1 var(--font-jp);
    letter-spacing: 0.1em;
  }
  .menu-button[aria-expanded='true'] .menu-button__bars {
    background: transparent;
  }
  .menu-button[aria-expanded='true'] .menu-button__bars::before {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-button[aria-expanded='true'] .menu-button__bars::after {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: var(--header) var(--gutter) 40px;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .site-nav ul a {
    font-size: 20px;
  }
  .site-header__logo img {
    height: 38px;
  }
}

/* ---------------------------------------------------------------------------
   最初の画面
   --------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header) + 24px) var(--gutter) 120px;
  overflow: hidden;
  background: var(--white);
}

.hero__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 地図の目印。参考サイトの「葉」の役 */
.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  aspect-ratio: 1;
}
/*
  形（しずく型）は ::before に描く。**外枠の transform は空けておく。**
  動き（GSAP）は外枠の transform を書き換えるため、形の回転まで外枠に
  持たせると、動かした瞬間に先が上を向いてしまう。
*/
.pin::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 50% 0;
  background: var(--c);
  transform: rotate(calc(-45deg + var(--r, 0deg)));
}
.pin::after {
  content: '';
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: var(--hole, var(--white));
}
/*
  **目印は、浮かびながら、ふくらんではしぼむ。** 浮かぶ周期とふくらむ
  周期をずらし、どの目印も同じ拍子にならないようにしている。

  **動かすのは形（::before・::after）で、外枠ではない。** GSAP は、外枠に
  translate・scale があると、最初に触れたときの値を自分の transform へ
  焼き付ける。途中の値が焼き付くと、目印が大きいまま・ずれたままになる。
  形の側なら GSAP は読まないので、送りの動き（視差・飛来）と重ねてよい。

  大きさの基準は --k。狭い画面で小さくするときも scale ではなく --k を変える。
*/
.pin::before,
.pin::after {
  scale: var(--k, 1);
  animation: pin-float 7s ease-in-out infinite, pin-pulse 3.4s ease-in-out infinite;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) * 1.7);
}
.pin--xs { --s: 22px; }
.pin--s  { --s: 34px; }
.pin--m  { --s: 52px; }
.pin--l  { --s: 78px; }
.pin--xl { --s: 110px; }
.pin--green { --c: var(--green); }
.pin--amber { --c: var(--amber); }
.pin--navy  { --c: var(--navy); }
.pin--mint  { --c: var(--mint-2); }
.pin--white { --c: var(--white); --hole: var(--green); }

.dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  animation: sway 7s ease-in-out infinite;
  animation-delay: var(--d);
}
.dot--green {
  width: 10px;
  height: 10px;
  background: var(--green);
}
.dot--white {
  background: var(--white);
}

/* 道路の破線。画面の端から端へ、ゆるく流れる */
.road {
  position: absolute;
  height: 6px;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, var(--mint-2) 0 34px, transparent 34px 58px);
  background-size: 58px 100%;
  animation: drive 3.2s linear infinite;
  opacity: 0.9;
}
.road--a {
  left: -8%;
  width: 30%;
  top: 30%;
  transform: rotate(-18deg);
}
.road--b {
  right: -8%;
  width: 30%;
  bottom: 20%;
  transform: rotate(-18deg);
  animation-direction: reverse;
}

/*
  狭い画面では、文字が画面いっぱいに並ぶ。目印を減らして小さくし、
  文字に掛かるものは消す。読めることが先。
*/
@media (max-width: 760px) {
  /* **最初の画面だけ。** 以前はページ全体の目印を消してしまい、緑の帯・
     締め・フッターの目印まで出なくなっていた */
  .hero__sky .pin,
  .hero__sky .dot,
  .hero__sky .road {
    display: none;
  }
  /* 狭い画面では3つだけ。文字の無い上の右端と、下の左右の角へ */
  .hero__sky .pin--mobile {
    display: block;
    left: var(--xm);
    top: var(--ym);
    --k: 0.6;
  }
}

@keyframes sway {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
/* ゆるく弧を描いて浮き沈みする */
@keyframes pin-float {
  0%, 100% { translate: 0 0; }
  25% { translate: 5px -9px; }
  50% { translate: 0 -18px; }
  75% { translate: -5px -9px; }
}
/* ふくらんでは、しぼむ（基準の大きさ --k の 1.18倍まで） */
@keyframes pin-pulse {
  0%, 100% { scale: var(--k, 1); }
  50% { scale: calc(var(--k, 1) * 1.18); }
}
@keyframes drive {
  to { background-position: 58px 0; }
}

.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
}

.hero__tagline {
  margin: 0 0 14px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.16em;
  color: var(--green);
}

/* 送ったときに縮めて消すため、文字の塊として扱う（行内の span は変形できない） */
.hero__tagline span {
  display: inline-block;
}

.hero__logo {
  --logo-h: min(152px, 26vw);
  margin: 0;
  display: flex;
  align-items: center;
  /* 元のロゴと同じ間（目印 116・間 27・文字 319、高さ 160 の割合） */
  gap: calc(var(--logo-h) * 27 / 160);
}
.hero__logo img {
  width: auto;
  height: var(--logo-h);
}

.hero__copy {
  margin-top: clamp(24px, 3.4vw, 40px);
  display: grid;
  gap: 16px;
}
.hero__question {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(15px, 1.65vw, 19px);
  line-height: 1.95;
  color: var(--ink);
}
.hero__answer {
  margin: 0;
  padding: 18px clamp(18px, 3vw, 34px);
  border-radius: 16px;
  background: var(--mint);
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 2;
  color: var(--ink);
}
.hero__answer strong {
  color: var(--green-deep);
  font-weight: 900;
}

/* 下へ（参考サイトの SCROLL と3つの点） */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--green);
}
.scroll-cue span {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.26em;
  margin-bottom: 4px;
}
.scroll-cue i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: cue 1.2s ease-in-out infinite;
}
.scroll-cue i:nth-of-type(2) {
  animation-delay: 0.4s;
}
.scroll-cue i:nth-of-type(3) {
  animation-delay: 0.8s;
}
/* 参考サイトの colorChange（緑 → 黄 → 桃 → 緑）を、このアプリの色で */
@keyframes cue {
  0%, 100% { background: var(--green); }
  33% { background: var(--amber); }
  66% { background: var(--navy); }
}

/* 最初の画面の出方。動画が終わってから、順に浮かび上がる */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .is-ready .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 0.28s);
}

/* ---------------------------------------------------------------------------
   車寄せナビとは
   --------------------------------------------------------------------------- */

.about {
  position: relative;
  padding: var(--section) 0 calc(var(--section) * 1.1);
  overflow: hidden;
  background: var(--paper);
}
.about .wrap {
  padding-top: clamp(40px, 8vw, 110px);
}

.pains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
.pain {
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.pain h3 {
  margin: 18px 0 10px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
.pain p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.pain__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--mint);
}
.pain__icon::before {
  content: '';
  width: 28px;
  height: 28px;
  background: var(--green);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.pain__icon--pin   { --icon: var(--i-pin); }
.pain__icon--clock { --icon: var(--i-clock); }
.pain__icon--guest { --icon: var(--i-person); }

.case {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  margin-top: clamp(64px, 9vw, 120px);
}
.case__label {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--green);
}
.case__title {
  margin: 6px 0 20px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.06em;
}
.case__quote {
  margin: 0 0 22px;
  padding-left: 22px;
  border-left: 5px solid var(--amber);
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.6;
  color: var(--ink);
}
.case__note {
  margin: 0 0 32px;
  max-width: 34em;
  color: var(--muted);
}
.case__note strong {
  color: var(--ink);
}

/* 端末の枠 */
.phone {
  position: relative;
  margin: 0 auto;
  width: min(330px, 78vw);
  padding: 11px;
  border-radius: 46px;
  background: var(--navy);
  box-shadow: 0 40px 80px -30px rgba(11, 25, 47, 0.55), inset 0 0 0 2px #26344c;
}
.phone img {
  width: 100%;
  border-radius: 36px;
}
.phone--tilt {
  transform: rotate(3deg);
}

/*
  端末の画面に重ねる、アプリの立ち上がり（ご指示 2026-09-20）。
  アプリと同じ見せ方にしている。動画は画面いっぱいに広げ（横長のため左右が
  切れる）、3本のあとにロゴを2秒、それから下の画面が現れる。
  動きの部品（main.js）が働かないときは重ねない。画面がそのまま見える
*/
.phone__boot {
  display: none;
}
/* 画面の絵（内側 11px・角 36px）より 1px 大きく重ねる。同じ大きさだと、
   角のぼかしから下の絵の縁が細く透けて見えた。はみ出す 1px は枠と同じ色 */
.js .phone__boot {
  position: absolute;
  inset: 10px;
  display: block;
  overflow: hidden;
  border-radius: 37px;
  background: var(--navy);
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.phone__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
/* .phone img（画面の絵）の指定に負けないよう、枠の中として指す */
.phone .phone__logo {
  position: absolute;
  left: 14%;
  top: 50%;
  width: 72%;
  translate: 0 -50%;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.phone.is-logo .phone__video {
  opacity: 0;
}
.phone.is-logo .phone__logo {
  opacity: 1;
}
.phone.is-app .phone__boot {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 820px) {
  .case {
    grid-template-columns: 1fr;
  }
  .phone--tilt {
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   案内役（ご指示 2026-09-21「空いているところに、説明している女性を」）
   **画像は発注元よりご提供いただいたものを、そのまま使う。**（ご指示
   2026-09-21「加工せず、そのまま使ってほしい」）。背景が透けている
   切り抜きなので、**枠（角の丸み）も影も付けない。** 大きさだけを、
   置き場所に合わせて決める。
   最初の画面と対応エリアは本文の外の余白に置くため、余白の無くなる狭い画面
   では出さない。よくあるご質問のものは並びの中にあるので、どの幅でも出す
   --------------------------------------------------------------------------- */

.guide {
  margin: 0;
}
.guide img {
  display: block;
  width: 100%;
  height: auto;
}
.guide--hero,
.guide--area-left,
.guide--area-right,
.guide--closing {
  position: absolute;
  z-index: 1;
  /* 飾りなので、押すのを邪魔しない */
  pointer-events: none;
}
/* 切り抜きなので、枠付きのときより大きく見せてよい */
.guide--hero {
  left: 3%;
  top: 24%;
  width: min(280px, 20vw);
}
.guide--area-left {
  left: 2%;
  top: 18%;
  width: min(240px, 17vw);
}
.guide--area-right {
  right: 1%;
  top: 32%;
  width: min(300px, 20vw);
}
/* 締めからフッターにまたがる右側。フッターの側から上へ出す
   （締めは、散らした目印を切るために外へはみ出せない）。
   フッターは上へのはみ出しを許しているので、そのまま重ねられる */
.guide--closing {
  right: 12%;
  top: -330px;
  width: min(300px, 21vw);
}
/* 1320px 以下では、本文との間が詰まる（右の写真が施設の種類の札に掛かる）。
   余白に置けなくなったら、出さない */
@media (max-width: 1320px) {
  .guide--hero,
  .guide--area-left,
  .guide--area-right,
  .guide--closing {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   最初の画面の、回るキューブ（cube.js）

   **GPU を使う描き方は使わない。** CSS の立体（transform）だけで描き、回すのも
   CSS のアニメーション（ご指示 2026-10-30「どのパソコンでもスマートフォンでも
   動くように」）。動きの値は resend.com のキューブと同じ（cube.js の先頭）。

     .cube           置き場所と大きさ。出方（main.js の最初の画面）
     .cube__stage    遠近（画角 45° と同じ見え方）。送ったときに薄れる。ドラッグを受ける
     .cube__view     ドラッグで変えた向き（cube.js）
     .cube__spin-x   X 軸まわりに 10秒で1回転
     .cube__spin-y   Y 軸まわりに 10秒で1回転
     .cube__slice    3つの段。左と右の段が、待っては半回転して戻る
     .cube__panel    段の箱の板（18 枚）。外を向いた板にはロゴの札

   広い画面（1321px〜）では、案内役（左）と向き合うよう右の余白に置く（本文の
   右端と、右側の縦の一文のまん中）。それより狭い画面では、文面の下に置く。
   キューブの一辺は枠の半分（--t は札1つ分）。回っても角が枠からはみ出さない。
   --------------------------------------------------------------------------- */

.cube {
  --cube: min(300px, 76vw);
  --t: calc(var(--cube) / 6);
  position: relative;
  z-index: 1;
  width: var(--cube);
  aspect-ratio: 1;
  margin: clamp(4px, 2vw, 16px) auto 0;
}
@media (min-width: 1321px) {
  .cube {
    --cube: min(460px, 25vw);
    position: absolute;
    left: calc(75% + 72px - var(--cube) / 2);
    top: calc(46% - var(--cube) / 2);
    margin: 0;
  }
}
.cube__stage {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: calc(var(--cube) * 1.2);
  /* 指では、横に動かすと回る。縦はページの送りのまま */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
/* 床に落ちる影 */
.cube__stage::after {
  content: '';
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 3%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 25, 47, 0.3), rgba(11, 25, 47, 0));
  pointer-events: none;
}
.cube__view,
.cube__spin-x,
.cube__spin-y,
.cube__slice {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
/*
  resend の値。全体は等速で止まらない。段は「待つ → 半回転 → 待つ → 戻る」
  （左は 3秒・2秒、右は 5秒・3秒）。段の動きは始めと終わりがゆっくり
*/
.cube__spin-x {
  animation: cube-x 10s linear infinite;
}
.cube__spin-y {
  animation: cube-y 10s linear infinite;
}
.cube__slice--left {
  animation: cube-left 10s infinite;
}
.cube__slice--right {
  animation: cube-right 16s infinite;
}
@keyframes cube-x {
  to { transform: rotateX(360deg); }
}
@keyframes cube-y {
  to { transform: rotateY(-360deg); }
}
@keyframes cube-left {
  0%, 30% { transform: rotateX(0deg); animation-timing-function: ease-in-out; }
  50%, 80% { transform: rotateX(180deg); animation-timing-function: ease-in-out; }
  100% { transform: rotateX(0deg); }
}
@keyframes cube-right {
  0%, 31.25% { transform: rotateX(0deg); animation-timing-function: ease-in-out; }
  50%, 81.25% { transform: rotateX(180deg); animation-timing-function: ease-in-out; }
  100% { transform: rotateX(0deg); }
}
/* 画面の外にあるあいだは止める（cube.js） */
.cube.is-away :is(.cube__spin-x, .cube__spin-y, .cube__slice) {
  animation-play-state: paused;
}
/* 動きを減らす設定に従う場合は、3つの面が見える向きで止めておく（ドラッグでは回せる） */
.calm .cube__spin-x {
  animation: none;
  transform: rotateX(-24deg);
}
.calm .cube__spin-y {
  animation: none;
  transform: rotateY(-36deg);
}
.calm .cube__slice {
  animation: none;
}

/* 段の箱の板。--w は横の札の数（帯は 1、左右の面は 3）、--d は中心からの距離 */
.cube__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(var(--w), 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: calc(var(--t) * var(--w) - 2px);
  height: calc(var(--t) * 3 - 2px);
  margin: calc(var(--t) * -1.5 + 1px) 0 0 calc(var(--t) * var(--w) * -0.5 + 1px);
  border-radius: calc(var(--t) * 0.1);
  background: linear-gradient(145deg, #1c273a, #070c15 70%);
  transform: translateX(calc(var(--t) * var(--i))) var(--turn) translateZ(calc(var(--t) * var(--d)));
  backface-visibility: hidden;
}
/* 面ごとの明るさ（上がいちばん明るく、下がいちばん暗い） */
.cube__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(3, 6, 12, var(--shade));
  pointer-events: none;
}
/* 段と段の間の板。段が回ったときに見える内側 */
.cube__panel--inner {
  background: #05080e;
}
/*
  ロゴの札。面の絵（1面に1つのロゴ）を 3 × 3 に分けた1枚。札の間のすき間に
  当たる絵は見えない（格子越しに1枚の絵を見ているように、札をまたいで絵がつながる）
*/
.cube__tile {
  position: relative;
  margin: calc(var(--t) * 0.07);
  border-radius: 16%;
  background: url('assets/brand/cube-face.webp') no-repeat;
  background-size: calc(var(--t) * 3) calc(var(--t) * 3);
  background-position: calc(var(--t) * (var(--c) + 0.07) * -1) calc(var(--t) * (var(--r) + 0.07) * -1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
/* 札のつや */
.cube__tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 42%);
}

/* よくあるご質問：見出しの下に置き、吹き出しを添える */
.guide--faq {
  position: relative;
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 320px;
}
.guide__say {
  position: relative;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
}
/* 吹き出しのしっぽ。写真の方を向く */
.guide__say::before {
  content: '';
  position: absolute;
  left: 32px;
  top: -8px;
  border: 8px solid transparent;
  border-top: 0;
  border-bottom-color: var(--mint);
}
@media (max-width: 820px) {
  .guide--faq {
    margin: 30px auto 0;
  }
}

/* ---------------------------------------------------------------------------
   できること（緑の帯）
   --------------------------------------------------------------------------- */

.features {
  position: relative;
  margin: 60px 0;
  background: var(--green);
  color: var(--white);
}
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  fill: var(--green);
}
.wave--top {
  bottom: 100%;
  margin-bottom: -1px;
}
.wave--bottom {
  top: 100%;
  margin-top: -1px;
}

/*
  **緑の帯の縁は、海の波のように揺れる**（ご指示 2026-09-20）。
  波の形を3枚重ね、それぞれを違う速さ・向きで横へ流しながら、ゆっくり
  上下させる。奥の2枚は薄くして、奥行きを出す。
  1枚の幅は帯の2倍で、同じ形が2回くり返す。半分（1回ぶん）流したところで
  最初に戻すと、つなぎ目が見えない。
  下の縁は、上の縁を上下に返して使う（帯に接する側が、塗りつぶしの側）。
*/
.sea {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  overflow: hidden;
  pointer-events: none;
}
.sea--top {
  bottom: 100%;
  margin-bottom: -1px;
}
.sea--bottom {
  top: 100%;
  margin-top: -1px;
  transform: scaleY(-1);
}
.sea__layer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
  fill: var(--green);
  will-change: transform;
  animation: sea-roll var(--t) linear infinite, sea-bob var(--b) ease-in-out infinite alternate;
}
.sea__layer--back {
  --t: 27s;
  --b: 5.4s;
  opacity: 0.25;
  animation-direction: reverse, alternate;
}
.sea__layer--mid {
  --t: 17s;
  --b: 3.9s;
  opacity: 0.5;
}
.sea__layer--front {
  --t: 11s;
  --b: 4.7s;
}
@keyframes sea-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* 下へだけ沈める。上へ浮かせると、帯との間にすき間が見える */
@keyframes sea-bob {
  from { translate: 0 0; }
  to { translate: 0 8px; }
}
.features__inner {
  padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 8vw, 110px);
}
.features__head {
  width: min(1180px, 100% - var(--gutter) * 2);
  margin: 0 auto clamp(32px, 5vw, 56px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.carousel-nav {
  display: flex;
  gap: 12px;
  flex: none;
}

.cards {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 8px max(var(--gutter), calc((100% - 1180px) / 2)) 24px;
  list-style: none;
  overflow-x: auto;
  /* 1枚ずつ吸い付く指定（scroll-snap）は入れない。左へ流し続ける動き
     （main.js）と引っ張り合い、送りが詰まる */
  scrollbar-width: none;
}
.cards::-webkit-scrollbar {
  display: none;
}
.card {
  flex: 0 0 clamp(270px, 30vw, 360px);
  padding: 16px 16px 28px;
  border-radius: 26px;
  background: var(--white);
  color: var(--ink);
}
.card__media {
  height: 250px;
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--mint);
}
.card__media--screen {
  display: flex;
  justify-content: center;
  padding-top: 22px;
  background: linear-gradient(160deg, var(--mint) 0%, var(--mint-2) 100%);
}
.card__media--screen img {
  width: 62%;
  height: auto;
  align-self: flex-start;
  /*
    窓に入るのは画面の上半分ほど。見せたいところが中ほどにある写真は、
    カードの側で --shift（幅に対する割合。写真の高さは幅に比例する）を付けて上へずらす。
    写真を撮り直して位置が変わったら、index.html の --shift も合わせる。
    狭い幅では窓の高さ（250px − 上の余白 22px）が写真に比べて大きくなるため、
    写真の下端が窓の中まで上がらないところで止める（134.17% = 写真の高さ。62% × 1688 / 780）
  */
  margin-top: max(var(--shift, 0px), calc(250px - 22px - 134.17%));
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 0 6px var(--navy), 0 24px 40px -18px rgba(11, 25, 47, 0.5);
}

.card__kicker {
  margin: 0 8px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--green);
}
.card h3 {
  margin: 6px 8px 10px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.card p:last-child {
  margin: 0 8px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.features__foot {
  display: flex;
  justify-content: flex-end;
  width: min(1180px, 100% - var(--gutter) * 2);
  margin: 28px auto 0;
}

@media (max-width: 640px) {
  .features__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .features__foot {
    justify-content: center;
  }
}

/* ---------------------------------------------------------------------------
   ご利用の流れ（参考サイトの「ニュース」の2段組）
   --------------------------------------------------------------------------- */

.flow {
  padding: calc(var(--section) + 40px) 0 var(--section);
}
.flow__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.flow__lead {
  margin: 20px 0 30px;
  color: var(--muted);
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
}
.step__no {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--green);
}
.step h3 {
  margin: 4px 0 6px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.05em;
}
.step p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 820px) {
  .flow__grid {
    grid-template-columns: 1fr;
  }
  .step {
    grid-template-columns: 70px 1fr;
  }
  .step__no {
    font-size: 42px;
  }
}

/* ---------------------------------------------------------------------------
   対応エリア（参考サイトの「支えるもの。」の中央寄せ）
   --------------------------------------------------------------------------- */

.area {
  position: relative;
  padding: var(--section) 0;
  overflow: hidden;
  background: var(--paper);
}
/* 見出しの背にだけ敷く。下の札の並びまで掛けると、字が読みにくくなる */
.giant--center {
  top: calc(var(--section) * 0.55);
}
.area__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.count {
  display: inline-block;
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 1.7em;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--green);
  margin-right: 0.1em;
}
.area__note {
  margin: 18px 0 30px;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}
/*
  写真を出す幅（1321px〜）では、札の並びを左右の写真の内側に収める（2026-10-16）。
  札に「提供中」などの文字を足して（2026-10-13）2段に折り返すようになり、並びの枠が
  本文の幅いっぱいに広がって、1440px で右の写真（.guide--area-right）の下へ 12px
  入り込んでいた（札そのものには掛かっていない）。写真の幅と位置から引いた幅までに
  する。スクロールバーのぶん（vw はそれを含む）を見込んで、写真との間を 32px とる
*/
@media (min-width: 1321px) {
  .chips {
    max-width: calc(100vw - 2 * (1vw + min(300px, 20vw)) - 64px);
  }
}
.chips li {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
}
/* 提供中と準備中の札（ご指示 2026-10-13「提供が開始している物と、していない物を色分け」）。
   色はご回答（同日）どおり、始めている種類は青、まだの種類は黄色。色だけに頼らず、
   札の中の小さな文字でも状態を伝える。文字と地の濃さの差は、どちらも十分にとってある */
:root {
  --chip-blue: #1f5fae;
  --chip-blue-deep: #17487f;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chips .chip--live {
  background: var(--chip-blue);
  border-color: var(--chip-blue);
  color: var(--white);
}
.chips .chip--soon {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.chip__state {
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.chip--live .chip__state {
  background: var(--chip-blue-deep);
  color: var(--white);
}
.chip--soon .chip__state {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}
.chips-legend {
  margin: -28px 0 40px;
  font-size: 13px;
  color: var(--muted);
}
.notice-box {
  width: 100%;
  max-width: 620px;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid var(--amber);
  text-align: left;
}
.notice-box p {
  margin: 0;
  color: var(--muted);
}
.notice-box__title {
  margin-bottom: 6px !important;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 18px;
  color: var(--ink) !important;
}

/* ---------------------------------------------------------------------------
   あなたの声が、アプリを進化させる（ご指示 2026-10-13）
   --------------------------------------------------------------------------- */

.voice {
  position: relative;
  padding: var(--section) 0;
  background: var(--mint);
}
.voice__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* 「あなたの声が、アプリを進化させる。」— ドライバー一人ひとりの「声」を、人の手で
   書いたような書体で（Klee One。鉛筆で丁寧に書いた手書き風）。読み込めないときは
   いつもの見出しの書体に落ちる */
.voice__title {
  font-family: 'Klee One', var(--font-jp);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.voice__lead {
  max-width: 640px;
  margin: 18px 0 40px;
  color: var(--muted);
  line-height: 1.9;
  /* 日本語を文節で折り返す（対応していないブラウザは、ふつうの折り返し） */
  word-break: auto-phrase;
  text-wrap: pretty;
}
.voice__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.voice__steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--white);
  text-align: left;
}
.voice__no {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--green);
}
.voice__steps strong {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
}
.voice__steps li > span:last-child {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .voice__steps {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
   よくあるご質問
   --------------------------------------------------------------------------- */

.faq {
  position: relative;
  padding: var(--section) 0;
}
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.faq__list {
  border-top: 1px solid var(--line);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  position: relative;
  padding: 24px 56px 24px 34px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.7;
  cursor: var(--cursor-link);
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
/* 文の左に置く。文は行ごとに組み替えて出すため、文と同じ行には入れない */
.qa summary::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 24px;
  line-height: calc(17px * 1.7);
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 22px;
  color: var(--green);
}
.qa summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--mint);
  transition: transform 0.25s;
}
.qa[open] summary::after {
  transform: rotate(45deg);
}
.qa summary::after {
  background:
    linear-gradient(var(--green), var(--green)) center / 12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 2px 12px no-repeat,
    var(--mint);
}
.qa p {
  margin: -6px 0 26px;
  padding-left: 34px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .faq__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
   締め
   --------------------------------------------------------------------------- */

.closing {
  padding: calc(var(--section) * 0.6) 0 calc(var(--section) + 60px);
}
.closing__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.closing__title {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(32px, 5.6vw, 64px);
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.closing__lead {
  margin: 20px 0 36px;
  color: var(--muted);
}

/* ---------------------------------------------------------------------------
   フッター（立ち上がりの動画と同じ濃紺で、最初と最後を揃える）
   --------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  /* 左右から飛んでくる目印で、画面が横に揺れないように。上へのはみ出しは許す */
  overflow-x: clip;
}
.wave--footer {
  bottom: 100%;
  margin-bottom: -1px;
  fill: var(--navy);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 40px var(--gutter) calc(48px + env(safe-area-inset-bottom));
}
.site-footer__logo {
  width: 220px;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__nav a {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.site-footer__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
/* 規約類（2026-11-23）。上の並びより一段控えめに */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: -12px 0 0;
  padding: 0;
  list-style: none;
}
.site-footer__legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 5px;
}
.site-footer__legal a:hover {
  color: var(--white);
  text-decoration-color: currentColor;
}
.site-footer__copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
/* ---------------------------------------------------------------------------
   車寄せナビとは（参考サイトの MESSAGE：大きな絵と文章の組）
   --------------------------------------------------------------------------- */

.message {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.message__mark {
  width: min(400px, 100%);
  aspect-ratio: 1;
  justify-self: center;
}
.message__mark img {
  width: 100%;
  height: 100%;
  border-radius: 18%;
  box-shadow: 0 40px 70px -34px rgba(11, 25, 47, 0.6);
}
.message__lead {
  margin: 24px 0 0;
  max-width: 34em;
  color: var(--muted);
}
.message__lead strong {
  color: var(--ink);
}
@media (max-width: 820px) {
  .message {
    grid-template-columns: 1fr;
  }
  .message__mark {
    width: min(240px, 62vw);
  }
}

/* ---------------------------------------------------------------------------
   最初の画面の目印が、次の節の大きな絵へ移っていく層
   動きのある場合だけ使う（.motion は main.js が付ける）
   --------------------------------------------------------------------------- */

.flyer {
  display: none;
}
.motion .flyer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  display: block;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, width, height;
}
.flyer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flyer__emblem {
  object-fit: contain;
}
.flyer__icon {
  object-fit: cover;
  border-radius: 18%;
  opacity: 0;
  box-shadow: 0 40px 70px -34px rgba(11, 25, 47, 0.6);
}
/* 動きのある場合、大きな絵そのものは隠しておき、移ってきた層が代わりを務める */
.motion .message__mark img {
  visibility: hidden;
}

/* ---------------------------------------------------------------------------
   帯やまわりに散らす目印（送りに合わせて、奥行きごとに違う速さで動く）
   --------------------------------------------------------------------------- */

.deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* 横へはみ出した目印で、画面が横に揺れないように。上下ははみ出してよい */
  overflow-x: clip;
}
.closing {
  position: relative;
  overflow: hidden;
}
.closing__body {
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .features .deco .pin--l,
  .closing .deco .pin--xl,
  .closing .deco .pin--l {
    --k: 0.6;
  }
}

/* フッターへ、左右から飛んでくる目印（参考サイトの、フッターの葉） */
.footer-pin {
  position: absolute;
  top: -58px;
  z-index: 2;
}
.footer-pin--left {
  left: 7%;
}
.footer-pin--right {
  right: 7%;
  left: auto;
}

/* ---------------------------------------------------------------------------
   先頭へ戻る（UP）
   参考サイトの丸い釦（白地・緑の山形）に倣い、画面の右下に浮かべる
   --------------------------------------------------------------------------- */

.page-up {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  text-decoration: none;
  box-shadow: 0 14px 34px -14px rgba(11, 25, 47, 0.45), 0 0 0 1px rgba(11, 25, 47, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.35s,
    background 0.2s;
}
.page-up.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.2s;
}
.page-up:hover {
  background: var(--mint);
}
.page-up__chev {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background: currentColor;
  -webkit-mask: var(--i-chevron) center / contain no-repeat;
  mask: var(--i-chevron) center / contain no-repeat;
  transition: transform 0.25s;
}
.page-up:hover .page-up__chev {
  transform: translateY(-3px);
}
.page-up__label {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.12em;
  margin-left: 0.12em;
}
@media (max-width: 640px) {
  .page-up {
    width: 56px;
    height: 56px;
  }
}

/* ---------------------------------------------------------------------------
   右側の縦の一文（ご指示 2026-10-13）
   画面の右端に、すりガラスの細い札を浮かべ、縦書きの一文を1文字ずつ
   せり上げる（main.js の startRail）。上に地図の目印、下に「いま何番目の文か」の点。

   **本文に掛からない幅にする。** 札の幅は左右の余白（--gutter）から決め、
   その中に収める。スマホでは余白が 20px しかないため、字を 11px にし、
   札を画面の端に付けた「つまみ」の形にする。広い画面では、本文の外の
   余白に少し内側へ寄せて置く。高さの足りない画面では、字を小さくする
   （横向きのスマホのように低すぎる画面では出さない）。
   色は地の色にかかわらず読めるよう、札の地を白いすりガラスにしている。
   --------------------------------------------------------------------------- */

.vrail {
  --vr-fs: min(clamp(11px, calc(var(--gutter) * 0.32), 19px), calc((100vh - 320px) / 26));
  --vr-pad: clamp(4px, calc((var(--gutter) - var(--vr-fs)) / 2 - 4px), 12px);
  --vr-w: calc(var(--vr-fs) + var(--vr-pad) * 2);
  position: fixed;
  z-index: 80;
  top: calc(var(--header) + 12px);
  bottom: 100px;
  right: max(calc((var(--gutter) - var(--vr-w)) / 2), min(44px, calc((100vw - 1180px) / 2 - var(--vr-w) - 40px)));
  display: flex;
  align-items: center;
  pointer-events: none;
  font-family: 'Klee One', var(--font-jp);
  font-weight: 600;
  font-size: var(--vr-fs);
  line-height: 1;
  letter-spacing: 0;
  color: var(--navy);
}
.vrail__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7em;
  width: var(--vr-w);
  padding: calc(var(--vr-pad) + 0.35em) 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(11, 25, 47, 0.07), 0 18px 40px -22px rgba(11, 25, 47, 0.5);
  pointer-events: auto;
}
.vrail__mark {
  width: 0.95em;
  height: 0.95em;
  background: var(--green);
  -webkit-mask: var(--i-pin) center / contain no-repeat;
  mask: var(--i-pin) center / contain no-repeat;
}
/* 文は同じ場所に重ねて置き、入れ替える（札の高さは、長いほうの文に合う） */
.vrail__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vrail__line {
  grid-area: 1 / 1;
  writing-mode: vertical-rl;
  white-space: nowrap;
}
/* 動きが付く前（動きが使えない環境では、このまま）は、1つ目の文だけ */
.vrail__line + .vrail__line {
  visibility: hidden;
}
/* 1文字ずつに分けたあと。文字は1つずつ縦書きの枠に入れ、枠の下から出す */
.vrail.is-split .vrail__line {
  writing-mode: horizontal-tb;
  display: flex;
  flex-direction: column;
  align-items: center;
  visibility: visible;
}
.vrail__cell {
  display: block;
  writing-mode: vertical-rl;
  width: 1em;
  height: 1.12em;
  overflow: hidden;
}
/* 「、」「。」「っ」は、書体が縦書き用の形（右上に寄った形）を持っているので、そのまま */
.vrail__ch {
  display: block;
}
.vrail__dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
}
.vrail__dots i {
  width: 0.3em;
  height: 0.3em;
  border-radius: 999px;
  background: rgba(11, 25, 47, 0.2);
  transition: height 0.45s cubic-bezier(0.23, 1, 0.32, 1), background 0.45s;
}
.vrail__dots i.is-on {
  height: 0.95em;
  background: var(--green);
}

/* 動きを付けるときは、始まるまで隠しておき、右からふわっと出す */
.js .vrail {
  opacity: 0;
  translate: 12px 0;
  transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.js .vrail.is-on,
.js .vrail.is-still {
  opacity: 1;
  translate: none;
}
/* 脇の写真（案内役・端末の絵）と重なるあいだは、右へ引いて道を譲る（main.js） */
.js .vrail.is-away {
  opacity: 0;
  translate: 16px 0;
}
.vrail.is-away .vrail__card {
  pointer-events: none;
}

@media (max-width: 640px) {
  .vrail {
    right: 0;
  }
  .vrail__card {
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 0 1px rgba(11, 25, 47, 0.07), 0 10px 26px -16px rgba(11, 25, 47, 0.5);
  }
}
@media (max-height: 520px) {
  .vrail {
    display: none;
  }
}
@media print {
  .vrail {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   動きのある場合（.motion）。出方は GSAP が受け持つため、CSS の出方は止める
   --------------------------------------------------------------------------- */

.motion .reveal {
  transition: none !important;
}
.js .hero__sky {
  opacity: 0;
}
.js .is-ready .hero__sky {
  opacity: 1;
}

/* なめらかな送り（Lenis）の推奨設定 */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
   最初の画面の標語：文字が両脇から回り込み、3秒とどまって引っ込む
   （出し方は main.js。1文字ずつ回すため、文字を塊にする）
   --------------------------------------------------------------------------- */

.hero__tagline .ch {
  display: inline-block;
  will-change: transform, opacity;
}

/* ---------------------------------------------------------------------------
   最初の画面の問いかけ：1文字ずつ打ち込む
   打つ前の文字は、場所を取ったまま隠す（打つたびに文が動かないように）
   --------------------------------------------------------------------------- */

.tw {
  position: relative;
}
.hero__question.is-typing .tw {
  visibility: hidden;
}
.hero__question.is-typing .tw.is-on {
  visibility: visible;
}
/* 打っている位置の目印（点滅する縦棒） */
.tw.is-caret::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  margin-left: 2px;
  border-radius: 1px;
  background: var(--green);
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret {
  50% { opacity: 0; }
}

/* ---------------------------------------------------------------------------
   本文：1行ずつ、下からせり上がって出る（出し方は main.js）
   行ごとに枠（.ln）で切り取り、中身（.ln__in）を枠の下から上げる。
   行の分け目は、実際に折り返した位置を測って決める
   --------------------------------------------------------------------------- */

.lines,
.ln,
.ln__in {
  display: block;
}
.ln {
  overflow: clip;
  overflow-clip-margin: 0.12em;
}

/* ---------------------------------------------------------------------------
   見出しと数字が弾んだときに舞う、目印の形の砂ぼこり
   ページの中の位置に置き、送っても見出しと一緒に動く。横にはみ出しても
   画面が横に揺れないよう、横だけ切る
   --------------------------------------------------------------------------- */

.dust-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  overflow-x: clip;
  overflow-y: visible;
  pointer-events: none;
  z-index: 60;
}
.dust {
  position: absolute;
  width: var(--s);
  aspect-ratio: 1;
  will-change: transform, opacity;
}
.dust::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 50% 0;
  background: var(--c);
  transform: rotate(-45deg);
}
.dust::after {
  content: '';
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: var(--hole, var(--white));
}

/* ---------------------------------------------------------------------------
   見出しの1文字ずつの出方（参考サイトの char-fade-up）
   出し方（濃さ・位置）は main.js が受け持つ。ここは、1文字ずつ動かせる
   ようにするだけ（行の中の文字は、そのままでは位置を動かせない）
   --------------------------------------------------------------------------- */

.split .ch {
  display: inline-block;
}

/* ---------------------------------------------------------------------------
   動きを減らす場合（html.calm）
   **いまは付かない。** main.js の FOLLOW_REDUCED_MOTION を true にすると、
   端末で「動きを減らす」を選んでいる方に付く。参考サイトと同じく、いまは
   設定にかかわらず動かしている（ご指示 2026-09-20 の動きを、その設定の
   パソコンで確かめられるように）
   --------------------------------------------------------------------------- */

.calm {
  scroll-behavior: auto;
}
.calm *,
.calm *::before,
.calm *::after {
  animation: none !important;
  transition: none !important;
}
/*
  ただし、濃さだけの出方と、目印の浮き沈みは残す。大きく動くもの
  （目印が飛ぶ・視差・ぼかし・判を押す・なめらかな送り・標語の回転・
  打ち込み・波・見出しの弾み）は止めるが、場所を変えずにふわっと出る
  ものと、小さく浮き沈みする目印までは止めない。止めると何も動かない
  ページになってしまう。送りに合わせた出方（main.js）も、この場合は
  位置を動かさず濃さだけで出す。
*/
.calm .reveal {
  transform: none;
}
.calm .is-ready .reveal {
  transition: opacity 0.9s ease !important;
  transition-delay: calc(var(--i, 0) * 0.28s) !important;
}
.calm .hero__sky {
  transition: opacity 1.2s ease !important;
}
.calm .pin::before,
.calm .pin::after {
  animation: pin-float 7s ease-in-out infinite, pin-pulse 3.4s ease-in-out infinite !important;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) * 1.7) !important;
}
.calm .dot {
  animation: sway 7s ease-in-out infinite !important;
  animation-delay: var(--d, 0s) !important;
}

/* ---------------------------------------------------------------------------
   絵柄（線の図形を、色を変えられるように型抜きで使う）
   --------------------------------------------------------------------------- */

:root {
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.6 21.4 16l-2 2L12 10.6 4.6 18l-2-2Z'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 4.6 20.6 12l-7.4 7.4-1.6-1.6 4.7-4.7H3.5v-2.2h12.8l-4.7-4.7z'/%3E%3C/svg%3E");
  --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.6A2.6 2.6 0 1 1 12 6.4a2.6 2.6 0 0 1 0 5.2Z'/%3E%3C/svg%3E");
  --i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 17.8a7.8 7.8 0 1 1 0-15.6 7.8 7.8 0 0 1 0 15.6ZM13.1 7h-2.2v6.2l5.1 3 1.1-1.8-4-2.4Z'/%3E%3C/svg%3E");
  --i-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4.6 4.6 0 1 0 0-9.2 4.6 4.6 0 0 0 0 9.2Zm0 2.2c-4.5 0-8.2 2.3-8.2 5.2v1.8h16.4v-1.8c0-2.9-3.7-5.2-8.2-5.2Z'/%3E%3C/svg%3E");
}
