:root { --ink:#33423c; --muted:#68746e; --cream:#fcfaf6; --white:#fff; --sage:#e5eee5; --green:#476b5b; --orange:#bd7f56; --line:#e7e6df; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--cream); font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; line-height:1.9; }
a { color:inherit; } img { max-width:100%; display:block; }
.wrap { width:min(1080px,calc(100% - 36px)); margin:auto; }
.skip { position:absolute; left:-9999px; top:0; background:white; padding:12px; z-index:10; }
.skip:focus { left:12px; }
header { background:rgba(252,250,246,.97); border-bottom:1px solid var(--line); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 0; }
.brand { font-weight:700; letter-spacing:.04em; text-decoration:none; font-size:16px; }
nav { display:flex; gap:22px; flex-wrap:wrap; }
nav a { text-decoration:none; font-size:13px; color:var(--muted); }
nav a:hover,nav a:focus { color:var(--green); text-decoration:underline; }
.hero { background:linear-gradient(125deg,#eaf1ea 0%,#f7f1e8 65%,#fffaf5 100%); }
.hero-inner { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:7%; padding:76px 0 80px; }
.eyebrow { font-size:12px; font-weight:bold; color:var(--green); letter-spacing:.16em; text-transform:uppercase; }
h1 { font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(34px,4vw,57px); line-height:1.48; letter-spacing:.06em; font-weight:600; margin:20px 0; }
.intro { font-size:18px; color:#52615a; max-width:600px; margin-bottom:29px; }
.btn { display:inline-block; text-decoration:none; background:var(--green); color:white; border-radius:100px; padding:11px 24px; font-size:14px; font-weight:700; }
.btn:hover,.btn:focus { background:#2f5243; }
.hero-photo { min-height:370px; aspect-ratio: 4/5; border-radius:48% 48% 12px 12px; border:8px solid rgba(255,255,255,.8); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; background:linear-gradient(#b9d5d5,#f4ead9); color:#52645a; text-align:center; padding:22px; box-shadow:0 15px 48px rgba(52,77,63,.1); overflow:hidden; }
.hero-photo .paw { font-size:42px; line-height:1; }
.photo-note { font-size:12px; }
section { padding:78px 0; }
.section-head { text-align:center; margin-bottom:36px; }
.section-head .eyebrow { display:block; margin-bottom:8px; }
h2 { font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-weight:600; font-size:clamp(25px,3vw,34px); line-height:1.5; margin:0 0 12px; }
.section-desc { margin:0; font-size:16px; color:var(--muted); }
.story { background:white; }
.story-copy { max-width:730px; margin:0 auto; font-size:18px; }
.story-copy p { margin:0 0 22px; }
.story-copy p:last-child { margin-bottom:0; }
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.card { background:white; border:1px solid var(--line); border-radius:16px; padding:27px 24px; box-shadow:0 7px 23px rgba(37,52,42,.035); }
.card .num { color:var(--orange); font-family:Georgia,serif; font-size:13px; letter-spacing:.12em; }
.card h3 { font-size:18px; margin:12px 0; line-height:1.6; }
.card p { font-size:16px; color:var(--muted); margin:0 0 16px; }
.card a { color:var(--green); font-size:15px; font-weight:700; text-underline-offset:4px; }
.timeline { background:var(--sage); }
.timeline-list { max-width:790px; margin:auto; padding:0 0 0 24px; border-left:2px solid #9fbaaa; list-style:none; }
.timeline-list li { position:relative; padding:0 0 27px 25px; }
.timeline-list li:last-child { padding-bottom:0; }
.timeline-list li::before { content:""; position:absolute; width:12px; height:12px; background:var(--green); border:3px solid var(--sage); border-radius:50%; left:-31px; top:10px; }
.date { font-size:12px; font-weight:bold; color:var(--green); letter-spacing:.08em; }
.timeline-list strong { display:block; font-size:16px; }
.timeline-list p { margin:3px 0 0; font-size:16px; color:#58675d; }
.cost { background:white; }
.cost-panel { max-width:770px; margin:auto; border:1px solid var(--line); border-radius:16px; padding:24px; background:#fffdfa; }
.cost-panel table { width:100%; border-collapse:collapse; font-size:16px; }
.cost-panel th,.cost-panel td { padding:13px 7px; text-align:left; border-bottom:1px solid var(--line); }
.cost-panel th { width:65%; font-weight:500; }
.cost-panel td { text-align:right; color:var(--muted); }
.cost-note { font-size:12px; color:var(--muted); margin:16px 5px 0; }
.closing { text-align:center; background:#f6f0e7; }
.closing p { max-width:650px; margin:16px auto 0; font-size:18px; }
footer { background:#344b40; color:#e5eee8; padding:34px 0; font-size:12px; text-align:center; }
footer a { color:inherit; }
@media (max-width:760px) {
  .header-inner { flex-direction:column; align-items:flex-start; }
  nav { gap:10px 17px; }
  .hero-inner { grid-template-columns:1fr; padding:48px 0 55px; gap:32px; }
  .hero-photo { width:min(100%,420px); min-height:290px; aspect-ratio: 5/4; margin:auto; }
  section { padding:55px 0; }
  .cards { grid-template-columns:1fr; gap:13px; }
  .card { padding:23px; }
  .story-copy { font-size:17px; }
  .cost-panel { padding:15px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
.hero-figure { margin:0; }
.hero-figure .hero-photo { width:100%; height:auto; min-height:0; aspect-ratio:auto; object-fit:contain; border-radius:18px; border:6px solid rgba(255,255,255,.85); padding:0; }
.hero-figure figcaption { font-size:14px; text-align:center; margin-top:9px; color:var(--muted); }
@media(max-width:720px) { .hero-figure .hero-photo { aspect-ratio:auto; min-height:0; width:100%; } }

/* ===== 記事ページ・血液検査ページ ===== */
.page-head { background:linear-gradient(125deg,#eaf1ea 0%,#f7f1e8 65%,#fffaf5 100%); padding:56px 0 44px; text-align:center; }
.page-head h1 { font-size:clamp(26px,3.4vw,40px); margin:12px 0 6px; }
.page-head .period { color:var(--muted); font-size:15px; margin:0; }
.breadcrumb { font-size:13px; color:var(--muted); padding:14px 0 0; }
.breadcrumb a { color:var(--green); }
.article { background:white; padding:56px 0 70px; }
.article-body { max-width:730px; margin:0 auto; font-size:17px; }
.article-body h2 { font-size:clamp(21px,2.6vw,26px); margin:54px 0 18px; padding-bottom:8px; border-bottom:1px solid var(--line); }
.article-body h2:first-child { margin-top:0; }
.article-body p { margin:0 0 18px; }
.article-body strong { background:linear-gradient(transparent 62%,#f4e3d3 62%); }
.article-body ul { padding-left:1.4em; margin:0 0 18px; }
.article-body hr { border:none; border-top:1px solid var(--line); margin:44px 0 20px; }
.article-body .disclaimer { font-size:13px; color:var(--muted); }
.photo { margin:28px auto 30px; max-width:440px; }
.photo img { width:100%; height:auto; border-radius:14px; box-shadow:0 10px 30px rgba(52,77,63,.12); }
.photo figcaption { font-size:14px; color:var(--muted); text-align:center; margin-top:10px; line-height:1.7; }
.table-scroll { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid #d9dfd9; border-radius:10px; background:#fff; margin:8px 0 10px; }
.data-table { width:100%; border-collapse:collapse; font-size:15px; font-variant-numeric:tabular-nums; line-height:1.5; }
.data-table th,.data-table td { padding:10px 10px; text-align:right; border-bottom:1px solid #e2e6e2; white-space:nowrap; }
.data-table thead th { background:#e9f0eb; font-weight:700; color:#29362d; }
.data-table th:first-child,.data-table td:first-child { text-align:left; }
.data-table tbody tr:last-child td { border-bottom:none; }
.data-table tbody tr:nth-child(even) { background:#fafcfb; }
.data-table .out { font-weight:700; color:#a34438; }
.data-table .ref { color:var(--muted); font-weight:400; }
.data-table.wide { min-width:620px; }
.note { font-size:13px; color:var(--muted); margin:6px 0 18px; }
.more-link { text-align:right; margin:0 0 24px; }
.more-link a, .tl-link { color:var(--green); font-weight:700; text-underline-offset:4px; }
.tl-link { display:inline-block; font-size:14px; margin-top:4px; }
.summary { border-left:3px solid #97b39d; padding:8px 14px; margin:26px 0; background:#f1f5f1; border-radius:0 8px 8px 0; }
.summary p { margin:6px 0; }
.period-nav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 34px; }
.period-nav a { text-decoration:none; font-size:14px; border:1px solid #c9d8cd; border-radius:100px; padding:5px 14px; color:var(--green); background:#f4f8f5; }
.period-nav span { font-size:14px; border:1px dashed #d6dbd6; border-radius:100px; padding:5px 14px; color:#9aa59f; }
.pager { max-width:730px; margin:50px auto 0; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:15px; }
.pager a { color:var(--green); font-weight:700; }
.pager .soon { color:#9aa59f; }
[id] { scroll-margin-top:16px; }
@media (max-width:760px) {
  .article { padding:40px 0 55px; }
  .article-body { font-size:16px; }
  .data-table { font-size:14px; }
  .data-table th,.data-table td { padding:9px 8px; }
  .photo { max-width:100%; }
}
.article-body h3 { font-size:18px; margin:30px 0 10px; }
.photo-pair { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:28px 0 30px; }
.photo-pair .photo { margin:0; max-width:none; }
.photo video { width:100%; height:auto; border-radius:14px; box-shadow:0 10px 30px rgba(52,77,63,.12); background:#000; display:block; }
.article-body h3.sub { font-size:17px; margin:34px 0 12px; padding-left:10px; border-left:4px solid #9fbaaa; }
.chemo-table td:nth-child(3) { white-space:normal; text-align:left; min-width:240px; }
.chemo-table th:nth-child(3) { text-align:left; }
.chemo-table td:nth-child(2) { text-align:left; }
.chemo-table th:nth-child(2) { text-align:left; }
@media (max-width:520px) { .photo-pair { gap:8px; } .photo-pair figcaption { font-size:12px; } }
.photo-pair .pair-caption { grid-column:1 / -1; font-size:14px; color:var(--muted); text-align:center; margin:-2px 0 0; line-height:1.7; }
/* 刺激の強い写真：タップで表示 */
.sensitive { position:relative; }
.sensitive .sens-box { position:relative; border-radius:14px; overflow:hidden; }
.sensitive .sens-box img { filter:blur(22px) brightness(.85); transform:scale(1.08); transition:filter .3s; }
.sensitive.shown .sens-box img { filter:none; transform:none; }
.sensitive .sens-btn { position:absolute; inset:0; width:100%; border:0; background:rgba(52,75,64,.35); color:#fff; font:inherit; font-size:14px; font-weight:700; line-height:1.7; cursor:pointer; padding:12px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
.sensitive .sens-btn small { font-weight:400; font-size:12px; opacity:.95; }
.sensitive .sens-btn:focus-visible { outline:3px solid #fff; outline-offset:-6px; }
.sensitive.shown .sens-btn { display:none; }
.cost-panel th small { display:block; font-size:12px; color:var(--muted); font-weight:400; line-height:1.6; margin-top:2px; }
.cost-panel td { white-space:nowrap; font-variant-numeric:tabular-nums; vertical-align:top; }
.cost-panel .cost-total th, .cost-panel .cost-total td { font-weight:700; color:var(--ink); font-size:18px; border-bottom:2px solid var(--green); background:#f4f8f5; }
.cost-panel .cost-sub { margin-top:22px; font-size:15px; }
.cost-panel .cost-grand th, .cost-panel .cost-grand td { font-weight:700; color:var(--ink); }
/* 横に長い検査表：項目名の列をスクロール中も固定 */
.data-table.wide tbody td:first-child,.data-table.wide thead th:first-child { position:sticky; left:0; z-index:1; background:#fff; border-right:1px solid #e2e6e2; }
.data-table.wide thead th:first-child { background:#e9f0eb; }
.data-table.wide tbody tr:nth-child(even) td:first-child { background:#fafcfb; }
.photo.photo-small { max-width:300px; }
.photo.photo-wide { max-width:100%; }
/* 治療費ページ */
.cost-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:26px 0 8px; }
.cost-summary div { background:#f4f8f5; border:1px solid #d6e2d9; border-radius:12px; padding:14px 12px; text-align:center; }
.cost-summary span { display:block; font-size:12px; color:var(--muted); line-height:1.5; }
.cost-summary strong { display:block; font-size:22px; color:var(--ink); font-variant-numeric:tabular-nums; margin-top:4px; }
@media (max-width:560px) { .cost-summary { grid-template-columns:1fr; } .cost-summary strong { font-size:20px; } }
.article-body .cost-panel { margin:10px 0 6px; }
.data-table .row-total td { background:#f4f8f5; font-weight:700; border-top:2px solid #c9d8cd; }
.data-table .row-total td:first-child { text-align:left; }
.month-table .m-what { text-align:left; white-space:normal; color:var(--muted); font-size:13px; min-width:170px; }
.month-table .bar-cell { width:34%; min-width:110px; }
.month-table .bar { display:block; height:12px; border-radius:6px; background:#8fb39a; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.cost-teaser { text-align:center; }
.cost-teaser .teaser-label { font-size:14px; color:var(--muted); margin:0; }
.cost-teaser .teaser-amount { font-size:clamp(30px,6vw,40px); font-weight:700; color:var(--ink); margin:4px 0 6px; font-variant-numeric:tabular-nums; }
.cost-teaser .teaser-sub { font-size:14px; color:var(--muted); margin:0 0 16px; }
.cost-teaser .teaser-link { display:inline-block; text-decoration:none; border:1px solid #c9d8cd; border-radius:100px; padding:8px 20px; color:var(--green); background:#f4f8f5; font-weight:700; }
.cost-summary strong, .data-table strong { background:none; padding:0; }
.month-table th:nth-child(2) { text-align:left; }
.story-photo { max-width:640px; margin:0 auto 30px; } .story-photo img { width:100%; height:auto; border-radius:16px; box-shadow:0 10px 30px rgba(52,77,63,.12); display:block; }
.hero .tagline { font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(18px,2vw,24px); letter-spacing:.12em; color:var(--green); margin:-8px 0 18px; }
.hero h1 { font-size:clamp(30px,3.6vw,48px); }
.hero h1 .nw { white-space:nowrap; }
@media (max-width:520px) { .hero h1 { font-size:24px; letter-spacing:.03em; } }
@media (max-width:360px) { .brand { font-size:13px; } }
/* SNS */
.sns { margin-top:28px; }
.sns-lead { font-size:14px; color:var(--muted); margin:0 0 12px; }
.sns-links { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.sns-btn { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--green); background:#fff; border:1px solid #c9d8cd; border-radius:100px; padding:9px 20px 9px 16px; font-weight:700; font-size:15px; line-height:1.3; }
.sns-btn:hover,.sns-btn:focus { background:#f4f8f5; }
.sns-btn small { display:block; font-weight:400; font-size:11px; color:var(--muted); }
.sns-btn span { text-align:left; }
.footer-sns { margin:0 0 10px; font-size:13px; letter-spacing:.05em; }
.footer-sns a { margin:0 6px; }
.sns-btn .logo { flex:none; }
.footer-sns a { display:inline-flex; align-items:center; gap:6px; text-decoration:none; }
.footer-sns a:hover,.footer-sns a:focus { text-decoration:underline; }
