/* BUNSHIN AI 専用ポータル 共通デザインシステム
   Aesthetic: Editorial Dark Luxury × High-Trust Enterprise SaaS
   Typography: Shippori Mincho (Display) + Noto Sans JP (Body) + Outfit (Metrics) */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&family=Shippori+Mincho:wght@600;700;800&display=swap');

:root {
  --bg-base: #060911;
  --bg-elevated: #0c1220;
  --bg-card: rgba(15, 22, 38, 0.78);
  --bg-card-solid: #0f1626;
  --bg-glass: rgba(12, 18, 32, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: #f4f6fb;
  --text-secondary: #a6b2c8;
  --text-muted: #707e98;

  /* ページ別アクセント（デフォルト: Client ゴールド＆スカイ） */
  --accent: #d6a85a;
  --accent-bright: #f0c97e;
  --accent-soft: rgba(214, 168, 90, 0.14);
  --accent-border: rgba(214, 168, 90, 0.36);
  --accent-2: #38bdf8;
  --accent-2-soft: rgba(56, 189, 248, 0.14);

  --success: #10b981;
  --danger: #f43f5e;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 80px -20px rgba(214, 168, 90, 0.25);

  --font-display: 'Shippori Mincho', 'Yu Mincho', serif;
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-num: 'Outfit', 'Noto Sans JP', sans-serif;
}

/* テーマバリアント */
body.theme-partner {
  --bg-base: #050c0f;
  --bg-elevated: #0a171c;
  --bg-card: rgba(12, 26, 31, 0.8);
  --bg-card-solid: #0c1a1f;
  --accent: #10b981;
  --accent-bright: #34d399;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --accent-border: rgba(16, 185, 129, 0.36);
  --accent-2: #d6a85a;
  --accent-2-soft: rgba(214, 168, 90, 0.14);
  --shadow-glow: 0 0 80px -20px rgba(16, 185, 129, 0.28);
}

body.theme-executive {
  --bg-base: #070a13;
  --bg-elevated: #0e1426;
  --bg-card: rgba(15, 21, 40, 0.82);
  --bg-card-solid: #0f1528;
  --accent: #6366f1;
  --accent-bright: #818cf8;
  --accent-soft: rgba(99, 102, 241, 0.16);
  --accent-border: rgba(99, 102, 241, 0.4);
  --accent-2: #38bdf8;
  --accent-2-soft: rgba(56, 189, 248, 0.14);
  --shadow-glow: 0 0 80px -20px rgba(99, 102, 241, 0.28);
}

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

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

body {
  margin: 0;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* 背景オーラ＆グリッドテクスチャ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% -5%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 60% 45% at 88% 12%, var(--accent-2-soft), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  pointer-events: none;
  z-index: -1;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
}

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

.section-compact {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.01));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ヘッダーナビゲーション */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 17, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-emblem {
  width: 92px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-num);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.nav-links a {
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #060911;
  box-shadow: 0 12px 30px -10px var(--accent-border);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px var(--accent-border);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-border);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 14px;
  font-size: 0.84rem;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}

/* バッジ＆見出し */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
}

/* 日本語タイポグラフィ：文節割れ・1文字孤立の防止 */
h1, h2, h3, h4,
.display-title,
.section-title {
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: balance;
}

p, li, td {
  line-break: strict;
  font-feature-settings: "palt" 1;
}

.ib {
  display: inline-block;
}

.pc-br {
  display: inline;
}

@media (max-width: 720px) {
  .pc-br {
    display: none;
  }
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.section-header {
  max-width: 860px;
  margin-bottom: 52px;
}

.section-header.center {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.38;
  margin: 0 0 14px;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 10%, var(--accent-bright) 58%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ヒーロー */
.hero {
  padding: 72px 0 84px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
}

/* シネマティック動画フレーム */
.cinema-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.cinema-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.cinema-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 700;
}

.video-shell {
  position: relative;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinema-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 8px 4px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* KPI ストリップ */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.kpi-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.kpi-num {
  font-family: var(--font-num);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent-bright);
  margin-bottom: 6px;
}

.kpi-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.kpi-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* 課題 vs 解決 スプリット */
.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.contrast-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.contrast-card.is-after {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.contrast-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090d16;
}

.contrast-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.contrast-card:hover .contrast-media img {
  transform: scale(1.04);
}

.contrast-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}

.contrast-tag.before {
  background: rgba(244, 63, 94, 0.88);
  color: #fff;
}

.contrast-tag.after {
  background: var(--accent);
  color: #060911;
}

.contrast-body {
  padding: 28px 30px 32px;
  flex: 1;
}

.contrast-body h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.42;
  margin: 0 0 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.check-list li svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex-shrink: 0;
}

.check-list.is-bad svg {
  color: var(--danger);
}

.check-list.is-good svg {
  color: var(--accent-bright);
}

/* 機能ディープダイブ（交互レイアウト） */
.feature-stack {
  display: grid;
  gap: 36px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease;
}

.feature-row:hover {
  border-color: var(--accent-border);
}

.feature-row.reverse .feature-visual {
  order: 2;
}

.feature-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16 / 10;
  background: #080c14;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-play-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(6, 9, 17, 0.88);
  border: 1px solid var(--accent-border);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.feature-play-badge:hover {
  transform: scale(1.04);
  background: var(--accent);
  color: #060911;
}

.feature-num {
  font-family: var(--font-num);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  display: block;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 1.95vw, 1.68rem);
  margin: 0 0 14px;
  line-height: 1.4;
}

.feature-content p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  font-size: 0.96rem;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* インタラクティブ ROI シミュレーター */
.roi-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  background: linear-gradient(155deg, rgba(15, 22, 38, 0.92), rgba(9, 14, 26, 0.95));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.slider-group {
  display: grid;
  gap: 24px;
}

.slider-item label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.slider-val {
  font-family: var(--font-num);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-bright);
}

input[type="range"].styled-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

input[type="range"].styled-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  border: 3px solid #060911;
  box-shadow: 0 0 0 3px var(--accent-soft);
  cursor: pointer;
}

.roi-results {
  display: grid;
  gap: 16px;
  align-content: center;
}

.roi-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.roi-metric.highlight {
  background: linear-gradient(135deg, var(--accent-soft), rgba(56, 189, 248, 0.08));
  border-color: var(--accent-border);
}

.roi-metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.roi-metric-value {
  font-family: var(--font-num);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
}

.roi-metric.highlight .roi-metric-value {
  color: var(--accent-bright);
}

.roi-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 10px;
  overflow: hidden;
}

.roi-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.35s ease;
}

.roi-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 8px 0 0;
  line-height: 1.6;
}

/* 比較テーブル */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-secondary);
}

.compare-table thead th.col-bunshin {
  background: var(--accent-soft);
  color: var(--accent-bright);
  border-left: 1px solid var(--accent-border);
  border-right: 1px solid var(--accent-border);
}

.compare-table tbody td.col-bunshin {
  background: rgba(214, 168, 90, 0.06);
  color: var(--text-primary);
  font-weight: 600;
  border-left: 1px solid var(--accent-border);
  border-right: 1px solid var(--accent-border);
}

body.theme-partner .compare-table tbody td.col-bunshin {
  background: rgba(16, 185, 129, 0.06);
}

/* 11枚スライド インラインビューア */
.deck-viewer {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.deck-stage-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a0e17;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 9;
}

.deck-stage-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0e17;
}

.deck-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.deck-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.deck-counter {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-bright);
  min-width: 72px;
  text-align: center;
}

.deck-thumbs {
  display: grid;
  grid-template-columns: repeat(11, minmax(64px, 1fr));
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.deck-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #0a0e17;
  opacity: 0.58;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  aspect-ratio: 16 / 9;
}

.deck-thumb:hover {
  opacity: 0.9;
}

.deck-thumb.active {
  opacity: 1;
  border-color: var(--accent-bright);
  transform: translateY(-2px);
}

.deck-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* タイムライン / ステップ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.step-badge {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.12rem;
  margin: 0 0 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* FAQ アコーディオン */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--accent-border);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  padding: 22px 26px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #060911;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

/* パートナー紹介文ジェネレーター＆タブ */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #060911;
}

.gen-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 34px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.text-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.text-input:focus {
  outline: none;
  border-color: var(--accent-bright);
}

.message-preview {
  background: #050a0d;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-primary);
  min-height: 220px;
}

/* 縦ショート動画カード（パートナー・役員） */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.short-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.short-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.short-poster {
  position: relative;
  aspect-ratio: 9 / 14;
  max-height: 440px;
  background: #000;
  overflow: hidden;
}

.short-poster video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.short-body h3 {
  font-size: 1.06rem;
  margin: 0;
}

.short-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin: 0;
}

/* 役員シアターレイアウト */
.theater-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.playlist-box {
  display: grid;
  gap: 10px;
}

.playlist-item {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.playlist-item:hover {
  border-color: var(--border-strong);
}

.playlist-item.active {
  background: var(--accent-soft);
  border-color: var(--accent-bright);
}

.playlist-thumb {
  width: 82px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}

.playlist-meta {
  flex: 1;
  min-width: 0;
}

.playlist-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.playlist-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* CTA バナー */
.cta-box {
  background: linear-gradient(135deg, var(--accent-soft), rgba(15, 22, 38, 0.94) 55%, var(--accent-2-soft));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 56px 44px;
  text-align: center;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 14px;
}

.cta-box p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--text-secondary);
}

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

/* モーダル動画プレイヤー */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: grid;
}

.modal-dialog {
  width: min(920px, 100%);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

.modal-dialog.is-vertical {
  width: min(440px, 100%);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-head h3 {
  margin: 0;
  font-size: 1rem;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.modal-body video {
  width: 100%;
  max-height: 76vh;
  background: #000;
}

/* スクロールリビール */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* フッター */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 56px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

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

/* トースト通知 */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  background: var(--accent);
  color: #060911;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .hero-grid,
  .roi-panel,
  .gen-grid,
  .theater-layout,
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-visual {
    order: 0;
  }
  .kpi-strip,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1240px, 100% - 28px);
  }
  .section {
    padding: 64px 0;
  }
  .nav-links {
    display: none;
  }
  .header-inner {
    gap: 10px;
  }
  .header-actions .btn-secondary {
    display: none;
  }
  .hero {
    padding: 40px 0 56px;
  }
  .contrast-grid,
  .kpi-strip,
  .steps-grid,
  .steps-grid.cols-3,
  .shorts-grid {
    grid-template-columns: 1fr;
  }
  .feature-row,
  .roi-panel,
  .gen-grid,
  .deck-viewer,
  .cta-box {
    padding: 22px 18px;
  }
  .deck-thumbs {
    grid-template-columns: repeat(6, minmax(48px, 1fr));
  }
}
