/* カタチ. LP — lp_design_spec_v2.md 準拠 */

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

:root {
  --primary: #3D6B4A;
  --primary-hover: #2D4A23;
  --surface: #ECF4E8;
  --border: #B8D4A5;
  --dot: #7BAF5E;

  --text-heading: #1A1A1A;
  --text-body: #444444;
  --text-sub: #777777;

  --radius: 12px;
  --max-w: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-body);
  background: #fff;
  -webkit-font-smoothing: auto;
  font-optical-sizing: auto;
}

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

/* ========== ナビ ========== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
}

.nav-logo-sub {
  font-size: 12px;
  color: var(--text-sub);
}

.dot {
  color: var(--dot);
}

.nav-cta {
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-hover);
}

/* ========== アニメーション定義 ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ヒーロー入場 — staggered */
.hero-heading  { animation: fadeInUp 0.72s cubic-bezier(0.4,0,0.2,1) both; }
.hero-sub      { animation: fadeInUp 0.72s 0.14s cubic-bezier(0.4,0,0.2,1) both; }
.hero-actions  { animation: fadeInUp 0.72s 0.28s cubic-bezier(0.4,0,0.2,1) both; }
.hero-cta-note { animation: fadeIn  0.6s  0.5s  ease both; }

/* スクロールリビール */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 子要素スタガー */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay: 0.5s; }

/* カードホバーリフト */
.feature-card,
.deliverable-item,
.pain-card,
.faq-item {
  transition: opacity 0.5s ease, transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.22s;
}
.feature-card:hover,
.deliverable-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61,107,74,0.12);
}

/* ========== アウトプットイメージ ========== */
.preview-section {
  padding: 96px 0;
  background: #fff;
}

.preview-lead {
  text-align: center;
  color: var(--text-sub);
  margin-top: 12px;
  margin-bottom: 52px;
  font-size: 16px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

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

/* --- パネルラベル --- */
.preview-chat-label,
.preview-doc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 10px;
}

/* ================================
   チャットウィンドウ
================================ */
.preview-chat {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}

.preview-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}

.preview-nagi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 3px rgba(123,175,94,0.2);
}

.preview-nagi-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}

.preview-nagi-status {
  font-size: 11px;
  color: var(--dot);
  margin-left: 2px;
}

.preview-chat-body {
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}

/* --- チャットメッセージ --- */
.pm {
  display: flex;
  flex-direction: column;
  opacity: 0;
}

.pm-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 88%;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ナギ: 左 */
.pm-nagi .pm-bubble {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  color: #333;
  border-radius: 4px 12px 12px 12px;
  align-self: flex-start;
}

/* 社長: 右 */
.pm-user {
  align-items: flex-end;
}
.pm-user .pm-bubble {
  background: var(--primary);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
}

/* タイピングインジケーター */
.pm-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 4px 12px 12px 12px;
  width: fit-content;
  opacity: 0;
}

.pm-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bbb;
}

/* ================================
   スクロールトリガーアニメーション
================================ */
@keyframes pmIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pmInRight {
  from { opacity: 0; transform: translateX(10px) translateY(4px); }
  to   { opacity: 1; transform: translateX(0) translateY(0); }
}

@keyframes typingShow {
  0%, 100% { opacity: 0; }
  20%, 80%  { opacity: 1; }
}

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); background: #ccc; }
  30%            { transform: translateY(-5px); background: #999; }
}

/* ナギの最初の質問 */
.preview-chat-wrap.visible .pm-nagi.pm-1 { animation: pmIn 0.4s 0.1s both; }

/* ===== LPデモ 選択肢ボタン（実アプリのchoice-btnと同仕様） ===== */
@keyframes choiceIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lp-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.lp-choice-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 13px;
  font-family: system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s, opacity 0.3s;
  opacity: 0;
}

/* stagger入場（scroll visible後） */
.preview-chat-wrap.visible .lp-choice-btn:nth-child(1) { animation: choiceIn 0.4s 1.0s  both; }
.preview-chat-wrap.visible .lp-choice-btn:nth-child(2) { animation: choiceIn 0.4s 1.15s both; }
.preview-chat-wrap.visible .lp-choice-btn:nth-child(3) { animation: choiceIn 0.4s 1.3s  both; }
.preview-chat-wrap.visible .lp-choice-btn:nth-child(4) { animation: choiceIn 0.4s 1.45s both; }

@media (hover: hover) {
  .lp-choice-btn:hover {
    border-color: #3D6B4A;
    background: #ECF4E8;
    color: #2D4A23;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(61,107,74,0.12);
  }
}
.lp-choice-btn:active { transform: translateY(0); }

.lp-choice-btn.lp-choice-selected {
  border-color: #3D6B4A;
  background: #3D6B4A;
  color: #fff;
  pointer-events: none;
}

.lp-choice-btn.lp-choice-faded {
  opacity: 0.3;
  pointer-events: none;
}

/* 送信ボタン */
.lp-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  background: #3D6B4A;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  animation: choiceIn 0.35s cubic-bezier(0.34,1.2,0.64,1) both;
}
.lp-submit-btn:hover { background: #2D4A23; transform: translateY(-1px); }
.lp-submit-btn:active { transform: translateY(0); }

/* もう一度試す */
.lp-demo-reset { margin-top: 8px; }
.lp-demo-reset button {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 12px;
  font-family: system-ui, sans-serif;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lp-demo-reset button:hover { color: #3D6B4A; }

/* ================================
   パネル入場（左右から）
================================ */
.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s 0.15s ease, transform 0.7s 0.15s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ================================
   ドキュメントウィンドウ
================================ */
.preview-doc {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}

.preview-doc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}

.preview-doc-icon { font-size: 16px; }

.preview-doc-body { padding: 8px 0; }

.pd-row {
  display: grid;
  grid-template-columns: 44px 80px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  font-size: 13px;
  color: #444;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.pd-head {
  background: #f5f5f5;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pd-g4 { background: #3D6B4A; color: #fff; }
.pd-g3 { background: #5a8f6a; color: #fff; }
.pd-g2 { background: #ECF4E8; color: #3D6B4A; border: 1px solid #B8D4A5; }
.pd-g1 { background: #f5f5f5; color: #777; border: 1px solid #ddd; }

.preview-doc-wrap.visible .pd-row       { opacity: 1; transform: translateX(0); transition-delay: 0.4s; }
.preview-doc-wrap.visible .pd-row-1     { transition-delay: 0.6s; }
.preview-doc-wrap.visible .pd-row-2     { transition-delay: 0.85s; }
.preview-doc-wrap.visible .pd-row-3     { transition-delay: 1.1s; }
.preview-doc-wrap.visible .pd-row-4     { transition-delay: 1.35s; }

.preview-doc-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 18px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.preview-doc-chip {
  font-size: 11px;
  background: #ECF4E8;
  color: var(--primary);
  border: 1px solid #B8D4A5;
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 600;
}

.preview-doc-more {
  font-size: 11px;
  color: var(--text-sub);
  padding: 3px 6px;
  align-self: center;
}

/* ========== ドキュメントタブ ========== */
.pdt-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.pdt-btn {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
  color: var(--text-sub);
  font-size: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.pdt-btn:hover { border-color: var(--primary); color: var(--primary); }
.pdt-btn.pdt-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* パネル切り替え */
.pdt-panel { display: none; }
.pdt-panel-active { display: block; }

@keyframes pdtFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 給与レンジ表示 */
.pd-range { font-size: 12px; color: var(--text-body); }
.pd-range em { font-style: normal; color: var(--text-sub); margin: 0 2px; }

/* ========== 評価テンプレートパネル ========== */
.pdb-eval { padding: 0; }
.pde-meta {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.pde-meta-item { font-size: 11px; color: var(--text-sub); }
.pde-blank { color: #ccc; border-bottom: 1px solid #ddd; padding: 0 8px; }
.pde-section {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 8px 16px 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.pde-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border-bottom: 1px solid #f5f5f5;
  gap: 8px;
}
.pde-label { font-size: 12px; color: var(--text-body); flex: 1; }
.pde-scores { display: flex; gap: 4px; }
.pde-scores span {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  background: #f3f4f6; color: #aaa;
  transition: background 0.15s;
}
.pde-cur.pde-s { background: #16a34a; color: #fff; }
.pde-cur.pde-a { background: #2563eb; color: #fff; }
.pde-cur.pde-b { background: #7BAF5E; color: #fff; }
.pde-cur.pde-c { background: #f59e0b; color: #fff; }
.pde-cur.pde-d { background: #ef4444; color: #fff; }

/* ========== 年間カレンダーパネル ========== */
.pdb-cal { padding: 12px 16px; display: flex; flex-direction: column; gap: 0; }
.pdcal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f5f5f5;
}
.pdcal-item:last-child { border-bottom: none; }
.pdcal-month {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  width: 28px;
  flex-shrink: 0;
}
.pdcal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pdcal-eval   .pdcal-dot { background: #2563eb; }
.pdcal-feedback .pdcal-dot { background: #7BAF5E; }
.pdcal-bonus  .pdcal-dot { background: #f59e0b; }
.pdcal-raise  .pdcal-dot { background: var(--primary); }
.pdcal-text { font-size: 13px; color: var(--text-body); }

/* ========== ドキュメントタグ ========== */
.pdoc-tag {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: #fef3c7;
  color: #92400e;
  letter-spacing: 0.04em;
  border: 1px solid #fcd34d;
  flex-shrink: 0;
}
.pdoc-tag-new {
  background: #ecfdf5;
  color: #059669;
  border-color: #6ee7b7;
}
/* 抜粋注釈バー */
.pdoc-excerpt-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fffbeb;
  border-top: 1px solid #fcd34d;
  font-size: 11px;
  color: #92400e;
}
.pdoc-excerpt-note::before {
  content: '📋';
  font-size: 13px;
  flex-shrink: 0;
}

/* ========== 等級定義表パネル（リッチ版） ========== */
.pdb-grade { padding: 0; }
.pdg-head {
  display: grid;
  grid-template-columns: 42px 64px 1fr 100px;
  gap: 8px;
  padding: 7px 14px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
}
.pdg-row {
  display: grid;
  grid-template-columns: 42px 64px 1fr 100px;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid #f3f4f6;
  align-items: start;
}
.pdg-row:last-child { border-bottom: none; }
.pdg-row-g4 { background: #fffbf0; }
.pdg-row-g3 { background: #f0f9ff; }
.pdg-desc p { font-size: 12px; color: var(--text-body); margin: 0; line-height: 1.55; }
.pdg-req { font-size: 11px; color: var(--text-sub); line-height: 1.5; }

/* ========== 給与テーブルパネル（リッチ版） ========== */
.pdb-salary { padding: 12px 14px; }
.pds-section-label { font-size: 11px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.pds-table, .pds-raise-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pds-head, .pds-raise-head {
  display: grid;
  grid-template-columns: 40px 60px 1fr 1fr 1fr;
  background: #f9fafb;
  padding: 5px 6px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  gap: 4px;
}
.pds-row {
  display: grid;
  grid-template-columns: 40px 60px 1fr 1fr 1fr;
  padding: 7px 6px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 12px;
  color: var(--text-body);
  gap: 4px;
  align-items: center;
}
.pds-raise-head {
  grid-template-columns: 40px 1fr 1fr 1fr 1fr;
  margin-top: 4px;
}
.pds-raise-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 1fr 1fr;
  padding: 6px 6px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 12px;
  color: var(--text-body);
  gap: 4px;
  align-items: center;
}
.pds-s { color: #16a34a; font-weight: 700; }
.pds-a { color: #2563eb; font-weight: 700; }
.pds-b { color: #7BAF5E; font-weight: 700; }
.pds-c { color: #9ca3af; font-weight: 700; }

/* ========== 評価テンプレートパネル（リッチ版） ========== */
.pde-cols-head {
  display: flex;
  align-items: center;
  padding: 5px 14px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  gap: 4px;
}
.pde-col3 { width: 32px; text-align: center; flex-shrink: 0; }
.pde-item-rich {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-bottom: 1px solid #f5f5f5;
}
.pde-label-wrap { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pde-criteria { font-size: 10px; color: #9ca3af; line-height: 1.4; }
.pde-badge {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.pde-a-filled { background: #dbeafe; color: #2563eb; }
.pde-b-filled { background: #dcfce7; color: #16a34a; }
.pde-c-filled { background: #fef9c3; color: #ca8a04; }
.pde-filled { color: var(--primary); font-weight: 600; }
.pde-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid #f5f5f5; gap: 8px; }

/* ========== 年間カレンダーパネル（リッチ版） ========== */
.pdcal-track { padding: 10px 14px; display: flex; flex-direction: column; gap: 0; position: relative; }
.pdcal-track::before {
  content: '';
  position: absolute;
  left: 42px;
  top: 18px; bottom: 18px;
  width: 2px;
  background: linear-gradient(to bottom, #dbeafe, #dcfce7, #fef9c3, #d1fae5);
}
.pdcal-item { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; position: relative; }
.pdcal-month { font-size: 11px; font-weight: 700; color: var(--text-sub); width: 30px; flex-shrink: 0; padding-top: 2px; }
.pdcal-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; position: relative; z-index: 1; border: 2px solid #fff; box-shadow: 0 0 0 1px currentColor; }
.pdcal-eval   .pdcal-dot { background: #2563eb; color: #2563eb; }
.pdcal-feedback .pdcal-dot { background: #7BAF5E; color: #7BAF5E; }
.pdcal-bonus  .pdcal-dot { background: #f59e0b; color: #f59e0b; }
.pdcal-raise  .pdcal-dot { background: var(--primary); color: var(--primary); }
.pdcal-info { display: flex; flex-direction: column; gap: 2px; }
.pdcal-text { font-size: 13px; color: var(--text-body); font-weight: 500; }
.pdcal-sub { font-size: 11px; color: var(--text-sub); }

/* ========== ダッシュボードパネル ========== */
.pdb-dash { padding: 0; }
.pdd-kpi-bar {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}
.pdd-kpi {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border-right: 1px solid #e5e7eb;
}
.pdd-kpi:last-child { border-right: none; }
.pdd-kpi-alert { background: #fff5f5; }
.pdd-kpi-val { font-size: 20px; font-weight: 700; color: var(--text-body); line-height: 1; }
.pdd-kpi-orange { color: #d97706; }
.pdd-kpi-red { color: #dc2626; }
.pdd-kpi-label { font-size: 10px; color: var(--text-sub); font-weight: 500; }
.pdd-emp-head {
  display: grid;
  grid-template-columns: 1fr 44px 36px 76px;
  padding: 6px 14px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  gap: 6px;
}
.pdd-emp-row {
  display: grid;
  grid-template-columns: 1fr 44px 36px 76px;
  padding: 8px 14px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 12px;
  color: var(--text-body);
  align-items: center;
  gap: 6px;
}
.pdd-eval {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.pdd-eval-s { background: #d1fae5; color: #059669; }
.pdd-eval-a { background: #dbeafe; color: #2563eb; }
.pdd-eval-b { background: #f0fdf4; color: #16a34a; }
.pdd-salary { font-size: 12px; color: var(--text-body); font-weight: 500; text-align: right; }
.pdd-emp-more { padding: 6px 14px; font-size: 11px; color: var(--text-sub); }
.pdd-progress-label { padding: 8px 14px 4px; font-size: 12px; color: var(--text-body); }
.pdd-progress-bar {
  margin: 0 14px 12px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.pdd-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary), #7BAF5E);
  border-radius: 3px;
}

/* ========== ダッシュボードモックアップ ========== */
.ops-mockup {
  max-width: 720px;
  margin: 40px auto 56px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.ops-mock-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  background: #1a2e1e;
  border-bottom: 1px solid #2d4a32;
}
.ops-mock-logo {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.ops-mock-dot { color: #7BAF5E; }
.ops-mock-navlinks { display: flex; gap: 4px; }
.ops-mock-navitem {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: default;
}
.ops-mock-active {
  background: rgba(123,175,94,0.2);
  color: #7BAF5E;
  font-weight: 600;
}
.ops-mock-body { padding: 16px 20px; background: #fff; }
.ops-mock-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.ops-mock-kpi {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ops-mock-kpi-alert { background: #fff5f5; border-color: #fecaca; }
.ops-mock-kpi-warn  { background: #fffbeb; border-color: #fed7aa; }
.ops-mock-kpi-val   { font-size: 22px; font-weight: 700; color: var(--text-body); line-height: 1; }
.ops-mock-kpi-label { font-size: 11px; color: var(--text-sub); }
.ops-mock-table-head {
  display: grid;
  grid-template-columns: 1fr 48px 36px 88px 76px;
  padding: 6px 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px 8px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  gap: 6px;
}
.ops-mock-row {
  display: grid;
  grid-template-columns: 1fr 48px 36px 88px 76px;
  padding: 9px 10px;
  border: 1px solid #e5e7eb;
  border-top: none;
  font-size: 13px;
  color: var(--text-body);
  align-items: center;
  gap: 6px;
}
.ops-mock-row:last-of-type { border-radius: 0 0 8px 8px; }
.ops-mock-eval {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.ops-mock-eval-s { background: #d1fae5; color: #059669; }
.ops-mock-eval-a { background: #dbeafe; color: #2563eb; }
.ops-mock-eval-b { background: #f0fdf4; color: #16a34a; }
.ops-mock-num   { font-size: 12px; color: var(--text-body); font-weight: 500; }
.ops-mock-raise { font-size: 12px; color: #6b7280; }
.ops-mock-raise-s { color: #059669; font-weight: 700; }
.ops-mock-more  { padding: 6px 10px; font-size: 11px; color: var(--text-sub); }
.ops-mock-progress-wrap { margin-top: 12px; padding: 0 2px; }
.ops-mock-progress-label { font-size: 12px; color: var(--text-body); display: block; margin-bottom: 6px; }
.ops-mock-progress-bar {
  height: 7px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}
.ops-mock-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary), #7BAF5E);
  border-radius: 4px;
}

/* ========== 運用ダッシュボード ========== */
.ops-dashboard {
  padding: 96px 0;
  background: #fff;
}

.ops-dashboard-lead {
  text-align: center;
  color: var(--text-body);
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 48px;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .ops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.ops-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition: opacity 0.5s ease, transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.22s;
}

.ops-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61,107,74,0.12);
}

.ops-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.ops-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.ops-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========== ボタン ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(61,107,74,0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61,107,74,0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(61,107,74,0.25);
}

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

.btn-secondary:hover {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(61,107,74,0.12);
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

/* ========== セクション共通 ========== */
.section-heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.4;
}

/* ========== ① ヒーロー ========== */
.hero {
  padding: 100px 0 80px;
}

.hero-content {
  text-align: center;
}

.hero-heading {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

/* ========== ② 課題の共感 ========== */
.pain {
  padding: 100px 0;
  background: var(--surface);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.pain-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.pain-text {
  font-size: 16px;
  color: var(--text-heading);
  line-height: 1.7;
  font-weight: 500;
}

/* ========== ③ 解決策 ========== */
.solution {
  padding: 100px 0;
}

.solution-body {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.solution-body p {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 2;
}

/* ========== ④ 体験の可視化 ========== */
.demo {
  padding: 100px 0;
  background: var(--surface);
}

.demo-chat {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-msg {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-sender {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-bubble {
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.8;
}

.demo-nagi .demo-bubble {
  background: #fff;
  border: 1px solid #e5e5e5;
  color: var(--text-body);
}

.demo-user {
  align-items: flex-end;
}

.demo-user .demo-bubble {
  background: var(--primary);
  color: #fff;
  max-width: 80%;
  border-radius: var(--radius) var(--radius) 4px var(--radius);
}

/* ========== ⑤ 3つの特徴 ========== */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 8px;
}

.feature-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  background: var(--surface);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ========== ⑥ 完成物の提示 ========== */
.deliverables {
  padding: 100px 0;
  background: var(--surface);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 40px;
}

.deliverable-item {
  background: #fff;
  padding: 24px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.deliverable-icon {
  font-size: 28px;
}

.deliverables-note {
  text-align: center;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ========== ⑦ 価格 ========== */
.pricing {
  padding: 100px 0;
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: var(--radius);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}

.pricing-yen {
  font-size: 16px;
  color: var(--text-sub);
}

.pricing-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-unit {
  font-size: 18px;
  color: var(--text-heading);
}

.pricing-tax {
  font-size: 14px;
  color: var(--text-sub);
  margin-left: 2px;
}

.pricing-includes {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
  display: inline-block;
}

.pricing-includes li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: var(--text-body);
}

.pricing-includes li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  margin-right: 10px;
}

.pricing-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ========== ⑧ FAQ ========== */
.faq {
  padding: 100px 0;
  background: var(--surface);
}

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

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

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

.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--text-sub);
  transition: transform 0.2s;
}

.faq-item[open] .faq-q::after {
  content: '-';
}

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

.faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ========== ⑨ フッターCTA ========== */
.footer-cta {
  padding: 100px 0;
  text-align: center;
}

.footer-cta-heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.footer-cta-sub {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 32px;
}

.footer-cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-sub);
}

/* ========== フッター ========== */
.footer {
  padding: 32px 0;
  border-top: 1px solid #e5e5e5;
}

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

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-sub);
  text-decoration: none;
}

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

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 50px;
  }

  .hero-heading {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .section-heading {
    font-size: 22px;
    margin-bottom: 32px;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .feature-num {
    margin: 0;
    flex-shrink: 0;
  }

  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card {
    padding: 36px 24px;
  }

  .pricing-number {
    font-size: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    text-align: center;
  }

  .footer-cta-heading {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 22px;
  }

  .pain, .demo, .features, .deliverables, .pricing, .faq, .footer-cta, .solution {
    padding: 64px 0;
  }
}
