:root {
  --berry: #5B2A4A;
  --deep: #3B1C30;
  --apricot: #F0A35E;
  --paper: #FFFFFF;
  --warm: #F5EFEC;
  --ink: #221A1F;
  --line: #CFC3C8;
  --tabs-height: 60px;
  --display: 'Crimson Pro', serif;
  --body: 'Libre Franklin', sans-serif;
}
* { box-sizing: border-box; }
html { background-color: var(--paper); }
:where([id]) { scroll-margin-top: calc(var(--tabs-height) + 32px); }
body { margin: 0; color: var(--ink); background-color: var(--paper); font-family: var(--body); font-size: 18px; font-weight: 400; line-height: 1.7; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; }
h1 { font-family: var(--display); font-size: 68px; line-height: 1.02; }
h2 { font-size: 52px; line-height: 1.08; }
h3 { margin: 32px 0 12px; font-size: 23px; font-weight: 500; line-height: 1.35; }
h4 { margin: 28px 0 12px; font-size: 20px; font-weight: 500; line-height: 1.4; }
p { margin: 0 0 20px; }
ul, ol { margin: 0 0 24px; padding-left: 24px; }
li { padding-left: 5px; margin-bottom: 12px; }
a { color: var(--berry); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--berry); outline-offset: 5px; }
b, strong { font-weight: 500; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1216px; margin-right: auto; margin-left: auto; }
.skip { position: absolute; left: 24px; top: 12px; z-index: 20; padding: 12px 20px; background-color: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.mast { margin: 24px 24px 24px; border: 1px solid var(--line); text-align: center; }
.name { display: flex; align-items: center; justify-content: center; min-height: 78px; padding: 12px 24px; font-family: var(--display); font-size: 34px; line-height: 1.1; color: var(--ink); text-decoration: none; }
.strap { margin: 0; padding: 12px 24px 4px; border-top: 1px solid var(--line); background-color: var(--warm); font-size: 16px; line-height: 1.5; letter-spacing: 0; }
.header-note { margin: 0; padding: 0 24px 12px; background-color: var(--warm); font-size: 16px; line-height: 1.5; }
.hero { position: relative; min-height: 688px; overflow: hidden; background-color: var(--berry); color: var(--paper); }
.hero-pic { position: absolute; inset: 0 auto 0 0; width: 60%; height: 100%; object-fit: cover; object-position: 36% 50%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 28%, rgba(91,42,74,0.1) 37%, #5B2A4A 50%); pointer-events: none; }
.hero-row { position: relative; z-index: 1; display: flex; justify-content: flex-end; min-height: 688px; align-items: center; padding: 64px 0; }
.hero-copy { width: 49%; padding: 0 0 0 24px; background-color: var(--berry); }
.hero-copy p { margin: 26px 0 30px; max-width: 35em; font-size: 20px; line-height: 1.55; }
.hero-copy h1 em { font-weight: 400; }
.unbroken { white-space: nowrap; }
.actions { display: grid; gap: 12px; max-width: 360px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 19px; min-height: 56px; border: 1px solid var(--berry); border-radius: 2px; color: var(--paper); background-color: var(--berry); font-size: 16px; line-height: 1.5; text-decoration: none; }
.btn:hover { background-color: var(--deep); border-color: var(--deep); }
.hero .btn { background-color: var(--paper); border-color: var(--paper); color: var(--berry); }
.hero .btn:hover { background-color: var(--warm); }
.hero .ghost { background-color: transparent; color: var(--paper); }
.hero .ghost:hover { background-color: var(--deep); }
.hero a:focus-visible, .close a:focus-visible { outline-color: var(--apricot); }
.arr { display: inline-flex; flex: 0 0 26px; width: 26px; height: 26px; align-items: center; justify-content: center; color: var(--ink); background-color: var(--apricot); }
.arr svg { width: 18px; height: 18px; }
.intro { padding: 104px 0; background-color: var(--warm); }
.intro-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
.intro-pic { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 48% 50%; }
.intro h2 { margin-bottom: 26px; }
.intro p { max-width: 60ch; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 14px; }
.guide-parts { padding: 104px 0 116px; }
.guide-parts h2 { max-width: 850px; text-align: center; margin: 0 auto 48px; }
.parts-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.part-link { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 176px; padding: 25px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.part-link:hover { background-color: var(--warm); }
.part-link strong { font-size: 21px; line-height: 1.3; }
.part-link span { max-width: 32ch; font-size: 16px; line-height: 1.5; }
.record { position: relative; display: flex; align-items: center; min-height: 350px; background-color: var(--deep); color: var(--paper); overflow: hidden; }
.record-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.record::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #3B1C30 40%, rgba(59,28,48,0.08) 75%); }
.record-copy { position: relative; z-index: 1; width: 1216px; padding-bottom: 44px; }
.record h2 { max-width: 14ch; font-family: var(--body); font-size: 34px; font-weight: 500; line-height: 1.22; letter-spacing: 0; }
.record p { margin: 20px 0 0; max-width: 34ch; font-size: 18px; line-height: 1.5; }
.record h2, .record p { background-color: var(--deep); }
.keep { position: relative; margin-top: -58px; border: 1px solid var(--line); background-color: var(--paper); z-index: 2; }
.keep h2 { padding: 38px 28px; text-align: center; font-size: 44px; }
.keep-row { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.keep-cell { padding: 28px; }
.keep-cell + .keep-cell { border-left: 1px solid var(--line); }
.keep-cell h3 { margin: 0 0 12px; font-size: 21px; }
.keep-cell p { margin-bottom: 0; font-size: 16px; line-height: 1.6; }
.reading { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 76px; align-items: start; padding: 112px 0 20px; }
.contents { position: sticky; top: calc(var(--tabs-height) + 28px); padding-top: 6px; }
.contents p { margin-bottom: 14px; font-size: 18px; font-weight: 500; }
.contents ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contents li { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.contents a { display: flex; align-items: center; min-height: 50px; padding: 10px 0; color: var(--ink); font-size: 16px; line-height: 1.4; text-decoration: none; }
.contents a:hover { color: var(--berry); text-decoration: underline; }
.reading-main { min-width: 0; }
.part { padding: 0 0 60px; margin-bottom: 60px; border-bottom: 1px solid var(--line); }
.part h2 { max-width: 22ch; margin-bottom: 28px; }
.part p, .part ul { max-width: 68ch; }
.answer { font-size: 22px; line-height: 1.5; }
.drug { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); }
.drug h4 { margin: 0; font-size: 21px; }
.drug p:last-child { margin-bottom: 0; }
.small { font-size: 16px; line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin: 38px 0; padding: 0; list-style: none; }
.steps li { position: relative; margin: 0; padding: 28px 0 0; border-top: 2px dotted var(--line); }
.stage { display: inline-block; padding: 7px 11px; margin-bottom: 16px; border: 1px solid var(--line); background-color: var(--warm); font-size: 16px; line-height: 1.4; }
.steps p { margin: 0; font-size: 16px; line-height: 1.65; }
.cost { padding: 48px; background-color: var(--warm); border-top: 1px solid var(--line); }
.cost h2 { font-size: 49px; }
.cost ul { padding-left: 22px; }
.care-pic { width: 100%; max-height: 384px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 58%; margin: 36px 0; }
.urgent { border-left: 3px solid var(--berry); padding: 7px 0 7px 24px; margin: 32px 0; }
.urgent h3 { margin-top: 0; }
.urgent p:last-child { margin-bottom: 0; }
.word-list { margin: 28px 0 0; }
.filter { margin: 30px 0; }
.filter label { display: block; margin-bottom: 8px; font-size: 18px; }
.filter input { display: block; border: 1px solid var(--berry); border-radius: 0; padding: 10px 14px; width: 100%; max-width: 500px; min-height: 52px; color: var(--ink); background-color: var(--paper); }
.filter p { margin: 10px 0 0; font-size: 16px; }
.term { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 28px; padding: 20px 0; border-top: 1px solid var(--line); }
.term dt { font-weight: 500; line-height: 1.5; }
.term dd { margin: 0; font-size: 17px; line-height: 1.65; }
.sources { padding: 36px; background-color: var(--warm); border: 1px solid var(--line); }
.sources h2 { font-size: 44px; }
.sources p { margin-top: 24px; }
.sources ul { list-style: none; padding: 0; margin: 28px 0 0; }
.sources li { padding: 0; margin: 0; border-top: 1px solid var(--line); }
.sources a { display: flex; align-items: center; min-height: 48px; padding: 12px 0; font-size: 16px; line-height: 1.5; }
.sources .source-note { margin: 0 0 18px; font-size: 16px; line-height: 1.6; }
.close { position: relative; min-height: 360px; margin-top: 80px; margin-bottom: 80px; padding: 52px 60px; overflow: hidden; border-radius: 12px; background-color: var(--deep); color: var(--paper); }
.close-pic { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.close::after { position: absolute; content: ''; inset: 0; background: linear-gradient(90deg, #3B1C30 50%, rgba(59,28,48,0) 80%); pointer-events: none; }
.close-copy { position: relative; z-index: 1; max-width: 45%; background-color: var(--deep); }
.close h2 { font-size: 44px; }
.close p { margin-top: 20px; font-size: 17px; line-height: 1.55; }
.close .btn { min-width: 260px; }
.foot { padding: 48px 0; border-top: 1px solid var(--line); background-color: var(--warm); }
.foot-row { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; }
.foot p { max-width: 70ch; font-size: 16px; line-height: 1.6; }
.foot-right { text-align: right; }
.foot a { display: inline-flex; min-height: 44px; align-items: center; font-size: 16px; }
.dock { display: flex; position: sticky; top: 0; z-index: 10; justify-content: center; width: 100%; height: var(--tabs-height); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background-color: var(--paper); }
.dock a { display: flex; justify-content: center; align-items: center; width: 150px; max-width: 25%; min-height: calc(var(--tabs-height) - 2px); padding: 8px 4px; color: var(--ink); font-size: 16px; line-height: 1.4; text-decoration: none; }
.dock a + a { border-left: 1px solid var(--line); }
.dock a:hover, .dock a:focus-visible { background-color: var(--warm); }
.missing { max-width: 900px; min-height: 460px; padding: 80px 0; }
.missing h1 { margin-bottom: 26px; }
.missing p { max-width: 55ch; }
.missing .btn { margin-top: 15px; min-width: 260px; }
@media (max-width: 1280px) {
  .wrap { margin-left: 48px; margin-right: 48px; }
  .hero-copy { padding-right: 0; width: 50%; }
  h1 { font-size: 60px; }
  .intro-row { gap: 64px; }
  .reading { gap: 48px; grid-template-columns: 190px minmax(0,1fr); }
  .record-copy { width: auto; }
  .cost { padding: 36px; }
  .term { grid-template-columns: 150px minmax(0,1fr); gap: 24px; }
}
@media (max-width: 1000px) {
  .wrap { margin-left: 32px; margin-right: 32px; }
  h1 { font-size: 52px; }
  h2 { font-size: 45px; }
  .hero, .hero-row { min-height: 660px; }
  .hero-copy p { font-size: 18px; }
  .intro-row { gap: 40px; }
  .reading { grid-template-columns: 158px minmax(0,1fr); gap: 32px; }
  .contents a { font-size: 16px; }
  .drug { grid-template-columns: 1fr; gap: 14px; }
  .steps { gap: 18px; }
  .cost { padding: 28px; }
  .cost h2 { font-size: 43px; }
  .term { grid-template-columns: 1fr; gap: 8px; }
  .close { padding: 44px 40px; }
  .close-copy { max-width: 50%; }
  .foot-row { gap: 40px; }
}
@media (max-width: 759px) {
  body { font-size: 17px; line-height: 1.7; }
  .wrap { margin-left: 24px; margin-right: 24px; }
  .mast { margin: 16px 16px 20px; }
  .name { padding: 16px 12px; min-height: 80px; font-size: 30px; max-width: 100%; }
  .strap { padding: 12px 16px 4px; font-size: 16px; line-height: 1.5; }
  .header-note { padding-right: 16px; padding-left: 16px; }
  h1 { font-size: 46px; line-height: 1.02; }
  h2 { font-size: 40px; }
  h3 { font-size: 22px; }
  .hero { min-height: 0; }
  .hero-pic { position: relative; width: 100%; height: 260px; object-position: 30% 48%; }
  .hero::after { inset: 174px 0 auto; height: 86px; background: linear-gradient(180deg, rgba(91,42,74,0), #5B2A4A); }
  .hero-row { min-height: 0; display: block; padding: 28px 0 48px; }
  .hero-copy { padding: 0; width: 100%; text-align: center; }
  .hero-copy p { margin: 24px 0 28px; font-size: 18px; }
  .actions { max-width: none; }
  .btn { min-height: 56px; }
  .intro { padding: 64px 0; }
  .intro-row { display: flex; flex-direction: column; gap: 36px; align-items: stretch; }
  .intro-pic { max-height: 360px; }
  .guide-parts { padding: 64px 0 78px; }
  .guide-parts h2 { margin-bottom: 32px; }
  .parts-grid { grid-template-columns: 1fr; }
  .part-link { min-height: 132px; gap: 16px; padding: 22px 24px; }
  .part-link strong { font-size: 22px; }
  .part-link span { max-width: none; }
  .record { display: block; min-height: 0; }
  .record-pic { position: relative; width: 100%; height: 190px; object-position: 70% 50%; }
  .record-copy { padding-top: 28px; padding-bottom: 70px; }
  .record h2 { max-width: 14ch; font-size: 31px; }
  .record p { max-width: 24ch; font-size: 17px; }
  .record::after { display: none; }
  .keep { margin-top: -36px; }
  .keep h2 { padding: 28px 20px; font-size: 36px; }
  .keep-row { grid-template-columns: 1fr; }
  .keep-cell { padding: 24px; }
  .keep-cell + .keep-cell { border-left: 0; border-top: 1px solid var(--line); }
  .reading { display: block; padding-top: 64px; }
  .contents { position: static; padding: 0; margin-bottom: 52px; }
  .contents ul { display: grid; grid-template-columns: 1fr 1fr; }
  .contents li:nth-child(odd) { padding-right: 18px; }
  .contents a { min-height: 52px; padding: 10px 0; }
  .part { margin-bottom: 44px; padding-bottom: 44px; }
  .part h2 { margin-bottom: 24px; }
  .answer { font-size: 21px; }
  .steps { grid-template-columns: 1fr; gap: 26px; margin: 32px 0; }
  .steps li { padding-top: 20px; }
  .stage { margin-bottom: 12px; }
  .cost { padding: 28px 22px; }
  .cost h2 { font-size: 38px; }
  .care-pic { margin: 28px 0; }
  .urgent { padding-left: 18px; }
  .term { padding: 20px 0; }
  .sources { padding: 28px 22px; }
  .sources h2 { font-size: 38px; }
  .close { padding: 0; margin-top: 48px; margin-bottom: 56px; border-radius: 8px; }
  .close-pic { position: relative; width: 100%; height: 240px; object-position: 70% 50%; }
  .close::after { inset: 170px 0 auto; height: 70px; background: linear-gradient(180deg, rgba(59,28,48,0), #3B1C30); }
  .close-copy { max-width: none; padding: 28px 26px 36px; }
  .close h2 { font-size: 38px; }
  .close .btn { min-width: 0; width: 100%; }
  .foot { padding-top: 36px; padding-bottom: 36px; }
  .foot-row { display: block; }
  .foot-right { text-align: left; margin-top: 24px; }
  .missing { padding-top: 52px; padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  body { font-size: 12pt; color: #221A1F; }
  .dock, .skip, .contents, .filter, .hero-pic, .record, .keep, .close { display: none; }
  .wrap { max-width: none; margin: 0; }
  .mast { margin: 0 0 24px; }
  .hero, .hero-row { min-height: 0; background-color: #FFFFFF; color: #221A1F; }
  .hero::after { display: none; }
  .hero-copy { width: 100%; padding: 0; }
  .hero-row { padding: 0; }
  .actions, .guide-parts, .intro-pic, .care-pic { display: none; }
  .intro, .reading { display: block; padding: 32px 0 0; }
  .intro-row { display: block; }
  .part { break-inside: auto; }
  h2, h3 { break-after: avoid; }
  .foot { padding: 28px 0; }
}
