/*
  ClearQuant LP 共通デザインシステム
  すべてのレターページ（見分け方の記事／ClearQuant／ClearQuant Platinum）はこのファイルを
  <link rel="stylesheet" href="../assets/common.css"> で読み込む。
  ページ固有の装飾はページ内の <style> に最小限だけ追加し、色・余白・基本コンポーネントはここで統一する。
*/

:root {
  /* ブランドカラー：深いティール（信頼・分析・データを想起させる色。トレードツール販売のオレンジ系とは
     意図的に分けている） */
  --ink: #16233a;
  --ink-soft: #4a5568;
  --bg: #f5f7f7;
  --card-bg: #ffffff;
  --accent: #1f6f5c;
  --accent-dark: #145143;
  --accent-soft: #e7f3f0;
  --border-soft: #e4e8e7;
  --warn-bg: #fff8ec;
  --warn-border: #e0a323;
  --max-width: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--card-bg);
  padding-bottom: 88px; /* モバイル固定CTAバーと本文が重ならないための余白 */
}

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

/* ---------- Hero（ファーストビュー） ---------- */

.hero {
  padding: 40px 24px 28px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

h1.headline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 20px;
  text-align: left;
}

.hero .lead {
  font-size: 15.5px;
  color: var(--ink-soft);
  text-align: left;
  margin: 0 0 8px;
}

/* ---------- 本文セクション ---------- */

.content { padding: 8px 24px 8px; }

.content p {
  font-size: 16px;
  margin: 0 0 20px;
}

.content p.hook {
  font-size: 17px;
  font-weight: 700;
}

h2.section-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
}

/* ---------- 事例・強調ボックス ---------- */

.case-box {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 0 0 22px;
}

.case-box .case-title {
  font-weight: 700;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 8px;
}

.stat {
  font-weight: 700;
  color: var(--accent-dark);
}

/* ---------- チェックリスト ---------- */

.checklist { margin: 0 0 22px; }

.check-item {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.check-item .check-q { font-weight: 700; display: block; margin-bottom: 4px; }
.check-item .check-a { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ---------- FAQ ---------- */

.qa {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0 0 14px;
}

.qa .q { font-weight: 700; color: var(--accent-dark); display: block; margin-bottom: 6px; }
.qa .a { margin: 0; }

/* ---------- CTA ---------- */

.cta-block {
  text-align: center;
  margin: 40px 0;
  padding: 28px 20px;
  background: var(--accent-soft);
  border-radius: 14px;
}

.cta-block.cta-hero { margin-top: 24px; background: transparent; padding: 0; }

.cta-block .cta-copy {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 17px;
  padding: 17px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(31, 111, 92, 0.28);
}

.cta-btn:active { background: var(--accent-dark); }

.cta-note {
  font-size: 13px;
  color: #8a8f94;
  margin: 12px 0 0;
}

/* クロージングの案内ボックス（価格・受け取り方の代わりに「先行案内」の説明を置く） */
.closing-box {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  margin: 40px 0 28px;
}

.closing-box .closing-label { font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
.closing-box .closing-headline { font-size: 18px; font-weight: 700; margin: 0 0 18px; }

/* ---------- 実測データの表 ---------- */

/* 表そのものは折り返さず、狭い画面では表だけを横スクロールさせる（本文は横スクロールさせない） */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 10px;
}

table.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 14.5px;
  line-height: 1.7;
  background: #fff;
}

table.data-table th,
table.data-table td {
  border: 1px solid var(--border-soft);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

table.data-table thead th {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  white-space: nowrap;
}

table.data-table tbody th {
  font-weight: 400;
}

.table-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

/* ---------- 投資リスク等の注記 ---------- */

.disclaimer {
  font-size: 12.5px;
  color: #9aa0a6;
  line-height: 1.7;
  margin-top: 18px;
  text-align: left;
}

/* ---------- モバイル固定CTAバー ---------- */

.sticky-cta {
  display: none;
}

@media (max-width: 640px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: #fff;
    border-top: 1px solid var(--border-soft);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
  }
  .sticky-cta .cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 12px;
    font-size: 16px;
  }
}

/* ---------- フッター ---------- */

footer.site-footer {
  text-align: center;
  padding: 28px 20px;
  font-size: 12px;
  color: #9aa0a6;
}

footer.site-footer a { color: #9aa0a6; }

/* ---------- レスポンシブ（スマホ幅対応） ---------- */

@media (max-width: 480px) {
  h1.headline { font-size: 22px; }
  h2.section-title { font-size: 18px; }
  .content p, .content p.hook { font-size: 15.5px; }
  .hero { padding: 32px 18px 24px; }
  .content { padding: 8px 18px 8px; }
}
