@charset "UTF-8";
/* ============================================================
   BAR 1Carat 下北沢 — style.css
   モバイルファースト / メディアクエリは min-width ベース

   デザイン方針
   ------------------------------------------------------------
   参考サイトから引き継いだ「言語」を、当店向けに書き起こしたもの。
   ・マゼンタ ↔ ブルーのグラデーションを主役にする
   ・黒地に白抜き、要所に淡ピンク
   ・英字の大見出しは大文字＋斜体（skew）で疾走感を出す
   ・セクションは角丸の天面で少しずつ重なる
   ・ホバーは「面が塗りつぶされる」「矢印が入れ替わる」の2種類に統一
   ※ コードは流用せず、すべて自前で実装している。
   ============================================================ */

/* ------------------------------------------------------------
   1. デザインシステム(CSS変数)
   ------------------------------------------------------------ */
:root {
  /* --- ブランドカラー --- */
  --c-magenta:       #cf3792;
  --c-magenta-deep:  #c82f8b;
  --c-magenta-light: #f0549b;  /* 大きな文字・装飾用 */
  --c-pink-pale:     #ffd1ed;
  --c-blue:          #2c4198;
  --c-blue-mid:      #2b469c;
  --c-blue-deep:     #22387d;

  /* --- ベース ---
     既定は「白いページ」。色の面・ヒーロー・ヘッダーなどの暗い面は
     .on-dark（および .section--blue 等）でトークンを上書きする。 */
  --c-ink:           #0b0b12;
  --c-ink-2:         #14141d;
  --c-white:         #ffffff;

  --c-text:          #22387d;                 /* 本文 */
  --c-text-muted:    #2c4198;                 /* 補助 */
  --c-text-dim:      #3d4f96;                 /* さらに小さい注記 */
  --c-heading:       #2c4198;                 /* 見出し */
  --c-accent-text:   #c82f8b;                 /* 小さめのアクセント文字 */
  --c-line:          rgba(44, 65, 152, 0.32);
  --c-line-soft:     rgba(44, 65, 152, 0.14);
  --c-surface-soft:  rgba(44, 65, 152, 0.05); /* カード・入力欄の地 */

  --c-btn-ghost-fg:      #2c4198;             /* 枠線ボタンの文字と枠 */
  --c-btn-ghost-fill:    #2c4198;             /* 塗りつぶしの色 */
  --c-btn-ghost-fill-fg: #ffffff;             /* 塗りつぶし後の文字色 */

  --c-on-light:      #22387d;
  --c-error:         #ffc7d9;
  --c-attention:     #ffd166;  /* 【要差し替え】バッジ */

  /* --- グラデーション --- */
  --grad-brand:  linear-gradient(115deg, var(--c-blue) -10%, var(--c-magenta-deep) 110%);
  --grad-b2m:    linear-gradient(180deg, var(--c-blue) 0%, var(--c-magenta-deep) 100%);
  --grad-m2b:    linear-gradient(180deg, var(--c-magenta-deep) 0%, var(--c-blue) 100%);
  --grad-pink:   linear-gradient(135deg, var(--c-magenta-light), var(--c-pink-pale));

  /* --- タイポグラフィ --- */
  --f-display: "Anton", "Impact", "Arial Black", sans-serif;
  --f-sans:    "M PLUS 1p", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Helvetica Neue", Arial, sans-serif;

  --fs-body:    1rem;      /* 16px */
  --fs-small:   0.875rem;  /* 14px */
  --fs-caption: 0.75rem;   /* 12px */
  --lh-body:    1.9;
  --lh-head:    1.4;
  --skew:       -10deg;    /* 英字見出しの傾き */

  /* --- 余白スケール --- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;

  /* --- レイアウト --- */
  --wrap:        1160px;
  --wrap-narrow: 780px;
  --gutter:      20px;
  --header-h:    60px;
  --round:       12px;

  /* --- 角丸 / 影 --- */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 12px;
  --sh-md: 0 10px 40px rgba(0, 0, 0, 0.35);

  /* --- トランジション --- */
  --t-fast: 0.2s ease;
  --t-base: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-arrow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 72px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 56px; }
}

/* ------------------------------------------------------------
   2. リセット / ベース
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "palt" 1;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  /* 和文で最終行が1文字だけ残る「泣き別れ」を減らす。
     未対応ブラウザは無視するだけなので副作用はない */
  text-wrap: pretty;
}

/* 見出しは行数が少ないので、行の長さを均す */
h1, h2, h3, h4,
.card__title, .feature__title, .route-steps__title, .contact-choice__text,
.section__lead, .page-hero__lead, .hero__sub {
  text-wrap: balance;
}

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

/* small の既定(0.8em)は入れ子で 11px 台まで落ちて読めなくなるため、
   最小サイズをトークンで固定する */
small { font-size: var(--fs-caption); }

/* 固定色にすると、ほぼ同色のマゼンタ面(#cf3792)の上で読めなくなる。
   面ごとに切り替わるトークンを使う（暗い面では白） */
a { color: var(--c-accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 色面ではリンクも本文も白になり色で区別できないため、下線を付ける。
   ボタン・ナビ・カードなど、要素全体がリンクのものは対象外 */
.section--blue :is(p, li, td, address) > a,
.section--magenta :is(p, li, td, address) > a,
.section--b2m :is(p, li, td, address) > a,
.section--m2b :is(p, li, td, address) > a,
.cta :is(p, li, td) > a,
.page-hero p > a,
.error-page p > a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: var(--lh-head); font-weight: 700; }
p, ul, ol, dl, table, figure { margin: 0; }
ul, ol { padding-left: 1.25em; }

:focus-visible {
  outline: 2px solid var(--c-magenta);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--c-magenta); color: var(--c-white); }

/* 電話番号など、途中で改行されたくないもの */
.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 999;
  padding: 12px 20px;
  background: var(--c-blue); color: var(--c-white);
  font-weight: 700; border-radius: var(--r-md);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 8px; }

/* 暗い面（色の面・ヒーロー・ヘッダー・ドロワー・CTA）のトークン。
   マゼンタ面では白の透過テキストが WCAG AA を割るため、
   テキストはすべて不透過の白にし、強弱は文字サイズと太さで付ける。 */
/* ※ .site-header と .gnav は白い面にしたため、このリストから外しています。
   デスクトップのナビもドロワーも、白地用のトークンで表示されます */
.section--blue, .section--magenta, .section--b2m, .section--m2b,
.cta, .page-hero, .error-page, .hero, .mobile-cta, .intro {
  color: var(--c-white);
  --c-text:          #ffffff;
  --c-text-muted:    #ffffff;
  --c-text-dim:      #ffffff;
  --c-heading:       #ffffff;
  --c-accent-text:   #ffffff;
  --c-line:          rgba(255, 255, 255, 0.40);
  --c-line-soft:     rgba(255, 255, 255, 0.18);
  --c-surface-soft:  rgba(255, 255, 255, 0.08);

  --c-btn-ghost-fg:      #ffffff;
  --c-btn-ghost-fill:    #ffffff;
  --c-btn-ghost-fill-fg: #2c4198;
}

/* ------------------------------------------------------------
   3. 英字ディスプレイ（大文字＋斜体）
   ------------------------------------------------------------ */
.en {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  transform: skewX(var(--skew));
}

/* ------------------------------------------------------------
   4. 汎用レイアウト
   ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }
.inner-narrow { max-width: var(--wrap-narrow); }

.section {
  position: relative;
  padding-block: var(--sp-7);
}
@media (min-width: 768px) { .section { padding-block: var(--sp-8); } }

/* --- セクションの面（参考サイトのグラデーション運用に対応） --- */
.section--light   { background: var(--c-white); }
.section--blue    { background: var(--c-blue); }
.section--magenta { background: var(--c-magenta); }
.section--b2m     { background: var(--grad-b2m); }
.section--m2b     { background: var(--grad-m2b); }

/* 角丸の天面で前のセクションに少しだけ重なる */
.section--round {
  border-radius: var(--round) var(--round) 0 0;
  margin-top: calc(var(--round) * -1);
  z-index: 1;
}

.section__head { margin-bottom: var(--sp-5); }
@media (min-width: 768px) { .section__head { margin-bottom: var(--sp-6); } }

.section__en {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3rem, 13vw, 6rem);
  letter-spacing: 0.01em;
  line-height: 1;
  transform: skewX(var(--skew));
  transform-origin: left bottom;
  color: var(--c-heading);
}
.section__en--magenta { color: var(--c-magenta); }
.section__en--blue    { color: var(--c-blue); }

.section__ja {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c-text-muted);
}
.section__lead {
  margin-top: var(--sp-4);
  max-width: 62ch;
  color: var(--c-text-muted);
}

/* 読みもの用の本文ブロック */
.body-copy > * + * { margin-top: var(--sp-4); }
.body-copy p { color: var(--c-text-muted); }
.body-copy .lede {
  font-size: clamp(1.25rem, 5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--c-accent-text);
}

.note { font-size: var(--fs-caption); color: var(--c-text-dim); margin-top: var(--sp-3); }
.note--tight { margin-top: 0; display: block; }
.note ul { padding-left: 1.2em; }

/* スクロールリベール(JS有効時のみ。JSなし・非対応環境では常時表示) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px) skewY(0.6deg);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   5. ボタン
       ・面が下から白く塗りつぶされ、文字色が反転する
       ・矢印が右へ抜けて左から戻る
   ------------------------------------------------------------ */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center; justify-content: center; gap: 0.9em;
  min-height: 54px;
  /* 狭い画面では左右余白を詰める。32pxのままだと
     「03-6407-9707 に電話する」のような長いラベルが2行に割れる */
  padding: 15px 20px;
  overflow: hidden;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  /* 狭い画面で折り返すとき、語の途中で割れないようにする。
     電話番号など分割されたくない箇所は .nowrap を併用すること */
  word-break: keep-all;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: color var(--t-base), border-color var(--t-base);
}
.btn:hover { text-decoration: none; }
@media (min-width: 480px) { .btn { padding-inline: 32px; } }

/* 塗りつぶし */
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--c-white);
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform var(--t-base);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }

/* 矢印 */
.btn::after {
  content: "→";
  font-family: var(--f-sans);
  font-weight: 400;
  line-height: 1;
}
.btn:hover::after { animation: arrow-cycle var(--t-arrow); }

@keyframes arrow-cycle {
  0%   { transform: translateX(0);     opacity: 1; }
  44%  { transform: translateX(220%);  opacity: 0; }
  56%  { transform: translateX(-220%); opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}

.btn--primary {
  background: var(--grad-brand);
  color: var(--c-white);
  border-color: transparent;
}
.btn--primary:hover, .btn--primary:focus-visible { color: var(--c-blue); }

.btn--ghost {
  background: transparent;
  color: var(--c-btn-ghost-fg);
  border-color: var(--c-btn-ghost-fg);
}
.btn--ghost::before { background: var(--c-btn-ghost-fill); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--c-btn-ghost-fill-fg); }

/* 白い面の上に置くゴースト */
.btn--on-light { color: var(--c-blue); border-color: var(--c-blue); }
.btn--on-light::before { background: var(--c-blue); }
.btn--on-light:hover, .btn--on-light:focus-visible { color: var(--c-white); }

/* 電話用（矢印ではなく受話器の記号） */
.btn--tel::after { content: "↗"; }

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

.btn-row {
  display: flex; flex-direction: column; gap: var(--sp-3);
  margin-top: var(--sp-5);
}
@media (min-width: 600px) {
  /* 横並びのとき、同じ行のボタンはいちばん広いものに幅を揃える。
     grid の 1fr は「最も広い列に合わせて等幅」になり、
     width:fit-content で行全体は中身の分だけに収まる */
  .btn-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    width: fit-content;
    max-width: 100%;
  }
}

/* ------------------------------------------------------------
   6. ヘッダー / ナビゲーション
   ------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-base);
}
/* すりガラスをヘッダー自身にかけると、内部の position:fixed
   （モバイルメニュー）の基準がヘッダーになってしまうため疑似要素に分離 */
.site-header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  /* 白い面。ヒーローの暗い写真の上に来ても紺の文字が読めるよう、
     透け具合は 0.94 までに留める */
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--c-line-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 2px 14px rgba(44, 65, 152, 0.10);
}

.site-header__inner {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
}

.brand {
  display: flex; align-items: center; gap: 0.7em; flex: none;
  padding-block: 11px; /* タップ領域を44px以上に */
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
/* ロゴ画像（背景を透過済み。暗い面でも白い面でも成立する） */
.brand__logo {
  height: 28px;
  width: auto;
}
.brand__area {
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  white-space: nowrap;
  color: var(--c-pink-pale);
}
@media (min-width: 768px) { .brand__logo { height: 34px; } }
@media (min-width: 1200px) { .brand__logo { height: 38px; } }

/* ハンバーガー：マゼンタ→ブルーのグラデーション面 */
.nav-toggle {
  position: relative;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  width: 46px; height: 46px;
  background: var(--grad-brand);
  border: 0; border-radius: 0;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block; width: 18px; height: 2px;
  background: var(--c-white);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-actions { display: none; flex: none; }

@media (min-width: 1200px) {
  /* ヘッダーだけは本文の最大幅に縛らず、画面幅いっぱいを使う。
     ロゴ・ナビ・電話・予約ボタンを1行に収めるため。 */
  .site-header__inner { max-width: 100%; padding-inline: 32px; }
  .nav-toggle { display: none; }
  .header-actions { display: flex; align-items: center; gap: var(--sp-4); }
  .header-tel {
    display: inline-flex; align-items: center;
    min-height: 44px; /* タップ領域 */
    font-family: var(--f-display); font-size: 1.3rem;
    letter-spacing: 0.02em; white-space: nowrap;
    transform: skewX(var(--skew));
    color: var(--c-accent-text); text-decoration: none;
  }
  .header-tel:hover { color: var(--c-blue); text-decoration: none; }
  .header-actions .btn { min-height: 44px; padding: 11px 24px; font-size: var(--fs-small); }
}

/* --- グローバルナビ --- */
@media (max-width: 1199px) {
  /* ドロワーは右からクリップパスで開く。背景は白（ヘッダーと同じ面） */
  .gnav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--c-white);
    padding: var(--sp-6) var(--gutter) var(--sp-8);
    overflow-y: auto;
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path var(--t-base), visibility var(--t-base);
  }
  .gnav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .gnav__list { list-style: none; margin: 0; padding: 0; }
  .gnav__list > li { border-bottom: 1px solid var(--c-line-soft); }
  .gnav__link {
    display: flex; align-items: baseline; gap: 0.9em;
    min-height: 60px; padding-block: var(--sp-3);
    color: var(--c-heading); text-decoration: none;
  }
  .gnav__link:hover { text-decoration: none; }
  .gnav__en {
    font-family: var(--f-display); font-size: 1.7rem;
    text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
    transform: skewX(var(--skew));
    min-width: 5.5em;
    /* --grad-pink は淡ピンクを含むため白地では読めない。
       白いドロワーではブランドの青→マゼンタを使う */
    background: linear-gradient(100deg, var(--c-blue) 0%, var(--c-magenta-deep) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
  .gnav__ja { font-size: var(--fs-small); color: var(--c-text-muted); }
  .gnav__foot { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
  .gnav__tel {
    display: block; text-align: center;
    font-family: var(--f-display); font-size: 2.1rem;
    letter-spacing: 0.02em;
    transform: skewX(var(--skew));
    color: var(--c-accent-text); text-decoration: none;
  }
}

@media (min-width: 1200px) {
  .gnav__list {
    display: flex; align-items: center; gap: 18px;
    list-style: none; margin: 0; padding: 0;
  }
  .gnav__link {
    position: relative;
    display: block; padding: 10px 2px;
    font-size: var(--fs-small); font-weight: 500;
    letter-spacing: 0.06em; white-space: nowrap;
    color: var(--c-heading); text-decoration: none;
  }
  /* 下線が左から伸びる */
  .gnav__link::after {
    content: "";
    position: absolute; left: 0; bottom: 4px;
    width: 0; height: 2px;
    background: var(--c-magenta-light);
    transition: width var(--t-base);
  }
  .gnav__link:hover { text-decoration: none; }
  .gnav__link:hover::after,
  .gnav__link[aria-current="page"]::after { width: 100%; }
  .gnav__en { display: none; }
  .gnav__foot { display: none; }
}

/* ------------------------------------------------------------
   7. イントロ（CSSのみ。JSが無くても必ず開く）
   ------------------------------------------------------------ */
.intro {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center;
  background: var(--grad-brand);
  /* 万一アニメーションが動かない環境でも本文を操作できるよう、
     オーバーレイは常にクリックを透過させる */
  pointer-events: none;
  will-change: opacity;
  animation: intro-out 0.7s cubic-bezier(0.7, 0, 0.3, 1) 1.15s forwards;
}
.intro__mark {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 12vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  transform: skewX(var(--skew));
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.75);
}
/* 下から白でワイプして塗る */
.intro__mark::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--c-white);
  -webkit-text-stroke: 0;
  clip-path: inset(100% 0 0 0);
  animation: intro-wipe 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.15s forwards;
}
@keyframes intro-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-out {
  to { opacity: 0; visibility: hidden; }
}

/* ------------------------------------------------------------
   8. ヒーロー
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + var(--sp-5));
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
  isolation: isolate;   /* 下の mix-blend-mode をこの中に閉じ込める */
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  /* 読み込み後にゆっくり引いて落ち着き、その後わずかに流れる。
     繰り返さず終端で止めるので、見続けても気にならない */
  animation: hero-kenburns 26s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  will-change: transform;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1.14); }
  14%  { transform: scale(1.06); }
  100% { transform: scale(1.06) translate(-1.6%, -1.2%); }
}

/* ブランドの青→マゼンタを写真に重ねる。
   soft-light なので琥珀色の照明は残したまま、影がブランド色に寄る。
   multiply や不透明で重ねると写真が完全に潰れるので使わないこと */
.hero__media::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-brand);
  mix-blend-mode: soft-light;
}

/* 文字を読ませるための暗幕。
   スマホは縦(下ほど濃く)、768px以上は横(左ほど濃く)を足して、
   文字の乗る側だけを落とし、右のボトル棚は見せる */
/* 暗幕 ＋ ブランド色の光。
   光は「四隅の外側」に中心を置き、中央には一切かけない。
   中央に色を重ねると写真が濁って見えなくなるため。 */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* 左下の外にブルー */
    radial-gradient(closest-side, rgba(44, 65, 152, 0.55), transparent 100%),
    /* 右下の外にマゼンタ */
    radial-gradient(closest-side, rgba(207, 55, 146, 0.45), transparent 100%),
    /* スマホは文字が横幅いっぱいに乗る。キャッチは高さ21%から始まるので、
       そこから先は写真がいちばん明るい部分でも白文字が4.5:1を確保できる
       0.60以上を必ず維持する。上の帯は写真をそのまま見せる */
    linear-gradient(180deg,
      rgba(11, 11, 18, 0.45) 0%,
      rgba(11, 11, 18, 0.06) 12%,
      rgba(11, 11, 18, 0.62) 21%,
      rgba(11, 11, 18, 0.70) 52%,
      rgba(11, 11, 18, 0.92) 100%);
  background-repeat: no-repeat;
  background-size: 80% 34%, 80% 30%, 100% 100%;
  background-position: -30% 116%, 118% 112%, 0 0;
}
@media (min-width: 768px) {
  .hero__media::after {
    background:
      radial-gradient(closest-side, rgba(44, 65, 152, 0.58), transparent 100%),
      radial-gradient(closest-side, rgba(207, 55, 146, 0.48), transparent 100%),
      /* 文字が乗る左だけ落とし、中央から右は写真をそのまま見せる */
      linear-gradient(96deg,
        rgba(11, 11, 18, 0.86) 0%,
        rgba(11, 11, 18, 0.58) 30%,
        rgba(11, 11, 18, 0.12) 56%,
        rgba(11, 11, 18, 0) 72%),
      linear-gradient(180deg,
        rgba(11, 11, 18, 0.34) 0%,
        rgba(11, 11, 18, 0.04) 22%,
        rgba(11, 11, 18, 0.10) 52%,
        rgba(11, 11, 18, 0.82) 100%);
    background-size: 46% 62%, 44% 52%, 100% 100%, 100% 100%;
    background-position: -16% 128%, 112% 122%, 0 0, 0 0;
  }
}
/* 下寄せは margin-top:auto で行う。justify-content:flex-end だと、
   画面が低くて中身が収まらないときに上へはみ出してヘッダーに潜り込む */
.hero__inner { margin-top: auto; padding-bottom: calc(var(--sp-6) + 76px); }
@media (min-width: 1200px) { .hero__inner { padding-bottom: var(--sp-8); } }

.hero__catch {
  /* 英文キャッチが 320〜360px 幅で "into" だけ次行に落ちないよう、
     下限を 1.65rem まで下げている（変更時は狭い画面で必ず確認すること） */
  font-size: clamp(1.65rem, 8.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.hero__catch span { display: block; }
.hero__catch .is-pink {
  background: var(--grad-pink);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: var(--sp-4);
  /* ch は「0」の幅基準で和文には狭すぎ、指定した改行位置より手前で折り返す。
     em(＝和文1文字)基準にして、広い画面では意図した3行で収まるようにする */
  max-width: 35em;
  color: var(--c-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero__meta {
  margin-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  list-style: none; padding: 0;
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.08em;
}
.hero__meta li {
  padding: 7px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- 3層マーキー（袋文字 / ベタ / 袋文字） --- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-5);
  background: var(--c-white);
  user-select: none;
}
.marquee__row {
  display: flex; width: max-content;
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 11vw, 8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  white-space: nowrap;
  animation: marquee-scroll 26s linear infinite;
}
.marquee__row span { padding-right: 0.35em; transform: skewX(var(--skew)); display: inline-block; }
.marquee__row--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(44, 65, 152, 0.45);
}
.marquee__row--solid { color: var(--c-magenta); }
.marquee__row--reverse { animation-direction: reverse; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- スクロール誘導 --- */
.scroll-hint {
  position: absolute; left: var(--gutter); bottom: 18px; z-index: 2;
  display: none;
  align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  transform: skewX(var(--skew));
  color: var(--c-white);
}
.scroll-hint::after {
  content: ""; display: block;
  width: 120px; height: 2px;
  background: rgba(255, 255, 255, 0.25);
  position: relative; overflow: hidden;
}
.scroll-hint span {
  position: absolute; right: 0; bottom: 0;
  width: 120px; height: 2px;
  overflow: hidden;
}
.scroll-hint span::after {
  content: ""; position: absolute; inset: 0;
  background: var(--c-white);
  animation: scroll-run 2.4s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
@keyframes scroll-run {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
@media (min-width: 1200px) { .scroll-hint { display: flex; } }

/* --- 下層ページのページヘッダー --- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-6));
  padding-bottom: var(--sp-7);
  background: var(--grad-brand);
}
@media (min-width: 768px) {
  .page-hero { padding-top: calc(var(--header-h) + var(--sp-7)); padding-bottom: var(--sp-8); }
}
.page-hero__en {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3rem, 15vw, 7rem);
  letter-spacing: 0.01em;
  line-height: 1;
  transform: skewX(var(--skew));
  transform-origin: left bottom;
  /* 白ベタ書きにしないこと。/thanks/ のように白い面でも使うため、
     面ごとに切り替わるトークンを使う（暗い面では白になる） */
  color: var(--c-heading);
}
.page-hero__en + h1 { margin-top: var(--sp-4); }
.page-hero h1 {
  font-size: clamp(1.05rem, 4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-heading);
}
.page-hero__lead { margin-top: var(--sp-4); max-width: 60ch; color: var(--c-text); }

/* ------------------------------------------------------------
   9. パンくず
   ------------------------------------------------------------ */
.breadcrumb {
  padding-top: calc(var(--header-h) + 10px);
  padding-bottom: 2px;
  font-size: var(--fs-caption);
  color: var(--c-text-dim);
}
.breadcrumb + .page-hero { padding-top: var(--sp-6); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em;
  list-style: none; margin: 0; padding: 0;
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.5em; color: var(--c-text-dim); }
.breadcrumb a { display: inline-block; padding-block: 11px; color: var(--c-text-muted); }
.breadcrumb [aria-current="page"] { display: inline-block; padding-block: 11px; color: var(--c-white); }

/* ------------------------------------------------------------
   10. カード / グリッド
   ------------------------------------------------------------ */
.grid { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--c-surface-soft);
  border: 1px solid var(--c-line-soft);
  overflow: hidden;
  transition: background var(--t-base), border-color var(--t-base);
}
.card:hover { border-color: var(--c-line); filter: brightness(0.98); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-soft); }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.card__en {
  font-family: var(--f-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 1;
  transform: skewX(var(--skew)); transform-origin: left;
  color: var(--c-accent-text);
}
/* 色の面ではカードのラベルもコントラスト確保のため不透過の白にする */
.section--blue .card__en, .section--magenta .card__en,
.section--b2m .card__en, .section--m2b .card__en,
.cta .card__en {
  background: none;
  color: var(--c-white);
}

.card__title { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.05em; }
.card__text { font-size: var(--fs-small); color: var(--c-text-muted); }
.card__link {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.7em;
  min-height: 44px; margin-top: auto;
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.06em;
  color: var(--c-heading);
}
.card__link::after { content: "→"; }
.card__link:hover { text-decoration: none; color: var(--c-accent-text); }
.card__link:hover::after { animation: arrow-cycle var(--t-arrow); }

/* 番号付きの特徴リスト */
.feature-list { display: grid; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .feature-list { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); } }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 2px solid var(--c-line-soft);
}
.feature__num {
  font-family: var(--f-display); font-size: 2.4rem; line-height: 0.9;
  letter-spacing: 0.01em;
  transform: skewX(var(--skew));
}
.feature__num {
  background: none;
  color: var(--c-accent-text);
}
.section--blue .feature__num,
.section--magenta .feature__num,
.section--b2m .feature__num,
.section--m2b .feature__num,
.cta .feature__num,
.page-hero .feature__num,
.hero .feature__num,
.gnav .feature__num {
  background: var(--grad-pink);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.feature__title { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: var(--sp-2); }
.feature__text { font-size: var(--fs-small); color: var(--c-text-muted); }

/* ------------------------------------------------------------
   11. 情報テーブル / 料金表
   ------------------------------------------------------------ */
.info-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.info-table th, .info-table td {
  text-align: left; vertical-align: top;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-line-soft);
}
.info-table th {
  font-weight: 700; white-space: nowrap;
  padding-right: var(--sp-3);
  width: 7.5em;
  color: var(--c-accent-text);
}
@media (min-width: 768px) {
  .info-table { font-size: var(--fs-body); }
  .info-table th { width: 11em; padding-right: var(--sp-5); }
}
/* グリッドアイテムの既定は min-width:auto なので、min-width 付きの表を含むと
   トラックごと押し広げられ、.table-scroll の横スクロールが効かずページごとはみ出す。
   :where() で詳細度0にしてあるため、個別の指定を邪魔しない */
:where(.grid, .access-layout, .footer-grid, .feature-list, .form, .contact-choice) > * { min-width: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* min-width を 380px 固定にすると、狭い画面で価格列が画面外に出て
   横スクロールしないと見えなくなる。枠より広いときだけ 380px を効かせる */
.price-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: min(380px, 100%); }
.price-table caption {
  text-align: left;
  font-family: var(--f-display); font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: 0.02em;
  /* 表と同じ幅の箱のまま skew すると右に数px はみ出し、
     .table-scroll に不要な横スクロールが出る。文字幅の箱にする */
  width: fit-content; max-width: 100%;
  transform: skewX(var(--skew)); transform-origin: left;
  padding-bottom: var(--sp-3);
  color: var(--c-accent-text);
}
.price-table th, .price-table td { padding: var(--sp-3) var(--sp-2); border-bottom: 1px solid var(--c-line-soft); }
/* 表の左右端は余白不要。狭い画面で価格列が収まるようにするためでもある */
.price-table th:first-child, .price-table td:first-child { padding-left: 0; }
.price-table th:last-child, .price-table td:last-child { padding-right: 0; }
.price-table thead th {
  font-size: var(--fs-caption); letter-spacing: 0.12em; font-weight: 700;
  color: var(--c-text-dim); text-align: left;
  border-bottom-color: var(--c-line);
}
.price-table tbody th { text-align: left; font-weight: 500; color: var(--c-text); }
/* プラン名の下に置く補足（内容・コイン枚数など） */
.price-table tbody th small {
  display: block; margin-top: 3px;
  font-weight: 400; line-height: 1.7;
  color: var(--c-text-dim);
}
.price-table td:last-child { text-align: right; white-space: nowrap; color: var(--c-text); }

/* 「要差し替え」マーカー */
.tbd {
  display: inline-block;
  padding: 2px 9px;
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.04em;
  color: #3a2a00;
  background: var(--c-attention);
  border-radius: var(--r-sm);
  white-space: nowrap;
}

/* 決済方法バッジ */
.pay-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.pay-list li {
  padding: 7px 14px;
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.04em;
  color: var(--c-text);
  border: 1px solid var(--c-line);
  border-radius: 999px;
}

/* ------------------------------------------------------------
   12. FAQ（details/summary — JS不要）
       行はブルー→マゼンタのランプで色が変わる
   ------------------------------------------------------------ */
.faq-list { display: grid; }
.faq-item { border-top: 1px solid var(--c-line); }
.faq-list > .faq-item:last-child { border-bottom: 1px solid var(--c-line); }

.faq-item > summary {
  display: flex; align-items: center; gap: var(--sp-3);
  min-height: 64px; padding: var(--sp-4) var(--sp-2);
  font-size: 1rem; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; list-style: none;
  transition: padding-left var(--t-base);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { padding-left: var(--sp-5); }

/* ＋ / × のアイコン */
.faq-item > summary::after {
  content: "";
  flex: none; margin-left: auto;
  width: 15px; height: 15px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item > summary:hover::after { transform: rotate(180deg) scale(1.15); }
.faq-item[open] > summary::after { transform: rotate(135deg); }

.faq-item__body {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3);
  padding: 0 var(--sp-2) var(--sp-5);
  font-size: var(--fs-small); color: var(--c-text-muted);
}
/* 1列目は "A." だけの列。段落を2つ以上置いても本文が1列目に落ちないよう固定する。
   落ちると auto 列が max-content まで広がり、2列目が1文字幅まで潰れる */
.faq-item__body > * { grid-column: 2; }
.faq-item__body > * + * { margin-top: var(--sp-3); }
.faq-item__body::before {
  content: "A.";
  font-family: var(--f-display); font-size: 1.35rem; line-height: 1.3;
  transform: skewX(var(--skew));
  color: var(--c-accent-text);
}

/* 濃いマゼンタ面の上に置くFAQ（背景を1段ずつ変える） */
.faq-list--ramp .faq-item:nth-child(odd)  { background: rgba(0, 0, 0, 0.05); }
.faq-list--ramp .faq-item:nth-child(even) { background: rgba(0, 0, 0, 0.11); }
.section--blue .faq-list--ramp .faq-item:nth-child(odd),
.section--magenta .faq-list--ramp .faq-item:nth-child(odd),
.section--b2m .faq-list--ramp .faq-item:nth-child(odd),
.section--m2b .faq-list--ramp .faq-item:nth-child(odd)  { background: rgba(0, 0, 0, 0.10); }
.section--blue .faq-list--ramp .faq-item:nth-child(even),
.section--magenta .faq-list--ramp .faq-item:nth-child(even),
.section--b2m .faq-list--ramp .faq-item:nth-child(even),
.section--m2b .faq-list--ramp .faq-item:nth-child(even) { background: rgba(0, 0, 0, 0.20); }
.faq-list--ramp .faq-item > summary { padding-inline: var(--sp-4); }
.faq-list--ramp .faq-item__body { padding-inline: var(--sp-4) var(--sp-5); }

/* ------------------------------------------------------------
   13. フォーム
   ------------------------------------------------------------ */
.form { display: grid; gap: var(--sp-5); }
.field { display: grid; gap: var(--sp-2); }
.field__label { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.1em; }
.field__req {
  display: inline-block; margin-left: 0.6em; padding: 2px 8px;
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.06em;
  color: #ffffff; background: var(--c-magenta); border-radius: var(--r-sm);
}
.field__opt {
  display: inline-block; margin-left: 0.6em; padding: 2px 8px;
  font-size: var(--fs-caption); letter-spacing: 0.06em;
  color: var(--c-text-muted); border: 1px solid var(--c-line-soft); border-radius: var(--r-sm);
}
.field__hint { font-size: var(--fs-caption); color: var(--c-text-dim); }

.input, .textarea, .select {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  font-family: var(--f-sans);
  font-size: 1rem; /* iOSズーム防止のため16px以上 */
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-surface-soft);
  border: 1px solid var(--c-line);
  border-radius: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
  appearance: none;
}
.textarea { min-height: 170px; resize: vertical; }
.select {
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 20px center, right 14px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.input::placeholder, .textarea::placeholder { color: var(--c-text-dim); opacity: 0.7; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--c-magenta); background: transparent; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: var(--c-error);
}
.field__error { font-size: var(--fs-caption); font-weight: 700; color: var(--c-error); }
.field__error:empty { display: none; }

/* ラベル全体がタップ範囲。高さを44px以上に確保する */
.check {
  display: flex; align-items: center; gap: var(--sp-3);
  min-height: 44px; padding-block: 8px;
  font-size: var(--fs-small); cursor: pointer;
}
.check input[type="checkbox"] {
  flex: none; width: 24px; height: 24px;
  accent-color: var(--c-magenta);
  font: inherit;
}

.form-note {
  padding: var(--sp-4);
  background: var(--c-surface-soft);
  border-left: 3px solid var(--c-magenta);
  font-size: var(--fs-small); color: var(--c-text);
}

/* ------------------------------------------------------------
   14. CTA / 連絡導線
   ------------------------------------------------------------ */
.cta {
  position: relative;
  padding-block: var(--sp-7);
  background: var(--grad-brand);
  text-align: center;
}
@media (min-width: 768px) { .cta { padding-block: var(--sp-8); } }
.cta__en {
  font-family: var(--f-display);
  font-size: clamp(3rem, 13vw, 6rem);
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
  transform: skewX(var(--skew));
  color: var(--c-white);
}
.cta__text { margin-top: var(--sp-4); color: var(--c-white); }
.cta__tel {
  display: inline-block; margin-top: var(--sp-5);
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  letter-spacing: 0.01em;
  transform: skewX(var(--skew));
  color: var(--c-white); text-decoration: none;
}
.cta__tel:hover { color: var(--c-pink-pale); text-decoration: none; }
.cta__tel-note { font-size: var(--fs-caption); color: rgba(255, 255, 255, 0.8); }
.cta .btn-row { justify-content: center; }

.contact-choice { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); text-align: left; }
@media (min-width: 768px) { .contact-choice { grid-template-columns: repeat(2, 1fr); } }
.contact-choice__item {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  transition: background var(--t-base);
}
.contact-choice__item:hover { background: rgba(255, 255, 255, 0.08); }
.contact-choice__en {
  font-family: var(--f-display); font-size: 1.8rem;
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
  transform: skewX(var(--skew)); transform-origin: left;
  color: var(--c-white);
}
.contact-choice__text { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.85); }
.contact-choice .btn { margin-top: auto; }

/* ------------------------------------------------------------
   15. アクセス
   ------------------------------------------------------------ */
.access-layout { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) { .access-layout { grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: start; } }

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-surface-soft);
  border: 1px solid var(--c-line-soft);
  overflow: hidden;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-3); padding: var(--sp-4); text-align: center;
  font-size: var(--fs-small); color: var(--c-text-muted);
  background-image:
    linear-gradient(rgba(44, 65, 152, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 65, 152, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* セクション内の小見出し（アクセスページの交通手段など）。
   .body-copy > * + * より後ろに置くこと（同じ詳細度なので後勝ちで余白が決まる） */
.sub-head {
  margin-top: var(--sp-7);
  font-size: 1.15rem; letter-spacing: 0.06em;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-line);
  color: var(--c-heading);
}
.body-copy > .sub-head:first-child { margin-top: 0; }
/* 本文ブロックと手順リストが隣り合うときの間隔 */
.body-copy + .route-steps, .route-steps + .body-copy { margin-top: var(--sp-6); }

.route-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); counter-reset: step; }
.route-steps li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-4); align-items: start;
  counter-increment: step;
}
.route-steps li::before {
  content: "0" counter(step);
  font-family: var(--f-display); font-size: 1.6rem; line-height: 1;
  transform: skewX(var(--skew));
}
.route-steps li::before {
  background: none;
  color: var(--c-accent-text);
}
.section--blue .route-steps li::before,
.section--magenta .route-steps li::before,
.section--b2m .route-steps li::before,
.section--m2b .route-steps li::before,
.cta .route-steps li::before,
.page-hero .route-steps li::before,
.hero .route-steps li::before,
.gnav .route-steps li::before {
  background: var(--grad-pink);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.route-steps__title { font-weight: 700; letter-spacing: 0.05em; }
.route-steps__text { font-size: var(--fs-small); color: var(--c-text-muted); margin-top: var(--sp-1); }

/* ------------------------------------------------------------
   16. フッター
   ------------------------------------------------------------ */
.site-footer {
  position: relative;
  padding-top: var(--sp-7);
  padding-bottom: calc(var(--sp-7) + 76px); /* モバイル固定CTA分 */
  background: var(--c-white);
  border-top: 1px solid var(--c-line-soft);
  font-size: var(--fs-small);
}
@media (min-width: 1200px) { .site-footer { padding-bottom: var(--sp-7); } }

.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr; } }

/* フッターはサブタイトル入りのロックアップ(800×204)。
   高さ基準にすると「SHIMOKITAZAWA | KARAOKE & COCKTAILS」が数pxになって
   読めないため、幅基準で大きめに置く */
.footer-brand__logo {
  width: min(320px, 100%);
  height: auto;
}
@media (min-width: 768px) { .footer-brand__logo { width: min(380px, 100%); } }
.footer-brand__area { margin-top: var(--sp-2); font-size: var(--fs-caption); letter-spacing: 0.22em; color: var(--c-accent-text); }
.footer-address { margin-top: var(--sp-4); font-style: normal; color: var(--c-text-muted); line-height: 1.9; }
.footer-address a {
  display: inline-flex; align-items: center;
  min-height: 44px; /* タップ領域 */
  color: var(--c-heading);
}

/* 2列固定にすると、文字が大きい 404 ページで項目名が途中で割れる。
   em 基準の auto-fit にして、収まらない幅では自動で1列に落とす */
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(11em, 1fr)); gap: var(--sp-2) var(--sp-4); list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--c-text-muted);
}
.footer-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 10px;
  width: 0; height: 1px; background: currentColor;
  transition: width var(--t-base);
}
.footer-nav a:hover { color: var(--c-heading); text-decoration: none; }
.footer-nav a:hover::after { width: 100%; }

.footer-sns { display: flex; flex-wrap: wrap; gap: var(--sp-3); list-style: none; margin: var(--sp-5) 0 0; padding: 0; }
.footer-sns a {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--c-line); border-radius: 999px;
  color: var(--c-text); font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.08em;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.footer-sns a:hover { border-color: var(--c-magenta); background: rgba(207, 55, 146, 0.10); text-decoration: none; }

.footer-bottom {
  margin-top: var(--sp-6); padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line-soft);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-caption); color: var(--c-text-dim);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.footer-bottom a {
  display: inline-flex; align-items: center;
  min-height: 44px; /* タップ領域 */
  color: var(--c-text-dim);
}

/* ------------------------------------------------------------
   17. モバイル固定CTA
   ------------------------------------------------------------ */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 64px; padding: 8px;
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.06em;
  color: var(--c-white); text-decoration: none;
}
.mobile-cta a:hover { text-decoration: none; }
.mobile-cta__tel { background: var(--c-blue); }
.mobile-cta__reserve { background: var(--c-magenta); }
.mobile-cta__en {
  font-family: var(--f-display); font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.06em; line-height: 1;
  transform: skewX(var(--skew));
}
@media (min-width: 1200px) { .mobile-cta { display: none; } }

/* ------------------------------------------------------------
   17b. 上に戻るボタン
   ------------------------------------------------------------ */
.to-top {
  position: fixed; z-index: 80;
  right: var(--gutter);
  /* モバイル固定CTA(76px)の上に置く */
  bottom: calc(76px + env(safe-area-inset-bottom) + 12px);
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  isolation: isolate; overflow: hidden;
  background: var(--grad-brand);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  text-decoration: none;
  transition: color var(--t-base);
}
@media (min-width: 1200px) {
  .to-top { bottom: var(--gutter); }
}
/* JSが無い環境では常に表示。JSがあるときは下までスクロールしてから出す。
   visibility は「隠すときだけ遅らせる」書き方にする。
   トランジション対象に入れると、動きが止まる環境で出てこなくなる */
.js .to-top {
  opacity: 0; visibility: hidden; transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base), visibility 0s var(--t-base);
}
.js .to-top.is-visible {
  opacity: 1; visibility: visible; transform: none;
  pointer-events: auto;
  transition: opacity var(--t-base), transform var(--t-base), visibility 0s;
}
/* 面が下から白く塗りつぶされ、矢印の色が反転する（サイト共通のボタンと同じ動き） */
.to-top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #ffffff;
  transform: scaleY(0); transform-origin: center bottom;
  transition: transform var(--t-base);
}
.to-top:hover, .to-top:focus-visible { color: var(--c-blue-deep); text-decoration: none; }
.to-top:hover::before, .to-top:focus-visible::before { transform: scaleY(1); }
.to-top__arrow {
  display: block; width: 13px; height: 13px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(-45deg) translate(-2px, 2px);
}

/* ------------------------------------------------------------
   18. 記事系（プライバシーポリシー等）
   ------------------------------------------------------------ */
.prose h2 {
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.06em;
  margin-top: var(--sp-6); margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2); border-bottom: 2px solid var(--c-magenta-light);
}
.prose h3 { font-size: 1.1rem; margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p, .prose ul, .prose ol { margin-bottom: var(--sp-4); color: var(--c-text-muted); }
.prose li { margin-bottom: var(--sp-2); }
.prose > :first-child { margin-top: 0; }

/* サイトマップページの一覧 */
.sitemap-list { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: var(--sp-4); }
.sitemap-list > li { padding-left: var(--sp-4); border-left: 2px solid var(--c-line-soft); }
.sitemap-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.prose .sitemap-list p { margin: 0; font-size: var(--fs-small); color: var(--c-text-dim); }

/* ------------------------------------------------------------
   19. エラーページ
   ------------------------------------------------------------ */
.error-page {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) var(--sp-7);
  text-align: center;
  background: var(--grad-brand);
}
.error-page__code {
  font-family: var(--f-display);
  font-size: clamp(6rem, 30vw, 14rem);
  line-height: 0.9; letter-spacing: 0.01em;
  transform: skewX(var(--skew));
  color: var(--c-white);
}

/* ------------------------------------------------------------
   20. モーションの配慮
   ------------------------------------------------------------ */
@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;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__row { animation: none; }
  .intro { display: none; }
}

/* ------------------------------------------------------------
   21. 印刷
   ------------------------------------------------------------ */
@media print {
  .site-header, .mobile-cta, .marquee, .scroll-hint, .nav-toggle, .intro { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .section, .cta, .page-hero { background: #fff !important; color: #000 !important; }
  .marquee, .site-footer { background: #fff !important; }
}
