/* Shared layout for the three service guide samples. */
.service-page {
    --service-ink: #174d56;
    --service-accent: #447c72;
    --service-tint: #eaf3ee;
    --service-line: #cdded8;
    background: #fff;
    color: #3e5559;
}
.service-page--checkup { --service-accent: #457b91; --service-tint: #edf4f7; --service-line: #cedee5; }
.service-page--homecare { --service-accent: #78664e; --service-tint: #f4f0e7; --service-line: #dfd9cb; }
.service-guide { padding: 116px 0 80px; }
.service-wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.service-crumb { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; font-size: 12px; }
.service-crumb a { text-decoration: underline; text-underline-offset: 4px; }
.service-crumb span[aria-hidden] { color: #879a9c; }
.service-hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; padding: 48px; background: var(--service-tint); border-radius: 8px 64px 8px 8px; }
.service-hero__copy { min-width: 0; }
.service-kicker { color: var(--service-accent); font: 700 11px/1.7 Arial, sans-serif; letter-spacing: .19em; }
.service-hero h1 { margin: 14px 0 26px; color: var(--service-ink); font-size: clamp(30px, 3.25vw, 46px); line-height: 1.4; letter-spacing: .035em; }
.service-hero h1 span { display: inline-block; }
.service-hero__catch { margin: 0 0 16px; color: var(--service-ink); font-size: clamp(18px, 1.8vw, 23px); font-weight: 500; line-height: 1.8; }
.service-hero__lead { font-size: 14px; line-height: 2; }
.service-image { position: relative; display: grid; align-content: center; justify-items: center; aspect-ratio: 4 / 3; min-width: 0; padding: 32px; overflow: hidden; border: 1px solid var(--service-line); border-radius: 6px 40px 6px 6px; background: #ffffff8c; color: var(--service-accent); }
.service-image::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--service-line); border-radius: inherit; pointer-events: none; }
.service-image__label { font: 400 clamp(28px, 4vw, 48px)/1.5 Georgia, serif; letter-spacing: .16em; }
.service-image figcaption { margin-top: 12px; text-align: center; font-size: 11px; line-height: 1.8; }
.service-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 27px 0; margin: 0 0 24px; border-bottom: 1px solid var(--service-line); }
.service-facts > div { padding: 0 30px; border-right: 1px solid var(--service-line); }
.service-facts > div:first-child { padding-left: 0; }
.service-facts > div:last-child { border: 0; }
.service-facts dt { font-size: 11px; color: var(--service-accent); margin-bottom: 6px; }
.service-facts dd { color: var(--service-ink); font-size: 16px; font-weight: 700; }
.service-sample { display: flex; align-items: baseline; gap: 18px; padding: 16px 20px; border: 1px solid var(--service-line); border-radius: 5px; font-size: 12px; line-height: 1.9; color: #5b7074; }
.service-sample strong { flex-shrink: 0; color: var(--service-accent); font-size: 11px; letter-spacing: .1em; }
.service-nav-sentinel { height: 30px; }
/* The section menu stays under the fixed header while the page scrolls. */
.service-nav { position: sticky; top: var(--header-height, 80px); z-index: 20; display: flex; gap: 10px; padding: 12px 0; margin-top: 18px; overflow-x: auto; scrollbar-width: none; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.service-nav::-webkit-scrollbar { display: none; }
.service-nav.is-stuck { border-bottom-color: var(--service-line); box-shadow: 0 10px 18px -16px #174d5640; }
.service-nav a { display: inline-flex; flex-shrink: 0; align-items: baseline; gap: 10px; padding: 10px 18px; border-radius: 30px; background: #f0f4f3; font-size: 14px; white-space: nowrap; color: var(--service-ink); transition: background-color .2s, color .2s; }
.service-nav span { color: var(--service-accent); font: italic 14px Georgia, serif; }
.service-nav a[aria-current] { background: var(--service-ink); color: #fff; }
.service-nav a[aria-current] span { color: #fff; }
.service-section { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 64px; margin-top: 88px; scroll-margin-top: calc(var(--header-height, 80px) + 96px); }
.service-section__heading > span { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 50%; background: var(--service-tint); color: var(--service-accent); font: italic 26px/1 Georgia, serif; }
.service-section h2 { color: var(--service-ink); font-size: 23px; line-height: 1.65; text-wrap: balance; }
.service-section__body { min-width: 0; font-size: 16px; line-height: 2; }
.service-section__body > p + p { margin-top: 14px; }
.service-section__lead { margin-bottom: 20px; color: var(--service-ink); font-size: 23px; line-height: 1.8; font-weight: 500; }
.service-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.service-point { min-width: 0; padding: 24px 20px; border-radius: 6px; background: var(--service-tint); }
.service-point h3 { margin-bottom: 10px; color: var(--service-ink); font-size: 16px; line-height: 1.7; }
.service-point p { font-size: 14px; line-height: 1.9; }
.service-note { margin: 16px 0 0; color: #5b7074; font-size: 12px; line-height: 1.9; }
.service-section__body > .service-note:first-child { margin-top: 0; margin-bottom: 16px; }
.service-data { margin: 0; border-top: 1px solid var(--service-line); }
.service-data--spaced { margin-top: 28px; }
.service-data > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding: 22px 6px; border-bottom: 1px solid var(--service-line); }
.service-data dt { color: var(--service-ink); font-weight: 700; text-wrap: balance; }
.service-data dd { font-size: 15px; line-height: 1.9; }
.service-tag { display: inline-block; padding: 2px 10px; margin-top: 8px; border: 1px solid var(--service-line); border-radius: 3px; color: var(--service-accent); font-size: 11px; font-weight: 500; }
.service-fees { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.service-fees caption { text-align: left; font-size: 12px; margin-bottom: 14px; }
.service-fees th, .service-fees td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--service-line); }
.service-fees thead th { background: var(--service-tint); color: var(--service-ink); }
.service-fees tbody th { font-weight: 500; }
.service-steps { list-style: none; counter-reset: service-step; }
.service-steps li { position: relative; counter-increment: service-step; padding: 0 0 28px 66px; }
.service-steps li:last-child { padding-bottom: 0; }
.service-steps li::before { content: "0" counter(service-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--service-line); border-radius: 50%; background: var(--service-tint); color: var(--service-accent); font: 16px Georgia, serif; }
.service-steps li:not(:last-child)::after { content: ""; position: absolute; top: 48px; bottom: 6px; left: 21px; border-left: 1px solid var(--service-line); }
.service-steps h3 { margin-bottom: 7px; color: var(--service-ink); font-size: 17px; }
.service-steps p { font-size: 15px; }
.service-schedule { display: flex; align-items: center; gap: 30px; padding: 28px 32px; margin-bottom: 24px; border-radius: 6px; background: var(--service-tint); }
.service-schedule__day { flex-shrink: 0; text-align: center; }
.service-schedule__day span { display: block; color: var(--service-accent); font: 11px Arial, sans-serif; letter-spacing: .14em; }
.service-schedule__day strong { display: block; color: var(--service-ink); font-size: 38px; line-height: 1.5; }
.service-schedule h3 { margin-bottom: 6px; font-size: 18px; color: var(--service-ink); }
.service-schedule p { font-size: 13px; }
.service-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.service-partner { min-width: 0; padding: 24px; border: 1px solid var(--service-line); border-radius: 6px; }
.service-partner > span { font-size: 11px; color: var(--service-accent); }
.service-partner h3 { margin: 8px 0; color: var(--service-ink); font-size: 17px; }
.service-partner p { font-size: 14px; }
.service-contact { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 38px 42px; margin-top: 80px; border-radius: 6px; background: var(--service-ink); color: #fff; }
.service-contact__label { font: 11px/1.5 Arial, sans-serif; letter-spacing: .18em; color: #c9dddd; }
.service-contact h2 { margin: 10px 0; font-size: 23px; }
.service-contact p:not(.service-contact__label) { font-size: 13px; line-height: 1.9; }
.service-contact__actions { display: grid; flex-shrink: 0; gap: 12px; min-width: 230px; text-align: center; }
.service-phone { font-size: 25px; font-weight: 500; letter-spacing: .05em; white-space: nowrap; }
.service-phone small { font-size: 11px; }
.service-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 12px 22px; border: 1px solid #ffffff70; border-radius: 4px; color: #fff; font-size: 13px; }
.service-related { display: flex; flex-wrap: wrap; gap: 18px 32px; padding: 32px 0; font-size: 13px; color: var(--service-ink); }
.service-related a { text-decoration: underline; text-underline-offset: 6px; }
.service-source { font-size: 11px; color: #667b7e; line-height: 1.9; }
.service-source a { text-decoration: underline; text-underline-offset: 3px; }
/* Vaccination: fee table and weekly schedule rendered from the management console (hospital-postings.js). */
.vaccine-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.service-page .postings-status { color: #5b7074; font-size: 14px; }
.service-page .postings-error { padding: 18px 22px; border: 1px solid #d9c4a5; border-radius: 4px; background: #fbf6ee; font-size: 14px; line-height: 1.9; }
.vaccine-revised { margin: 0 0 12px; text-align: right; color: #5b7074; font-size: 13px; }
.vaccine-revised time { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.vaccine-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.75; }
.vaccine-table thead th { padding: 12px 18px; background: var(--service-ink); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-align: left; }
.vaccine-table thead th:last-child { text-align: right; }
.vaccine-table__label th { padding: 22px 18px 10px; border-bottom: 2px solid var(--service-accent); color: var(--service-accent); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-align: left; }
.vaccine-table tbody tr:not(.vaccine-table__label) > * { padding: 15px 18px; border-bottom: 1px solid var(--service-line); vertical-align: top; }
.vaccine-table tbody tr:not(.vaccine-table__label):nth-child(odd) > * { background: #f7faf9; }
.vaccine-table tbody th[scope="row"] { width: 34%; color: var(--service-ink); font-weight: 700; text-align: left; }
.vaccine-table__target { font-size: 14px; }
.vaccine-table__none { color: #8a9b9d; }
.vaccine-table__fee { width: 8.5em; color: var(--service-ink); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.vaccine-notes { margin: 16px 0 0; padding: 0; list-style: none; color: #5b7074; font-size: 13px; line-height: 1.9; }
.vaccine-notes li { position: relative; padding-left: 1.2em; }
.vaccine-notes li::before { content: "\203B"; position: absolute; left: 0; }
.vaccine-reservation { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 22px; margin-bottom: 22px; border-radius: 6px; background: var(--service-tint); font-size: 14px; }
.vaccine-reservation strong { padding: 6px 16px; border-radius: 30px; background: var(--service-ink); color: #fff; font-size: 15px; letter-spacing: .08em; }
.vaccine-reservation--preferred strong { background: var(--service-accent); }
.vaccine-reservation--none strong { border: 1px solid var(--service-ink); background: #fff; color: var(--service-ink); }
.vaccine-week-wrap { overflow-x: auto; }
.vaccine-week { width: 100%; min-width: 420px; border-collapse: collapse; table-layout: fixed; text-align: center; }
.vaccine-week th, .vaccine-week td { padding: 14px 4px; border: 1px solid var(--service-line); }
.vaccine-week thead th { background: var(--service-tint); color: var(--service-ink); font-size: 15px; font-weight: 700; }
.vaccine-week thead th:first-child { width: 4.5em; background: transparent; border-top-color: transparent; border-left-color: transparent; }
.vaccine-week tbody th { color: var(--service-ink); font-size: 14px; font-weight: 700; }
.vaccine-week td { color: #a3b1b3; font-size: 18px; }
.vaccine-week td.is-open { background: #f3f8f6; color: var(--service-accent); font-weight: 700; }
.vaccine-week__mark { display: inline-block; line-height: 1; }
.vaccine-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; color: #5b7074; font-size: 12px; }
.vaccine-schedule-note { margin-top: 16px; font-size: 14px; line-height: 1.9; }
@media (max-width: 700px) {
    .vaccine-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .vaccine-table, .vaccine-table tbody, .vaccine-table tr, .vaccine-table th, .vaccine-table td { display: block; width: auto; }
    .vaccine-table__label th { padding: 20px 2px 8px; }
    .vaccine-table tbody tr:not(.vaccine-table__label) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 4px; border-bottom: 1px solid var(--service-line); }
    .vaccine-table tbody tr:not(.vaccine-table__label) > * { padding: 0; border: 0; background: none !important; }
    .vaccine-table tbody th[scope="row"] { width: auto; font-size: 15px; }
    .vaccine-table__fee { grid-column: 2; grid-row: 1; width: auto; font-size: 16px; }
    .vaccine-table__target { grid-column: 1 / -1; font-size: 13px; }
    .vaccine-table__target::before { content: attr(data-label) "\FF1A"; color: var(--service-accent); font-weight: 500; }
    .vaccine-reservation { padding: 16px; font-size: 13px; }
    .vaccine-week { min-width: 0; }
    .vaccine-week th, .vaccine-week td { padding: 11px 2px; }
    .vaccine-week thead th:first-child { width: 3.2em; }
    .vaccine-week tbody th { font-size: 12px; }
}
.service-guide a:focus-visible { outline: 3px solid #0b7995; outline-offset: 5px; }
@media (hover: hover) {
    .service-nav a:hover { background: var(--service-ink); color: #fff; }
    .service-nav a:hover span { color: #fff; }
    .service-related a:hover { color: var(--service-accent); }
    .service-button:hover { background: #ffffff15; color: #fff; }
}
@media (max-width: 1000px) {
    .service-wrap { width: calc(100% - 48px); }
    .service-hero { padding: 32px; gap: 30px; }
    .service-hero h1 { font-size: 32px; }
    .service-section { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
    .service-section h2 { font-size: 21px; }
    .service-points { grid-template-columns: 1fr; }
    .service-point { padding: 22px; }
    .service-data > div { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
    .service-section { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; }
    .service-section__heading { display: flex; gap: 16px; align-items: center; }
    .service-section__heading > span { flex-shrink: 0; margin: 0; }
}
@media (min-width: 768px) and (max-width: 1000px) {
    .service-page .header__inner { padding-inline: 18px; gap: 18px; }
    .service-page .header__logo { flex-shrink: 0; }
    .service-page .header__logo-text { font-size: 16px; white-space: nowrap; }
    .service-page .header__logo-sub { font-size: 10px; }
    .service-page .header__list { gap: 16px; }
    .service-page .header__link { font-size: 12px; white-space: nowrap; }
    .service-page .header__item--cta .btn { padding: 12px 16px; font-size: 12px; white-space: nowrap; }
}
@media (max-width: 700px) {
    .service-guide { padding: 92px 0 48px; }
    .service-wrap { width: calc(100% - 36px); }
    .service-crumb { font-size: 11px; margin-bottom: 22px; }
    .service-hero { grid-template-columns: 1fr; padding: 28px 24px 24px; gap: 26px; border-top-right-radius: 42px; }
    .service-hero h1 { font-size: clamp(27px, 7.4vw, 34px); margin: 12px 0 20px; }
    .service-hero__catch { font-size: 19px; }
    .service-hero__lead { font-size: 13px; }
    .service-image { aspect-ratio: 16 / 9; padding: 28px; }
    .service-image__label { font-size: 32px; }
    .service-image figcaption { font-size: 10px; margin-top: 6px; }
    .service-facts { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
    .service-facts > div, .service-facts > div:first-child { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 0; border: 0; }
    .service-facts dt { margin: 0; }
    .service-facts dd { font-size: 14px; }
    .service-sample { display: block; padding: 15px 16px; font-size: 11px; }
    .service-sample strong { display: block; margin-bottom: 4px; }
    .service-nav-sentinel { height: 18px; }
    .service-nav { gap: 8px; padding: 10px 0; margin-top: 6px; }
    .service-nav a { padding: 9px 13px; font-size: 13px; }
    .service-section { gap: 24px; margin-top: 56px; scroll-margin-top: calc(var(--header-height, 80px) + 80px); }
    .service-section__heading { gap: 14px; }
    .service-section__heading > span { width: 44px; height: 44px; font-size: 22px; }
    .service-section h2 { font-size: 21px; }
    .service-section__body { font-size: 15px; }
    .service-section__lead { font-size: 21px; }
    .service-points { grid-template-columns: 1fr; margin-top: 28px; }
    .service-point h3 { margin-bottom: 6px; }
    .service-data > div { grid-template-columns: 1fr; gap: 8px; padding: 18px 2px; }
    .service-data dd { font-size: 14px; }
    .service-fees th, .service-fees td { padding: 14px 10px; font-size: 13px; }
    .service-fees th { width: 50%; }
    .service-steps li { padding-left: 56px; }
    .service-steps p { font-size: 14px; }
    .service-schedule { align-items: flex-start; gap: 20px; padding: 24px 20px; }
    .service-schedule__day strong { font-size: 32px; }
    .service-partners { grid-template-columns: 1fr; }
    .service-contact { display: block; padding: 28px 24px; margin-top: 56px; }
    .service-contact h2 { font-size: 21px; }
    .service-contact__actions { min-width: 0; margin-top: 24px; }
    .service-related { gap: 20px; }
}
