/* Adopted symptom layout: A hero / department cards, C reading guide. */
.symptom-detail-page { background:#fbfcfd; }
.symptom-detail {
    --sd-ink:#244b50;
    --sd-body:#3e5154;
    --sd-line:#ccdee3;
    padding-top:80px;
    color:var(--sd-body);
    font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
    font-size:16px;
    font-weight:500;
    line-height:1.95;
}
.sd-wrap { width:min(1180px,calc(100% - 80px)); margin-inline:auto; }
.sd-content { width:min(950px,calc(100% - 80px)); margin-inline:auto; padding-top:42px; }
.symptom-detail :is(h1,h2,h3,h4) { margin:0; color:var(--sd-ink); line-height:1.6; overflow-wrap:anywhere; }
.symptom-detail a:focus-visible,.symptom-detail summary:focus-visible { outline:3px solid #247787; outline-offset:5px; }
.sd-eyebrow { color:#567777; font-size:11px; font-weight:700; letter-spacing:.18em; line-height:1.7; }
.sd-eyebrow span { margin-left:14px; font-size:10px; font-weight:400; }
.sd-breadcrumb { display:flex; flex-wrap:wrap; gap:12px; padding:26px 0; color:#667e80; font-size:11px; }
.sd-hero { display:grid; grid-template-columns:1.25fr 1fr; align-items:center; gap:32px; min-height:390px; padding:24px 55px; background:linear-gradient(110deg,#f0f6f2,#f5f9f7); border-radius:4px 80px 4px 4px; }
.sd-hero h1 { margin:18px 0 20px; font:500 clamp(42px,4.8vw,66px)/1.25 "Yu Mincho","Hiragino Mincho ProN",serif; letter-spacing:.1em; }
.sd-english { display:block; color:#77978e; font:400 18px Georgia,serif; letter-spacing:.06em; margin-top:12px; }
.sd-lead { font-size:17px; line-height:2; letter-spacing:.05em; }
.sd-figure { position:relative; isolation:isolate; display:grid; place-items:center; margin:0; }
.sd-figure::before { content:""; position:absolute; width:90%; aspect-ratio:1; background:#dfede780; border-radius:49% 51% 63% 37% / 47% 43% 57% 53%; }
.sd-figure img { position:relative; z-index:1; display:block; width:100%; max-width:315px; height:315px; object-fit:contain; }
.sd-article,.sd-accordion { scroll-margin-top:110px; }
.sd-article-heading { display:flex; gap:20px; align-items:baseline; margin-bottom:24px; }
.sd-article-heading h2 { font-size:23px; font-weight:600; letter-spacing:.025em; }
.sd-number { flex-shrink:0; color:#a7bcb5; font:italic 28px Georgia,serif; }
.sd-copy { font-size:15px; line-height:2.05; overflow-wrap:anywhere; }
.sd-copy p+p { margin-top:18px; }
.sd-copy ul,.sd-copy ol { padding-left:1.35em; margin:22px 0; }
.sd-copy ul { list-style:disc; }
.sd-copy li+li { margin-top:12px; }
.sd-copy li::marker { color:#709b91; }
.sd-copy strong { color:#254f54; font-weight:700; }
.sd-copy :is(h3,h4) { font-size:19px; margin:28px 0 15px; }
.sd-copy .sd-section__title::after { content:none; }
.sd-alert-box { margin-top:24px; padding:20px 24px; background:#f1f6f5; border-left:3px solid #a6c7bc; }
.sd-alert-box__title { font-weight:700; color:var(--sd-ink); margin-bottom:10px; }
.sd-alert-box p+p { margin-top:8px; }
.sd-point { margin-top:24px; border-top:1px solid #dbe6e1; padding-top:24px; display:flex; align-items:flex-start; gap:15px; }
.sd-point__icon { flex:0 0 auto; padding:2px 12px; font-size:11px; background:#e4efea; color:#34685d; border-radius:20px; }
.sd-copy .sd-point__title { font-size:17px; margin:0 0 12px; }
.sd-alert,.sd-notice { background:#fcf6ef; border:1px solid #eadbc9; border-left:3px solid #bf9270; padding:30px 36px; border-radius:8px; margin-bottom:24px; }
.sd-alert h2,.sd-notice h2 { color:#79533c; }
.sd-alert .sd-article-heading { margin-bottom:16px; }
.sd-alert .sd-number { display:none; }
.sd-copy .sd-alert { margin-top:24px; padding:20px; }
.sd-alert__title { color:#79533c; font-size:17px; font-weight:700; margin-bottom:14px; }
.sd-copy .sd-check-list { list-style:none; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.sd-check-list li { position:relative; margin:0!important; padding:14px 18px 14px 43px; background:#fffaf5; border:1px solid #ecded0; border-radius:4px; font-size:14px; }
.sd-check-list li::before { content:"!"; position:absolute; left:17px; color:#9a6849; font-weight:700; }
.sd-text--alert,.sd-note { font-size:13px; color:#775b46; }
.sd-note--alert,.sd-text--strong-alert { padding-top:16px; border-top:1px solid #e7d7c6; color:#744529; font-weight:600; }
.sd-notice p { color:#744529; font-size:14px; }
.sd-notice p+p { margin-top:12px; }
.sd-notice .sd-note--alert { border:0; padding:0; }
.sd-text--small { font-size:.9em; }
.sd-copy .sd-list--decimal { list-style:none; padding:0; counter-reset:visit; }
.sd-list--decimal li { counter-increment:visit; position:relative; border-bottom:1px solid #dbe6e1; padding:0 0 18px 48px; }
.sd-list--decimal li::before { content:counter(visit,decimal-leading-zero); position:absolute; left:0; top:0; color:#6f9a8e; font:24px Georgia,serif; }
.sd-card { padding:20px 24px!important; background:#f0f6f3; border-radius:6px; }
.sd-copy ul.sd-card { padding-left:40px!important; }
.sd-intro__highlight { font-weight:600; font-size:17px; color:#315d62; }
.sd-button-container { margin:24px 0; }
.sd-button { display:inline-flex; align-items:center; justify-content:space-between; gap:28px; padding:15px 25px; color:#fff; background:#28585d; border:1px solid #28585d; border-radius:5px; font-size:13px; text-decoration:none; }
.sd-button:hover { color:#fff; background:#376c70; }
.sd-doctor-card { display:flex; align-items:flex-start; gap:24px; padding:24px; background:#f1f6f4; border-radius:8px; }
.sd-doctor-card__image-placeholder { flex:0 0 92px; height:112px; display:grid; place-items:center; border:1px solid #d1e1d9; color:#7c9790; font-size:12px; }
.sd-doctor-card__name { font-size:17px; font-weight:700; }
.sd-guide-heading { margin:52px 0 26px; }
.sd-guide-heading h2 { font-size:29px; font-weight:500; margin:8px 0; letter-spacing:.06em; }
.sd-guide-heading p:last-child { font-size:13px; color:#667e80; }
.sd-guide-heading br { display:none; }
.sd-accordions { border-top:1px solid var(--sd-line); }
.sd-accordion { border-bottom:1px solid var(--sd-line); overflow-anchor:none; }
.sd-accordion>summary { display:flex; align-items:center; gap:24px; padding:26px 10px; cursor:pointer; list-style:none; }
.sd-accordion>summary::-webkit-details-marker { display:none; }
.sd-accordion summary h2 { flex:1; font-size:21px; font-weight:500; }
.sd-accordion .sd-number { font-size:22px; color:#9bb4be; }
.sd-disclosure { position:relative; flex:0 0 30px; height:30px; border:1px solid #cbdde2; border-radius:50%; }
.sd-disclosure::before,.sd-disclosure::after { content:""; position:absolute; left:9px; right:9px; top:14px; height:1px; background:#366f7d; }
.sd-disclosure::after { transform:rotate(90deg); transition:transform 320ms ease; }
.sd-accordion[open]:not([data-expanded="false"]) .sd-disclosure::after { transform:rotate(0); }
.sd-panel { display:flow-root; }
.sd-panel>.sd-copy { padding:0 65px 34px 59px; }
.sd-related { margin-top:54px; }
.sd-dept-grid { display:grid; grid-template-columns:1fr; gap:14px; }
.sd-department { position:relative; display:block; min-height:140px; padding:22px 144px 22px 22px; border:1px solid #dbe6e1; border-radius:8px; background:#fff; text-decoration:none; transition:background .2s,border-color .2s; }
.sd-department:hover { background:#f3f8f5; border-color:#8bafa3; }
.sd-copy .sd-dept-name { font-size:18px; margin:0 0 8px; }
.sd-dept-desc { font-size:13px; line-height:1.9; color:#536b6d; }
.sd-dept-image { position:absolute; right:24px; top:50%; transform:translateY(-50%); width:96px; height:96px; object-fit:contain; }
.sd-other { margin-top:30px; border-top:1px solid var(--sd-line); }
.sd-other>summary { justify-content:space-between; gap:15px; padding:18px 0; color:var(--sd-ink); font-size:13px; }
.sd-other nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding-bottom:20px; }
.sd-other nav a { font-size:12px; padding:8px 10px; background:#edf4f1; }
.sd-other nav span { float:right; }
.sd-visit { display:flex; align-items:center; justify-content:space-between; gap:28px; margin:48px 0 72px; padding:32px; border:1px solid #d0e0e7; background:#eaf3f6; border-radius:12px; }
.sd-visit h2 { font-size:24px; margin:8px 0; }
.sd-visit p:not(.sd-eyebrow) { font-size:13px; }
.sd-visit .sd-button { white-space:nowrap; }
@media (max-width:1100px) {
    .sd-wrap,.sd-content { width:calc(100% - 48px); }
}
@media (max-width:800px) {
    .sd-hero { padding:24px 30px; min-height:350px; }
    .sd-hero h1 { font-size:47px; }
    .sd-figure img { height:270px; max-width:270px; }
    .sd-lead { font-size:15px; }
    .sd-visit { padding:30px; gap:24px; }
    .sd-visit h2 { font-size:22px; }
}
@media (max-width:560px) {
    .sd-wrap,.sd-content { width:calc(100% - 36px); }
    .sd-content { padding-top:26px; }
    .sd-breadcrumb { padding:21px 0; gap:8px; font-size:10px; }
    .sd-hero { grid-template-columns:1fr; gap:16px; padding:30px 24px 20px; min-height:0; border-radius:4px 55px 4px 4px; }
    .sd-hero h1 { font-size:clamp(34px,10.8vw,43px); margin:14px 0 18px; }
    .sd-english { font-size:16px; }
    .sd-lead { font-size:14px; }
    .sd-figure { width:200px; margin:auto; }
    .sd-figure img { height:200px; }
    .sd-article-heading { align-items:flex-start; gap:12px; margin-bottom:20px; }
    .sd-article-heading h2 { font-size:21px; }
    .sd-number { font-size:23px; line-height:1.6; }
    .sd-copy { line-height:2; }
    .sd-alert,.sd-notice { padding:23px 20px; }
    .sd-alert .sd-article-heading { display:block; }
    .sd-alert .sd-copy { font-size:14px; }
    .sd-copy .sd-check-list { grid-template-columns:1fr; gap:10px; }
    .sd-check-list li { padding:12px 12px 12px 35px; }
    .sd-check-list li::before { left:13px; }
    .sd-alert-box { padding:18px; }
    .sd-point { display:block; }
    .sd-point__icon { display:inline-block; margin-bottom:12px; }
    .sd-department { padding:20px 102px 20px 18px; }
    .sd-dept-image { width:72px; height:72px; right:14px; }
    .sd-copy .sd-dept-name { font-size:17px; }
    .sd-guide-heading { margin-top:36px; }
    .sd-guide-heading h2 { font-size:25px; }
    .sd-guide-heading br { display:block; }
    .sd-accordion>summary { padding:22px 2px; gap:13px; align-items:flex-start; }
    .sd-accordion summary h2 { font-size:19px; }
    .sd-accordion .sd-number { font-size:19px; line-height:1.6; }
    .sd-disclosure { flex-basis:26px; height:26px; margin-top:2px; }
    .sd-disclosure::before,.sd-disclosure::after { left:7px; right:7px; top:12px; }
    .sd-panel>.sd-copy { padding:0 4px 28px; }
    .sd-visit { display:block; padding:25px 23px; margin:44px 0; }
    .sd-visit .sd-button { width:100%; margin-top:22px; }
    .sd-doctor-card { display:block; padding:20px; }
    .sd-doctor-card__image-placeholder { width:92px; margin-bottom:18px; }
}
@media (prefers-reduced-motion:reduce) {
    .symptom-detail *,.symptom-detail *::before,.symptom-detail *::after { transition:none!important; }
}
