/*
Theme Name: Esmeralda Brisa 2026
Theme URI: https://89esmeralda-brisa.com/
Author: 鍼灸 Esmeralda Brisa
Author URI: https://89esmeralda-brisa.com/
Description: 鍼灸 Esmeralda Brisa リニューアル（2026）用カスタムテーマ。試作品（静的サイト）のデザインをWordPress化したもの。本文は固定ページに格納し、内部リンクと画像は functions.php のトークン置換で解決する。
Version: 1.2.6
License: GNU General Public License v2 or later
Text Domain: esmeralda-brisa-2026
*/
:root{
  --bg:#f7fbf9; --bg2:#eaf6f1; --card:#ffffff; --ink:#22332e; --muted:#5a6f68;
  --sea:#45B29A; --sea-d:#2f8a76; --sea-pale:#dff2ec; --orange:#e07a2c; --orange-soft:#fdf0e3;
  --line:#d9e9e3; --radius:18px;
  color-scheme: light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Zen Kaku Gothic New",sans-serif;color:var(--ink);background:var(--bg);line-height:1.9;font-size:16px}
h1,h2,h3{font-family:"Shippori Mincho",serif;line-height:1.5;margin:0}
img{max-width:100%;display:block}
a{color:var(--sea-d)}
button{font-family:inherit;cursor:pointer;min-height:44px}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
/* header */
header.site{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-in{max-width:1080px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.logo .logo-emblem{width:52px;height:52px;flex:none;display:block}
.logo .logo-wordmark{height:36px;width:auto;display:block}
@media(max-width:400px){.logo .logo-emblem{width:44px;height:44px}.logo .logo-wordmark{height:29px}}
.header-actions{display:flex;gap:8px;align-items:center}
.btn-tel{display:none;text-decoration:none;background:var(--sea);color:#fff;font-weight:700;padding:10px 18px;border-radius:999px;font-size:14px;min-height:44px;align-items:center}
@media(min-width:720px){.btn-tel{display:inline-flex}}
.burger{width:auto;height:52px;padding:6px 13px;border:2px solid var(--sea);background:var(--sea-pale);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.burger .burger-lines{display:flex;flex-direction:column;align-items:center;gap:4px}
.burger .burger-lines span{display:block;width:26px;height:3px;background:var(--sea-d);border-radius:2px;transition:.25s}
.burger .burger-label{font-size:10px;font-weight:700;letter-spacing:.1em;color:var(--sea-d);line-height:1}
.burger.open .burger-lines span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open .burger-lines span:nth-child(2){opacity:0}
.burger.open .burger-lines span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* drawer */
.drawer{position:fixed;inset:0;z-index:60;pointer-events:none}
.drawer .scrim{position:absolute;inset:0;background:rgba(20,40,34,.45);opacity:0;transition:.3s}
.drawer .panel{position:absolute;top:0;right:0;width:min(340px,88vw);height:100%;background:#fff;transform:translateX(105%);transition:.32s;padding:22px;overflow:auto}
.drawer.open{pointer-events:auto}
.drawer.open .scrim{opacity:1}
.drawer.open .panel{transform:none}
.drawer nav a{display:flex;justify-content:space-between;align-items:center;padding:14px 6px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);font-weight:500;min-height:52px}
.drawer nav a::after{content:"›";color:var(--sea);font-size:20px}
.drawer .d-logo{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.drawer .d-logo .logo-emblem{width:46px;height:46px;flex:none;display:block}
.drawer .d-logo .logo-wordmark{height:30px;width:auto;display:block}
.drawer .d-contact{margin-top:20px;background:var(--bg2);border-radius:14px;padding:16px;font-size:14px}
.drawer .d-contact a.tel{font-size:20px;font-weight:700;color:var(--sea-d);text-decoration:none}
/* pages */
/* (WP移行: ページ表示切替ルールは除去) */
.eb-page{display:block;animation:fade .35s ease}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.eb-page{animation:none}}
/* hero */
.hero{position:relative}
.hero>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center center}
@media(max-width:720px){.hero>img{aspect-ratio:16/9;height:auto;max-height:48vh;object-position:center 42%}}
.hero .hero-text{position:absolute;left:0;right:0;top:36%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:0 20px}
.hero .hero-text .big{font-family:"Shippori Mincho",serif;font-size:clamp(38px,7.5vw,70px);font-weight:700;color:#fff;letter-spacing:.22em;padding:.05em .3em .08em .52em;text-shadow:0 2px 14px rgba(8,60,50,.5),0 1px 3px rgba(8,60,50,.4)}
.hero .hero-text p{color:#fff;font-size:clamp(14px,2.6vw,18px);letter-spacing:.14em;text-shadow:0 1px 10px rgba(10,40,32,.7);margin:16px 0 0}
.hero .scroll-hint{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);color:#fff;font-size:11px;letter-spacing:.3em;text-shadow:0 1px 6px rgba(0,0,0,.6)}
/* sections */
section.block{padding:72px 0}
section.block.alt{background:var(--bg2)}
.sec-head{text-align:center;margin-bottom:30px}
.sec-head .en{font-size:11px;letter-spacing:.32em;color:var(--sea);font-weight:700}
.sec-head h2{font-size:clamp(24px,5vw,34px);margin-top:6px}
.sec-head p{color:var(--muted);max-width:640px;margin:12px auto 0;font-size:15px}
.pillars{display:grid;gap:18px}
@media(min-width:820px){.pillars{grid-template-columns:repeat(3,1fr)}}
.pillar{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:34px 30px}
.pillar .num{width:38px;height:38px;border-radius:50%;background:var(--sea-pale);color:var(--sea-d);display:flex;align-items:center;justify-content:center;font-family:"Shippori Mincho",serif;font-weight:700;margin-bottom:14px}
.pillar h3{font-size:21px;margin-bottom:10px}
.pillar p{font-size:14.5px;color:#3c4f48;margin:0}
.pillar .more{margin-top:14px}
.pillar .pillar-photo{display:block;width:100%;aspect-ratio:1160/575;object-fit:cover;border-radius:12px;margin-bottom:18px}
.link-more{display:inline-flex;align-items:center;gap:6px;color:var(--sea-d);font-weight:700;text-decoration:none;font-size:14px;padding:10px 4px;min-height:44px}
.cards2{display:grid;gap:18px}
@media(min-width:820px){.cards2{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.cards2.cards3{grid-template-columns:repeat(3,1fr)}}
.photo-card{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:#fff}
.photo-card img{height:260px;width:100%;object-fit:cover}
.photo-card .pc-body{padding:22px}
.photo-card h3{font-size:20px;margin-bottom:8px}
.photo-card p{font-size:14.5px;color:#3c4f48;margin:0}
.name-card{max-width:880px;margin:0 auto}
.name-card img{height:300px}
@media(max-width:560px){.name-card img{height:220px}}
/* info table — card kept inside the normal content width (.wrap),
   so it lines up with the other sections; the table itself still
   runs edge to edge inside the card. Landscape layout is kept. */
.hours-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 0 0;margin-bottom:20px;box-shadow:0 4px 18px rgba(47,138,118,.06);overflow:hidden}
.hours-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;padding:0 28px;flex-wrap:wrap}
.hours-head h3{font-size:20px}
.hours-legend{font-size:13px;color:var(--muted);display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.hours-legend .lg-open{color:var(--sea-d);font-weight:700;font-size:15px}
.hours-legend .lg-closed{color:var(--orange);font-weight:700;font-size:15px}
.hours-legend .lg-dot{color:var(--orange);font-weight:700}
table.hours{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;background:#fff;border:none;border-top:1px solid var(--line);font-size:15px}
table.hours col.c-time{width:18%}
table.hours col.c-day{width:11.7143%}
table.hours th,table.hours td{padding:21px 6px;text-align:center;vertical-align:middle;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
table.hours th:last-child,table.hours td:last-child{border-right:none}
table.hours tbody tr:last-child th,table.hours tbody tr:last-child td{border-bottom:none}
table.hours thead th{background:var(--sea-pale);font-weight:700;font-size:16px;letter-spacing:.14em;color:var(--ink);padding:18px 6px}
table.hours thead th.th-time{letter-spacing:.08em;font-size:14px;color:var(--sea-d);background:#eef7f3}
table.hours thead th.closed-h{color:var(--orange);background:var(--orange-soft)}
table.hours td.time,table.hours th.time{font-family:"Shippori Mincho",serif;font-weight:700;font-size:17.5px;letter-spacing:.03em;color:var(--ink);background:#f7fbf9;white-space:nowrap}
table.hours td .mark-open{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--sea-pale);color:var(--sea-d);font-weight:700;font-size:18px;line-height:1}
table.hours td.closed{background:var(--orange-soft);color:var(--orange);font-weight:700;font-size:20px}
@media(max-width:560px){
  .hours-card{padding-top:18px}
  .hours-head{margin-bottom:12px;padding:0 16px}
  .hours-head h3{font-size:17px}
  .hours-legend{font-size:11.5px}
  table.hours col.c-time{width:24%}
  table.hours col.c-day{width:10.8571%}
  table.hours thead th{font-size:13px;padding:13px 1px;letter-spacing:.05em}
  table.hours thead th.th-time{font-size:11px;letter-spacing:.02em}
  table.hours th,table.hours td{padding:14px 1px}
  table.hours td.time,table.hours th.time{font-size:12.5px;letter-spacing:-.01em}
  table.hours td .mark-open{width:30px;height:30px;font-size:14px}
  table.hours td.closed{font-size:16px}
}
.note{font-size:13px;color:var(--muted);margin-top:10px}
.note .hl{color:var(--orange);font-weight:700}
/* calendar — same contained card width as the hours table:
   the header and note keep side padding, and the 7-column grid
   runs edge to edge inside the card. Landscape layout is kept. */
.cal-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 0 0;margin-bottom:20px;box-shadow:0 4px 18px rgba(47,138,118,.06);overflow:hidden}
.cal-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;padding:0 28px;flex-wrap:wrap}
.cal-head h3{font-size:20px}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:0;border-top:1px solid var(--line);background:#fff}
.cal-grid .dow{text-align:center;font-size:14px;font-weight:700;letter-spacing:.14em;color:var(--ink);background:var(--sea-pale);padding:14px 2px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.cal-grid .dow.off{color:var(--orange);background:var(--orange-soft)}
.cal-grid .dow:nth-child(7){border-right:none}
.cal-grid .day{aspect-ratio:2.5/1;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:0;background:#fbfefd;font-size:17px;font-weight:500;border-bottom:1px solid var(--line);border-right:1px solid var(--line);min-width:0}
.cal-grid .day:nth-child(7n){border-right:none}
.cal-grid .day small{font-size:10px;color:var(--muted);line-height:1.3}
.cal-grid .day.off{background:var(--orange-soft);color:var(--orange);font-weight:700}
.cal-grid .day.today{outline:2px solid var(--sea);outline-offset:-2px;background:#eef7f3}
.cal-grid .day.empty{background:transparent}
.cal-card .note{margin:0;padding:14px 28px 20px}
@media(max-width:560px){
  .cal-card{padding-top:18px}
  .cal-head{margin-bottom:12px;padding:0 16px}
  .cal-head h3{font-size:17px}
  .cal-grid .dow{font-size:11.5px;letter-spacing:.05em;padding:10px 1px}
  .cal-grid .day{aspect-ratio:1.15/1;font-size:13.5px}
  .cal-grid .day small{display:none}
  .cal-card .note{padding:12px 16px 16px}
}
/* price */
.price-box{max-width:560px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 28px}
.price-row{display:flex;justify-content:space-between;align-items:baseline;padding:16px 0;border-bottom:1px dashed var(--line)}
.price-row:last-of-type{border-bottom:none}
.price-row .label{font-family:"Shippori Mincho",serif;font-size:18px;font-weight:600}
.price-row .label small{display:block;font-family:"Zen Kaku Gothic New",sans-serif;font-size:12px;color:var(--muted);font-weight:400}
.price-row .yen{font-size:22px;font-weight:700;color:var(--sea-d)}
.price-row .yen small{font-size:12px;color:var(--muted);font-weight:400}
.pay-note{margin-top:22px;padding-top:20px;border-top:1px dashed var(--line);display:flex;gap:14px;align-items:flex-start}
.pay-note .pay-label{flex:none;font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--sea-d);background:var(--sea-pale);border-radius:999px;padding:5px 12px;line-height:1.6;margin-top:2px}
.pay-note p{margin:0;font-size:13.5px;line-height:1.85;color:#3c4f48}
.pay-note p strong{color:var(--ink);font-weight:700}
@media(max-width:560px){.pay-note{flex-direction:column;gap:8px}}
/* cases */
.case{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;margin-bottom:30px}
.case .tag{display:inline-block;background:var(--sea-pale);color:var(--sea-d);font-size:12px;font-weight:700;border-radius:999px;padding:4px 12px;margin-bottom:10px}
.case h3{font-size:21px;margin-bottom:8px}
.case p{font-size:14.5px;color:#3c4f48}
.case .bodyfig{display:flex;gap:16px;justify-content:center;margin:16px 0;flex-wrap:wrap}
.case .bodyfig figure{margin:0;text-align:center}
.case .bodyfig figcaption{font-size:12px;color:var(--muted);margin-top:6px}
.case details{margin-top:10px;border-top:1px dashed var(--line);padding-top:12px}
.case summary{font-weight:700;color:var(--sea-d);cursor:pointer;padding:8px 0;min-height:44px}
.disclaimer{font-size:12px;color:var(--muted)}
/* qa */
.qa-item{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:18px;overflow:hidden}
.qa-item summary{list-style:none;padding:18px 20px;font-weight:700;cursor:pointer;display:flex;gap:12px;align-items:flex-start;min-height:52px}
.qa-item summary::-webkit-details-marker{display:none}
.qa-item summary .q{flex:none;width:28px;height:28px;border-radius:50%;background:var(--sea);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px}
.qa-item .a{padding:0 20px 18px 60px;font-size:14.5px;color:#3c4f48}
.qa-visual{border-radius:var(--radius);overflow:hidden;margin-bottom:24px;border:1px solid var(--line)}
.qa-visual img{width:100%;height:220px;object-fit:cover;object-position:center 62%}
/* line box */
.line-box{background:#06c75512;border:1px solid #bfe8cd;border-radius:var(--radius);padding:26px;display:grid;gap:20px;align-items:center}
@media(min-width:720px){.line-box{grid-template-columns:auto 1fr}}
.qr-poster{display:block;width:min(272px,78vw);margin:0 auto;border-radius:14px;overflow:hidden;border:1px solid #bfe8cd;box-shadow:0 6px 20px rgba(6,80,40,.12);line-height:0}
.qr-poster img{width:100%;height:auto}
.qr-cap{text-align:center;font-size:12.5px;color:var(--muted);margin:10px 0 0}
.btn-line{display:inline-flex;background:#06C755;color:#fff;text-decoration:none;font-weight:700;padding:12px 22px;border-radius:999px;min-height:48px;align-items:center}
.btn-fb{display:inline-flex;background:#1877F2;color:#fff;text-decoration:none;font-weight:700;padding:12px 22px;border-radius:999px;min-height:48px;align-items:center}
/* news */
.news-item{display:flex;gap:16px;padding:16px 4px;border-bottom:1px solid var(--line);align-items:baseline}
.news-item time{font-size:13px;color:var(--muted);flex:none}
.news-item .cat{flex:none;font-size:11px;font-weight:700;background:var(--sea-pale);color:var(--sea-d);border-radius:999px;padding:3px 10px}
.news-item p{margin:0;font-size:15px}
/* footer */
footer{background:#c9e7db;color:#2b4a41;margin-top:0}
footer .wrap{padding:44px 20px 30px}
footer .footer-logo{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid #a9d2c2;border-radius:12px;padding:10px 14px;margin-bottom:14px}
footer .footer-logo .logo-emblem{width:40px;height:40px;display:block}
footer .footer-logo .logo-wordmark{height:25px;width:auto;display:block}
footer a{color:#1d5f4c}
.f-grid{display:grid;gap:26px}
@media(min-width:820px){.f-grid{grid-template-columns:1.2fr 1fr 1fr}}
footer h4{font-family:"Shippori Mincho",serif;margin:0 0 10px;font-size:16px;color:#173f34}
footer p,footer li{font-size:13.5px}
footer ul{list-style:none;margin:0;padding:0}
footer li a{text-decoration:none;display:inline-block;padding:7px 0;min-height:36px}
.copyright{text-align:center;font-size:12px;color:#3d6659;padding:18px 0 26px;border-top:1px solid #9ec9b8;margin-top:30px}
/* fixed cta mobile */
.cta-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-top:1px solid var(--line);padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
.cta-bar a{text-align:center;text-decoration:none;font-weight:700;border-radius:10px;padding:12px;min-height:48px}
.cta-bar .tel{background:var(--sea);color:#fff}
.cta-bar .line{background:#06C755;color:#fff}
@media(min-width:820px){.cta-bar{display:none}}
@media(min-width:820px){body{padding-bottom:0}}
.page-head{background:var(--bg2);padding:44px 0 36px;text-align:center}
.page-head .en{font-size:11px;letter-spacing:.32em;color:var(--sea);font-weight:700}
.page-head h2{font-size:clamp(26px,6vw,38px);margin-top:6px}
.page-head p{color:var(--muted);margin:10px auto 0;max-width:600px;font-size:15px;padding:0 20px}
.prose{max-width:760px;margin:0 auto}
.prose p{margin:0 0 1.5em}
.prose h3{font-size:20px;margin:38px 0 12px;color:var(--sea-d)}
.check-list{list-style:none;padding:0;margin:0}
.check-list li{padding:10px 0 10px 34px;position:relative;border-bottom:1px dashed var(--line)}
.check-list li::before{content:"✓";position:absolute;left:4px;color:var(--sea);font-weight:700}
.steps{display:grid;gap:14px}
@media(min-width:720px){.steps{grid-template-columns:repeat(4,1fr)}}
.step{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}
.step .n{font-family:"Shippori Mincho",serif;color:var(--sea);font-weight:700;font-size:22px}
.step h4{margin:6px 0;font-size:16px;font-family:"Shippori Mincho",serif}
.step p{font-size:13.5px;color:#3c4f48;margin:0}
.map-frame{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.map-frame iframe{width:100%;height:320px;border:0;display:block}
/* Q&A full (current-site format) */
.qa-full{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:20px}
.qa-full .qa-q{font-size:19px;color:var(--sea-d);margin-bottom:6px}
.qa-full .qa-a-head{font-weight:700;margin:0 0 10px}
.qa-full p{font-size:14.5px;color:#3c4f48;margin:0 0 1em}
.qa-full .qa-fig{float:right;width:150px;margin:4px 0 10px 16px}
.qa-full .qa-fig img{width:100%;height:auto;border-radius:10px}
.qa-full::after{content:"";display:block;clear:both}
@media(max-width:560px){.qa-full .qa-fig{width:110px}}
.qa-topfig{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 22px;margin-bottom:22px}
.qa-topfig img{width:110px;height:auto;border-radius:10px;flex:none}
.qa-topfig p{margin:0;font-size:15px}
/* blog list (migrated from current Blog) */
.blog-item{display:flex;gap:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-bottom:24px;text-decoration:none;color:var(--ink);align-items:flex-start}
.blog-item img{width:168px;height:118px;object-fit:cover;border-radius:10px;flex:none}
.blog-item .b-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:6px}
.blog-item time{font-size:13px;color:var(--muted)}
.blog-item .b-cat{font-size:11px;font-weight:700;background:var(--sea-pale);color:var(--sea-d);border-radius:999px;padding:3px 10px}
.blog-item h3{font-size:17px;line-height:1.6}
.blog-item .b-more{font-size:13px;color:var(--sea-d);font-weight:700;margin-top:6px;display:inline-block}
@media(max-width:560px){.blog-item{flex-direction:column}.blog-item img{width:100%;height:auto;aspect-ratio:3/2}}
/* staff */
.staff-photo{max-width:230px;margin:0 auto 8px}
.staff-fig{max-width:520px;margin:16px auto}
.staff-fig img{width:100%;height:auto;border-radius:14px}
.staff-photo img{width:100%;height:auto;border-radius:14px}
.staff-name{text-align:center;font-family:"Shippori Mincho",serif;font-size:22px;font-weight:700;margin:10px 0 22px}
/* tsubonet-style case detail */
.tn-case{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:34px;margin-bottom:32px}
.tn-case>h3{font-size:22px;border-bottom:2px solid var(--sea-pale);padding-bottom:10px;margin-bottom:18px}
.tn-sec{font-family:"Shippori Mincho",serif;font-size:17px;font-weight:700;color:var(--sea-d);border-left:4px solid var(--sea);padding-left:10px;margin:22px 0 10px}
.tn-case p{font-size:14.5px;color:#3c4f48;margin:0 0 .9em}
.tn-fig{float:right;width:min(248px,54vw);margin:2px 0 12px 18px;background:#fbfefd;border:1px solid var(--line);border-radius:12px;padding:10px 8px 8px}
.tn-fig figcaption{font-size:11.5px;color:var(--muted);text-align:center;margin-top:6px;line-height:1.5}
.bf-pair{display:flex;gap:6px;justify-content:center}
.bf-svg{width:50%;height:auto;display:block}
.bf-region{fill:transparent;stroke:none}
.bf-region.is-affected{fill:#f6c48a;fill-opacity:.55}
.pain-mark .pm-ring{fill:rgba(255,255,255,.88);stroke:var(--orange);stroke-width:2.6}
.pain-mark .pm-dot{fill:var(--orange)}
.bf-view{font-size:13px;fill:var(--muted);text-anchor:middle;font-family:"Zen Kaku Gothic New",sans-serif}
.bf-badge-t{font-size:12.5px;font-weight:700;fill:#fff;text-anchor:middle;font-family:"Zen Kaku Gothic New",sans-serif;letter-spacing:.08em}
.bf-rlabel{font-size:8.5px;fill:var(--sea-d);text-anchor:middle;font-family:monospace}
@media(max-width:560px){.tn-fig{float:none;width:min(280px,88vw);margin:6px auto 14px}}
.case-tools{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;margin-bottom:16px}
.case-search{flex:1 1 260px;display:block}
.case-search span{display:block;font-size:13px;font-weight:700;color:var(--sea-d);margin-bottom:6px}
.case-search input{width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;font-size:16px;font-family:inherit;background:#fff;color:var(--ink)}
.case-count{font-size:13px;color:var(--muted);margin:0 0 12px}
.case-index{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 28px;margin-bottom:28px}
.case-index h3{font-size:17px;margin-bottom:8px}
.case-index ol{margin:0;padding-left:22px;columns:2;column-gap:34px}
@media(max-width:640px){.case-index ol{columns:1}}
.case-index li{margin:2px 0;break-inside:avoid}
.case-index a{color:var(--ink);text-decoration:none;font-size:14px;display:inline-block;padding:5px 0;min-height:32px}
.case-index a:hover{color:var(--sea-d);text-decoration:underline}
.case-areas{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 20px}
.case-areas .ca-label{font-size:13px;font-weight:700;color:var(--sea-d);margin-right:2px}
.case-areas a{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--sea-d);background:#fff;border:1px solid var(--sea);border-radius:999px;padding:7px 14px;min-height:36px;text-decoration:none}
.case-areas a .ca-count{font-size:11.5px;font-weight:700;color:#fff;background:var(--sea);border-radius:999px;padding:1px 8px}
.case-areas a.is-current{background:var(--sea);color:#fff}
.case-areas a.is-current .ca-count{background:#fff;color:var(--sea-d)}
.tn-template{background:#fff;border:1px dashed var(--sea);border-radius:var(--radius);padding:16px 20px;margin-bottom:22px}
.tn-template summary{font-weight:700;color:var(--sea-d);cursor:pointer;min-height:44px;padding:6px 0}
.tn-template .tn-fig{float:none;width:min(340px,90vw);margin:8px auto}
.tn-template p{font-size:13px;color:#3c4f48}
.tn-template code{background:var(--bg2);border-radius:5px;padding:1px 5px;font-size:12px}
.case-empty{background:var(--orange-soft);border-radius:12px;padding:16px;text-align:center;font-size:14px}
.tn-meta{width:100%;border-collapse:collapse;font-size:14.5px;margin:6px 0 4px}
.tn-meta th,.tn-meta td{border:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top}
.tn-meta th{background:var(--sea-pale);color:var(--sea-d);font-family:"Shippori Mincho",serif;width:110px;white-space:nowrap}
.tn-case::after{content:"";display:block;clear:both}
.tn-orig{font-size:13px;margin-top:14px}
/* wide wrap (legacy helper, kept for compatibility) */
.wrap-wide{max-width:1320px;margin:0 auto;padding:0 12px}
@media(max-width:560px){.wrap-wide{padding:0 8px}}
/* tsubonet-style case headings: plain section bars like tsubonet.com case pages */
.tn-sec{font-family:"Shippori Mincho",serif;font-size:18px;font-weight:700;color:var(--ink);border-left:none;border-bottom:2px solid var(--sea);padding:0 0 6px;margin:26px 0 12px}
.tn-meta th{background:#f2f7f5;color:var(--ink);font-family:"Zen Kaku Gothic New",sans-serif;font-weight:700}
.tn-case{border-radius:8px}
/* case list (tsubonet-style index) */
.case-list{display:grid;gap:12px;margin-bottom:8px}
.case-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px 20px}
.case-card h3{font-size:18px;line-height:1.55;margin-bottom:8px}
.case-card .cc-meta{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:6px}
.case-card .cc-meta b{color:var(--ink);font-weight:700}
.case-card .cc-open{display:inline-flex;align-items:center;gap:6px;margin-top:8px;background:var(--sea);color:#fff;text-decoration:none;font-weight:700;font-size:14px;padding:10px 18px;border-radius:999px;min-height:44px;border:none}
.case-nav-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0}
.btn-back{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--sea);color:var(--sea-d);font-weight:700;font-size:14px;padding:10px 18px;border-radius:999px;min-height:44px;text-decoration:none}
.btn-next{display:inline-flex;align-items:center;gap:6px;background:var(--sea-pale);color:var(--sea-d);font-weight:700;font-size:14px;padding:10px 18px;border-radius:999px;min-height:44px;text-decoration:none;border:1px solid var(--line)}
/* symptoms WHO list: packed multi-column grid (PC 3 cols / phone 2 cols) */
.who-list{list-style:none;padding:0;margin:0 0 8px;display:grid;grid-template-columns:repeat(3,1fr);column-gap:26px}
.who-list li{padding:7px 0 7px 20px;position:relative;border-bottom:1px dashed var(--line);font-size:14px;line-height:1.5}
.who-list li::before{content:"・";position:absolute;left:2px;color:var(--sea);font-weight:700}
@media(max-width:820px){.who-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:400px){.who-list li{font-size:13px;padding-left:16px}}
.sym-link{color:var(--sea-d);font-weight:700;text-decoration:underline}
/* symptom link banners — new design for this site (no legacy banner images):
   pale emerald cards with a sea-coloured accent, serif titles and a
   small English label, matching the hero / pillars typography. */
.sym-banners{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:6px 0 4px}
.sym-banners .bn{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;text-decoration:none;color:var(--ink);background:linear-gradient(120deg,#ffffff 0%,var(--sea-pale) 100%);border:1px solid var(--line);border-radius:14px;padding:16px 18px 15px;overflow:hidden;min-height:76px;transition:border-color .2s,box-shadow .2s}
.sym-banners .bn::before{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--sea) 0%,rgba(69,178,154,0) 78%)}
.sym-banners .bn:hover,.sym-banners .bn:focus-visible{border-color:var(--sea);box-shadow:0 6px 18px rgba(47,138,118,.13)}
.sym-banners .bn .bn-txt{display:block;min-width:0;flex:1}
.sym-banners .bn .bn-thumb{width:58px;height:58px;border-radius:10px;object-fit:cover;flex:none;border:1px solid var(--line);background:#fff}
.sym-banners .bn .bn-en{display:block;font-size:10px;letter-spacing:.26em;color:var(--sea);font-weight:700;margin-bottom:3px}
.sym-banners .bn .bn-title{display:block;font-family:"Shippori Mincho",serif;font-size:18.5px;font-weight:700;line-height:1.45;letter-spacing:.03em}
.sym-banners .bn .bn-arrow{flex:none;width:36px;height:36px;border-radius:50%;background:var(--sea);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;line-height:1}
.sym-banners .bn-note{font-size:12.5px;color:var(--muted);margin:6px 2px 0;line-height:1.5}
@media(max-width:560px){.sym-banners{grid-template-columns:1fr}.sym-banners .bn .bn-title{font-size:17.5px}}
.sports-box{background:var(--bg2);border-radius:14px;padding:20px;margin:22px 0 4px}
.sports-box .bn-head{position:relative;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;background:linear-gradient(120deg,var(--sea-d) 0%,var(--sea) 100%);color:#fff;border-radius:10px;padding:16px 20px 15px;margin-bottom:14px;overflow:hidden}
.sports-box .bn-head::after{content:"";position:absolute;right:-30px;top:-46px;width:150px;height:150px;border-radius:50%;border:22px solid rgba(255,255,255,.16)}
.sports-box .bn-head .bn-head-title{font-family:"Shippori Mincho",serif;font-size:21px;font-weight:700;letter-spacing:.08em}
.sports-box .bn-head .bn-head-en{font-size:10.5px;letter-spacing:.3em;font-weight:700;opacity:.85}
.sports-box .bn-head .bn-head-sub{font-size:12.5px;opacity:.92;width:100%}
.sports-box .sym-banners{margin:0}
.onayami{margin-top:24px}
.onayami h4{font-size:16.5px;color:var(--sea-d);margin:0 0 4px;line-height:1.6}
.onayami p{margin-top:14px}
/* access page illustrations (from the current site) */
.access-fig{margin:20px auto 28px;max-width:290px}
.access-fig img{width:100%;height:auto;display:block}
.resv-chick{width:84px;height:auto;display:block;margin-bottom:8px}
/* pillar detail pages */
.pillar-hero-img{display:block;border-radius:var(--radius);margin:6px auto 20px;width:100%;max-width:640px;height:auto}
.pillar-nav{display:grid;gap:12px;margin-top:30px}
@media(min-width:720px){.pillar-nav{grid-template-columns:1fr 1fr}}
.pillar-nav a{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;text-decoration:none;color:var(--ink)}
.pillar-nav a b{display:block;font-family:"Shippori Mincho",serif;font-size:17px;margin-bottom:2px}
.pillar-nav a span{font-size:13px;color:var(--muted)}
/* Q&A videos — embedded inside the matching question's answer */
.qa-video{margin-top:14px;max-width:560px}
.video-frame{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#0d2420}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* footer map */
.footer-map{margin-top:28px}
.footer-map .map-frame{background:#fff}
/* map */
.map-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.btn-map{display:inline-flex;align-items:center;gap:6px;background:var(--sea);color:#fff;text-decoration:none;font-weight:700;font-size:14px;padding:11px 20px;border-radius:999px;min-height:48px}
.btn-map-sub{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--sea);color:var(--sea-d);text-decoration:none;font-weight:700;font-size:14px;padding:11px 20px;border-radius:999px;min-height:48px}
/* symptom detail pages (migrated from the current site's per-symptom pages) */
.sym-article{background:#fff;border:1px solid var(--line);border-radius:8px;padding:36px;margin-bottom:28px}
.sym-article>h3{font-size:22px;border-bottom:2px solid var(--sea-pale);padding-bottom:10px;margin-bottom:18px}
.sym-article p{font-size:14.5px;color:#3c4f48;margin:0 0 .9em}
.sym-article ul{font-size:14.5px;color:#3c4f48;margin:0 0 1em;padding-left:22px}
.sym-article li{margin:3px 0}
.sym-article .tag{display:inline-block;background:var(--sea-pale);color:var(--sea-d);font-size:12px;font-weight:700;border-radius:999px;padding:4px 12px;margin:0 6px 12px 0}
.sym-article::after{content:"";display:block;clear:both}
.sym-hero{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:2px 0 18px}
.sym-hero.contain{object-fit:contain;background:#fff}
/* 症状ページの1枚目: 全症状で共通の「枠」に収める。枠は記事幅の中で
   最大600px・縦横比3:2に固定し、写真は cover、イラストは contain で
   枠内に全体が収まるようにする（はみ出しゼロ・サイズ統一） */
.sym-lead{margin:2px auto 18px;max-width:600px;aspect-ratio:3/2;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.sym-lead img{width:100%;height:100%;object-fit:cover;display:block}
.sym-lead.contain img{object-fit:contain}
.sym-hero.banner{aspect-ratio:21/9}
.sym-fig-in{display:block;width:100%;max-width:520px;height:auto;margin:10px auto 14px;border-radius:10px}
/* シンスプリント: 4枚の写真を段落の合間に散らすレイアウト */
.sym-scatter{display:flow-root;margin:2px 0 6px}
.sym-scatter figure{margin:0}
.sym-scatter img{width:100%;height:auto;border-radius:10px;display:block}
.sym-scatter figcaption{font-size:11.5px;color:var(--muted);text-align:center;margin-top:6px;line-height:1.5}
.sym-scatter .sc-a{float:left;width:56%;margin:2px 18px 10px 0}
.sym-scatter .sc-b{float:right;width:40%;margin:2px 0 10px 18px}
.sym-scatter .sc-c{clear:both;width:64%;margin:0 auto}
@media(max-width:560px){.sym-scatter .sc-a,.sym-scatter .sc-b{float:none;width:100%;margin:0 0 12px}.sym-scatter .sc-c{width:100%}}
/* トップの健康経営カード（個別ページへの導線） */
.hm-card{display:grid;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-align:left}
@media(min-width:820px){.hm-card{grid-template-columns:1fr 1.2fr}}
.hm-card>img{width:100%;height:100%;min-height:220px;object-fit:cover}
.hm-media{display:flex;flex-direction:column;background:#fff;min-height:220px}
.hm-media>img{flex:1;width:100%;min-height:200px;object-fit:cover}
.hm-logo-bar{background:#fff;border-top:1px solid var(--line);padding:12px 16px;display:flex;justify-content:center;align-items:center}
.hm-logo-bar img{height:50px;width:auto;display:block}
.meti-logo-lg{display:block;width:235px;max-width:78%;height:auto;margin:2px auto 20px}
/* トップの「読み物」入口カード（細い1枚だけ） */
.reading-entry{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 22px;text-decoration:none;color:var(--ink);max-width:880px;margin:0 auto}
.reading-entry:hover{border-color:var(--sea)}
.reading-entry .re-title{font-family:"Shippori Mincho",serif;font-size:19px;font-weight:700;flex:none}
.reading-entry .re-items{font-size:13.5px;color:var(--muted);flex:1;line-height:1.6}
.reading-entry .re-arrow{flex:none;width:36px;height:36px;border-radius:50%;background:var(--sea);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;line-height:1}
@media(max-width:560px){.reading-entry{flex-wrap:wrap}.reading-entry .re-items{flex-basis:100%;order:3}}
/* 読み物ページの各項目 */
.reading-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 28px;margin-bottom:20px}
.reading-item h3{font-size:21px;margin-bottom:10px}
.reading-item p{font-size:14.5px;color:#3c4f48;margin:0 0 .9em}
.reading-item h4{font-family:"Shippori Mincho",serif;font-size:16.5px;color:var(--sea-d);margin:18px 0 8px}
@media(max-width:560px){.reading-item{padding:22px 18px}}
details.fold.in-card{border:none;border-top:1px dashed var(--line);border-radius:0;background:transparent;margin:12px 0 0}
details.fold.in-card>summary{padding:14px 2px 4px;font-size:16px;min-height:48px}
details.fold.in-card>summary:hover{background:transparent}
details.fold.in-card .fold-body{border-top:none;padding:0 2px 2px}
details.fold.fold-link{background:transparent;border:none;border-radius:0;overflow:visible;margin:2px 0 0}
details.fold.fold-link>summary{display:flex;justify-content:center;font-family:"Zen Kaku Gothic New",sans-serif;font-size:14px;font-weight:700;color:var(--sea-d);padding:10px 4px;min-height:44px}
details.fold.fold-link>summary:hover{background:transparent}
details.fold.fold-link>summary::after{display:none}
details.fold.fold-link .fold-body{border-top:none;padding:0 2px 2px}
.sdgs-img{display:block;width:auto;max-width:300px;height:auto;max-height:200px;object-fit:contain;border-radius:10px;margin:2px auto 14px}
/* 読み物ページの写真・イラスト（現行サイトの元ページから移設）:
   画像本来の縦横比のまま全体を表示する（切り抜き・引き伸ばし禁止）。
   aspect-ratio や height:100% のような容器合わせの指定は使わず、
   幅と高さの両方に上限を設けて、本文の中で大きくならないようにする。 */
.read-photo{display:block;width:auto;max-width:300px;height:auto;max-height:210px;object-fit:contain;border-radius:12px;margin:14px auto}
.read-auto{display:block;width:auto;max-width:300px;height:auto;max-height:240px;object-fit:contain;border-radius:12px;margin:14px auto}
.read-center{display:block;width:auto;max-width:230px;height:auto;max-height:240px;object-fit:contain;margin:14px auto;border-radius:12px}
.read-small{display:block;width:auto;max-width:210px;height:auto;max-height:180px;object-fit:contain;margin:14px auto;border-radius:12px}
.read-chick{display:block;width:110px;height:auto;max-height:120px;object-fit:contain;margin:4px auto 14px}
.read-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px auto;max-width:420px}
.read-duo img{width:100%;height:auto;max-height:150px;object-fit:contain;border-radius:12px;display:block}
/* ごあいさつの歴史イラスト行（元ページと同じ3点並び）: 全体を contain で表示 */
.read-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px auto;max-width:420px}
.read-trio img{width:100%;height:auto;max-height:110px;object-fit:contain;display:block}
/* 陰陽五行図: 左右で分割した2枚（相生／相克）を上下に積み、文字が読める大きさで表示 */
.read-stack{display:grid;gap:14px;margin:14px auto;max-width:360px}
.read-stack img{width:100%;height:auto;object-fit:contain;border-radius:12px;display:block}
@media(max-width:560px){
  .read-photo{max-width:82%;max-height:200px}
  .read-auto{max-width:84%;max-height:230px}
  .read-center{max-width:72%;max-height:230px}
  .read-small{max-width:64%;max-height:170px}
  .read-chick{width:100px}
  .read-duo{max-width:88%}
  .read-duo img{max-height:130px}
  .read-trio{gap:8px;max-width:92%}
  .read-trio img{max-height:96px}
  .sdgs-img{max-width:82%;max-height:200px}
  .read-stack{max-width:94%}
}
/* 料金ページの助成券ブロック */
.subsidy-box{max-width:560px;margin:22px auto 0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 28px}
.subsidy-box h3{font-size:19px;margin-bottom:10px}
.subsidy-box p{font-size:14.5px;color:#3c4f48;margin:0 0 .9em}
.subsidy-box p:last-child{margin-bottom:0}
.hm-card .hm-body{padding:26px 28px}
.hm-card h3{font-size:22px;margin-bottom:10px}
.hm-card p{font-size:14.5px;color:#3c4f48;margin:0 0 8px}
a.hm-card{text-decoration:none;color:inherit}
a.hm-card:hover{border-color:var(--sea)}
.sym-hero-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:2px 0 18px}
.sym-hero-duo img{width:100%;height:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px;display:block}
.sym-fig{float:right;width:min(248px,54vw);margin:2px 0 12px 18px}
.sym-fig img{width:100%;height:auto;border-radius:10px;display:block}
.sym-fig.ph img{border:1px solid var(--line)}
.sym-fig figcaption{font-size:11.5px;color:var(--muted);text-align:center;margin-top:6px;line-height:1.5}
.sym-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 16px;clear:both}
.sym-duo img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;display:block}
.sym-duo.portrait img{aspect-ratio:4/5}
.sym-duo figure{margin:0}
.sym-duo figure img{height:auto}
.sym-duo figcaption{font-size:11.5px;color:var(--muted);text-align:center;margin-top:6px;line-height:1.5}
.sym-related{background:var(--bg2);border-radius:12px;padding:14px 18px;margin-top:18px;clear:both}
.sym-related p{margin:0;font-size:14px}
@media(max-width:560px){.sym-fig{float:none;width:min(280px,88vw);margin:6px auto 14px}.sym-article{padding:22px 18px}}
/* ===== 折りたたみ（アコーディオン）: 長い説明は見出しだけ見せ、全文はタップで開く ===== */
details.fold{background:#fff;border:1px solid var(--line);border-radius:14px;margin:26px 0;overflow:hidden;text-align:left}
details.fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:17px 20px;min-height:58px;font-family:"Shippori Mincho",serif;font-size:19px;font-weight:700;color:var(--sea-d);line-height:1.55}
details.fold>summary::-webkit-details-marker{display:none}
details.fold>summary:hover{background:#f2f9f6}
details.fold>summary:focus-visible{outline:2px solid var(--sea);outline-offset:-2px}
details.fold>summary::after{content:"›";flex:none;margin-left:auto;width:34px;height:34px;border-radius:50%;background:var(--sea-pale);color:var(--sea-d);display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:700;transform:rotate(90deg);transition:transform .25s}
details.fold[open]>summary::after{transform:rotate(-90deg)}
details.fold .fold-tag{flex:none;font-family:"Zen Kaku Gothic New",sans-serif;font-size:11.5px;font-weight:700;background:var(--orange-soft);color:#a35a12;border-radius:999px;padding:4px 11px;line-height:1.4}
details.fold[open] .fold-tag{display:none}
details.fold .fold-body{padding:4px 20px 20px;border-top:1px dashed var(--line)}
details.fold .fold-body::after{content:"";display:block;clear:both}
details.fold .fold-body>p:first-child{margin-top:12px}
details.fold .fold-body .onayami{margin-top:6px}
details.fold .fold-body ul.who-list{margin-bottom:0}
/* 症例・症状記事内の小見出し用（ツボネット式の見出しバーの折りたたみ版） */
details.fold.tn{border-radius:8px;margin:14px 0}
details.fold.tn>summary{font-size:17px;color:var(--ink);padding:13px 16px;min-height:52px}
details.fold.tn>.fold-body{border-top:2px solid var(--sea);padding:6px 16px 16px}
/* Q&A用: 質問が見出し、回答が開く */
details.qa-fold{padding:0;margin:0 0 20px}
details.qa-fold>summary{padding:20px 26px}
/* Q&Aひよこ: 折りたたむ前の summary（質問タイトル横）に小さく常時表示。
   開かなくても見えるよう、本文側の大きな qa-fig は廃しこちらに一本化する */
.qa-chick{width:54px;height:54px;object-fit:contain;flex:none;border-radius:10px;display:block}
.qa-q-text{flex:1;min-width:0}
@media(max-width:560px){.qa-chick{width:44px;height:44px}}
/* Q&A「他院との違い」: 他院と当院の対比（現行サイト原文の比較表現をもとに構成） */
.qa-compare{display:grid;gap:12px;margin:4px 0 16px}
.cmp{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fbfefd}
.cmp-title{font-weight:700;color:var(--sea-d);font-size:14.5px;margin-bottom:10px}
.cmp-cols{display:grid;gap:10px}
@media(min-width:640px){.cmp-cols{grid-template-columns:1fr 1fr}}
.cmp-cell{border-radius:10px;padding:10px 12px 12px}
.cmp-cell.other{background:#f0f4f1}
.cmp-cell.ours{background:var(--sea-pale)}
.cmp-cell .cmp-tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;border-radius:999px;padding:2px 10px;margin-bottom:6px;line-height:1.6}
.cmp-cell.other .cmp-tag{background:#dde6e1;color:#54655e}
.cmp-cell.ours .cmp-tag{background:var(--sea);color:#fff}
.qa-full .cmp-cell p{margin:0;font-size:14px;line-height:1.75}
.cmp-cell.other p{color:#54655e}
.cmp-cell.ours p{color:#27463c}
.qa-body{padding:2px 26px 24px;border-top:1px dashed var(--line)}
.qa-body::after{content:"";display:block;clear:both}
.qa-body>p:first-child{margin-top:14px}
@media(max-width:560px){
  details.fold>summary{font-size:17px;padding:15px 16px}
  details.fold .fold-body{padding:4px 16px 16px}
  details.qa-fold>summary{padding:18px 20px}
  .qa-body{padding:2px 20px 20px}
}
@media(prefers-reduced-motion:reduce){details.fold>summary::after{transition:none}}
/* 読み物ページ画像の最終ガード（スタイルの最後に置き、確実に効かせる）:
   容器の高さへの引き伸ばしと切り抜きを全面的に禁止し、全体を比率どおり表示する */
.eb-reading .reading-item img.read-photo,.eb-reading .reading-item img.read-auto,.eb-reading .reading-item img.read-center,.eb-reading .reading-item img.read-small,.eb-reading .reading-item img.read-chick,.eb-reading .reading-item img.sdgs-img,.eb-treatment img.read-photo,.eb-treatment img.read-auto,.eb-treatment img.read-center,.eb-treatment img.read-small,.eb-treatment img.read-chick,.eb-origin img.read-photo,.eb-origin img.read-auto,.eb-origin img.read-center,.eb-origin img.read-small,.eb-origin img.read-chick{height:auto;object-fit:contain}
.eb-reading .read-duo img,.eb-reading .read-trio img,.eb-reading .read-stack img,.eb-treatment .read-duo img,.eb-treatment .read-trio img,.eb-treatment .read-stack img,.eb-origin .read-duo img,.eb-origin .read-trio img,.eb-origin .read-stack img{height:auto;object-fit:contain}

/* ===== WordPress移行時の追加調整 =====
   ログイン時は管理バー（32px / モバイル46px）の分だけ固定ヘッダーを下げる */
body.admin-bar header.site{top:32px}
@media screen and (max-width:782px){body.admin-bar header.site{top:46px}}

/* ===== 2026-11-19 追加: 全ページ下部の戻るナビ =====
   テンプレート（page/single/home/index）の末尾に共通表示する */
.eb-bnav{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;padding:4px 0 42px}
.eb-bnav .btn-back,.eb-bnav .btn-next{min-height:48px;padding:12px 22px;font-size:15px}

/* ===== 2026-11-19 追加: 胃腸障害ページの胃＋腸イラスト併記 ===== */
.sym-lead-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:600px;margin:2px auto 18px}
.sym-lead-duo img{width:100%;height:auto;border:1px solid var(--line);border-radius:12px;display:block;background:#fff}

/* ===== 2026-11-19 追加: 症例ごとの患部スポットイラスト ===== */
.tn-spot{display:flex;align-items:center;gap:14px;margin:16px 0 6px}
.tn-spot svg{width:84px;height:84px;flex:none;background:#fbfefd;border:1px solid var(--line);border-radius:12px}
.tn-spot figcaption{font-size:12.5px;color:var(--muted);line-height:1.6}
.tn-spot figcaption b{display:block;font-size:13.5px;color:var(--sea-d)}

/* ===== 2026-11-19 追加: 旧クラス（wrap-wide / hours-full）無効化 =====
   ステージング等に残っている旧本文が、新CSSでも本文幅（.wrap と同じ）に収まるようにする */
.wrap-wide{max-width:1080px;margin:0 auto;padding:0 20px}
.hours-card.hours-full{max-width:1040px;margin-left:auto;margin-right:auto}

/* spacing: mobile stays compact (2026-11-19) */
@media(max-width:640px){
  section.block{padding:46px 0}
  .sym-article{padding:26px 20px}
  .tn-case{padding:26px 20px}
  .case{padding:24px 20px}
  .pillar{padding:28px 22px}
  details.fold{margin:20px 0}
}

/* ===== 2026-11-24 Hiroaki指摘: TOPページのカード文字を中央揃え ===== */
.eb-home .pillar{text-align:center}
.eb-home .pillar .num{margin-left:auto;margin-right:auto}
.eb-home .photo-card .pc-body{text-align:center}
.eb-home .hm-card{text-align:center}

/* ===== 2026-11-24 著者ボックス復旧（Blog記事・旧サイトの「この記事を書いた人」） ===== */
.author-box{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:22px 24px;margin:40px 0 4px}
.author-box-title{font-weight:700;font-size:14px;color:var(--sea-d);border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:18px}
.author-box-container{display:flex;gap:22px;flex-wrap:wrap}
.author-avatar{flex:0 0 80px;text-align:center}
.author-avatar>img{width:80px;height:80px;object-fit:cover;border-radius:8px}
.author-avatar .sns-icons{margin-top:8px}
.author-avatar .author-fb_icon{width:28px;height:28px}
.author-info{flex:1;min-width:230px}
.author-info .author-name{font-size:17px;margin:0 0 8px}
.author-info p{font-size:14px;line-height:1.85;margin:0 0 8px;color:#3c4f48}
