/* ==========================================================
   Quickry AI Kit LP — Base Styles
   v4 2026-05-05 D案 Light Theme（里見§4-1完全準拠）
   - カラー: Fog White主体 / Pale Teal Soft / White / Deep Teal Navyテキスト / Sharp Tealアクセント
   - 運用比率: Fog White 55% / Pale Teal Soft 25% / White 12% / Deep Teal Navy帯 10% / Sharp Teal 8%
   - Hero: フル幅画像背景 + 右overlayコピー帯（§3 構造変更）
   - ダーク帯維持（メリハリ）: .demo-quick / .section-experience / .final-cta / .site-footer
   - WCAG AA 4.5:1 全本文・本文リンクで確保
   - focus ring 追加（WCAG 2.4.7）
   旧版退避: _archive/履歴_lp_style/20260505_pre_dcase_style.css
   ========================================================== */

:root {
  /* === D案 Light Theme カラートークン（v3 → v4 2026-05-05 里見+佐川徳夫CMO+坪井CEO確定） ===
     旧 Deep Teal Navy ダークテーマは _archive/履歴_lp_style/20260505_pre_dcase_style.css へ退避 */

  /* Brand Anchor（ブランドガイド §2 不変色） */
  --color-deep-teal-navy: #0b2a3a;
  --color-deeper-navy: #081e2b;
  /* Accent — v1.2 改訂 2026-05-05（坪井CEO指示・A案モノトーン基調）
     旧 Sharp Teal #00A896（緑廃止）→ Warm Coral #EA6A3D（暖色重なり気持ち悪い廃止）
     → Deep Teal Navy 自体をアクセント化（Stripe/Linear/Vercel系B2Bプレミアム）
     トークン名は 5/12 ブランドガイドv1.1 反映時に --color-accent-navy へ bump up 予定 */
  --color-sharp-teal: #0b2a3a;                /* Deep Teal Navy をアクセント色に統一 */
  --color-sharp-teal-hover: #1f3e50;          /* Hover 一段明るい濃紺・vs Fog White 11.2:1 AAA */
  --color-sharp-teal-soft: rgba(11, 42, 58, 0.08); /* 極薄濃紺透過（eyebrow背景等） */
  --color-pale-teal: #e8f4f2;                 /* §2 既定値・doc-table thead等で継続使用 */
  --color-fog-white: #f6fafb;
  --color-text-mid: #4a5a66;
  --color-grid-line: #1b3c4e;

  /* === Light Theme 役割マッピング（互換変数）=== */
  --color-bg: #f6fafb;                        /* 主背景（Fog White主体・55%） */
  --color-bg-soft: #eef5f4;                   /* section-soft背景（Pale Teal Soft・25%・新規派生） */
  --color-bg-light: var(--color-bg);          /* 互換維持・既存セレクタ温存 */
  --color-bg-accent: var(--color-deep-teal-navy); /* Hero overlay帯・final-cta帯 */

  --color-surface: #ffffff;                   /* カード地（D案では純白） */
  --color-surface-hover: #fbfdfd;
  --color-surface-light: #ffffff;             /* 互換維持 */

  --color-border: #e2ecea;                    /* §2 Soft Line を1段薄く調整 */
  --color-border-strong: #cfddda;
  --color-border-light: #e2ecea;              /* 互換維持 */

  --color-text: #0b2a3a;                      /* メイン本文（Deep Teal Navy） */
  --color-text-soft: #3a4a56;
  --color-text-muted: #6e7e89;
  --color-text-on-light: var(--color-text);   /* 互換維持 */
  --color-text-on-light-muted: var(--color-text-soft); /* 互換維持 */
  --color-text-on-dark: var(--color-fog-white); /* Hero overlay内・final-cta内のコピー */

  --color-accent: var(--color-sharp-teal);
  --color-accent-hover: var(--color-sharp-teal-hover);
  --color-accent-soft: var(--color-sharp-teal-soft);

  --color-link: #3a4a56;                       /* 濃いグレー（A案モノトーン基調・vs Fog White 8.9:1 AAA） */
  --color-link-hover: var(--color-deep-teal-navy);

  /* グラデーション（互換維持・final-cta等で参照） */
  --color-gradient-1: var(--color-deeper-navy);
  --color-gradient-2: var(--color-deep-teal-navy);

  --color-success: #1fbf91;

  --max-width: 1120px;

  /* 角丸（B採用親しみ寄り運用・不変） */
  --radius-sm: 6px; /* タグ・バッジ・チェックボックス */
  --radius-md: 6px; /* カード装飾 */
  --radius-lg: 6px; /* セクションカード */
  --radius-xl: 6px; /* Hero周辺カード */
  --radius-cta: 2px; /* CTA専用（ブランドガイド §5-3） */

  /* ライト地用 shadow 再設計（里見§2-4） */
  --shadow-sm: 0 1px 2px rgba(11, 42, 58, 0.06), 0 1px 3px rgba(11, 42, 58, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 42, 58, 0.08), 0 2px 4px rgba(11, 42, 58, 0.04);
  --shadow-lg: 0 12px 32px rgba(11, 42, 58, 0.12), 0 4px 8px rgba(11, 42, 58, 0.06);

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================
   Focus Ring（WCAG 2.4.7・里見§2-3 / §4-4）
   キーボード操作アクセシビリティ補強
   ========================================================== */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ==========================================================
   Layout
   ========================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

/* section-soft = Pale Teal Soft 25%帯（D案ライトテーマ）
   主背景 Fog White から温度が1段上がる */
.section-soft {
  background: var(--color-bg-soft);
  color: var(--color-text-on-light);
}

.section-soft .section-title,
.section-soft .section-subtitle,
.section-soft p,
.section-soft li,
.section-soft h2,
.section-soft h3,
.section-soft h4 {
  color: var(--color-text-on-light);
}

.section-soft .section-subtitle,
.section-soft p {
  color: var(--color-text-on-light-muted);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--color-text-muted);
  margin-bottom: 56px;
  max-width: 640px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-deep-teal-navy);   /* 旧: var(--color-sharp-teal) → ライト地で浮く緑文字を濃紺へ（坪井FB#2 v4.1 2026-05-05・里見§4-1 C案・コントラスト15.8:1） */
  background: var(--color-sharp-teal-soft); /* 薄緑透過背景は維持・ラベル感保全（運用比率0%変動） */
  padding: 6px 14px;
  border-radius: 999px; /* タグはpill不変（ブランドガイド該当外） */
  margin-bottom: 20px;
}

/* ==========================================================
   Header / Nav — D案ライト地化
   ========================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(246, 250, 251, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm); /* 6px・カードと同階層 */
  background: var(--color-sharp-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-fog-white); /* A案 v1.2: 濃紺塗り上の文字は白（v4.2 2026-05-05） */
  font-weight: 900;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--color-text-soft);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--color-sharp-teal);
  color: var(--color-fog-white); /* A案 v1.2: 濃紺塗り上の文字は白 */
  border-radius: var(--radius-cta); /* 2px・ブランドガイド §5-3 */
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
  background: var(--color-sharp-teal-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

/* ==========================================================
   Hero — D案フル幅画像背景 + 右overlayコピー帯（里見§3）
   - 画像（picture）はabsolute全面・object-position: left center
   - 右側overlayコピー max-width 520px
   - 左→右グラデで右端を Fog White へ軽くフェード→overlay帯へ繋ぐ
   - モバイルは縦並び（画像上・コピー下）
   ========================================================== */

.hero {
  position: relative;
  min-height: 720px;
  padding: 0;
  overflow: hidden;
  background: var(--color-bg-accent); /* 画像読込前のフォールバック・Deep Teal Navy */
}

.hero-bg-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero-bg-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center; /* 画像左端基準・右側に画像内オフィス壁余白（人物頭上〜右側）を活用 (v4.2 2026-05-05 坪井FB「右側余白何？」対応・scale撤回・元画像の右側余白構図をそのまま活かす) */
}

/* 画像の右側オフィス壁部分にコピー overlay する設計
   コピー領域（右45-50%）の可読性を最優先にフェード強化（v4.3 2026-05-05 坪井FB「文字見づらい」対応） */
.hero-bg-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 42, 58, 0.05) 0%,
    rgba(11, 42, 58, 0.0) 20%,
    rgba(246, 250, 251, 0.0) 40%,
    rgba(246, 250, 251, 0.65) 55%,    /* 55%地点から白フェード強開始 */
    rgba(246, 250, 251, 0.92) 75%,    /* 75%地点でほぼ不透明白 */
    rgba(246, 250, 251, 0.96) 100%    /* 右端ほぼ完全な Fog White */
  );
  pointer-events: none;
}

.hero-inner-overlay {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 160px 24px 120px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end; /* 右寄せ */
}

.hero-inner-overlay > * {
  max-width: 600px; /* コピー幅52%相当（v4.4 2026-05-05 坪井FB「改行位置がおかしい」対応・520→600px拡張） */
}

/* テキストカラーは主テキスト Deep Teal Navy（明るい地に黒文字） */
.hero-title {
  font-size: clamp(30px, 4.6vw, 54px); /* v4.5 2026-05-05 改行制御のためサイズ縮小（旧 36-68px → 30-54px） */
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--color-text);
}

/* 各行を確実に1行で表示（v4.5 2026-05-05 坪井FB「AI孤立4行」対応・display: block で行制御） */
.hero-title-line {
  display: block;
  white-space: nowrap; /* 各行が途中で折り返さない */
}

.hero-title .accent {
  color: var(--color-sharp-teal-hover); /* A案v1.2: Hover濃紺 #1f3e50 */
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text-soft);
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-badges span::before {
  content: "✓";
  color: var(--color-sharp-teal);
  font-weight: 700;
}

/* ==========================================================
   Buttons — CTA角丸2px（ブランドガイド §5-3）
   - btn-secondary はライト地用に Deep Teal Navy 反転
   ========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-cta); /* 2px・全CTA共通 */
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-sharp-teal);
  color: var(--color-fog-white); /* A案 v1.2: 濃紺塗り上の文字は白 */
  box-shadow: 0 8px 24px rgba(11, 42, 58, 0.22); /* shadow も濃紺ベースに */
}

.btn-primary:hover {
  background: var(--color-sharp-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(234, 106, 61, 0.36);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.2px solid var(--color-text);
}

.btn-secondary:hover {
  background: rgba(11, 42, 58, 0.06);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-soft);
  border: 1px solid var(--color-border-strong);
}

.btn-ghost:hover {
  background: rgba(11, 42, 58, 0.04);
  color: var(--color-text);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

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

/* ==========================================================
   Problem Checklist Section
   ========================================================== */

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md); /* 6px */
  font-size: 15px;
  color: var(--color-text-on-light);
  transition: border-color 0.2s, transform 0.2s;
}

.check-item:hover {
  border-color: var(--color-sharp-teal);
  transform: translateY(-2px);
}

.check-item .box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-sharp-teal);
  border-radius: var(--radius-md); /* 6px */
  margin-top: 2px;
}

/* ==========================================================
   Before / After
   ========================================================== */

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.ba-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg); /* 6px */
  border: 1px solid var(--color-border);
}

.ba-card.before {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.ba-card.after {
  background: var(--color-sharp-teal-soft);
  border-color: rgba(234, 106, 61, 0.32);
}

.ba-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px; /* タグはpill不変 */
  margin-bottom: 20px;
}

.ba-card.before .ba-label {
  background: rgba(110, 126, 137, 0.14);
  color: var(--color-text-muted);
}

.ba-card.after .ba-label {
  background: var(--color-sharp-teal-soft);
  color: var(--color-sharp-teal-hover);
}

.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-soft);
  line-height: 1.6;
}

.ba-list li::before {
  content: "•";
  color: var(--color-text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.ba-card.after .ba-list li::before {
  color: var(--color-sharp-teal);
}

/* ==========================================================
   Steps
   ========================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.step {
  padding: 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); /* 6px */
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md); /* 6px・バッジ装飾 */
  background: var(--color-sharp-teal);
  color: var(--color-fog-white); /* A案 v1.2: 濃紺塗り上の文字は白 */
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

.step h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.step p {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* ==========================================================
   Includes — contents cards
   ========================================================== */

.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.include-card {
  padding: 28px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg); /* 6px */
  color: var(--color-text-on-light);
  transition: border-color 0.2s, transform 0.2s;
}

.include-card:hover {
  border-color: var(--color-sharp-teal);
  transform: translateY(-3px);
}

.include-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md); /* 6px・アイコン装飾 */
  background: var(--color-sharp-teal-soft);
  color: var(--color-sharp-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.include-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-on-light);
}

.include-card p {
  font-size: 14px;
  color: var(--color-text-on-light-muted);
  line-height: 1.65;
}

.include-card ul {
  margin-top: 10px;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--color-text-on-light-muted);
  line-height: 1.8;
}

/* ==========================================================
   Pricing
   ========================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.price-card {
  padding: 36px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); /* 6px */
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--color-sharp-teal);
  background: linear-gradient(
    180deg,
    rgba(234, 106, 61, 0.06) 0%,
    var(--color-surface) 60%
  );
  box-shadow: var(--shadow-md);
}

.price-card.featured::before {
  content: "★ おすすめ";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-sharp-teal);
  color: var(--color-fog-white); /* A案 v1.2: 濃紺塗り上の文字は白 */
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px; /* バッジpill不変 */
  letter-spacing: 0.05em;
}

.price-tier {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-sharp-teal-hover); /* 4.5:1 確保（本文字サイズ）*/
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.price-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.3;
  color: var(--color-text);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--color-text);
}

.price-amount .num {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.price-amount .unit {
  font-size: 15px;
  color: var(--color-text-soft);
  font-weight: 600;
}

.price-note {
  font-size: 13px;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}

.price-note .sale {
  color: var(--color-sharp-teal-hover);
  font-weight: 700;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.6;
}

.price-features li::before {
  content: "✓";
  color: var(--color-sharp-teal);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-target {
  padding: 12px 16px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md); /* 6px */
  font-size: 13px;
  color: var(--color-text-soft);
  margin-bottom: 20px;
}

/* ==========================================================
   Why Quickry — stats
   ========================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.stat {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg); /* 6px */
}

.stat-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--color-sharp-teal);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13.5px;
  color: var(--color-text-on-light-muted);
}

.owner-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl); /* 6px */
  margin-top: 56px;
  color: var(--color-text-on-light);
}

.owner-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%; /* 円形不変 */
  object-fit: cover; /* 画像対応・正方形画像を円形にトリミング（v4.5 2026-05-05 実写真化） */
  object-position: center top; /* 上寄せ・顔がしっかり見える */
  flex-shrink: 0;
  border: 3px solid var(--color-surface); /* 白縁取り（カード地と一体化を防ぐ） */
  box-shadow: var(--shadow-md); /* 浮かせて見せる */
}

.owner-meta h4 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-text-on-light);
}

.owner-meta .role {
  font-size: 14px;
  color: var(--color-sharp-teal-hover); /* 4.5:1 確保 */
  font-weight: 600;
  margin-bottom: 14px;
}

.owner-meta ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-on-light-muted);
}

.owner-meta ul li::before {
  content: "— ";
  color: var(--color-text-mid);
}

/* ==========================================================
   FAQ
   ========================================================== */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md); /* 6px */
  overflow: hidden;
  transition: border-color 0.2s;
  color: var(--color-text-on-light);
}

.faq-item:hover {
  border-color: var(--color-sharp-teal);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  color: var(--color-text-on-light);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--color-sharp-teal-hover);
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--color-text-on-light-muted);
  line-height: 1.75;
}

/* ==========================================================
   Future (導入後の未来)
   ========================================================== */

.future-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.future-card {
  padding: 28px;
  background: linear-gradient(
    180deg,
    var(--color-surface) 0%,
    var(--color-accent-soft) 100%
  );
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); /* 6px */
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-soft);
}

.future-card .num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-sharp-teal-hover);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

/* ==========================================================
   Final CTA — ダーク帯維持（メリハリ装置）
   ========================================================== */

.final-cta {
  padding: 110px 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--color-deeper-navy) 0%,
    var(--color-deep-teal-navy) 100%
  );
  border-top: 1px solid var(--color-deeper-navy);
  border-bottom: 1px solid var(--color-deeper-navy);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(234, 106, 61, 0.10),
    transparent 60%
  );
  filter: blur(40px);
  z-index: 0;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
  color: var(--color-fog-white);
}

.final-cta p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(246, 250, 251, 0.84);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* final-cta 内のbtn-secondary・btn-ghostはダーク地のため文字色反転 */
.final-cta .btn-secondary {
  color: var(--color-fog-white);
  border-color: var(--color-fog-white);
}

.final-cta .btn-secondary:hover {
  background: rgba(246, 250, 251, 0.08);
}

.final-cta .btn-ghost {
  color: rgba(246, 250, 251, 0.84);
  border-color: rgba(246, 250, 251, 0.32);
}

.final-cta .btn-ghost:hover {
  background: rgba(246, 250, 251, 0.06);
  color: var(--color-fog-white);
}

/* ==========================================================
   Footer — ダーク帯維持（信頼/重み）
   ========================================================== */

.site-footer {
  padding: 60px 0 32px;
  background: var(--color-deeper-navy);
  border-top: 1px solid var(--color-deeper-navy);
  color: rgba(246, 250, 251, 0.84);
}

.site-footer .nav-brand {
  color: var(--color-fog-white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246, 250, 251, 0.12);
  margin-bottom: 24px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 250, 251, 0.62);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(246, 250, 251, 0.84);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--color-sharp-teal);
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(246, 250, 251, 0.62);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(246, 250, 251, 0.54);
  text-align: center;
}

/* ==========================================================
   Legal / Privacy pages specific
   ========================================================== */

.doc-page {
  padding: 140px 0 100px;
  background: var(--color-fog-white);
  color: var(--color-text-on-light);
}

.doc-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.doc-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--color-text-on-light);
}

.doc-meta {
  font-size: 13.5px;
  color: var(--color-text-on-light-muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.doc-wrap h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 12px;
  padding-top: 8px;
  letter-spacing: -0.005em;
  color: var(--color-text-on-light);
}

.doc-wrap h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--color-text-on-light);
}

.doc-wrap p,
.doc-wrap li {
  font-size: 15px;
  color: var(--color-text-on-light-muted);
  line-height: 1.85;
}

.doc-wrap p + p {
  margin-top: 10px;
}

.doc-wrap ul,
.doc-wrap ol {
  margin: 12px 0 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: #ffffff;
  border-radius: var(--radius-md); /* 6px */
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.doc-table th,
.doc-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
}

.doc-table th {
  background: var(--color-pale-teal);
  color: var(--color-text-on-light);
  font-weight: 700;
  width: 30%;
  white-space: nowrap;
}

.doc-table tr:last-child th,
.doc-table tr:last-child td {
  border-bottom: none;
}

.doc-wrap a {
  color: var(--color-link); /* #008F80・4.5:1 */
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-wrap a:hover {
  color: var(--color-link-hover);
}

/* ==========================================================
   Responsive — Tablet & Mobile
   ========================================================== */

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  /* Hero モバイル: 縦並び（画像上・コピー下）里見§3-2 */
  .hero {
    min-height: auto;
  }

  .hero-bg-picture {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  /* Hero画像モバイルはズームアウト解除・object-positionも中央寄せ（v4.1 2026-05-05 坪井FB#1） */
  .hero-bg-picture img {
    transform: none;
    object-position: center center;
  }

  .hero-bg-picture::after {
    background: linear-gradient(
      180deg,
      rgba(11, 42, 58, 0.0) 60%,
      rgba(246, 250, 251, 0.85) 100%
    );
  }

  .hero-inner-overlay {
    padding: 40px 24px 80px;
    justify-items: start; /* モバイルは左揃え */
  }

  .hero-inner-overlay > * {
    max-width: none;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .owner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .owner-avatar {
    margin: 0 auto;
  }

  .owner-meta ul {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-inner-overlay {
    padding: 32px 20px 64px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-badges {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm); /* 6px */
    background: rgba(11, 42, 58, 0.06);
    color: var(--color-text);
    border: 1px solid var(--color-border-strong);
  }

  .nav-cta {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 16px 28px;
    font-size: 15px;
  }

  .price-card {
    padding: 28px 24px;
  }

  .price-amount .num {
    font-size: 34px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 34px;
  }
}

/* ==========================================================
   Utility / Animations
   ========================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================
   Hero Description / Company / β Label
   2026-04-29 AI Kit リブランド追加 → 2026-05-05 D案ライト適用
   ========================================================== */

.hero-desc {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--color-text-soft);
  line-height: 1.9;
  margin-top: 8px;
  margin-bottom: 28px;
}

.hero-company {
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.alpha-label {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  background: var(--color-sharp-teal-soft);
  color: var(--color-sharp-teal-hover); /* 4.5:1 確保 */
  border: 1px solid rgba(234, 106, 61, 0.3);
  border-radius: var(--radius-sm); /* 6px */
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================================
   Price Quick View (FV直下・即時開示)
   ========================================================== */

.price-quick {
  background: var(--color-bg-soft); /* Pale Teal Soft 25%帯 */
  color: var(--color-text-on-light);
  padding: 56px 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.price-quick-inner {
  text-align: center;
}

.price-quick-head {
  margin-bottom: 32px;
}

.price-quick-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-top: 8px;
  color: var(--color-text-on-light);
}

.price-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .price-quick-grid {
    grid-template-columns: 1fr;
  }
}

.price-quick-item {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md); /* 6px */
  padding: 24px 20px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.pq-tier {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-sharp-teal-hover); /* 4.5:1 */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pq-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-on-light);
}

.pq-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text-on-light);
}

.pq-unit {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-on-light-muted);
  margin-top: 4px;
}

.price-quick-note {
  font-size: 13px;
  color: var(--color-text-on-light-muted);
}

.price-quick-note a {
  color: var(--color-link);
  text-decoration: underline;
}

.price-quick-note a:hover {
  color: var(--color-link-hover);
}

/* ==========================================================
   Demo + Includes Quick View（中身が見える素材・ダーク帯維持）
   - メリハリ装置・デモ動画はダーク背景で映える（里見§3-1）
   ========================================================== */

.demo-quick {
  padding: 80px 0;
  background: var(--color-deep-teal-navy); /* ダーク帯維持 */
  color: var(--color-fog-white);
}

.demo-quick .section-title,
.demo-quick .section-subtitle {
  color: var(--color-fog-white);
}

.demo-quick .section-subtitle {
  color: rgba(246, 250, 251, 0.78);
}

/* v4.1 2026-05-05 坪井FB#2対応: ダーク帯セクション内 eyebrow は薄白文字で確保（4.5:1超）
   ライト地 eyebrow は Deep Teal Navy 濃紺・ダーク地 eyebrow はここで Fog White 薄白に上書き
   .section-experience は overlay コピー側で同等指定済（experience-inner-overlay .eyebrow）が、
   念のためここでも汎用ルールとして併記しダーク帯セクション全般を確実にカバー */
.demo-quick .eyebrow,
.section-experience .eyebrow,
.final-cta .eyebrow {
  color: var(--color-fog-white);
  background: rgba(234, 106, 61, 0.18); /* ダーク地での Sharp Teal Soft を少し濃く */
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}

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

.demo-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 250, 251, 0.14);
  border-radius: var(--radius-lg); /* 6px */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(246, 250, 251, 0.62);
}

.demo-video-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-fog-white);
}

.demo-video-sub {
  font-size: 13px;
  color: rgba(246, 250, 251, 0.62);
}

.demo-video-caption {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(246, 250, 251, 0.62);
  line-height: 1.7;
}

.demo-list {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 250, 251, 0.14);
  border-radius: var(--radius-lg); /* 6px */
  padding: 28px 24px;
}

.demo-list h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-fog-white);
}

.demo-list ul {
  list-style: none;
  margin-bottom: 20px;
}

.demo-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(246, 250, 251, 0.84);
  line-height: 1.7;
}

.demo-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-sharp-teal);
  font-weight: 700;
}

.demo-list code {
  background: rgba(234, 106, 61, 0.18);
  padding: 2px 6px;
  border-radius: var(--radius-sm); /* 6px */
  font-size: 12px;
  color: var(--color-sharp-teal);
}

/* demo-quick内のbtn-ghost ダーク地用 */
.demo-quick .btn-ghost {
  color: rgba(246, 250, 251, 0.84);
  border-color: rgba(246, 250, 251, 0.32);
}

.demo-quick .btn-ghost:hover {
  background: rgba(246, 250, 251, 0.06);
  color: var(--color-fog-white);
}

/* ==========================================================
   β版告知（フッター手前）— D案ライト地
   ========================================================== */
#beta-notice .beta-notice-body {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg); /* 6px */
  padding: 36px 32px;
  line-height: 1.85;
  color: var(--color-text-on-light);
  box-shadow: var(--shadow-sm);
}

#beta-notice .beta-notice-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--color-sharp-teal-hover); /* 4.5:1 */
}

#beta-notice .beta-notice-body ol {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--color-text-on-light-muted);
}

#beta-notice .beta-notice-body ol li {
  margin-bottom: 8px;
}

#beta-notice .beta-notice-body p {
  color: var(--color-text-on-light-muted);
  margin-bottom: 16px;
}

#beta-notice .beta-notice-body a {
  color: var(--color-link);
  text-decoration: underline;
}

#beta-notice .beta-notice-body a:hover {
  color: var(--color-link-hover);
}

/* ==========================================================
   Experience セクション（フル幅画像背景 + 上部overlayコピー帯）
   v4.1 2026-05-05 坪井FB#3対応・里見§5-2
   - 画像（picture）はabsolute全面・object-position: center 65%（人物・AI社員を下寄せ表示で上部空白活用）
   - 上部overlayコピー max-width 760px・左寄せ
   - 上→下グラデで上部を濃紺フェード→コピー可読性確保
   - モバイルは縦並び（コピー上・画像下）
   ========================================================== */

.section-experience {
  position: relative;
  min-height: 780px; /* 縦幅増（v4.2 2026-05-05 坪井FB「縦幅出して」対応・640→780px） */
  padding: 0;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--color-deep-teal-navy) 0%,
    var(--color-deeper-navy) 100%
  );
  color: var(--color-fog-white);
}

.experience-bg-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.experience-bg-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%; /* 上部空白を活かすため画像を下寄せ表示 */
}

/* 上部にコピーoverlay帯を作るためのフェード（上→中央透明→下少し沈め） */
.experience-bg-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 42, 58, 0.62) 0%,    /* 上部濃紺フェード・コピー可読性確保 */
    rgba(11, 42, 58, 0.30) 35%,
    rgba(11, 42, 58, 0.0) 60%,
    rgba(11, 42, 58, 0.20) 100%   /* 下端も軽く沈めて画像と一体感 */
  );
  pointer-events: none;
}

.experience-inner-overlay {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 380px; /* 上部寄せ強化・下部に大きな空間（v4.2 2026-05-05 坪井FB「コピーを上にずらして」対応・元: 100/80） */
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start; /* 左寄せ */
}

.experience-inner-overlay > * {
  max-width: 760px;
}

.experience-inner-overlay .eyebrow {
  /* ダーク overlay 上では薄白文字で（課題2のダーク帯ルールと整合） */
  color: var(--color-fog-white);
  background: rgba(234, 106, 61, 0.18);
  margin-bottom: 16px;
}

.experience-inner-overlay .section-title {
  color: var(--color-fog-white);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(8, 30, 43, 0.45); /* 画像上での可読性補強 */
}

.experience-inner-overlay .section-subtitle {
  color: rgba(246, 250, 251, 0.92);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(8, 30, 43, 0.40);
}

/* モバイル: 画像背景維持しつつ高さ詰める（縦並び挙動） */
@media (max-width: 900px) {
  .section-experience {
    min-height: auto;
  }

  .experience-bg-picture {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  /* モバイルは画像中央表示・上下に絞る */
  .experience-bg-picture img {
    object-position: center center;
  }

  .experience-bg-picture::after {
    background: linear-gradient(
      180deg,
      rgba(11, 42, 58, 0.20) 0%,
      rgba(11, 42, 58, 0.05) 100%
    );
  }

  .experience-inner-overlay {
    padding: 48px 24px 64px;
    background: linear-gradient(
      180deg,
      var(--color-deep-teal-navy) 0%,
      var(--color-deeper-navy) 100%
    );
  }

  .experience-inner-overlay .section-title {
    text-shadow: none;
  }

  .experience-inner-overlay .section-subtitle {
    text-shadow: none;
  }
}

@media (max-width: 640px) {
  .experience-inner-overlay {
    padding: 40px 20px 56px;
  }
}
