@charset "UTF-8";
/* ============================================================================
 * HEARTS PREMIUM MEMBERSHIP — 会員募集ランディングページ
 *
 * 【方針】
 *  ・色は下の :root にまとめています。ここ以外に色を書かないでください。
 *  ・地はガンメタル、差し色はシャンパンゴールド。会員アプリと同じ色です。
 *  ・#FFD700 のような明るい黄色は使いません（安く見えるため）。
 *  ・外部の読み込みはありません。このフォルダだけで動きます。
 * ========================================================================= */

/* ---------------------------------------------------------------------------
 * 1. 色と寸法（唯一の定義元）
 * ------------------------------------------------------------------------ */
:root {
  /* ガンメタル（土台） */
  --gm-950: #080a0c;
  --gm-900: #0d1013;
  --gm-850: #11151a;
  --gm-800: #171c21;
  --gm-750: #1c2228;
  --gm-700: #242b32;
  --gm-650: #2d353d;
  --gm-600: #39424b;

  /* 金属のハイライト */
  --steel-mid: #59616a;
  --steel-light: #a8b0b7;

  /* シャンパンゴールド */
  --gold-950: #4a2f0c;
  --gold-900: #684512;
  --gold-800: #8a5e1c;
  --gold-700: #a87424;
  --gold-600: #c49335;
  --gold-500: #d4af37;
  --gold-400: #e4c260;
  --gold-300: #f0d783;
  --gold-200: #f7e6ac;
  --gold-100: #fff2c9;

  /* 文字 */
  --ink: #f5f3ee;
  --ink-2: #b9bdc2;
  --ink-muted: #868d94;
  --on-gold: #17120a;

  /* 状態 */
  --success: #56a875;
  --danger: #d98080;

  /* 形 */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-panel:
    0 18px 45px rgba(0, 0, 0, 0.46),
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --shadow-gold:
    0 8px 24px rgba(138, 94, 28, 0.22),
    inset 0 1px 0 rgba(255, 242, 201, 0.42),
    inset 0 -1px 0 rgba(74, 47, 12, 0.75);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    system-ui, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho",
    Georgia, serif;

  --header-h: 72px;

  color-scheme: dark;
}

/* ---------------------------------------------------------------------------
 * 2. 土台
 * ------------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 固定ヘッダーの下に見出しが隠れないようにする */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  /*
   * ページ全体の地の色。
   *
   * 【一続きにしています】
   * 以前は節ごとに明るさを付けていたため、「暗い→明るい→暗い」の帯が
   * 3か所にでき、境目が見えていました（2026-08-26 ご指摘）。
   * いまは body に1本だけグラデーションを置き、
   * ページの一番上から一番下まで、少しずつ暗くなるようにしています。
   * 境目はどこにもありません。
   *
   * 【fixed をやめた理由】
   * background-attachment: fixed だと画面に貼り付いてしまい、
   * どこまでスクロールしても同じ明るさになります。
   * それでは「上から下へ」の流れが出ません。
   */
  background: linear-gradient(
    180deg,
    #1a2027 0%,
    #161b22 22%,
    #12171d 50%,
    #0f1318 76%,
    #0c1014 100%
  );
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  /* 日本語は行間を広めにとる */
  line-height: 1.9;
  letter-spacing: 0.02em;
  /* 本体は絶対に横スクロールさせない */
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
  /* 見出しが変なところで折れないようにする */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

/* キーボード操作のフォーカスは必ず見えるようにする */
:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 読み上げにだけ伝える文字 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 数字の幅をそろえる（金額が並んだときにガタつかない） */
.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* 改行の出し分け。
   .pc-br … 広い画面でだけ改行する
   .sp-br … 狭い画面でだけ改行する
   （日本語は、切れてほしくない場所で切れると意味が変わるため） */
.pc-br {
  display: none;
}

.sp-br {
  display: inline;
}

@media (min-width: 600px) {
  .pc-br {
    display: inline;
  }
  .sp-br {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
 * 3. 紙面の骨格
 * ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.narrow {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  padding-block: clamp(72px, 11vw, 132px);
}

.section--tight {
  padding-block: clamp(56px, 8vw, 96px);
}

/* 節の変わり目に引く細い金の線 */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 147, 53, 0.26) 22%,
    rgba(240, 215, 131, 0.44) 50%,
    rgba(196, 147, 53, 0.26) 78%,
    transparent 100%
  );
}

/* 節の英語の小見出し */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: clamp(18px, 4vw, 34px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-700), transparent);
}

.heading {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  letter-spacing: 0.05em;
  margin-top: 1.1em;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(0.94rem, 1.6vw, 1.05rem);
  margin-top: 1.4em;
  /*
   * 1行の長さの上限。
   *
   * 単位を ch から em に変えています（2026-08-25）。
   * ch は半角の「0」1文字ぶんなので、日本語では 46ch ＝ 全角23文字にしかならず、
   * 行が短すぎて、文が細切れに見えていました。
   * em なら全角1文字ぶんなので、36em ＝ 全角36文字。
   * 日本語の読みやすい行長（25〜40字）に収まります。
   *
   * 狭い画面では、画面の幅が先に効くのでこの値は影響しません。
   */
  max-width: 36em;
}

/*
 * 日本語の折り返しを、意味のかたまりで止める。
 *
 * 【なぜ必要か】
 * ブラウザは日本語をどこでも切ります。放っておくと
 *   「バスでも、カフェでも、お風呂でも。貯まる先はひとつ」
 *   「です。」
 * のように、語の途中で改行されて読みにくくなります。
 *
 * 【やり方】
 * 文を「文節」ごとに <span class="ph"> で包みます。
 * inline-block の箱は、入りきらないときに箱ごと次の行へ移るので、
 * かたまりの途中では切れません。
 *
 * 【書くときの注意】
 * span と span のあいだに改行や空白を入れないこと。
 * 日本語には空白が要らないため、入れるとそこに隙間が見えてしまいます。
 */
.ph {
  display: inline-block;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/*
 * 節の導入文（サブコピー）は、見出しと違って「読ませる文章」です。
 * 中央揃えにすると1行ごとに読み始めの位置がずれ、目が迷います。
 * かたまりとしては中央に置いたまま、文字は左頭でそろえます。
 */
.section-head .lead {
  margin-inline: auto;
  text-align: left;
}

.section-head--left {
  align-items: flex-start;
  text-align: left;
}

.section-head--left .lead {
  margin-inline: 0;
}

/*
 * パソコンでだけ1行に収めたい導入文につけます。
 * 「移動・観光・飲食・滞在。それぞれの場面で、会員の方だけのご優待をご用意します。」
 * ＝全角39文字。標準の 36em では入りきらず2行になるため、ここだけ広げます。
 * スマホ（600px以下）は今までどおり、文節ごとに折り返します。
 */
@media (min-width: 601px) {
  .lead--wide {
    max-width: 42em;
  }

  /*
   * 「もてなし」の節も、パソコンでは
   * 「HEARTSは福岡で、バスを走らせ、車を出し、コーヒーを淹れ、お部屋を整えてきました。」
   * までを1行に収めます（実測 41.4em）。
   * 続く「そのすべてを、…」は入りきらないので、自然に2行目へ回ります。
   */
  #hospitality .lead {
    max-width: 44em;
  }
}

/*
 * スマホでは、左揃えのまま文章のかたまりを画面の中央に置きます。
 *
 * 21.5em は、いちばん長い文節
 * 「コーヒーを淹れ、お部屋を整えてきました。」（20.3em）が
 * 途中で切れない下限です。これより狭くすると、文節の中で改行されます。
 */
@media (max-width: 600px) {
  #hospitality .lead {
    max-width: 21.5em;
    margin-inline: auto;
  }
}

/*
 * 320pxの端末では、画面の内側が280pxしかなく、
 * いちばん長い文節（306px）が「…お部屋を整え／てきました。」と
 * 途中で切れていました。文字を少しだけ小さくして収めます。
 */
@media (max-width: 340px) {
  #hospitality .lead {
    font-size: 0.84rem;
  }
}

/*
 * 導入文と、その下の「移動」以下の一覧とのあいだを空けます。
 * 節の見出しと本文が続けて始まると、どこまでが導入か分かりにくいためです。
 */
.section-head + .category {
  margin-top: clamp(40px, 5vw, 64px);
}

/*
 * 「HEARTSの10のサービスが、」はスマホで1行に3pxだけ入りきらず、
 * 「、」が次の行の先頭に落ちていました（日本語では避ける形）。
 * この見出しだけ字間をわずかに詰めて収めています。
 * 実測：0.05em＝338px → 0.03em＝330px（使える幅335px）
 */
@media (max-width: 600px) {
  #services .heading {
    letter-spacing: 0.03em;
  }
}

/* ---------------------------------------------------------------------------
 * 4. 面（パネル）
 * ------------------------------------------------------------------------ */
.panel {
  position: relative;
  /*
   * 地の色を明るくしたぶん、面も一段持ち上げています（2026-08-26）。
   * 持ち上げないと、カードが地より暗くなって「浮いた板」ではなく
   * 「掘った穴」に見えてしまいます。
   * どの高さでも、地より9〜10段ほど明るくなるようにそろえてあります。
   */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(160deg, var(--gm-700) 0%, #1b2127 58%, #151a20 100%);
  border: 1px solid rgba(89, 97, 106, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
}

/* 面の上辺に一本だけ光を置く。金属らしさはここで出る */
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 242, 201, 0.22) 30%,
    rgba(255, 242, 201, 0.38) 50%,
    rgba(255, 242, 201, 0.22) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* おすすめの面。金の縁を一段だけ強くする（金を増やしすぎない） */
.panel--gold {
  border-color: rgba(196, 147, 53, 0.5);
  box-shadow:
    var(--shadow-panel),
    0 0 0 1px rgba(196, 147, 53, 0.14),
    0 18px 60px rgba(138, 94, 28, 0.14);
}

/* ---------------------------------------------------------------------------
 * 5. 金の表現
 * ------------------------------------------------------------------------ */
.gold-text {
  /* 背景切り抜きが効かない環境ではこの単色になる */
  color: var(--gold-300);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .gold-text {
    background-image: linear-gradient(
      135deg,
      var(--gold-700) 0%,
      var(--gold-500) 26%,
      var(--gold-200) 48%,
      var(--gold-600) 72%,
      var(--gold-300) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* 小さな印 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  border: 1px solid rgba(89, 97, 106, 0.4);
  color: var(--ink-2);
  background: rgba(13, 16, 19, 0.75);
}

/*
 * 「おすすめ」の札は、カードの枠線の上にまたがって置いています。
 * 半透明だと枠線が札を横切って見えてしまうため、塗りは不透明にします。
 * 色は、パネルと同じ「上が少し明るい金属の面」の作り方をそろえた
 * 暖色寄りのガンメタルです。金の文字と枠に自然になじみます。
 */
.chip--gold {
  border-color: rgba(196, 147, 53, 0.55);
  color: var(--gold-200);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(160deg, #33291a 0%, #292116 100%);
}

.chip--pending {
  border-color: rgba(89, 97, 106, 0.45);
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------------------
 * 6. ボタン
 * ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  /* 指で押せる大きさを必ず確保する */
  min-height: 52px;
  padding: 0.9em 1.9em;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    filter 0.22s var(--ease),
    border-color 0.22s var(--ease),
    background-color 0.22s var(--ease);
}

.btn--gold {
  position: relative;
  overflow: hidden;
  color: var(--on-gold);
  background-image: linear-gradient(
    135deg,
    var(--gold-800) 0%,
    var(--gold-500) 26%,
    var(--gold-200) 47%,
    var(--gold-700) 71%,
    var(--gold-400) 100%
  );
  box-shadow: var(--shadow-gold);
}

/* 金の上をゆっくり光が流れる。目立たせすぎない */
.btn--gold::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    100deg,
    transparent 42%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 58%
  );
  transform: translateX(-60%);
  animation: sheen 5.5s var(--ease) infinite;
  pointer-events: none;
}

.btn--gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--gold:active {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.btn--ghost {
  color: var(--gold-200);
  border: 1px solid rgba(196, 147, 53, 0.45);
  background: rgba(23, 28, 33, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: rgba(240, 215, 131, 0.7);
  background: rgba(36, 43, 50, 0.7);
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ---------------------------------------------------------------------------
 * 7. ヘッダー
 * ------------------------------------------------------------------------ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(8, 10, 12, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo img {
  height: 24px;
  width: auto;
}

.header__logo span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gold-400);
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.82rem;
  color: var(--ink-2);
}

.header__nav a:hover {
  color: var(--gold-200);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__cta {
  min-height: 44px;
  padding: 0.6em 1.3em;
  font-size: 0.8rem;
}

/* 小さな画面のボタン（三本線） */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 21, 26, 0.72);
  cursor: pointer;
}

.burger__lines {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.burger__lines i {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--gold-200);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.burger__lines i:nth-child(1) {
  top: 0;
}
.burger__lines i:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.burger__lines i:nth-child(3) {
  bottom: 0;
}

.burger[aria-expanded="true"] i:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.burger[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] i:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* 小さな画面で開く案内 */
.menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 10, 12, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}

.menu.is-open {
  display: block;
}

.menu ul li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.menu a.menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-size: 0.95rem;
}

.menu a.menu__item span {
  color: var(--gold-700);
}

.menu .btn {
  margin: 20px 0 24px;
}

/* ---------------------------------------------------------------------------
 * 8. 最初の一画面
 * ------------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  will-change: transform;
  transform: scale(1.08);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 空の青が強すぎると金が沈むので、少しだけ落ち着かせる */
  filter: saturate(0.86) contrast(1.02);
}

/*
 * 写真の上に重ねる闇。文字が読めるところまで沈める。
 *
 * 【下端の色は body に合わせること】2026-08-26
 * 最後を「ほぼ真っ黒」で終えていたため、その下に続く body の
 * グラデーション（この位置では rgb(25,31,38)）との差が15段階ぶん
 * 一気に出て、横一文字の線に見えていました。
 *
 * いまは最後の色を body 側とそろえ、不透明で終わらせています。
 * 写真が地の色に溶けて消えるので、境目がありません。
 * body のグラデーションを変えたときは、ここの終わりの色も合わせてください。
 */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 12, 0.88) 0%,
    rgba(8, 10, 12, 0.6) 30%,
    rgba(8, 10, 12, 0.78) 62%,
    rgba(19, 24, 30, 0.95) 88%,
    rgb(25, 31, 38) 100%
  );
}

.hero__inner {
  position: relative;
  padding-block: 96px 64px;
}

/*
 * スマートフォンでは、ヘッダーと「HEARTS PREMIUM MEMBERSHIP」の間が
 * 空きすぎて見えるため、上の余白をおよそ半分にします。
 * 実測：ヘッダー下端からeyebrowまで 105px → 53px
 * （下の余白は、料金カードとの間隔なのでそのままにしています）
 */
@media (max-width: 600px) {
  .hero__inner {
    padding-top: 44px;
  }
}

.hero h1 {
  margin-top: 26px;
  /*
   * 【文字の大きさは、いちばん長い行に合わせています】
   * パソコンでは「HEARTSを使うほど、毎日がもっとお得に。」を1行に収めます。
   * この行は約21.1em。入る幅は container の内側（最大1060px）なので、
   * 大きくしすぎると勝手に折り返してしまいます。
   * 4.1vw／上限3.05rem は、1000px前後のノートパソコンでも
   * 折り返さないことを実測して決めた値です。触るときは幅を測り直してください。
   */
  max-width: 22em;
  font-size: clamp(1.7rem, 4.1vw, 3.05rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.hero h1 span {
  display: block;
}

/*
 * タブレットくらいまでは、見出しを2行ずつにします。
 * 無理に1行へ詰めると文字が小さくなりすぎて、かえって読みにくいためです。
 * （.sp-br は600pxで消えるので、ここで見出しだけ差し戻しています）
 */
@media (max-width: 900px) {
  .hero h1 .sp-br {
    display: inline;
  }
}

/*
 * 320px前後の小さな端末（iPhone SE など）では、
 * 「HEARTSを使うほど、」が1行に入らず、勝手に折り返してしまいます。
 * 実測：必要291px に対して使える幅280px。少しだけ小さくして収めます。
 */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.5rem;
  }
}

/*
 * 見出し直下の「『HEARTSポイントアプリ』会員募集中！」
 * 見出し(h1)より小さく、価格の説明(.hero__sub)より大きい中間の重さにして、
 * 視線が h1 → ここ → 料金 と自然に流れるようにしています。
 * アプリ名は .gold-text で金に、「会員募集中！」は白のままにして
 * 「何の」「何を」が一目で切り分かるようにしました。
 */
.hero__recruit {
  margin-top: 20px;
  max-width: 24em;
  font-size: clamp(1.15rem, 2.9vw, 1.7rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.hero__recruit-tail {
  color: var(--gold-100);
}

/*
 * 360px前後の端末では「『HEARTSポイントアプリ』会員募集中！」が
 * 1行に収まらないので、アプリ名と「会員募集中！」で改行させます。
 */
@media (max-width: 400px) {
  .hero__recruit-tail {
    display: block;
  }
}

.hero__sub {
  margin-top: 28px;
  /* 「まずは一般会員から、いつでも始めていただけます。」＝全角23文字 */
  max-width: 26em;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 2;
  color: var(--ink-2);
}

/* 「入会金は無料。」は、いちばん伝えたいこと。
   1行だけ独立させて、少し大きく・太く・金色にする。 */
.hero__free {
  display: block;
  margin-bottom: 2px;
  font-size: 1.32em;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero__sub-text {
  display: block;
}

.hero__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.price-card {
  flex: 1 1 9.5rem;
  min-width: 9.5rem;
  padding: 16px 20px;
}

.price-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

.price-card__value {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1;
}

.price-card__value .unit {
  margin-left: 4px;
  font-size: 0.6em;
  color: var(--ink-2);
}

/* 「入会金・会費とも無料」など、金額に添える一言 */
.price-card__note {
  margin-top: 8px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.price-card--gold {
  position: relative;
}

.price-card--gold .chip {
  position: absolute;
  top: -13px;
  left: 16px;
}

.hero__saving {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--gold-200);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.hero__note {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------------------
 * 9. 一日の流れ
 * ------------------------------------------------------------------------ */
.journey {
  display: grid;
  gap: 1px;
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.journey li {
  position: relative;
  background: rgba(13, 16, 19, 0.92);
  padding: 32px 24px;
}

.journey__no {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--gold-700);
}

.journey__label {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.5;
}

.journey__detail {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--ink-2);
}

.journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 94, 28, 0.45), transparent);
}

.journey-summary {
  margin-top: 48px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  line-height: 1.9;
}

/* ---------------------------------------------------------------------------
 * 10. サービス
 * ------------------------------------------------------------------------ */
.category + .category {
  margin-top: clamp(56px, 8vw, 92px);
}

.category__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(89, 97, 106, 0.28);
}

.category__name {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  letter-spacing: 0.08em;
}

.category__en {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold-600);
}

.category__lead {
  width: 100%;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.cards {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card__figure {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gm-900);
  border-bottom: 1px solid rgba(89, 97, 106, 0.24);
}

.card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 0.9s var(--ease);
}

/* 写真の下側をわずかに沈める（上に文字を置いても読めるように） */
.card__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0) 46%, rgba(8, 10, 12, 0.6) 100%);
  pointer-events: none;
}

.card__pending {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.card__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.card__lead {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.card__benefits {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(89, 97, 106, 0.22);
}

.card__benefits-label {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--gold-600);
}

/* 特典のならび。頭の菱形は金 */
.blist {
  margin-top: 12px;
}

.blist li {
  position: relative;
  padding-left: 1.5em;
  font-size: 0.88rem;
  line-height: 1.85;
}

.blist li + li {
  margin-top: 4px;
}

.blist li::before {
  content: "";
  position: absolute;
  left: 0.25em;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-700));
}

/* 未承認の内容に付ける印 */
.proposed {
  margin-left: 0.35em;
  color: var(--gold-600);
  font-size: 0.8em;
  vertical-align: super;
}

.note {
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--ink-muted);
}

.note--boxed {
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px solid rgba(89, 97, 106, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(13, 16, 19, 0.6);
}

/* ---------------------------------------------------------------------------
 * 11. 年額会員の入会特典
 * ------------------------------------------------------------------------ */
.bonus {
  position: relative;
  overflow: hidden;
}

.bonus__grid {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  border: 1px solid rgba(196, 147, 53, 0.28);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(196, 147, 53, 0.16);
}

.bonus__grid li {
  background: rgba(17, 21, 26, 0.96);
  padding: 26px 22px;
}

.bonus__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.bonus__detail {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--gold-200);
  letter-spacing: 0.06em;
}

/* ---------------------------------------------------------------------------
 * 12. ポイントとクーポン
 * ------------------------------------------------------------------------ */
.points {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/*
 * ポイントの節の背景写真。
 *
 * 【上下を透かして、地に溶かしています】2026-08-26
 * 以前は写真と覆いが節の端でぷつりと終わっていたため、
 * 上下に横一文字の境目が出て「帯」に見えていました。
 *
 * いま使っているのは mask（マスク）です。写真そのものを
 * 上下の端に向かって透明にしていくので、body のグラデーションが
 * そのまま透けて、どこが境目か分からなくなります。
 *
 * 色を手で合わせる方法もありますが、それだとページの長さが変わるたびに
 * 合わせ直しが要ります。マスクなら、そのままで崩れません。
 */
.points__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 20%,
    #000 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 20%,
    #000 78%,
    transparent 100%
  );
}

.points__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.5);
}

/* 覆いも同じように、上下の端では消しておく（端に色を残すと境目になる） */
.points__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 12, 0) 0%,
    rgba(8, 10, 12, 0.82) 20%,
    rgba(8, 10, 12, 0.78) 50%,
    rgba(8, 10, 12, 0.84) 78%,
    rgba(8, 10, 12, 0) 100%
  );
}

.points__grid {
  display: grid;
  gap: 18px;
  margin-top: 48px;
}

.points__item {
  padding: 24px 22px;
}

.points__item h3 {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.points__item p {
  margin-top: 8px;
  font-size: 0.84rem;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------------------
 * 12-b. スクロールで現れる背景（風景）
 *
 * 福岡タワー（最初の一画面）→ 博多駅 → 大宰府 → 糸島 の順に、
 * 読み進めるにつれて、節の後ろにそっと写真が浮かび上がります。
 *
 * 【写真は主役ではありません】
 * 上に載る文字が読めることが先です。写真は暗く沈めて、
 * 「そこに景色がある」と感じる程度にとどめます。
 *
 * 【パソコンとスマホで写真を分けています】
 * 横長の写真をスマホの縦長画面に敷くと、主役（タワーや鳥居）が
 * 画面の外へ出てしまうためです。切り替えは HTML の <picture> で行います。
 * ------------------------------------------------------------------------ */
/* ===========================================================================
 * 【いまは止めています】2026-08-26
 *
 * 節ごとに背景と覆いを置いたところ、「暗い→明るい→暗い」の帯が
 * 3か所にできて、境目が見えてしまいました。
 * 代わりに body 全体で一続きのグラデーションを掛ける形に変えています。
 *
 * 博多駅・大宰府・糸島の写真が届いて、もう一度この演出を使うときは、
 * 下の1行（.scenery__bg, .scenery__scrim { display: none })を消してください。
 * HTMLもJavaScriptもそのまま残してあるので、それだけで戻ります。
 *
 * ただし戻すときは、帯が出ないように覆いの作り方を見直すこと
 * （節の上下を濃くするのをやめ、全体を一定の濃さにするなど）。
 * ======================================================================== */
.scenery__bg,
.scenery__scrim {
  display: none;
}

.scenery {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.scenery__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  /* ほんの少し引いた状態から、等倍へ。これが「フワッと」の正体 */
  transform: scale(1.06);
  transition:
    opacity 1.5s var(--ease),
    transform 2.2s var(--ease);
  will-change: opacity, transform;
}

.scenery.is-shown .scenery__bg {
  opacity: 1;
  transform: none;
}

.scenery__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*
   * 色を抜いて暗く沈める。ガンメタルの地になじませる。
   *
   * 【暗くしすぎない】
   * 0.44 まで落としていたときは、覆いと合わさって
   * 地の色とほとんど区別がつきませんでした。
   * 0.58 なら、景色があると分かり、なお文字は読めます。
   */
  filter: saturate(0.72) brightness(0.58);
}

/*
 * 写真の上に重ねる闇。文字が読めるところまで落とす。
 *
 * 【濃さの決め方】
 * 濃くしすぎると、背景が出ても地の色と見分けがつかなくなります
 * （0.84 にしていたときは、差がわずか4段階しかなく、動いても分かりませんでした）。
 * 真ん中を 0.66 まで薄めています。この濃さでも、
 * 本文の文字（#b9bdc2）との対比は 8.5:1 あり、読みやすさは保てます。
 *
 * 上下の端を濃くしているのは、前後の節との境目を目立たせないためです。
 */
.scenery__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 12, 0.94) 0%,
    rgba(8, 10, 12, 0.54) 36%,
    rgba(8, 10, 12, 0.56) 64%,
    rgba(8, 10, 12, 0.94) 100%
  );
}

/* 動きを減らす設定の方には、最初から出したままにする */
@media (prefers-reduced-motion: reduce) {
  .scenery__bg {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
 * 13. 料金プランの比較
 * ------------------------------------------------------------------------ */
.plans {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  /* 「おすすめ」の吹き出しが切れないよう、上に余白をとる */
  padding-top: 14px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 30px;
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 28px;
}

.plan__en {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--gold-600);
}

.plan__name {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

.plan__price {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 6vw, 2.9rem);
  line-height: 1;
}

.plan__price .unit {
  margin-left: 6px;
  font-size: 0.42em;
  color: var(--ink-2);
  letter-spacing: 0.08em;
}

.plan__per {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--gold-200);
  min-height: 1.9em;
}

.plan__lead {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.plan__includes {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(89, 97, 106, 0.24);
  flex: 1;
}

.plan .btn {
  margin-top: 28px;
}

/* ---------------------------------------------------------------------------
 * 14. おトクのめやす
 * ------------------------------------------------------------------------ */
.sim {
  margin-top: 44px;
  padding: 28px 24px 26px;
}

.sim__table-wrap {
  /* 幅の狭い画面では、表だけを横に動かす（ページ本体は動かさない） */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sim table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.sim th,
.sim td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(89, 97, 106, 0.22);
}

.sim thead th {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-600);
  border-bottom-color: rgba(196, 147, 53, 0.3);
}

.sim td:last-child,
.sim th:last-child {
  text-align: right;
  white-space: nowrap;
}

.sim tfoot td {
  border-bottom: 0;
  padding-top: 18px;
  font-size: 1rem;
}

.sim tfoot .total {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.sim__compare {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(89, 97, 106, 0.24);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------------------
 * 14-b. 一般会員とプレミアム会員の比較表
 *
 * プレミアムの列を一段持ち上げ、上に王冠を載せます。
 * 「どちらを選ぶか」を、目で見て一瞬で分かるようにするためです。
 * ------------------------------------------------------------------------ */
.compare {
  position: relative;
  /* 王冠が上に出るぶんの余白 */
  margin-top: 64px;
}

.compare__crown {
  position: absolute;
  top: -38px;
  /*
   * プレミアムの列の中央に載せます。
   * 列の幅は 項目名28％ / プレミアム36％ / 一般36％。
   * 中央は 28 + 36÷2 = 46％。
   * 下の .compare__table の width を変えたら、ここも合わせること。
   */
  left: 46%;
  transform: translateX(-50%);
  z-index: 2;
  line-height: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.compare__wrap {
  /* 幅の狭い画面では、表だけを横に動かす（ページ本体は動かさない） */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

.compare__table {
  width: 100%;
  /*
   * スマホでも横に動かさずに読めるようにします。
   * 420px にしていたときは表だけ横スクロールになり、
   * 動かすと王冠だけ取り残されて位置がずれていました。
   * 320pxの端末（内側280px）でも収まるよう、260pxまで下げています。
   */
  min-width: 260px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
  /*
   * 列の幅を指定どおりに固定します。
   * これを付けないと、ブラウザが中身の長さで勝手に幅を決めてしまい、
   * 王冠を載せる位置（46％）と、実際の列の位置がずれます。
   */
  table-layout: fixed;
}

/* ---- 見出しの行 ---- */
/*
 * 幅固定の表では、いちばん上の行のセルで列幅が決まります。
 * ここで指定しないと、下の行に書いた幅は無視されます（一度そうなりました）。
 * 項目名28％ ＋ プレミアム36％ ＋ 一般36％ ＝ 100％。
 */
.compare__table thead td {
  width: 28%;
}

.compare__head {
  width: 36%;
  padding: 18px 14px;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink);
  background: var(--gm-800);
  border-bottom: 1px solid rgba(89, 97, 106, 0.3);
}

/* プレミアムの列。金の縁で囲って持ち上げる */
.compare__head--premium {
  position: relative;
  color: var(--gold-100);
  background:
    linear-gradient(180deg, rgba(196, 147, 53, 0.24) 0%, rgba(138, 94, 28, 0.14) 100%),
    var(--gm-750);
  border-top: 1px solid rgba(240, 215, 131, 0.55);
  border-left: 1px solid rgba(196, 147, 53, 0.4);
  border-right: 1px solid rgba(196, 147, 53, 0.4);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.compare__badge {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--gold-200);
}

/* ---- 中身の行 ---- */
.compare__table th[scope="row"] {
  width: 28%;
  padding: 15px 14px;
  text-align: left;
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--ink-2);
  background: rgba(13, 16, 19, 0.6);
  border-bottom: 1px solid rgba(89, 97, 106, 0.22);
}

.compare__table td {
  width: 36%;
  padding: 15px 14px;
  text-align: center;
  color: var(--ink-2);
  background: rgba(13, 16, 19, 0.45);
  border-bottom: 1px solid rgba(89, 97, 106, 0.22);
}

/* プレミアムの列は、上から下まで金の縁でつなぐ */
.compare__table td.is-premium {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(196, 147, 53, 0.09), rgba(196, 147, 53, 0.05)),
    rgba(23, 28, 33, 0.85);
  border-left: 1px solid rgba(196, 147, 53, 0.4);
  border-right: 1px solid rgba(196, 147, 53, 0.4);
}

.compare__table tbody tr:last-child td.is-premium {
  border-bottom: 1px solid rgba(196, 147, 53, 0.4);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/*
 * 中身のある値（無料・金額・％・券の名前）を、大きく見せます。
 *
 * 【大きさは左右そろえ、色で分けます】2026-08-28 戸島社長ご指示
 *   プレミアム会員（左） … 金色
 *   一般会員（右）      … 白
 * 大きさをそろえたのは、左右で高さが違うと見比べにくいためです。
 * 色を分けたのは、どちらが上位の会員かを一目で分かるようにするためです。
 */
.compare__table td .big,
.compare__table td.is-premium .big {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
}

/* プレミアム会員の列だけ金色にします */
.compare__table td.is-premium .big,
.compare__table td.is-premium .compare__yes {
  color: var(--gold-200);
}

/*
 * 「—」＝その会員にはない、を表す印。
 * 目立たせません。無いものが目立つと、意味が逆に伝わるためです。
 */
.compare__none,
.compare__table td .big .compare__none {
  font-size: 1.05rem;
  color: var(--ink-muted);
}

/* 「あり」も値と同じ大きさに。色は上の指定で左右に分かれます */
.compare__yes {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
}

/* 補足（先行登録の特典 など） */
.compare__sub {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--ink-muted);
  /* 「キャンペーンクー / ポン」のように語の途中で折り返さないようにする */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---- いちばん下の合計欄（金額で比べるときだけ出す） ---- */
.compare__table tfoot td,
.compare__table tfoot th {
  padding: 18px 14px;
  border-bottom: 0;
  font-size: 0.9rem;
}

.compare__total {
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.compare__punchline {
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(196, 147, 53, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(74, 47, 12, 0.22);
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--gold-200);
}

.compare__note {
  margin-top: 20px;
}

/* ---- 狭い画面 ---- */
@media (max-width: 560px) {
  .compare__table {
    font-size: 0.82rem;
  }

  .compare__table th[scope="row"],
  .compare__table td {
    padding: 12px 6px;
  }

  /*
   * 列の見出しを、必ず1行に収める。
   *
   * 「プレミアム会員」は7文字で113px必要ですが、
   * 375pxの端末では列の内側が93pxしかなく、「プレミアム／会員」と
   * 折り返して、隣の「一般会員」と行数がそろわなくなっていました。
   *
   * 画面が狭いときだけ、幅に合わせて文字を小さくします。
   *   必要な幅  ＝ 文字の大きさ × 7.2
   *   使える幅  ＝ 表の幅(画面-40px) × 36％ − 左右の余白16px
   * この2つが釣り合う式が calc(5vw - 4.5px) です。
   * 390px以上の端末では 0.98rem のまま（今までと同じ大きさ）になります。
   * 列の幅（36％）や余白を変えるときは、この式も見直してください。
   */
  .compare__head {
    padding: 18px 8px;
    font-size: min(0.98rem, calc(5vw - 4.5px));
    white-space: nowrap;
  }

  /*
   * 「30〜50％OFF」「500円OFF券」のように長い値は、
   * 狭い画面では少し小さくして、途中で折り返さないようにします。
   *
   * 【3つまとめて書く理由】
   * 上の方で .is-premium 側にも指定しているため、片方だけ書くと
   * プレミアム列だけ大きいままになり、左右がそろいません。
   */
  .compare__table td .big,
  .compare__table td.is-premium .big,
  .compare__yes {
    font-size: 1.05rem;
    word-break: keep-all;
  }

  .compare__crown svg {
    width: 42px;
    height: 29px;
  }
}

/*
 * 320pxの端末（iPhone SE など）だけ、値をもう一段小さくします。
 * いちばん長い「500円OFF券」が列からはみ出すためです。
 * 375px以上の端末は上の指定のままで、見た目は変わりません。
 */
@media (max-width: 340px) {
  .compare__table td .big,
  .compare__table td.is-premium .big,
  .compare__yes {
    font-size: 0.94rem;
  }
}

/* ---------------------------------------------------------------------------
 * 15. 国内の事例
 * ------------------------------------------------------------------------ */
.examples {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

.example {
  padding: 24px 22px;
}

.example__company {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold-600);
}

.example__program {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.example__summary {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.strength {
  margin-top: 44px;
  padding: 32px 28px;
  text-align: center;
}

.strength p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  line-height: 1.9;
}

/*
 * スマホでは、左揃えのかたまりにして中央に置きます。
 *
 * 中央ぞろえのままだと、4行それぞれの左端がバラバラになって落ち着きません。
 * 左端をそろえたうえで、かたまりごと中央に置きます。
 *
 * 12.5em は、いちばん長い文節「移動も、観光も、食事も、」（206px）に
 * 合わせた幅です。これで4つの文節がそれぞれ1行に収まり、
 * どの画面幅でも折り返す場所が変わりません。
 *   移動も、観光も、食事も、
 *   宿泊も、お風呂も。
 *   ひとつの会員体験として、
 *   お届けします。
 * 文言を変えるときは、いちばん長い文節の幅を測り直してください。
 */
@media (max-width: 600px) {
  .strength {
    text-align: left;
  }

  .strength p {
    max-width: 12.5em;
    margin-inline: auto;
  }
}

/* ---------------------------------------------------------------------------
 * 16. ご入会の流れ
 * ------------------------------------------------------------------------ */
.steps {
  counter-reset: step;
  margin-top: 48px;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(13, 16, 19, 0.92);
  padding: 26px 24px;
}

.steps__no {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(196, 147, 53, 0.45);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold-200);
  background: rgba(74, 47, 12, 0.25);
}

.steps__title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.steps__detail {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------------------
 * 17. お申し込みフォーム
 * ------------------------------------------------------------------------ */
.apply {
  position: relative;
}

.form {
  margin-top: 40px;
  padding: 32px 26px 30px;
}

.field + .field {
  margin-top: 24px;
}

.field > label,
.field > .field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.req {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
}

.opt {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  color: var(--ink-2);
  border: 1px solid rgba(89, 97, 106, 0.5);
}

.field__hint {
  margin-top: 6px;
  font-size: 0.79rem;
  color: var(--ink-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  width: 100%;
  margin-top: 10px;
  /* 指で押せる高さ。iOSで拡大されないよう16px以上にする */
  min-height: 52px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: rgba(8, 10, 12, 0.72);
  border: 1px solid rgba(89, 97, 106, 0.42);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

select {
  /* 自前の三角。画像を使わない */
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-400) 50%),
    linear-gradient(135deg, var(--gold-400) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

input:focus,
select:focus {
  border-color: rgba(240, 215, 131, 0.7);
  box-shadow: 0 0 0 3px rgba(196, 147, 53, 0.16);
  outline: none;
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--danger);
}

/* 電話番号（国番号＋番号） */
.phone {
  display: grid;
  grid-template-columns: minmax(9.5rem, 13rem) 1fr;
  gap: 10px;
  margin-top: 10px;
}

.phone select,
.phone input {
  margin-top: 0;
}

/* ---------------------------------------------------------------------------
 * お名前（姓・名の2つの欄）
 * ------------------------------------------------------------------------ */
.field--name {
  border: 0;
  padding: 0;
  margin: 0;
}

.field--name > legend {
  padding: 0;
}

.name-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.name-pair input {
  margin-top: 0;
  min-width: 0;
}

/* ---------------------------------------------------------------------------
 * 生年月日（年・月・日の3つの選択）
 *
 * カレンダー式にすると、生まれ年まで何十回もさかのぼることになります。
 * スマートフォンではとくにつらいので、3つの選択に分けています。
 * ------------------------------------------------------------------------ */
.field--birth {
  border: 0;
  padding: 0;
  margin: 0;
}

.field--birth > legend {
  padding: 0;
}

.birth {
  display: grid;
  /* 年は和暦も入るので広く、月と日は同じ幅でそろえる */
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.birth__cell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.birth__cell select {
  margin-top: 0;
  /* 幅の狭い画面でも、はみ出さずに縮む */
  min-width: 0;
  flex: 1;
  /* 「年」「月」「日」の文字と重ならないよう、右の余白を少し詰める */
  padding-right: 34px;
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 10px) calc(50% - 2px);
}

.birth__unit {
  flex-shrink: 0;
  font-size: 0.86rem;
  color: var(--ink-2);
}

/* ---- 狭い画面 ---- */
@media (max-width: 420px) {
  .birth {
    /* 年は1行使い、月と日を下の段に並べる。3つ横並びだと年が窮屈になる */
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .birth__cell--year {
    grid-column: 1 / -1;
  }
}

/* 料金プランの選び方 */
.plan-choice {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

/*
 * 「プレミアム会員」のくくり。
 *
 * 月額・年額は、どちらもプレミアム会員の中の支払い方の違いです。
 * 並べただけだと「プレミアム会員」という言葉が画面から消えてしまうので、
 * 金色の細い縦線でひとまとまりに見せ、上に見出しを置いています。
 *
 * fieldset の既定の枠線と余白は、ここで打ち消しています。
 */
.plan-group {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 2px solid rgba(196, 147, 53, 0.45);
}

.plan-group__label {
  padding: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-200);
}

.plan-choice label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  border: 1px solid rgba(89, 97, 106, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 12, 0.5);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.plan-choice label:hover {
  border-color: rgba(196, 147, 53, 0.5);
}

.plan-choice__body {
  display: block;
}

/* 選ばれたときだけ、金の縁になる。
   is-selected は JavaScript が付けます（:has() が使えない端末のため） */
.plan-choice label:has(input:checked),
.plan-choice label.is-selected {
  border-color: rgba(196, 147, 53, 0.75);
  background: rgba(74, 47, 12, 0.22);
}

.plan-choice input[type="radio"] {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 4px 0 0;
  accent-color: var(--gold-500);
}

.plan-choice__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
}

.plan-choice__price {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--gold-200);
}

.plan-choice__note {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* 同意のチェック */
.agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.8;
}

.agree + .agree {
  margin-top: 14px;
}

.agree input[type="checkbox"] {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 5px 0 0;
  accent-color: var(--gold-500);
}

.agree a {
  color: var(--gold-200);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 罠の欄（人には見せない） */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 入力の誤りの案内 */
.error {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--danger);
}

.form__status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(89, 97, 106, 0.4);
  background: rgba(8, 10, 12, 0.6);
  font-size: 0.85rem;
  line-height: 1.85;
}

.form__status[data-tone="ok"] {
  border-color: rgba(86, 168, 117, 0.5);
  color: var(--ink);
}

.form__status[data-tone="ng"] {
  border-color: rgba(217, 128, 128, 0.55);
}

.form__status[hidden] {
  display: none;
}

/* ---------------------------------------------------------------------------
 * 18. よくあるご質問
 * ------------------------------------------------------------------------ */
.faq {
  margin-top: 44px;
  border-top: 1px solid rgba(89, 97, 106, 0.26);
}

.faq__item {
  border-bottom: 1px solid rgba(89, 97, 106, 0.26);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  padding: 20px 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
}

.faq__q:hover {
  color: var(--gold-200);
}

/* ＋ が × に変わる印 */
.faq__mark {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 6px;
}

.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--gold-400);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq__mark::before {
  width: 16px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq__mark::after {
  width: 1.5px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq__q[aria-expanded="true"] .faq__mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* 開閉。高さを測って動かす（JSが入れる） */
.faq__a {
  overflow: hidden;
  height: 0;
  transition: height 0.34s var(--ease);
}

.faq__a-inner {
  padding: 0 4px 24px;
  font-size: 0.88rem;
  line-height: 1.95;
  color: var(--ink-2);
}

.faq__pending {
  display: inline-block;
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------------------
 * 19. 大切なお知らせ（法令表示）
 * ------------------------------------------------------------------------ */
.legal {
  margin-top: 40px;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.legal__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  background: rgba(13, 16, 19, 0.92);
  padding: 18px 22px;
}

.legal__label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--gold-600);
}

.legal__value {
  font-size: 0.88rem;
  color: var(--ink-2);
  /* <dd> は既定で左に大きな余白が付くので、消しておく */
  margin: 0;
  /* 長い条文が続くので、行間を本文よりわずかに広げる */
  line-height: 1.95;
}

/* ---------------------------------------------------------------------------
 * 19-b. 関連する公的情報（消費者庁へのご案内）
 * ------------------------------------------------------------------------ */
.public-info {
  margin-top: 28px;
  padding: 22px 24px 24px;
  border: 1px solid rgba(89, 97, 106, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(13, 16, 19, 0.6);
}

.public-info__title {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.public-info__lead {
  margin-top: 12px;
  font-size: 0.84rem;
  line-height: 1.95;
  color: var(--ink-2);
}

.public-info__links {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.public-info__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  /* 指で押せる高さを確保する */
  min-height: 44px;
  align-content: center;
  flex-wrap: wrap;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--gold-200);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.public-info__links a:hover {
  color: var(--gold-100);
  text-decoration-thickness: 2px;
}

/* 外部リンクの目印。文字なので、画像も別ファイルも要らない */
.ext {
  font-size: 0.9em;
  color: var(--gold-400);
}

.draft-banner {
  margin-top: 32px;
  padding: 18px 22px;
  border: 1px solid rgba(196, 147, 53, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(74, 47, 12, 0.2);
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--gold-200);
}

/* ---------------------------------------------------------------------------
 * 20. ページ下部
 * ------------------------------------------------------------------------ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: 56px 40px;
  background: rgba(8, 10, 12, 0.6);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer__logo img {
  height: 26px;
  width: auto;
}

.footer__company {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-2);
}

.footer__links {
  display: grid;
  gap: 10px;
  font-size: 0.82rem;
}

.footer__links a:hover {
  color: var(--gold-200);
}

.footer__sources {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__sources h2 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold-600);
  font-weight: 500;
}

.footer__sources ul {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.footer__sources a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

/*
 * 写真のクレジット。
 * ライセンスの条件なので消せませんが、案内の邪魔にならないよう
 * 小さく静かに置きます（表示の場所と大きさは「合理的な方法」であればよい）。
 */
.footer__credit {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  line-height: 1.9;
  color: var(--ink-muted);
}

.footer__credit a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__credit a:hover {
  color: var(--gold-200);
}

.footer__copy {
  margin-top: 20px;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------------------
 * 21. 下部に貼りつく申し込み帯（スマートフォン）
 * ------------------------------------------------------------------------ */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 55;
  display: none;
  padding: 10px clamp(14px, 4vw, 20px) calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 10, 12, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(196, 147, 53, 0.25);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.sticky-cta.is-shown {
  transform: none;
}

.sticky-cta__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/*
 * 帯の左側。以前は金額（年額9,900円）を出していましたが、
 * 「9,900円に申し込む」と読まれかねないため、金額はやめました。
 * 上段に小さく前置き、下段に金色で誘い文句を置きます。
 */
.sticky-cta__lead {
  flex-shrink: 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.sticky-cta__lead b {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--gold-200);
}

.sticky-cta .btn {
  flex: 1;
  min-height: 50px;
  padding-inline: 1rem;
  font-size: 0.88rem;
}

/* ---------------------------------------------------------------------------
 * 21-b. 規約などの文書ページ
 * ------------------------------------------------------------------------ */
.doc {
  padding-block: calc(var(--header-h) + 48px) 80px;
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gold-200);
}

.doc__back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.doc h1 {
  margin-top: 24px;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: 0.05em;
}

.doc__meta {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.doc section {
  margin-top: 44px;
}

.doc h2 {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(89, 97, 106, 0.3);
}

.doc h3 {
  margin-top: 28px;
  font-size: 1rem;
}

.doc p,
.doc li {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--ink-2);
}

.doc p + p {
  margin-top: 1em;
}

.doc h2 + p,
.doc h3 + p,
.doc h2 + ul,
.doc h2 + ol {
  margin-top: 1.2em;
}

.doc ol.num {
  counter-reset: item;
  margin-top: 1.2em;
}

.doc ol.num > li {
  counter-increment: item;
  position: relative;
  padding-left: 2.2em;
}

.doc ol.num > li + li {
  margin-top: 0.7em;
}

.doc ol.num > li::before {
  content: "(" counter(item) ")";
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-variant-numeric: tabular-nums;
}

.doc dl {
  margin-top: 1.2em;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.doc dl > div {
  background: rgba(13, 16, 19, 0.92);
  padding: 16px 20px;
}

.doc dt {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--gold-600);
}

.doc dd {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/*
 * 最後の行に1〜2文字だけ残る折り返しを避ける。
 *
 * ブラウザは行の終わりで機械的に切るので、日本語では
 *   「…確定しておりませ」
 *   「ん。」
 * のように、最後の1文字だけが次の行に落ちることがあります。
 *
 * text-wrap: pretty は、行の分け方を調整してこれを避けてくれます。
 * 対応していないブラウザでは、これまでどおりの折り返しになるだけで、
 * 表示が壊れることはありません。
 */
.doc p,
.doc li,
.doc dd {
  text-wrap: pretty;
}

@media (min-width: 600px) {
  /*
   * 見出しの列は 9rem。
   *
   * 以前は 13rem でしたが、いちばん長い見出し（「クーリング・オフ」8文字）でも
   * 110px ほどしか使わず、右の値の列を無駄に狭めていました。
   * その結果、住所の最後の「多」だけが次の行に落ちていました（2026-08-25 修正）。
   * 9rem に詰めると値の列が約60px広がり、住所も注記も1行に収まります。
   */
  .doc dl > div {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 16px;
    align-items: baseline;
  }
  .doc dd {
    margin-top: 0;
  }
}

.doc__footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------------------
 * 22. 動き
 * ------------------------------------------------------------------------ */
@keyframes sheen {
  0%,
  62% {
    transform: translateX(-60%);
  }
  92%,
  100% {
    transform: translateX(60%);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* 読み進めると、そっと現れる */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 最初の一画面だけ、1行ずつ現れる */
.rise {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.85s var(--ease) forwards;
}

@media (hover: hover) {
  .card:hover .card__figure img {
    transform: scale(1.035);
  }
}

/* ---------------------------------------------------------------------------
 * 23. 画面の大きさへの対応
 *
 * まず小さな画面の形を書き、そこへ足していきます。
 * ------------------------------------------------------------------------ */

/* ---- 600px以上（大きめのスマートフォン・小さなタブレット） ---- */
@media (min-width: 600px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

  .hero__actions .btn {
    width: auto;
  }

  .journey {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .bonus__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /*
   * ポイントの7枚と、おもてなしの4枚は、ここでは2列にしません。
   * この幅で2列にするとカードが261pxまで細くなり、
   * 説明文が3〜4行に折り返して窮屈に見えるためです（下の 700px から2列にします）。
   */

  .legal__row {
    grid-template-columns: 12rem 1fr;
    gap: 16px;
    align-items: baseline;
  }
}

/* ---- 700px以上 ---- */
/*
 * 文章の多いカード（ポイントの7枚・おもてなしの4枚）を2列にする境目。
 *
 * 【なぜ 600px ではなく 700px なのか】
 * 600px で2列にすると、カード1枚が261pxまで細くなります。
 * すると説明文が3〜4行に折り返し、詰まって見えます。
 * 700px なら1枚300px以上を確保できます。
 */
@media (min-width: 700px) {
  .points__grid,
  .examples {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- 900px以上（タブレット横・小さなパソコン） ---- */
@media (min-width: 900px) {
  body {
    font-size: 16.5px;
  }

  .journey {
    grid-template-columns: repeat(3, 1fr);
  }

  .plans {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  /*
   * おもてなしの4枚は 2列×2段。
   * 4列に並べると1枚251pxまで細くなり、文章が3〜4行に詰まって窮屈に見えます。
   * 2列なら1枚520px前後を確保でき、飲食のカードと同じゆとりになります。
   */
  .examples {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .steps li {
    flex-direction: column;
    gap: 16px;
  }

  .form {
    padding: 40px 38px 36px;
  }

  .sim {
    padding: 32px 32px 30px;
  }
}

/* ---- 1024px以上（パソコン） ---- */
@media (min-width: 1024px) {
  .burger {
    display: none;
  }

  .header__logo img {
    height: 28px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  /*
   * カードの並べ方は、その節にいくつあるかで決めます（data-count）。
   *
   *   1つ … 中央に1枚だけ、少し広く
   *   2つ … 2列（飲食・滞在がこれ）
   *   4つ … 2列×2段。3列にすると最後の段が1枚だけ残って寂しいため、
   *          飲食のカードと同じ幅にそろえます
   *
   * 写真が届いてレンタカーを戻すときは、移動の節を data-count="5" にすれば
   * 既定の3列に戻ります。
   */
  .category[data-count="1"] .cards {
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
  }

  .category[data-count="2"] .cards,
  .category[data-count="4"] .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /*
   * ポイントの7枚を3列にする境目も 900px ではなく 1024px にしています。
   * 900px で3列にすると1枚261pxとなり、説明文が3行になってしまうためです。
   * 1024px なら1枚302pxを確保でき、2行に収まります。
   */
  .points__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bonus__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---- 1023px以下（タブレット・スマートフォン） ---- */
@media (max-width: 1023px) {
  .header__nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* 下部に帯が出るぶん、本文の下に余白を作る */
  body.has-sticky-cta {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .sticky-cta {
    display: block;
  }
}

/* ---- 480px以下（小さなスマートフォン） ---- */
@media (max-width: 480px) {
  .header__cta {
    display: none;
  }

  .phone {
    grid-template-columns: 1fr;
  }

  .card__body {
    padding: 20px 20px 22px;
  }

  .plan {
    padding: 28px 22px 26px;
  }
}

/* ---------------------------------------------------------------------------
 * 24. 動きを減らす設定を尊重する
 *
 * 端末で「視差効果を減らす」を選んでいる方には、動きを出しません。
 * 現れないまま消えてしまわないよう、必ず見える状態に固定します。
 * ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .rise {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn--gold::after {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
 * 25. 印刷（社内でお配りするとき）
 * ------------------------------------------------------------------------ */
@media print {
  body {
    background: #fff;
    color: #111;
  }

  .header,
  .sticky-cta,
  .hero__bg,
  .hero__scrim,
  .points__bg,
  .points__scrim {
    display: none !important;
  }

  .panel,
  .journey li,
  .steps li {
    background: #fff !important;
    border-color: #999 !important;
    box-shadow: none !important;
  }

  .gold-text {
    color: #8a5e1c !important;
    background: none !important;
    -webkit-text-fill-color: currentColor;
  }

  .reveal,
  .rise {
    opacity: 1 !important;
    transform: none !important;
  }

  .faq__a {
    height: auto !important;
  }
}
