:root {
  --night: #18262d;
  --night-soft: #2c3d45;
  --sky: #dce9ec;
  --ice: #edf5f6;
  --paper: #f7f7f2;
  --white: #ffffff;
  --ink: #182126;
  --muted: #5c686d;
  --purple: #623650;
  --purple-deep: #442338;
  --gold: #e4a63a;
  --gold-pale: #f4d48e;
  --line: rgba(24, 38, 45, 0.17);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
  --number: Bahnschrift, "Arial Narrow", sans-serif;
  --wide: 1240px;
  --content: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 2;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--night);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; z-index: 80; inset: 0 0 auto; height: 4px; background: rgba(255,255,255,.12); }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--gold); }

.site-header {
  width: min(calc(100% - 48px), var(--wide));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: white;
  position: relative;
  z-index: 10;
}
.site-name,
.header-jump { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.site-name { display: flex; gap: 10px; align-items: center; }
.site-mark { color: var(--gold); font-size: 10px; box-shadow: 0 0 0 5px rgba(228,166,58,.14); border-radius: 50%; }
.header-jump { border-bottom: 1px solid rgba(255,255,255,.55); }

.hero {
  min-height: 780px;
  margin-top: -76px;
  padding: 122px max(24px, calc((100vw - var(--wide)) / 2)) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  background: var(--night);
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -13vw;
  bottom: -24vw;
  width: 57vw;
  height: 57vw;
  border: 1px solid rgba(220,233,236,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(220,233,236,.025), 0 0 0 16vw rgba(220,233,236,.018);
}
.hero-image { position: relative; }
.hero-image::before {
  content: "翌朝 07:10";
  position: absolute;
  z-index: 2;
  top: -18px;
  left: -20px;
  padding: 10px 15px;
  background: var(--gold);
  color: var(--night);
  font: 700 12px/1 var(--number);
  letter-spacing: .12em;
}
.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 24px 24px 0 rgba(220,233,236,.1);
}
.hero-copy { max-width: 520px; }
.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--number);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 5.2vw, 79px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.04em;
}
.hero h1 em { color: var(--gold-pale); font-style: normal; }
.hero-lead { max-width: 390px; margin: 28px 0 36px; color: #d8e1e3; font-family: var(--serif); font-size: 18px; line-height: 1.8; }

.overnight-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  max-width: 430px;
}
.overnight-line div { display: grid; grid-template-columns: 26px auto; column-gap: 8px; align-items: center; }
.overnight-line span { grid-row: 1 / 3; color: var(--gold); font-size: 18px; }
.overnight-line b { font-size: 12px; line-height: 1.2; }
.overnight-line small { color: #9fb0b7; font-size: 10px; line-height: 1.2; }
.overnight-line i { height: 1px; margin: 0 10px; background: linear-gradient(90deg, var(--gold), var(--sky)); position: relative; }
.overnight-line i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }

.story-opening {
  padding: 110px 24px;
  background: linear-gradient(90deg, var(--purple-deep), var(--night-soft));
  color: white;
  text-align: center;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.9;
}
.story-opening p { max-width: 810px; margin: 0 auto; }
.story-opening p + p { margin-top: 20px; }
.story-opening p:last-child { color: var(--gold-pale); }

.article-layout {
  width: min(calc(100% - 48px), 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px minmax(0, var(--content));
  gap: 90px;
  justify-content: center;
}
.toc { position: sticky; top: 44px; align-self: start; margin-top: 118px; padding-top: 16px; border-top: 3px solid var(--purple); }
.toc > p { margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.toc nav { display: grid; }
.toc a { padding: 7px 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a:hover { color: var(--purple); }

.article-body { min-width: 0; }
.article-section { padding: 108px 0; border-bottom: 1px solid var(--line); }
.article-section h2 { margin: 0 0 42px; font-family: var(--serif); font-size: clamp(33px, 4vw, 48px); line-height: 1.48; letter-spacing: -.025em; }
.article-section h3 { font-family: var(--serif); }
.article-section > p { margin: 0; }
.article-section > p + p { margin-top: 25px; }
.article-section strong { background: linear-gradient(transparent 65%, rgba(228,166,58,.28) 0); }

.answer-section { padding-top: 125px; }
.answer-flow { margin: 44px 0; padding: 28px 22px; display: flex; align-items: center; justify-content: center; gap: 13px; background: var(--ice); border: 1px solid #cadbdd; font-family: var(--serif); }
.answer-flow i { color: #8fa5ad; font-style: normal; }
.answer-flow strong { padding: 5px 10px; background: var(--purple); color: white; }
.plain-note { margin-top: 42px; padding: 26px 30px; border: 1px solid var(--purple); box-shadow: 8px 8px 0 rgba(98,54,80,.12); }
.plain-note span { display: block; margin-bottom: 7px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.plain-note p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.8; }

.term-card { margin: 38px 0; padding: 24px 28px; display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: 24px; background: var(--night); color: white; }
.term-card.compact { margin-top: 32px; }
.term { color: var(--gold-pale); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.term-card p { margin: 0; color: #d6e0e3; font-size: 13px; line-height: 1.7; }

.chain-section { display: grid; grid-template-columns: 1fr 230px; gap: 45px; }
.chain-section blockquote,
.chain-section > p { grid-column: 1 / -1; }
.chain-figure { margin: 0; align-self: center; padding: 26px 20px; background: var(--ice); text-align: center; }
.chain-figure figcaption { margin-top: 8px; font-family: var(--serif); font-weight: 700; line-height: 1.5; }
.chain-figure figcaption small { color: var(--muted); font-family: var(--sans); font-size: 10px; font-weight: 400; }
.chain-figure > b { display: block; margin: 15px 0; color: #6f8993; font: 700 10px/1 var(--sans); }
.chain { height: 56px; display: flex; align-items: center; justify-content: center; }
.chain span { width: 25px; height: 25px; border: 3px solid var(--purple); border-radius: 50%; position: relative; }
.chain span + span::before { content: ""; position: absolute; width: 12px; height: 3px; right: 19px; top: 8px; background: var(--purple); transform-origin: right; }
.chain.hot span:nth-child(2) { transform: translateY(-13px); }
.chain.hot span:nth-child(3) { transform: translateY(8px); }
.chain.hot span:nth-child(4) { transform: translateY(-5px); }
.chain.hot span:nth-child(5) { transform: translateY(14px); }
.chain.hot span:nth-child(2)::before { transform: rotate(-31deg); }
.chain.hot span:nth-child(3)::before { transform: rotate(43deg); }
.chain.hot span:nth-child(4)::before { transform: rotate(-29deg); }
.chain.hot span:nth-child(5)::before { transform: rotate(42deg); }
.chain.cold span { border-color: var(--night-soft); }
.chain.cold span + span::before { background: var(--night-soft); }
blockquote { margin: 50px 0 36px; padding: 24px 30px; border-left: 8px solid var(--gold); background: var(--white); font-family: var(--serif); font-size: 22px; line-height: 1.8; }
blockquote p { margin: 0; }

.evidence-section { margin-left: -56px; margin-right: -56px; padding-left: 56px; padding-right: 56px; background: var(--sky); border-bottom: 0; }
.evidence-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(24,38,45,.18); border: 1px solid rgba(24,38,45,.18); }
.evidence-list article { padding: 28px 22px; background: var(--paper); }
.evidence-list article.caution { background: var(--night); color: white; }
.evidence-label { margin: 0 0 12px; color: var(--purple); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.caution .evidence-label { color: var(--gold-pale); }
.evidence-list article > strong { display: block; margin-bottom: 12px; background: none; color: var(--purple); font: 700 38px/1 var(--number); }
.evidence-list article.caution > strong { color: var(--gold-pale); }
.evidence-list strong small { font-size: 15px; }
.evidence-list h3 { min-height: 3.8em; margin: 0 0 12px; font-size: 17px; line-height: 1.65; }
.evidence-list article > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.evidence-list .caution > p:last-child { color: #ced9dc; }
.verdict { margin-top: 42px; background: white; }
.verdict div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: center; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.verdict span { color: var(--purple); font-size: 10px; font-weight: 700; }
.verdict p { margin: 0; font-size: 13px; line-height: 1.65; }

.myths-section { position: relative; }
.myth-answer { margin: 38px 0; padding: 30px; display: flex; align-items: center; justify-content: space-between; background: var(--purple); color: white; }
.myth-answer span { font-family: var(--serif); font-size: 20px; }
.myth-answer strong { background: none; color: var(--gold-pale); font-family: var(--serif); font-size: 32px; }
.medical-note { margin-top: 36px; padding: 20px 24px; background: var(--ice); border-left: 5px solid var(--night-soft); color: var(--muted); font-size: 13px; line-height: 1.8; }

.method-section { margin-left: -56px; margin-right: -56px; padding: 84px 56px; background: var(--white); border: 1px solid var(--line); box-shadow: 14px 14px 0 var(--purple-deep); }
.method-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.method-heading > p { margin-bottom: 48px; color: var(--muted); font-family: var(--serif); font-size: 14px; line-height: 1.7; }
.recipe-layout { display: grid; grid-template-columns: .7fr 1.4fr; gap: 48px; }
.ingredients h3 { margin: 0 0 18px; font-size: 21px; }
.ingredients dl { margin: 0; border-top: 2px solid var(--night); }
.ingredients dl div { padding: 12px 3px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.ingredients dt,
.ingredients dd { margin: 0; }
.ingredients dd { font-family: var(--number); font-weight: 700; }
.ingredients > p { color: var(--muted); font-size: 11px; line-height: 1.75; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--night); }
.steps li { padding: 14px 0; display: grid; grid-template-columns: 36px 1fr; gap: 13px; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--purple); font: 700 11px/2 var(--number); }
.steps h3 { margin: 0 0 2px; font-size: 16px; }
.steps p { margin: 0; font-size: 13px; line-height: 1.75; }
.safety-box { margin-top: 44px; padding: 25px 28px; background: var(--night); color: white; }
.safety-box strong { display: block; background: none; color: var(--gold-pale); font-family: var(--serif); font-size: 20px; }
.safety-box p { margin: 8px 0 0; color: #d7e1e4; font-size: 13px; line-height: 1.8; }

.closing-section { padding-top: 130px; }
.closing-section .last-line { margin-top: 38px; color: var(--purple-deep); font-family: var(--serif); font-size: 23px; font-weight: 700; line-height: 1.8; }
.references-section ol { padding-left: 1.4em; }
.references-section li { padding: 7px 0; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.references-section a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.references-section a:hover { color: var(--purple); }
.disclaimer { margin-top: 34px !important; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }

.site-footer { width: min(calc(100% - 48px), var(--wide)); margin: 0 auto; padding: 45px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 11px; }
.site-footer p { margin: 0; font-weight: 700; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 125px; }
  .hero-image { max-width: 760px; }
  .hero-copy { max-width: 760px; }
  .article-layout { grid-template-columns: minmax(0, var(--content)); }
  .toc { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; line-height: 1.9; }
  .site-header { width: min(calc(100% - 28px), var(--wide)); height: 66px; }
  .hero { min-height: auto; margin-top: -66px; padding: 100px 14px 64px; gap: 58px; }
  .hero-image::before { top: -12px; left: 10px; }
  .hero-image img { aspect-ratio: 4 / 5; box-shadow: 11px 11px 0 rgba(220,233,236,.1); }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .overnight-line { max-width: none; }
  .overnight-line div { grid-template-columns: 20px auto; column-gap: 4px; }
  .story-opening { padding: 80px 22px; font-size: 20px; }
  .article-layout { width: min(calc(100% - 36px), var(--content)); }
  .article-section { padding: 82px 0; }
  .article-section h2 { font-size: 31px; margin-bottom: 30px; }
  .answer-flow { flex-wrap: wrap; padding: 22px 13px; font-size: 13px; }
  .term-card { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .chain-section { grid-template-columns: 1fr; }
  .chain-section blockquote,
  .chain-section > p { grid-column: auto; }
  blockquote { margin-block: 32px; padding: 20px 22px; font-size: 19px; }
  .evidence-section,
  .method-section { margin-left: -7px; margin-right: -7px; padding-left: 20px; padding-right: 20px; }
  .evidence-list { grid-template-columns: 1fr; }
  .evidence-list h3 { min-height: 0; }
  .verdict div { grid-template-columns: 72px 1fr; gap: 12px; }
  .myth-answer { padding: 23px 18px; }
  .myth-answer span { font-size: 16px; }
  .myth-answer strong { font-size: 25px; }
  .method-section { box-shadow: 7px 7px 0 var(--purple-deep); }
  .method-heading { align-items: start; flex-direction: column; }
  .method-heading > p { margin: -15px 0 30px; }
  .recipe-layout { grid-template-columns: 1fr; gap: 38px; }
  .closing-section .last-line { font-size: 20px; }
  .site-footer { width: min(calc(100% - 28px), var(--wide)); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image { animation: enter-left 720ms cubic-bezier(.2,.8,.2,1) both; }
  .hero-copy { animation: enter-right 720ms 100ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes enter-left { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes enter-right { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
