/* ============================================================
   GrowthFix White Paper V9
   組織を変えるな。経営者を取り戻せ。
   growthfix.jp/whitepaper-gravity/
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:        #ffffff;
  --color-surface:   #f8fafc;
  --color-border:    #e2e8f0;
  --color-muted:     #94a3b8;
  --color-subtle:    #64748b;
  --color-body:      #334155;
  --color-heading:   #0f172a;
  --color-dark:      #0f172a;
  --color-mid:       #1e293b;
  --color-accent:    #475569;
  --font-base:       'Noto Sans JP', sans-serif;
  --max-width:       760px;
  --section-gap:     80px;
}

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

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO / COVER ── */
.hero {
  background: var(--color-dark);
  color: white;
  padding: 80px 24px 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border: 40px solid rgba(71,85,105,0.3);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid #334155;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  color: white;
  border-left: 5px solid var(--color-accent);
  padding-left: 20px;
  margin-bottom: 36px;
}

.hero-title-sub {
  display: block;
  font-size: 0.5em;
  font-weight: 700;
  margin-top: 22px;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

/* CTA 後段のサービス分岐カード（Blueprint / Coaching / Shift / Orbit 共通） */
.cta-service-card {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #C5A880;
}
.cta-service-card .card-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #C5A880;
  font-weight: 700;
  margin-bottom: 4px;
}
.cta-service-card .card-title {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.cta-service-card .card-title .card-price {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 8px;
}
.cta-service-card .card-desc {
  font-size: 13px;
  color: #d7dde6;
  line-height: 1.8;
  margin: 0;
}
.cta-service-card .card-link {
  display: inline-block;
  margin-top: 10px;
  color: #C5A880;
  font-weight: 700;
  font-size: 12px;
  text-decoration: underline;
}

.hero-subtitle {
  font-size: clamp(13px, 2.5vw, 16px);
  color: var(--color-muted);
  font-weight: 500;
  padding-left: 25px;
  margin-bottom: 44px;
  line-height: 1.6;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 0 40px 25px;
}

.hero-tagline {
  font-size: 12px;
  color: #475569;
  line-height: 2;
  padding-left: 25px;
  max-width: 520px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  font-size: 11px;
  color: var(--color-subtle);
}

.hero-meta strong {
  color: var(--color-muted);
}

/* ── AUTHOR INTRO ── */
.author-intro {
  background: var(--color-surface);
  padding: 56px 24px;
  border-bottom: 1px solid var(--color-border);
}

.author-intro-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.author-intro-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.author-intro-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.author-intro-title {
  font-size: 12px;
  color: var(--color-subtle);
  line-height: 1.7;
}

.author-intro-bio {
  font-size: 13px;
  color: var(--color-body);
  line-height: 1.9;
}

.author-intro-bio p + p {
  margin-top: 12px;
}

/* ── TABLE OF CONTENTS ── */
.toc-section {
  padding: 56px 24px;
  border-bottom: 2px solid var(--color-dark);
}

.toc-section .container {
  max-width: var(--max-width);
}

.toc-heading {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-heading);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-dark);
}

.toc-list {
  list-style: none;
}

.toc-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--color-border);
  font-size: 14px;
}

.toc-item:last-child {
  border-bottom: none;
}

.toc-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-muted);
  min-width: 100px;
  flex-shrink: 0;
}

.toc-title {
  font-weight: 700;
  color: var(--color-heading);
  flex: 1;
}

.toc-sub {
  font-size: 11px;
  color: var(--color-subtle);
  font-weight: 400;
  margin-left: 6px;
}

/* ── CHAPTER SECTIONS ── */
section.chapter {
  padding: 72px 24px;
  border-bottom: 1px solid var(--color-border);
}

section.chapter:nth-child(even) {
  background: var(--color-surface);
}

.chapter-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.chapter-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--color-dark);
  color: white;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.chapter-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: var(--color-heading);
  line-height: 1.3;
  margin-bottom: 8px;
}

.chapter-subtitle {
  font-size: 14px;
  color: var(--color-subtle);
  font-weight: 500;
  margin-bottom: 32px;
}

.chapter-divider {
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  margin-bottom: 36px;
}

/* ── TYPOGRAPHY ── */
.chapter-inner p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-body);
  margin-bottom: 20px;
}

.chapter-inner p:last-child {
  margin-bottom: 0;
}

.chapter-inner strong {
  color: var(--color-heading);
  font-weight: 700;
}

.section-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-dark);
}

/* ── BLOCKQUOTES ── */
.quote-dark {
  background: var(--color-dark);
  color: white;
  padding: 24px 28px;
  border-radius: 6px;
  margin: 32px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.quote-light {
  background: var(--color-surface);
  border-left: 4px solid var(--color-dark);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  margin: 28px 0;
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.8;
}

/* ── FIGURES ── */
.figure-wrap {
  margin: 40px calc(50% - 50vw);
  padding: 0 16px;
  text-align: center;
}

.figure-wrap img,
.figure-wrap svg {
  max-width: 960px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .figure-wrap {
    margin: 32px -20px;
    padding: 0 8px;
  }
}

.figure-caption {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 10px;
  text-align: center;
}

/* ── PATTERN GRID (Ch03) ── */
.pattern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.pattern-card {
  background: #e2e8f0;
  border-radius: 8px;
  padding: 24px 20px;
}

.pattern-card.highlight {
  background: var(--color-dark);
  color: white;
}

.pattern-card .pattern-num {
  font-size: 24px;
  margin-bottom: 8px;
}

.pattern-card .pattern-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-heading);
}

.pattern-card.highlight .pattern-name {
  color: white;
}

.pattern-card .pattern-axis {
  font-size: 11px;
  color: var(--color-subtle);
  margin-bottom: 10px;
}

.pattern-card.highlight .pattern-axis {
  color: var(--color-muted);
}

.pattern-card .pattern-ceo {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
}

.pattern-card.highlight .pattern-ceo {
  color: #94a3b8;
}

.pattern-card .pattern-desc {
  font-size: 12px;
  color: var(--color-subtle);
  line-height: 1.7;
  margin-top: 8px;
}

.pattern-card.highlight .pattern-desc {
  color: #cbd5e1;
}

/* ── GRAVITY HIGHLIGHT (Ch03 B-1) ── */
.gravity-highlight {
  background: var(--color-dark);
  color: white;
  border-radius: 10px;
  padding: 32px 28px;
  margin: 36px 0;
  border-left: 5px solid #94a3b8;
}

.gravity-highlight-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  color: white;
  background: #475569;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.gravity-highlight-lead {
  font-size: 16px;
  font-weight: 700;
  color: white;
  line-height: 1.75;
  margin-bottom: 18px;
}

.gravity-highlight-lead strong {
  color: #fbbf24;
  font-weight: 900;
  border-bottom: 2px solid #fbbf24;
  padding-bottom: 2px;
}

.gravity-highlight-body {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.9;
  margin-bottom: 14px;
}

.gravity-highlight-body em {
  font-style: normal;
  color: white;
  font-weight: 700;
}

.gravity-highlight-close {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #334155;
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.8;
}

/* ── SYMPTOM TABLE (Ch04) ── */
.symptom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 28px 0;
  table-layout: fixed;
}

.symptom-table th {
  background: var(--color-dark);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}

.symptom-table th:first-child { width: 48%; }

.symptom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.75;
  color: var(--color-body);
}

.symptom-table td:first-child {
  font-weight: 700;
  color: var(--color-heading);
}

.symptom-table tr:nth-child(even) td {
  background: var(--color-surface);
}

/* ── LOOP TYPE TABLE ── */
.loop-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 28px 0;
}

.loop-table th {
  background: var(--color-dark);
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
}

.loop-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.7;
}

.loop-table tr:nth-child(even) td {
  background: var(--color-surface);
}

/* ── STEPS (Ch08) ── */
.steps-list {
  list-style: none;
  margin: 28px 0;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.step-body {
  flex: 1;
  padding-top: 4px;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.step-text {
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.85;
}

/* ── GRAVITY STAIRS (Ch05 C-2) ── */
.gravity-stairs {
  margin: 36px 0;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.stair-step {
  width: 100%;
  max-width: 540px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
}

.stair-step.stair-4 {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: white;
}

.stair-step.stair-4 .stair-num { color: #94a3b8; }
.stair-step.stair-4 .stair-title { color: white; }
.stair-step.stair-4 .stair-text { color: #cbd5e1; }
.stair-step.stair-4 .stair-result { color: #fbbf24; font-weight: 900; }

.stair-num {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--color-muted);
  text-align: center;
  padding: 6px 0;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: white;
}

.stair-step.stair-4 .stair-num {
  background: #1e293b;
  border-color: #334155;
}

.stair-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.5;
  grid-column: 2;
  grid-row: 1;
}

.stair-text {
  font-size: 13px;
  color: var(--color-subtle);
  line-height: 1.7;
  grid-column: 2;
  grid-row: 2;
  margin-top: 4px;
}

.stair-arrow {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

@media (max-width: 640px) {
  .stair-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stair-title, .stair-text {
    grid-column: 1;
  }
  .stair-num {
    width: 80px;
  }
}

/* ── CASE STUDIES (Ch09) ── */
.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px 24px;
  margin: 24px 0;
}

.case-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.case-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.case-body {
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.9;
}

.case-ceo-comment {
  margin-top: 16px;
  padding: 14px 18px;
  background: white;
  border-left: 3px solid var(--color-dark);
  font-size: 13px;
  color: var(--color-body);
  font-style: italic;
}

/* ── CTA (Ch10) ── */
.cta-section {
  background: var(--color-dark);
  color: white;
  padding: 72px 24px;
}

.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid #334155;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-subtitle {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-divider {
  width: 100%;
  height: 1px;
  background: #1e293b;
  margin-bottom: 40px;
}

.cta-box {
  background: #1e293b;
  border-radius: 8px;
  padding: 32px 28px;
  margin-bottom: 20px;
}

.cta-box-title {
  font-size: 20px;
  font-weight: 900;
  color: white;
  margin-bottom: 6px;
}

.cta-price {
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.cta-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
}

.cta-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 16px;
}

.cta-delivery {
  background: #0f172a;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cta-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #475569;
  padding-bottom: 2px;
}

.cta-link:hover {
  border-color: white;
}

.cta-link::before {
  content: '▶ ';
}

.cta-secondary-box {
  background: #1e293b;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 16px;
}

.cta-secondary-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.cta-secondary-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ── EPILOGUE ── */
.epilogue-section {
  background: var(--color-dark);
  color: white;
  padding: 72px 24px;
}

.epilogue-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.epilogue-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid #334155;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.epilogue-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: white;
  margin-bottom: 32px;
  line-height: 1.3;
}

.epilogue-inner p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.9;
  margin-bottom: 20px;
}

.epilogue-closing {
  background: #1e293b;
  border-radius: 8px;
  padding: 28px 24px;
  margin: 36px 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: white;
  line-height: 1.6;
}

/* ── AUTHOR PROFILE ── */
.author-profile {
  background: var(--color-surface);
  padding: 72px 24px;
  border-top: 2px solid var(--color-dark);
}

.author-profile-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.author-name {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.author-role {
  font-size: 13px;
  color: var(--color-subtle);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-dark);
}

.author-bio {
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.95;
  margin-bottom: 32px;
}

.author-bio p + p {
  margin-top: 16px;
}

.author-tagline-box {
  background: var(--color-dark);
  color: white;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.author-tagline-box strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.author-tagline-box span {
  font-size: 13px;
  color: var(--color-muted);
}

.author-contact {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--color-body);
  line-height: 2;
}

.author-contact a {
  color: var(--color-heading);
  text-decoration: none;
  font-weight: 700;
}

.author-contact a:hover {
  text-decoration: underline;
}

/* ── FOOTER ── */
footer {
  background: var(--color-dark);
  color: #475569;
  text-align: center;
  padding: 28px 24px;
  font-size: 11px;
  line-height: 1.8;
}

footer a {
  color: #64748b;
  text-decoration: none;
}

footer a:hover {
  color: var(--color-muted);
}

/* ── STICKY NAV (optional) ── */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e293b;
  padding: 12px 24px;
}

.sticky-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-nav-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
  white-space: nowrap;
}

.sticky-nav-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: #1e293b;
  border: 1px solid #334155;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.sticky-nav-cta:hover {
  background: #334155;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .author-intro-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .hero {
    padding: 56px 20px 48px;
  }

  .hero::before {
    display: none;
  }

  section.chapter {
    padding: 52px 20px;
  }

  .cta-section,
  .epilogue-section,
  .author-profile {
    padding: 52px 20px;
  }

  .toc-item {
    flex-direction: column;
    gap: 4px;
  }

  .toc-num {
    min-width: unset;
  }

  .step-item {
    flex-direction: column;
    gap: 12px;
  }

  .sticky-nav-inner {
    gap: 8px;
  }

  .sticky-nav-brand {
    font-size: 10px;
  }
}

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

  .chapter-title {
    font-size: 20px;
  }
}

/* ============================================
   PRINT / PDF SPECIFIC STYLES（260421追加）
   ブラウザの印刷機能／Save as PDF で綺麗に出力するための設定
   ============================================ */
@media print {
  /* ページ基本設定 */
  @page {
    size: A4;
    margin: 18mm 15mm;
  }

  /* リセット */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  body {
    background: #fff !important;
    font-size: 10.5pt;
    line-height: 1.7;
  }

  /* Sticky要素を非表示 */
  .sticky-nav,
  .sticky-nav-cta {
    display: none !important;
  }

  /* Hero（表紙）は1ページ独立 */
  .hero {
    page-break-after: always;
    break-after: page;
    min-height: 90vh;
    padding: 60mm 20mm;
  }

  /* 著者紹介もHero直後で独立ページ */
  .author-intro {
    page-break-after: always;
    break-after: page;
  }

  /* 目次も独立ページ */
  .toc-section {
    page-break-after: always;
    break-after: page;
  }

  /* 各章は新規ページで開始 */
  .chapter,
  .cta-section,
  .epilogue-section,
  .author-profile {
    page-break-before: always;
    break-before: page;
    padding: 0 !important;
  }

  /* 序章は目次の後に続けてOK（別ページ） */
  #prologue {
    page-break-before: always;
    break-before: page;
  }

  /* 章タイトルの直後で改ページしない */
  .chapter-title,
  .chapter-subtitle,
  .chapter-badge,
  .section-heading,
  h2, h3 {
    page-break-after: avoid;
    break-after: avoid;
  }

  /* ページ途中で切れたら読みにくい要素を保護 */
  .quote-dark,
  .quote-light,
  .figure-wrap,
  .pattern-card,
  .gravity-highlight,
  .gravity-stairs,
  .stair-step,
  .case-card,
  .cta-box,
  .cta-secondary-box,
  .step-item,
  .symptom-table,
  .loop-table,
  .details-table,
  table,
  ul.steps-list {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* 図の前後は改ページを避ける（キャプションと切り離さない） */
  .figure-wrap img {
    max-width: 100%;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .figure-caption {
    page-break-before: avoid;
    break-before: avoid;
  }

  /* 段落の孤立行を防ぐ */
  p {
    orphans: 3;
    widows: 3;
  }

  /* リンクのURL表示は不要（PDFで文字化け防止） */
  a[href^="http"]::after {
    content: "";
  }

  /* CTA セクションのボタンは残すがリンク装飾を最小化 */
  .cta-link {
    color: #0A192F !important;
    background: #C5A880 !important;
    border: 1px solid #C5A880 !important;
    padding: 8px 16px !important;
  }

  /* カラー系背景を印刷で白抜きにしないよう念押し */
  .hero,
  .quote-dark,
  .cta-section,
  .epilogue-section,
  .pattern-card.highlight,
  .gravity-highlight {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 大きすぎる要素を印刷用に縮小 */
  .hero-title {
    font-size: 28pt !important;
    line-height: 1.5 !important;
  }
  .chapter-title {
    font-size: 20pt !important;
    line-height: 1.5 !important;
  }
  .section-heading {
    font-size: 14pt !important;
  }

  /* footer非表示（印刷時はページ番号で十分） */
  footer {
    display: none;
  }
}
