/* =========================================================================
   浅川喜希税理士事務所 — スタイルシート
   トークンは Figma実物（file: Hq2O9DO9lTeOX8ngMTqn3j / node 115:3）に準拠。
   ※ Vaultのナレッジ.mdデザインシステム節は旧値（#1559A3系）。実物はこちらが正。
      → docの色を後で実物に合わせて更新する必要あり（要Kody反映）。
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. デザイントークン（:root）— Figma実物の確定値
   ------------------------------------------------------------------------- */
:root {
  /* --- ブルー（メイン） --- */
  --c-blue:        #1F4FBF; /* プライマリ（バッジ文字・枠・アイコン等） */
  --c-blue-2:      #4565B0; /* グラデ終端 */
  --grad-blue:     linear-gradient(159deg, #1F4FBF 0%, #4565B0 100%);

  /* --- グリーン（ワンポイント） --- */
  --c-green:       #2F9E78;

  /* --- ニュートラル --- */
  --c-text:        #222222; /* 本文・見出し */
  --c-white:       #FFFFFF;

  /* --- 背景 --- */
  --c-bg-page:     #FAFAFA; /* ページ地 */
  --c-bg-cream:    #F5F5F1; /* クリーム面 */
  --c-bg-blue-lt:  #EEF4FF; /* 淡いブルー面 */

  /* FVクリームグラデ（写真の上に左から重ねる） */
  --grad-hero:     linear-gradient(128deg, rgba(245,245,241,0.88) 16%, rgba(245,245,241,0) 57%);

  /* --- 機能色（フォームエラー専用） --- */
  --c-error:       #B23B3B;

  /* --- シャドウ（暫定。各セクション実装時にFigmaのeffectで確定） --- */
  --shadow-1: 0 1px 2px rgba(34,48,61,.06), 0 1px 1px rgba(34,48,61,.04);
  --shadow-2: 0 2px 4px rgba(34,48,61,.06), 0 6px 16px rgba(34,48,61,.08);
  --shadow-3: 0 4px 8px rgba(34,48,61,.08), 0 14px 28px rgba(31,79,191,.20);
  --shadow-4: 0 8px 16px rgba(19,28,37,.14), 0 28px 56px rgba(19,28,37,.22);
  --glow-white: 0 0 24px rgba(255,255,255,1); /* FVテキストの白グロー */

  /* --- タイポグラフィ（Figma実物） --- */
  --font-sans:  "Noto Sans JP", -apple-system, BlinkMacSystemFont,
                "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif; /* ロゴ */
  --font-en:    "Manrope", sans-serif; /* 見出し上の英字アイブロウ */

  --lh-body:    1.8;
  --lh-heading: 1.5;

  /* --- レイアウト --- */
  --container:  1200px;  /* コンテンツ幅（1440 - 左右120） */
  --gutter:     24px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-corner: 80px; /* セクションの大角丸（左下/右上など） */
  --section-py: 100px;
  --header-h: 96px; /* .site-header の実測高さ。hero側の負マージンとpadding-topの両方でこの値を参照し、値のズレによる隙間を防ぐ */

  --z-header: 100;
  --z-modal:  1000;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--c-text);
  background-color: var(--c-bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-heading); font-weight: 700; }

:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }

/* キーボード利用者向けスキップリンク（フォーカス時のみ表示）。
   固定pxで隠すと、実際の高さ（パディング＋文字サイズ）次第で下端がはみ出すため、
   要素自身の高さを基準にしたtranslateYで確実に画面外へ逃がす */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: var(--z-modal);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--c-blue);
  color: var(--c-white);
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* -------------------------------------------------------------------------
   3. レイアウトヘルパー
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; }
.container--faq { max-width: 996px; }
.section { padding-block: var(--section-py); }
main > section { scroll-margin-top: calc(var(--header-h) + 16px); }
.section-lead { margin-top: 16px; font-size: 16px; line-height: 1.8; color: var(--c-text); opacity: .8; text-align: center; }

/* セクション見出し（アイブロウ＋H2） */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 38px;
}
.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
}
/* スクリーンリーダー専用（視覚的には隠すが読み上げ対象として残す） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 見出し・タイトルのスクロールイン（1文字ずつ下からフェード）。
   JSが文字分割に成功した要素（[data-split-done]）だけが対象のため、
   JS無効時は通常のテキスト表示のまま変わらない。is-visibleは分割対象の
   祖先コンテナ（.section-head等）に付与されるため子孫セレクタで判定する */
[data-split-done] .char {
  display: inline-block;
  opacity: 0;
  /* em ではなく固定pxにする：見出し内でフォントサイズが異なる文字（例：KVの「に」）が
     混在しても、移動距離が揃うようにするため */
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.is-visible [data-split-done] .char {
  opacity: 1;
  transform: translateY(0);
}

/* 見出し上の英字アイブロウ（緑＋青の四角アクセントマーク付き） */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-text);
}
.eyebrow--white { color: var(--c-white); }
.eyebrow__mark { display: inline-flex; }
.eyebrow__mark i { display: block; width: 8px; height: 8px; }
.eyebrow__mark i:first-child { background: var(--c-green); }
.eyebrow__mark i:last-child  { background: var(--c-blue); margin-left: -2px; }
/* 見出しのスクロールインより少し遅れて、緑/青ボックスの左右配置を平行移動で入れ替える。
   [data-reveal-eyebrow]はJSが見出しの分割に成功した場合だけ付与されるため、
   JS無効時はボックスが常に通常位置（入れ替え後の状態）のまま変わらない */
[data-reveal-eyebrow] .eyebrow__mark i { transition: transform .5s ease .15s; }
[data-reveal-eyebrow] .eyebrow__mark i:first-child { transform: translateX(6px); }
[data-reveal-eyebrow] .eyebrow__mark i:last-child  { transform: translateX(-6px); }
[data-reveal-eyebrow].is-visible .eyebrow__mark i { transform: translateX(0); }

/* SP専用の改行など */
.u-sp-only { display: none; }
.u-pc-only { display: inline; }

/* -------------------------------------------------------------------------
   4. ボタン
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  transition: filter .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn svg { width: 1.5em; height: 1.5em; fill: currentColor; flex: none; }

/* ヘッダーの丸ピルCTA */
.btn--pill {
  height: 48px;
  padding: 0 24px;
  border-radius: 40px;
  background: var(--grad-blue);
  color: var(--c-white);
  font-size: 16px;
}
.btn--pill:hover { filter: brightness(1.06); }

/* テキストリンク（下線付き。プライバシーポリシー等の呼び出し） */
.text-link { text-decoration: underline; text-underline-offset: 2px; color: var(--c-blue); }
.text-link:hover { opacity: .8; }

/* FVの大CTA */
.btn--cta {
  align-self: flex-start;
  padding: 22px 40px;
  border-radius: 40px;
  background: var(--grad-blue);
  color: var(--c-white);
  font-size: 18px;
  gap: 16px;
  box-shadow: var(--shadow-3);
}
.btn--cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* -------------------------------------------------------------------------
   5. ヘッダー（浮遊する半透明バー）
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding: 8px;
  transition: transform .3s ease;
}
.site-header.is-hidden { transform: translateY(-120%); }
.site-header__bar {
  max-width: 1424px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 16px 16px 24px;
  background: rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
}
.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.logo span { display: inline; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; align-items: center; gap: 32px; }
.nav__list a {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  transition: color .2s ease;
}
.nav__list a:hover { color: var(--c-blue); }

.site-header__sp-cta {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 40px;
  background: var(--grad-blue);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: var(--shadow-2);
}
.site-header__sp-cta img { width: 20px; height: 20px; flex: none; }

/* ハンバーガーボタン（SPのみ表示。5-b.のメディアクエリでdisplay:flexに切替） */
.hamburger {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50%;
}
.hamburger__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-blue);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* SPナビゲーション（ドロワー） */
.mobile-nav {
  position: fixed;
  inset: 88px 8px auto 8px;
  z-index: var(--z-header);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-4);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav__list a { font-size: 16px; font-weight: 500; color: var(--c-text); }
.mobile-nav__cta { align-self: stretch; }

/* -------------------------------------------------------------------------
   6. ヒーロー（FV）
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 720px;
  margin-top: calc(-1 * var(--header-h)); /* 浮遊ヘッダーの下に画像を回り込ませる */
  padding-top: var(--header-h);
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0 0 0 80px; /* 左下だけ大角丸 */
}
.hero__media picture {
  width: 100%;
  height: 100%;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero); /* 左から柔らかいクリームフェード */
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: inherit;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 549px;
  transform: translateY(-40px);
}
.hero__accent { width: 28px; height: 28px; }
.hero__heading { display: flex; flex-direction: column; gap: 20px; }
.hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--c-text);
  text-shadow: var(--glow-white);
}
.hero__title .u-sm   { font-size: 40px; }
.hero__title .u-tight { letter-spacing: -0.2em; } /* 「主・」を詰めて1行に収める（Figma ts2） */
.hero__title-line { display: block; width: max-content; white-space: nowrap; }
.hero__lead {
  font-size: 20px;
  line-height: 1.8;
  color: var(--c-text);
  text-shadow: var(--glow-white);
}
.hero__badges { display: flex; gap: 16px; }
.hero__badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid var(--c-blue);
  background: rgba(255,255,255,0.55);
  color: var(--c-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* -------------------------------------------------------------------------
   6-b. お悩み（CONCERN）
   ------------------------------------------------------------------------- */
#concern {
  padding-bottom: 0;
}

.concern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.concern__row { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.concern__row--top {
  width: 100%;
  padding-inline: 96px;
}
.concern__row--bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  align-items: start;
  gap: 24px 32px;
  width: 100%;
}
.concern__col { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.concern__col--end { align-items: flex-end; }
.concern__figure {
  flex: none;
  width: 180px;
  height: 236px;
  justify-self: center;
}

.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border-radius: 58px;
  background: var(--c-bg-blue-lt);
  color: var(--c-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
/* テキスト全体を1つのflexアイテムにまとめる（分割するとgapが単語間にも入ってしまうため） */
.pill__text { display: inline; }
.pill__kw { font-weight: 700; font-size: 20px; color: var(--c-blue); }
/* 吹き出しの尻尾 */
.pill::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: -8px;
  width: 18px;
  height: 14px;
  background: var(--c-bg-blue-lt);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.pill--m2::after,
.pill--m4::after,
.pill--m6::after {
  right: auto;
  left: 32px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* -------------------------------------------------------------------------
   6-b2. 選ばれる理由（REASON）
   PDF書き出し（REASON_PC.pdf / REASON_SP.pdf）準拠。画像左右交互配置（PC）、
   SPは画像を上に統一。正式な写真素材が届くまでグレープレースホルダーで進行
   ------------------------------------------------------------------------- */
#reason {
  background: var(--c-bg-cream);
  border-radius: 0 80px 0 0;
}

.reason { display: flex; flex-direction: column; gap: 24px; }
.reason__card {
  display: flex;
  align-items: stretch;
  background: var(--c-white);
  border: 1px solid #F7F7F7;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.reason__card--reverse { flex-direction: row-reverse; }
.reason__media { flex: 0 0 486px; min-height: 280px; }
.reason__media img { width: 100%; height: 100%; object-fit: cover; }
.reason__body {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 48px;
}
.reason__num { font-family: var(--font-en); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--c-text); }
.reason__title { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--c-text); }
.reason__kw { color: var(--c-blue); font-size: 28px; }
.reason__desc { font-size: 16px; line-height: 1.8; color: var(--c-text); }

/* -------------------------------------------------------------------------
   6-b3. サービス内容（SERVICE）
   PDF書き出し（Service_PC.pdf / Service_SP.pdf）準拠。青グラデ背景、フルブリード。
   アイコンはMaterial Symbols実物が未取得のため線画SVGで近似（レート制限解除後に差し替え検討）
   ------------------------------------------------------------------------- */
.service { background: var(--grad-blue); color: var(--c-white); }
.section-title--white { color: var(--c-white); }
.eyebrow__mark--onblue i:last-child { background: var(--c-white); }

.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: calc(-1 * var(--gutter));
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service__item {
  display: flex;
  flex-direction: column;
  min-height: 262px;
  padding: 40px 56px;
  border-right: 1px solid rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(255,255,255,.4);
}
.service__item:nth-child(3n) { border-right: none; }
.service__item:nth-last-child(-n+3):nth-child(n+4) { border-bottom: none; }
.service__icon { width: 64px; height: 64px; margin-bottom: 32px; object-fit: contain; flex: none; }
.service__title { margin-bottom: 8px; font-size: 24px; font-weight: 700; line-height: 1.2; }
.service__desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); }

.service__notes {
  width: min(100%, 900px);
  max-width: 100%;
  margin: 48px auto 0;
  border-top: 1px dashed rgba(255,255,255,.4);
}
.service__note {
  display: grid;
  grid-template-columns: 150px minmax(0, max-content);
  align-items: center;
  justify-content: start;
  column-gap: 24px;
  padding-block: 24px;
  border-bottom: 1px dashed rgba(255,255,255,.4);
}
.tag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  width: 150px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 58px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.tag-badge svg { width: 16px; height: 16px; flex: none; }
.tag-badge img { width: 16px; height: 16px; flex: none; }
.tag-badge--ok { color: var(--c-green); }
.tag-badge--warn { color: #FF4D4D; }
.service__note-list { font-size: 18px; font-weight: 700; line-height: 1.6; color: rgba(255,255,255,.9); white-space: nowrap; }

/* -------------------------------------------------------------------------
   6-c. CTAバンド（PLAN直後・VOICE前）
   ------------------------------------------------------------------------- */
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 100px;
  background: var(--grad-blue);
  color: var(--c-white);
  text-decoration: none;
  border-radius: var(--radius-lg);
}
.cta-band__text { display: flex; flex-direction: column; max-width: 640px; }
.cta-band__text .eyebrow { margin-bottom: 8px; }
.cta-band__title { margin-bottom: 24px; font-size: 36px; font-weight: 700; line-height: 1.5; }
.cta-band__lead { font-size: 16px; line-height: 1.8; }
.cta-band__badge {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 1px solid var(--c-white);
  border-radius: 50%;
  transition: background-color .2s ease;
}
.cta-band__inner:hover .cta-band__badge { background: rgba(255,255,255,.1); }
.cta-band__badge-icon { width: 40px; height: 40px; }

/* -------------------------------------------------------------------------
   6-d. 料金プラン（PLAN）
   PDF書き出し（Plan_PC.pdf / Plan_SP.pdf）準拠。個人＝グリーン、法人＝ブルーで色分け
   ------------------------------------------------------------------------- */
.u-blue { color: var(--c-blue); }

#plan {
  background: var(--c-bg-cream);
  border-radius: 0 0 0 var(--radius-corner);
}

.plan__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-inline: calc(-1 * var(--gutter));
}
.plan__card {
  background: var(--c-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 40px 32px 32px;
}
.plan__card-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}
.plan__marker { display: block; width: 12px; height: 12px; flex: none; }
.plan__marker--green { background: var(--c-green); }
.plan__marker--blue { background: var(--c-blue); }

.plan__table { width: 100%; border-collapse: collapse; }
.plan__table th {
  padding: 0 8px 16px;
  text-align: center;
}
.plan__th-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 32px;
  padding-inline: 16px;
  border-radius: 999px;
  background: var(--c-bg-cream);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.plan__table thead tr,
.plan__table tbody tr { border-bottom: 1px dashed #DDDDDD; }
.plan__table td {
  height: 96px;
  padding: 24px 8px;
  text-align: center;
  color: var(--c-text);
}
.plan__table td:first-child { text-align: center; font-weight: 700; font-size: 16px; }
.plan__price-num,
.plan__freq-num {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.plan__price-unit { font-size: 14px; font-weight: 700; color: var(--c-text); }
.plan__freq { font-size: 14px; font-weight: 700; color: var(--c-text); }
.plan__table--green .plan__price-num,
.plan__table--green .plan__freq-num { color: var(--c-green); }
.plan__table--blue .plan__price-num,
.plan__table--blue .plan__freq-num { color: var(--c-blue); }

.plan__note { margin-top: 32px; text-align: center; font-size: 16px; color: var(--c-text); }

.plan__freee { margin-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
.plan__freee-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 214px;
  height: 40px;
  padding: 0 34px 8px;
  border-bottom: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
  letter-spacing: 0;
}
.plan__freee-badge::before,
.plan__freee-badge::after {
  content: "";
  position: absolute;
  top: 10px;
  display: block;
  width: 16px;
  height: 18px;
  background: url("../img/icon/Plan/freee-accent.svg") center / contain no-repeat;
}
.plan__freee-badge::before {
  left: 13px;
}
.plan__freee-badge::after {
  right: 13px;
  transform: scaleX(-1);
}
.plan__freee-badge i {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 1px;
  background: var(--c-green);
}
.plan__freee-title { margin-top: 8px; font-size: 24px; font-weight: 700; line-height: 1.5; }
.plan__freee-title .u-blue { font-size: 32px; }
.plan__freee-box {
  width: 100%;
  max-width: 1000px;
  margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--c-blue);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}
.plan__freee-row { display: flex; align-items: center; flex-wrap: nowrap; gap: 24px; }
.plan__freee-row:first-child { padding-bottom: 24px; border-bottom: 1px dashed #DDDDDD; }
.plan__freee .tag-badge {
  width: 180px;
  height: 40px;
  gap: 6px;
  padding: 0 14px;
  border: none;
  background: var(--c-white);
  color: var(--c-text);
  font-size: 14px;
  line-height: 1;
}
.plan__freee .tag-badge svg {
  width: 20px;
  height: 20px;
}
.plan__freee .tag-badge--ok svg { color: var(--c-green); }
.plan__freee .tag-badge--warn svg { color: #FF4D4D; }
.plan__freee-list { font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--c-text); flex: 1 1 auto; white-space: nowrap; }

/* -------------------------------------------------------------------------
   6-e. お客様の声（VOICE）
   3件のみ掲載が確定したため、PC=コンテンツ幅の静的3カラム（カルーセルなし）、
   SP=1枚ピーク表示のループカルーセル（js/main.jsで矢印・ドット制御）
   ------------------------------------------------------------------------- */
/* 前後セクションの標準padding(100px)と合算して、隣接セクションとの間隔がPCで120pxになるよう調整 */
#voice { overflow: hidden; padding-top: 20px; padding-bottom: 20px; }
.voice__viewport {
  overflow: hidden;
}
.voice__track {
  --voice-gap: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--voice-gap);
}
.voice__track::-webkit-scrollbar { display: none; }
.voice__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  height: auto;
  min-height: 252px;
  background: var(--c-bg-blue-lt);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.voice__avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
}
.voice__avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice__title { margin-bottom: 16px; font-size: 20px; font-weight: 700; line-height: 1.5; }
.voice__text { margin-bottom: 16px; font-size: 16px; line-height: 1.8; color: var(--c-text); text-align: left; }
.voice__name { align-self: flex-end; font-size: 16px; font-weight: 700; line-height: 1.5; }

/* PCは3件を並べて表示するのみのためカルーセル操作UIは非表示（SPのみ復活） */
.voice__controls { display: none; }
.voice__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #DDDDDD;
  border-radius: 50%;
  color: var(--c-text);
  flex: none;
  transition: background-color .2s ease;
}
.voice__arrow:hover { background: var(--c-bg-blue-lt); }
.voice__arrow svg { width: 20px; height: 20px; }
.voice__dots { display: flex; align-items: center; gap: 8px; }
.voice__dot {
  display: block;
  flex: none;
  width: 8px;
  height: 8px;
  min-width: 8px;
  padding: 0;
  border-radius: 50%;
  background: #DDDDDD;
  font-size: 0;
  line-height: 0;
}
.voice__dot.is-active { background: var(--c-blue); }

/* カードのスクロールイン（左から1枚ずつフェードアップ）。PC/タブレット（静的グリッド）のみ対象。
   SPはカルーセルJSがtransform/opacityを直接制御するため対象外（メディアクエリで無効化）。
   [data-reveal]はJSが実行できた場合だけ付与されるため、JS無効時は通常表示のまま変わらない */
@media (min-width: 769px) {
  #voice-track[data-reveal] .voice__card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
  }
  #voice-track[data-reveal].is-visible .voice__card {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------------------
   6-f. プロフィール（PROFILE）
   PDF書き出し（Prolile_PC.pdf / Prolile_SP.pdf）準拠。
   写真（profile-img_2x.avif）は画面幅の約45%・高さ560px固定で画面左端に全幅ベタ付け、
   右側2隅のみradius-corner（PC:80px/SP:64px）で角丸。幅は可変トリミング（object-fit: cover）。
   ------------------------------------------------------------------------- */
.profile { display: flex; align-items: stretch; gap: 64px; }
.profile__photo {
  flex: none;
  width: clamp(380px, 45vw, 650px);
  height: 560px;
  margin-left: calc(50% - 50vw); /* 画面左端までベタ付け（コンテナのpaddingを打ち消す） */
  border-radius: 0 var(--radius-corner) var(--radius-corner) 0;
  overflow: hidden;
}
.profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.profile__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.profile__name { font-size: 40px; font-weight: 700; color: var(--c-text); }
.profile__romaji {
  margin-left: 8px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--c-text);
  opacity: .55;
}
.profile__text { font-size: 16px; line-height: 1.8; color: var(--c-text); }
.profile__legal { font-size: 14px; line-height: 1.8; color: var(--c-text); opacity: .7; margin-top: 8px; }

/* -------------------------------------------------------------------------
   6-g. よくある質問（FAQ）
   ネイティブ<details>/<summary>によるアコーディオン（JS不要）
   ------------------------------------------------------------------------- */
/* 前セクションの標準padding(100px)と合算して間隔がPCで120pxになるよう調整 */
#faq { padding-top: 20px; }
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px dashed #DDDDDD; padding: 32px 24px; }
.faq__item:first-child { border-top: 1px dashed #DDDDDD; }
.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q-num,
.faq__a-badge { flex: none; width: 40px; display: flex; align-items: center; }
.faq__q-num img { height: 18px; width: auto; display: block; }
.faq__q-text { flex: 1; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--c-text); }
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border: 1px solid #DDDDDD; border-radius: 50%; background: var(--c-white); }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--c-text);
  border-radius: 1px;
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: transform .2s ease; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__a {
  height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition: height .3s ease, margin-top .3s ease, opacity .25s ease;
}
.faq__item[open] .faq__a { height: auto; margin-top: 16px; opacity: 1; }
.faq__a-inner { display: flex; gap: 16px; }
.faq__a-badge img { height: 16px; width: auto; display: block; }
.faq__a p { font-size: 15px; line-height: 1.8; color: var(--c-text); opacity: .85; }

/* -------------------------------------------------------------------------
   6-h. ご契約の流れ（FLOW）
   ------------------------------------------------------------------------- */
/* 前セクションの標準padding(100px)と合算して間隔がPCで120pxになるよう調整 */
#flow { padding-top: 20px; }
.flow { display: flex; align-items: stretch; justify-content: center; gap: 0; }
.flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-height: 179px;
  padding: 24px 20px;
  text-align: center;
  background: var(--c-bg-blue-lt);
  border-radius: var(--radius-sm);
}
.flow__num { align-self: flex-start; font-family: var(--font-en); font-weight: 700; font-size: 20px; color: var(--c-blue); }
.flow__body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; flex: 1 1 auto; }
.flow__icon { width: 64px; height: 64px; flex: none; }
.flow__label { font-size: 14px; font-weight: 700; color: var(--c-text); white-space: nowrap; }
.flow__connector { flex: 0 0 24px; height: 2px; background: var(--c-blue); align-self: center; }
.flow__arrow { flex: none; width: 24px; height: 24px; margin-left: -14px; color: var(--c-blue); align-self: center; }
.flow__caption { margin-top: 32px; text-align: center; font-size: 16px; color: var(--c-text); opacity: .8; }

/* ステップのスクロールイン（1つずつ下からフェードアップ、VOICEカードと同仕様）。
   [data-reveal]はJSが実行できた場合だけ付与されるため、JS無効時は通常表示のまま変わらない */
.flow[data-reveal] .flow__step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.flow[data-reveal].is-visible .flow__step {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   6-i. お問い合わせ（CONTACT）
   ------------------------------------------------------------------------- */
#contact {
  background: var(--c-bg-cream);
  border-radius: var(--radius-corner) 0 0 0;
}
#contact .section-lead { max-width: 800px; margin-inline: auto; }

.hidden-field { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }

.contact-form {
  margin-top: 48px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 64px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-field { display: flex; flex-direction: row; align-items: center; gap: 24px; }
.form-field:has(textarea) { align-items: flex-start; }
.form-field label {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
}
.form-field:has(textarea) label { padding-top: 28px; }
.form-required {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-white);
  background: #E85D5D;
  border-radius: 999px;
  padding: 8px 14px;
}
.form-field input,
.form-field select,
.form-field textarea {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  color: var(--c-text);
  padding: 28px 20px;
  border: 1px solid #DDDDDD;
  border-radius: var(--radius-sm);
  background: var(--c-white);
}
.form-field select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23222222' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}
.form-field textarea { resize: vertical; min-height: 160px; padding-top: 28px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--c-blue); outline-offset: 1px; }
.contact-form__submit { align-self: center; margin-top: 8px; }
.form-status { text-align: center; font-size: 14px; color: var(--c-blue); min-height: 1em; }
.form-status--success {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 10px 20px;
  background: var(--c-bg-blue-lt);
  border-radius: 999px;
  font-weight: 700;
}
.form-status--success .form-status__icon { width: 18px; height: 18px; flex: none; }
.contact-form__privacy { margin-top: -8px; text-align: center; font-size: 16px; color: var(--c-text); opacity: .7; }

/* -------------------------------------------------------------------------
   7. プライバシーポリシー モーダル
   ------------------------------------------------------------------------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: grid; place-items: center; padding: var(--gutter);
}
.modal__overlay { position: absolute; inset: 0; background: rgba(19,28,37,.5); }
.modal__panel {
  position: relative;
  width: min(100%, 1200px);
  max-height: 85vh;
  overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-4); padding: 64px;
}
.modal__close {
  position: absolute; top: 16px; right: 20px;
  font-size: 28px; line-height: 1; color: var(--c-text);
}
.modal__panel h2 {
  position: relative;
  margin-bottom: 40px;
  font-size: 40px;
  line-height: 1.5;
}
.modal__panel h2::before {
  content: "PRIVACY POLICY";
  display: block;
  margin-bottom: 8px;
  padding-left: 22px;
  font-family: var(--font-en);
  font-size: 14px;
  line-height: 1.2;
  color: var(--c-text);
}
.modal__panel h2::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 8px;
  background: linear-gradient(90deg, var(--c-green) 0 47%, var(--c-blue) 47% 100%);
}
.modal__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 15px;
  line-height: 1.8;
}
.modal__content > p:first-child { margin-bottom: 40px; }
.privacy-section {
  display: flex;
  gap: 32px;
  padding-block: 32px;
  border-top: 1px dashed #DDDDDD;
}
.privacy-num {
  flex: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 28px;
  color: var(--c-blue);
  line-height: 1.5;
}
.privacy-body { display: flex; flex-direction: column; gap: 8px; }
.privacy-body h3 { font-size: 20px; line-height: 1.5; }
.privacy-list { display: flex; flex-direction: column; gap: 4px; padding-left: 1.2em; }
.privacy-list li { font-size: 15px; line-height: 1.8; opacity: .85; list-style: disc; }
.privacy-date {
  margin-top: 24px;
  text-align: right;
  font-size: 14px;
  color: var(--c-text);
}

/* -------------------------------------------------------------------------
   7-b. フッター
   ------------------------------------------------------------------------- */
.site-footer { background: var(--grad-blue); color: var(--c-white); padding-top: 64px; }
.site-footer .container { max-width: 1440px; padding-inline: 80px; }
.footer__grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 40px; }
.footer__info { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.8; opacity: .9; }
.footer__info .privacy-link { align-self: flex-start; text-decoration: underline; text-underline-offset: 2px; opacity: .9; }
.footer__brand { font-family: var(--font-serif); font-weight: 600; font-size: 40px; }
.footer__copyright {
  padding-block: 24px;
  border-top: 1px dashed rgba(255,255,255,.3);
  text-align: center;
  font-size: 13px;
  opacity: .8;
}

/* -------------------------------------------------------------------------
   7-c. タブレット（769〜1080px）
   フルnav（ロゴ+4項目+CTA）は1080px未満で折り返すため、この帯だけ先にハンバーガーへ
   切替。PC側のトークン（--section-py等）はここでは変更せず、PCデザインを維持する。
   ------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1080px) {
  .nav { display: none; }
  .site-header__sp-cta { display: inline-flex; }
  .hamburger { display: flex; border: 1px solid #EEEEEE; background: var(--c-white); }

  /* 料金プラン：2表並びだと窮屈になるため1カラムに積む（フォントサイズはPCのまま） */
  .plan__grid { grid-template-columns: 1fr; gap: 32px; margin-inline: 0; }
  .plan__card { padding: 32px; }
  .plan__freee-row { flex-direction: column; align-items: flex-start; }
  .plan__freee-list { white-space: normal; }

  /* お悩み（CONCERN）：吹き出しがnowrap固定幅のため、この帯では画面幅からはみ出す。
     SPと同じ千鳥の1カラム縦積みに切替（幅はタブレット向けに少し広め） */
  .concern__row--top,
  .concern__row--bottom,
  .concern__col,
  .concern__col--end { display: contents; }
  .concern { width: 100%; }
  .pill { min-width: 0; white-space: normal; width: 100%; max-width: 420px; }
  .pill--m1 { order: 1; align-self: flex-end; }
  .pill--m2 { order: 2; align-self: flex-start; }
  .pill--m3 { order: 3; align-self: flex-end; }
  .pill--m4 { order: 4; align-self: flex-start; }
  .pill--m5 { order: 5; align-self: flex-end; }
  .pill--m6 { order: 6; align-self: flex-start; }
  .concern__figure { order: 7; align-self: center; margin-top: 8px; }

  /* サービス内容：対応できること/対応外の業務リストがnowrap固定幅のためはみ出す */
  .service__note { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 20px; }
  .service__note-list { white-space: normal; }
}

/* -------------------------------------------------------------------------
   8. レスポンシブ（SPは実機確認しながら本調整。Figma実物(node 144:620)準拠、
      一部（ハンバーガーアイコン形状・ヒーローバッジ詳細）はAPIレート制限で
      未取得のため近似値。解除後に見直す）
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --section-py: 64px; --radius-corner: 64px; --header-h: 80px; --gutter: 24px; }

  /* ヘッダー：フルnav→ハンバーガーに切替 */
  .site-header__bar { gap: 8px; padding: 8px 8px 8px 16px; }
  .logo {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    line-height: 1.1;
    white-space: normal;
  }
  .logo span { display: block; }
  .nav { display: none; }
  .site-header__sp-cta { display: inline-flex; }
  .hamburger {
    display: flex;
    width: 48px;
    height: 48px;
    gap: 5px;
    border: 1px solid #EEEEEE;
    background: var(--c-white);
  }
  .hamburger__line { width: 18px; height: 2px; }
  .hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { inset: 80px 8px auto 8px; }

  /* 見出し（アイブロウ＋H2）
     SPタイポスケール： メイン本文=15px / 見出し(h3相当)=18px / h2=26px
     それ以外（h1・強調数字・小ラベル）はこの3値を基準に設計 */
  .section-head { gap: 8px; margin-bottom: 28px; }
  .section-title { font-size: 26px; }
  #concern .section-title { white-space: nowrap; font-size: 24px; }

  /* SP専用の改行を有効化 */
  .u-sp-only { display: inline; }
  .u-pc-only { display: none; }

  /* ヒーロー（FV）：KV_SP.pdf準拠。写真がほぼ画面全体を覆い、バッジは写真下側に重なる */
  .hero { height: 640px; min-height: 0; }
  .hero__media { position: absolute; inset: auto 0 auto 0; top: 0; height: 640px; border-radius: 0 0 0 var(--radius-corner); }
  .hero__img { object-position: center top; }
  .hero__overlay { display: none; }
  .hero__inner { min-height: 100%; padding-top: 16px; padding-bottom: 24px; padding-inline: 24px; }
  .hero__content { gap: 12px; align-items: flex-start; text-align: left; min-width: 0; width: 100%; transform: none; }
  .hero__heading { gap: 4px; align-items: flex-start; }
  .hero__title { font-size: 28px; }
  .hero__title .u-sm { font-size: 0.8571em; }
  .hero__lead { font-size: 15px; }
  .hero__badges { gap: 6px; flex-wrap: nowrap; justify-content: flex-start; margin-top: auto; width: 100%; }
  .hero__badge {
    flex: 1 1 0;
    width: 110px;
    min-width: 0;
    height: 72px;
    border-radius: 36px;
    padding: 4px;
    font-size: 12px;
    line-height: 1.3;
    background: rgba(255,255,255,.8);
  }
  .btn--cta { padding: 18px 28px; font-size: 16px; }
  .hero .btn--cta { align-self: stretch; line-height: 1.5; }

  /* お悩み（CONCERN）：千鳥の1カラム縦積みに再配置（Figma 155:809準拠） */
  .concern__row--top,
  .concern__row--bottom,
  .concern__col,
  .concern__col--end { display: contents; }
  .concern { width: 100%; gap: 12px; }
  .pill { min-width: 0; min-height: 56px; padding-block: 17px; white-space: normal; width: 100%; max-width: 311px; font-size: 15px; }
  .pill__kw { font-size: 16px; }
  .pill--m1 { order: 1; align-self: flex-end; }
  .pill--m2 { order: 2; align-self: flex-start; }
  .pill--m3 { order: 3; align-self: flex-end; }
  .pill--m4 { order: 4; align-self: flex-start; }
  .pill--m5 { order: 5; align-self: flex-end; }
  .pill--m6 { order: 6; align-self: flex-start; }
  .concern__figure { order: 7; align-self: center; width: 132px; height: 173px; margin-top: 0; }

  /* 選ばれる理由（REASON）：常に画像が上・テキストが下（左右交互を解除） */
  .reason { gap: 16px; }
  .reason__card,
  .reason__card--reverse { flex-direction: column; }
  .reason__media { flex-basis: auto; min-height: 200px; }
  .reason__body { padding: 24px; gap: 8px; }
  .reason__title { font-size: 18px; }
  .reason__kw { font-size: 24px; }
  .reason__desc { font-size: 15px; }

  /* サービス内容（SERVICE）：Figma SPに合わせて2カラムに変更 */
  .service__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; }
  .service__item {
    min-height: 224px;
    border-right: 1px solid rgba(255,255,255,.4);
    border-bottom: 1px solid rgba(255,255,255,.4);
    padding: 20px 16px;
  }
  .service__item:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.4); }
  .service__item:nth-child(2n) { border-right: none; }
  .service__item:nth-last-child(-n+3):nth-child(n+4) { border-bottom: 1px solid rgba(255,255,255,.4); }
  .service__item:nth-last-child(-n+2) { border-bottom: none; }
  .service__icon { width: 40px; height: 40px; margin-bottom: 16px; }
  .service__title { margin-bottom: 8px; font-size: 18px; }
  .service__desc { font-size: 14px; }
  .service__notes { width: 100%; }
  .service__note {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-block: 20px;
  }
  .tag-badge {
    width: 150px;
    height: auto;
    padding: 8px 16px;
    border-width: 1px;
    font-size: 14px;
  }
  .tag-badge img { width: 20px; height: 20px; }
  .service__note-list { font-size: 15px; white-space: normal; }

  /* 料金プラン（PLAN）：カード縦積み、テーブルは列幅を固定して可読性を確保 */
  .plan__grid { grid-template-columns: 1fr; gap: 16px; margin-inline: 0; }
  .plan__card { padding: 20px; }
  .plan__card-title { gap: 10px; margin-bottom: 20px; font-size: 18px; }
  .plan__marker { width: 10px; height: 10px; }
  .plan__table { table-layout: fixed; }
  .plan__table th:first-child,
  .plan__table td:first-child { width: 25%; }
  .plan__table th { padding: 0 2px 10px; }
  .plan__th-label { min-width: 0; width: 100%; height: 26px; padding-inline: 4px; font-size: 11px; }
  .plan__table td { height: auto; padding: 14px 2px; }
  .plan__table td:first-child { font-size: 13px; line-height: 1.3; }
  .plan__price { white-space: nowrap; }
  .plan__price-num,
  .plan__freq-num { font-size: 19px; }
  .plan__price-unit { font-size: 11px; }
  .plan__freq { font-size: 14px; }
  .plan__freee { margin-top: 40px; }
  .plan__freee-title { margin-top: 16px; font-size: 18px; }
  .plan__freee-title .u-blue { font-size: 24px; }
  .plan__freee-box { padding: 20px; }
  .plan__freee-row { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .plan__freee-list { white-space: normal; }

  /* お客様の声（VOICE）：1枚ずつ・両脇ピーク表示（PCの静的グリッドを上書きしてカルーセルに戻す）。
     ブラウザネイティブのscroll-snapで実装：座標を手計算するtransformアニメーションをやめ、
     実際のスクロール（＝本物のフリック物理演算）に任せる。カード同士が重なる余地がなくなり、
     指を離した位置に応じたスナップも標準機能でそのまま得られる */
  #voice { padding-top: 16px; padding-bottom: 16px; }
  .voice__viewport {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-inline: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .voice__viewport::-webkit-scrollbar { display: none; }
  .voice__track {
    --voice-card-w: 279px;
    --voice-gap: 24px;
    display: flex;
    width: max-content;
    padding-inline: calc((100vw - var(--voice-card-w)) / 2);
    scroll-padding-inline: calc((100vw - var(--voice-card-w)) / 2);
  }
  .voice__card {
    flex: 0 0 var(--voice-card-w);
    width: var(--voice-card-w);
    padding: 24px;
    border-radius: var(--radius-md);
    min-height: 0;
    scroll-snap-align: center;
  }
  .voice__avatar { width: 96px; height: 96px; margin-bottom: 12px; }
  .voice__title { margin-bottom: 8px; font-size: 18px; }
  .voice__text { margin-bottom: 8px; font-size: 15px; line-height: 1.8; }
  .voice__name { font-size: 14px; }
  .voice__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }

  /* プロフィール（PROFILE）：テキストが上・写真が下（DOM順は写真が先のためcolumn-reverse） */
  .profile { flex-direction: column-reverse; gap: 24px; }
  .profile__photo {
    width: calc(100% + var(--gutter));
    height: auto;
    margin-left: calc(-1 * var(--gutter));
    aspect-ratio: 351 / 334;
    border-radius: 0 var(--radius-corner) var(--radius-corner) 0;
  }
  .profile__photo img { object-position: center; }
  .profile__name { font-size: 26px; }
  .profile__romaji { display: block; margin-left: 0; margin-top: 8px; }

  /* CTAバンド：横並び→縦積み */
  .cta-band__inner { flex-direction: column; padding: 24px; gap: 32px; }
  .cta-band__text { align-items: flex-start; max-width: none; }
  .cta-band__text .eyebrow { margin-bottom: 12px; }
  .cta-band__title { font-size: 26px; line-height: 1.2; }
  .cta-band__lead { font-size: 15px; }
  .cta-band__badge { width: 56px; height: 56px; align-self: flex-end; }
  .cta-band__badge-icon { width: 20px; height: 20px; }

  /* よくある質問（FAQ） */
  #faq { padding-top: 16px; }
  .faq__item { padding: 24px 16px; }
  .faq__q { gap: 12px; }
  .faq__q-num,
  .faq__a-badge { width: 28px; }
  .faq__q-text { font-size: 15px; line-height: 1.5; }
  .faq__q-num img { height: 15px; }
  .faq__icon { width: 32px; height: 32px; }
  .faq__icon::before { width: 12px; }
  .faq__icon::after { height: 12px; }
  .faq__a-inner { gap: 12px; }
  .faq__a-badge img { height: 14px; }
  .faq__a p { font-size: 15px; }

  /* ご契約の流れ（FLOW）：横並び→縦積みリスト */
  #flow { padding-top: 16px; }
  .flow { flex-direction: column; align-items: stretch; gap: 8px; }
  .flow__step {
    flex-direction: row;
    align-items: center;
    min-height: 80px;
    padding: 16px;
    gap: 16px;
    text-align: left;
  }
  .flow__connector, .flow__arrow { display: none; }
  .flow__num { align-self: auto; width: 28px; font-size: 20px; }
  .flow__body { flex-direction: row; justify-content: flex-start; gap: 16px; }
  .flow__icon { width: 40px; height: 40px; }
  .flow__label { font-size: 16px; white-space: normal; }

  /* お問い合わせ（CONTACT） */
  .contact-form { margin-top: 32px; padding: 24px; gap: 20px; }
  .form-field,
  .form-field:has(textarea) { flex-direction: column; align-items: stretch; gap: 8px; }
  .form-field label,
  .form-field:has(textarea) label { flex: none; padding-top: 0; }
  .form-field input,
  .form-field select,
  .form-field textarea { padding: 14px 16px; }
  .form-field textarea { padding-top: 14px; min-height: 100px; }
  .contact-form__submit { align-self: stretch; }
  .contact-form__privacy { margin-top: -24px; }

  .modal { padding: 16px; }
  .modal__panel { padding: 40px 24px; border-radius: var(--radius-md); }
  .modal__panel h2 { margin-bottom: 28px; font-size: 26px; }
  .privacy-section { gap: 16px; padding-block: 24px; }
  .privacy-num { font-size: 22px; }
  .privacy-body h3 { font-size: 18px; }

  /* フッター */
  .site-footer .container { padding-inline: var(--gutter); }
  .footer__grid { flex-direction: column; align-items: flex-start; gap: 40px; }
  .footer__brand { align-self: flex-start; font-size: 28px; }
}
