/* 40代の乳がん体験談：アイボリーの白・ピンクリボンのローズ・あたたかいコーラル・やすらぎのセージ。見出しは手書きの日記のような Klee One */
:root {
  --bg: #fbf7f4;
  --paper: #ffffff;
  --ink: #3e3638;
  --muted: #6f6467;
  --line: #ece2de;
  --sage: #c76b86;
  --sage-deep: #a3415f;
  --sage-pale: #fbecf0;
  --peach: #eea58f;
  --peach-deep: #b8563c;
  --peach-pale: #fdf0ea;
  --cream: #eaf1ea;
  --cream-deep: #4f7a5a;
  --marker: #ffe08a;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(90, 50, 60, .08);
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --round: "Klee One", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.9; letter-spacing: .02em; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-underline-offset: .2em; }
a:hover { color: var(--peach-deep); }
h1, h2, h3 { font-family: var(--round); font-weight: 600; line-height: 1.45; letter-spacing: .03em; color: #3a2c30; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
mark { background: linear-gradient(transparent 55%, var(--marker) 55%); color: inherit; padding: 0 .1em; font-weight: 700; }
.eyebrow { display: inline-block; font-family: var(--round); font-size: .74rem; letter-spacing: .18em; color: var(--sage-deep); font-weight: 700; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 244, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand strong { font-family: var(--round); font-size: 1.3rem; letter-spacing: .06em; }
.brand small { font-size: .72rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .88rem; }
.search-icon { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; position: absolute; width: 2px; height: 7px; background: currentColor; right: -4px; bottom: -6px; transform: rotate(-45deg); }
.menu-button { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; padding: 0; }
.menu-icon { display: grid; gap: 5px; width: 20px; margin: auto; }
.menu-icon span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; padding: 6px 0; }
.nav a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9rem; font-family: var(--round); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sage-pale); color: var(--sage-deep); }

/* hero */
.hero { background: linear-gradient(160deg, var(--peach-pale), var(--bg) 55%, var(--sage-pale)); padding: 48px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin: 10px 0 16px; }
.hero-lead { color: var(--muted); margin: 0 0 24px; }
.hero-figure { margin: 0; }
.hero-figure img { border-radius: 28px 28px 28px 90px; box-shadow: var(--shadow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--sage-deep); color: #fff; text-decoration: none; font-family: var(--round); font-weight: 700; border: 0; cursor: pointer; font-size: 1rem; }
.button:hover { background: #86324c; color: #fff; }
.button-soft { background: var(--paper); color: var(--sage-deep); border: 1px solid var(--line); }
.button-soft:hover { background: var(--sage-pale); color: var(--sage-deep); }

/* sections */
.section { margin: 56px 0; }
.section-title { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 0 0 22px; display: flex; flex-direction: column; gap: 2px; }
.section-title span { font-size: .72rem; letter-spacing: .2em; color: var(--peach-deep); }
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.start-item { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px 20px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; }
.start-item:hover { transform: translateY(-2px); color: var(--ink); }
.start-no { grid-row: span 2; font-family: var(--round); font-size: 1.5rem; color: var(--peach); font-weight: 700; line-height: 1.2; }
.start-item strong { font-family: var(--round); }
.start-item span:last-child { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); text-decoration: none; color: var(--ink); min-height: 120px; transition: transform .2s; }
.cat-tile:hover { transform: translateY(-2px); color: var(--ink); }
.cat-tile strong { font-family: var(--round); font-size: 1.02rem; line-height: 1.45; }
.cat-count { margin-top: auto; font-size: .8rem; color: var(--muted); }
.tone-teal { background: var(--sage-pale); }
.tone-rose { background: var(--peach-pale); }
.tone-lilac { background: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--round); }
.chip:hover { background: var(--peach-pale); color: var(--ink); }
.chips-title { width: 100%; margin: 0 0 4px; font-family: var(--round); font-weight: 700; }
.parts-band { background: var(--peach-pale); border-radius: 28px; padding: 28px; }
.notice { background: var(--paper); border-left: 6px solid var(--peach); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.notice h2 { margin-top: 0; font-size: 1.25rem; }
.more-link { text-align: right; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.card-cover { aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream); }
.card-cover .cover-img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card h3 { font-size: 1.04rem; margin: 2px 0 0; }
.card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.7; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.card-foot .more { color: var(--sage-deep); font-weight: 700; }
.tag { align-self: flex-start; display: inline-block; font-size: .74rem; padding: 2px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-family: var(--round); font-weight: 700; }
.text-cover { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 100%; height: 100%; padding: 8% 10%; overflow: hidden; }
.text-cover.tone-teal { background: linear-gradient(135deg, #fdf1f4, #f2cfd9); }
.text-cover.tone-rose { background: linear-gradient(135deg, #fff5f0, #f7d6c9); }
.text-cover.tone-lilac { background: linear-gradient(135deg, #f1f6f1, #d3e4d5); }
.text-cover::before { content: ""; position: absolute; right: -12%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.tc-en { position: relative; font-family: var(--round); font-size: .7rem; letter-spacing: .2em; color: var(--sage-deep); font-weight: 700; }
.tc-title { position: relative; font-family: var(--round); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.4rem); line-height: 1.45; color: #3a2c30; }
.tc-ribbon { position: absolute; right: 10%; top: 12%; width: 26px; height: 40px; border: 6px solid var(--sage); border-bottom: 0; border-radius: 50% 50% 0 0; opacity: .5; transform: rotate(-8deg); }
.tone-rose .tc-ribbon { border-color: var(--peach-deep); }
.tone-lilac .tc-ribbon { border-color: var(--cream-deep); }
.article-cover .tc-title { font-size: clamp(1.4rem, 4vw, 2.2rem); }

/* breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--muted); padding: 18px 0 6px; }
.breadcrumb a { color: var(--muted); }

/* category */
.cat-head { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: center; padding: 30px 34px; border-radius: 28px; margin: 10px 0 30px; }
.cat-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 4px 0 8px; }
.cat-head p { margin: 0; }
.cat-head .count { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.cat-head img { border-radius: 20px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-head { margin: 10px 0 30px; }
.page-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 4px 0 8px; }
.lead { color: var(--muted); margin: 0; }

/* article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; align-items: start; margin-bottom: 40px; }
.article { min-width: 0; }
.article-head { margin: 12px 0 22px; }
.article-head h1 { font-size: clamp(1.55rem, 3.6vw, 2.15rem); margin: 12px 0 12px; }
.updated { margin: 12px 0 0; font-size: .84rem; color: var(--muted); }
.article-cover { margin: 0 0 28px; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--cream); }
.article-cover .cover-img { width: 100%; height: 100%; object-fit: cover; }
.article-body { background: var(--paper); border-radius: 24px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); }
.narrow .article-body { margin-bottom: 50px; }
.article-body > p:first-child { margin-top: 0; }
.article-body section { margin-top: 2.6em; }
.article-body h2 { font-size: clamp(1.3rem, 2.8vw, 1.6rem); margin: 0 0 .9em; padding: .55em .9em; background: var(--sage-pale); border-radius: 14px; border-left: 6px solid var(--sage); }
.article-body h3 { font-size: 1.15rem; margin: 1.8em 0 .6em; padding-bottom: .3em; border-bottom: 2px dotted var(--peach); }
.article-body p { margin: 0 0 1.25em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.article-body li { margin: .35em 0; }
.article-body li::marker { color: var(--sage); }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border-radius: 14px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.65; }
table.wide { min-width: 560px; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--sage-deep); color: #fff; font-family: var(--round); }
@media (max-width: 760px) { th, td { padding: 9px 10px; } table { font-size: .86rem; } }
tbody th { background: var(--cream); font-weight: 700; }
tbody tr:nth-child(even) td { background: #fdf8f6; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.box { border-radius: 16px; padding: 18px 22px 6px; margin: 0 0 1.6em; }
.box-title { font-family: var(--round); font-weight: 700; margin: 0 0 .5em !important; display: flex; align-items: center; gap: 8px; }
.box-title::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--sage) center / 12px no-repeat; }
.box-point { background: var(--sage-pale); }
.box-caution { background: var(--peach-pale); }
.box-caution .box-title::before { background-color: var(--peach-deep); }
.box-summary { background: var(--cream); }
.box-summary .box-title::before { background-color: var(--cream-deep); }
.box-memo { background: #f7f1ee; }
.box-check { background: var(--paper); border: 2px dashed var(--sage); }
.box-check ul { list-style: none; padding-left: 0; }
.box-check li { position: relative; padding-left: 1.9em; }
.box-check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.15em; height: 1.15em; border: 2px solid var(--sage); border-radius: 5px; }
.box-check li::after { content: ""; position: absolute; left: .38em; top: .5em; width: .4em; height: .7em; border: solid var(--sage-deep); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.toc { background: var(--bg); border-radius: 16px; padding: 18px 22px; margin: 0 0 1.5em; border: 1px solid var(--line); }
.toc-title { font-family: var(--round); font-weight: 700; margin: 0 0 .4em; }
.toc ol { margin: 0; padding-left: 1.4em; font-size: .94rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--sage-deep); text-decoration: underline; }
.article-side { position: sticky; top: 140px; }
.side-box { background: var(--paper); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.side-title { font-family: var(--round); font-weight: 700; margin: 0 0 8px; }
.side-box ul { list-style: none; margin: 0; padding: 0; font-size: .88rem; line-height: 1.6; }
.side-box li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.side-box li a { color: var(--ink); text-decoration: none; }
.side-box li a:hover { color: var(--sage-deep); }
.side-more { margin: 10px 0 0; font-size: .86rem; }
.related { background: var(--cream); padding: 44px 0 56px; }
.link-list { padding-left: 1.2em; }
.article-body section h2 a { color: inherit; text-decoration: none; }

/* ads */
.ad { margin: 30px 0; text-align: center; }
.ad-label { font-size: .7rem; color: var(--muted); margin: 0 0 4px !important; letter-spacing: .1em; }
.ad.unfilled { display: none; }
.ad-dummy { height: 120px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: .8rem; }

/* search */
.search-form { display: flex; gap: 8px; margin-bottom: 16px; }
.search-form input { flex: 1; min-width: 0; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font: inherit; background: var(--paper); }
.search-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.search-filter button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: .84rem; cursor: pointer; }
.search-filter button[aria-pressed="true"] { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }
.search-status { color: var(--muted); }
[data-search-results] { margin-bottom: 60px; }

/* footer */
.site-footer { background: #4a3238; color: #f6eef0; padding: 48px 0 26px; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand { font-family: var(--round); font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; }
.footer-about p { font-size: .88rem; }
.footer-note { opacity: .85; font-size: .8rem !important; }
.footer-head { font-family: var(--round); font-weight: 700; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: .88rem; line-height: 2.1; }
.copyright { font-size: .76rem; opacity: .8; margin: 30px 0 0; text-align: center; }

/* motion */
.motion .reveal.waiting { opacity: 0; transform: translateY(12px); }
.motion .reveal.is-visible { opacity: 1; transform: none; transition: opacity .6s, transform .6s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* responsive */
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 18px; line-height: 1.85; }
  .menu-button { display: grid; place-items: center; }
  .search-text { display: none; }
  .search-link { width: 46px; padding: 0; justify-content: center; }
  .brand strong { font-size: 1.12rem; }
  .brand small { display: none; }
  .nav { display: none; }
  .nav.mobile-open { display: block; }
  .nav-inner { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  .nav a { padding: 12px 16px; font-size: 1rem; border-radius: 12px; }
  .hero { padding: 28px 0 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-figure { order: -1; }
  .hero-figure img { border-radius: 22px 22px 22px 60px; }
  .start-grid, .grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-tile { min-height: 104px; padding: 14px; }
  .cat-head { grid-template-columns: 1fr; padding: 22px; }
  .cat-head img { order: -1; }
  .parts-band { padding: 20px; }
  .article-body { border-radius: 18px; padding: 22px 18px; }
  .article-body h2 { padding: .5em .7em; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { margin: 40px 0; }
}
@media print {
  .site-header, .site-footer, .ad, .related, .article-side { display: none; }
}
.article-body section[id] { scroll-margin-top: 140px; }
@media (max-width: 760px) { .article-body section[id] { scroll-margin-top: 84px; } }

/* ---- 甲状腺がん体験記の追加部品 ---- */
.head-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.chapter { font-family: var(--round); font-size: .82rem; color: var(--peach-deep); font-weight: 600; letter-spacing: .05em; }
.side-box li[aria-current] { color: var(--sage-deep); font-weight: 700; }
.photo { margin: 0 auto 1.6em; max-width: 440px; background: var(--bg); padding: 10px 10px 4px; border-radius: 14px; border: 1px solid var(--line); }
.photo img { width: 100%; border-radius: 8px; }
.photo figcaption { font-size: .84rem; color: var(--muted); text-align: center; padding: 6px 4px; line-height: 1.6; }
.box-diary { background: #fffdf7; border: 1px solid #efe6cf; background-image: repeating-linear-gradient(transparent 0 33px, #f1ead6 33px 34px); }
.box-diary p:not(.box-title) { font-family: var(--round); font-size: 1.02rem; }
.box-diary .box-title::before { background-color: #c9a96b; }
.box-voice { background: var(--peach-pale); border-left: 6px solid var(--peach); }
.box-voice .box-title::before { background-color: var(--peach-deep); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-family: var(--round); font-weight: 600; line-height: 1.5; }
.pager a span { font-size: .78rem; color: var(--peach-deep); }
.pager-next { text-align: right; }
.pager a:hover { background: var(--sage-pale); color: var(--ink); }
.author { display: flex; gap: 18px; align-items: flex-start; margin: 28px 0 0; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.author img { width: 84px; height: 84px; border-radius: 50%; flex: none; object-fit: cover; }
.author p { margin: 0 0 .5em; font-size: .92rem; line-height: 1.75; }
.author-name { font-family: var(--round); font-weight: 600; color: var(--sage-deep); }
.timeline { list-style: none; margin: 0 0 30px; padding: 0 0 0 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--peach), var(--sage)); }
.timeline li { position: relative; margin: 0 0 14px; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--sage); }
.timeline a { display: grid; gap: 2px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.timeline a:hover { background: var(--sage-pale); color: var(--ink); }
.tl-when { font-size: .8rem; color: var(--peach-deep); font-family: var(--round); font-weight: 600; }
.timeline strong { font-family: var(--round); font-weight: 600; font-size: 1.05rem; }
.tl-desc { font-size: .86rem; color: var(--muted); line-height: 1.65; }
.timeline.compact { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 30px; }
.timeline.compact li { margin: 0 0 10px; }
.timeline.compact a { padding: 10px 16px; box-shadow: none; }
.scar-band { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.scar-gallery { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.scar-gallery li { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.scar-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.sg-label { font-family: var(--round); font-weight: 600; font-size: .84rem; line-height: 1.4; margin-top: 4px; }
.sg-date { font-size: .74rem; color: var(--muted); }
.article-body .scar-gallery { grid-template-columns: repeat(4, 1fr); }
.profile-head { display: flex; gap: 24px; align-items: center; }
.profile-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex: none; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.journey { background: var(--peach-pale); border-radius: 28px; padding: 30px; }
.hero { background: linear-gradient(160deg, var(--peach-pale), var(--bg) 50%, var(--sage-pale)); }
mark { background: linear-gradient(transparent 58%, var(--marker) 58%); }
@media (max-width: 1020px) { .scar-gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) {
  .timeline.compact { grid-template-columns: 1fr; }
  .scar-gallery, .article-body .scar-gallery { grid-template-columns: repeat(2, 1fr); }
  .scar-band, .journey { padding: 20px; }
  .pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; }
  .profile-head { flex-direction: column; text-align: center; }
  .author { flex-direction: column; align-items: center; text-align: center; }
}

/* 40代の乳がん体験談：トップの診断表と医療費グラフ */
.facts-band { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.facts-band .section-title { margin-bottom: 12px; }
.facts-band .table-wrap { margin: 0; }
table.facts th { width: 8.5em; white-space: nowrap; }
.cost-band { background: linear-gradient(160deg, var(--peach-pale), var(--paper)); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.month-cost { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.month-cost li { display: grid; grid-template-columns: 3em 1fr 12em; gap: 12px; align-items: center; }
.mc-month { font-family: var(--round); font-weight: 700; }
.mc-bar { position: relative; height: 26px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.mc-total { position: absolute; inset: 0 auto 0 0; background: #f4c9d4; border-radius: 8px; }
.mc-paid { position: absolute; inset: 0 auto 0 0; background: var(--sage-deep); border-radius: 8px; }
.mc-num { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.mc-num strong { color: var(--sage-deep); }
.cat-desc { font-size: .84rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 860px) {
  .facts-band { grid-template-columns: 1fr; padding: 20px; }
  .cost-band { padding: 20px; }
  .month-cost li { grid-template-columns: 2.6em 1fr; }
  .mc-num { grid-column: 2; }
}
.facts-band > * { min-width: 0; }
table.facts { table-layout: fixed; }
table.facts th { width: 9em; white-space: normal; }
.mc-note { font-size: .8rem; color: var(--muted); margin: -6px 0 12px; }
