:root {
    --menu-blue: #176fcb;
    --menu-blue-dark: #145cae;
    --menu-sky: #48a1d9;
    --menu-yellow: #ffe14a;
    --menu-ink: #10263f;
    --menu-muted: #65768a;
    --menu-pale: #f3f9fe;
    --menu-line: #d7e8f6;
}

html {
    overflow-x: hidden;
}

.menu-page {
    color: var(--menu-ink);
    background: #fff;
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}

.menu-page h1,
.menu-page h2,
.menu-page .therapy__keyword,
.menu-page .menu-hero__lead {
    font-family: "Noto Serif JP", serif;
}

.menu-page .headerWrapper {
    position: relative;
    width: 100%;
}

.menu-page .navbar .contact-btn {
    border: 0;
    color: #fff;
    font: inherit;
}

.menu-page .openbtn1 {
    border: 0;
}

.menu-page .modal-container h2 {
    margin-bottom: 3%;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.8rem;
}

.menu-page .navbar .contact-btn i {
    margin-right: .6rem;
}

.menu-page [aria-current="page"]::after {
    transform: scale(1, 1);
}

.menu-hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(360px, 46%) 1fr;
    overflow: hidden;
    background: var(--menu-pale);
}

.menu-hero__copy {
    align-self: center;
    width: min(610px, 84%);
    margin-left: auto;
    padding: 88px 58px 88px 0;
    position: relative;
    z-index: 2;
}

.menu-eyebrow,
.therapy__en,
.treatment-cta__eyebrow {
    color: var(--menu-blue);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .24em;
}

.menu-hero h1 {
    margin-top: 12px;
    color: var(--menu-blue);
    font-size: clamp(3.5rem, 4.4vw, 5rem);
    font-weight: 500;
    letter-spacing: .035em;
    line-height: 1.18;
}

.menu-hero__lead {
    margin-top: 42px;
    color: var(--menu-ink);
    font-size: clamp(1.55rem, 2.3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.75;
}

.menu-hero__lead span {
    position: relative;
    color: var(--menu-blue);
    font-size: 1.35em;
}

.menu-hero__lead span::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: 0;
    left: -4px;
    height: 7px;
    background: var(--menu-yellow);
    z-index: -1;
}

.pillar-links {
    display: flex;
    align-items: stretch;
    margin-top: 45px;
}

.pillar-links a {
    color: var(--menu-ink);
    text-decoration: none;
    font-family: "Noto Serif JP", serif;
    font-size: .94rem;
    letter-spacing: .03em;
    padding: 10px 22px 12px;
    border-left: 1px solid #91bce2;
    position: relative;
}

.pillar-links a:first-child {
    padding-left: 0;
    border-left: 0;
}

.pillar-links a::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 0;
    left: 22px;
    height: 2px;
    background: var(--menu-blue);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.pillar-links a:first-child::after {
    left: 0;
}

.pillar-links a:hover::after,
.pillar-links a:focus-visible::after,
.pillar-links a.is-active::after {
    transform: scaleX(1);
}

.menu-hero__media {
    min-width: 0;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.menu-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
}

.therapy {
    min-height: 690px;
    height: 700px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #fff;
    border-top: 12px solid #fff;
}

.therapy__photo,
.therapy__content {
    min-width: 0;
}

.therapy__photo {
    height: 100%;
    overflow: hidden;
}

.therapy__photo img {
    width: 100%;
    height: 100%;
    min-height: 690px;
    object-fit: cover;
}

#shiatsu .therapy__photo img {
    object-position: bottom center;
}

#physical .therapy__photo img {
    object-position: 58% center;
}

#exercise .therapy__photo img {
    object-position: 58% center;
}

.therapy__content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(135px, 30%);
    align-items: center;
    gap: 24px;
    padding: clamp(70px, 8vw, 120px) clamp(44px, 6vw, 100px);
    background: #fff;
}

.therapy--photo-right .therapy__photo {
    grid-column: 2;
}

.therapy--photo-right .therapy__content {
    grid-column: 1;
    grid-row: 1;
}

.therapy__number {
    position: absolute;
    top: 12px;
    right: 34px;
    color: #dceaf8;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(6rem, 9vw, 10rem);
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
}

.therapy--photo-right .therapy__number {
    right: auto;
    left: 24px;
}

.therapy__text {
    position: relative;
    z-index: 1;
}

.therapy__text h2 {
    display: inline-block;
    margin-top: 10px;
    padding-bottom: 13px;
    color: var(--menu-blue);
    font-size: clamp(2.1rem, 3vw, 3.8rem);
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 1.3;
    border-bottom: 2px solid var(--menu-blue);
}

.therapy__keyword {
    display: table;
    margin: 30px 0 20px;
    padding: 12px 22px;
    background: var(--menu-yellow);
    border-radius: 999px;
    color: var(--menu-blue-dark);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .1em;
}

.therapy__text > p:not(.therapy__en):not(.therapy__keyword) {
    color: #344b61;
    font-size: 1rem;
    line-height: 2;
}

.therapy__points {
    margin-top: 26px;
    list-style: none;
}

.therapy__points li {
    position: relative;
    margin-top: 10px;
    padding-left: 25px;
    color: var(--menu-muted);
    font-size: .9rem;
    line-height: 1.65;
}

.therapy__points li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--menu-blue);
    font-weight: 700;
}

.therapy__diagram {
    position: relative;
    z-index: 1;
    align-self: end;
    margin: 0;
}

.therapy__diagram img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.treatment-cta {
    padding: clamp(80px, 9vw, 130px) 24px;
    text-align: center;
    color: #fff;
    background: var(--menu-blue);
}

.treatment-cta__eyebrow {
    color: #bfe2ff;
}

.treatment-cta h2 {
    margin-top: 18px;
    font-size: clamp(2rem, 3.2vw, 3.5rem);
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.6;
}

.treatment-cta > p:not(.treatment-cta__eyebrow) {
    max-width: 650px;
    margin: 20px auto 0;
    color: #deefff;
    line-height: 1.9;
}

.treatment-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-width: min(480px, 92vw);
    margin-top: 38px;
    padding: 20px 36px;
    border-radius: 999px;
    color: var(--menu-blue-dark);
    background: var(--menu-yellow);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .08em;
    transition: transform .25s ease, background-color .25s ease;
}

.treatment-cta a:hover,
.treatment-cta a:focus-visible {
    transform: translateY(-3px);
    background: #ffea70;
}

.treatment-cta a span {
    font-size: 1.35rem;
}

.menu-contact .cotactWrapper {
    margin-top: 0;
    min-height: 430px;
}

.menu-contact .contactContainer {
    width: min(460px, 86%);
    padding: 32px 26px;
    background: rgba(11, 54, 93, .72);
    border-radius: 0;
}

.menu-contact .contactContainer h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    letter-spacing: .16em;
}

.contactContainer__lead {
    margin-top: 8px;
    font-size: .95rem;
}

.menu-contact .contactContainer__tel {
    margin: 18px 0;
}

.menu-contact .contactContainer__tel a {
    color: #fff;
    text-decoration: none;
    font-family: "Noto Serif JP", serif;
    font-size: 1.65rem;
    letter-spacing: .05em;
}

.menu-contact .LINE img {
    width: auto;
    max-width: 100%;
}

@media (max-width: 1080px) {
    .menu-hero {
        min-height: 560px;
        grid-template-columns: 48% 52%;
    }

    .menu-hero__copy {
        padding-right: 30px;
    }

    .pillar-links a {
        padding-right: 13px;
        padding-left: 13px;
        font-size: .82rem;
    }

    .therapy {
        min-height: 600px;
        height: 620px;
    }

    .therapy__photo img {
        min-height: 600px;
    }

    .therapy__content {
        grid-template-columns: 1fr 150px;
        padding: 76px 42px;
    }
}

@media (max-width: 768px) {
    .menu-hero {
        min-height: 0;
        display: flex;
        flex-direction: column-reverse;
    }

    .menu-hero__media {
        height: 52vw;
        min-height: 300px;
        clip-path: none;
    }

    .menu-hero__media img {
        object-position: 58% 38%;
    }

    .menu-hero__copy {
        width: 100%;
        margin: 0;
        padding: 48px 7vw 54px;
    }

    .menu-hero h1 {
        font-size: clamp(2.8rem, 12vw, 4.4rem);
    }

    .menu-hero__lead {
        margin-top: 26px;
        font-size: clamp(1.35rem, 6vw, 2rem);
    }

    .pillar-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 34px;
    }

    .pillar-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 6px;
        text-align: center;
        font-size: .72rem;
    }

    .pillar-links a:first-child {
        padding-left: 6px;
    }

    .pillar-links a::after,
    .pillar-links a:first-child::after {
        right: 14px;
        left: 14px;
    }

    .therapy,
    .therapy--photo-right {
        min-height: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        border-top-width: 8px;
    }

    .therapy__photo,
    .therapy--photo-right .therapy__photo,
    .therapy--photo-right .therapy__content {
        grid-column: auto;
        grid-row: auto;
    }

    .therapy__photo {
        height: 72vw;
        min-height: 360px;
    }

    .therapy__photo img {
        min-height: 0;
        height: 100%;
    }

    #shiatsu .therapy__photo img {
        object-position: center 52%;
    }

    .therapy__content {
        grid-template-columns: minmax(0, 1fr) 128px;
        gap: 12px;
        padding: 72px 7vw 64px;
    }

    .therapy__number,
    .therapy--photo-right .therapy__number {
        top: 14px;
        right: 5vw;
        left: auto;
        font-size: 5.2rem;
    }

    .therapy__text h2 {
        font-size: clamp(1.85rem, 8vw, 2.7rem);
    }

    .therapy__keyword {
        margin-top: 24px;
    }

    .therapy__diagram {
        align-self: end;
    }

    .treatment-cta {
        padding-right: 7vw;
        padding-left: 7vw;
    }

    .menu-contact .contactContainer {
        width: min(500px, 88%);
    }
}

@media (max-width: 480px) {
    .menu-hero__media {
        min-height: 260px;
    }

    .therapy__photo {
        min-height: 310px;
    }

    .therapy__content {
        display: block;
    }

    .therapy__diagram {
        width: 190px;
        margin: 28px auto 0;
    }

    .therapy__points li {
        font-size: .85rem;
    }

    .treatment-cta h2 br {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
