/* =============================================
 * ジドウカくん｜業務を自動化するオーダーメイドのシステム・AI開発 (PotentialX) LP — Styles
 * カラー: 黒 #000000 + 白 #ffffff + アクセント #006eff
 * フォント: Noto Sans JP + DM Sans + Shippori Mincho B1
 * トーン: 信頼感ある toB、alphadrive 風
 * ============================================= */

/* --- Webfonts (Google Fonts 経由で @font-face を取り込み。HTML の <link> と重複するがキャッシュされ実害なし) --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=DM+Sans:wght@400;700&family=Shippori+Mincho+B1:wght@500;700&display=swap');

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Tokens --- */
:root {
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-text-muted: #6b7280;
  --color-accent: #006eff;
  --color-accent-hover: #0056cc;
  --color-accent-light: rgba(0, 110, 255, 0.06);
  --color-border: #e5e7eb;
  --color-section-bg: #fafafa;

  --font-ja: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-en: "DM Sans", system-ui, sans-serif;
  --font-display: "Shippori Mincho B1", "Noto Serif JP", serif;

  --fs-h1: clamp(2rem, 5vw, 3.75rem); /* @kind font */
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem); /* @kind font */
  --fs-h3: clamp(1.125rem, 2vw, 1.375rem); /* @kind font */
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --max-width: 1200px;
  --section-py: clamp(72px, 9vw, 112px); /* @kind spacing */
  --content-px: clamp(20px, 5vw, 40px); /* @kind spacing */

  --radius: 6px;
  --transition: 200ms ease; /* @kind other */
}

/* --- Base --- */
body {
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--content-px);
  padding-right: var(--content-px);
}

/* English label (英日並置 H2 の英語側) */
.h2-en {
  font-family: var(--font-en);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: block;
}

h2.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.section-lead {
  font-size: var(--fs-h3);
  font-weight: 400;
  margin-top: 16px;
  color: var(--color-text);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-small);
}
/* 黄色 CTA (利益改善相談、2026-05-25) — ヘッダー / フォーム送信ボタン用 */
.btn-cta {
  background: #ffff00;
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 0 #c7c700, 0 4px 10px rgba(255, 255, 0, 0.22);
  transition: transform 0.12s, box-shadow 0.12s, background-color 0.12s;
}
/* ヘッダー CTA 内の「無料」チップ (2026-08-22 第3稿) */
.btn-free-chip {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 4px 9px;
  border-radius: 5px;
  margin-right: 9px;
  vertical-align: 1px;
}
.btn-cta:hover {
  background: #ffff00;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c7c700, 0 2px 6px rgba(255, 255, 0, 0.18);
}
.btn-cta:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #c7c700;
}

/* CTA group with emphasis copy */
.cta-group {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cta-emphasis {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- Header --- */
.lp-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}
.lp-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.0625rem;
  height: 48px;
}
.logo img {
  height: 100%;
  width: auto;
  display: block;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer-brand .logo { height: 64px; }

/* --- FV (Box-style hero) --- */
.fv {
  position: relative;
  padding: 64px 0 52px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 480px;
}
/* FV bg — 黒ベース + ネイビー放射状 + 青ブループリント grid 48px 6% (clip-path 削除、矩形フル、2026-05-28) */
.fv::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(91, 157, 255, 0.06) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(91, 157, 255, 0.06) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(120% 80% at 50% 28%, #0a1530 0%, #000 72%);
  z-index: 0;
}
/* FV bg — accent オーロラ blob 2 個 (slow drift・screen blend、clip-path 削除、2026-05-28) */
.fv::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(380px 380px, rgba(0, 110, 255, 0.32), transparent 60%),
    radial-gradient(440px 440px, rgba(91, 200, 255, 0.18), transparent 60%);
  background-repeat: no-repeat;
  background-position: 22% 30%, 78% 65%;
  filter: blur(18px);
  mix-blend-mode: screen;
  animation: fv-aurora 24s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes fv-aurora {
  0%   { background-position: 22% 30%, 78% 65%; }
  50%  { background-position: 17% 38%, 84% 58%; }
  100% { background-position: 26% 26%, 73% 72%; }
}
.fv .container {
  position: relative;
  z-index: 1;
  /* .fv は display:flex(縦中央寄せ)のため .container は flex item になる。width 未指定だと
     WebKit/Safari が flex item を content 幅まで収縮させ(flex-grow:0)、中の .fv-inner が狭まって
     .fv-left/.fv-right が左右に溢れる(Chrome はフル幅で出ず=Safari 限定)。width:100% で flex line を
     必ず埋める(max-width:1200 + margin:auto は維持され中央寄せのまま)。(2026-06-10) */
  width: 100%;
}
.fv-inner {
  display: flex;
  gap: 56px;
  align-items: stretch;
  justify-content: center;
}
/* min-width:0 は付けない: 中の見出しが white-space:nowrap のため、min-width:0 だと
   Safari/WebKit が .fv-left を min-content 以下 (≈61px) まで潰し FV が崩壊する (2026-06-10 修正)。
   min-width:auto (= 既定) で見出し幅を下限に保ち、Chromium と挙動を揃える。
   flex-grow は 0: .container を width:100% にした結果 grow:1 だと .fv-left が max-width:640px まで
   伸び、左寄せテキストの右側に余白ができて右パネルとの間が広く空く。grow:0 で中身幅に収め、
   .fv-inner の justify-content:center で左右を本来の gap(56px)で中央寄せにする (2026-06-10)。 */
.fv-left { flex: 0 1 auto; max-width: 640px; display: flex; flex-direction: column; }
.fv-right { flex: 0 0 340px; }

/* FV 見出し (2026-07-03 CRO添削):
   初見ユーザーが最初に読むべきは「何をしてくれるか」。価値提案コピーを最大の視覚要素 (H1) に昇格し、
   意味を持たないブランド名は上の eyebrow ピルへ降格。キーワードは CTA と同じ黄色でマーカー強調。 */
.fv-eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  color: #ffffff;
  font-size: clamp(0.82rem, 1.3vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 7px 18px;
  border-radius: 100px;
  margin: 0 0 18px;
}
/* 2026-08-21 ver.2: 2 行目「最大限のビジネスインパクトを。」が 15 字で従来より長い。
   961–1080px 帯は中間項(vw)が支配するため上限だけ下げても 3 行に折れる → vw 係数ごと下げる。 */
.fv-h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.42;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.fv-h1 em {
  font-style: normal;
  color: #ffff00;
}

/* mobile-only forced line breaks (hidden on desktop/tablet) */
.break-sm { display: none; }

.fv-lead {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  line-height: 1.75;
  font-weight: 500;
}
.fv-lead strong { color: #ffffff; font-weight: 800; }

/* 3 つの丸要素 (CTA 上) — 1,2 を 1 行目、3 を強制 2 行目に (2026-05-28) */
.fv-features {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 28px;
}
/* 2 番目と 3 番目の間に挟む不可視ブレーカー (flex-basis 100% で強制改行) */
.fv-feature-break {
  flex-basis: 100%;
  height: 0;
  pointer-events: none;
}
.fv-feature {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 4px 12px 4px 4px;
  border-radius: 100px;
  line-height: 1;
}
.fv-feature-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-accent);
  font-weight: 800;
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.fv-feature-text {
  font-size: 0.94rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.fv-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
/* FV 内プライマリ CTA (旧 #cta-band の中身を FV 下部へ統合、2026-07-03):
   ファーストビュー内で行動導線を完結させる。暗背景は FV がそのまま担う。 */
.fv-cta-hero {
  justify-content: center;
  margin: clamp(32px, 4vw, 44px) 0 0;
}
.fv-cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fv-cta-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
/* Box CTA labels on dark/blue backgrounds */
.fv .fv-cta-label,
.final-cta .fv-cta-label {
  color: rgba(255, 255, 255, 0.95);
}

/* 限定キャンペーン badge (白背景・黒文字・角丸、ボタン上端に半分被せる、2026-06-02) */
.fv-cta-promo { position: relative; }
.fv-promo-badge {
  position: relative;
  z-index: 2;
  align-self: center;
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 7px 18px 16px;          /* 下に余白 → 下半分がボタンに重なる見え方 */
  border-radius: 100px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  margin-bottom: -18px;            /* ボタン上端に半分被せる */
  white-space: nowrap;
}
.fv-promo-badge em {
  color: #e8002d;                  /* 「3社」「10万円」を赤に */
  font-style: normal;
  font-weight: 900;
}
/* バッジ＋ボタンを1つの群として一緒にパルス（個別パルスをやめ、重なりを保ったまま同期）。
   ※個別パルスだと拡大中心がズレてバッジとボタンの動きがそろわないため、群で1回拡大する。 */
.cta-pulse {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: btn-pulse 2.2s ease-in-out infinite;
}
.cta-pulse:hover { animation: none; }
.cta-pulse .btn-box-primary { animation: none; }   /* 群が拡大するのでボタン個別パルスは止める */
/* スタック型 CTA: ＼ラベル／ ＋ メイン文言をボタン内に格納し高さを出す。
   上端に割引バッジを重ねるため、上 padding を広く取り文字と被らせない。
   幅は中身に合わせる (横いっぱいにしない)。 */
.btn-box-primary.btn-cta-stacked {
  flex-direction: column;
  gap: 2px;
  padding: 32px 34px 15px;         /* 上を広く＝バッジ回避 */
  line-height: 1.25;
  width: auto;
  border-radius: 16px;             /* もう少し四角に */
}
.btn-cta-stacked .btn-cta-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn-cta-stacked .btn-cta-main {
  font-size: 1.18rem;
  font-weight: 800;
}
/* 景表法・誠実表示の注記 (割引の基準=通常価格 と先着条件を明示。暗背景の FV / 最終CTA 用) */
.fv-promo-note {
  margin: 12px auto 0;
  max-width: 360px;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-weight: 500;
}
@media (max-width: 480px) {
  .fv-promo-note { font-size: 0.68rem; max-width: 300px; }
}
@media (max-width: 480px) {
  .fv-promo-badge { font-size: clamp(0.74rem, 3.7vw, 0.9rem); padding: 6px 14px 15px; }
}

/* Box-style buttons (yellow primary + white secondary, pill, 立体感) */
.btn-box-primary,
.btn-box-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: 60px;
  transition: all 0.15s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  min-width: 260px;
  box-sizing: border-box;
}
.btn-box-primary {
  background: #ffff00;
  color: #000;
  font-weight: 800;
  font-size: 1.18rem;
  padding: 10px 32px;
  box-shadow: 0 6px 0 #c7c700, 0 6px 20px rgba(255, 255, 0, 0.25);
  position: relative;
  overflow: hidden;
  animation: btn-pulse 2.2s ease-in-out infinite;
}
/* CTA シャイン: 定期的に光が走るアニメ (2026-05-25) */
.btn-box-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: btn-shine 3.2s ease-in-out infinite;
}
@keyframes btn-shine {
  0%   { left: -75%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
/* CTA パルス: 大小に伸縮 (2026-05-25) */
@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.btn-box-primary:hover {
  background: #ffff00;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #c7c700, 0 3px 12px rgba(255, 255, 0, 0.2);
  animation: none;
}
.btn-box-primary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #c7c700;
}
.btn-box-secondary {
  background: #ffffff;
  color: #1a1a2e;
  font-weight: 700;
  box-shadow: 0 6px 0 #ccc, 0 6px 20px rgba(0, 0, 0, 0.08);
}
.btn-box-secondary:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #ccc, 0 3px 12px rgba(0, 0, 0, 0.06);
}
.btn-box-secondary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #ccc;
}

/* =========================================================================
   FV right — Relay: human ↔ AI robot baton handoff (現行版)
   ========================================================================= */
.fv-relay {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 20px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* =========================================================================
   FV 右: サービスの流れ 正方形カルーセル — 2026-05-28 (再設計v3)
   - 4 スライド × 3s = 12s ループ・右→左 横スライド + フェード (0.3s)
   - 各スライド内部にも継続アニメ (人物 nod / 歯車回転 / タスク流入 / バー昇)
   - キャプション中央揃え (番号チップ + タイトル)
   - 下端中央に Stepper (4 ドット、現在位置 highlight + glow)
   - 白パネル基調 + accent 青 glow、黒 FV bg 上で浮かび上がる
   ========================================================================= */
.fv-flow {
  --fvf-loop: 12s; /* @kind other */
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 110, 255, 0.22);
  box-shadow:
    0 24px 70px rgba(0, 110, 255, 0.30),
    0 0 60px rgba(0, 110, 255, 0.22),
    inset 0 0 0 1px rgba(91, 157, 255, 0.06);
}

/* スライド (絶対配置・自分の時間枠だけ on stage) */
.fvf-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 36px;        /* 下に stepper 用余白 */
  opacity: 0;
  transform: translateX(100%);
  animation-duration: var(--fvf-loop);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.fvf-s1 { animation-name: slide4-1; }
.fvf-s2 { animation-name: slide4-2; }
.fvf-s3 { animation-name: slide4-3; }
.fvf-s4 { animation-name: slide4-4; }
/* 12s ループ・各 25%、エンター/エグジット 2.5% (= 0.3s) */
@keyframes slide4-1 {
  0%          { opacity: 0; transform: translateX(100%); }
  2.5%        { opacity: 1; transform: translateX(0); }
  22.5%       { opacity: 1; transform: translateX(0); }
  25%, 100%   { opacity: 0; transform: translateX(-100%); }
}
@keyframes slide4-2 {
  0%, 22.5%   { opacity: 0; transform: translateX(100%); }
  25%         { opacity: 1; transform: translateX(0); }
  47.5%       { opacity: 1; transform: translateX(0); }
  50%, 100%   { opacity: 0; transform: translateX(-100%); }
}
@keyframes slide4-3 {
  0%, 47.5%   { opacity: 0; transform: translateX(100%); }
  50%         { opacity: 1; transform: translateX(0); }
  72.5%       { opacity: 1; transform: translateX(0); }
  75%, 100%   { opacity: 0; transform: translateX(-100%); }
}
@keyframes slide4-4 {
  0%, 72.5%   { opacity: 0; transform: translateX(100%); }
  75%         { opacity: 1; transform: translateX(0); }
  97.5%       { opacity: 1; transform: translateX(0); }
  100%        { opacity: 0; transform: translateX(-100%); }
}

/* キャプション (中央揃え) */
.fv-flow .slide-cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 4px;
}
.fv-flow .slide-num {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: var(--color-accent);
  border-radius: 100px;
  padding: 2px 12px;
}
.fv-flow .slide-title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.4;
  color: #0a1530;
  letter-spacing: 0.01em;
}

/* イラスト領域 (薄い青グラデで accent 統一感) */
.fv-flow .slide-illus {
  position: relative;
  flex: 1;
  margin-top: 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 110, 255, 0.04), rgba(0, 110, 255, 0.10));
}
.fv-flow .slide-illus > i,
.fv-flow .slide-illus > i > b { position: absolute; display: block; }

/* === STEP 1: 専門家 nod + 3 番号付きブロックの swap (業務フロー入れ替え) === */
.fvf-illus-1 .fvf-person {
  left: 12%; bottom: 18%;
  width: 36px; height: 50px; border-radius: 18px 18px 6px 6px;
  background: var(--color-accent);
  animation: fvf-nod 1.8s ease-in-out infinite;
}
.fvf-illus-1 .fvf-person::before {
  content: ""; position: absolute; left: 50%; top: -28px; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0, 110, 255, 0.75);
}
@keyframes fvf-nod {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.fvf-illus-1 .fvf-fblock {
  right: 12%;
  width: 60px; height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-en);
  font-style: normal;     /* <i> の italic 解除 */
  letter-spacing: 0.05em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 110, 255, 0.35);
}
.fvf-illus-1 .fvf-fblock.fb1 { top: 10%; background: var(--color-accent); animation: fvf-swap-A 3s ease-in-out infinite; z-index: 2; }
.fvf-illus-1 .fvf-fblock.fb2 { top: 42%; background: rgba(0, 110, 255, 0.7); animation: fvf-swap-B 3s ease-in-out infinite; z-index: 1; }
.fvf-illus-1 .fvf-fblock.fb3 { top: 74%; background: rgba(0, 110, 255, 0.55); }
/* fb1 と fb2 がループ周期で位置を入れ替え */
@keyframes fvf-swap-A {
  0%, 18%, 82%, 100% { transform: translateY(0); }
  38%, 62%           { transform: translateY(72px); }
}
@keyframes fvf-swap-B {
  0%, 18%, 82%, 100% { transform: translateY(0); }
  38%, 62%           { transform: translateY(-72px); }
}

/* === STEP 2: 設定パネルでAI社員をセットアップ (トグルが順にON + 右下にミニボット)
       旧コードエディタ表現は「開発会社」トーンのため差し替え (2026-07-02 添削) === */
.fvf-illus-2 .fvf-setup {
  left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 84%; height: 80%;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 110, 255, 0.16), inset 0 0 0 1px rgba(0, 110, 255, 0.18);
}
.fvf-illus-2 .fvf-setup-bar {
  left: 0; top: 0; right: 0; height: 20px;
  background: rgba(0, 110, 255, 0.10);
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid rgba(0, 110, 255, 0.14);
}
.fvf-illus-2 .fvf-setup-bar::before {
  content: ""; position: absolute; left: 9px; top: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0, 110, 255, 0.5);
  box-shadow: 11px 0 0 rgba(0, 110, 255, 0.32), 22px 0 0 rgba(0, 110, 255, 0.18);
}
/* 設定項目名のダミーライン (左) */
.fvf-illus-2 .fvf-setline {
  left: 14px; height: 6px; border-radius: 3px;
  background: #dbe3ee;
}
.fvf-illus-2 .fvf-setline.sl1 { top: 38px; width: 42%; }
.fvf-illus-2 .fvf-setline.sl2 { top: 66px; width: 32%; }
.fvf-illus-2 .fvf-setline.sl3 { top: 94px; width: 46%; }
/* トグルスイッチ (右) — 上から順に ON になっていく */
.fvf-illus-2 .fvf-toggle {
  right: 14px; width: 30px; height: 16px;
  border-radius: 100px;
  background: #cfd8e5;
  animation: fvf-tgl-track 4.5s ease-in-out infinite;
}
.fvf-illus-2 .fvf-toggle::after {
  content: ""; position: absolute; left: 2px; top: 2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 34, 64, 0.3);
  animation: fvf-tgl-knob 4.5s ease-in-out infinite;
}
.fvf-illus-2 .fvf-toggle.tg1 { top: 33px; }
.fvf-illus-2 .fvf-toggle.tg2 { top: 61px; animation-delay: .5s; }
.fvf-illus-2 .fvf-toggle.tg2::after { animation-delay: .5s; }
.fvf-illus-2 .fvf-toggle.tg3 { top: 89px; animation-delay: 1s; }
.fvf-illus-2 .fvf-toggle.tg3::after { animation-delay: 1s; }
@keyframes fvf-tgl-track {
  0%, 10%   { background: #cfd8e5; }
  22%, 88%  { background: var(--color-accent); }
  96%, 100% { background: #cfd8e5; }
}
@keyframes fvf-tgl-knob {
  0%, 10%   { transform: translateX(0); }
  22%, 88%  { transform: translateX(14px); }
  96%, 100% { transform: translateX(0); }
}
/* セットアップ中のミニAIボット (右下・目パチ) */
.fvf-illus-2 .fvf-setup-bot {
  right: 5%; bottom: 1%;
  width: 40px; height: 34px; border-radius: 9px;
  background: var(--color-accent);
  box-shadow: 0 6px 16px rgba(0, 110, 255, 0.35);
}
.fvf-illus-2 .fvf-setup-bot::after {
  content: ""; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent);
  box-shadow: 0 0 8px rgba(0, 110, 255, 0.7);
}
/* ロボの目のまばたき (FV カルーセル 2 箇所で参照。旧 Solution 機構と共有だったため
   2026-08-22 の機構削除で巻き込み消去 → FVF 側へ移設して復元) */
@keyframes fsBlink { 0%, 90%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }
.fvf-illus-2 .fvf-sbot-eye {
  top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: fsBlink 3.2s ease-in-out infinite;
}
.fvf-illus-2 .fvf-sbot-eye.e1 { left: 10px; }
.fvf-illus-2 .fvf-sbot-eye.e2 { right: 10px; }

/* === STEP 3: AI ロボ + タスクが orbit (周回) === */
.fvf-illus-3 .fvf-bot {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 48px; border-radius: 12px;
  background: var(--color-accent);
  box-shadow: 0 6px 18px rgba(0, 110, 255, 0.45);
  z-index: 1;
}
.fvf-illus-3 .fvf-bot::after {
  content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent);
  box-shadow: 0 0 10px rgba(0, 110, 255, 0.8); animation: ai-blink 2s ease-in-out infinite;
}
.fvf-illus-3 .fvf-eye {
  position: absolute; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: fsBlink 3s ease-in-out infinite;
}
.fvf-illus-3 .fvf-eye.e1 { left: 16px; }
.fvf-illus-3 .fvf-eye.e2 { right: 16px; }
.fvf-illus-3 .fvf-otask {
  left: 50%; top: 50%;
  width: 38px; height: 38px; border-radius: 8px;
  background: #ffffff; border: 1.5px solid rgba(0, 110, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1;
  font-style: normal;
  text-align: center;
  padding-top: 3px;     /* 絵文字の上寄り補正 */
  box-shadow: 0 4px 14px rgba(0, 110, 255, 0.3);
  animation: fvf-orbit 9s linear infinite;
}
.fvf-illus-3 .fvf-otask.ot1 { animation-delay: 0s; }
.fvf-illus-3 .fvf-otask.ot2 { animation-delay: -2.25s; }
.fvf-illus-3 .fvf-otask.ot3 { animation-delay: -4.5s; }
.fvf-illus-3 .fvf-otask.ot4 { animation-delay: -6.75s; }
/* double-rotation で常に正立、半径 82px */
@keyframes fvf-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(82px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(82px) rotate(-360deg); }
}

/* === RESULT: 上昇グラフ + 喜ぶ人 + キラキラ (やるべき仕事に集中・利益改善) === */
.fvf-illus-4 .fvf-bar {
  bottom: 20%; width: 22px; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--color-accent), rgba(0, 110, 255, 0.55));
  box-shadow: 0 4px 16px rgba(0, 110, 255, 0.35);
  transform-origin: bottom;
  animation: fvf-bar-rise 2.6s ease-in-out infinite;
}
.fvf-illus-4 .fvf-bar.rb1 { left: 9%;  height: 30px; animation-delay: 0s; }
.fvf-illus-4 .fvf-bar.rb2 { left: 24%; height: 50px; animation-delay: 0.18s; }
.fvf-illus-4 .fvf-bar.rb3 { left: 39%; height: 72px; animation-delay: 0.36s; }
.fvf-illus-4 .fvf-bar.rb4 { left: 54%; height: 94px; animation-delay: 0.54s; }
@keyframes fvf-bar-rise {
  0%, 12%, 100% { transform: scaleY(0.25); }
  45%, 82%      { transform: scaleY(1); }
}
/* 上昇トレンド線 (右肩上がりの矢印) */
.fvf-illus-4 .fvf-trend {
  left: 9%; bottom: 30%;
  width: 60px; height: 5px; border-radius: 3px;
  background: #ffd200;
  transform-origin: left center;
  transform: rotate(-34deg) scaleX(0);
  box-shadow: 0 0 16px rgba(255, 210, 0, 0.6);
  animation: fvf-trend-draw 2.6s ease-in-out infinite;
  animation-delay: 0.7s;
}
.fvf-illus-4 .fvf-trend::after {
  content: ""; position: absolute; right: -4px; top: -8px;
  border-left: 18px solid #ffd200;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
@keyframes fvf-trend-draw {
  0%, 18%    { transform: rotate(-34deg) scaleX(0); }
  50%, 88%   { transform: rotate(-34deg) scaleX(1); }
  100%       { transform: rotate(-34deg) scaleX(0); }
}
/* 喜ぶ人物 (両腕を V 字に上げて jump) */
.fvf-illus-4 .fvf-joy {
  right: 12%; bottom: 22%;
  width: 46px; height: 64px;
  animation: fvf-joy-jump 1.5s ease-in-out infinite;
}
.fvf-illus-4 .fvf-joy-head {
  left: 50%; top: 0; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: #bcd6ff;
}
.fvf-illus-4 .fvf-joy-body {
  left: 50%; bottom: 0; transform: translateX(-50%);
  width: 30px; height: 36px; border-radius: 14px 14px 8px 8px;
  background: var(--color-accent);
}
.fvf-illus-4 .fvf-joy-arm {
  bottom: 30px; width: 22px; height: 5px; border-radius: 3px;
  background: var(--color-accent);
}
.fvf-illus-4 .fvf-joy-arm.la { left: -5px;  transform: rotate(-48deg); transform-origin: right center; }
.fvf-illus-4 .fvf-joy-arm.ra { right: -5px; transform: rotate(48deg);  transform-origin: left center; }
@keyframes fvf-joy-jump {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
/* キラキラ */
.fvf-illus-4 .fvf-spark {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ffd200;
  box-shadow: 0 0 12px rgba(255, 210, 0, 0.7);
  animation: fvf-spark-twinkle 1.5s ease-in-out infinite;
}
.fvf-illus-4 .fvf-spark.sp1 { right: 30%; top: 14%;    animation-delay: 0s; }
.fvf-illus-4 .fvf-spark.sp2 { right: 8%;  top: 8%;     animation-delay: 0.4s; }
.fvf-illus-4 .fvf-spark.sp3 { right: 6%;  bottom: 42%; animation-delay: 0.8s; }
@keyframes fvf-spark-twinkle {
  0%, 100% { transform: scale(0.3); opacity: 0.3; }
  50%      { transform: scale(1);   opacity: 1; }
}

/* === Stepper (4 ドット・下端中央) === */
.fvf-stepper {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}
.fvf-stepper .step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0, 110, 255, 0.2);
  animation-duration: var(--fvf-loop);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.fvf-stepper .step-line {
  width: 18px; height: 2px; border-radius: 1px;
  background: rgba(0, 110, 255, 0.16);
}
.fvf-stepper .d1 { animation-name: fvf-dot-1; }
.fvf-stepper .d2 { animation-name: fvf-dot-2; }
.fvf-stepper .d3 { animation-name: fvf-dot-3; }
.fvf-stepper .d4 { animation-name: fvf-dot-4; }
@keyframes fvf-dot-1 {
  0%, 22.5%    { background: var(--color-accent); transform: scale(1.4); box-shadow: 0 0 8px rgba(0, 110, 255, 0.7); }
  25%, 100%    { background: rgba(0, 110, 255, 0.2); transform: scale(1); box-shadow: none; }
}
@keyframes fvf-dot-2 {
  0%, 22.5%    { background: rgba(0, 110, 255, 0.2); transform: scale(1); box-shadow: none; }
  25%, 47.5%   { background: var(--color-accent); transform: scale(1.4); box-shadow: 0 0 8px rgba(0, 110, 255, 0.7); }
  50%, 100%    { background: rgba(0, 110, 255, 0.2); transform: scale(1); box-shadow: none; }
}
@keyframes fvf-dot-3 {
  0%, 47.5%    { background: rgba(0, 110, 255, 0.2); transform: scale(1); box-shadow: none; }
  50%, 72.5%   { background: var(--color-accent); transform: scale(1.4); box-shadow: 0 0 8px rgba(0, 110, 255, 0.7); }
  75%, 100%    { background: rgba(0, 110, 255, 0.2); transform: scale(1); box-shadow: none; }
}
@keyframes fvf-dot-4 {
  0%, 72.5%    { background: rgba(0, 110, 255, 0.2); transform: scale(1); box-shadow: none; }
  75%, 97.5%   { background: var(--color-accent); transform: scale(1.4); box-shadow: 0 0 8px rgba(0, 110, 255, 0.7); }
  100%         { background: rgba(0, 110, 255, 0.2); transform: scale(1); box-shadow: none; }
}

.fv-relay-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  padding-top: 20px;
}
.fv-relay-char {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  flex-shrink: 0;
}
.fv-relay-char .char-head {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1a1a2e;
  margin-bottom: 6px;
  position: relative;
}
.fv-relay-char .char-body {
  width: 62px;
  height: 72px;
  background: #1a1a2e;
  border-radius: 30px 30px 8px 8px;
  position: relative;
}
.fv-relay-char .char-label {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4a4a4f;
  letter-spacing: 0.04em;
}
/* Outstretched arm holding the baton */
.fv-relay-char .char-arm {
  position: absolute;
  top: 20px;
  width: 30px;
  height: 8px;
  background: #1a1a2e;
  border-radius: 4px;
}
.fv-relay-char .char-arm-r {
  right: -18px;
  transform: rotate(-8deg);
}
.fv-relay-char .char-arm-l {
  left: -18px;
  transform: rotate(8deg);
}

/* Robot-specific styling */
.fv-relay-ai .char-head {
  background: var(--color-accent);
  border-radius: 12px;
}
.fv-relay-ai .ai-antenna {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 10px;
  background: var(--color-accent);
}
.fv-relay-ai .ai-antenna::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 110, 255, 0.7);
  animation: ai-blink 2s ease-in-out infinite;
}
.fv-relay-ai .ai-eyes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 5px;
  background:
    radial-gradient(circle at 4px 50%, #ffffff 2.5px, transparent 3px),
    radial-gradient(circle at 22px 50%, #ffffff 2.5px, transparent 3px);
}
.fv-relay-ai .char-body {
  background: var(--color-accent);
  border-radius: 10px 10px 6px 6px;
}
.fv-relay-ai .ai-screen {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 22px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  /* signal bars inside */
  background-image:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff);
  background-size: 4px 8px, 4px 12px, 4px 16px;
  background-repeat: no-repeat;
  background-position: 6px bottom, 14px bottom, 22px bottom;
  background-color: rgba(255, 255, 255, 0.18);
}
.fv-relay-ai .char-arm-l {
  background: var(--color-accent);
}
.fv-relay-ai .char-label {
  color: var(--color-accent);
}

/* Task throw track: 3 task docs continuously fly from human → AI */
.fv-relay-track {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  pointer-events: none;
}
.fv-task-item {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 28px;
  margin-top: -14px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%);
  border-radius: 2px;
  filter: drop-shadow(0 4px 8px rgba(0, 110, 255, 0.35));
  animation: task-throw 3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  opacity: 0;
}
/* Inner lines on the doc using ::after via background */
.fv-task-item::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  right: 6px;
  height: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) 0 0 / 100% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) 0 5px / 100% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) 0 10px / 70% 2px no-repeat;
}
.fv-task-item-1 { animation-delay: 0s;   }
.fv-task-item-2 { animation-delay: 1s;   }
.fv-task-item-3 { animation-delay: 2s;   }

@keyframes task-throw {
  0%   { transform: translateX(0)    translateY(0)   rotate(-15deg); opacity: 0;   }
  12%  { transform: translateX(20px) translateY(-4px) rotate(0deg);   opacity: 1;   }
  50%  { transform: translateX(95px) translateY(-12px) rotate(180deg); opacity: 1;  }
  85%  { transform: translateX(170px) translateY(-2px) rotate(340deg); opacity: 1;  }
  100% { transform: translateX(190px) translateY(2px)  rotate(360deg); opacity: 0;  }
}

/* Static direction arrow underneath (subtle hint) */
.fv-task-arrow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right,
    rgba(0, 110, 255, 0.1) 0%,
    rgba(0, 110, 255, 0.4) 50%,
    rgba(0, 110, 255, 0.1) 100%);
}
.fv-task-arrow::after {
  /* arrowhead at right end */
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid rgba(0, 110, 255, 0.5);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
@keyframes ai-blink {
  0%, 90%, 100% { opacity: 1; }
  93% { opacity: 0.3; }
}

/* Caption */
.fv-relay-caption {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.02em;
  text-align: center;
}
.fv-relay-caption .caption-accent {
  color: var(--color-accent);
}

/* =========================================================================
   FV right — Chat mockup + business task grid (legacy, unused)
   ========================================================================= */

/* Chat mockup card (Chatwork-style) */
.fv-mockup {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  margin-bottom: 20px;
}
.fv-mockup-header {
  background: #f5f5f7;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e8e8ec;
}
.fv-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fv-mockup-dot-r { background: #ff5f57; }
.fv-mockup-dot-y { background: #febc2e; }
.fv-mockup-dot-g { background: #28c840; }
.fv-mockup-title {
  margin-left: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4a4a4f;
  letter-spacing: 0.02em;
}
.fv-mockup-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
}

/* Chat message rows */
.fv-msg {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.fv-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
}
.fv-msg-avatar-user { background: #6b7280; }
.fv-msg-avatar-ai { background: var(--color-accent); font-family: var(--font-en); }
.fv-msg-content { flex: 1; min-width: 0; }
.fv-msg-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: #4a4a4f;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.fv-msg-bubble {
  display: inline-block;
  background: #f3f4f6;
  color: #1f2937;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  font-weight: 500;
}
.fv-msg-ai .fv-msg-bubble {
  background: rgba(0, 110, 255, 0.08);
  color: #0d3a8a;
}
.fv-msg-bubble-done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fv-msg-bubble-done::before {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2.5px solid #16a34a;
  border-bottom: 2.5px solid #16a34a;
  transform: rotate(-45deg) translate(1px, -2px);
  flex-shrink: 0;
}

/* Use case task grid (under mockup, on FV black bg) */
.fv-tasks-wrap { margin-top: 4px; }
.fv-tasks-heading {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 10px;
}
.fv-tasks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.fv-task {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.fv-task:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}
.fv-task-icon {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}
.fv-task-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* CSS-only task icons */
.fv-task-icon-mail::before {
  content: "";
  position: absolute;
  inset: 5px 3px;
  border: 2px solid var(--color-accent);
  border-radius: 2px;
  background: transparent;
}
.fv-task-icon-mail::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 8px solid var(--color-accent);
}
.fv-task-icon-cal::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 4px;
  right: 4px;
  bottom: 3px;
  border: 2px solid var(--color-accent);
  border-radius: 2px;
}
.fv-task-icon-cal::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 6px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) left top / 2.5px 6px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) right top / 2.5px 6px no-repeat;
}
.fv-task-icon-doc::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 16px;
  height: 22px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 75% 0, 100% 22%, 100% 100%, 0 100%);
}
.fv-task-icon-doc::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 10px;
  height: 9px;
  background:
    linear-gradient(#ffffff, #ffffff) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 4px / 100% 1.5px no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 8px / 70% 1.5px no-repeat;
}
.fv-task-icon-data::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--color-accent);
  border-radius: 2px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) center / 1.5px 100% no-repeat;
}
.fv-task-icon-split::before {
  /* Trunk (vertical line) */
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2.5px;
  height: 10px;
  background: var(--color-accent);
  transform: translateX(-50%);
  border-radius: 2px;
}
.fv-task-icon-split::after {
  /* Two branches forming Y shape */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 12px;
  transform: translateX(-50%);
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) left bottom / 2.5px 12px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) right bottom / 2.5px 12px no-repeat,
    linear-gradient(45deg, transparent 47%, var(--color-accent) 47%, var(--color-accent) 53%, transparent 53%) center top / 100% 2.5px no-repeat,
    linear-gradient(-45deg, transparent 47%, var(--color-accent) 47%, var(--color-accent) 53%, transparent 53%) center top / 100% 2.5px no-repeat;
}
.fv-task-icon-report::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 18px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) left bottom / 4px 10px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) center bottom / 4px 14px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) right bottom / 4px 18px no-repeat;
}
.fv-task-icon-report::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-top: 2.5px solid var(--color-accent);
  border-right: 2.5px solid var(--color-accent);
  transform: rotate(45deg);
}

/* FV right — animation (legacy, unused as of mockup version) */
.fv-animation {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  max-width: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 260px;
  position: relative;
}

.character {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  flex-shrink: 0;
}
.character .head {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1a1a2e;
  margin-bottom: 4px;
  position: relative;
}
.character .body {
  width: 66px;
  height: 88px;
  background: #1a1a2e;
  border-radius: 33px 33px 6px 6px;
  position: relative;
}
.character .body::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}
.character .label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* 自動化ロボット — FV と同じロボット (頭=角丸スクエア+アンテナ+目、胴=スクリーン) */
.character.ai .head {
  background: var(--color-accent);
  border-radius: 12px;
}
.character.ai .head::after { content: none; }
.character.ai .ai-antenna {
  position: absolute;
  top: -11px; left: 50%; transform: translateX(-50%);
  width: 2.5px; height: 11px;
  background: var(--color-accent);
}
.character.ai .ai-antenna::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(0, 110, 255, 0.7);
  animation: ai-blink 2s ease-in-out infinite;
}
.character.ai .ai-eyes {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 24px; height: 5px;
  background:
    radial-gradient(circle at 4px 50%, #ffffff 2.5px, transparent 3px),
    radial-gradient(circle at 20px 50%, #ffffff 2.5px, transparent 3px);
}
.character.ai .body {
  width: 62px; height: 74px;
  background: var(--color-accent);
  border-radius: 14px 14px 6px 6px;
}
.character.ai .body::before { content: none; }
.character.ai .ai-screen {
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 22px; border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.18);
  background-image:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff);
  background-size: 4px 8px, 4px 13px, 4px 18px;
  background-repeat: no-repeat;
  background-position: 7px bottom, 15px bottom, 23px bottom;
}
.character.ai .label { color: var(--color-accent); }

@keyframes ai-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 110, 255, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0, 110, 255, 0); }
}
@keyframes ai-eye {
  0%, 90%, 100% { transform: translateX(-50%) scaleY(1); }
  95% { transform: translateX(-50%) scaleY(0.1); }
}

/* Docs flying between human and AI */
.docs {
  position: relative;
  flex: 1;
  height: 140px;
  margin: 0 4px;
  align-self: center;
}
.arrow-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,110,255,0.3) 20%, rgba(0,110,255,0.3) 80%, transparent);
  transform: translateY(-50%);
}

.doc {
  width: 32px;
  height: 44px;
  background: #ffffff;
  border: 1.5px solid #d0d4da;
  border-radius: 4px;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: rotate(0deg);
}
.doc::before, .doc::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: #d0d4da;
  border-radius: 1px;
}
.doc::before { top: 8px; }
.doc::after { top: 14px; box-shadow: 0 4px 0 #d0d4da, 0 8px 0 #d0d4da; }

.doc-1 { animation: doc-flow 4.5s ease-in-out infinite; }
.doc-2 { animation: doc-flow 4.5s ease-in-out infinite 1.5s; }
.doc-3 { animation: doc-flow 4.5s ease-in-out infinite 3s; }

@keyframes doc-flow {
  0%   { left: 0;
         transform: rotate(-4deg);
         opacity: 0;
         background: #ffffff;
         border-color: #d0d4da; }
  12%  { opacity: 1; }
  45%  { left: calc(100% - 32px);
         transform: rotate(0deg);
         opacity: 1;
         background: #ffffff;
         border-color: #d0d4da; }
  55%  { left: calc(100% - 32px);
         transform: rotate(2deg) translateY(-2px);
         background: #e6f0ff;
         border-color: var(--color-accent); }
  85%  { left: calc(100% - 32px);
         transform: rotate(3deg) translateY(-4px);
         opacity: 1;
         background: #ffffff;
         border-color: #d0d4da; }
  100% { left: calc(100% - 32px);
         transform: rotate(3deg) translateY(-4px);
         opacity: 0;
         background: #ffffff;
         border-color: #d0d4da; }
}

/* --- Sections --- */
.section {
  padding: var(--section-py) 0;
}
.section-alt { background: var(--color-section-bg); }
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* --- Problem / Solution / Benefit (3-col cards) --- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition);
}
.card:hover { border-color: var(--color-accent); }
/* 安心/安い/早い ラベル (2026-08-22 ver.2: 「Point 01」表記をやめ、キーワードを主役に) */
.point-label {
  display: inline-block;
  align-self: flex-start;   /* .cards-3 .card は flex column = 放っておくと全幅に伸びる */
  background: var(--color-accent);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 6px 24px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.card-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}
.card-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Section main copy (sub-headline under H2) */
.section-main-copy {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  text-align: center;
  margin: 32px auto 64px;
  max-width: 720px;
  line-height: 1.6;
}
.section-main-copy .accent { color: var(--color-accent); }

/* =========================================================================
   Solution: 縦積み 3 行 (左テキスト / 右に正方形カルーセル) — 2026-05-28 (再設計)
   各行右パネルに 3 スライド × 2.5s = 7.5s ループ (右→左 スライド+フェード)
   ========================================================================= */
.sol-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 32px auto 0;
  max-width: 920px;
}
.sol-row {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 240px);
  gap: 36px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: linear-gradient(135deg, #f7f9fd 0%, #ffffff 70%);
}
.sol-text { min-width: 0; }
.sol-no {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 100px;
  padding: 2px 14px;
  margin-bottom: 12px;
}
.sol-title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.4;
}
.sol-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* 「無料」バッジ (Row01・タイトル左に配置) — 赤ピル + 軽くパルス (三角形は削除) */

/* 正方形パネル (1:1) */
/* 正方形カルーセル (Solution 各行) — 2026-05-28 (再設計v3) */
.sol-anim { width: 100%; }
/* 正方形の静止イメージ (2026-08-22 ver.2: 3枚スライド+ステッパー → 1枚の静止イメージへ) */
.sol-still {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(0,110,255,.05), rgba(0,110,255,.12));
  border: 1px solid rgba(0,110,255,.12);
  box-shadow: 0 6px 18px rgba(0, 110, 255, 0.10);
}
.sol-still > i, .sol-still > i > b { position: absolute; display: block; }

/* ROW1 (st-flow): 乱れたブロック → ▼ → 整列したフロー = 業務フローを整理 */
.st-flow .st-mess {
  width: 34px; height: 34px; border-radius: 8px;
  background: #fff; border: 2px solid rgba(0,110,255,.45);
  box-shadow: 0 4px 12px rgba(0,110,255,.14);
}
.st-flow .st-mess.m1 { left: 16%; top: 13%; transform: rotate(-14deg); }
.st-flow .st-mess.m2 { left: 45%; top: 21%; transform: rotate(9deg); }
.st-flow .st-mess.m3 { right: 15%; top: 11%; transform: rotate(20deg); }
.st-flow .st-down {
  left: 50%; top: 43%; transform: translateX(-50%);
  width: 3px; height: 30px; background: var(--color-accent); border-radius: 2px;
}
.st-flow .st-down::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px;
  border-right: 3px solid var(--color-accent); border-bottom: 3px solid var(--color-accent);
}
.sol-still .st-node {
  width: 34px; height: 34px; border-radius: 8px;
  background: #fff; border: 2px solid var(--color-accent);
  box-shadow: 0 4px 12px rgba(0,110,255,.18);
  top: 70%;
}
.sol-still .st-node.n1 { left: 12%; }
.sol-still .st-node.n2 { left: 50%; transform: translateX(-50%); }
.sol-still .st-node.n3 { right: 12%; }
.sol-still .st-conn {
  top: calc(70% + 15px); height: 3px;
  background: var(--color-accent); border-radius: 2px; opacity: .55;
}
.sol-still .st-conn.c1 { left: calc(12% + 34px); right: calc(50% + 17px); }
.sol-still .st-conn.c2 { left: calc(50% + 17px); right: calc(12% + 34px); }

/* ROW2 (st-target): 中央ノードを強調 = 効く領域を特定 */
.st-target .st-node { top: 50%; margin-top: -17px; }
.st-target .st-conn { top: 50%; margin-top: -2px; }
.st-target .st-node.is-dim { border-color: rgba(0,110,255,.35); box-shadow: none; }
.st-target .st-node.is-hit {
  background: var(--color-accent); border-color: var(--color-accent);
  box-shadow: 0 6px 22px rgba(0,110,255,.45);
}
.st-target .st-ring {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  border: 2.5px dashed var(--color-accent);
  opacity: .8;
}

/* ROW3 (st-ui): 画面モック + 完了チェック = プロトタイプの UI イメージ */
.st-ui .st-screen {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76%; height: 62%;
  border-radius: 8px; background: #fff; border: 2px solid var(--color-accent);
  box-shadow: 0 10px 26px rgba(0,110,255,.22);
}
.st-ui .st-sbar {
  left: 0; right: 0; top: 0; height: 16px;
  background: var(--color-accent); border-radius: 5px 5px 0 0;
}
.st-ui .st-sbar::before {
  content: ""; position: absolute; left: 8px; top: 5.5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.7);
  box-shadow: 8px 0 0 rgba(255,255,255,.7), 16px 0 0 rgba(255,255,255,.7);
}
.st-ui .st-chart {
  bottom: 12%; width: 12px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--color-accent), rgba(0,110,255,.5));
}
.st-ui .st-chart.c1 { left: 14%; height: 26%; }
.st-ui .st-chart.c2 { left: 30%; height: 40%; }
.st-ui .st-chart.c3 { left: 46%; height: 22%; }
.st-ui .st-chart.c4 { left: 62%; height: 50%; }
.st-ui .st-check {
  right: 11%; bottom: 11%;
  width: 34px; height: 34px; border-radius: 50%;
  background: #00b368;
  box-shadow: 0 6px 16px rgba(0,179,104,.4);
}
.st-ui .st-check::before {
  content: ""; position: absolute; left: 8px; top: 10px; width: 15px; height: 8px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg);
}

/* レスポンシブ (≤768px) */
@media (max-width: 768px) {
  .sol-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }
  .sol-anim { max-width: 300px; margin: 0 auto; }
  .sol-title { font-size: 1.2rem; }
}


/* --- Solution scene (協働アニメーション・全体) --- */
.solution-scene {
  position: relative;
  margin: 32px auto 80px;
  max-width: 960px;
  background: linear-gradient(135deg, #f4f7fc 0%, #ffffff 70%);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  padding: 56px 32px 48px;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  min-height: 360px;
}
.scene-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.scene-character { position: relative; }
.scene-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  margin-top: 12px;
}
.scene-label span {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 4px;
}
.scene-label.ai-label { color: var(--color-accent); }

/* 思考バブル */
.thought-bubble {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bubble-float 2.5s ease-in-out infinite;
  margin-bottom: 24px;
}
.thought-bubble::before,
.thought-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  background: #ffffff;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
}
.thought-bubble::before { bottom: -10px; margin-left: -4px; width: 8px; height: 8px; }
.thought-bubble::after { bottom: -20px; margin-left: -2px; width: 5px; height: 5px; }
.bulb {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: bulb-glow 1.5s ease-in-out infinite;
}
@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes bulb-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 110, 255, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 110, 255, 0); }
}

/* 中央: タスクのやり取り */
.scene-flow {
  height: 100%;
  justify-content: center;
  gap: 56px;
}
.flow-track {
  position: relative;
  width: 100%;
  height: 32px;
}
.flow-track::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,110,255,0.2) 15%, rgba(0,110,255,0.2) 85%, transparent 100%);
}
.flow-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.flow-up .flow-label {
  top: auto;
  bottom: -18px;
  color: var(--color-accent);
}
.task-icon {
  position: absolute;
  top: 0;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  z-index: 1;
}
.t-down { animation: task-go-right 5s ease-in-out infinite; }
.t-down-1 { animation-delay: 0s; }
.t-down-2 { animation-delay: 1.6s; }
.t-down-3 { animation-delay: 3.2s; }
@keyframes task-go-right {
  0%   { opacity: 0; left: 0; }
  10%  { opacity: 1; left: 5%; }
  50%  { opacity: 1; left: calc(100% - 32px); }
  60%  { opacity: 0; left: calc(100% - 32px); }
  100% { opacity: 0; left: calc(100% - 32px); }
}
.t-up {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  font-weight: 800;
  font-size: 0.85rem;
  animation: task-go-left 5s ease-in-out infinite;
}
.t-up-1 { animation-delay: 2.5s; }
.t-up-2 { animation-delay: 4.5s; }
@keyframes task-go-left {
  0%   { opacity: 0; left: calc(100% - 32px); }
  10%  { opacity: 1; left: calc(95% - 32px); }
  50%  { opacity: 1; left: 0; }
  60%  { opacity: 0; left: 0; }
  100% { opacity: 0; left: 0; }
}

/* AI 周辺ツール (orbit) */
.scene-ai { padding: 24px 0; }
.orbit-tools {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -90px;
  margin-left: -90px;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}
.orbit-tool {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -16px;
  margin-left: -16px;
  font-size: 0.92rem;
  background: #ffffff;
  border: 1px solid rgba(0, 110, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 110, 255, 0.08);
  animation: orbit 14s linear infinite;
}
.orbit-tool.t1 { animation-delay: 0s; }
.orbit-tool.t2 { animation-delay: -2.3s; }
.orbit-tool.t3 { animation-delay: -4.6s; }
.orbit-tool.t4 { animation-delay: -7s; }
.orbit-tool.t5 { animation-delay: -9.3s; }
.orbit-tool.t6 { animation-delay: -11.6s; }
@keyframes orbit {
  from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

/* prefers-reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
  .thought-bubble, .bulb, .task-icon, .orbit-tool, .doc { animation: none; }
  .btn-box-primary, .btn-box-primary::after, .fv-promo-badge, .cta-pulse { animation: none; }
  .card-illus .scene span, .card-illus .scene i { animation: none; }
  /* FV bg オーロラ + FV カルーセル + Stepper + 各イラスト内部アニメを停止、最初のスライド/ドットのみ表示 */
  .fv::after,
  .fvf-slide,
  .fvf-stepper .step-dot,
  .fvf-illus-1 .fvf-person, .fvf-illus-1 .fvf-board::after,
  .fvf-illus-2 .fvf-toggle, .fvf-illus-2 .fvf-toggle::after, .fvf-illus-2 .fvf-sbot-eye,
  .fvf-illus-3 .fvf-bot::after, .fvf-illus-3 .fvf-eye, .fvf-illus-3 .fvf-otask,
  .fvf-illus-1 .fvf-fblock,
  .fvf-illus-4 .fvf-bar, .fvf-illus-4 .fvf-trend, .fvf-illus-4 .fvf-joy, .fvf-illus-4 .fvf-spark { animation: none !important; }
  .fvf-s1 { opacity: 1 !important; transform: translateX(0) !important; }
  .fvf-s2, .fvf-s3, .fvf-s4 { opacity: 0 !important; transform: translateX(100%) !important; }
  .fvf-stepper .d1 { background: var(--color-accent); transform: scale(1.4); box-shadow: 0 0 8px rgba(0, 110, 255, 0.7); }
  .fvf-illus-4 .fvf-trend { transform: rotate(-34deg) scaleX(1); }
  .fvf-illus-4 .fvf-bar { transform: scaleY(1); }
  .fvf-illus-4 .fvf-spark { transform: scale(1); opacity: 1; }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .solution-scene {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 40px 24px;
  }
  .scene-flow { gap: 40px; }
  .flow-track { height: 40px; }
  .orbit-tools { margin-top: -75px; margin-left: -75px; width: 150px; height: 150px; }
}

/* --- Benefit (special: keyword + body) --- */
.benefit-card { padding: 48px 32px; text-align: left; }
.benefit-keyword {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
  line-height: 1;
}
.benefit-subtitle {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.benefit-body { font-size: 1rem; line-height: 1.8; color: var(--color-text-muted); }

/* === Card illustrations (Benefit / Why us): 具体イラスト + リッチアニメ。
 *     カード下部中央・大きめ横長・6 枚で世界観を統一 === */
.cards-3 .card { display: flex; flex-direction: column; }
.cards-3 .benefit-body,
.cards-3 .card-body { margin-bottom: 26px; }

.card-illus {
  margin-top: auto;
  position: relative;
  width: 100%;
  height: 124px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 4%, rgba(0,110,255,.04), rgba(0,110,255,.13));
}
.card-illus::before {                 /* 床 / baseline */
  content: ""; position: absolute;
  left: 18px; right: 18px; bottom: 24px;
  height: 2px; border-radius: 2px;
  background: rgba(0,110,255,.16);
}
.card-illus .scene {
  position: absolute; left: 50%; bottom: 0;
  width: 220px; height: 100%;
  transform: translateX(-50%);
}
.card-illus .scene span,
.card-illus .scene i { position: absolute; display: block; }

/* 共通: 人物キャラ (Benefit03 + Whyus02 で共用、統一感) */
.person { width: 30px; height: 34px; bottom: 24px; border-radius: 13px 13px 7px 7px; background: var(--color-accent); }
.person::before { content: ""; position: absolute; width: 21px; height: 21px; border-radius: 50%; background: #bcd6ff; left: 50%; top: -25px; transform: translateX(-50%); }
.person .arm { width: 6px; height: 16px; border-radius: 3px; background: rgba(0,110,255,.85); }

/* --- Benefit 01: コストのグラフが下がる / Benefit 02: 売上のグラフが上がる --- */
.s-down .bar, .s-up .bar {
  width: 26px; bottom: 24px; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, rgba(0,110,255,.9), rgba(0,110,255,.45));
  transform-origin: bottom; animation: il-bar 2.6s ease-in-out infinite;
}
.s-down .d1 { left: 18px;  height: 62px; }
.s-down .d2 { left: 60px;  height: 48px; animation-delay: .12s; }
.s-down .d3 { left: 102px; height: 34px; animation-delay: .24s; }
.s-down .d4 { left: 144px; height: 22px; animation-delay: .36s; }
.s-up .u1 { left: 18px;  height: 22px; }
.s-up .u2 { left: 60px;  height: 34px; animation-delay: .12s; }
.s-up .u3 { left: 102px; height: 48px; animation-delay: .24s; }
.s-up .u4 { left: 144px; height: 62px; animation-delay: .36s; }
@keyframes il-bar { 0%,100% { transform: scaleY(.84); } 50% { transform: scaleY(1); } }

.s-down .trend, .s-up .trend {
  width: 150px; height: 4px; left: 35px; border-radius: 3px;
  background: var(--color-accent); transform-origin: left center;
}
.s-down .trend { top: 38px; transform: rotate(17deg);  animation: il-draw-down 2.8s ease-in-out infinite; }
.s-up   .trend { top: 80px; transform: rotate(-17deg); animation: il-draw-up   2.8s ease-in-out infinite; }
@keyframes il-draw-down {
  0% { transform: rotate(17deg) scaleX(0); opacity: .25; }
  16% { opacity: 1; }
  50%,86% { transform: rotate(17deg) scaleX(1); opacity: 1; }
  100% { transform: rotate(17deg) scaleX(1); opacity: 0; }
}
@keyframes il-draw-up {
  0% { transform: rotate(-17deg) scaleX(0); opacity: .25; }
  16% { opacity: 1; }
  50%,86% { transform: rotate(-17deg) scaleX(1); opacity: 1; }
  100% { transform: rotate(-17deg) scaleX(1); opacity: 0; }
}
.s-down .head, .s-up .head {
  width: 0; height: 0; right: 28px;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  animation: il-pop 2.8s ease-in-out infinite;
}
.s-down .head { top: 74px; border-top: 11px solid var(--color-accent); }
.s-up   .head { top: 28px; border-bottom: 11px solid var(--color-accent); }
@keyframes il-pop { 0%,40% { opacity: 0; transform: scale(.3); } 58%,88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.s-down .tag, .s-up .tag {
  font-family: var(--font-en); font-weight: 700; font-size: 12px;
  color: var(--color-accent); background: #fff;
  border: 1.5px solid rgba(0,110,255,.4); border-radius: 6px;
  padding: 0 6px; line-height: 18px;
}
.s-down .tag { left: 14px; top: 14px; }
.s-up   .tag { left: 14px; bottom: 30px; }

/* --- Benefit 03: 経営者・社員が喜ぶ --- */
.s-joy .person { animation: il-jump 1.5s ease-in-out infinite; }
.s-joy .p-left  { left: 64px; }
.s-joy .p-right { left: 124px; background: rgba(0,110,255,.7); animation-delay: .22s; }
.s-joy .p-left::after {              /* ネクタイ (経営者) */
  content: ""; position: absolute; width: 6px; height: 11px; background: #fff;
  left: 50%; top: 3px; transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 28%, 50% 100%, 0 28%);
}
.s-joy .arm { top: -13px; transform-origin: bottom center; }
.s-joy .la { left: -1px; animation: il-arm-l 1.5s ease-in-out infinite; }
.s-joy .ra { right: -1px; animation: il-arm-r 1.5s ease-in-out infinite; }
.s-joy .p-right .la, .s-joy .p-right .ra { animation-delay: .22s; }
@keyframes il-jump { 0%,100% { transform: translateY(0); } 38% { transform: translateY(-11px); } 60% { transform: translateY(0); } }
@keyframes il-arm-l { 0%,100% { transform: rotate(-28deg); } 38% { transform: rotate(-50deg); } }
@keyframes il-arm-r { 0%,100% { transform: rotate(28deg); } 38% { transform: rotate(50deg); } }
.s-joy .confetti { width: 7px; height: 7px; border-radius: 2px; }
.s-joy .c1 { left: 48px;  top: 12px; background: var(--color-accent);   animation: il-fall 1.7s ease-in infinite; }
.s-joy .c2 { left: 106px; top: 6px;  background: rgba(0,110,255,.5);     animation: il-fall 1.7s ease-in .35s infinite; }
.s-joy .c3 { left: 162px; top: 14px; background: rgba(0,110,255,.8);     animation: il-fall 1.7s ease-in .7s infinite; }
@keyframes il-fall { 0% { transform: translateY(-4px) rotate(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(50px) rotate(200deg); opacity: 0; } }
.s-joy .spark {
  width: 11px; height: 11px; background: var(--color-accent);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: il-tw 1.6s ease-in-out infinite;
}
.s-joy .k1 { left: 40px; top: 42px; }
.s-joy .k2 { right: 34px; top: 30px; animation-delay: .5s; }
@keyframes il-tw { 0%,100% { transform: scale(.3); opacity: .25; } 50% { transform: scale(1); opacity: 1; } }


/* --- Problem: チェックリスト帯 (2026-08-22 ver.2: 横3項目・補足文なし・▼ で Solution へ) --- */
.problem-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  max-width: 1080px;
  margin: 0 auto;
}
.problem-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 30px 22px 28px;
}
.problem-item + .problem-item { border-left: 1px solid var(--color-border); }
.problem-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-icon svg { width: 38px; height: 38px; display: block; }
.problem-item-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
  /* 1 文字だけ次行に落ちるのを防ぐ (文節で折る→2 行の場合も均等に割る) */
  word-break: auto-phrase;
  text-wrap: balance;
}
/* Solution へのつなぎ矢印 */
.problem-next {
  display: flex;
  justify-content: center;
  color: var(--color-accent);
  margin-top: 28px;
}
.problem-next svg { width: 24px; height: 40px; display: block; }
@media (max-width: 768px) {
  .problem-checklist { grid-template-columns: 1fr; max-width: 480px; }
  .problem-item { padding: 22px 20px; }
  .problem-item + .problem-item { border-left: none; border-top: 1px solid var(--color-border); }
  .problem-icon { width: 54px; height: 54px; }
  .problem-icon svg { width: 32px; height: 32px; }
}

/* --- Solution 01-03: 特長カードのミニイラスト (2026-07-03 追加・Problem/Benefit と同じ視覚言語) --- */
/* 01 早い: カレンダー「3日」+ 駆けつける AI 社員 */
.s-fast .cal {
  left: 30px; top: 16px; width: 62px; height: 68px;
  border-radius: 8px; background: #fff; border: 2.5px solid var(--color-accent);
}
.s-fast .cal::before {                /* ヘッダー帯 */
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 15px;
  border-radius: 6px 6px 0 0; background: var(--color-accent);
}
.s-fast .cal::after {                 /* 綴じリング */
  content: ""; position: absolute; top: -7px; left: 13px; width: 5px; height: 10px;
  border-radius: 3px; background: rgba(0,110,255,.8);
  box-shadow: 26px 0 0 rgba(0,110,255,.8);
}
.s-fast .cal-num {
  left: 0; right: 0; top: 22px; height: 40px;
  font-weight: 900; font-size: 19px; line-height: 40px;
  color: var(--color-accent); text-align: center;
}
.s-fast .runbot {
  right: 32px; bottom: 26px; width: 46px; height: 36px;
  border-radius: 11px; background: var(--color-accent);
  animation: il-rush 2.1s ease-in-out infinite;
}
.s-fast .runbot::before {             /* アンテナ */
  content: ""; position: absolute; top: -9px; left: 50%; width: 3px; height: 9px;
  margin-left: -1.5px; border-radius: 2px; background: rgba(0,110,255,.85);
}
.s-fast .rb-eye { top: 13px; width: 7px; height: 10px; border-radius: 4px; background: #fff; }
.s-fast .rb-eye.e1 { left: 13px; }
.s-fast .rb-eye.e2 { left: 27px; }
.s-fast .dash { height: 3px; border-radius: 2px; background: rgba(0,110,255,.55); animation: il-dash 1.1s linear infinite; }
.s-fast .h1 { right: 86px; bottom: 54px; width: 18px; }
.s-fast .h2 { right: 92px; bottom: 44px; width: 26px; animation-delay: .18s; }
.s-fast .h3 { right: 86px; bottom: 34px; width: 14px; animation-delay: .36s; }
@keyframes il-rush { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
@keyframes il-dash { 0% { transform: translateX(10px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-16px); opacity: 0; } }

/* 02 安い: ¥コイン + 月5万〜タグ + 下がる矢印 + 積みコイン */
.s-cheap .coin {
  left: 34px; top: 16px; width: 62px; height: 62px; border-radius: 50%;
  background: #fff; border: 3px solid var(--color-accent);
  box-shadow: 0 6px 16px rgba(0,110,255,.18);
  font-family: var(--font-en); font-weight: 900; font-size: 26px; line-height: 56px;
  text-align: center; color: var(--color-accent);
  animation: il-coin 2.6s ease-in-out infinite;
}
@keyframes il-coin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.s-cheap .tag {
  right: 26px; top: 16px;
  font-weight: 700; font-size: 12px;
  color: var(--color-accent); background: #fff;
  border: 1.5px solid rgba(0,110,255,.4); border-radius: 6px;
  padding: 0 6px; line-height: 18px;
}
.s-cheap .down {
  width: 0; height: 0; right: 56px; top: 44px;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-top: 11px solid var(--color-accent);
  animation: il-pop 2.8s ease-in-out infinite;
}
.s-cheap .st {
  height: 11px; border-radius: 5px;
  background: rgba(0,110,255,.28); border: 1.5px solid rgba(0,110,255,.5);
}
.s-cheap .st1 { right: 40px; bottom: 24px; width: 48px; }
.s-cheap .st2 { right: 46px; bottom: 37px; width: 44px; }
.s-cheap .st3 { right: 42px; bottom: 50px; width: 40px; }

/* 03 安心: 既存システムの画面はそのまま + シールド✓ */
.s-keep .screen {
  left: 30px; bottom: 30px; width: 96px; height: 62px;
  border-radius: 8px; background: #fff; border: 2.5px solid var(--color-accent);
}
.s-keep .screen::before {             /* ブラウザバー */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  border-radius: 5px 5px 0 0; background: rgba(0,110,255,.2);
}
.s-keep .screen::after {              /* 画面内の行 */
  content: ""; position: absolute; left: 10px; top: 22px; width: 56px; height: 3px;
  border-radius: 2px; background: rgba(0,110,255,.35);
  box-shadow: 0 9px 0 rgba(0,110,255,.25), 0 18px 0 rgba(0,110,255,.18);
}
.s-keep .shield {
  right: 48px; bottom: 26px; width: 46px; height: 52px;
  background: var(--color-accent);
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
  /* 主役モチーフのため popin (周期的に消える) ではなく常時表示の浮遊に */
  animation: il-sway 2.4s ease-in-out infinite;
}
.s-keep .shield::before {             /* ✓ */
  content: ""; position: absolute; width: 16px; height: 9px;
  border-left: 3.5px solid #fff; border-bottom: 3.5px solid #fff;
  transform: rotate(-45deg); left: 14px; top: 18px;
}

/* --- Why us 01: ポストイットでワークフローを整理 --- */
.s-notes .note {
  width: 42px; height: 42px; bottom: 36px; border-radius: 4px;
  background: rgba(0,110,255,.15); border: 1.5px solid rgba(0,110,255,.5);
}
.s-notes .note::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 10px; height: 3px;
  border-radius: 2px; background: rgba(0,110,255,.5);
  box-shadow: 0 9px 0 rgba(0,110,255,.34), 0 18px 0 rgba(0,110,255,.22);
}
.s-notes .n1 { left: 8px;   animation: il-note1 3.2s ease-in-out infinite; }
.s-notes .n2 { left: 89px;  animation: il-note2 3.2s ease-in-out infinite; }
.s-notes .n3 { left: 170px; animation: il-note3 3.2s ease-in-out infinite; }
@keyframes il-note1 { 0% { transform: translateY(9px) rotate(-9deg); opacity: .25; } 30%,100% { transform: none; opacity: 1; } }
@keyframes il-note2 { 0% { transform: translateY(-7px) rotate(7deg); opacity: .25; } 42%,100% { transform: none; opacity: 1; } }
@keyframes il-note3 { 0% { transform: translateY(11px) rotate(-6deg); opacity: .25; } 54%,100% { transform: none; opacity: 1; } }
.s-notes .arrow {
  width: 0; height: 0; bottom: 53px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 10px solid rgba(0,110,255,.65);
  animation: il-fadein 3.2s ease-in-out infinite;
}
.s-notes .a1 { left: 57px;  animation-delay: .35s; }
.s-notes .a2 { left: 138px; animation-delay: .55s; }
@keyframes il-fadein { 0%,32% { opacity: 0; } 56%,100% { opacity: 1; } }

/* --- Why us 02: 担当者が伴走して運用をサポート --- */
.s-support .person { left: 26px; animation: il-sway 1.9s ease-in-out infinite; }
.s-support .ra { right: -2px; top: -10px; height: 15px; transform-origin: bottom center; transform: rotate(28deg); animation: il-point 1.9s ease-in-out infinite; }
@keyframes il-sway { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes il-point { 0%,100% { transform: rotate(30deg); } 50% { transform: rotate(15deg); } }
.s-support .screen {
  width: 92px; height: 58px; right: 16px; bottom: 32px;
  border-radius: 8px; background: #fff; border: 2.5px solid var(--color-accent);
}
.s-support .screen::before {
  content: ""; position: absolute; width: 26px; height: 9px; border-radius: 0 0 4px 4px;
  background: var(--color-accent); left: 50%; bottom: -11px; transform: translateX(-50%);
}
.s-support .sbar { width: 13px; bottom: 9px; border-radius: 2px; background: var(--color-accent); transform-origin: bottom; animation: il-sbar 1.3s ease-in-out infinite; }
.s-support .b1 { left: 13px; height: 16px; }
.s-support .b2 { left: 35px; height: 28px; animation-delay: .18s; }
.s-support .b3 { left: 57px; height: 21px; animation-delay: .36s; }
@keyframes il-sbar { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.s-support .chk {
  width: 22px; height: 22px; border-radius: 50%; background: var(--color-accent);
  right: 52px; top: 6px; animation: il-popin 1.9s ease-in-out infinite;
}
.s-support .chk::before {
  content: ""; position: absolute; width: 9px; height: 5px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg); left: 6px; top: 7px;
}
@keyframes il-popin { 0%,28% { transform: scale(0); opacity: 0; } 48% { transform: scale(1.15); opacity: 1; } 64%,100% { transform: scale(1); opacity: 1; } }

/* --- Why us 03: プランを自由に選べる安心感 --- */
.s-choose .plan {
  width: 46px; height: 58px; bottom: 26px; padding-top: 28px;
  border-radius: 7px; background: #fff; border: 2px solid rgba(0,110,255,.35);
  color: var(--color-accent); font-family: var(--font-en); font-weight: 700; font-size: 15px;
  text-align: center;
}
.s-choose .plan::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  border-radius: 5px 5px 0 0; background: rgba(0,110,255,.5);
}
.s-choose .pl1 { left: 20px;  animation: il-sel1 3.6s ease-in-out infinite; }
.s-choose .pl2 { left: 87px;  animation: il-sel2 3.6s ease-in-out infinite; }
.s-choose .pl3 { left: 154px; animation: il-sel3 3.6s ease-in-out infinite; }
@keyframes il-sel1 { 0%,12% { transform: translateY(-9px); } 24%,100% { transform: translateY(0); } }
@keyframes il-sel2 { 0%,28% { transform: translateY(0); } 33%,45% { transform: translateY(-9px); } 57%,100% { transform: translateY(0); } }
@keyframes il-sel3 { 0%,60% { transform: translateY(0); } 66%,78% { transform: translateY(-9px); } 90%,100% { transform: translateY(0); } }
.s-choose .pick {
  width: 22px; height: 22px; border-radius: 50%; background: var(--color-accent);
  top: 6px; left: 32px; z-index: 2; animation: il-pick 3.6s ease-in-out infinite;
}
.s-choose .pick::before {
  content: ""; position: absolute; width: 9px; height: 5px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg); left: 6px; top: 7px;
}
@keyframes il-pick {
  0%,12% { transform: translateX(0); }
  33%,45% { transform: translateX(67px); }
  66%,78% { transform: translateX(134px); }
  100% { transform: translateX(0); }
}

/* --- Why us + coverage --- */
/* --- Message section (代表メッセージ) --- */
.message-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.message-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.message-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}
.message-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.message-signature {
  text-align: center;
}
.message-signature strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.message-signature span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
/* SNS リンク (代表) */
.message-sns {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 8px;
}
.sns-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.sns-link:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.sns-link svg {
  width: 16px;
  height: 16px;
}
.sns-link.sns-note svg { width: 28px; height: 28px; }

.message-body { padding-top: 8px; }
.message-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.message-body p {
  font-size: 1rem;
  line-height: 1.95;
  margin-bottom: 18px;
}
.message-body p:last-of-type { margin-bottom: 0; }
.message-accent {
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .message-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .message-portrait {
    max-width: 220px;
    margin: 0 auto;
  }
  .message-h3 { text-align: center; font-size: 1.5rem; margin-bottom: 22px; }
  .message-body p { font-size: 0.9rem; line-height: 1.85; margin-bottom: 16px; }
}
@media (max-width: 480px) {
  .message-h3 { font-size: 1.35rem; margin-bottom: 18px; }
  .message-body p { font-size: 0.85rem; line-height: 1.8; }
}

/* --- Comparison Table --- */
.comparison-wrapper { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.comparison-table th,
.comparison-table td {
  padding: 20px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}
.comparison-table thead th {
  font-weight: 700;
  background: #ffffff;
}
.comparison-table th.col-ours,
.comparison-table td.col-ours {
  background: var(--color-accent-light);
  color: var(--color-text);
}
.comparison-table thead th.col-ours { color: var(--color-accent); }
.comparison-table tbody th { font-weight: 700; }
.mark { font-size: 1.125rem; font-weight: 700; margin-right: 4px; }
.mark-double { color: var(--color-accent); }
.mark-single { color: var(--color-text); }
.mark-tri { color: var(--color-text-muted); }
.mark-cross { color: #6b7280; }
.comparison-note {
  text-align: center;
  margin-top: 32px;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}


/* --- FV: ブランド名の上のサービス説明ライン --- */
.fv-brand-lead { display: block; font-size: clamp(1.25rem, 2.5vw, 1.85rem); font-weight: 700; color: #ffffff; margin-bottom: 8px; letter-spacing: 0.02em; }

/* --- How to use (5 STEP timeline) --- */
.howto-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

/* 納品後の継続フェーズ (4 ステップの後に ↓ で接続、2026-05-25) */
.howto-after {
  max-width: 800px;
  margin: 8px auto 0;
}
.howto-after-arrow {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.howto-after-card {
  background: var(--color-accent-light);
  border: 1px solid rgba(0, 110, 255, 0.22);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.howto-after-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 8px;
}
.howto-after-body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  position: relative;
  padding-bottom: 48px;
}
.step:last-child { padding-bottom: 0; }
.step-num-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
/* Inline step number used as a prefix inside step-title (e.g. "1 お問い合わせ") */
.step-num {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-right: 14px;
  letter-spacing: 0.02em;
  vertical-align: -1px;
}
.step:not(:last-child) .step-num-wrapper::after {
  content: "";
  position: absolute;
  top: 80px;
  bottom: -32px;
  width: 1px;
  background: var(--color-border);
}

/* CSS-drawn step icons (no emoji) */
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-accent);
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover .step-icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 110, 255, 0.18);
}

/* Step 1: Form / document with input lines */
.step-icon-1::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 36px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%);
  border-radius: 2px;
}
.step-icon-1::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-55%);
  width: 14px;
  height: 14px;
  background:
    linear-gradient(#ffffff, #ffffff) left top / 100% 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) left 6px / 100% 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) left 12px / 70% 2px no-repeat;
}

/* Step 2: Speech bubble (single, with 3 dots inside) */
.step-icon-2::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 32px;
  background: var(--color-accent);
  border-radius: 10px 10px 10px 4px;
}
.step-icon-2::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 8px;
  background:
    radial-gradient(circle at 4px 50%, #ffffff 2.5px, transparent 3px),
    radial-gradient(circle at 14px 50%, #ffffff 2.5px, transparent 3px),
    radial-gradient(circle at 24px 50%, #ffffff 2.5px, transparent 3px);
}

/* Step 3: Lightbulb (idea / proposal) */
.step-icon-3::before {
  /* Bulb: circle */
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--color-accent);
  border-radius: 50%;
}
.step-icon-3::after {
  /* Base with 2 white screw thread lines */
  content: "";
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background:
    linear-gradient(#ffffff, #ffffff) 0 5px / 100% 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 11px / 100% 2px no-repeat,
    var(--color-accent);
  border-radius: 0 0 4px 4px;
  clip-path: polygon(10% 0, 90% 0, 100% 70%, 75% 100%, 25% 100%, 0 70%);
}

/* Step 4: Code brackets < > (development) */
.step-icon-4::before {
  /* AI社員(ロボ)の顔 — 旧 <> コード括弧は開発会社トーンのため差し替え (2026-07-02 添削) */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 26px;
  border-radius: 8px;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
}
.step-icon-4::after {
  /* 目 2 つ (白ドット) */
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  left: calc(50% - 11px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 15px 0 0 #ffffff;
}

/* Step 5: Shield with checkmark (delivery / maintenance / quality assurance) */
.step-icon-5::before {
  /* Shield shape */
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 44px;
  background: var(--color-accent);
  clip-path: polygon(50% 0, 100% 18%, 100% 60%, 50% 100%, 0 60%, 0 18%);
}
.step-icon-5::after {
  /* Checkmark (white) inside shield */
  content: "";
  position: absolute;
  top: 28px;
  left: 50%;
  width: 8px;
  height: 16px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: translateX(-65%) rotate(40deg);
}

.step-content { padding-top: 8px; }
.step-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.step-time { display: inline-block; font-size: var(--fs-micro); color: var(--color-accent); margin-bottom: 12px; font-family: var(--font-en); }
.step-body { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.8; }

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  transition: transform var(--transition);
}
.faq-icon::before { top: 11px; left: 0; right: 0; height: 2px; }
.faq-icon::after { left: 11px; top: 0; bottom: 0; width: 2px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-answer {
  padding-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; }

/* --- Final CTA --- */
.final-cta {
  background: #000000;
  color: #ffffff;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}
.final-cta .section-lead { color: rgba(255, 255, 255, 0.92); margin-bottom: 48px; }
.final-cta .btn-primary { background: #ffffff; color: var(--color-accent); }
.final-cta .btn-primary:hover { background: rgba(255, 255, 255, 0.92); }
.final-cta .btn-outline { background: transparent; color: #ffffff; border-color: #ffffff; }
.final-cta .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.final-cta .cta-emphasis { color: rgba(255, 255, 255, 0.85); }

/* --- Stream A banner --- */
.stream-a-banner {
  background: var(--color-section-bg);
  padding: 48px 0;
  text-align: center;
}
.stream-a-banner .badge {
  display: inline-block;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.stream-a-banner h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.stream-a-banner a { color: var(--color-accent); text-decoration: underline; font-size: var(--fs-small); }
.stream-a-banner a:hover { color: var(--color-accent-hover); }

/* --- Footer --- */
.lp-footer {
  padding: 64px 0 32px;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-tagline { font-size: var(--fs-small); color: var(--color-text-muted); }
.footer-col h4 {
  font-size: var(--fs-small);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-text); }
.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* --- Consultants section --- */
/* 4 名で横並びを基準にカード幅を 240px 固定。今は 2 名なので中央寄せ。 */
.consultant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 240px);
  gap: 40px 72px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.consultant-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s;
}
.consultant-card:hover,
.consultant-card:focus-visible {
  transform: translateY(-3px);
  outline: none;
}
.consultant-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-accent-light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 14px;
  transition: box-shadow 0.2s;
}
.consultant-card:hover .consultant-photo,
.consultant-card:focus-visible .consultant-photo {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.consultant-photo img,
.consultant-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.consultant-photo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
}
.consultant-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.consultant-role {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.consultant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}
.consultant-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Consultant modal --- */
.consultant-modal-card {
  padding: 56px 44px 44px;
}
.consultant-modal-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}
.consultant-modal-photo {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-accent-light);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.consultant-modal-id {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.consultant-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.consultant-modal-photo.consultant-photo-placeholder {
  font-size: 1.5rem;
}
.consultant-modal-card .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.consultant-modal-role {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.consultant-modal-body {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}
.consultant-modal-body p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--color-text);
  margin-bottom: 14px;
}
.consultant-modal-body p:last-child { margin-bottom: 0; }
.consultant-modal-sns {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .consultant-grid {
    grid-template-columns: repeat(auto-fit, 200px);
    gap: 32px 44px;
  }
  .consultant-name { font-size: 1.05rem; }
  .consultant-modal-card { padding: 48px 28px 32px; }
  .consultant-modal-head {
    grid-template-columns: 88px 1fr;
    gap: 18px;
    margin-bottom: 22px;
  }
  .consultant-modal-photo { width: 88px; height: 88px; }
  .consultant-modal-card .modal-title { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .consultant-grid {
    grid-template-columns: repeat(auto-fit, 150px);
    gap: 24px 24px;
  }
  .consultant-name { font-size: 0.95rem; }
  .consultant-role { font-size: 0.72rem; }
  .consultant-tag { font-size: 0.66rem; padding: 2px 8px; }
}

/* --- Form modal --- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close { position: absolute; top: 16px; right: 16px; font-size: 1.5rem; line-height: 1; }
.modal-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 8px; }
.modal-lead { font-size: var(--fs-small); color: var(--color-text-muted); margin-bottom: 24px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  margin-bottom: 6px;
}
.form-field label .required { color: var(--color-accent); margin-left: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  background: #ffffff;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-submit { width: 100%; margin-top: 8px; }
.form-error {
  padding: 10px 14px;
  margin: 12px 0;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 4px;
  font-size: 0.875rem;
}
.form-error-ok {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.lp-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.lp-turnstile { margin: 16px 0; min-height: 65px; }
.lp-modal-wide { max-width: 560px; }
.lp-back-link {
  font-size: 0.82rem;
  color: var(--color-accent);
  text-decoration: none;
  margin-left: 8px;
}
.lp-back-link:hover { text-decoration: underline; }

/* プライバシーポリシー同意 (2026-05-25) */
.form-field-consent { margin: 4px 0 16px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}
.consent-label a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* カレンダーステップ上部の「入力内容に戻る」導線 (2026-05-25) */
.lp-cal-topbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.lp-cal-topbar .lp-back-link { margin-left: 0; }

/* --- LP Calendar UI (schedule modal) --- */
.lp-cal-widget {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px;
}
.lp-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.lp-cal-nav-btn {
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  color: #374151;
}
.lp-cal-nav-btn:hover { background: #f3f4f6; }
.lp-cal-month-label {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.lp-cal-grid { margin-bottom: 16px; }
.lp-cal-weekday-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.lp-cal-weekday-h {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  padding: 4px 0;
}
.lp-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.lp-cal-day {
  aspect-ratio: 1;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: default;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 120ms ease;
}
.lp-cal-day-empty { background: transparent; border: none; }
.lp-cal-day-empty-day { background: #ffffff; color: #d1d5db; }
.lp-cal-day-past { background: #f9fafb; color: #d1d5db; }
.lp-cal-day-has-slot {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e3a8a;
  font-weight: 600;
  cursor: pointer;
}
.lp-cal-day-has-slot:hover {
  background: var(--color-accent, #006eff);
  color: #ffffff;
  border-color: var(--color-accent, #006eff);
}
.lp-cal-day.selected {
  background: var(--color-accent, #006eff);
  color: #ffffff;
  border-color: var(--color-accent, #006eff);
}
.lp-cal-slots-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
.lp-cal-slots-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}
.lp-cal-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}
.lp-cal-slot {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  color: #111827;
  transition: all 120ms ease;
}
.lp-cal-slot:hover {
  background: var(--color-accent, #006eff);
  color: #ffffff;
  border-color: var(--color-accent, #006eff);
}
.lp-cal-slot.selected {
  background: var(--color-accent, #006eff);
  color: #ffffff;
  border-color: var(--color-accent, #006eff);
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(0, 110, 255, 0.15);
}
/* 「この日程で予約する」確認エリア (2026-05-28) */
.lp-cal-confirm-wrap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.lp-cal-confirm-summary {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 12px;
}
.lp-cal-confirm-summary strong {
  color: var(--color-accent, #006eff);
  font-weight: 800;
}
.lp-cal-confirm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--color-accent, #006eff);
  border: none;
  border-radius: 60px;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(0, 110, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  letter-spacing: 0.02em;
}
.lp-cal-confirm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(0, 110, 255, 0.45);
}
.lp-cal-confirm-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0, 110, 255, 0.3);
}
.lp-cal-confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.lp-cal-loading {
  padding: 32px;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}
.lp-cal-error, .lp-cal-message {
  padding: 12px;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}
.lp-cal-error { color: #991b1b; }

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in-view { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .fv { padding: 80px 0 100px; }
  .fv-inner { flex-direction: column; text-align: center; gap: 28px; align-items: center; }
  /* スマホ・タブレットでは縦 1 カラム。display:contents は使わない:
     box が消えるため reveal の IntersectionObserver が発火せず (.fv-left が in-view にならない)、
     一部 WebKit で contents+flex order が不安定。普通の flex column で同じ縦並びを実現する (2026-06-10)。
     HTML 順 (.fv-left[見出し→ブランド→メリット] → .fv-right[カルーセル]) がそのまま望む縦順。 */
  .fv-left { flex: none; width: 100%; max-width: 540px; align-items: center; text-align: center; gap: 28px; }
  .fv-eyebrow { align-self: center; margin-bottom: 0; }
  .fv-h1 { margin-bottom: 0; }
  .fv-merits { width: 100%; max-width: 540px; margin-top: 0; }
  /* 600–960px: 拡大した merit-main が 1/3 幅に収まるよう中間サイズに (見切れ防止、2026-07-03) */
  .merit-main { font-size: clamp(0.95rem, 2vw, 1.2rem); }
  /* width:100% で CTA 列の箱を fv-left いっぱいに広げる (fit-content 幅のままだと
     cta-pulse の scale(1.05) が自箱を数 px はみ出し、狭幅で overflow 判定になる) */
  .fv-cta-inline { align-self: center; margin-top: 0; width: 100%; }
  .fv-right { flex: none; width: 100%; max-width: 440px; }
  .cards-3 { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-block { width: 100%; align-items: center; }
  .btn { width: 100%; }
  .fv { padding: 36px 0 64px; min-height: auto; }
  /* FV スタックを詰めて右カルーセル (CSS アニメ) を first view に収める (margin を 0 にし gap で統一、2026-05-30) */
  .fv-inner { gap: 18px; }
  /* FV 見出し: mobile はフォントを圧縮 (2026-07-03 CRO添削) */
  .fv-h1 { font-size: clamp(1.35rem, 5.8vw, 1.8rem); line-height: 1.5; }
  /* 2026-08-21 ver.2: 名乗りが 34 字になり狭幅では 2 行に折れる。
     角丸 100px のままだと 2 行で楕円に潰れるので角丸を落として整った箱にする。 */
  .fv-eyebrow {
    font-size: clamp(0.72rem, 3.4vw, 0.85rem);
    padding: 6px 14px;
    border-radius: 16px;
    text-align: center;
    line-height: 1.5;
  }
  /* lead は 1 行に収まるサイズに縮小 (vw で可変・nowrap)・上下マージンを詰める */
  .fv-lead { font-size: clamp(0.66rem, 3.1vw, 0.9rem); line-height: 1.5; white-space: nowrap; margin: 0; }
  .break-sm { display: none; }
  /* FV 右パネルを viewport にフィット */
  .fv-flow { max-width: 300px; border-radius: 14px; }
  .fvf-slide { padding: 14px 14px 30px; }
  .fv-flow .slide-title { font-size: 0.9rem; }
  .fv-flow .slide-num { font-size: 0.62rem; }
  /* features を縦積み・全幅統一 (3 つとも同じ幅 = max-width 360px・文字は左揃え) */
  .fv-feature {
    width: 100%;
    box-sizing: border-box;
    max-width: 360px;
    justify-content: flex-start;
  }
  .fv-feature-break { display: none; }     /* 2+1 break は不要 (3 アイテム縦積み) */
  .fv-features { flex-direction: column; align-items: center; gap: 8px; margin: 0; }
  /* 幅統一で pill が container 幅に制限されるため、狭幅端末 (≤375px) でも 1 行に収まるよう微縮 (376px 以上は 0.94rem 維持) */
  .fv-feature-text { font-size: clamp(0.78rem, 4vw, 0.94rem); }
  /* Solution パネルも mobile 用に少し圧縮 */
  .sol-anim { max-width: 280px; }
  .btn-box-primary, .btn-box-secondary { padding: 14px 28px; font-size: 0.95rem; }
  .fv-animation { padding: 24px 16px 16px; min-height: 220px; }
  .character { width: 60px; }
  .character .head { width: 34px; height: 34px; }
  .character .body { width: 54px; height: 72px; }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step-num { font-size: 1.2rem; margin-right: 10px; }
  .step-icon { width: 56px; height: 56px; }
  .step:not(:last-child) .step-num-wrapper::after { top: 64px; bottom: -28px; }
  /* Scale down icon internals for 56px container */
  .step-icon-1::before { top: 10px; width: 22px; height: 28px; }
  .step-icon-1::after { top: 19px; width: 11px; height: 11px;
    background:
      linear-gradient(#ffffff, #ffffff) left top / 100% 2px no-repeat,
      linear-gradient(#ffffff, #ffffff) left 5px / 100% 2px no-repeat,
      linear-gradient(#ffffff, #ffffff) left 10px / 70% 2px no-repeat;
  }
  .step-icon-2::before { top: 12px; width: 36px; height: 26px; border-radius: 8px 8px 8px 3px; }
  .step-icon-2::after { top: 21px; width: 22px; height: 6px;
    background:
      radial-gradient(circle at 3px 50%, #ffffff 2px, transparent 2.5px),
      radial-gradient(circle at 11px 50%, #ffffff 2px, transparent 2.5px),
      radial-gradient(circle at 19px 50%, #ffffff 2px, transparent 2.5px);
  }
  /* Step 3 (lightbulb) scaled */
  .step-icon-3::before { top: 8px; width: 24px; height: 24px; }
  .step-icon-3::after { top: 28px; width: 14px; height: 14px;
    background:
      linear-gradient(#ffffff, #ffffff) 0 4px / 100% 2px no-repeat,
      linear-gradient(#ffffff, #ffffff) 0 8px / 100% 2px no-repeat,
      var(--color-accent);
  }
  /* Step 4 (chevrons) scaled */
  .step-icon-4::before { left: 14px; width: 11px; height: 11px; border-top-width: 3px; border-left-width: 3px; }
  .step-icon-4::after { right: 14px; width: 11px; height: 11px; border-top-width: 3px; border-right-width: 3px; }
  /* Step 5 (shield) scaled */
  .step-icon-5::before { top: 8px; width: 28px; height: 34px; }
  .step-icon-5::after { top: 22px; width: 6px; height: 12px; border-right-width: 2.5px; border-bottom-width: 2.5px; }
}

/* =========================================================================
   モバイル文字サイズ調整 (2026-05-30, 森井氏フィードバック)
   - comparison: リード文 (早い/安い/安心 + ①②③) と表内フォントを縮小・表の高さ圧縮
   - How to use: 各ステップ本文 (step 1-4) を縮小
   - 最後の CTA: 見出し・リード文を縮小
   ========================================================================= */
@media (max-width: 600px) {
  /* comparison: リード文 (本サービスなら「早い」「安い」「安心」+ ①②③) を縮小 */
  #comparison .section-lead { font-size: 0.82rem; line-height: 1.65; margin-top: 10px; }
  /* comparison: 表内フォントを縮小 + 縦 padding を詰めて行の高さを抑える */
  .comparison-table th,
  .comparison-table td { font-size: 0.78rem; padding: 11px 9px; }
  .comparison-table .mark { font-size: 0.95rem; margin-right: 2px; }
  .comparison-note { font-size: 0.74rem; }
  /* How to use: 各ステップ本文 (step 1〜4 共通) を縮小 */
  .step-body { font-size: 0.82rem; line-height: 1.65; }
  /* 最後の CTA: 見出し・リード文を縮小 */
  .final-cta h2 { font-size: 1.5rem; line-height: 1.4; margin-bottom: 16px; }
  .final-cta .section-lead { font-size: 0.85rem; line-height: 1.65; margin-bottom: 32px; }
}

/* =========================================================================
   Mobile sticky bottom CTA (≤768px のみ表示)
   - ヘッダー .btn-cta を非表示にし、ページ下部に常設 CTA バーを fixed 表示
   - 黄色 (#ffff00) + shine + pulse アニメ (btn-box-primary と同じ流用)
   - 上部に小ラベル「＼ 完全無料（カンタン30秒）／」
   - iOS safe-area 対応・modal (z-index 200) の下に潜るので overlay で隠れる
   ========================================================================= */
.mobile-cta-fixed { display: none; }
.mobile-cta-label { display: none; }

@media (max-width: 768px) {
  .mobile-cta-fixed {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 8px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 110, 255, 0.18);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.10);
    text-align: center;
  }
  .mobile-cta-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.78);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
  }
  .mobile-cta-promo {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 3px 12px;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  }
  .mobile-cta-promo em { color: #e8002d; font-style: normal; font-weight: 900; }
  /* 景表法・誠実表示の注記 (固定バーは省スペース版) */
  .mobile-cta-note {
    display: block;
    margin-top: 5px;
    font-size: 0.6rem;
    line-height: 1.35;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
  }
  .btn-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: #ffff00;
    color: #000000;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 60px;
    box-shadow: 0 5px 0 #c7c700, 0 6px 18px rgba(255, 255, 0, 0.35);
    letter-spacing: 0.02em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: btn-pulse 2.2s ease-in-out infinite;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  /* shine: btn-box-primary と同じ btn-shine keyframe 流用 */
  .btn-mobile-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: btn-shine 3.2s ease-in-out infinite;
  }
  .btn-mobile-cta:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #c7c700, 0 3px 10px rgba(255, 255, 0, 0.3);
    animation: none;
  }
  /* ヘッダー CTA を非表示（下部固定 CTA で代替） */
  .lp-header .btn-cta { display: none; }
  /* 本文底面に CTA バー分の余白を確保 (footer 等が隠れない。promo バッジ + 注記で増高) */
  body { padding-bottom: calc(158px + env(safe-area-inset-bottom, 0px)); }
}
/* reduced-motion: shine + pulse を停止 */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .btn-mobile-cta, .btn-mobile-cta::after { animation: none !important; }
}

/* =========================================================
   ジドウカくん リブランド 追加スタイル (2026-06-05)
   - FV サブタグライン / 早い・安い・安心メリット
   - FV 直下 CTA バンド
   - 料金カード (coaching の price-* を移植)
   - 比較表 景表法注釈
   ========================================================= */

/* --- FV ブランド名 (サービス行の下・黄色で強調) --- */
.fv-brand {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.25);
}

/* --- FV サブタグライン (見出しの下の小さい説明) --- */
/* --- FV 早い・安い・安心 メリット (フォントにメリハリ、3 列) --- */
.fv-merits {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: clamp(22px, 2.6vw, 30px);
  margin-bottom: 0;
  /* 2026-08-21 ver.2: main が最長 8 字「業務フローを整理」になったため 560 → 600px */
  max-width: 600px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.fv-merit {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  padding: 11px 7px;
}
.fv-merit + .fv-merit { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.merit-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--color-accent);
  padding: 2px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.merit-main {
  /* 2026-08-21 ver.2: 最長が 7 字 → 8 字「業務フローを整理」になったので一段下げる
     (nowrap かつ親が overflow:hidden = はみ出しは検査に出ず黙って切れるため余裕を取る) */
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 900;
  color: #ffff00;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.merit-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.3;
}

/* --- 料金 3 カード (2026-08-22 ver.2)
   プロトタイプ開発=完全無料 / 初期開発=お見積もり / 保守運用=月額5万円〜 --- */
.price-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}
.price-tier {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 26px 22px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
.price-tier-free {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(0, 110, 255, 0.06), rgba(0, 110, 255, 0.02));
}
.price-tier-name {
  align-self: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--color-accent);
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-tier-fig {
  margin: 16px 0 0;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.price-tier-free .price-tier-fig { color: var(--color-accent-hover); }
.price-tier-pre, .price-tier-unit {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-muted);
}
/* 提供内容リスト (各カード内) */
.price-includes {
  list-style: none;
  padding: 14px 0 0;
  margin: 16px 0 0;
  text-align: left;
  border-top: 1px dashed var(--color-border);
}
.price-includes li {
  position: relative; padding: 9px 0 9px 26px;
  font-size: 0.92rem; line-height: 1.6; color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.price-includes li:last-child { border-bottom: none; }
.price-includes li::before {
  content: "\2713"; position: absolute; left: 2px; top: 9px;
  color: var(--color-accent); font-weight: 900;
}
.price-cta { display: flex; justify-content: center; margin-top: 8px; }
/* 薄灰背景では割引バッジを枠線で分離、注記は暗背景用の白文字を muted に上書き */
.price-cta .fv-promo-badge { border: 1px solid var(--color-border); }
.price-cta .fv-promo-note { color: var(--color-text-muted); max-width: 420px; }
@media (max-width: 768px) {
  .price-cards { grid-template-columns: 1fr; gap: 10px; max-width: 480px; }
  .price-tier { padding: 22px 20px 18px; }
}

/* --- リブランド要素のモバイル調整 --- */
@media (max-width: 600px) {
  .fv-merit { padding: 10px 5px; gap: 2px; }
  .merit-label { font-size: 0.68rem; padding: 2px 9px; margin-bottom: 3px; }
  .merit-main { font-size: clamp(0.64rem, 2.7vw, 0.85rem); }
  .merit-sub { font-size: 0.6rem; }
}
/* 狭幅スマホの FV メリット: 3列だと極小フォント + 不自然な折返しになるため
   3行 (ラベル | 本文) の横並びに切り替え、読めるサイズを確保 (2026-07-03) */
@media (max-width: 480px) {
  .fv-merits { flex-direction: column; width: 100%; max-width: 340px; }
  .fv-merit {
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding: 9px 14px;
  }
  .fv-merit + .fv-merit { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .merit-label { margin-bottom: 0; flex-shrink: 0; font-size: 0.72rem; align-self: center; }
  .merit-main { font-size: 1rem; }
  .merit-sub { font-size: 0.78rem; }
}

/* === Positioning map (why-us 内・横長・アニメ) 価格×カスタマイズ性 ===
   ジドウカくん = 右上ゾーン(価格安い×高カスタム)を青背景で強調。reveal(.in-view)で段階登場＋常時パルス。 */
.posmap-block { margin-top: clamp(44px, 6vw, 76px); }
.posmap-title { text-align: center; font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 800; margin-bottom: 12px; }
.posmap2 {
  position: relative; width: 100%; max-width: 1080px; margin: clamp(20px, 3vw, 32px) auto 0;
  aspect-ratio: 21 / 10; background: var(--color-bg);
  border: 1px solid var(--color-border); border-radius: 12px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.06); overflow: hidden;
}
/* ジドウカくんゾーン = 右上クアドラント全体 */
.pm-zone {
  position: absolute; top: 0; right: 0; width: 50%; height: 50%;
  background: linear-gradient(135deg, rgba(0, 110, 255, 0.18), rgba(0, 110, 255, 0.05));
  border-left: 1px dashed rgba(0, 110, 255, 0.35); border-bottom: 1px dashed rgba(0, 110, 255, 0.35);
  transform-origin: right center; transform: scaleX(0);
}
/* 軸 (中央十字) */
.pm-axis { position: absolute; background: var(--color-border); }
.pm-axis-x { left: 0; right: 0; top: 50%; height: 1px; transform: scaleX(0); transform-origin: center; }
.pm-axis-y { top: 0; bottom: 0; left: 50%; width: 1px; transform: scaleY(0); transform-origin: center; }
/* 軸ラベル */
.pm-lab {
  position: absolute; font-size: clamp(0.72rem, 1.6vw, 0.92rem); font-weight: 700;
  color: var(--color-text-muted); letter-spacing: 0.04em; white-space: nowrap; opacity: 0;
}
.pm-lab-top    { top: 12px; left: 50%; transform: translateX(-50%); }
.pm-lab-bottom { bottom: 12px; left: 50%; transform: translateX(-50%); }
.pm-lab-left   { top: 50%; left: 14px; transform: translateY(-50%); }
.pm-lab-right  { top: 50%; right: 14px; transform: translateY(-50%); }
/* 競合マーカー＋ジドウカくん */
.pm-dot, .pm-ours {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-align: center; white-space: nowrap; opacity: 0;
}
/* 競合マーカーのドット(◯)は不要のため非表示（テキストラベルのみ） */
.pm-dot b { font-size: clamp(0.8rem, 1.7vw, 0.98rem); font-weight: 700; color: var(--color-text); }
.pm-dot small { font-size: clamp(0.66rem, 1.4vw, 0.78rem); color: var(--color-text-muted); }
.pm-ours { z-index: 3; }
.pm-ours b {
  font-size: clamp(0.92rem, 2.1vw, 1.18rem); font-weight: 800; color: #fff;
  background: var(--color-accent); padding: 8px 16px; border-radius: 100px;
  box-shadow: 0 8px 22px rgba(0, 110, 255, 0.4);
}
.pm-ours small { margin-top: 6px; font-size: clamp(0.7rem, 1.5vw, 0.84rem); font-weight: 700; color: var(--color-accent); }
.posmap-note {
  margin: 16px auto 0; max-width: 640px; text-align: center;
  font-size: clamp(0.7rem, 2vw, 0.78rem); line-height: 1.6; color: var(--color-text-muted);
}
/* --- アニメ (reveal .in-view で起動・段階登場) --- */
.posmap-block.in-view .pm-axis-x  { animation: pm-grow-x .5s ease .1s forwards; }
.posmap-block.in-view .pm-axis-y  { animation: pm-grow-y .5s ease .1s forwards; }
.posmap-block.in-view .pm-lab     { animation: pm-fade .5s ease .55s forwards; }
.posmap-block.in-view .pm-excel   { animation: pm-pop .45s ease .7s both; }
.posmap-block.in-view .pm-saas    { animation: pm-pop .45s ease .8s both; }
.posmap-block.in-view .pm-pkg     { animation: pm-pop .45s ease .9s both; }
.posmap-block.in-view .pm-inhouse { animation: pm-pop .45s ease 1s both; }
.posmap-block.in-view .pm-sier    { animation: pm-pop .45s ease 1.1s both; }
.posmap-block.in-view .pm-zone    { animation: pm-grow-x .6s ease 1.35s forwards, pm-zone-glow 3s ease-in-out 2.4s infinite; }
.posmap-block.in-view .pm-ours    { animation: pm-pop .55s ease 1.6s both, pm-ours-bob 3.2s ease-in-out 2.6s infinite; }
@keyframes pm-grow-x { to { transform: scaleX(1); } }
@keyframes pm-grow-y { to { transform: scaleY(1); } }
@keyframes pm-fade { to { opacity: 1; } }
@keyframes pm-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes pm-zone-glow {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(0, 110, 255, 0); }
  50% { box-shadow: inset 0 0 40px 2px rgba(0, 110, 255, 0.2); }
}
@keyframes pm-ours-bob {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}
/* モバイル: 縦に余裕を持たせ、競合の説明文は隠す・カスタム軸は縦書き */
@media (max-width: 768px) {
  .posmap2 { aspect-ratio: 4 / 5; max-width: 430px; border-radius: 10px; }
  .pm-dot small { display: none; }
  .pm-lab-left, .pm-lab-right { writing-mode: vertical-rl; }
  .pm-lab-left { left: 6px; } .pm-lab-right { right: 6px; }
  .pm-ours small { font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-zone, .pm-axis-x { transform: scaleX(1); }
  .pm-axis-y { transform: scaleY(1); }
  .pm-lab, .pm-dot, .pm-ours { opacity: 1; }
  .pm-dot, .pm-ours { transform: translate(-50%, -50%); }
  .posmap-block.in-view .pm-axis-x, .posmap-block.in-view .pm-axis-y,
  .posmap-block.in-view .pm-lab, .posmap-block.in-view .pm-saas,
  .posmap-block.in-view .pm-inhouse, .posmap-block.in-view .pm-sier, .posmap-block.in-view .pm-excel,
  .posmap-block.in-view .pm-pkg,
  .posmap-block.in-view .pm-zone, .posmap-block.in-view .pm-ours { animation: none; }
}

/* =========================================================
   2026-07-03 CRO 添削 追加分
   - .fv-cta-inline: FV 左カラム内に統合したプライマリ CTA
     (見出し→メリット→CTA を一筆書きで読ませ、first view で行動完結)
   - .cta-band-mid: Benefit 直後の中間 CTA バンド
     (ページ前半で納得したユーザーが料金までスクロールせずに相談できる)
   ========================================================= */
.fv-cta-inline {
  margin-top: clamp(24px, 3vw, 34px);
  align-items: center;
  /* 2026-08-22: shrink-wrap だとボタンの実内容が箱の幅算定を数 px 超えてはみ出す。
     箱は全幅にし、中身は align-items で中央に置く。 */
  align-self: stretch;
  width: 100%;
}
.fv-cta-inline .fv-promo-note { margin-left: auto; margin-right: auto; text-align: center; }

/* 中間 CTA バンド (Benefit → Why us の間。FV と同じ暗背景で黄色 CTA を際立たせる) */
.cta-band-mid {
  background: radial-gradient(120% 140% at 50% 0%, #0a1530 0%, #000000 80%);
  padding: clamp(48px, 6vw, 72px) 0;
  text-align: center;
}
.cta-band-mid .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta-band-copy {
  color: #ffffff;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.7;
}
.cta-band-mid .fv-cta-label { color: rgba(255, 255, 255, 0.95); }

/* --- Consultants: カードが押せることを示す目印 (2026-08-22 第3稿) --- */
.consultant-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 9px 22px;
  border: 1.5px solid var(--color-accent);
  border-radius: 100px;
  color: var(--color-accent);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition);
}
.consultant-card:hover .consultant-more,
.consultant-card:focus-visible .consultant-more {
  background: var(--color-accent);
  color: #ffffff;
}

/* --- 料金カードの間の矢印 (2026-08-22 第3稿) --- */
.price-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;          /* カード間のガターとして矢印に余白を持たせる */
  color: var(--color-accent);
}
.price-arrow svg { width: 26px; height: 26px; display: block; }
@media (max-width: 768px) {
  .price-arrow svg { transform: rotate(90deg); }
}
