/* =============================================
   STORY — long-form talk script (テツさんの話)
   ============================================= */

/* ---- HERO ---- */
.story-hero {
  background: var(--navy-deep);
  color: white;
  padding: 150px clamp(24px, 6vw, 80px) clamp(70px, 9vw, 110px);
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.story-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(217,163,75,0.12), transparent 65%);
  pointer-events: none;
}
.story-hero .story-label {
  font-family: var(--font-display-en);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
  position: relative;
}
.story-hero h1 {
  font-family: var(--font-display-jp);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: white;
  line-height: 1.45;
  position: relative;
  max-width: 880px;
  margin: 0 auto 18px;
}
.story-hero .story-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--gold-bright);
  line-height: 1.9;
  font-weight: 300;
  position: relative;
}

/* ---- LEAD / INTRO BLOCK ---- */
.story-lead {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 60px) clamp(20px, 3vw, 36px);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2.0;
  color: var(--ink-soft);
}
.story-lead p { margin-bottom: 1.3em; }
.story-lead p:last-child { margin-bottom: 0; }
.story-lead strong { color: var(--navy-deep); font-weight: 700; }

/* ---- BODY ---- */
.story-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 60px) clamp(40px, 6vw, 80px);
}

/* ---- TOC ---- */
.story-toc {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 70px);
  padding: clamp(24px, 3vw, 32px) clamp(24px, 4vw, 40px);
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.story-toc .toc-label {
  font-family: var(--font-display-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.story-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: clamp(20px, 3vw, 36px);
}
@media (max-width: 640px) {
  .story-toc ol { columns: 1; }
}
.story-toc li {
  font-size: clamp(13px, 1.3vw, 14px);
  line-height: 1.9;
  margin-bottom: 6px;
  break-inside: avoid;
}
.story-toc li a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color 0.2s, border-color 0.2s;
}
.story-toc li a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.story-toc li a .num {
  font-family: var(--font-display-en);
  color: var(--gold-dim);
  font-weight: 700;
  margin-right: 10px;
  font-size: 0.85em;
}

/* ---- SECTION ---- */
.story-section {
  padding: clamp(50px, 7vw, 80px) 0 clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.story-section:first-of-type {
  border-top: none;
  padding-top: clamp(20px, 3vw, 40px);
}
.story-section .ch-num {
  font-family: var(--font-display-en);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.story-section h2 {
  font-family: var(--font-display-jp);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}
.story-section h3 {
  font-family: var(--font-display-jp);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin-top: clamp(28px, 3.5vw, 40px);
  margin-bottom: clamp(14px, 1.6vw, 18px);
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.story-section p {
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 2.05;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}
.story-section p:last-child { margin-bottom: 0; }
.story-section strong {
  color: var(--navy-deep);
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(217,163,75,0.20) 60%);
  padding: 0 2px;
}
.story-section em {
  color: var(--ink);
  font-style: normal;
  border-bottom: 1px dotted var(--gold-dim);
}

/* ---- BLOCKQUOTE (語りの中の引用) ---- */
.story-section blockquote {
  margin: clamp(20px, 3vw, 32px) 0;
  padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3vw, 32px);
  border-left: 3px solid var(--gold);
  background: var(--bg-subtle);
  font-family: var(--font-display-jp);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 1.85;
  color: var(--navy-deep);
  letter-spacing: 0.03em;
}
.story-section blockquote p {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  margin-bottom: 0.6em;
}
.story-section blockquote p:last-child { margin-bottom: 0; }
.story-section blockquote strong {
  color: var(--navy-deep);
  background: linear-gradient(transparent 55%, rgba(217,163,75,0.30) 55%);
}

/* ---- TABLE (HAiiA 3 layers etc) ---- */
.story-section table {
  width: 100%;
  border-collapse: collapse;
  margin: clamp(20px, 3vw, 32px) 0;
  font-size: clamp(13px, 1.3vw, 15px);
  background: white;
  border: 1px solid var(--line);
}
.story-section table th,
.story-section table td {
  padding: clamp(12px, 1.6vw, 16px) clamp(14px, 1.8vw, 20px);
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: top;
}
.story-section table th {
  background: var(--navy-deep);
  color: white;
  font-family: var(--font-display-jp);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.story-section table tr:last-child td { border-bottom: none; }
.story-section table td:first-child {
  font-family: var(--font-display-jp);
  font-weight: 700;
  color: var(--navy-deep);
  white-space: nowrap;
  width: 24%;
}

/* ---- LIST ---- */
.story-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-section ul li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.9;
  color: var(--ink-soft);
}
.story-section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85em;
  width: 12px; height: 1px;
  background: var(--gold);
}
.story-section ol.numbered {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  counter-reset: stnum;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-section ol.numbered li {
  position: relative;
  padding-left: 36px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.9;
  color: var(--ink-soft);
  counter-increment: stnum;
}
.story-section ol.numbered li::before {
  content: counter(stnum);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(217,163,75,0.10);
  border: 1px solid rgba(217,163,75,0.30);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25em;
}

/* ---- CALLOUT (ご注意・脚注) ---- */
.story-callout {
  margin: clamp(20px, 3vw, 28px) 0;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 26px);
  border: 1px dashed var(--gold-dim);
  background: var(--bg-card);
  font-size: clamp(13px, 1.3vw, 14.5px);
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---- ENDING / SIGNATURE ---- */
.story-end {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(50px, 7vw, 80px) clamp(24px, 6vw, 60px) clamp(20px, 3vw, 36px);
  text-align: center;
}
.story-end .sig-name {
  font-family: var(--font-display-jp);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.story-end .sig-meta {
  font-family: var(--font-display-en);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ---- CTA AT BOTTOM ---- */
.story-cta {
  background: var(--navy-darker);
  color: white;
  padding: clamp(70px, 10vw, 110px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.story-cta h2 {
  font-family: var(--font-display-jp);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  line-height: 1.6;
}
.story-cta p {
  color: rgba(255,255,255,0.7);
  font-size: clamp(14px, 1.4vw, 16px);
  margin-bottom: clamp(24px, 4vw, 36px);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}
.story-cta .cta-btn {
  display: inline-block;
  font-family: var(--font-display-en);
  font-size: clamp(13px, 1.3vw, 14px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  padding: clamp(16px, 2.2vw, 22px) clamp(32px, 5vw, 50px);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  margin: 6px;
}
.story-cta .cta-btn:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217,163,75,0.25);
}
.story-cta .cta-btn.secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.story-cta .cta-btn.secondary:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ---- ENTRY POINT (link on /about or top) ---- */
.story-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display-en);
  font-size: clamp(13px, 1.3vw, 14px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: clamp(12px, 1.8vw, 16px) clamp(20px, 3vw, 28px);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}
.story-entry-link:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217,163,75,0.25);
}
