@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --navy: #1A2B5C;
  --navy-mid: #2C4A6E;
  --navy-soft: #3D5A80;
  --gold: #C9A961;
  --gold-light: #F5EDD8;
  --gold-dark: #A68B4B;
  --cream: #FAF8F3;
  --white: #FFFFFF;
  --text: #1E2A3A;
  --muted: #5C6470;
  --border: #E0D8CC;
  --green: #27794A;
  --green-bg: #E8F6EE;
  --red: #B03A2E;
  --red-bg: #FDECEA;
  --blue-bg: #EEF3FA;
  --shadow: 0 8px 32px rgba(26, 43, 92, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 43, 92, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ===== COVER ===== */
.cover {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, #1e3d5c 100%);
  color: #fff;
  padding: 56px 32px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cover::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.14);
}

.cover::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cover-day {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  opacity: 0.75;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.cover-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 24px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cover-lead {
  font-size: 13px;
  opacity: 0.88;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cover h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.cover h1 .gold-line {
  display: block;
  color: var(--gold);
  font-size: clamp(16px, 4vw, 20px);
  margin-top: 10px;
  font-weight: 600;
}

.cover-sub {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.75;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.cover-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.cover-feature {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.cover-credit {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  line-height: 1.75;
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

.cover-credit .name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
.section {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 28px;
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 4.5vw, 24px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 18px;
}

.section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}

.section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-soft);
  margin: 16px 0 8px;
}

p { margin-bottom: 16px; }
p.lead { font-size: 16px; color: var(--navy); font-weight: 500; }

ul, ol { margin: 0 0 18px 22px; }
li { margin-bottom: 10px; }

/* ===== BOXES ===== */
.highlight {
  background: linear-gradient(135deg, var(--gold-light) 0%, #fff 100%);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-left: 5px solid var(--gold);
  padding: 20px 22px;
  margin: 24px 0;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow);
}

.highlight strong { color: var(--navy); }

.mrk-box {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 24px 26px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}

.mrk-box::before {
  content: 'FROM Mr.K';
  position: absolute;
  top: 12px; right: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  opacity: 0.9;
}

.mrk-box p { margin-bottom: 12px; }
.mrk-box p:last-child { margin-bottom: 0; }
.mrk-box em { color: var(--gold); font-style: normal; font-weight: 600; }

.quote {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  margin: 20px 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--navy);
  border-radius: 0 10px 10px 0;
  box-shadow: var(--shadow);
}

.quote .attr {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-style: normal;
  color: var(--muted);
  margin-top: 10px;
}

/* ===== STORY CARD ===== */
.story-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  margin: 28px 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.story-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 22px 26px;
  color: #fff;
}

.story-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.story-header h3 {
  border: none;
  padding: 0;
  margin: 0 0 8px;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  line-height: 1.45;
}

.story-header .meta {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.6;
}

.story-body { padding: 26px 26px 28px; }

.story-result {
  text-align: center;
  background: var(--gold-light);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0 20px;
}

.story-result .num {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.2;
}

.story-result .sub {
  font-size: 13px;
  color: var(--navy);
  margin-top: 6px;
  font-weight: 600;
}

.story-grid {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.story-item {
  background: var(--cream);
  border-radius: 10px;
  padding: 14px 16px;
}

.story-item .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.story-item p { margin: 0; font-size: 14px; line-height: 1.7; }

/* ===== STAIRS / TIMELINE ===== */
.stair-box {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
}

.stair-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--navy);
  padding: 18px 20px;
  margin-bottom: -1px;
  position: relative;
}

.stair-step:first-child { border-radius: 12px 12px 0 0; }
.stair-step:last-child { border-radius: 0 0 12px 12px; margin-bottom: 0; border-left-color: var(--gold); }

.stair-step .phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.stair-step .title {
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 6px;
}

.stair-step p { margin: 0; font-size: 14px; color: var(--muted); }

.timeline {
  position: relative;
  padding-left: 28px;
  margin: 24px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--navy), var(--gold));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 6px;
  width: 14px; height: 14px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--navy);
}

.timeline-item h4 { margin: 0 0 8px; color: var(--navy); font-size: 15px; }
.timeline-item p { font-size: 14px; margin: 0; }

/* ===== TABLES ===== */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--white);
}

th {
  background: var(--navy);
  color: #fff;
  padding: 14px 12px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #faf9f6; }

/* ===== TYPE CARDS ===== */
.type-card {
  background: var(--white);
  border-radius: 16px;
  padding: 0;
  margin: 20px 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}

.type-card.featured { border-color: var(--gold); box-shadow: var(--shadow-lg); }

.type-head {
  padding: 18px 22px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}

.type-head.a { background: linear-gradient(135deg, #1A2B5C, #3D5A80); }
.type-head.b { background: linear-gradient(135deg, #2C4A6E, #4A6FA5); }
.type-head.c { background: linear-gradient(135deg, #3D5A80, #5A7A9A); }
.type-head.d { background: linear-gradient(135deg, #1A2B5C, #C9A961); }

.type-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.type-head h3 {
  border: none;
  padding: 0;
  margin: 0;
  color: #fff;
  font-size: 17px;
}

.type-head .en {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
}

.type-body { padding: 22px 24px; }
.type-body h4 { margin-top: 16px; }
.type-body h4:first-child { margin-top: 0; }

/* ===== QUESTIONS ===== */
.question {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.question .q-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.question .q-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.question .q-text {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
  padding-top: 6px;
}

.question .options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.question .options li {
  padding: 10px 14px 10px 40px;
  position: relative;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: var(--cream);
}

.question .options li::before {
  content: attr(data-type);
  position: absolute;
  left: 12px;
  font-weight: 800;
  font-size: 12px;
  color: var(--gold-dark);
}

/* ===== CHECKLIST ===== */
.checklist { list-style: none; margin: 0; padding: 0; }

.checklist li {
  padding: 14px 16px 14px 48px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.checklist li::before {
  position: absolute;
  left: 16px; top: 14px;
  font-weight: 800;
  font-size: 14px;
}

.checklist li.ng { border-left: 4px solid var(--red); }
.checklist li.ng::before { content: '✕'; color: var(--red); }
.checklist li.ok { border-left: 4px solid var(--green); }
.checklist li.ok::before { content: '◎'; color: var(--green); }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

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

.compare-card { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.compare-header { padding: 10px 16px; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.compare-header.ng { background: var(--red); color: #fff; }
.compare-header.ok { background: var(--green); color: #fff; }
.compare-body { padding: 16px; font-size: 14px; line-height: 1.7; }
.compare-body.ng { background: var(--red-bg); }
.compare-body.ok { background: var(--green-bg); }

/* ===== CTA ===== */
.cta-box {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 32px 28px;
  border-radius: 16px;
  margin: 32px 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.15);
}

.cta-box .cta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px;
}

.cta-box h3 {
  border: none;
  padding: 0;
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  line-height: 1.45;
}

.cta-box p { margin-bottom: 10px; font-size: 14px; opacity: 0.92; }
.cta-box .cta-keyword {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  padding: 10px 28px;
  border-radius: 8px;
  margin: 12px 0;
  letter-spacing: 2px;
}

.cta-box .cta-note {
  font-size: 11px;
  opacity: 0.75;
  margin-top: 8px;
}

.cta-soft {
  background: var(--white);
  border: 2px dashed var(--gold);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
}

/* ===== EMOTION LADDER ===== */
.emotion-ladder {
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  margin: 28px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.emotion-ladder h4 {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold-dark);
  margin-bottom: 14px;
  text-align: center;
}

.ladder-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ladder-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 8px;
  font-size: 13px;
}

.ladder-step.done {
  background: var(--green-bg);
  border-left: 3px solid var(--green);
}

.ladder-step.current {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  font-weight: 600;
}

.ladder-step .icon { font-size: 16px; flex-shrink: 0; }

/* ===== PILLAR / 3 COL ===== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.pillar {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.pillar .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.pillar h4 { margin: 0 0 8px; font-size: 14px; color: var(--navy); }
.pillar p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ===== FOOTER ===== */
.doc-footer {
  text-align: center;
  padding: 32px 24px 48px;
  font-size: 11px;
  color: var(--muted);
  background: var(--navy);
  color: rgba(255,255,255,0.6);
}

.doc-footer strong { color: var(--gold); display: block; margin-bottom: 4px; }

/* ===== HOOK TITLES ===== */
.section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 4.5vw, 26px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.section-sub {
  margin: -8px 0 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== TYPE 6-FIELD GRID ===== */
.type-fields {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.type-field {
  background: var(--cream);
  border-radius: 8px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
}

.type-field strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--navy-soft);
  margin-bottom: 4px;
}

.type-field p { margin: 0; font-size: 13px; line-height: 1.65; }

/* ===== FAILURE DEEP DIVE ===== */
.failure-deep {
  background: var(--white);
  border-radius: 12px;
  padding: 22px;
  margin: 18px 0;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
}

.failure-deep h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 12px;
}

.failure-deep .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--red-bg);
  color: var(--red);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.checklist li {
  position: relative;
}

.checklist li .why {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
  line-height: 1.6;
}

@media print {
  body { background: #fff; }
  .cover { min-height: auto; page-break-after: always; }
  .section { page-break-inside: avoid; }
  .cta-box { break-inside: avoid; }
}

@media (max-width: 480px) {
  .section { padding: 40px 20px; }
  .story-body { padding: 20px 18px; }
}

/* ===== 2026 REFRESH: MATCH 3-MIN DIAGNOSIS DESIGN ===== */
:root {
  --navy: #14244a;
  --navy-mid: #22515e;
  --navy-soft: #314d67;
  --gold: #c9a961;
  --gold-light: #fbf8f1;
  --gold-dark: #9b7d37;
  --cream: #fbf7ee;
  --mint: #82c7bd;
  --coral: #df7b68;
  --sky: #7fa9cf;
  --line-green: #06c755;
  --text: #182435;
  --muted: #536174;
  --border: #ded8ca;
  --shadow: 0 10px 30px rgba(20, 36, 74, 0.06);
  --shadow-lg: 0 18px 60px rgba(20, 36, 74, 0.15);
}

body:not(.diagnosis-body) {
  background: linear-gradient(180deg, #fbf7ee 0%, #f6f0e4 48%, #eef5f3 100%);
  color: var(--text);
}

body:not(.diagnosis-body) .cover {
  min-height: 690px;
  padding: 46px 24px 120px;
  background: none;
  isolation: isolate;
}

body:not(.diagnosis-body) .cover::before {
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(10, 20, 44, .92) 0%, rgba(10, 20, 44, .84) 38%, rgba(10, 20, 44, .48) 72%, rgba(10, 20, 44, .24) 100%),
    url("generated/talk-skill-diagnosis-hero.png") center / cover no-repeat;
  opacity: 1;
  z-index: -2;
}

body:not(.diagnosis-body) .cover::after {
  inset: auto 0 0;
  width: auto;
  height: 220px;
  border-radius: 0;
  background: linear-gradient(0deg, var(--cream), rgba(251, 247, 238, 0));
  z-index: -1;
}

body:not(.diagnosis-body) .cover-day,
body:not(.diagnosis-body) .cover-badge,
body:not(.diagnosis-body) .cover-lead,
body:not(.diagnosis-body) .cover h1,
body:not(.diagnosis-body) .cover-sub,
body:not(.diagnosis-body) .cover-features,
body:not(.diagnosis-body) .cover-credit {
  width: min(920px, 100%);
}

body:not(.diagnosis-body) .cover-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: 2px;
  opacity: .94;
}

body:not(.diagnosis-body) .cover-day::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-green);
  box-shadow: 0 0 0 5px rgba(6, 199, 85, .16);
  margin-right: 9px;
}

body:not(.diagnosis-body) .cover-badge {
  background: rgba(243, 217, 149, .16);
  border: 1px solid rgba(243, 217, 149, .36);
  color: #f3d995;
  border-radius: 999px;
  padding: 7px 13px;
  margin-top: 16px;
  margin-bottom: 18px;
}

body:not(.diagnosis-body) .cover-lead {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.85;
  max-width: 680px;
}

body:not(.diagnosis-body) .cover h1 {
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.14;
  margin-top: 4px;
  max-width: 760px;
  letter-spacing: 0;
}

body:not(.diagnosis-body) .cover h1 .gold-line {
  color: #f3d995;
  font-size: clamp(24px, 5vw, 42px);
  margin-top: 10px;
  line-height: 1.22;
}

body:not(.diagnosis-body) .cover-sub {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.9;
  max-width: 660px;
}

body:not(.diagnosis-body) .cover-feature {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}

body:not(.diagnosis-body) .cover-credit {
  max-width: 560px;
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}

body:not(.diagnosis-body) .section {
  max-width: 960px;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 70px;
  padding: 34px 30px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(20, 36, 74, .1);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

body:not(.diagnosis-body) .cover + .section {
  margin-top: -42px;
}

body:not(.diagnosis-body) .section + .section {
  margin-top: 0;
}

body:not(.diagnosis-body) > .story-card {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 24px;
}

body:not(.diagnosis-body) .section-label {
  background: rgba(130, 199, 189, .18);
  color: #266c65;
  border-radius: 999px;
  padding: 7px 13px;
}

body:not(.diagnosis-body) .section h2 {
  color: var(--navy);
  font-size: clamp(23px, 4.4vw, 34px);
  letter-spacing: 0;
}

body:not(.diagnosis-body) p.lead {
  color: var(--navy);
  font-size: clamp(16px, 2.2vw, 18px);
}

body:not(.diagnosis-body) .highlight,
body:not(.diagnosis-body) .emotion-ladder,
body:not(.diagnosis-body) .question,
body:not(.diagnosis-body) .story-card,
body:not(.diagnosis-body) .type-card,
body:not(.diagnosis-body) .failure-deep,
body:not(.diagnosis-body) .pillar,
body:not(.diagnosis-body) .cta-soft,
body:not(.diagnosis-body) .table-wrap {
  border-radius: 8px;
  border: 1px solid rgba(20, 36, 74, .1);
  box-shadow: 0 10px 30px rgba(20, 36, 74, .06);
}

body:not(.diagnosis-body) .highlight {
  background: #fbf8f1;
  border-color: rgba(201, 169, 97, .24);
  border-left: 0;
}

body:not(.diagnosis-body) .story-header,
body:not(.diagnosis-body) .type-head,
body:not(.diagnosis-body) th {
  background:
    linear-gradient(135deg, rgba(20, 36, 74, .96), rgba(34, 81, 94, .92)),
    url("generated/talk-skill-diagnosis-hero.png") center / cover no-repeat;
}

body:not(.diagnosis-body) .story-num,
body:not(.diagnosis-body) .question .q-num,
body:not(.diagnosis-body) .diag-mini-step span {
  border-radius: 8px;
  background: var(--navy);
  color: #f3d995;
}

body:not(.diagnosis-body) .story-result,
body:not(.diagnosis-body) .story-item,
body:not(.diagnosis-body) .type-field,
body:not(.diagnosis-body) .question .options li,
body:not(.diagnosis-body) tr:nth-child(even) td,
body:not(.diagnosis-body) .ladder-step {
  background: #fbf8f1;
}

body:not(.diagnosis-body) .story-result .num,
body:not(.diagnosis-body) .pillar .num {
  color: var(--navy);
}

body:not(.diagnosis-body) .pillar {
  border-top: 0;
  background: #fff;
}

body:not(.diagnosis-body) .pillar::before {
  content: "";
  display: block;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  margin-bottom: 14px;
}

body:not(.diagnosis-body) .mrk-box,
body:not(.diagnosis-body) .cta-box {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 36, 74, .96), rgba(34, 81, 94, .92)),
    url("generated/talk-skill-diagnosis-hero.png") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}

body:not(.diagnosis-body) .cta-box::before {
  display: none;
}

body:not(.diagnosis-body) .cta-box .cta-keyword {
  border-radius: 999px;
  background: var(--line-green);
  color: #fff;
  box-shadow: 0 12px 32px rgba(6, 199, 85, .24);
}

body:not(.diagnosis-body) .cta-soft {
  border: 2px solid rgba(6, 199, 85, .24);
  background: linear-gradient(135deg, #f3fff8, #ffffff);
  color: #087735;
}

body:not(.diagnosis-body) .checklist li {
  border-radius: 8px;
  border-color: rgba(20, 36, 74, .1);
  box-shadow: 0 10px 24px rgba(20, 36, 74, .05);
}

body:not(.diagnosis-body) .checklist li.ok {
  border-left-color: var(--line-green);
  background: linear-gradient(135deg, #f3fff8, #fff);
}

body:not(.diagnosis-body) .checklist li.ng {
  border-left-color: var(--coral);
  background: linear-gradient(135deg, #fff7f4, #fff);
}

body:not(.diagnosis-body) .doc-footer {
  background:
    linear-gradient(135deg, rgba(20, 36, 74, .98), rgba(34, 81, 94, .94)),
    url("generated/talk-skill-diagnosis-hero.png") center / cover no-repeat;
}

/* ===== SHARED BONUS NAVIGATION ===== */
.tokuten-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(20, 36, 74, .95);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 28px rgba(20, 36, 74, .16);
  backdrop-filter: blur(14px);
}

.tokuten-nav-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tokuten-nav-inner::-webkit-scrollbar {
  display: none;
}

.tokuten-nav a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, transform .16s ease, border-color .16s ease;
}

.tokuten-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.tokuten-nav a[aria-current="page"] {
  background: var(--line-green);
  border-color: var(--line-green);
  color: #fff;
  box-shadow: 0 8px 22px rgba(6, 199, 85, .25);
}

@media (max-width: 820px) {
  body:not(.diagnosis-body) .cover {
    min-height: auto;
    padding: 42px 18px 108px;
  }

  body:not(.diagnosis-body) .cover::before {
    background:
      linear-gradient(180deg, rgba(10, 20, 44, .93) 0%, rgba(10, 20, 44, .85) 54%, rgba(10, 20, 44, .7) 100%),
      url("generated/talk-skill-diagnosis-hero.png") 62% center / cover no-repeat;
  }

  body:not(.diagnosis-body) .section {
    width: min(100% - 24px, 960px);
    margin-bottom: 44px;
    padding: 24px 20px;
  }

  body:not(.diagnosis-body) .section h2 {
    font-size: clamp(22px, 7vw, 30px);
  }
}

@media print {
  .tokuten-nav {
    display: none;
  }

  body:not(.diagnosis-body) .cover {
    min-height: 460px;
    padding-bottom: 64px;
  }

  body:not(.diagnosis-body) .section {
    width: auto;
    margin: 0 auto 24px;
    box-shadow: none;
  }
}
