.siteHeader {
    position: relative;
}

.wpPage {
    padding: 48px 24px 96px;
    font-size: 16px;
    line-height: 1.8;
}

.wpPageInner {
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
}

.wpPageTitle {
    margin-bottom: 32px;
    font-size: 36px;
    line-height: 1.4;
}

.wpPageContent {
    font-size: 16px;
    line-height: 1.8;
}

.wpPageContent > * {
    margin-block: 0 20px;
}

@media (max-width: 768px) {
    .wpPage {
        padding: 32px 20px 72px;
    }

    .wpPageTitle {
        margin-bottom: 24px;
        font-size: 28px;
    }
}


/* ==== Lower page styles (from https://kurahashi-clinic.jp/assets/css/page.css) ==== */
/* Lower page styles — matches test-top tonmana */

:root {
    --page-soft-blue: #eaf3fa;
    --page-soft-blue-2: #edf4fa;
    --page-soft-pink: #f8eaf2;
    --page-soft-pink-2: #f3e0ec;
    --page-text: #333;
    --page-muted: #5a6a75;
    --font-mincho: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
}

/* ---- Lower page document flow ---- */
body.is-lowerPage {
    overflow-x: hidden;
    padding-top: 10rem;
    background: #fff;
}

body.is-lowerPage .siteHeader {
    position: absolute;
}

body.is-lowerPage .siteHeaderLogo {
    margin: 0;
    font-size: 0;
    line-height: 0;
}

body.is-lowerPage main {
    position: relative;
    z-index: 1;
}

/* ---- Page hero ---- */
.pageHero {
    position: relative;
    overflow: hidden;
    padding: 4rem 6rem 5rem;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 136, 202, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 50% at 95% 30%, rgba(0, 136, 202, 0.08), transparent 50%),
        linear-gradient(165deg, var(--page-soft-blue) 0%, #f7fbfe 45%, #fff 100%);
}

.pageHeroInner {
    max-width: 120rem;
    margin: 0 auto;
}

.pageBreadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    margin-bottom: 2.4rem;
    color: var(--page-muted);
    font-family: var(--font-regular);
    font-size: 1.4rem;
    line-height: 1.4;
}

.pageBreadcrumb a {
    color: var(--color-blue);
}

.pageBreadcrumb span[aria-hidden="true"] {
    color: #b0bec5;
}

.pageHeroEn {
    margin: 0 0 0.8rem;
    color: var(--color-blue);
    font-family: "ArialRoundedLocal", Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.pageHeroTitle {
    margin: 0 0 2rem;
    color: var(--page-text);
    font-family: var(--font-bold);
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.pageHeroCatch {
    max-width: 90rem;
    margin: 0;
    color: #2a4558;
    font-family: var(--font-mincho);
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.7;
}

/* ---- Content sections ---- */
.pageSection {
    padding: 5rem 6rem 0;
}

.pageSectionInner {
    max-width: 120rem;
    margin: 0 auto;
}

.pageSectionTitle {
    margin: 0 0 1.2rem;
    color: var(--color-blue);
    font-family: var(--font-bold);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    border-left: 0.5rem solid var(--color-blue);
    padding-left: 1.6rem;
}

.pageSectionCatch {
    position: relative;
    margin: 0 0 2.4rem;
    color: #2a4558;
    font-family: var(--font-mincho);
    font-size: 2.6rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
    font-weight: 700;
    padding-left: 2.5rem;
}

.pageSectionCatch:before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 0;
    font-size: 1.9rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
    font-weight: 700;
    background: #2a4558;
    width: 1.5rem;
    height: 1.5rem;
    display: block;

}

.pageSectionSub {
    margin: 0 0 2rem;
    font-family: var(--font-regular);
    font-size: 2.2rem;
    line-height: 1.8;
    font-family: var(--font-mincho);
    background: linear-gradient(transparent 60%, rgba(37, 143, 200, 0.3) 60%);
    display: inline;
}

/* ---- Blocks ---- */
.pageBlock {
    margin-top: 3.2rem;
}

.pageBlock + .pageBlock {
    margin-top: 3.6rem;
}

.pageBlock--media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
}

.pageBlock--media.pageBlock--mediaReverse {
    direction: rtl;
}

.pageBlock--media.pageBlock--mediaReverse > * {
    direction: ltr;
}

.pageBlockMedia {
    overflow: hidden;
    border-radius: 0.4rem;
    margin-bottom: 2.4rem;
}

.pageBlockMedia img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 2 / 1;
}

.pageBlockImg {
    overflow: hidden;
    border-radius: 0.4rem;
}

.pageBlockImg img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pageBlockBody p,
.pageLead p,
.pageText p {
    margin: 0 0 1.6rem;
    font-family: var(--font-regular);
    font-size: 1.7rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
}

.pageBlockBody p:last-child,
.pageLead p:last-child,
.pageText p:last-child {
    margin-bottom: 0;
}

.pageSubheading {
    margin: 2.8rem 0;
    padding-bottom: 1rem;
    color: var(--color-blue);
    font-family: var(--font-bold);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.45;
    border-bottom: 0.1rem solid var(--page-text);
}

.pageSubheading:first-child {
    margin-top: 0;
}

.pageEmphasis {
    position: relative;
    padding-left: 2.4rem;
    margin: 1.2rem 0;
    color: var(--page-text);
    font-family: var(--font-bold);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.45;
}

.pageEmphasis:before {
    content: "";
    position: absolute;
    top: 1.2rem;
    left: 0;
    width: 1.2rem;
    height: 0.3rem;
    background: var(--color-blue);
}

.pageFlow {
    margin: 0 0 2rem;
    padding: 2rem 2.4rem;
    background: rgba(0, 136, 202, 0.06);
    border-left: 0.4rem solid var(--color-blue);
    font-family: var(--font-regular);
    font-size: 1.7rem;
    line-height: 1.85;
}

/* ---- Quote ---- */
.pageQuote {
    margin: 1rem 0;
    background: linear-gradient(transparent 60%, rgb(218, 134, 186, 0.3) 60%);
    color: #2a4558;
    font-family: var(--font-mincho);
    font-size: 2.2rem;
    letter-spacing: 0.04em;
    line-height: 1.8;
    display: inline;
}

/* ---- Lists ---- */
.pageList {
    margin: 1.2rem 0 2rem;
    padding: 0;
    list-style: none;
}

.pageList li {
    position: relative;
    margin: 0 0 1rem;
    padding-left: 2.4rem;
    font-family: var(--font-regular);
    font-size: 1.7rem;
    line-height: 1.75;
}

.pageList li::before {
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--color-blue);
    content: "";
}

.pageList--check li::before {
    top: 0.7rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 0.2rem;
    background: transparent;
    border: 0.2rem solid var(--color-blue);
    box-sizing: border-box;
}

.pageList--dot li::before {
    width: 0.7rem;
    height: 0.7rem;
    top: 0.85rem;
    left: 0.25rem;
}

.pageList--step {
    margin: 1.2rem 0 2rem;
    padding: 0;
    list-style: none;
}

.pageList--step .pageStepHeading {
    background: var(--color-blue);
    color: #fff;
    padding: 1rem 2rem;
    margin: 2rem 0;
    font-family: var(--font-bold);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.45;
}

/* ---- Notes ---- */
.pageNote {
    margin: 1.6rem 0 0;
    color: var(--page-muted);
    font-family: var(--font-regular);
    font-size: 1.7rem;
    line-height: 1.7;
}

.pageNote + .pageNote {
    margin-top: 0.6rem;
}

/* ---- Portrait in media (doctor) ---- */
.pageBlockImg--portrait img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
}

/* ---- Profile (doctor) ---- */
.pageProfile {
    display: grid;
    grid-template-columns: 32rem 1fr;
    gap: 3.2rem;
    align-items: start;
    margin-top: 3.2rem;
    padding: 2.4rem;
    background: rgba(0, 136, 202, 0.04);
    border-radius: 0.4rem;
}

.pageProfile--creds {
    grid-template-columns: 1fr;
}

.pageProfilePhoto {
    overflow: hidden;
    border-radius: 0.4rem;
    background: var(--page-soft-blue);
}

.pageProfilePhoto img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
}

.pageSection p.pageProfileName {
    margin: 0 0 0.8rem;
    font-family: var(--font-bold);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pageProfileRole {
    margin: 0 0 2rem;
    color: var(--color-blue);
    font-family: var(--font-regular);
    font-size: 1.5rem;
}

.pageProfileGroup {
    margin-bottom: 2rem;
}

.pageProfileGroupTitle {
    margin: 0 0 0.8rem;
    font-family: var(--font-bold);
    font-size: 2.2rem;
    font-weight: 700;
}

/* ---- Definition / info ---- */
.pageDefList {
    margin: 1.6rem 0 2.4rem;
    width: 100%;
    border-collapse: collapse;
    border: 0.1rem solid #ddd;
}

.pageDefList th {
    font-family: var(--font-regular);
    font-size: 2rem;
    line-height: 1.7;
    background: #e5f1fa;
    padding: 1rem;
    border-top: 0.1rem solid #ddd;
    border-left: 0.1rem solid #ddd;
    border-right: 0.1rem solid #ddd;
}

.pageDefList td {
    margin: 0;
    font-family: var(--font-regular);
    font-size: 2rem;
    line-height: 1.7;
    padding: 1rem;
    border-bottom: 0.1rem solid #ddd;
    border-left: 0.1rem solid #ddd;
}

/* ---- Vaccine cards ---- */
.pageVaccineGrid {
    display: grid;
    gap: 2.4rem;
    margin-top: 2.4rem;
}

.pageVaccineCard {
    padding: 2.4rem 2.8rem;
    background: #fff;
    border: 0.1rem solid rgba(0, 136, 202, 0.22);
    border-radius: 0.6rem;
    box-shadow: 0 0.4rem 1.6rem rgba(0, 136, 202, 0.06);
}

.pageVaccineCardTitle {
    margin: 0 0 1.2rem;
    color: var(--color-blue);
    font-family: var(--font-bold);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.pageVaccineCardLead {
    margin: 0 0 1.6rem;
    font-family: var(--font-regular);
    font-size: 1.6rem;
    line-height: 1.8;
}

.pageVaccineTable {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-regular);
    font-size: 1.8rem;
    line-height: 1.6;
    border-bottom: 0.1rem solid #ddd;
}

.pageVaccineTable caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.pageVaccineTable th,
.pageVaccineTable td {
    padding: 1rem 1.2rem;
    border-top: 0.1rem solid #ddd;
    text-align: left;
    vertical-align: top;
}

.pageVaccineTable th {
    width: 18rem;
    color: #1f5f86;
    font-family: var(--font-bold);
    font-weight: 700;
    background: rgba(0, 136, 202, 0.06);
}

.pageVaccineHighlight {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: underline;
    font-family: var(--font-regular);
    font-size: 1.8rem;
    line-height: 1.4;
    vertical-align: middle;
    font-weight: 700;
}

/* ---- Gallery (concept interior) ---- */
.pageGallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin: 2rem 0;
}

.pageGalleryItem figcaption {
    margin-top: 0.8rem;
    font-family: var(--font-regular);
    font-size: 2rem;
    text-align: center;
}

.pageGalleryItem img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.4rem;
}

/* ---- Hours table (concept) ---- */
.pageHoursTable {
    width: 100%;
    margin: 1.6rem 0 2rem;
    border-collapse: collapse;
    font-family: var(--font-regular);
    font-size: 1.8rem;
    text-align: center;
}

.pageHoursTable th,
.pageHoursTable td {
    padding: 1rem 0.6rem;
    border: 0.1rem solid #c5d8e6;
    width: 12rem;
}

.pageHoursTable th {
    background: rgba(0, 136, 202, 0.1);
    font-family: var(--font-bold);
}

.pageHoursTable th:first-child,
.pageHoursTable td:first-child {
    text-align: left;
    padding-left: 1.2rem;
    width: 18rem;
}

/* ---- Page CTA (shortened) ---- */
.pageCtaSection {
    padding: 4rem 6rem 5rem;
    background: linear-gradient(180deg, #fff 0%, var(--page-soft-blue) 100%);
}

.pageCtaInner {
    max-width: 120rem;
    margin: 0 auto;
    text-align: center;
}

.pageCtaTitle {
    margin: 0 0 1rem;
    font-family: var(--font-bold);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pageCtaText {
    margin: 0 0 2.4rem;
    color: var(--page-muted);
    font-family: var(--font-regular);
    font-size: 1.6rem;
    line-height: 1.7;
}

.pageCtaInner .accessCta {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2.4rem auto 0;
    width: auto;
    height: auto;
}

.pageCtaInner .accessCtaButton {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 36.4rem;
    height: 10rem;
}

.pageCtaInner .accessCtaButton img {
    position: static;
    flex: 0 0 auto;
}

.pageCtaInner .accessCtaButton span {
    position: static;
}

.pageCtaInner .accessCtaButton small {
    position: static;
}

body.is-lowerPage .pageCtaInner .accessCta {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: auto;
    height: auto;
}

body.is-lowerPage .pageCtaInner .accessCtaButton {
    position: relative;
    top: auto;
    left: auto;
}

/* Reset top-page absolute .accessCta so CTA stays in document flow */
body.is-lowerPage .pageCtaButtons,
body.is-lowerPage .pageCtaButtons.accessCta {
    position: static;
    top: auto;
    left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: auto;
    height: auto;
}

body.is-lowerPage .pageCtaButtons .accessCtaButton {
    position: relative;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36rem;
    width: auto;
    height: 8rem;
    padding: 0 2rem;
    color: #fff;
    border-radius: 0.4rem;
    font-size: 2.4rem;
    line-height: 1.2;
    white-space: normal;
}

body.is-lowerPage .pageCtaButtons .accessCtaButton--tel {
    top: auto;
    background: var(--color-phone);
}

body.is-lowerPage .pageCtaButtons .accessCtaButton--web {
    top: auto;
    background: var(--color-web);
}

body.is-lowerPage .pageCtaButtons .accessCtaButton img {
    position: static;
    flex: 0 0 auto;
    width: 4rem;
    height: auto;
    margin: 0 1.2rem 0 0;
}

body.is-lowerPage .pageCtaButtons .accessCtaButton--web img {
    width: 4.8rem;
    height: auto;
    margin: 0 1.2rem 0 0;
}

body.is-lowerPage .pageCtaButtons .accessCtaButton span {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-bold);
    font-size: 2.4rem;
    line-height: 1.2;
    white-space: nowrap;
}

body.is-lowerPage .pageCtaButtons .accessCtaButton small {
    position: static;
    top: auto;
    font-family: var(--font-regular);
    font-size: 1.3rem;
    line-height: 1.3;
}

/* ---- strong ---- */
.pageSection strong,
.pageBlock strong {
    font-family: var(--font-bold);
    font-weight: 700;
}

nav.heroFixedNav {
    display: none;
}

@media (min-width: 769px) {
    nav.heroFixedNav.heroFixedNav--fixed {
        display: block;
    }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    html {
        font-size: calc(100vw / 75);
    }

    body.is-lowerPage {
        min-width: 75rem;
        width: 75rem;
        margin: 0 auto;
        padding-top: 14rem;
        padding-bottom: 0;
    }

    .pageHero {
        padding: 3rem 3rem 4rem;
        margin-top: 6rem;
    }

    .pageHeroTitle {
        font-size: 4rem;
    }

    .pageHeroCatch {
        font-size: 2.9rem;
    }

    .pageSection,
    .pageCtaSection {
        padding: 4rem 3rem;
    }

    .pageSectionTitle {
        font-size: 3.4rem;
    }

    .pageSubheading {
        font-size: 3.2rem;
    }

    .pageEmphasis {
        font-size: 3rem;
    }

    .pageEmphasis:before {
        top: 1.5rem;
        width: 1.5rem;
        height: 0.5rem;
    }

    .pageBlockBody p,
    .pageLead p,
    .pageText p {
        font-size: 2.8rem;
    }

    .pageQuote {
        font-size: 3rem;
    }

    .pageSectionCatch {
        font-size: 3.2rem;
    }

    .pageSectionSub {
        font-size: 2.9rem;
    }

    .pageSectionCatch:before {
        top: 1.8rem;
        width: 1.8rem;
        height: 1.8rem;
    }

    .pageList li {
        font-size: 2.8rem;
        padding-left: 3.5rem;
    }

    .pageList--check li::before {
        top: 1.3rem;
        width: 2rem;
        height: 2rem;
    }

    .pageSection p.pageSignature {
        font-size: 3rem !important;
    }

    .pageBlock--media,
    .pageBlock--media.pageBlock--mediaReverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }

    .pageProfile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pageProfilePhoto {
        max-width: 36rem;
        margin: 0 auto;
    }

    .pageDefList {
        grid-template-columns: 1fr;
        gap: 0.4rem 0;
    }

    .pageDefList dt {
        margin-top: 1rem;
    }

    .pageGallery {
        grid-template-columns: 1fr;
    }

    .pageVaccineTable th {
        width: 12rem;
        white-space: nowrap;
    }

    .pageCtaButtons .accessCtaButton {
        min-width: 100%;
        width: 100%;
    }

    .pageCtaTitle {
        font-size: 3.4rem;
    }

    .pageCtaText {
        font-size: 2.8rem;
    }

    .pageBreadcrumb {
        font-size: 2.4rem;
    }

    body.is-lowerPage .pageCtaButtons .accessCtaButton,
    body.is-lowerPage .pageCtaButtons.accessCta .accessCtaButton {
        min-width: 100%;
        width: 100%;
    }

    .pageHoursTable {
        font-size: 2.2rem;
    }

    nav.heroFixedNav {
        display: block;
    }

    .pageVaccineHighlight {
        font-size: 2.8rem;
    }

    .pageVaccineTable {
        font-size: 2.6rem;
    }

    .pageDefList th {
        font-size: 2.6rem;
    }

    .pageDefList td {
        font-size: 2.6rem;
    }

    .pageTextLink {
        font-size: 2.6rem !important;
    }

    .pageHoursTable th:first-child,
    .pageHoursTable td:first-child {
        width: 19rem;
    }

    .pageHoursTable th,
    .pageHoursTable td {
        width: 6rem;
    }

    .pageGalleryItem figcaption {
        font-size: 3rem;
    }

    .pageCta {
        font-size: 2.6rem !important;
        width: 50rem !important;
        margin-top: 5rem !important;
    }
}

/* ---- Utility / links ---- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pageTextLink {
    display: inline-block;
    margin-top: 0.4rem;
    color: var(--color-blue);
    font-family: var(--font-bold);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.pageSection p.pageSignature {
    margin: 3.2rem 0 0;
    text-align: right;
    font-size: 2rem;
    letter-spacing: 0.08em;
}

.center {
    text-align: center;
}

.pageCta {
    position: relative;
    background: var(--color-blue);
    color: #fff;
    display: inline-block;
    margin-top: 2rem;
    padding: 1.5rem 0;
    width: 30rem;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.6;
    text-align: center;
}
.pageCta:after {
    content: "▶︎";
    position: absolute;
    top: -1rem;
    bottom: 0;
    right: 1.5rem;
    margin: auto;
    width: 2rem;
    height: 2rem;
    color: #fff;
    font-size: 2rem;
}

.mb10 {
    margin-bottom: 1rem;
}

.mb20 {
    margin-bottom: 2rem;
}

.mb30 {
    margin-bottom: 3rem;
}

.mb40 {
    margin-bottom: 4rem;
}

.mb50 {
    margin-bottom: 5rem;
}

/* ---- 最後のセクションの下余白（次がCTA・フッター等の場合） ---- */
main > .pageSection:not(:has(+ .pageSection)) {
    padding-bottom: 8rem;
}

@media (max-width: 768px) {
    main > .pageSection:not(:has(+ .pageSection)) {
        padding-bottom: 6rem;
    }
}
