/* AnswerLens ランディングページ。アプリ本体と同じトークン（青のブランド色・Instrument Sans）で揃える。 */
:root {
  --ink: #141821;
  --muted: #5b6470;
  --hair: #e3e6eb;
  --surface: #f2f6ff;
  --panel: #ffffff;
  --tint: #e6eeff;
  --navy: #0b1730;
  --navy-2: #13224d;
  --sky: #8fb6ff;
  --mint: #5fe0d8;
  --primary: #2d6cdf;
  --primary-dark: #2257b8;
  --own: #0e7c86;
  --violet: #6d4fe0;
  --ok: #128a5e;
  --ng: #b04a3a;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 10px 30px -18px rgba(20, 24, 33, 0.25);
  --shadow-lg: 0 30px 70px -35px rgba(20, 24, 33, 0.4);
}
* { box-sizing: border-box; }
/* 固定ヘッダー（64px）の下に見出しが潜らないよう、ページ内リンクの着地位置を下げる */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Instrument Sans", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--panel);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.8vw, 52px); font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 16px; }
.container { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.container.narrow { max-width: 860px; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  background: var(--tint);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.grad {
  background: linear-gradient(90deg, var(--primary) 0%, var(--own) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.note { color: var(--muted); font-size: 14px; }
.section-lead { color: var(--muted); font-size: 16px; max-width: 46em; margin: 0 auto 32px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .section-lead { margin-bottom: 0; }
.card { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.problem-card:hover, .feature-item:hover, .who-card:hover, .engine:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(45, 108, 223, 0.45); }

/* アイコン（インライン SVG・線画） */
.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue { background: var(--tint); color: var(--primary); }
.icon-teal { background: #e3f3f4; color: var(--own); }
.icon-violet { background: #ece8fb; color: var(--violet); }

/* チェック付きリスト */
.check-list { list-style: none; padding: 0; margin: 0 0 16px; }
.check-list li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--muted); font-size: 15px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.light li { color: rgba(255, 255, 255, 0.92); }
.check-list.light li::before { background-color: rgba(255, 255, 255, 0.28); }

/* ボタン（アプリの AppButton と同じ見た目） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0; /* <button> の既定枠線を消す（.btn-ghost は自前で枠を付ける） */
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, #4f86ea 100%); color: #fff; box-shadow: 0 10px 24px -10px rgba(45, 108, 223, 0.8); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); transform: translateY(-1px); }
.btn-ghost { background: var(--panel); color: var(--primary); border: 1px solid var(--hair); }
.btn-ghost:hover { background: var(--tint); border-color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn:focus-visible { outline: 3px solid rgba(45, 108, 223, 0.35); outline-offset: 2px; }

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { color: var(--ink); font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; }
/* ロゴマーク（レンズ×吹き出し）。ヘッダーは用途ごとの色、フッター（紺）はミント。
   gap ではなく margin で空ける（gap だと「Answer」と「Lens」の間にも入ってしまう）。 */
.brand-mark { display: block; flex-shrink: 0; margin-right: 8px; }
.brand span { color: var(--primary); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--primary); }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--hair); border-radius: 10px; background: var(--panel); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 88px 72px;
  color: #fff;
  background:
    radial-gradient(55% 70% at 85% 15%, rgba(45, 108, 223, 0.55) 0%, rgba(45, 108, 223, 0) 70%),
    radial-gradient(40% 50% at 5% 95%, rgba(14, 124, 134, 0.45) 0%, rgba(14, 124, 134, 0) 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1a2f6b 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero .grad { background: linear-gradient(90deg, var(--sky) 0%, var(--mint) 100%); -webkit-background-clip: text; background-clip: text; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dbe7ff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.lead { font-size: 17px; color: var(--muted); max-width: 34em; }
.hero .lead { color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero-sub { color: rgba(255, 255, 255, 0.65); font-size: 13px; margin: 0; }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.hero figcaption { color: rgba(255, 255, 255, 0.6); }
.hero-shot { margin: 0; }
.hero-shot img, .feature-shot img, .shot-inline img {
  border: 1px solid var(--hair);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero-shot img { border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.06); }
figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* 数字で見る特長 */
.stats { background: transparent; margin-top: -36px; position: relative; z-index: 2; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 24px 22px; border-left: 1px solid var(--hair); }
.stat:first-child { border-left: 0; }
.stat-head { margin: 0 0 4px; font-weight: 700; font-size: 17px; line-height: 1.3; white-space: nowrap; }
.stat-head strong { font-size: 34px; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--own)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; margin-right: 2px; }
.stat small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 対応 AI の 1 行帯 */
.engines-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.engines-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; }
.engines-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.engines-list li { color: #fff; font-weight: 600; font-size: 14px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 5px 14px; }

/* 仕組み（4 カード） */
.how-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how-card { padding: 22px; }
.how-card h3 { font-size: 16px; margin: 14px 0 6px; }
.how-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* 分かること: 3 つの数字 */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric { text-align: center; padding: 36px 24px 28px; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--shadow); }
.metric-value { display: block; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--primary), var(--own)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-value small { font-size: 22px; font-weight: 700; margin-left: 2px; }
.metric { position: relative; }
.metric-tag { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--hair); border-radius: 999px; padding: 2px 10px; }
.metric h3 { font-size: 18px; margin: 14px 0 4px; }
.metric p { margin: 0; color: var(--muted); font-size: 14px; }
.metrics-note { text-align: center; color: var(--muted); font-size: 13px; margin: 20px 0 0; }
.metrics-note a { color: var(--primary); }

/* なぜ必要か: 従来 vs 本ツール */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.versus-col { border-radius: var(--radius); padding: 28px; }
.versus-before { background: var(--panel); border: 1px solid var(--hair); }
.versus-after { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.versus-title { font-weight: 800; font-size: 15px; margin: 0 0 14px; letter-spacing: 0.02em; }
.versus-before .versus-title { color: var(--muted); }
.versus-after .versus-title { color: var(--sky); }
.versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.versus li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.versus-before li { color: var(--ink); }
.versus .x, .versus .ok { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.versus .x { background: #fbe9e6; color: var(--ng); }
.versus .ok { background: rgba(95, 224, 216, 0.2); color: var(--mint); }
.versus-arrow { display: grid; place-items: center; font-size: 28px; color: var(--primary); font-weight: 800; }

/* 仕組み: 横一列のタイムライン */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 22px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--own)); opacity: 0.35; }
.timeline li { text-align: center; position: relative; }
.timeline .step-no { margin: 0 auto; }
.timeline h3 { font-size: 16px; margin: 16px 0 6px; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }

/* 無料資料 2 本 */
.dl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-tile { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; padding: 22px; text-decoration: none; color: inherit; }
.dl-tile:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(45, 108, 223, 0.45); }
.dl-tile img { border-radius: 6px; border: 1px solid var(--hair); box-shadow: 0 14px 30px -18px rgba(20, 24, 33, 0.6); }
.dl-tile h3 { font-size: 18px; margin: 0 0 6px; }
.dl-tile p { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.dl-tile .dl-kicker { margin-bottom: 4px; }
.dl-tile-wide { grid-template-columns: 200px 1fr; gap: 36px; padding: 32px; background: linear-gradient(135deg, var(--tint) 0%, var(--panel) 55%); border-color: rgba(45, 108, 223, 0.3); }
.dl-tile-wide h3 { font-size: 22px; }
.dl-tile-wide p { font-size: 15px; margin-bottom: 16px; }

/* 料金: 3 段の流れ */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.journey-step { padding: 28px; text-align: center; position: relative; }
.journey-step + .journey-step::before { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: var(--primary); font-weight: 800; font-size: 22px; }
.journey-free { border-color: var(--own); background: linear-gradient(180deg, #e8f6f6 0%, var(--panel) 45%); }
.journey-label { color: var(--primary); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; margin: 0 0 6px; }
.journey-step h3 { font-size: 18px; margin: 0 0 8px; }
.journey-price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.1; }
.journey-free .journey-price { color: var(--own); }
.journey-desc { color: var(--muted); font-size: 14px; margin: 0; }
.journey-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.journey-cta { text-align: center; margin: 32px 0 0; }

/* セクション（ページ内リンクの着地位置は html の scroll-padding-top で調整） */
.section { padding-block: 88px; }
.section-tint { background: linear-gradient(180deg, var(--surface) 0%, #e9f0ff 100%); }
/* 本文中の「→ 詳しく」リンクと、補助テキスト */
.link-arrow { color: var(--primary); font-weight: 600; text-decoration: none; }
.link-arrow::before { content: '→ '; }
.link-arrow:hover { text-decoration: underline; }
.text-muted { color: var(--muted); font-size: 14px; }
#security-note h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
#security-note p { color: #333a45; margin-bottom: 12px; }

/* 課題 */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card { padding: 26px; border-top: 4px solid var(--primary); }
.problem-card:nth-child(2) { border-top-color: var(--own); }
.problem-card:nth-child(3) { border-top-color: var(--violet); }
.problem-card h3 { font-size: 18px; margin-bottom: 8px; }
.problem-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* 違い（比較表） */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 18px; text-align: left; }
.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--hair); }
.compare thead th { border-top: 0; background: var(--navy); font-size: 13px; color: rgba(255, 255, 255, 0.8); font-weight: 700; }
.compare tbody th { font-weight: 700; width: 20%; color: var(--ink); }
.compare td { color: var(--muted); }
.compare .is-us { background: var(--tint); color: var(--ink); }
.compare thead .is-us { background: var(--primary); color: #fff; font-size: 15px; }
.compare .yes, .compare .no, .compare .mid { position: relative; padding-left: 22px; display: inline-block; }
.compare .yes::before, .compare .no::before, .compare .mid::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.compare .yes { color: var(--ink); font-weight: 600; }
.compare .yes::before { content: "◎"; color: var(--ok); }
.compare .mid::before { content: "△"; color: #b8860b; }
.compare .no::before { content: "×"; color: var(--ng); }

/* 機能 */
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; margin-top: 56px; }
.feature-reverse .feature-text { order: 2; }
.feature-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--own)); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 0.05em; margin-bottom: 14px; box-shadow: 0 8px 18px -8px rgba(45, 108, 223, 0.7); }
.feature-text h3 { font-size: 24px; }
.feature-text .check-list { margin: 12px 0 0; }
.feature-text p { color: var(--muted); }
.feature-shot { margin: 0; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.feature-item { padding: 24px; border-top: 4px solid var(--primary); }
.feature-item:nth-child(2) { border-top-color: var(--own); }
.feature-item:nth-child(3) { border-top-color: var(--violet); }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* 仕組み */
.steps { list-style: none; padding: 0; margin: 32px 0 40px; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }
.step-no {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--own));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.shot-inline { margin: 0; }

/* こんな方に */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.who-card { padding: 28px; }
.who-card h3 { font-size: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); margin-bottom: 14px; }
.who-card .check-list { margin: 0; }

/* 対応 AI */
.engine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0 0 16px; }
.engine { padding: 18px; box-shadow: none; border-left: 4px solid var(--primary); }
.engine:nth-child(2) { border-left-color: var(--own); }
.engine:nth-child(3) { border-left-color: var(--violet); }
.engine:nth-child(4) { border-left-color: #1f9d8a; }
.engine:nth-child(5) { border-left-color: #e0862b; }
.engine strong { display: block; font-size: 15px; }
.engine span { color: var(--muted); font-size: 13px; }

/* 料金（無料診断 1 枚 ＋ 初期診断→月次のセット枠） */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plans { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; align-items: stretch; text-align: left; }
.plan-free { border-color: var(--own); border-top: 5px solid var(--own); background: linear-gradient(180deg, #e8f6f6 0%, var(--panel) 40%); }
.plan-note { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.plan-set { display: flex; flex-direction: column; gap: 14px; border: 1px solid rgba(45, 108, 223, 0.35); border-radius: var(--radius); padding: 18px; background: linear-gradient(135deg, var(--tint) 0%, #dfe9ff 100%); }
.plan-set-label { margin: 0; font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 0.04em; }
.plan-set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.plan-set .plan { padding: 24px; box-shadow: none; }
.plan-set .plan .check-list { margin-bottom: 0; }
.plan-set-cta { align-self: flex-start; }
.plan { padding: 30px; position: relative; display: flex; flex-direction: column; }
.plan-featured { border-color: var(--primary); border-top: 5px solid var(--primary); box-shadow: 0 24px 50px -28px rgba(45, 108, 223, 0.55); }
.plan-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 12px;
  margin: 0;
}
.plan-name { font-weight: 700; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.plan-price strong { font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-desc { color: var(--muted); font-size: 14px; }
.plan .check-list { flex: 1; margin-bottom: 22px; }
.plan .btn { align-self: flex-start; }
.security { margin-top: 24px; background: var(--panel); border: 1px solid var(--hair); border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0; padding: 18px 22px; }
.security h3 { font-size: 16px; margin-bottom: 8px; }
.security ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.security li { margin: 4px 0; }

/* FAQ（details で開閉） */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--hair); border-radius: 12px; padding: 0 20px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 16px 32px 16px 28px;
  position: relative;
  margin-inline: -20px;
  padding-inline: 50px 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--tint); color: var(--primary); font-weight: 800; font-size: 13px; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: 0; padding: 0 0 18px 28px; color: var(--muted); }

/* CTA（左に説明・右にフォーム） */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 45%, var(--own) 100%); color: #fff; }
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; }
.cta .eyebrow { background: rgba(255, 255, 255, 0.12); }
.cta .eyebrow { color: rgba(255, 255, 255, 0.8); }
.cta h2 { color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.cta-copy p { color: rgba(255, 255, 255, 0.88); }

/* お問い合わせフォーム（白カード） */
.contact-form { padding: 28px; color: var(--ink); text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field span { color: var(--ink); font-weight: 600; }
.field em { color: var(--ng); font-style: normal; }
.field select {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.field select:focus { outline: 3px solid rgba(45, 108, 223, 0.3); outline-offset: 1px; border-color: var(--primary); }
.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 10px 12px;
}
.field input:focus, .field textarea:focus { outline: 3px solid rgba(45, 108, 223, 0.3); outline-offset: 1px; border-color: var(--primary); }
.field-full { grid-column: 1 / -1; }
.hidden-field { display: none; }
.contact-form .btn { display: flex; width: 100%; }
.cta-note { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.cta-note a { color: var(--primary); }
.thanks { text-align: center; padding-block: 40px; }
.thanks p { color: var(--muted); }

/* 資料ダウンロード（LP 内の帯・insights 内のカード） */
.dl-section { padding-block: 0 88px; margin-top: -44px; position: relative; }
.dl-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin: 40px 0;
}
.dl-card-wide { grid-template-columns: 220px 1fr; gap: 40px; padding: 36px; margin: 0; background: linear-gradient(135deg, var(--tint) 0%, var(--panel) 55%); border-color: rgba(45, 108, 223, 0.3); }
.dl-card-reverse { grid-template-columns: 1fr 220px; }
.dl-card-reverse .dl-cover { order: 2; }
.dl-cover { display: block; }
.dl-cover img { border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(20, 24, 33, 0.55); border: 1px solid var(--hair); }
.dl-kicker { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; margin-bottom: 8px; }
.dl-card h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 10px; }
.dl-card h3 { font-size: 19px; margin-bottom: 8px; }
.dl-body p { color: var(--muted); font-size: 15px; }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.dl-more { color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }
.dl-more:hover { text-decoration: underline; }

/* 資料ダウンロードページ */
.dl-page { padding-block: 56px 88px; background: linear-gradient(180deg, var(--surface) 0%, var(--panel) 40%); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.dl-intro h1 { font-size: clamp(26px, 3.4vw, 36px); }
.dl-cover-large { margin: 24px 0 0; max-width: 260px; }
.dl-cover-large img { border-radius: 6px; box-shadow: var(--shadow-lg); border: 1px solid var(--hair); }
.form-title { font-weight: 700; margin-bottom: 16px; }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.6; }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; }
.consent input { margin-top: 5px; accent-color: var(--primary); width: 16px; height: 16px; flex: none; }
.consent span { font-weight: 500; color: var(--muted); }
.consent a { color: var(--primary); }
.thanks-cta { text-align: left; padding: 28px; margin-top: 40px; }
.thanks-cta h2 { font-size: 20px; }
.thanks-cta p { color: var(--muted); font-size: 15px; }

/* 実測レポート（insights）本文 */
.article { padding-block: 0 88px; }
.article-head { color: #fff; padding-block: 72px 64px; margin-bottom: 40px; background: radial-gradient(55% 70% at 85% 15%, rgba(45, 108, 223, 0.55) 0%, rgba(45, 108, 223, 0) 70%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1a2f6b 100%); }
.article-head .eyebrow { background: rgba(255, 255, 255, 0.12); color: #dbe7ff; }
.article-head h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 20px; }
.article .article-head p { color: rgba(255, 255, 255, 0.82); font-size: 16px; max-width: 46em; }
.article h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.article h2 { font-size: clamp(22px, 2.8vw, 30px); margin: 56px 0 16px; padding-left: 16px; border-left: 5px solid var(--primary); }
.article h3 { font-size: 19px; margin: 32px 0 10px; }
.article p, .article li { color: #333a45; font-size: 16px; }
.article hr { display: none; }
.article blockquote { margin: 12px 0 20px; padding: 10px 16px; border-left: 3px solid var(--hair); background: var(--surface); border-radius: 0 8px 8px 0; }
.article blockquote p { margin: 0; color: var(--muted); font-size: 14px; }
.article table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0 24px; }
.article th, .article td { border: 1px solid var(--hair); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--tint); font-weight: 700; }
.article ol, .article ul { padding-left: 24px; }
.article li { margin: 6px 0; }
.article a:not(.btn) { color: var(--primary); }
.article .dl-card a:not(.btn) { color: inherit; }
.article .btn-primary { color: #fff; }

/* 規約系ページ（プライバシーポリシー） */
.legal h1 { font-size: clamp(26px, 3.6vw, 36px); }
.legal h2 { font-size: 18px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal a { color: var(--primary); }
.legal .btn { color: var(--primary); }

/* フッター */
.site-footer { background: var(--navy); padding-block: 32px; font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.site-footer .brand { color: #fff; }
.site-footer .brand span { color: var(--sky); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner nav a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-inner nav a:hover { color: #fff; }
.footer-inner .brand { font-size: 15px; margin: 0; }
.copyright { margin: 0 0 0 auto; }

/* レスポンシブ */
@media (max-width: 900px) {
  .hero-inner, .feature, .plans, .plan-set-grid, .pricing-grid, .who-grid, .cta-inner { grid-template-columns: 1fr; }
  .feature-reverse .feature-text { order: 0; }
  .problem-grid, .feature-list { grid-template-columns: 1fr; }
  .how-grid, .timeline, .dl-grid2 { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .metrics, .journey, .versus { grid-template-columns: 1fr; }
  .versus-arrow { transform: rotate(90deg); }
  .journey-step + .journey-step::before { content: "↓"; left: 50%; top: -24px; transform: translateX(-50%); }
  .engines-inner { margin-top: 40px; }
  .stats { margin-top: -24px; padding-inline: 0; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .stat-head { white-space: normal; font-size: 15px; }
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; background: var(--panel); border-bottom: 1px solid var(--hair); box-shadow: var(--shadow-lg); padding: 8px 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 24px; font-size: 15px; }
  .nav a:hover { background: var(--surface); }
  .header-inner { gap: 12px; }
  .dl-tile-wide { grid-template-columns: 1fr; }
  .dl-tile-wide img { max-width: 160px; }
  .dl-card, .dl-card-wide, .dl-card-reverse, .dl-grid { grid-template-columns: 1fr; }
  .dl-card-reverse .dl-cover { order: 0; }
  .dl-cover { max-width: 180px; }
  .dl-section { padding-block: 0 56px; margin-top: -28px; }
  .hero { padding-block: 48px 40px; }
  .section { padding-block: 56px; }
  /* 比較表は横スクロールにせず、行ごとのカードに積む（自社列が画面外に隠れないように） */
  .compare { min-width: 0; display: block; background: transparent; border: 0; box-shadow: none; }
  .compare thead { display: none; }
  .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { background: var(--panel); border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow); }
  .compare tbody th { border-top: 0; width: 100%; background: var(--surface); padding: 10px 16px; }
  .compare td { padding: 10px 16px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
  .compare td.is-us::before { color: var(--primary); font-weight: 700; }
}
@media (max-width: 520px) {
  .copyright { margin-left: 0; }
  .how-grid, .timeline, .dl-grid2 { grid-template-columns: 1fr; }
  .metric-value { font-size: 52px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-left: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 16px; }
  .stat:nth-child(n + 2) { border-top: 1px solid var(--hair); }
  .stat-head { margin: 0; }
  .stat-head strong { font-size: 26px; }
  .stat small { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
