:root {
  --navy: #10233f;
  --ink: #172033;
  --muted: #64748b;
  --line: #dbe5ef;
  --soft: #f5f8fb;
  --panel: #ffffff;
  --teal: #0f8f83;
  --teal-dark: #086f67;
  --teal-soft: #e8faf7;
  --orange: #e77b27;
  --orange-soft: #fff3e8;
  --violet: #6956b7;
  --violet-soft: #f1efff;
  --shadow: 0 18px 46px rgba(16, 35, 63, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(15,143,131,.10), transparent 29rem),
    radial-gradient(circle at 96% 18%, rgba(231,123,39,.09), transparent 25rem),
    var(--soft);
  font-family: Inter, "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(203,213,225,.85);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1160px, 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: #075f73; font-weight: 950; }
.logo img { width: 36px; height: 36px; border-radius: 11px; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: var(--muted); font-size: 13px; font-weight: 850; }
.nav a:hover, .nav a.active { color: var(--teal-dark); }
.nav .pill { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.header-back { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: 12px; font-weight: 900; white-space: nowrap; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 22px; }
.hero { padding: 40px 0 28px; }
.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 34px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
}
.hero-panel::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -120px;
  top: -150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(231,123,39,.18), transparent 67%);
}
.eyebrow { color: var(--orange); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 14px 0 16px; color: var(--navy); font-size: clamp(38px, 6vw, 66px); line-height: 1.12; letter-spacing: -.045em; }
.hero-lead { max-width: 720px; margin-bottom: 22px; color: #4c5d73; font-size: 16px; font-weight: 760; line-height: 1.9; }
.manifesto { margin: 0 0 24px; padding: 16px 18px; border-left: 5px solid var(--teal); border-radius: 6px 16px 16px 6px; background: var(--teal-soft); color: #1f5b56; font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 950;
}
.btn-primary { color: white; background: var(--teal-dark); box-shadow: 0 14px 30px rgba(8,111,103,.22); }
.btn-secondary { color: var(--teal-dark); border-color: var(--line); background: white; }
.hero-roy { position: relative; z-index: 1; justify-self: center; width: 220px; filter: drop-shadow(0 20px 24px rgba(16,35,63,.16)); }
.recommended-box {
  display: none;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #98dfd7;
  border-radius: 16px;
  color: #205e58;
  background: #f0fdfa;
  font-size: 13px;
  font-weight: 850;
}
.recommended-box.show { display: block; }

.section { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-kicker { color: var(--teal); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.section h2 { margin: 6px 0 0; color: var(--navy); font-size: clamp(27px, 4vw, 40px); line-height: 1.3; letter-spacing: -.035em; }
.section-lead { max-width: 720px; margin: 10px 0 0; color: var(--muted); font-size: 14px; font-weight: 720; }
.loop-note { padding: 15px 17px; border-radius: 16px; background: #fff7ed; color: #8a4a14; font-size: 12px; font-weight: 900; }

.phase-stack { display: grid; gap: 22px; }
.phase-card {
  scroll-margin-top: 88px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 34px rgba(16,35,63,.055);
}
.phase-card.recommended { border: 2px solid var(--teal); box-shadow: 0 18px 44px rgba(15,143,131,.16); }
.phase-head { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 18px; margin-bottom: 18px; }
.phase-num { display: grid; place-items: center; min-height: 62px; border-radius: 18px; color: var(--teal-dark); background: var(--teal-soft); font-size: 13px; font-weight: 950; }
.phase-card.action .phase-num { color: #9a5217; background: var(--orange-soft); }
.phase-card.growth .phase-num { color: #51449a; background: var(--violet-soft); }
.phase-title h3 { margin: 0; color: var(--navy); font-size: 23px; line-height: 1.35; }
.phase-title p { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; font-weight: 760; }
.phase-state { padding: 7px 11px; border-radius: 999px; color: var(--teal-dark); background: #eefbf9; font-size: 10.5px; font-weight: 900; }
.lesson-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.lesson-card, .lesson-soon {
  min-height: 112px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdff;
}
.lesson-card { transition: transform .16s, border-color .16s, box-shadow .16s; }
.lesson-card:hover { transform: translateY(-2px); border-color: #85d7cf; box-shadow: 0 10px 22px rgba(15,143,131,.10); }
.lesson-card strong, .lesson-soon strong { display: block; margin-bottom: 6px; color: var(--teal-dark); font-size: 11px; }
.lesson-card span, .lesson-soon span { display: block; color: var(--navy); font-size: 12.5px; font-weight: 900; line-height: 1.5; }
.lesson-card small, .lesson-soon small { display: block; margin-top: 7px; color: var(--muted); font-size: 9.5px; font-weight: 850; }
.lesson-card.live { border-color: #8adbd3; background: #f0fdfa; }
.lesson-card.live small { color: var(--teal-dark); }
.lesson-soon { opacity: .78; }

.book-shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.book-card { padding: 16px; border: 1px solid #eadfce; border-radius: 17px; background: #fffaf4; }
.book-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; }
.book-meta span { padding: 4px 8px; border-radius: 999px; color: #925015; background: #ffead5; font-size: 9.5px; font-weight: 900; }
.book-card h4 { margin: 0 0 10px; color: var(--navy); font-size: 15px; line-height: 1.5; }
.book-card dl { margin: 0; display: grid; gap: 8px; }
.book-card dt { color: #9b591e; font-size: 9.5px; font-weight: 950; letter-spacing: .04em; }
.book-card dd { margin: 1px 0 0; color: #566477; font-size: 11px; font-weight: 720; line-height: 1.65; }
.book-link { display: inline-flex; margin-top: 11px; color: var(--teal-dark); font-size: 11px; font-weight: 950; text-decoration: underline; text-underline-offset: 3px; }

/* 事業の教科書・全体マップ専用。レッスン本文の配色には影響させない。 */
.business-map-page {
  --roy-red: #de080c;
  --roy-dark: #a5080b;
  --roy-soft: #fff1f0;
  --roy-line: #f3b5b6;
  background:
    radial-gradient(circle at 5% 0%, rgba(222,8,12,.09), transparent 28rem),
    linear-gradient(180deg, #fff8f7 0%, #f8fafc 42%, #f5f8fb 100%);
}
.business-map-page .logo { color: #8f1013; }
.business-map-page .header-back:hover { color: var(--roy-red); border-color: var(--roy-line); }
.business-map-page .hero { padding-top: 28px; }
.business-map-page .hero-panel { border-color: #efcbcc; background: rgba(255,255,255,.97); }
.business-map-page .hero-panel::after { background: radial-gradient(circle, rgba(222,8,12,.16), transparent 67%); }
.business-map-page .eyebrow,
.business-map-page .section-kicker { color: var(--roy-red); }
.business-map-page .manifesto { border-left-color: var(--roy-red); color: #72191b; background: var(--roy-soft); }
.business-map-page .btn-primary { background: var(--roy-red); box-shadow: 0 14px 30px rgba(222,8,12,.2); }
.business-map-page .btn-secondary { color: var(--roy-dark); border-color: var(--roy-line); }
.business-map-page .recommended-box { color: #7d1518; border-color: var(--roy-line); background: var(--roy-soft); }
.business-map-page .books-shortcut { display: inline-flex; margin-top: 13px; color: #7f3032; font-size: 11px; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.business-map-page .section { padding: 34px 0; }
.business-map-page .phase-overview {
  position: sticky;
  top: 76px;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 30px;
  padding: 9px;
  border: 1px solid #ead5d6;
  border-radius: 20px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 12px 28px rgba(61,21,23,.07);
  backdrop-filter: blur(14px);
}
.business-map-page .phase-overview a { display: grid; justify-items: center; gap: 1px; padding: 8px 5px; border-radius: 12px; color: #7e3335; background: #fff5f4; font-weight: 900; }
.business-map-page .phase-overview a:hover { color: #fff; background: var(--roy-red); }
.business-map-page .phase-overview small { font-size: 10px; }
.business-map-page .phase-overview span { font-size: 11px; }
.business-map-page .phase-stack { gap: 16px; }
.business-map-page .part-head { display: flex; align-items: center; gap: 13px; margin: 28px 0 2px; padding-top: 8px; }
.business-map-page .part-head:first-child { margin-top: 0; }
.business-map-page .part-pill { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; color: #fff; background: var(--roy-red); font-size: 12px; font-weight: 950; }
.business-map-page .part-head h2 { margin: 0; font-size: clamp(23px, 3vw, 31px); }
.business-map-page .part-head p { margin: 2px 0 0; color: var(--muted); font-size: 12px; font-weight: 750; }
.business-map-page .part-action .part-pill { background: #b20a0d; }
.business-map-page .part-growth .part-pill { background: #7d1114; }
.business-map-page .phase-card { scroll-margin-top: 152px; padding: 0; overflow: hidden; border-color: #e4cfd0; box-shadow: 0 12px 32px rgba(70,20,22,.055); }
.business-map-page .phase-card.recommended { border-color: var(--roy-red); box-shadow: 0 18px 44px rgba(222,8,12,.15); }
.business-map-page .phase-head { grid-template-columns: 120px 1fr auto; margin: 0; padding: 18px 20px; border-bottom: 1px solid #eed8d9; background: linear-gradient(90deg, #fff1f0, #fffafa); }
.business-map-page .phase-card.action .phase-head { background: linear-gradient(90deg, #ffe7e5, #fff9f8); }
.business-map-page .phase-card.growth .phase-head { background: linear-gradient(90deg, #f8dedd, #fff8f7); }
.business-map-page .phase-num,
.business-map-page .phase-card.action .phase-num,
.business-map-page .phase-card.growth .phase-num { min-height: 48px; color: #fff; background: var(--roy-red); border-radius: 14px; }
.business-map-page .phase-card.action .phase-num { background: #b20a0d; }
.business-map-page .phase-card.growth .phase-num { background: #7d1114; }
.business-map-page .phase-state { color: #9a1518; background: #fff; border: 1px solid var(--roy-line); }
.business-map-page .lesson-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 18px 20px 20px; }
.business-map-page .lesson-card,
.business-map-page .lesson-soon { min-height: 104px; border-color: #dfd3d4; background: #fff; }
.business-map-page .lesson-card strong,
.business-map-page .lesson-soon strong { color: var(--roy-dark); }
.business-map-page .lesson-card:hover { border-color: var(--roy-red); box-shadow: 0 10px 22px rgba(222,8,12,.1); }
.business-map-page .lesson-card.live { border-color: var(--roy-red); background: var(--roy-soft); }
.business-map-page .lesson-card.live small { color: var(--roy-dark); }
.business-map-page .phase-books { margin: 0 20px 20px; border: 1px solid #ead9da; border-radius: 14px; background: #fffaf9; }
.business-map-page .phase-books summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; color: #7d3335; cursor: pointer; list-style: none; font-size: 11px; font-weight: 900; }
.business-map-page .phase-books summary::-webkit-details-marker { display: none; }
.business-map-page .phase-books summary::after { content: "＋"; color: var(--roy-red); font-size: 16px; }
.business-map-page .phase-books[open] summary::after { content: "−"; }
.business-map-page .phase-books summary span { margin-left: auto; color: var(--muted); font-size: 10px; }
.business-map-page .phase-books .book-shelf { margin: 0; padding: 0 12px 12px; }
.business-map-page .book-link { color: var(--roy-dark); }
.business-map-page .books-section { scroll-margin-top: 86px; padding-top: 24px; }
.business-map-page .books-heading { max-width: 720px; margin: 0 auto 20px; text-align: center; }
.business-map-page .books-heading h2 { margin-top: 5px; }
.business-map-page .books-heading p { margin: 9px 0 0; color: var(--muted); font-size: 12px; font-weight: 720; }
.business-map-page .reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.business-map-page .reference-book-card { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 13px; padding: 14px; border: 1px solid #e1d7d8; border-radius: 17px; background: #fff; box-shadow: 0 8px 22px rgba(70,20,22,.045); }
.business-map-page .book-cover-link { align-self: start; overflow: hidden; border-radius: 6px; background: #f1f5f9; box-shadow: 0 7px 16px rgba(16,35,63,.12); }
.business-map-page .book-cover-link img { width: 100%; aspect-ratio: 2 / 2.92; object-fit: cover; }
.business-map-page .reference-copy { display: flex; min-width: 0; flex-direction: column; }
.business-map-page .reference-copy h3 { margin: 0 0 5px; color: var(--navy); font-size: 13px; line-height: 1.45; }
.business-map-page .reference-copy p { margin: 0 0 9px; color: var(--muted); font-size: 10px; font-weight: 720; line-height: 1.55; }
.business-map-page .reference-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.business-map-page .reference-link { display: inline-flex; align-items: center; min-height: 29px; padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--roy-red); font-size: 9px; font-weight: 900; }
.business-map-page .reference-link.secondary { color: var(--roy-dark); border: 1px solid var(--roy-line); background: #fff; }
.business-map-page .principle-panel { background: linear-gradient(135deg, #2b1115, #720b0e); }
.business-map-page .principle-panel .btn-primary { background: #fff; color: var(--roy-dark); box-shadow: none; }
.business-map-page .principle-roy-dialogue { grid-template-columns: 86px minmax(0,1fr); margin-top: 18px; }
.business-map-page .principle-roy-dialogue .roy-speaker img { width: 82px; max-height: 98px; }
.business-map-page .principle-roy-dialogue .roy-speaker strong { color: #fff5e8; }
.business-map-page .principle-roy-dialogue .roy-bubble { padding: 17px 19px; border: 1px solid rgba(255,255,255,.78); border-radius: 20px 20px 20px 7px; background: #fff5f5; box-shadow: 0 14px 30px rgba(18,3,4,.2); }
.business-map-page .principle-roy-dialogue .roy-bubble::before { top: 35%; border-color: transparent #fff5f5 transparent transparent; }
.business-map-page .principle-roy-dialogue .roy-bubble p { color: #641014; font-size: 14px; line-height: 1.8; }

.principle-panel { padding: 26px; border-radius: 24px; color: white; background: linear-gradient(135deg, #13243f, #0d514d); box-shadow: var(--shadow); }
.principle-panel h2 { color: white; }
.principle-panel p { color: #dcefeb; }
.formula { margin: 20px 0; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 17px; background: rgba(255,255,255,.08); font-size: clamp(16px, 2.4vw, 22px); font-weight: 950; line-height: 1.7; }
.roy-line { margin: 12px 0 0; padding-left: 16px; border-left: 4px solid #ffb568; color: #fff5e8 !important; font-weight: 900; }

.lesson-main { padding: 42px 0 70px; }
.breadcrumb { margin-bottom: 20px; color: var(--muted); font-size: 12px; font-weight: 800; }
.breadcrumb a { color: var(--teal-dark); }
.lesson-hero { padding: clamp(26px, 5vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.lesson-hero-grid { display: grid; grid-template-columns: 1fr 150px; gap: 24px; align-items: center; }
.lesson-label { color: var(--orange); font-size: 12px; font-weight: 950; letter-spacing: .08em; }
.lesson-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.lesson-hero .goal { margin: 18px 0 0; padding: 15px 17px; border-radius: 16px; color: #245f59; background: var(--teal-soft); font-weight: 850; }
.lesson-roy { width: 140px; justify-self: center; filter: drop-shadow(0 14px 20px rgba(16,35,63,.14)); }
.content-block { margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 23px; background: white; }
.content-block h2 { margin-bottom: 14px; font-size: clamp(23px, 3vw, 31px); }
.content-block h3 { margin: 22px 0 8px; color: var(--navy); }
.content-block p, .content-block li { color: #4d5c70; font-size: 14px; font-weight: 700; }
.four-grid, .segment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini-card { padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: #fbfdff; }
.mini-card strong { display: block; margin-bottom: 5px; color: var(--teal-dark); }
.case-card { padding: 20px; border-radius: 18px; background: #fff7ed; }
.case-card strong { color: #934d13; }
.delivery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.delivery-card { padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: #fbfdff; }
.delivery-card.dwy { border-color: #a8ddd8; background: #f0fdfa; }
.delivery-card.dfy { border-color: #f2c89e; background: #fff8f1; }
.delivery-code { display: inline-flex; margin-bottom: 8px; padding: 4px 9px; border-radius: 999px; color: var(--teal-dark); background: var(--teal-soft); font-size: 11px; font-weight: 950; }
.delivery-card.dfy .delivery-code { color: #925015; background: #ffead5; }
.delivery-card h3 { margin: 0 0 7px; font-size: 17px; }
.delivery-card p { min-height: 74px; }
.delivery-card dl { display: grid; gap: 7px; margin: 15px 0 0; }
.delivery-card dl div { display: flex; justify-content: space-between; gap: 10px; padding-top: 7px; border-top: 1px solid rgba(203,213,225,.75); }
.delivery-card dt { color: var(--muted); font-size: 10.5px; font-weight: 850; }
.delivery-card dd { margin: 0; color: var(--navy); font-size: 11px; font-weight: 950; }
.route-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 19px; }
.route-flow div { position: relative; padding: 17px 14px; border: 1px solid #a8ddd8; border-radius: 16px; background: #f0fdfa; }
.route-flow div:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -13px; width: 17px; color: var(--orange); background: var(--soft); text-align: center; transform: translateY(-50%); font-weight: 950; }
.route-flow strong, .route-flow span { display: block; }
.route-flow strong { color: var(--teal-dark); font-size: 12px; }
.route-flow span { margin-top: 5px; color: var(--navy); font-size: 11px; font-weight: 850; }
.roy-callout { margin-top: 18px; padding: 15px 17px; border-left: 5px solid var(--orange); border-radius: 6px 14px 14px 6px; color: #713e17 !important; background: var(--orange-soft); font-weight: 900 !important; }
.roy-dialogue { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 18px; margin-top: 22px; }
.roy-dialogue.compact { grid-template-columns: 78px minmax(0, 1fr); margin-top: 18px; }
.roy-speaker { display: grid; justify-items: center; align-content: center; }
.roy-speaker img { width: 94px; max-height: 112px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(16,35,63,.12)); }
.roy-dialogue.compact .roy-speaker img { width: 72px; max-height: 86px; }
.roy-speaker strong { margin-top: 4px; color: var(--navy); font-size: 11px; }
.roy-bubble { position: relative; padding: 20px 22px; border: 1px solid #b90a0e; border-radius: 22px 22px 22px 7px; color: white; background: linear-gradient(135deg, #8f070a, #5f1315); box-shadow: 0 16px 34px rgba(143,7,10,.18); }
.roy-bubble::before { content: ""; position: absolute; left: -15px; top: 34%; border-width: 10px 15px 10px 0; border-style: solid; border-color: transparent #8f070a transparent transparent; transform: translateY(-50%); }
.roy-bubble p { margin: 0; color: #fff8f2; font-size: 14px; font-weight: 900; line-height: 1.8; }
.roy-bubble p + p { margin-top: 10px; }
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.role-card { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdff; }
.role-card strong, .role-card span { display: block; }
.role-card strong { margin-bottom: 5px; color: var(--teal-dark); font-size: 12px; }
.role-card span { color: #4d5c70; font-size: 11px; font-weight: 750; line-height: 1.65; }
.launch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.launch-card { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fbfdff; }
.launch-card strong, .launch-card span, .launch-card small { display: block; }
.launch-card strong { color: var(--teal-dark); font-size: 11px; }
.launch-card span { margin-top: 7px; color: var(--navy); font-size: 15px; font-weight: 950; }
.launch-card small { margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 750; line-height: 1.6; }
.metric-funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 18px; }
.metric-funnel div { position: relative; padding: 16px 12px; border-radius: 15px; color: #235f59; background: #dcf7f2; }
.metric-funnel div:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -10px; color: var(--orange); transform: translateY(-50%); font-weight: 950; }
.metric-funnel .process { color: #536176; background: #edf1f5; }
.metric-funnel .reference { color: #8a4a14; background: #fff3e8; }
.metric-funnel .proof { color: white; background: var(--teal-dark); }
.metric-funnel strong, .metric-funnel span { display: block; }
.metric-funnel strong { font-size: 11px; }
.metric-funnel span { margin-top: 5px; font-size: 9.5px; font-weight: 750; line-height: 1.5; }
.deadline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.deadline-grid article { padding: 18px; border: 1px solid #a8ddd8; border-radius: 17px; background: #f0fdfa; }
.deadline-grid strong, .deadline-grid span { display: block; }
.deadline-grid strong { color: var(--teal-dark); font-size: 13px; }
.deadline-grid span { margin-top: 5px; color: #4d5c70; font-size: 11px; font-weight: 750; }
.metric-input-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.date-summary { padding: 13px 15px; border-radius: 13px; color: #6f481f; background: #fff7ed; font-size: 11px; font-weight: 800; }
.date-summary strong { color: #935116; }
.source-funnel-figure { margin: 22px 0 0; }
.source-funnel-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); -webkit-overflow-scrolling: touch; }
.source-funnel-scroll a { display: block; }
.source-funnel-scroll img { width: 100%; max-width: none; height: auto; }
.source-funnel-scroll:focus-visible { outline: 3px solid rgba(15,143,131,.35); outline-offset: 3px; }
.source-funnel-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; font-weight: 750; text-align: center; }
.mobile-scroll-note { display: none; }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.job-card { padding: 19px; border: 1px solid var(--line); border-top: 5px solid currentColor; border-radius: 17px; background: #fbfdff; }
.job-card.marketing { color: #0877b8; }
.job-card.sales { color: #d35422; }
.job-card.success { color: #5a34ad; }
.job-card > span { font-size: 9px; font-weight: 950; letter-spacing: .08em; }
.job-card h3 { margin: 5px 0 8px; color: var(--navy); font-size: 18px; }
.job-card p { min-height: 74px; margin-bottom: 13px; }
.job-card strong { display: block; font-size: 10px; }
.job-card small { display: block; margin-top: 3px; color: #526176; font-size: 10px; font-weight: 750; line-height: 1.55; }
.diagnosis-table { margin-top: 18px; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.diagnosis-row { display: grid; grid-template-columns: 1.15fr 2fr .65fr; align-items: center; gap: 12px; padding: 13px 15px; border-top: 1px solid var(--line); }
.diagnosis-row:first-child { border-top: 0; }
.diagnosis-row:nth-child(odd):not(.head) { background: #f8fbfd; }
.diagnosis-row.head { color: white; background: var(--navy); font-size: 10px; font-weight: 900; }
.diagnosis-row strong { color: var(--navy); font-size: 11px; }
.diagnosis-row span { color: #4d5c70; font-size: 10.5px; font-weight: 750; }
.diagnosis-row small { padding: 5px 8px; border-radius: 999px; color: var(--teal-dark); background: var(--teal-soft); text-align: center; font-size: 9px; font-weight: 900; }
.funnel-input-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.conversion-summary { padding: 13px 15px; border-radius: 13px; color: #275f5a; background: var(--teal-soft); font-size: 11px; font-weight: 800; }
.conversion-summary strong { color: var(--teal-dark); }
.evidence-ladder { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin-top: 18px; }
.evidence-step { position: relative; padding: 13px 8px; border-radius: 13px; color: #64748b; background: #eef2f6; text-align: center; font-size: 10px; font-weight: 900; }
.evidence-step:nth-child(n+4) { color: #235f59; background: #dcf7f2; }
.evidence-step:last-child { color: white; background: var(--teal-dark); }
.worksheet { display: grid; gap: 13px; }
.field label { display: block; margin-bottom: 5px; color: var(--navy); font-size: 12px; font-weight: 900; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; }
.field textarea { min-height: 84px; resize: vertical; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ai-start-panel { margin-bottom: 5px; padding: 20px; border: 1px solid #96ddd5; border-radius: 18px; background: linear-gradient(135deg, #e8faf7, #f7fffd); }
.ai-start-panel > strong { display: block; color: var(--teal-dark); font-size: 17px; }
.ai-start-panel > p { margin: 6px 0 14px; color: #3d625f; font-size: 12.5px; }
.ai-start-panel .status-message { margin-bottom: -8px; }
.worksheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.save-note { color: var(--muted); font-size: 11px; font-weight: 750; }
.status-message { min-height: 24px; margin-top: 8px; color: var(--teal-dark); font-size: 12px; font-weight: 900; }
.gate { border: 2px solid #8bdad2; background: #f0fdfa; }
.gate ul { margin-bottom: 0; }
.next-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

.site-footer { margin-top: 34px; padding: 28px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 700; }

@media (max-width: 900px) {
  .lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-card p { min-height: auto; }
  .role-grid, .launch-grid, .metric-input-grid, .funnel-input-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-funnel { grid-template-columns: 1fr; }
  .metric-funnel div:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -10px; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .header-inner { padding: 10px 14px; }
  .nav a:not(.pill) { display: none; }
  .wrap { padding: 0 14px; }
  .hero { padding-top: 20px; }
  .hero-panel, .lesson-hero-grid { grid-template-columns: 1fr; }
  .hero-roy { width: 150px; }
  .lesson-roy { width: 110px; order: -1; }
  .section-head { align-items: start; flex-direction: column; }
  .phase-card { padding: 18px; }
  .phase-head { grid-template-columns: 68px 1fr; gap: 12px; }
  .phase-state { grid-column: 1 / -1; justify-self: start; }
  .lesson-grid, .book-shelf, .four-grid, .segment-grid, .role-grid, .field-pair, .launch-grid, .metric-input-grid, .deadline-grid, .job-grid, .funnel-input-grid { grid-template-columns: 1fr; }
  .lesson-card, .lesson-soon { min-height: auto; }
  .evidence-ladder { grid-template-columns: 1fr; }
  .evidence-step { text-align: left; }
  .route-flow { grid-template-columns: 1fr; }
  .route-flow div:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -17px; left: 50%; width: 20px; transform: translateX(-50%); }
  .roy-dialogue, .roy-dialogue.compact { grid-template-columns: 66px minmax(0, 1fr); gap: 10px; }
  .roy-speaker img, .roy-dialogue.compact .roy-speaker img { width: 62px; max-height: 76px; }
  .roy-bubble { padding: 16px; border-radius: 18px 18px 18px 6px; }
  .roy-bubble p { font-size: 12.5px; }
  .roy-bubble::before { left: -10px; top: 36%; border-width: 8px 11px 8px 0; }
  .business-map-page .principle-roy-dialogue { grid-template-columns: 58px minmax(0,1fr); gap: 9px; }
  .business-map-page .principle-roy-dialogue .roy-speaker img { width: 56px; max-height: 70px; }
  .business-map-page .principle-roy-dialogue .roy-bubble { padding: 13px 14px; }
  .business-map-page .principle-roy-dialogue .roy-bubble p { font-size: 12px; line-height: 1.7; }
  .source-funnel-scroll img { width: 940px; }
  .mobile-scroll-note { display: inline; }
  .job-card p { min-height: auto; }
  .diagnosis-row, .diagnosis-row.head { grid-template-columns: 1fr; gap: 5px; }
  .diagnosis-row.head { display: none; }
  .diagnosis-row { padding: 15px; }
  .diagnosis-row small { justify-self: start; }
  .next-row { flex-direction: column; }
  .business-map-page .header-inner { min-height: 60px; }
  .business-map-page .logo img { width: 32px; height: 32px; }
  .business-map-page .header-back { min-height: 34px; padding: 6px 11px; font-size: 10.5px; }
  .business-map-page .hero-panel { gap: 12px; padding: 24px 20px; border-radius: 22px; }
  .business-map-page h1 { font-size: clamp(36px, 12vw, 49px); }
  .business-map-page .hero-lead { font-size: 14px; line-height: 1.8; }
  .business-map-page .hero-roy { width: 124px; }
  .business-map-page .hero-actions .btn { flex: 1 1 140px; min-height: 46px; padding: 10px 14px; font-size: 12px; }
  .business-map-page .section-head { margin-bottom: 16px; }
  .business-map-page .loop-note { width: 100%; }
  .business-map-page .phase-overview { top: 68px; gap: 4px; margin-inline: -4px; padding: 6px; border-radius: 15px; }
  .business-map-page .phase-overview a { padding: 7px 2px; }
  .business-map-page .phase-overview span { font-size: 9px; }
  .business-map-page .part-head { align-items: flex-start; margin-top: 24px; }
  .business-map-page .part-head p { font-size: 10.5px; line-height: 1.55; }
  .business-map-page .phase-head { grid-template-columns: 74px 1fr; padding: 15px; gap: 10px; }
  .business-map-page .phase-title h3 { font-size: 18px; }
  .business-map-page .phase-title p { font-size: 10.5px; }
  .business-map-page .phase-state { grid-column: 1 / -1; margin-top: -2px; }
  .business-map-page .lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px; }
  .business-map-page .lesson-card,
  .business-map-page .lesson-soon { min-height: 112px; padding: 11px; }
  .business-map-page .lesson-card span,
  .business-map-page .lesson-soon span { font-size: 11px; }
  .business-map-page .phase-books { margin: 0 14px 14px; }
  .business-map-page .phase-books .book-shelf { grid-template-columns: 1fr; }
  .business-map-page .phase-card { scroll-margin-top: 148px; }
  .business-map-page .books-section { scroll-margin-top: 72px; }
  .business-map-page .books-heading { text-align: left; }
  .business-map-page .reference-grid { grid-template-columns: 1fr; gap: 9px; }
  .business-map-page .reference-book-card { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 11px; }
  .business-map-page .reference-copy h3 { font-size: 12px; }
  .business-map-page .reference-copy p { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
