@charset "UTF-8";
/* =========================================================
 * DMM 生成AI CAMP 学び放題 紹介サイト v3
 * トンマナ: 公式LP（genai.dmm.com）の実配色に準拠
 *   基調色     : ダークネイビー（#17334d）／白
 *   アクセント1: オレンジ（CTA用・公式準拠）
 *   アクセント2: ティール（帯・見出し装飾用・公式準拠）
 * 装飾ルール: グラデーション・縁取り・ドロップシャドウ不使用。
 *             強調は色面とフォントサイズ差で表現するフラット設計。
 * ======================================================= */

:root {
  --navy: #17334d;         /* 基調（公式LPダーク面の明度V31%に準拠） */
  --navy-deep: #102538;    /* さらに暗い面 */
  --navy-soft: #24455f;    /* ネイビー上のパネル */
  --ink: #16273a;          /* 白背景上のテキスト */
  --ink-soft: #4c5d70;     /* 補足テキスト */
  --orange: #f07808;       /* アクセント1: CTA（公式LP実測 #f07808） */
  --orange-dark: #d76b00;  /* CTA hover */
  --teal: #2492a2;         /* アクセント2: 帯・装飾（公式LP実測 #2890a0 系） */
  --teal-deep: #1b7482;    /* ティール濃 */
  --teal-pale: #e6f4f6;    /* ティールの淡色面 */
  --bg: #ffffff;
  --bg-tint: #f2f6f8;      /* 淡いセクション背景 */
  --line: #d8e1e8;         /* 罫線（白背景上） */
  --line-dark: #35536f;    /* 罫線（ネイビー上） */
  --max-w: 1080px;
  --article-w: 780px;
}

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

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

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  font-feature-settings: "palt";
  overflow-wrap: break-word;
  overflow-x: hidden;
}

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

a {
  color: var(--teal-deep);
}

/* ---------- PR表記（全ページ冒頭・判読可能サイズ） ---------- */
.pr-notice {
  background: var(--navy-deep);
  color: #b8c7d6;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- ヘッダー（ダーク） ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.site-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: auto;
}

.site-title a {
  color: #ffffff;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 13.5px;
}

.site-nav a {
  color: #c4d2df;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ヘッダー内CTA（JSで全ページに挿入） */
.header-cta {
  background: var(--orange);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.header-cta:hover {
  background: var(--orange-dark);
}

/* ---------- CTAボタン ---------- */
.btn-cta {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 17px 46px;
  border-radius: 100px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 14px 36px;
  border-radius: 100px;
  border: 1.5px solid #ffffff;
  transition: background-color 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-sub {
  display: inline-block;
  background: var(--bg);
  color: var(--teal-deep);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 34px;
  border-radius: 100px;
  border: 1.5px solid var(--teal-deep);
  transition: background-color 0.2s ease;
}

.btn-sub:hover {
  background: var(--teal-pale);
}

.cta-note {
  font-size: 13px;
  color: #b8c7d6;
}

/* ---------- ヒーロー（ダーク＋モザイク） ---------- */
.hero {
  background: var(--navy);
  color: #ffffff;
  overflow: hidden;
}

.hero .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 20px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero .kicker {
  display: inline-block;
  color: var(--navy);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 14px;
  text-wrap: balance;
}


.hero .lead {
  color: #c4d2df;
  font-size: 15.5px;
  margin-bottom: 22px;
  max-width: 520px;
}

/* 丸バッジ（公式LP風・フラット） */
.hero-badges {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-badges .badge {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  padding: 10px;
}

.hero-badges .badge strong {
  font-size: 15px;
  color: var(--teal-deep);
}

.hero-price {
  font-size: 14px;
  color: #c4d2df;
  margin-bottom: 24px;
}

.hero-price strong {
  font-size: 26px;
  color: #ffffff;
  font-weight: 700;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

/* コースモザイク（写真コラージュの代替・フラットタイル） */
.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  transform: rotate(2deg);
}

.hero-mosaic span {
  display: flex;
  align-items: flex-end;
  min-height: 86px;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
}

.hero-mosaic .m1 { background: var(--teal); }
.hero-mosaic .m2 { background: var(--navy-soft); }
.hero-mosaic .m3 { background: var(--teal-deep); }
.hero-mosaic .m4 { background: #2c4f6d; }
.hero-mosaic .m5 { background: var(--teal-deep); }
.hero-mosaic .m6 { background: var(--navy-soft); }
.hero-mosaic .m7 { background: var(--teal-deep); }
.hero-mosaic .m8 { background: #2c4f6d; }
.hero-mosaic .m9 { background: var(--teal); }

/* ---------- マーキー（コース名が流れる帯） ---------- */
.marquee {
  background: var(--teal);
  overflow: hidden;
  padding: 13px 0;
}

.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    padding: 0 20px;
    gap: 10px 24px;
  }
}

/* ---------- 数字バンド（カウントアップ） ---------- */
.stats-band {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.stats-band .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 34px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat .stat-num {
  font-size: 34px;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.3;
}

.stat .stat-num .unit {
  font-size: 16px;
}

.stat .stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 700;
}

.stats-note {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 72px 20px;
}

.section > .inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-tint {
  background: var(--bg-tint);
}

.section-dark {
  background: var(--navy);
  color: #ffffff;
}

.section-teal {
  background: var(--teal);
  color: #ffffff;
}

.eyebrow {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.section-dark .eyebrow {
  color: #7fd0d9;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-lead {
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-dark .section-lead {
  color: #c4d2df;
}

/* ---------- タブ ---------- */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tabs button {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 10px 26px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tabs button:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.tabs button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

/* ---------- コースカード ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}

.course-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.course-card .course-head {
  background: var(--navy);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
}

.course-card .course-head .course-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: #ffffff;
  border-radius: 3px;
  padding: 1px 8px;
  margin-right: 8px;
  vertical-align: 2px;
}

.course-card .course-body {
  padding: 18px 20px 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.course-card details {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.course-card summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal-deep);
  list-style-position: inside;
}

.course-card details ul {
  margin: 10px 0 0;
  padding-left: 22px;
  font-size: 13.5px;
}

.course-card details li {
  margin-bottom: 4px;
}

/* ---------- 比較（従来型 vs 学び放題） ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  align-items: stretch;
}

.compare .col {
  border-radius: 12px;
  padding: 30px 28px;
}

.compare .col-old {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.compare .col-new {
  background: var(--navy);
  color: #ffffff;
}

.compare h3 {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}

.compare .col-new h3 {
  color: #7fd0d9;
}

.compare ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14.5px;
}

.compare li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px solid var(--line);
}

.compare .col-new li {
  border-bottom: 1px solid var(--line-dark);
}

.compare .col-old li::before {
  content: "−";
  position: absolute;
  left: 4px;
  font-weight: 700;
}

.compare .col-new li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- 選ばれる理由（ダーク面） ---------- */
.reason {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}

.reason:last-of-type {
  border-bottom: none;
}

.reason .reason-num {
  font-size: 15px;
  font-weight: 700;
  color: #7fd0d9;
  line-height: 1.4;
  text-align: left;
}

.reason .reason-num strong {
  display: block;
  font-size: 40px;
  color: var(--teal);
  line-height: 1.1;
}

.reason h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.reason p {
  font-size: 14.5px;
  color: #c4d2df;
}

/* ---------- 学習プロセス ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
  counter-reset: proc;
}

.process .proc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
  counter-increment: proc;
  position: relative;
}

.process .proc::before {
  content: "STEP " counter(proc);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: var(--teal);
  border-radius: 3px;
  padding: 2px 10px;
  margin-bottom: 12px;
}

.process h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- カード（汎用） ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
  background: var(--bg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--ink-soft);
}

.card .card-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--teal);
  border-radius: 3px;
  padding: 2px 10px;
  margin-bottom: 12px;
}

a.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.card-link .more {
  display: block;
  margin-top: 14px;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- 動画・セミナー誘導帯 ---------- */
.media-band {
  background: var(--teal);
  color: #ffffff;
  padding: 46px 20px;
  text-align: center;
}

.media-band h2 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 10px;
  text-wrap: balance;
}

.media-band p {
  font-size: 14.5px;
  margin-bottom: 22px;
  color: #eafcff;
}

/* ---------- 料金プラン（タブ切替） ---------- */
.plan-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.plan-panel .plan-head {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
  padding: 22px 20px 24px;
}

.plan-panel .plan-head .plan-name {
  font-size: 15px;
  font-weight: 700;
  color: #7fd0d9;
  margin-bottom: 6px;
}

.plan-panel .plan-head .plan-price {
  font-size: 17px;
  font-weight: 700;
}

.plan-panel .plan-head .plan-price strong {
  font-size: 34px;
}

.plan-panel .plan-head .plan-sub {
  font-size: 13px;
  color: #c4d2df;
  margin-top: 4px;
}

.plan-panel .plan-body {
  padding: 26px 30px 30px;
}

.plan-panel .plan-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.check-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 14.5px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- 利用の流れ（横並び） ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px;
  counter-reset: flow;
}

.flow-grid .flow {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px;
  counter-increment: flow;
}

.flow-grid .flow::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 12px;
}

.flow-grid h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-grid p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- タグ一覧（ゼミ・ツール） ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.tag-list li {
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--teal);
  color: var(--teal-deep);
  border-radius: 100px;
  padding: 6px 18px;
  background: var(--bg);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--bg);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq summary::before {
  content: "Q";
  color: var(--teal-deep);
  font-weight: 700;
  margin-right: 10px;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--teal-deep);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding: 0 22px 18px;
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- 最終CTA（ダーク） ---------- */
.final-cta {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
  padding: 76px 20px;
}

.final-cta h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
  text-wrap: balance;
}

.final-cta p {
  color: #c4d2df;
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto 28px;
}

.final-cta .hero-cta-row {
  justify-content: center;
}

/* ---------- 記事レイアウト（解説ページ共通） ---------- */
.breadcrumb {
  max-width: var(--article-w);
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.article {
  max-width: var(--article-w);
  margin: 0 auto;
  padding: 44px 20px 64px;
}

.article h1 {
  font-size: 28px;
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 20px;
}

.article .article-intro {
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.article h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin: 56px 0 20px;
  padding: 10px 18px;
  background: var(--navy);
  color: #ffffff;
  border-radius: 6px;
}

.article h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--teal);
}

.article p {
  margin-bottom: 18px;
}

.article ul,
.article ol {
  margin: 0 0 18px;
  padding-left: 26px;
}

.article li {
  margin-bottom: 6px;
}

.toc {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 40px;
}

.toc .toc-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding-left: 22px;
  font-size: 14.5px;
}

.toc li {
  margin-bottom: 4px;
}

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
  line-height: 1.7;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--bg-tint);
  font-weight: 700;
  white-space: nowrap;
}

td.cell-strong {
  font-weight: 700;
  color: var(--teal-deep);
}

.point-box {
  border: 1.5px solid var(--teal);
  border-radius: 10px;
  background: var(--teal-pale);
  padding: 20px 24px;
  margin: 0 0 24px;
  font-size: 15px;
}

.point-box .point-title {
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 6px;
}

.note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: -6px 0 24px;
}

.price-line {
  text-align: center;
  margin: 8px 0 4px;
}

.price-line .price-main {
  font-size: 34px;
  font-weight: 700;
}

.price-line .price-tax {
  font-size: 16px;
  color: var(--ink-soft);
}

/* 記事内の縦ステップ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  counter-reset: step;
}

.steps > li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px 22px 68px;
  margin-bottom: 14px;
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.steps .step-title {
  font-weight: 700;
  font-size: 16.5px;
  margin-bottom: 6px;
}

.steps p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.pros-cons .col {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
}

.pros-cons h3 {
  margin: 0 0 12px;
  font-size: 16.5px;
  padding-left: 12px;
  border-left: 4px solid var(--teal);
}

.pros-cons ul {
  margin: 0;
  padding-left: 22px;
  font-size: 14.5px;
}

/* 記事内CTAブロック */
.cta-block {
  background: var(--navy);
  color: #ffffff;
  border-radius: 12px;
  text-align: center;
  padding: 38px 24px;
  margin: 48px 0;
}

.cta-block .cta-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-block p {
  color: #c4d2df;
  font-size: 14.5px;
  margin-bottom: 20px;
}

/* 記事内プランカード（price.html用） */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 26px 24px;
}

.plan.plan-featured {
  border: 2px solid var(--teal);
}

.plan .plan-name {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.plan .plan-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 10px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--teal);
  border-radius: 3px;
  padding: 2px 10px;
}

.plan .plan-price {
  text-align: center;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.plan .plan-price .num {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}

.plan .plan-sub {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.plan ul {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.plan li {
  position: relative;
  padding: 4px 0 4px 24px;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- フッター（ダーク） ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #b8c7d6;
  padding: 44px 20px 34px;
  font-size: 13.5px;
}

.site-footer .inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #b8c7d6;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer {
  margin-bottom: 16px;
}

.copyright {
  font-size: 12.5px;
  color: #7c8ea0;
}

/* ---------- スマホ用追尾CTA ---------- */
.sticky-cta {
  display: none;
}

/* ---------- スクロール出現（JS無効時は常時表示） ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  html.js .reveal.d1 { transition-delay: 0.06s; }
  html.js .reveal.d2 { transition-delay: 0.12s; }
  html.js .reveal.d3 { transition-delay: 0.18s; }

  .hero .kicker,
  .hero h1,
  .hero .lead,
  .hero-badges,
  .hero-price,
  .hero-cta-row,
  .hero .cta-note {
    animation: fade-rise 0.55s ease both;
  }

  .hero h1 { animation-delay: 0.05s; }
  .hero .lead { animation-delay: 0.1s; }
  .hero-badges { animation-delay: 0.15s; }
  .hero-price { animation-delay: 0.2s; }
  .hero-cta-row { animation-delay: 0.25s; }
  .hero .cta-note { animation-delay: 0.3s; }

  .hero-mosaic {
    animation: fade-in 0.8s ease 0.2s both;
  }
}

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  body.has-sticky-cta {
    padding-bottom: 84px;
  }

  .site-nav {
    display: none;
  }

  .hero .inner {
    grid-template-columns: 1fr;
    padding: 44px 20px 46px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero-badges .badge {
    width: 96px;
    height: 96px;
    font-size: 11px;
  }

  .hero-badges .badge strong {
    font-size: 13.5px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-mosaic {
    transform: none;
  }

  .hero-mosaic span {
    min-height: 66px;
    font-size: 11px;
  }

  .section {
    padding: 52px 20px;
  }

  .section-title {
    font-size: 23px;
  }

  .final-cta h2 {
    font-size: 23px;
  }

  .reason {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article h1 {
    font-size: 23px;
  }

  .article h2 {
    font-size: 19px;
  }

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

  .price-line .price-main {
    font-size: 28px;
  }

  .plan-panel .plan-head .plan-price strong {
    font-size: 28px;
  }

  .sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60;
    display: block;
    background: var(--orange);
    color: #ffffff;
    border-radius: 100px;
    padding: 15px 18px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
  }

  .sticky-cta:hover {
    background: var(--orange-dark);
  }
}
