/* ==================================================
   Subpages
================================================== */

.subpage-reveal-item {
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
    will-change: opacity, transform;
}

/* ==================================================
   Contact thanks page
================================================== */
.thanks-page {
    width: min(100%, 820px);
    margin: 0 auto clamp(70px, 9vw, 120px);
}

.thanks-page__box {
    position: relative;
    padding: clamp(42px, 6vw, 68px) clamp(28px, 7vw, 76px);
    text-align: center;
    background: rgb(255 248 244 / 82%);
    border: 1px solid #f2cbbf;
    box-shadow: 12px 12px 0 rgb(231 98 62 / 6%);
}

.thanks-page__box::before {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 24px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #ec642f, #f3a57b);
    border-radius: 50%;
    content: "\2713";
}

.thanks-page__box h2.wp-block-heading {
    padding: 0;
    margin: 0 0 26px;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    line-height: 1.65;
    text-align: center;
    border: 0;
}

.thanks-page__box p {
    margin: 0;
    font-size: 1rem;
    line-height: 2;
    letter-spacing: .03em;
}

.thanks-page__box p + p {
    margin-top: 8px;
}

.thanks-page__note {
    padding-top: 24px;
    margin-top: 30px;
    color: #6f625d;
    border-top: 1px solid #edcfc5;
}

.thanks-page__note p {
    font-size: .9rem;
    line-height: 1.9;
}

.thanks-page .wp-block-buttons {
    justify-content: center;
    margin-top: 34px;
}

.thanks-page .wp-block-button__link {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    width: min(100%, 300px);
    padding: 12px 22px;
    color: #fff;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
    background: linear-gradient(90deg, #ec642f 0%, #ec642f 38%, #f3a57b 100%);
    border-radius: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.thanks-page .wp-block-button__link::after {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #ed6b47;
    font-family: system-ui, sans-serif;
    font-size: 12px;
    line-height: 1;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    content: "\2192";
}

@media (hover: hover) {
    .thanks-page .wp-block-button__link:hover,
    .thanks-page .wp-block-button__link:focus-visible {
        opacity: .88;
        transform: translateY(-2px);
    }
}

@media (max-width: 767px) {
    .thanks-page {
        margin-bottom: 70px;
    }

    .thanks-page__box {
        padding: 38px 20px 40px;
        box-shadow: 7px 7px 0 rgb(231 98 62 / 6%);
    }

    .thanks-page__box::before {
        width: 46px;
        height: 46px;
        margin-bottom: 20px;
        font-size: 1.2rem;
    }

    .thanks-page__box h2.wp-block-heading {
        margin-bottom: 22px;
        font-size: 1.25rem;
    }

    .thanks-page__box p {
        font-size: 1rem;
        line-height: 1.9;
        text-align: left;
    }

    .thanks-page__note {
        padding-top: 20px;
        margin-top: 24px;
    }

    .thanks-page__note p {
        font-size: .9rem;
    }

    .thanks-page .wp-block-buttons,
    .thanks-page .wp-block-button,
    .thanks-page .wp-block-button__link {
        width: 100%;
    }
}

.subpage-reveal-item.is-visible {
    -webkit-animation: subpage-reveal-enter .72s cubic-bezier(.22, .61, .36, 1) both;
    animation: subpage-reveal-enter .72s cubic-bezier(.22, .61, .36, 1) both;
    will-change: auto;
}

@-webkit-keyframes subpage-reveal-enter {
    from {
        opacity: 0;
        -webkit-transform: translateY(16px);
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes subpage-reveal-enter {
    from {
        opacity: 0;
        -webkit-transform: translateY(16px);
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .subpage-reveal-item {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
        -webkit-animation: none;
        animation: none;
        -webkit-transition: none;
        transition: none;
    }
}

.subpage-hero {
    position: relative;
    display: grid;
    min-height: clamp(270px, 20vw, 340px);
    overflow: hidden;
    color: #493934;
    background: rgb(231 118 82 / 14%);
}

.subpage-hero::after {
    position: absolute;
    right: -10%;
    bottom: clamp(-105px, -6vw, -72px);
    left: -10%;
    height: clamp(145px, 11vw, 195px);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    content: "";
    pointer-events: none;
}

.subpage-hero::after {
    background: #fffaf7;
}

.subpage-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    place-content: center;
    width: calc(100% - var(--content-gutter) - var(--content-gutter));
    max-width: var(--content-width);
    padding: clamp(28px, 3vw, 44px) 0 clamp(98px, 7.5vw, 128px);
    margin-inline: auto;
    text-align: center;
}

.subpage-hero__title {
    margin: 0;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(1.8rem, 2.25vw, 2.5rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.1em;
}

.subpage-hero__en {
    margin: 12px 0 0;
    color: #e8623d;
    font-family: system-ui, sans-serif;
    font-size: clamp(0.72rem, 0.85vw, 0.88rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.subpage-breadcrumb {
    color: #493934;
    background: #fffaf7;
}

.subpage-breadcrumb__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: min(calc(100% - 56px), 1120px);
    min-height: 64px;
    padding-block: 16px;
    margin-inline: auto;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.6;
}

.subpage-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.subpage-breadcrumb a:hover,
.subpage-breadcrumb a:focus-visible {
    color: #e8623d;
}

.subpage-breadcrumb__separator {
    color: inherit;
}

.page .site-main > article.page {
    width: 100%;
    max-width: none;
    color: #493934;
    background: #fffaf7;
}

.page .entry-content {
    width: min(calc(100% - 56px), 1120px);
    padding-block: clamp(68px, 7vw, 112px);
    margin-inline: auto;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

/* ==================================================
   Blog / News archive
================================================== */
.journal-archive {
    padding-block: clamp(68px, 7vw, 112px) clamp(96px, 9vw, 144px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.journal-archive__inner {
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
}

.journal-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 14px clamp(24px, 3vw, 42px);
    align-items: center;
    margin-bottom: clamp(42px, 5vw, 66px);
}

.journal-filter__link {
    position: relative;
    padding: 4px 0 4px 15px;
    color: #493934;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
    text-decoration: none;
    transition: color .25s ease;
}

.journal-filter__link::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    background: #f3c3a8;
    border-radius: 50%;
    content: "";
    opacity: 0;
    transform: translateY(-50%);
}

.journal-filter__link.is-current,
.journal-filter__link:hover,
.journal-filter__link:focus-visible {
    color: #e7623e;
}

.journal-filter__link.is-current::before {
    opacity: 1;
}

.journal-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 48px) clamp(20px, 2.5vw, 30px);
}

.journal-card {
    min-width: 0;
    animation: journal-card-enter .42s cubic-bezier(.22, .61, .36, 1) both;
}

.journal-card:nth-child(2) {
    animation-delay: .03s;
}

.journal-card:nth-child(3) {
    animation-delay: .06s;
}

.journal-card:nth-child(3n + 4) {
    animation-delay: .08s;
}

@keyframes journal-card-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journal-archive.is-switching .journal-card {
    opacity: 0;
    animation: none;
    transform: translateY(5px);
    transition: opacity .13s ease, transform .13s ease;
}

.journal-card__link {
    display: flex;
    height: 100%;
    color: inherit;
    text-decoration: none;
    background: rgb(255 255 255 / 62%);
    border: 1px solid rgb(231 118 82 / 20%);
    box-shadow: 8px 8px 0 rgb(231 98 62 / 7%);
    flex-direction: column;
}

.journal-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: -1px -1px 0;
    overflow: hidden;
    background: rgb(231 118 82 / 10%);
}

.journal-card__media::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgb(231 118 82 / 18%);
    background:
        linear-gradient(#ec642f, #ec642f) top left / 38% 1px no-repeat,
        linear-gradient(#ec642f, #ec642f) bottom right / 38% 1px no-repeat;
    content: "";
    pointer-events: none;
}

.journal-card__image,
.journal-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.journal-card__image {
    object-fit: cover;
    transition: transform .55s ease;
}

.journal-card__placeholder {
    position: relative;
    background: linear-gradient(145deg, rgb(231 118 82 / 8%), rgb(255 255 255 / 68%));
}

.journal-card__placeholder::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid rgb(231 118 82 / 28%);
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
}

.journal-card__body {
    display: flex;
    flex: 1;
    padding: 22px 20px 24px;
    flex-direction: column;
}

.journal-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    min-height: 24px;
    margin-bottom: 12px;
    font-family: system-ui, sans-serif;
    font-size: .78rem;
    letter-spacing: .08em;
}

.journal-card__date {
    color: #8b7870;
}

.journal-card__category {
    position: relative;
    padding: 0 0 0 14px;
    color: #df5d3b;
    line-height: 1.45;
}

.journal-card__category::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 12px;
    background: #ec642f;
    content: "";
    transform: translateY(-50%);
}

.journal-card__title {
    margin: 0;
    font-size: clamp(1.04rem, 1.25vw, 1.18rem);
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: .045em;
}

.journal-card__excerpt {
    margin: 13px 0 0;
    color: #6d5d57;
    font-size: .91rem;
    line-height: 1.9;
    letter-spacing: .02em;
}

.journal-card__more {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    color: #df5d3b;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    justify-content: flex-end;
}

.journal-card__more span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 11px;
    background: #f3a57b;
    border-radius: 50%;
    transition: transform .25s ease;
}

.journal-card__link:hover .journal-card__image,
.journal-card__link:focus-visible .journal-card__image {
    transform: scale(1.035);
}

.journal-card__link:hover .journal-card__more span,
.journal-card__link:focus-visible .journal-card__more span {
    transform: translateX(5px);
}

.journal-archive .navigation.pagination {
    margin-top: clamp(58px, 7vw, 88px);
}

.journal-archive .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    justify-content: center;
}

.journal-archive .page-numbers {
    display: grid;
    min-width: 42px;
    height: 42px;
    padding-inline: 8px;
    place-items: center;
    color: #493934;
    font-family: system-ui, sans-serif;
    font-size: .86rem;
    text-decoration: none;
    border: 1px solid rgb(231 118 82 / 28%);
}

.journal-archive .page-numbers.current,
.journal-archive a.page-numbers:hover,
.journal-archive a.page-numbers:focus-visible {
    color: #fff;
    background: #e7623e;
    border-color: #e7623e;
}

.journal-archive__empty {
    padding: 34px 28px;
    margin: 0;
    text-align: center;
    background: rgb(231 118 82 / 7%);
}

@media (max-width: 900px) {
    .journal-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .journal-archive {
        padding-block: 54px 88px;
    }

    .journal-archive__inner {
        width: min(calc(100% - 36px), 1120px);
    }

    .journal-filter {
        display: flex;
        gap: 10px 22px;
        margin-bottom: 42px;
    }

    .journal-filter__link {
        padding: 4px 0 4px 13px;
        font-size: .84rem;
    }

    .journal-archive__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .journal-card__link {
        background: rgb(255 255 255 / 62%);
        border: 1px solid rgb(231 118 82 / 20%);
        box-shadow: 8px 8px 0 rgb(231 98 62 / 7%);
    }

    .journal-card__media {
        margin: -1px -1px 0;
    }

    .journal-card__media::after {
        background:
            linear-gradient(#ec642f, #ec642f) top left / 38% 1px no-repeat,
            linear-gradient(#ec642f, #ec642f) bottom right / 38% 1px no-repeat;
    }

    .journal-card__body {
        padding: 20px 18px 22px;
    }

    .journal-card__category {
        position: relative;
        padding: 0 0 0 14px;
        background: transparent;
    }

    .journal-card__category::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 1px;
        height: 12px;
        background: #ec642f;
        content: "";
        transform: translateY(-50%);
    }

    .journal-card__excerpt {
        font-size: .9rem;
    }

    .journal-card__more {
        justify-content: flex-end;
    }

    .journal-card__more span {
        display: grid;
        width: 20px;
        height: 20px;
        place-items: center;
        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 11px;
        background: #f3a57b;
        border-radius: 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journal-card {
        animation: none;
    }

    .journal-archive.is-switching .journal-card {
        transition: none;
    }
}

/* ==================================================
   Blog / News single
================================================== */
.journal-single {
    width: 100%;
    padding-block: clamp(38px, 5vw, 68px) clamp(96px, 9vw, 144px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.journal-single__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
    font-size: .84rem;
    line-height: 1.7;
}

.journal-single__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.journal-single__breadcrumb a:hover,
.journal-single__breadcrumb a:focus-visible {
    color: #e7623e;
}

.journal-single__breadcrumb [aria-current="page"] {
    overflow: hidden;
    max-width: min(48vw, 520px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journal-single__inner {
    box-sizing: border-box;
    width: min(calc(100% - 56px), 1120px);
    padding: clamp(42px, 5vw, 64px);
    margin: clamp(34px, 4vw, 52px) auto 0;
    background: rgb(255 255 255 / 58%);
    border: 1px solid rgb(231 118 82 / 14%);
}

.journal-single__header {
    width: min(calc(100% - 56px), 1120px);
    margin: clamp(62px, 7vw, 96px) auto 0;
}

.journal-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    align-items: center;
    margin-top: 22px;
    font-family: system-ui, sans-serif;
    font-size: .8rem;
    letter-spacing: .08em;
}

.journal-single__meta time {
    color: #8b7870;
}

.journal-single__category {
    position: relative;
    padding-left: 16px;
    color: #e7623e;
    text-decoration: none;
}

.journal-single__category::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    background: #f3c3a8;
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.journal-single__title {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: .055em;
}

.journal-single .journal-single__content.entry-content {
    width: 100%;
    padding: 0;
    margin: clamp(42px, 5vw, 68px) 0 0;
    font-size: 1rem;
    line-height: 2.15;
    letter-spacing: .025em;
}

.journal-single__inner > .journal-single__content:first-child {
    margin-top: 0;
}

.journal-single__content > :first-child {
    margin-top: 0;
}

.journal-single__content > :last-child {
    margin-bottom: 0;
}

.journal-single__content p {
    margin: 0 0 1.7em;
}

.journal-single__content .wp-block-image {
    margin: clamp(38px, 5vw, 58px) 0 clamp(28px, 3.5vw, 42px);
}

.journal-single__content > .wp-block-image:first-child {
    margin-top: 0;
}

.journal-single__content > .wp-block-image:last-child {
    margin-bottom: 0;
}

.journal-single__content .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
}

.journal-single__content .wp-block-image figcaption {
    margin: 10px 0 0;
    color: #86756e;
    font-family: system-ui, sans-serif;
    font-size: .78rem;
    line-height: 1.7;
    text-align: center;
}

.journal-single__content h2 {
    padding-bottom: 14px;
    margin: clamp(48px, 6vw, 72px) 0 24px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: .065em;
    border-bottom: 1px solid rgb(231 118 82 / 32%);
}

.journal-single__content h3 {
    position: relative;
    padding-left: 16px;
    margin: 38px 0 18px;
    font-size: clamp(1.12rem, 1.5vw, 1.3rem);
    line-height: 1.7;
}

.journal-single__content h3::before {
    position: absolute;
    top: .15em;
    bottom: .15em;
    left: 0;
    width: 3px;
    background: #e7623e;
    content: "";
}

.journal-single__content a {
    color: #df5d3b;
    text-underline-offset: 4px;
}

.journal-single__content img {
    max-width: 100%;
    height: auto;
}

.journal-single__back {
    display: flex;
    justify-content: center;
    margin-top: clamp(66px, 8vw, 100px);
}

.journal-single__back a {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 24px;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    background: linear-gradient(100deg, #e7623e, #ef9578);
}

.journal-single__back a span {
    transition: transform .25s ease;
}

.journal-single__back a:hover span,
.journal-single__back a:focus-visible span {
    transform: translateX(5px);
}

.journal-single__post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 60px);
    padding-top: clamp(42px, 5vw, 64px);
    margin-top: clamp(42px, 5vw, 64px);
    border-top: 1px solid rgb(231 118 82 / 26%);
}

.journal-single__post-link {
    display: flex;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    flex-direction: column;
}

.journal-single__post-link--next {
    text-align: right;
}

.journal-single__post-direction {
    color: #e7623e;
    font-family: system-ui, sans-serif;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.journal-single__post-title {
    margin-top: 10px;
    overflow: hidden;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: .035em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.journal-single__post-link:hover .journal-single__post-title,
.journal-single__post-link:focus-visible .journal-single__post-title {
    color: #e7623e;
}

@media (max-width: 600px) {
    .journal-single {
        padding-block: 30px 88px;
    }

    .journal-single__breadcrumb,
    .journal-single__header,
    .journal-single__inner {
        width: min(calc(100% - 36px), 1120px);
    }

    .journal-single__inner {
        padding: 30px 20px 34px;
        margin-top: 30px;
    }

    .journal-single__header {
        margin-top: 48px;
    }

    .journal-single__breadcrumb [aria-current="page"] {
        max-width: 50vw;
    }

    .journal-single__title {
        font-size: 1.52rem;
        line-height: 1.7;
    }

    .journal-single .journal-single__content.entry-content {
        margin-top: 38px;
        font-size: .96rem;
        line-height: 2.05;
    }

    .journal-single__content .wp-block-image {
        margin-block: 32px 26px;
    }

    .journal-single__content > .wp-block-image:first-child {
        margin-top: 0;
    }

    .journal-single__back a {
        width: 100%;
        min-width: 0;
    }

    .journal-single__post-nav {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .journal-single__post-link {
        padding-block: 20px;
        border-bottom: 1px solid rgb(231 118 82 / 20%);
    }

    .journal-single__post-link--next {
        text-align: left;
    }

    .journal-single__post-spacer {
        display: none;
    }
}

/* ==================================================
   Privacy policy
================================================== */
body.privacy-policy .site-main > .page {
    width: 100%;
    max-width: none;
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

body.privacy-policy .entry-content {
    width: min(calc(100% - 56px), 960px);
    padding-block: clamp(68px, 7vw, 112px) clamp(100px, 9vw, 148px);
    margin-inline: auto;
}

body.privacy-policy .entry-content > p:first-child {
    padding: 20px 24px;
    margin: 0 0 clamp(42px, 5vw, 64px);
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 2;
    letter-spacing: .035em;
    background: rgb(231 118 82 / 7%);
    border-left: 3px solid #e77858;
}

body.privacy-policy .entry-content ol {
    display: grid;
    gap: clamp(22px, 3vw, 32px);
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: privacy-item;
}

body.privacy-policy .entry-content ol > li {
    position: relative;
    padding: clamp(28px, 3.5vw, 42px) clamp(24px, 4vw, 50px) clamp(28px, 3.5vw, 42px) clamp(82px, 8vw, 104px);
    font-size: clamp(.96rem, 1.05vw, 1.06rem);
    line-height: 2;
    letter-spacing: .025em;
    background: rgb(255 255 255 / 68%);
    border: 1px solid rgb(231 118 82 / 18%);
    box-shadow: 8px 10px 0 rgb(231 118 82 / 7%);
    counter-increment: privacy-item;
}

body.privacy-policy .entry-content ol > li::before {
    position: absolute;
    top: clamp(26px, 3.4vw, 40px);
    left: clamp(22px, 3vw, 36px);
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: .82rem;
    font-weight: 700;
    content: counter(privacy-item, decimal-leading-zero);
    border-radius: 50%;
    background: linear-gradient(135deg, #e7623e, #ef9578);
}

body.privacy-policy .entry-content ol > li::first-line {
    color: #493934;
    font-size: 1.14em;
    font-weight: 600;
    letter-spacing: .07em;
}

/* ==================================================
   Director message
================================================== */
.director-message {
    width: 100%;
    max-width: none;
    padding-block: clamp(52px, 5vw, 80px) clamp(80px, 8vw, 120px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.page .site-main > .director-message {
    width: 100%;
    max-width: none;
}

.director-message__inner {
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
}

.director-message__intro {
    display: grid;
    grid-template-columns: minmax(400px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(56px, 6vw, 90px);
    align-items: start;
}

.director-message__profile-set {
    position: sticky;
    top: 122px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    margin-top: 0;
}

.director-message__portrait {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.director-message__portrait-image {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    transform: scaleX(-1);
}

.director-message__profile {
    width: 100%;
    margin: 28px 0 0;
    text-align: center;
}

.director-message__institution {
    margin: 0 0 18px;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    letter-spacing: 0.08em;
}

.director-message__identity {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: baseline;
    justify-content: center;
}

.director-message__position,
.director-message__name,
.director-message__name-kana {
    margin: 0;
}

.director-message__position {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.director-message__name {
    font-size: clamp(1.65rem, 2.2vw, 2.15rem);
    font-weight: 500;
    letter-spacing: 0.12em;
}

.director-message__name-kana {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.director-message__heading {
    margin: 0 0 clamp(28px, 3vw, 40px);
    font-size: clamp(1.3rem, 1.55vw, 1.55rem);
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: 0.08em;
}

.director-message__body {
    width: 100%;
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 2.15;
    letter-spacing: 0.045em;
}

.director-message__detail-body {
    font-size: clamp(1rem, 1.08vw, 1.1rem);
    line-height: 2.15;
    letter-spacing: 0.045em;
}

.director-message__body > :first-child,
.director-message__detail-body > :first-child {
    margin-top: 0;
}

.director-message__body > :last-child,
.director-message__detail-body > :last-child {
    margin-bottom: 0;
}

.director-message__body p {
    margin-block: 0 1.45em;
}

.director-message__signature {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(30px, 4vw, 54px);
}

.director-message__signature-image {
    display: block;
    width: auto;
    max-width: min(240px, 55%);
    max-height: 96px;
    object-fit: contain;
}

.director-message__details {
    width: 100%;
    margin-top: clamp(78px, 9vw, 140px);
    border-top: 1px solid rgb(231 118 82 / 28%);
}

.director-message__detail {
    display: grid;
    grid-template-columns: minmax(150px, 0.24fr) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 90px);
    padding-block: clamp(34px, 4vw, 54px);
    border-bottom: 1px solid rgb(231 118 82 / 20%);
}

.director-message__detail-title {
    margin: 0;
    color: #e7623e;
    font-size: clamp(1.15rem, 1.35vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.12em;
}

.director-message__detail-body p {
    margin-block: 0 0.65em;
}

.director-message__detail-body ul,
.director-message__detail-body ol {
    padding-left: 1.4em;
    margin-block: 0;
}

/* ==================================================
   Doctors
================================================== */
.doctors-page {
    width: 100%;
    max-width: none;
    padding-block: clamp(64px, 7vw, 110px) clamp(90px, 9vw, 140px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.page .site-main > .doctors-page {
    width: 100%;
    max-width: none;
}

.doctors-page__inner {
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
}

.doctors-page__directors {
    display: grid;
    gap: clamp(70px, 8vw, 110px);
}

.doctor-director {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(52px, 7vw, 96px);
    align-items: start;
}

.doctor-director__summary {
    min-width: 0;
}

.doctor-director__media,
.doctor-card__media {
    display: block;
    overflow: hidden;
    background: rgb(231 118 82 / 8%);
}

.doctor-director__media {
    display: block;
    aspect-ratio: 4 / 3;
    box-shadow: 8px 8px 0 rgba(235, 108, 70, .16);
}

.doctor-director__image,
.doctor-card__image,
.doctor-dialog__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.doctor-director__content {
    padding-top: 18px;
}

.doctor-director__institution,
.doctor-director__kana,
.doctor-dialog__role {
    margin: 0;
}

.doctor-director__institution {
    display: none;
}

.doctor-director__identity {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: baseline;
}

.doctor-director__identity strong {
    font-size: clamp(1.15rem, 1.45vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.doctor-director__identity small {
    font-size: 0.78rem;
    font-weight: 500;
}

.doctor-director__content .front-about__button {
    width: fit-content;
    margin-top: 18px;
}

.doctor-director__details {
    display: grid;
    gap: 34px;
    padding-top: 4px;
}

.doctor-director__detail h2 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
}

.doctor-director__detail div {
    font-size: 0.94rem;
    line-height: 1.75;
}

.doctor-director__detail p {
    margin: 0 0 0.3em;
}

.doctors-page__members {
    margin-top: clamp(64px, 7vw, 100px);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 3.5vw, 48px) clamp(20px, 3vw, 36px);
}

.doctor-card {
    display: grid;
    padding: 0;
    overflow: hidden;
    color: inherit;
    text-align: left;
    cursor: pointer;
    background: #fff;
    border: 1px solid rgb(231 118 82 / 18%);
    appearance: none;
}

.doctor-card__media {
    aspect-ratio: 4 / 3;
}

.doctor-card__identity {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: baseline;
    padding: 20px 22px 10px;
}

.doctor-card__role {
    font-size: 0.9rem;
}

.doctor-card__name {
    font-size: clamp(1.15rem, 1.45vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.08em;
}

.doctor-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px 20px;
    color: #e7623e;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.doctor-card__more > span {
    font-family: system-ui, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
}

@media (hover: hover) {
    .doctor-card,
    .doctor-director__image,
    .doctor-card__image {
        transition: 0.3s ease;
    }

    .doctor-card:hover,
    .doctor-card:focus-visible {
        border-color: rgb(231 118 82 / 60%);
        box-shadow: 0 12px 28px rgb(73 57 52 / 10%);
        transform: translateY(-3px);
    }

    .doctor-director__media:hover .doctor-director__image,
    .doctor-card:hover .doctor-card__image {
        transform: scale(1.025);
    }
}

.doctor-dialog {
    width: min(calc(100% - 40px), 900px);
    max-height: min(84vh, 760px);
    padding: 0;
    overflow: hidden;
    color: #493934;
    background: #fffaf7;
    border: 0;
    border-radius: 0;
    box-shadow: 0 20px 70px rgb(73 57 52 / 24%);
}

.doctor-dialog::backdrop {
    background: rgb(73 57 52 / 48%);
}

.doctor-dialog__panel {
    position: relative;
    max-height: min(84vh, 760px);
    padding: clamp(30px, 5vw, 58px);
    overflow-y: auto;
}

.doctor-dialog__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgb(231 118 82 / 45%);
    border-radius: 50%;
}

.doctor-dialog__close::before,
.doctor-dialog__close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1px;
    background: #e7623e;
    content: "";
}

.doctor-dialog__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.doctor-dialog__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.doctor-dialog__header {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
    align-items: end;
    padding-right: 54px;
}

.doctor-dialog__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgb(231 118 82 / 8%);
}

.doctor-dialog__role {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.doctor-dialog__name {
    margin: 0;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.doctor-dialog__profile {
    padding-top: clamp(30px, 4vw, 46px);
    margin-top: clamp(30px, 4vw, 46px);
    font-size: 1rem;
    line-height: 1.9;
    border-top: 1px solid rgb(231 118 82 / 24%);
}

.doctor-dialog__profile h2,
.doctor-dialog__profile h3 {
    margin: 2em 0 0.65em;
    color: #e7623e;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.doctor-dialog__profile > :first-child {
    margin-top: 0;
}

.doctor-dialog__profile p {
    margin-block: 0 0.8em;
}

/* ==================================================
   Clinics
================================================== */
.clinics-page {
    width: 100%;
    max-width: none;
    padding-block: clamp(64px, 7vw, 108px) clamp(92px, 9vw, 140px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.page .site-main > .clinics-page {
    width: 100%;
    max-width: none;
}

.clinics-page__inner {
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
}

.clinics-page__intro {
    font-size: clamp(1rem, 1.05vw, 1.08rem);
    line-height: 2;
    letter-spacing: 0.035em;
}

.clinics-page__intro p {
    margin: 0 0 0.85em;
}

.clinics-group {
    margin-top: clamp(72px, 8vw, 116px);
}

.clinics-group__title {
    padding-bottom: 18px;
    margin: 0 0 clamp(44px, 5vw, 70px);
    color: #e7623e;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgb(231 118 82 / 28%);
}

.clinic-section + .clinic-section {
    margin-top: clamp(88px, 10vw, 150px);
}

.clinic-section__header {
    margin-bottom: 28px;
}

.clinic-section__header h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    font-weight: 500;
    letter-spacing: 0.08em;
}

.clinic-section__header h3 small {
    margin-left: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.clinic-section__header p {
    margin: 10px 0 0;
    font-size: 0.9rem;
}

.clinic-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(160px, 18vw, 210px);
    gap: 18px;
    height: clamp(380px, 45vw, 520px);
}

.clinic-gallery__main {
    height: 100%;
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(235, 108, 70, .16);
}

.clinic-gallery__thumbs {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.clinic-gallery__thumb {
    min-height: 0;
    overflow: hidden;
}

.clinic-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-gallery--single {
    display: block;
    width: min(100%, 760px);
    height: auto;
    margin-inline: auto;
}

.clinic-gallery--single .clinic-gallery__main {
    aspect-ratio: 1.65 / 1;
}

.clinic-section__body {
    margin-top: clamp(42px, 5vw, 68px);
    font-size: clamp(0.98rem, 1.05vw, 1.08rem);
    line-height: 2;
    letter-spacing: 0.035em;
}

.clinic-section__body h4 {
    margin: 2.6em 0 0.7em;
    color: #e7623e;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.clinic-section__body > h4:first-child {
    margin-top: 0;
}

.clinic-section__body p {
    margin: 0 0 1em;
}

.clinic-features {
    display: grid;
    gap: 28px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
    counter-reset: clinic-feature;
}

.clinic-features li {
    position: relative;
    padding-left: 46px;
    counter-increment: clinic-feature;
}

.clinic-features li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #e7623e;
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    content: "0" counter(clinic-feature);
}

.clinic-features strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.06rem;
}

.clinics-domestic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 5vw, 70px);
}

.clinic-section--compact + .clinic-section--compact {
    margin-top: 0;
}

.clinic-section--compact .clinic-gallery--single {
    width: 100%;
}

.clinic-section--compact .clinic-gallery__main {
    aspect-ratio: 1.45 / 1;
}

/* ==================================================
   Medical environment
================================================== */
.environment-page {
    width: 100%;
    max-width: none;
    padding-block: clamp(64px, 7vw, 108px) clamp(92px, 9vw, 140px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.page .site-main > .environment-page {
    width: 100%;
    max-width: none;
}

.environment-page__inner {
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
}

.environment-page__intro,
.environment-copy,
.environment-feature__copy {
    font-size: clamp(0.98rem, 1.05vw, 1.08rem);
    line-height: 2;
    letter-spacing: 0.035em;
}

.environment-page__intro p,
.environment-copy p,
.environment-feature__copy p {
    margin: 0 0 1em;
}

.environment-section {
    margin-top: clamp(82px, 9vw, 140px);
}

.environment-section__title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: baseline;
    padding-bottom: 20px;
    margin: 0 0 clamp(38px, 5vw, 64px);
    color: #493934;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.07em;
    border-bottom: 1px solid rgb(231 118 82 / 28%);
}

.environment-section__title span {
    color: #e7623e;
    font-family: system-ui, sans-serif;
}

.environment-section__title small {
    font-size: 0.68em;
    font-weight: 500;
}

.environment-copy h3,
.environment-feature__copy h3 {
    margin: 2.4em 0 0.65em;
    color: #e7623e;
    font-size: 1.16rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.environment-copy > h3:first-child,
.environment-feature__copy > h3:first-child {
    margin-top: 0;
}

.environment-copy ul,
.environment-feature__copy ul {
    padding-left: 1.4em;
    margin-block: 1em;
}

.environment-wide-image {
    aspect-ratio: 2 / 1;
    margin-top: clamp(38px, 5vw, 62px);
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(235, 108, 70, .16);
}

.environment-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.environment-feature-list {
    display: grid;
    gap: clamp(54px, 7vw, 92px);
    margin-top: clamp(62px, 7vw, 100px);
}

.environment-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: clamp(42px, 6vw, 82px);
    align-items: start;
}

.environment-feature--reverse {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.environment-feature__media {
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(235, 108, 70, .16);
}

.environment-table-wrap {
    margin-top: 24px;
    overflow-x: auto;
}

.environment-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.98rem;
    line-height: 1.7;
}

.environment-table th,
.environment-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgb(73 57 52 / 22%);
}

.environment-table thead th {
    color: #fff;
    font-weight: 600;
    background: #e77858;
}

.environment-table tbody th {
    width: 150px;
    color: #e7623e;
    font-family: system-ui, sans-serif;
    font-weight: 600;
}

.environment-copy--spaced {
    margin-top: clamp(44px, 5vw, 70px);
}

/* ==================================================
   Access
================================================== */
.access-page {
    width: 100%;
    max-width: none;
    padding-block: clamp(68px, 7vw, 110px) clamp(96px, 9vw, 150px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.page .site-main > .access-page {
    width: 100%;
    max-width: none;
}

.access-page__inner {
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
}

.access-clinic + .access-clinic {
    padding-top: clamp(82px, 9vw, 138px);
    margin-top: clamp(92px, 10vw, 154px);
    border-top: 1px solid rgb(231 118 82 / 28%);
}

.access-clinic__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: clamp(48px, 7vw, 92px);
    align-items: center;
}

.access-clinic__summary h2 {
    margin: 0 0 22px;
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    font-weight: 600;
    letter-spacing: .06em;
}

.access-clinic__summary h2 small {
    font-size: .48em;
    font-weight: 500;
    white-space: nowrap;
}

.access-clinic__summary address,
.access-clinic__summary p,
.access-block p,
.access-block li {
    font-size: clamp(.96rem, 1.05vw, 1.06rem);
    font-style: normal;
    line-height: 1.9;
    letter-spacing: .025em;
}

.access-clinic__summary address a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgb(231 98 62 / 55%);
    text-underline-offset: 5px;
}

.access-clinic__tel {
    margin-top: 4px;
}

.access-clinic__tel a {
    color: inherit;
    text-decoration: none;
}

.access-clinic__route {
    margin-top: 22px;
}

.access-clinic__route p {
    margin: 0;
}

.access-clinic__image {
    aspect-ratio: 1.45 / 1;
    margin: 0;
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(235, 108, 70, .16);
}

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

.access-block {
    margin-top: clamp(48px, 6vw, 76px);
}

.access-block h3 {
    padding-bottom: 12px;
    margin: 0 0 20px;
    color: #e7623e;
    font-size: clamp(1.12rem, 1.4vw, 1.32rem);
    font-weight: 600;
    letter-spacing: .08em;
    border-bottom: 1px solid rgb(231 118 82 / 28%);
}

.access-block h4 {
    margin: 28px 0 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}

.access-block p {
    margin: 0;
}

.access-block ul {
    padding-left: 1.35em;
    margin: 8px 0 0;
}

.access-hours-table {
    max-width: 500px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid rgb(231 118 82 / 28%);
    border-radius: 8px;
}

.access-hours-table__heading {
    padding: 10px 18px;
    color: #fff;
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .1em;
    background: linear-gradient(100deg, #e7623e 0%, #ef9578 100%);
}

.access-hours-table dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    background: rgb(255 255 255 / 55%);
}

.access-hours-table dl > div {
    padding: 12px 16px 14px;
}

.access-hours-table dl > div + div {
    border-left: 1px solid rgb(231 118 82 / 18%);
}

.access-hours-table dt,
.access-hours-table dd {
    margin: 0;
    text-align: center;
}

.access-hours-table dt {
    margin-bottom: 3px;
    color: #e7623e;
    font-size: .82rem;
    font-weight: 600;
}

.access-hours-table dd {
    font-size: .92rem;
    white-space: nowrap;
}

.access-hours-table .access-hours-table__closed {
    color: #e7623e;
    font-family: system-ui, sans-serif;
    font-size: 1.15rem;
    line-height: 1.2;
}

.access-hotels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 26px;
}

.access-hotel {
    padding: 22px 24px;
    background: rgb(231 118 82 / 7%);
}

.access-hotel h4 {
    margin: 0 0 10px;
}

.access-hotel p {
    font-size: .9rem;
    line-height: 1.65;
}

.access-hotel__link {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    min-width: 190px;
    padding: 10px 16px;
    margin-top: 20px;
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .06em;
    text-decoration: none;
    background: linear-gradient(100deg, #e7623e 0%, #ef9578 100%);
    transition: opacity .25s ease;
}

@media (hover: hover) {
    .access-hotel__link:hover {
        opacity: .78;
    }
}

/* ==================================================
   Treatment flow
================================================== */
.flow-page {
    width: 100%;
    max-width: none;
    padding-block: clamp(70px, 8vw, 120px) clamp(100px, 10vw, 160px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.page .site-main > .flow-page {
    width: 100%;
    max-width: none;
}

.flow-page__inner {
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
}

.flow-timeline {
    position: relative;
    display: grid;
    gap: clamp(34px, 5vw, 58px);
}

.flow-timeline::before {
    position: absolute;
    top: 42px;
    bottom: 42px;
    left: 54px;
    width: 1px;
    content: "";
    background: linear-gradient(#e7623e, rgb(231 118 82 / 20%));
}

.flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: start;
}

.flow-step__number {
    position: sticky;
    top: 130px;
    z-index: 1;
    display: grid;
    width: 72px;
    height: 72px;
    place-content: center;
    margin-left: 18px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: .67rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    letter-spacing: .08em;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7623e, #ef9578);
    box-shadow: 0 7px 20px rgb(231 98 62 / 20%);
}

.flow-step__number strong {
    display: block;
    margin-top: 4px;
    font-size: 1.24rem;
}

.flow-step__card {
    padding: clamp(30px, 4vw, 52px);
    background: rgb(255 255 255 / 68%);
    border: 1px solid rgb(231 118 82 / 18%);
    box-shadow: 10px 12px 0 rgb(231 118 82 / 7%);
}

.flow-step__card h2 {
    padding-bottom: 18px;
    margin: 0 0 24px;
    font-size: clamp(1.3rem, 2vw, 1.72rem);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .06em;
    border-bottom: 1px solid rgb(231 118 82 / 24%);
}

.flow-step__card h2 small {
    display: inline-block;
    margin-left: 12px;
    color: #e7623e;
    font-size: .64em;
}

.flow-step__card h3 {
    margin: 28px 0 10px;
    color: #e7623e;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.flow-step__card p,
.flow-step__card li {
    font-size: clamp(.96rem, 1.05vw, 1.06rem);
    line-height: 2;
    letter-spacing: .025em;
}

.flow-step__card p {
    margin: 0 0 1em;
}

.flow-step__card ul,
.flow-step__card ol {
    padding-left: 1.5em;
    margin: 0 0 1.4em;
}

.flow-step__note {
    padding: 16px 18px;
    margin-top: 20px !important;
    background: rgb(231 118 82 / 7%);
    border-left: 3px solid #e77858;
}

.flow-step__resource {
    display: inline-flex;
    align-items: center;
    margin-top: 10px !important;
    color: #e7623e;
    font-weight: 600;
}

.flow-step__resource::before {
    margin-right: 8px;
    content: "▶";
    font-family: system-ui, sans-serif;
    font-size: .72em;
}

.flow-step__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.flow-step__links a,
.flow-related__body {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(100deg, #e7623e, #ef9578);
}

.flow-step__links a {
    min-width: 240px;
    padding: 13px 18px;
}

.flow-related {
    margin-top: clamp(90px, 10vw, 150px);
}

.flow-related > h2 {
    margin: 0 0 34px;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    font-weight: 600;
    letter-spacing: .08em;
}

.flow-related__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 48px);
}

.flow-related__card {
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgb(231 118 82 / 18%);
}

.flow-related__image {
    display: block;
    aspect-ratio: 1.7 / 1;
    overflow: hidden;
}

.flow-related__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.flow-related__body {
    padding: 16px 20px;
}

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

[data-flow-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (hover: hover) {
    .flow-step__links a:hover,
    .flow-related__card:hover .flow-related__body {
        opacity: .8;
    }

    .flow-related__card:hover img {
        transform: scale(1.035);
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-flow-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==================================================
   Embryo transfer cycle flow
================================================== */
.transfer-flow-page {
    width: 100%;
    max-width: none;
    padding-block: clamp(70px, 8vw, 120px) clamp(100px, 10vw, 160px);
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.page .site-main > .transfer-flow-page {
    width: 100%;
    max-width: none;
}

.transfer-flow-page__inner {
    width: min(calc(100% - 56px), 1120px);
    margin-inline: auto;
}

.transfer-flow-timeline {
    position: relative;
    display: grid;
    gap: clamp(32px, 4.5vw, 54px);
}

.transfer-flow-timeline::before {
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 61px;
    width: 1px;
    content: "";
    background: linear-gradient(#e7623e, rgb(231 118 82 / 18%));
}

.transfer-flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    column-gap: clamp(24px, 3vw, 34px);
    align-items: start;
}

.transfer-flow-step__timing {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 54px;
    place-items: center;
    padding: 9px 12px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: .83rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    letter-spacing: .06em;
    border-radius: 999px;
    background: linear-gradient(100deg, #e7623e, #ef9578);
    box-shadow: 0 6px 18px rgb(231 98 62 / 18%);
}

.transfer-flow-step__card {
    padding: clamp(28px, 4vw, 48px);
    background: rgb(255 255 255 / 68%);
    border: 1px solid rgb(231 118 82 / 18%);
    box-shadow: 10px 12px 0 rgb(231 118 82 / 7%);
}

.transfer-flow-step__card h2 {
    padding-bottom: 17px;
    margin: 0 0 22px;
    font-size: clamp(1.25rem, 1.8vw, 1.62rem);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .06em;
    border-bottom: 1px solid rgb(231 118 82 / 24%);
}

.transfer-flow-step__card h2 small {
    display: inline-block;
    margin-left: 10px;
    color: #e7623e;
    font-size: .72em;
}

.transfer-flow-step__card p,
.transfer-flow-step__card li {
    font-size: clamp(.96rem, 1.05vw, 1.06rem);
    line-height: 2;
    letter-spacing: .025em;
}

.transfer-flow-step__card p {
    margin: 0 0 .9em;
}

.transfer-flow-step__card p:last-child {
    margin-bottom: 0;
}

.transfer-flow-step__card ul {
    padding-left: 1.5em;
    margin: 10px 0 0;
}

.transfer-flow-step__note {
    padding: 14px 18px;
    margin-top: 20px !important;
    background: rgb(231 118 82 / 7%);
    border-left: 3px solid #e77858;
}

.transfer-flow-back {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    min-width: 210px;
    padding: 13px 18px;
    margin-top: clamp(64px, 8vw, 100px);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(100deg, #e7623e, #ef9578);
}

@media (hover: hover) {
    .transfer-flow-back:hover {
        opacity: .8;
    }
}

/* ==================================================
   Fees
================================================== */
.fees-page__inner {
    width: min(calc(100% - 56px), 1120px);
    padding-block: clamp(68px, 7vw, 112px) clamp(100px, 9vw, 148px);
    margin-inline: auto;
    color: #493934;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.fees-page__lead {
    padding: 22px 26px;
    margin-bottom: clamp(42px, 5vw, 68px);
    font-size: clamp(1rem, 1.05vw, 1.1rem);
    line-height: 2;
    letter-spacing: .035em;
    background: rgb(231 118 82 / 7%);
    border-left: 3px solid #e77858;
}

.fees-page__lead > :first-child,
.fees-package__description > :first-child,
.fees-package__note > :first-child,
.fees-option__description > :first-child,
.fees-payment__body > :first-child {
    margin-top: 0;
}

.fees-page__lead > :last-child,
.fees-package__description > :last-child,
.fees-package__note > :last-child,
.fees-option__description > :last-child,
.fees-payment__body > :last-child {
    margin-bottom: 0;
}

.fees-packages {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
}

.fees-package {
    padding: clamp(26px, 3vw, 38px);
    background: rgb(255 255 255 / 65%);
    border: 1px solid rgb(231 118 82 / 23%);
    box-shadow: 10px 10px 0 rgb(231 98 62 / 6%);
}

.fees-package__header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgb(231 118 82 / 27%);
}

.fees-package__header h2 {
    margin: 0;
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .05em;
}

.fees-package__price {
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    color: #df5d3b;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: normal;
    background: transparent;
}

.fees-package__description,
.fees-package__note,
.fees-option__description,
.fees-payment__body {
    font-size: clamp(.96rem, 1.02vw, 1.06rem);
    line-height: 1.95;
    letter-spacing: .025em;
}

.fees-package__list-group {
    margin-top: 28px;
}

.fees-package__list-group h3 {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0 0 15px;
    color: #d95736;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .045em;
}

.fees-package__list-group h3::before {
    width: 8px;
    height: 8px;
    background: #e7623e;
    content: "";
    transform: rotate(45deg);
}

.fees-package__list-group--excluded h3 {
    color: #665751;
}

.fees-package__list-group--excluded h3::before {
    background: #8c7b74;
}

.fees-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.fees-list li {
    position: relative;
    padding-left: 1.25em;
    font-size: clamp(.94rem, 1vw, 1.03rem);
    line-height: 1.85;
}

.fees-list li::before {
    position: absolute;
    top: .82em;
    left: .1em;
    width: 5px;
    height: 5px;
    background: #e77858;
    border-radius: 50%;
    content: "";
}

.fees-list__note {
    display: block;
    margin-top: 2px;
    color: #796a64;
    font-size: .88em;
    line-height: 1.75;
}

.fees-package__note {
    padding: 15px 18px;
    margin-top: 24px;
    background: rgb(231 118 82 / 6%);
}

.fees-options,
.fees-payment {
    margin-top: clamp(64px, 7vw, 96px);
}

.fees-section-title {
    padding-bottom: 16px;
    margin: 0 0 28px;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 500;
    letter-spacing: .08em;
    border-bottom: 1px solid rgb(231 118 82 / 35%);
}

.fees-options__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.fees-option {
    padding: 24px 26px;
    background: rgb(255 255 255 / 60%);
    border: 1px solid rgb(231 118 82 / 20%);
}

.fees-option__header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 13px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgb(231 118 82 / 20%);
}

.fees-option__header h3,
.fees-option__header p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
}

.fees-option__header p {
    flex: 0 0 auto;
    color: #df5d3b;
}

.fees-payment__body {
    padding: clamp(24px, 3vw, 34px);
    background: rgb(231 118 82 / 7%);
    border: 1px solid rgb(231 118 82 / 18%);
}

.fees-payment__intro {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgb(231 118 82 / 24%);
}

.fees-payment__intro p {
    margin: 0;
}

.fees-payment__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.fees-payment__step {
    padding: 24px 26px;
    background: rgb(255 255 255 / 58%);
    border: 0;
}

.fees-payment__step:first-child {
    padding-top: 24px;
}

.fees-payment__step h3 {
    display: flex;
    gap: 11px;
    align-items: flex-end;
    margin: 0 0 14px;
    color: #493934;
    font-size: 1.04rem;
    line-height: 1.6;
}

.fees-payment__step h3::before {
    flex: 0 0 auto;
    width: 3px;
    height: 1.45em;
    background: #e7623e;
    content: "";
}

.fees-payment__number {
    display: none;
}

.fees-payment__step p {
    margin: 0;
}

.fees-payment__step p + p {
    margin-top: 9px;
}

.fees-payment__method {
    color: #d95736;
    font-weight: 600;
}

/* ==================================================
   Fluent Forms - Contact form (Form ID: 3)
================================================== */
.fluentform_wrapper_3.ffs_custom_wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: clamp(32px, 3.5vw, 48px) clamp(30px, 4.5vw, 56px) !important;
    margin-inline: auto;
    color: #493934;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    background: rgb(255 255 255 / 58%) !important;
    border: 1px solid rgb(231 118 82 / 20%) !important;
    border-radius: 0 !important;
}

.fluentform_wrapper_3.ffs_custom_wrap > form {
    width: 100%;
    margin: 0;
}

.fluentform_wrapper_3 .ff-t-container {
    display: grid !important;
    grid-template-columns: minmax(170px, 22%) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 44px);
    align-items: start;
    padding-block: 20px;
    margin: 0 !important;
    border-bottom: 1px solid rgb(231 118 82 / 18%);
}

.fluentform_wrapper_3 .ff-t-cell {
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-basis: auto !important;
}

.fluentform_wrapper_3 .ff-el-group {
    margin-bottom: 0;
}

.fluentform_wrapper_3 .contact-form-label {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 12px;
    align-items: center;
    min-height: 52px;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .05em;
}

.fluentform_wrapper_3 .required-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 24px;
    padding: 3px 8px;
    color: #e7623e;
    font-family: system-ui, sans-serif;
    font-size: 0;
    font-weight: 600;
    line-height: 1;
    border: 1px solid rgb(231 98 62 / 75%);
}

.fluentform_wrapper_3 .required-badge::after {
    font-size: .7rem;
    content: "必須";
}

.fluentform_wrapper_3 .ff-el-form-control {
    width: 100%;
    min-height: 52px;
    padding: 11px 14px;
    color: #493934;
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background: rgb(255 255 255 / 82%);
    border: 1px solid rgb(73 57 52 / 30%);
    border-radius: 0;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.fluentform_wrapper_3 textarea.ff-el-form-control {
    min-height: 190px;
    resize: vertical;
}

.fluentform_wrapper_3 .ff-el-form-control:focus {
    background: #fff;
    border-color: #e77858;
    outline: 0;
    box-shadow: 0 0 0 3px rgb(231 118 82 / 12%);
}

.fluentform_wrapper_3 .ff-el-form-check-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: .94rem;
    line-height: 1.8;
    cursor: pointer;
}

.fluentform_wrapper_3 .ff_tc_checkbox {
    flex: 0 0 auto;
    padding-top: 5px;
}

.fluentform_wrapper_3 .ff-el-form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #e7623e;
}

.fluentform_wrapper_3 .privacy-label-main {
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}

.fluentform_wrapper_3 .privacy-label-note {
    display: block;
}

.fluentform_wrapper_3 .privacy-label-note a {
    color: #e7623e;
    text-underline-offset: 4px;
}

.fluentform_wrapper_3 .ff-confirm-block {
    padding: clamp(22px, 3vw, 34px);
    margin-top: 38px;
    background: rgb(231 118 82 / 7%);
    border: 1px solid rgb(231 118 82 / 18%);
}

.fluentform_wrapper_3 .ff-confirm-block h3 {
    padding-bottom: 13px;
    margin: 0 0 16px;
    color: #493934;
    font-size: clamp(1.16rem, 1.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: .08em;
    border-bottom: 1px solid rgb(231 118 82 / 24%);
}

.fluentform_wrapper_3 .ff-confirm-block p {
    margin: 0;
    font-size: .96rem;
    line-height: 2;
}

.fluentform_wrapper_3 .ff_submit_btn_wrapper {
    margin-top: 34px;
    text-align: center;
}

.fluentform_wrapper_3 .ff-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 54px;
    padding: 13px 28px;
    color: #fff;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .12em;
    background: linear-gradient(100deg, #e7623e, #ef9578);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: opacity .25s ease;
}

.fluentform_wrapper_3 .ff-el-is-error .ff-el-form-control {
    border-color: #cf3e3e;
}

.fluentform_wrapper_3 .error,
.fluentform_wrapper_3 .text-danger {
    margin-top: 7px;
    color: #b52d2d;
    font-family: system-ui, sans-serif;
    font-size: .82rem;
}

/* Contact page: online counseling flow */
.page-id-50 .fluentform_wrapper_3 {
    margin-bottom: clamp(64px, 7vw, 96px);
}

.page-id-50 .entry-content > p.wp-block-paragraph:first-child {
    margin: 0 0 clamp(42px, 5vw, 64px);
    color: #493934;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 2.05;
    letter-spacing: .035em;
}

.page-id-50 .entry-content > h3.wp-block-heading {
    margin: 0 0 24px;
    color: #493934;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .08em;
}

.page-id-50 .entry-content > h3.wp-block-heading + p {
    margin-bottom: 42px;
    color: #493934;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 2.05;
    letter-spacing: .035em;
}

.contact-flow {
    margin-top: clamp(42px, 5vw, 72px);
}

.contact-flow > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.contact-flow > .wp-block-group__inner-container > .wp-block-code:first-child {
    grid-column: 1 / -1;
    padding: 0 0 18px;
    margin: 0 0 6px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgb(231 98 62 / 35%);
}

.contact-flow > .wp-block-group__inner-container > .wp-block-code:first-child code {
    color: #493934;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 500;
    letter-spacing: .07em;
}

.contact-flow__step {
    min-width: 0;
    padding: 28px 30px 30px;
    background: rgb(255 255 255 / 72%);
    border: 1px solid rgb(231 98 62 / 22%);
    box-shadow: 10px 10px 0 rgb(231 98 62 / 7%);
}

.contact-flow__step > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-flow__step .wp-block-code {
    padding: 0;
    margin: 0;
    overflow: visible;
    white-space: normal;
    background: transparent;
    border: 0;
}

.contact-flow__step .wp-block-code code {
    color: #493934;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1rem;
    line-height: 1.9;
    white-space: normal;
}

.contact-flow__step .wp-block-code:first-child {
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(231 98 62 / 24%);
}

.contact-flow__step .wp-block-code:first-child code {
    color: #e7623e;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.65;
}

/* Treatment overview */
.treatment-overview {
    color: #493934;
    background: #fffaf7;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.treatment-overview__inner {
    width: min(calc(100% - 56px), 1120px);
    padding: clamp(52px, 7vw, 92px) 0 clamp(80px, 10vw, 132px);
    margin-inline: auto;
}

.treatment-overview__list {
    display: grid;
    gap: clamp(70px, 9vw, 124px);
}

.treatment-overview__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: clamp(44px, 7vw, 96px);
    align-items: center;
}

.treatment-overview__item.is-reverse .treatment-overview__content {
    order: 2;
}

.treatment-overview__item.is-reverse .treatment-overview__image {
    order: 1;
}

.treatment-overview__title {
    padding-bottom: 15px;
    margin: 0 0 23px;
    color: #493934;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .055em;
    border-bottom: 1px solid rgb(231 98 62 / 30%);
}

.treatment-overview__description p {
    margin: 0;
    font-size: 1rem;
    line-height: 2.05;
    letter-spacing: .025em;
}

.treatment-overview__description p + p {
    margin-top: 12px;
}

.treatment-overview__link {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    padding: 11px 22px;
    margin-top: 28px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    background: linear-gradient(90deg, #ec642f 0%, #ec642f 38%, #f3a57b 100%);
    transition: opacity .2s ease, transform .2s ease;
}

.treatment-overview__link::after {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #ed6b47;
    font-family: system-ui, sans-serif;
    font-size: 12px;
    line-height: 1;
    background: rgb(255 255 255 / 90%);
    border-radius: 50%;
    content: "\2192";
}

.treatment-overview__link:hover,
.treatment-overview__link:focus-visible {
    color: #fff;
    opacity: .88;
    transform: translateY(-2px);
}

.treatment-overview__image {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: rgb(238 142 113 / 8%);
}

.treatment-overview__image::after {
    position: absolute;
    inset: 12px;
    border: 1px solid rgb(255 255 255 / 68%);
    content: "";
    pointer-events: none;
}

.treatment-overview__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.treatment-overview__item:hover .treatment-overview__image img {
    transform: scale(1.025);
}

/* Treatment detail pages: block editor content */
.treatment-detail {
    color: #493934;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.treatment-detail > .wp-block-group__inner-container > h2,
.treatment-detail--own-ivf .ivf-law > .wp-block-group__inner-container > h2 {
    padding-bottom: 17px;
    margin: clamp(68px, 7vw, 96px) 0 28px;
    color: #493934;
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .06em;
    border-bottom: 1px solid rgb(231 98 62 / 30%);
}

.treatment-detail > .wp-block-group__inner-container > h2:first-child {
    margin-top: 0;
}

.treatment-detail > .wp-block-group__inner-container > h3 {
    position: relative;
    padding-left: 20px;
    margin: 38px 0 15px;
    color: #493934;
    font-size: clamp(1.05rem, 1.25vw, 1.18rem);
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: .045em;
}

.treatment-detail > .wp-block-group__inner-container > h3::before {
    position: absolute;
    top: .7em;
    left: 0;
    width: 9px;
    height: 9px;
    background: #e7623e;
    content: "";
    transform: rotate(45deg);
}

.treatment-detail > .wp-block-group__inner-container > p,
.treatment-detail > .wp-block-group__inner-container > ul,
.treatment-detail > .wp-block-group__inner-container > ol {
    margin: 0 0 22px;
    font-size: 1rem;
    line-height: 2.05;
    letter-spacing: .025em;
}

.treatment-detail > .wp-block-group__inner-container > h2:first-child + p {
    padding: clamp(22px, 3vw, 30px) clamp(22px, 3.5vw, 38px);
    margin-bottom: clamp(54px, 6vw, 76px);
    background: rgb(238 142 113 / 8%);
    border-left: 3px solid #e7623e;
}

.treatment-detail > .wp-block-group__inner-container > ul,
.treatment-detail > .wp-block-group__inner-container > ol {
    padding-left: 1.45em;
}

.treatment-detail > .wp-block-group__inner-container > ul li + li,
.treatment-detail > .wp-block-group__inner-container > ol li + li {
    margin-top: 8px;
}

.treatment-detail > .wp-block-group__inner-container > ul li::marker,
.treatment-detail > .wp-block-group__inner-container > ol li::marker {
    color: #e7623e;
}

.treatment-detail .wp-block-table {
    margin: 32px 0 clamp(54px, 6vw, 76px);
    overflow-x: auto;
}

.treatment-detail .wp-block-table table {
    min-width: 680px;
    margin: 0;
    border-collapse: collapse;
    font-size: .94rem;
    line-height: 1.75;
}

.treatment-detail .wp-block-table th,
.treatment-detail .wp-block-table td {
    padding: 14px 16px;
    border: 1px solid rgb(231 98 62 / 24%);
}

.treatment-detail .wp-block-table th,
.treatment-detail .wp-block-table tbody tr:first-child td {
    color: #fff;
    font-weight: 600;
    text-align: left;
    background: linear-gradient(100deg, #e7623e, #ed8567);
}

.treatment-detail .wp-block-table tbody tr:nth-child(even) {
    background: rgb(238 142 113 / 6%);
}

.table-scroll-wrap {
    position: relative;
    margin: 32px 0 clamp(54px, 6vw, 76px);
}

.table-scroll-wrap > .wp-block-table {
    margin: 0;
}

.table-swipe-hint {
    display: none;
}

.treatment-detail .wp-block-button__link {
    min-width: 240px;
    padding: 15px 30px;
    color: #fff;
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .08em;
    background: linear-gradient(100deg, #e7623e, #ef9578);
    border-radius: 0;
}

.treatment-detail .wp-block-button__link code {
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    background: transparent;
}

/* Own-egg IVF: legal requirements */
.ivf-law {
    margin-top: 30px;
}

.ivf-law > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* Keep later sections full-width if they were placed inside the law group. */
.ivf-law > .wp-block-group__inner-container > :not(.ivf-law__item) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
}

.ivf-law__item {
    padding: clamp(26px, 3vw, 38px);
    background: rgb(255 250 247 / 78%);
    border: 1px solid rgb(231 98 62 / 22%);
    border-top: 3px solid #ed8b6d;
}

.ivf-law__item h3 {
    padding-bottom: 14px;
    margin: 0 0 20px;
    color: #493934;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.7;
    border-bottom: 1px solid rgb(231 98 62 / 22%);
}

.ivf-law__item p,
.ivf-law__item ul {
    margin: 0;
    font-size: .94rem;
    line-height: 1.95;
}

.ivf-law__item ul {
    padding-left: 1.35em;
    margin-bottom: 20px;
}

.ivf-law__item li + li {
    margin-top: 9px;
}

.ivf-law__item li::marker {
    color: #e7623e;
}

/* Own-egg IVF: travel and treatment flow */
.ivf-flow {
    margin-top: 38px;
}

.ivf-flow > .wp-block-group__inner-container {
    --ivf-flow-indent: clamp(48px, 5vw, 72px);
    position: relative;
    padding-left: var(--ivf-flow-indent);
}

.ivf-flow > .wp-block-group__inner-container::before {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 13px;
    width: 1px;
    background: linear-gradient(to bottom, #ed8b6d, rgb(237 139 109 / 18%));
    content: "";
}

.ivf-flow__step {
    position: relative;
    padding: clamp(25px, 3.2vw, 38px);
    margin-bottom: 24px;
    background: rgb(255 255 255 / 62%);
    border: 1px solid rgb(231 98 62 / 20%);
    box-shadow: 8px 8px 0 rgb(231 98 62 / 5%);
}

.ivf-flow__step::before {
    position: absolute;
    top: 30px;
    left: calc(7px - var(--ivf-flow-indent));
    width: 13px;
    height: 13px;
    background: #e7623e;
    border: 3px solid #fffaf7;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgb(231 98 62 / 28%);
    content: "";
}

.ivf-flow__step h3 {
    padding-bottom: 14px;
    margin: 0 0 20px;
    color: #493934;
    font-size: clamp(1.05rem, 1.4vw, 1.24rem);
    line-height: 1.7;
    border-bottom: 1px solid rgb(231 98 62 / 24%);
}

.ivf-flow__step p,
.ivf-flow__step ul {
    margin: 0 0 18px;
    font-size: .94rem;
    line-height: 2;
}

.ivf-flow__step > .wp-block-group__inner-container > :last-child {
    margin-bottom: 0;
}

.ivf-flow__step ul {
    padding: 18px 20px 18px 2.7em;
    background: rgb(238 142 113 / 7%);
}

.ivf-flow__step li + li {
    margin-top: 7px;
}

.ivf-flow__step li::marker {
    color: #e7623e;
}

.ivf-flow__step--preparation,
.ivf-flow__step--result {
    background: rgb(246 239 234 / 62%);
}

.treatment-note {
    padding: 18px 21px;
    margin: 22px 0 0;
    background: rgb(238 142 113 / 10%);
    border-left: 3px solid #e7623e;
}

.treatment-note p:last-child {
    margin-bottom: 0;
}

.ivf-flow__reasons {
    margin: 24px 0;
}

.ivf-flow__reasons > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ivf-flow__reason {
    padding: 22px 22px 24px;
    background: #fffaf7;
    border-left: 3px solid #ed8b6d;
}

.ivf-flow__reason h4 {
    margin: 0 0 12px;
    color: #d85f3e;
    font-size: .98rem;
    line-height: 1.7;
}

.ivf-flow__reason p {
    margin-bottom: 0;
    font-size: .9rem;
    line-height: 1.9;
}

/* Own-egg IVF: treatment environment */
.ivf-environment-image {
    margin: 0 0 28px;
    overflow: hidden;
}

.ivf-environment-image img {
    display: block;
    width: 100%;
    height: clamp(240px, 30vw, 380px);
    object-fit: cover;
}

.ivf-environment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
}

.ivf-environment-list li {
    padding: 21px 22px 23px;
    font-size: .91rem;
    line-height: 1.9;
    background: rgb(255 250 247 / 82%);
    border-left: 3px solid #ed8b6d;
}

.ivf-environment-list li strong {
    display: block;
    margin-bottom: 8px;
    color: #d85f3e;
    font-size: .98rem;
    line-height: 1.65;
}

.treatment-detail .wp-block-buttons {
    margin-top: 30px;
}

.treatment-detail .wp-block-button__link {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    width: min(100%, 373px);
    min-width: 0;
    padding: 11px 22px;
    color: #fff;
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
    background: linear-gradient(90deg, #ec642f 0%, #ec642f 38%, #f3a57b 100%);
    border-radius: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.treatment-detail .wp-block-button__link::after {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #ed6b47;
    font-family: system-ui, sans-serif;
    font-size: 12px;
    line-height: 1;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    content: "\2192";
    transition: transform .3s ease;
}

.treatment-detail .wp-block-button__link:hover,
.treatment-detail .wp-block-button__link:focus-visible {
    opacity: .88;
    transform: translateY(-2px);
}

.treatment-detail .wp-block-button__link:hover::after,
.treatment-detail .wp-block-button__link:focus-visible::after {
    transform: none;
}

/* Shared treatment-page introduction */
.treatment-intro,
.prp-intro,
.donor-intro {
    padding: clamp(25px, 3.5vw, 40px);
    margin-bottom: clamp(54px, 6vw, 76px);
    background: rgb(238 142 113 / 8%);
    border-left: 3px solid #e7623e;
}

.treatment-intro {
    position: relative;
    padding: 0 0 clamp(30px, 4vw, 44px);
    background: transparent;
    border-left: 0;
    border-bottom: 1px solid rgb(231 98 62 / 28%);
}

.treatment-intro p,
.prp-intro p,
.donor-intro p {
    margin: 0;
    font-size: 1rem;
    line-height: 2.05;
    letter-spacing: .025em;
}

.treatment-intro p + p,
.prp-intro p + p,
.donor-intro p + p {
    margin-top: 15px;
}

.treatment-intro p:first-child {
    color: #493934;
    font-size: 1.06rem;
    font-weight: 500;
    line-height: 2.1;
}

/* Egg donation */
.treatment-detail--egg-donation h3 {
    position: relative;
    padding: 0 0 0 20px;
    margin: 38px 0 15px;
    color: #493934;
    font-size: clamp(1.05rem, 1.25vw, 1.18rem);
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: .045em;
    background: transparent;
    border-bottom: 0;
}

.treatment-detail--egg-donation h3::before {
    position: absolute;
    top: .7em;
    left: 0;
    display: block;
    width: 9px;
    height: 9px;
    background: #e7623e;
    content: "";
    transform: rotate(45deg);
}

.egg-donation-process {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding: 0 !important;
    margin: 28px 0 30px !important;
    list-style: none;
    counter-reset: egg-donation-process;
}

.egg-donation-process li {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 88px;
    padding: 21px 22px 21px 72px;
    margin: 0 !important;
    font-size: .94rem;
    line-height: 1.9;
    background: rgb(255 250 247 / 82%);
    border: 1px solid rgb(231 98 62 / 18%);
    counter-increment: egg-donation-process;
}

.egg-donation-process li::before {
    position: absolute;
    top: 50%;
    left: 20px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: .75rem;
    font-weight: 700;
    background: linear-gradient(100deg, #e7623e, #ef9578);
    border-radius: 50%;
    content: counter(egg-donation-process, decimal-leading-zero);
    transform: translateY(-50%);
}

.egg-donation-process li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.egg-donation-target-list,
.egg-donation-law-list,
.egg-donation-purpose-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding: 0 !important;
    margin: 24px 0 30px !important;
    list-style: none;
}

.egg-donation-target-list li,
.egg-donation-law-list li,
.egg-donation-purpose-list li {
    position: relative;
    padding: 20px 22px 21px 50px;
    margin: 0 !important;
    font-size: .93rem;
    line-height: 1.9;
    background: rgb(255 250 247 / 82%);
    border: 1px solid rgb(231 98 62 / 18%);
}

.egg-donation-target-list li::before {
    position: absolute;
    top: 23px;
    left: 20px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: 11px;
    line-height: 1;
    background: #ed8b6d;
    border-radius: 50%;
    content: "\2713";
}

.egg-donation-law-list li,
.egg-donation-purpose-list li {
    padding-left: 22px;
    border-left: 3px solid #ed8b6d;
}

.egg-donation-law-list li strong,
.egg-donation-purpose-list li strong {
    display: block;
    padding-bottom: 9px;
    margin-bottom: 9px;
    color: #d85f3e;
    font-size: 1rem;
    line-height: 1.7;
    border-bottom: 1px solid rgb(231 98 62 / 20%);
}

.prp-comparison-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0 !important;
    margin: 30px 0 0 !important;
    list-style: none;
}

.prp-comparison-list li {
    padding: 26px 24px 28px;
    margin-top: 0 !important;
    color: #493934;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.9;
    background: rgb(255 255 255 / 88%);
    border: 1px solid rgb(231 98 62 / 22%);
    border-top: 4px solid #e97858;
    box-shadow: 8px 9px 0 rgb(231 98 62 / 6%);
}

.prp-comparison-list li strong {
    display: block;
    padding-bottom: 11px;
    margin-bottom: 12px;
    color: #d85f3e;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.65;
    border-bottom: 1px solid rgb(231 98 62 / 22%);
}

.prp-target-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding: 0 !important;
    margin: 0 0 30px !important;
    list-style: none;
}

.prp-target-list li {
    position: relative;
    padding: 19px 20px 19px 52px;
    margin-top: 0 !important;
    font-size: .94rem;
    line-height: 1.9;
    background: rgb(255 250 247 / 82%);
    border: 1px solid rgb(231 98 62 / 18%);
}

.prp-target-list li::before {
    position: absolute;
    top: 22px;
    left: 20px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: 11px;
    line-height: 1;
    background: #ed8b6d;
    border-radius: 50%;
    content: "\2713";
}

.prp-flow {
    margin-top: 36px;
}

.prp-flow > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    counter-reset: prp-flow-step;
}

.prp-flow__step {
    position: relative;
    padding: 28px 28px 30px;
    background: rgb(255 255 255 / 62%);
    border: 1px solid rgb(231 98 62 / 20%);
    border-top: 3px solid #ed8b6d;
    counter-increment: prp-flow-step;
}

.prp-flow__step::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 31px;
    padding: 5px 12px;
    margin-bottom: 16px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    background: linear-gradient(100deg, #e7623e, #ef9578);
    content: "STEP " counter(prp-flow-step, decimal-leading-zero);
}

.prp-flow__step h3 {
    padding-bottom: 13px;
    margin: 0 0 17px;
    color: #493934;
    font-size: 1.05rem;
    line-height: 1.7;
    border-bottom: 1px solid rgb(231 98 62 / 23%);
}

.prp-flow__step p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.95;
}

.prp-flow__step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* Egg donor requirements */
.donor-requirements {
    margin-top: 30px;
}

.donor-requirements > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.donor-requirements__item {
    padding: clamp(25px, 3vw, 36px);
    background: rgb(255 250 247 / 82%);
    border: 1px solid rgb(231 98 62 / 21%);
    border-top: 3px solid #ed8b6d;
}

.donor-requirements__item h3,
.donor-tests__item h3,
.donor-flow__step h3 {
    padding-bottom: 14px;
    margin: 0 0 19px;
    color: #493934;
    font-size: clamp(1.03rem, 1.3vw, 1.18rem);
    line-height: 1.7;
    border-bottom: 1px solid rgb(231 98 62 / 23%);
}

.donor-requirements__item p,
.donor-requirements__item ul,
.donor-tests__item p,
.donor-tests__item ul,
.donor-flow__step p,
.donor-flow__step ul {
    margin: 0 0 17px;
    font-size: .93rem;
    line-height: 1.95;
}

.donor-requirements__item > .wp-block-group__inner-container > :last-child,
.donor-tests__item > .wp-block-group__inner-container > :last-child,
.donor-flow__step > .wp-block-group__inner-container > :last-child {
    margin-bottom: 0;
}

.donor-requirements__item ul,
.donor-tests__item ul,
.donor-flow__step ul {
    padding-left: 1.4em;
}

.donor-requirements__item li + li,
.donor-tests__item li + li,
.donor-flow__step li + li {
    margin-top: 7px;
}

.donor-requirements__item li::marker,
.donor-tests__item li::marker,
.donor-flow__step li::marker {
    color: #e7623e;
}

.donor-tests {
    margin-top: 30px;
}

.donor-tests > .wp-block-group__inner-container {
    display: grid;
    gap: 18px;
}

.donor-tests__item {
    padding: clamp(24px, 3vw, 34px);
    background: rgb(255 255 255 / 65%);
    border-left: 3px solid #ed8b6d;
    box-shadow: 7px 7px 0 rgb(231 98 62 / 5%);
}

.donor-tests__item p strong {
    color: #d85f3e;
    font-size: .97rem;
}

.donor-flow__image {
    margin: 0 0 30px;
    overflow: hidden;
}

.donor-flow__image img {
    display: block;
    width: 100%;
    height: clamp(240px, 30vw, 380px);
    object-fit: cover;
}

.donor-flow > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    counter-reset: donor-flow-step;
}

.donor-flow__step {
    padding: 27px 28px 30px;
    background: rgb(255 255 255 / 68%);
    border: 1px solid rgb(231 98 62 / 20%);
    border-top: 3px solid #ed8b6d;
    counter-increment: donor-flow-step;
}

.donor-flow__step::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 31px;
    padding: 5px 12px;
    margin-bottom: 16px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    background: linear-gradient(100deg, #e7623e, #ef9578);
    content: "STEP " counter(donor-flow-step, decimal-leading-zero);
}

.donor-flow__step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* PGT-M: disease groups */
.pgtm-disease-section {
    padding: clamp(26px, 3.5vw, 40px);
    margin-top: 28px;
    background: rgb(255 255 255 / 58%);
    border: 1px solid rgb(231 98 62 / 20%);
}

.pgtm-disease-section > .wp-block-group__inner-container > h3 {
    padding-bottom: 15px;
    margin: 0 0 16px;
    color: #493934;
    font-size: clamp(1.12rem, 1.5vw, 1.32rem);
    line-height: 1.65;
    border-bottom: 1px solid rgb(231 98 62 / 26%);
}

.pgtm-disease-section > .wp-block-group__inner-container > p {
    margin: 0 0 24px;
    font-size: .96rem;
    line-height: 1.95;
}

.pgtm-disease-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pgtm-disease-list li {
    min-width: 0;
    padding: 24px 24px 26px;
    font-size: .9rem;
    line-height: 1.9;
    background: #fffaf7;
    border-left: 3px solid #ed8b6d;
}

.pgtm-disease-list li strong {
    display: block;
    margin-bottom: 11px;
    color: #d85f3e;
    font-size: .96rem;
    line-height: 1.7;
}

/* PGT-M: Japan / Taiwan system comparison */
.pgtm-system-block {
    padding: clamp(28px, 4vw, 44px);
    margin-top: 24px;
    border: 1px solid rgb(231 98 62 / 22%);
}

.pgtm-system-block--japan {
    background: rgb(246 239 234 / 72%);
}

.pgtm-system-block--taiwan {
    background: rgb(238 142 113 / 9%);
}

.pgtm-system-block > .wp-block-group__inner-container > h3 {
    padding-bottom: 15px;
    margin: 0 0 22px;
    color: #493934;
    font-size: clamp(1.12rem, 1.5vw, 1.32rem);
    line-height: 1.65;
    border-bottom: 1px solid rgb(231 98 62 / 28%);
}

.pgtm-system-block > .wp-block-group__inner-container > h4 {
    padding-left: 14px;
    margin: 30px 0 12px;
    color: #d85f3e;
    font-size: 1rem;
    line-height: 1.7;
    border-left: 3px solid #e7623e;
}

.pgtm-system-block > .wp-block-group__inner-container > p,
.pgtm-system-block > .wp-block-group__inner-container > ul {
    margin: 0 0 18px;
    font-size: .95rem;
    line-height: 1.95;
}

.pgtm-system-block > .wp-block-group__inner-container > ul {
    padding-left: 1.4em;
}

.pgtm-system-block li::marker {
    color: #e7623e;
}

/* PGT-M: examination flow */
.pgtm-flow {
    margin-top: clamp(36px, 5vw, 58px);
}

.pgtm-flow > .wp-block-group__inner-container {
    position: relative;
    counter-reset: pgtm-step;
}

.pgtm-flow > .wp-block-group__inner-container::before {
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 43px;
    width: 1px;
    background: rgb(231 98 62 / 42%);
    content: "";
}

.pgtm-flow__step {
    position: relative;
    padding: clamp(25px, 3vw, 34px);
    margin: 0 0 24px 108px;
    background: rgb(255 255 255 / 62%);
    border: 1px solid rgb(231 98 62 / 22%);
    box-shadow: 10px 10px 0 rgb(231 98 62 / 6%);
    counter-increment: pgtm-step;
}

.pgtm-flow__step::before {
    position: absolute;
    top: 22px;
    left: -108px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    min-height: 48px;
    padding: 8px;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    background: linear-gradient(135deg, #e7623e, #ef9578);
    border-radius: 999px;
    content: "STEP " counter(pgtm-step);
}

.pgtm-flow__step > .wp-block-group__inner-container > h3 {
    padding-bottom: 14px;
    margin: 0 0 18px;
    color: #493934;
    font-size: clamp(1.08rem, 1.5vw, 1.28rem);
    line-height: 1.65;
    border-bottom: 1px solid rgb(231 98 62 / 24%);
}

.pgtm-flow__step > .wp-block-group__inner-container > h4 {
    margin: 24px 0 10px;
    color: #d85f3e;
    font-size: .98rem;
    line-height: 1.7;
}

.pgtm-flow__step > .wp-block-group__inner-container > p,
.pgtm-flow__step > .wp-block-group__inner-container > ul {
    margin: 0 0 16px;
    font-size: .95rem;
    line-height: 1.95;
}

.pgtm-flow__step > .wp-block-group__inner-container > ul {
    padding-left: 1.4em;
}

.pgtm-flow__step li::marker {
    color: #e7623e;
}

.pgtm-flow__note {
    padding: 18px 20px;
    margin-top: 20px;
    background: rgb(238 142 113 / 10%);
    border-left: 3px solid #e7623e;
}

.pgtm-flow__note p:last-child {
    margin-bottom: 0;
}

.treatment-detail h3.wp-block-heading {
    font-size: 1.25rem;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .treatment-detail .wp-block-group__inner-container h2.wp-block-heading {
        font-size: 1.25rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .treatment-overview {
        width: 100%;
    }

    .treatment-overview__inner {
        width: min(calc(100% - 40px), 1120px);
        padding: 42px 0 76px;
    }

    .treatment-overview__list {
        gap: 58px;
    }

    .treatment-overview__item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .treatment-overview__item .treatment-overview__content,
    .treatment-overview__item.is-reverse .treatment-overview__content {
        order: 2;
    }

    .treatment-overview__item .treatment-overview__image,
    .treatment-overview__item.is-reverse .treatment-overview__image {
        order: 1;
    }

    .treatment-overview__title {
        padding-bottom: 11px;
        margin-bottom: 17px;
        font-size: 1.125rem;
    }

    .treatment-overview__description p {
        font-size: .94rem;
        line-height: 1.95;
    }

    .treatment-overview__link {
        display: flex;
        width: min(100%, 280px);
        min-width: 0;
        margin: 22px auto 0;
    }

    .treatment-overview__image {
        aspect-ratio: 16 / 10;
    }

    .treatment-detail > .wp-block-group__inner-container > h2,
    .treatment-detail--own-ivf .ivf-law > .wp-block-group__inner-container > h2 {
        padding-bottom: 13px;
        margin: 52px 0 22px;
        font-size: 1.35rem;
    }

    .treatment-detail > .wp-block-group__inner-container > h3 {
        padding-left: 17px;
        margin-top: 30px;
        font-size: 1rem;
    }

    .treatment-detail > .wp-block-group__inner-container > h3::before {
        width: 8px;
        height: 8px;
    }

    .treatment-detail > .wp-block-group__inner-container > p,
    .treatment-detail > .wp-block-group__inner-container > ul,
    .treatment-detail > .wp-block-group__inner-container > ol {
        margin-bottom: 18px;
        font-size: .94rem;
        line-height: 1.95;
    }

    .treatment-detail > .wp-block-group__inner-container > h2:first-child + p {
        padding: 19px 20px;
        margin-bottom: 46px;
    }

    .treatment-detail .wp-block-table {
        margin: 26px 0 48px;
    }

    .table-scroll-wrap {
        margin: 26px 0 48px;
    }

    .table-scroll-wrap > .wp-block-table {
        margin: 0;
    }

    .table-scroll-wrap.is-overflowing .table-swipe-hint {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        display: flex;
        gap: 8px;
        align-items: center;
        width: max-content;
        max-width: calc(100% - 32px);
        padding: 10px 14px;
        color: #d85f3e;
        font-size: .76rem;
        font-weight: 600;
        letter-spacing: .04em;
        pointer-events: none;
        visibility: hidden;
        opacity: 0;
        background: rgb(255 250 247 / 96%);
        border: 1px solid rgb(231 98 62 / 34%);
        border-radius: 999px;
        box-shadow: 0 8px 24px rgb(73 57 52 / 13%);
        transform: translate(-50%, -50%);
        transition: opacity .3s ease, visibility .3s ease;
    }

    .table-scroll-wrap.is-overflowing .table-swipe-hint.is-visible {
        visibility: visible;
        opacity: 1;
    }

    .table-swipe-hint svg {
        flex: 0 0 auto;
        width: 25px;
        height: 25px;
        animation: table-swipe-hand 1.25s ease-in-out infinite;
    }

    @keyframes table-swipe-hand {
        0%, 100% {
            transform: translateX(-3px);
        }

        50% {
            transform: translateX(5px);
        }
    }

    .treatment-detail .wp-block-table table {
        min-width: 620px;
        font-size: 1rem;
    }

    .treatment-detail .wp-block-table th,
    .treatment-detail .wp-block-table td {
        padding: 11px 12px;
    }

    .ivf-law > .wp-block-group__inner-container,
    .ivf-flow__reasons > .wp-block-group__inner-container,
    .ivf-environment-list {
        grid-template-columns: 1fr;
    }

    .ivf-law__item {
        padding: 22px 20px 24px;
    }

    .ivf-flow {
        margin-top: 28px;
    }

    .ivf-flow > .wp-block-group__inner-container {
        padding-left: 0;
    }

    .ivf-flow > .wp-block-group__inner-container::before,
    .ivf-flow__step::before {
        display: none;
    }

    .ivf-flow__step {
        padding: 22px 20px 24px;
        margin-bottom: 20px;
        box-shadow: 6px 6px 0 rgb(231 98 62 / 5%);
    }

    .ivf-flow__step h3 {
        font-size: 1rem;
    }

    .ivf-flow__step p,
    .ivf-flow__step ul {
        font-size: .9rem;
        line-height: 1.95;
    }

    .ivf-flow__step ul {
        padding: 16px 15px 16px 2.3em;
    }

    .ivf-flow__reason,
    .ivf-environment-list li {
        padding: 19px 18px 21px;
    }

    .ivf-environment-image {
        margin-bottom: 20px;
    }

    .ivf-environment-image img {
        height: 220px;
    }

    .treatment-intro,
    .prp-intro,
    .donor-intro {
        padding: 21px 20px 23px;
        margin-bottom: 46px;
    }

    .treatment-intro {
        padding: 0 0 28px;
        background: transparent;
        border-left: 0;
    }

    .treatment-intro p,
    .prp-intro p,
    .donor-intro p {
        font-size: .94rem;
        line-height: 1.95;
    }

    .treatment-intro p:first-child {
        font-size: .98rem;
        line-height: 2;
    }

    .prp-comparison-list,
    .prp-target-list,
    .prp-flow > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }

    .prp-comparison-list li,
    .prp-flow__step {
        padding: 21px 19px 23px;
    }

    .prp-target-list li {
        padding: 17px 17px 17px 47px;
        font-size: .9rem;
    }

    .prp-target-list li::before {
        top: 20px;
        left: 17px;
    }

    .prp-flow__step:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .egg-donation-process,
    .egg-donation-target-list,
    .egg-donation-law-list,
    .egg-donation-purpose-list {
        grid-template-columns: 1fr;
    }

    .treatment-detail--egg-donation h3 {
        padding: 0 0 0 17px;
        margin: 30px 0 15px;
        font-size: 1rem;
    }

    .treatment-detail--egg-donation h3::before {
        width: 8px;
        height: 8px;
    }

    .egg-donation-process li {
        min-height: 0;
        padding: 19px 18px 19px 64px;
        font-size: 1rem;
    }

    .egg-donation-process li::before {
        top: 50%;
        left: 17px;
        width: 32px;
        height: 32px;
    }

    .egg-donation-process li:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .egg-donation-target-list li,
    .egg-donation-law-list li,
    .egg-donation-purpose-list li {
        padding-top: 18px;
        padding-bottom: 19px;
        font-size: .9rem;
    }

    .egg-donation-target-list li {
        padding-left: 47px;
    }

    .egg-donation-target-list li::before {
        top: 21px;
        left: 17px;
    }

    .donor-requirements > .wp-block-group__inner-container,
    .donor-flow > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }

    .donor-requirements__item,
    .donor-tests__item,
    .donor-flow__step {
        padding: 21px 19px 23px;
    }

    .donor-flow__image {
        margin-bottom: 22px;
    }

    .donor-flow__image img {
        height: 220px;
    }

    .donor-flow__step:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .pgtm-disease-section,
    .pgtm-system-block {
        padding: 22px 20px;
    }

    .pgtm-disease-list {
        grid-template-columns: 1fr;
    }

    .pgtm-disease-list li {
        padding: 19px 18px 21px;
        font-size: .87rem;
    }

    .pgtm-disease-list li strong {
        margin-bottom: 8px;
    }

    .pgtm-flow > .wp-block-group__inner-container::before {
        display: none;
    }

    .pgtm-flow__step {
        padding: 21px 20px 23px;
        margin: 0 0 22px;
        box-shadow: 6px 6px 0 rgb(231 98 62 / 6%);
    }

    .pgtm-flow__step::before {
        position: static;
        display: inline-flex;
        width: auto;
        min-width: 76px;
        min-height: 34px;
        padding: 6px 12px;
        margin-bottom: 15px;
        font-size: .72rem;
    }

    .pgtm-flow__step > .wp-block-group__inner-container > h3 {
        font-size: 1rem;
    }

    .treatment-detail p {
        font-size: 1rem !important;
    }

    .treatment-detail li {
        font-size: 1rem;
    }

    .egg-donation-target-list li,
    .prp-target-list li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding-left: 17px;
    }

    .egg-donation-target-list li::before,
    .prp-target-list li::before {
        position: static;
        flex: 0 0 20px;
        margin-top: .5em;
    }

    .treatment-detail [class*="flow__step"] p,
    .treatment-detail [class*="flow__step"] ul,
    .treatment-detail [class*="flow__step"] ol {
        font-size: 1rem;
    }

    .treatment-detail h3.wp-block-heading {
        font-size: 1.125rem;
        line-height: 1.65;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .table-swipe-hint svg {
        animation: none;
    }
}

@media (hover: hover) {
    .fluentform_wrapper_3 .ff-btn-submit:hover {
        opacity: .82;
    }
}

@media (max-width: 767px) {
    .subpage-hero {
        min-height: 230px;
    }

    .subpage-hero::after {
        right: -24%;
        bottom: -64px;
        left: -24%;
        height: 112px;
    }

    .subpage-hero__inner {
        width: calc(100% - 40px);
        padding: 24px 0 82px;
    }

    .subpage-hero__title {
        font-size: clamp(1.55rem, 6.5vw, 1.85rem);
        font-weight: 500;
        letter-spacing: 0.08em;
    }

    .subpage-hero__en {
        margin-top: 9px;
        font-size: 0.68rem;
    }

    .subpage-breadcrumb__inner {
        width: calc(100% - 40px);
        min-height: 54px;
        padding-block: 12px;
        font-size: 0.78rem;
    }

    .page .site-main > article.page {
        width: 100%;
    }

    .page .entry-content {
        width: calc(100% - 40px);
    }

    body.privacy-policy .site-main > .page {
        width: 100%;
    }

    body.privacy-policy .entry-content {
        width: calc(100% - 40px);
        padding-block: 52px 88px;
    }

    body.privacy-policy .entry-content > p:first-child {
        padding: 17px 18px;
        margin-bottom: 36px;
    }

    body.privacy-policy .entry-content ol {
        gap: 20px;
    }

    body.privacy-policy .entry-content ol > li {
        padding: 68px 20px 26px;
        box-shadow: 6px 8px 0 rgb(231 118 82 / 7%);
    }

    body.privacy-policy .entry-content ol > li::before {
        top: 18px;
        left: 20px;
        width: 38px;
        height: 38px;
        font-size: .76rem;
    }

    .director-message {
        padding-block: 52px 84px;
    }

    .director-message__inner {
        width: calc(100% - 40px);
    }

    .director-message__intro {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .director-message__profile-set {
        position: static;
        min-height: 0;
        margin-top: 0;
    }

    .director-message__portrait {
        margin: 0;
    }

    .director-message__portrait-image {
        width: 100%;
        max-width: 320px;
        height: auto;
        max-height: none;
    }

    .director-message__profile {
        margin-top: 24px;
    }

    .director-message__institution {
        margin-bottom: 12px;
    }

    .director-message__identity {
        gap: 6px 14px;
    }

    .director-message__name {
        font-size: 1.75rem;
    }

    .director-message__name-kana {
        font-size: 0.84rem;
    }

    .director-message__heading {
        margin-bottom: 26px;
        font-size: 1.35rem;
    }

    .director-message__body,
    .director-message__detail-body {
        font-size: 1rem;
        line-height: 2;
    }

    .director-message__details {
        width: 100%;
        margin-top: 72px;
    }

    .director-message__detail {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-block: 32px;
    }

    .director-message__detail-title {
        font-size: 1.3rem;
    }

    .doctors-page {
        padding-block: 52px 84px;
    }

    .doctors-page__inner {
        width: calc(100% - 40px);
    }

    .doctors-page__directors,
    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctor-director {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .doctor-director__media {
        aspect-ratio: 4 / 3;
    }

    .doctor-director__content {
        padding-top: 16px;
    }

    .doctor-director__identity {
        gap: 5px 10px;
    }

    .doctor-director__identity span {
        font-size: 0.86rem;
    }

    .doctor-director__identity strong {
        font-size: 1.35rem;
    }

    .doctor-director__details {
        gap: 26px;
    }

    .doctors-page__members {
        margin-top: 56px;
    }

    .doctors-grid {
        gap: 28px;
    }

    .doctor-card__identity {
        padding: 18px 20px 8px;
    }

    .doctor-card__more {
        padding: 10px 20px 18px;
        font-size: 1rem;
    }

    .doctor-card__more > span {
        font-size: 1.65rem;
    }

    .doctor-dialog__panel {
        padding: 70px 24px 34px;
    }

    .doctor-dialog__close {
        top: 16px;
        right: 16px;
    }

    .doctor-dialog__header {
        grid-template-columns: 185px minmax(0, 1fr);
        gap: 16px;
        padding-right: 0;
    }

    .doctor-dialog__name {
        font-size: 1.55rem;
    }

    .doctor-dialog__profile {
        font-size: 0.94rem;
        line-height: 1.85;
    }

    .clinics-page {
        padding-block: 52px 84px;
    }

    .clinics-page__inner {
        width: calc(100% - 40px);
    }

    .clinics-page__intro,
    .clinic-section__body {
        font-size: 1rem;
        line-height: 1.9;
    }

    .clinics-group {
        margin-top: 70px;
    }

    .clinics-group__title {
        margin-bottom: 42px;
        font-size: 1.4rem;
    }

    .clinic-section + .clinic-section {
        margin-top: 84px;
    }

    .clinic-section__header h3 {
        font-size: 1.55rem;
    }

    .clinic-section__header h3 small {
        display: block;
        margin: 8px 0 0;
    }

    .clinic-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
        height: auto;
    }

    .clinic-gallery__main {
        height: auto;
        aspect-ratio: 1.65 / 1;
    }

    .clinic-gallery__thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 10px;
    }

    .clinic-gallery__thumb {
        aspect-ratio: 1 / 1;
    }

    .clinic-section__body {
        margin-top: 42px;
    }

    .clinic-features li {
        padding-left: 38px;
    }

    .clinics-domestic-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .clinic-section--compact + .clinic-section--compact {
        margin-top: 0;
    }

    .environment-page {
        padding-block: 52px 84px;
    }

    .environment-page__inner {
        width: calc(100% - 40px);
    }

    .environment-page__intro,
    .environment-copy,
    .environment-feature__copy {
        font-size: 1rem;
        line-height: 1.9;
    }

    .environment-section {
        margin-top: 78px;
    }

    .environment-section__title {
        display: block;
        margin-bottom: 38px;
        font-size: 1.4rem;
    }

    .environment-section__title span {
        margin-right: 8px;
    }

    .environment-section__title small {
        display: block;
        margin-top: 8px;
        font-size: 0.72em;
    }

    .environment-wide-image {
        aspect-ratio: 1.45 / 1;
        margin-top: 36px;
        width: 100%;
    }

    .environment-feature-list {
        gap: 64px;
        margin-top: 64px;
    }

    .environment-feature,
    .environment-feature--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .environment-feature__media {
        aspect-ratio: 1.4 / 1;
        width: 100%;
    }

    .environment-table {
        min-width: 580px;
        font-size: 0.9rem;
    }

    .access-page {
        padding-block: 52px 88px;
    }

    .access-page__inner {
        width: calc(100% - 40px);
    }

    .access-clinic__header {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .access-clinic__image {
        grid-row: 1;
        aspect-ratio: 1.45 / 1;
    }

    .access-clinic__summary h2 {
        margin-bottom: 16px;
        font-size: 1.55rem;
    }

    .access-clinic__summary h2 small {
        display: block;
        margin-top: 8px;
        font-size: .56em;
    }

    .access-hours-table {
        margin-top: 24px;
    }

    .access-hours-table dl {
        grid-template-columns: 1fr;
    }

    .access-hours-table dl > div {
        display: grid;
        grid-template-columns: 64px 1fr;
        align-items: center;
        padding: 10px 16px;
    }

    .access-hours-table dl > div + div {
        border-top: 1px solid rgb(231 118 82 / 18%);
        border-left: 0;
    }

    .access-hours-table dt {
        margin: 0;
        text-align: left;
    }

    .access-hours-table dd {
        text-align: left;
    }

    .access-block {
        margin-top: 52px;
    }

    .access-hotels {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .access-hotel {
        padding: 20px;
    }

    .access-hotel__link {
        min-width: 185px;
        margin-top: 18px;
    }

    .flow-page {
        padding-block: 54px 90px;
    }

    .flow-page__inner {
        width: calc(100% - 40px);
    }

    .flow-timeline {
        gap: 36px;
    }

    .flow-timeline::before {
        left: 25px;
    }

    .flow-step {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .flow-step__number {
        top: 82px;
        width: 50px;
        height: 50px;
        margin-left: 0;
        font-size: .55rem;
    }

    .flow-step__number strong {
        margin-top: 2px;
        font-size: .96rem;
    }

    .flow-step__card {
        padding: 24px 20px;
        box-shadow: 6px 8px 0 rgb(231 118 82 / 7%);
    }

    .flow-step__card h2 {
        padding-bottom: 14px;
        margin-bottom: 20px;
        font-size: 1.18rem;
    }

    .flow-step__card h2 small {
        display: block;
        margin: 5px 0 0;
    }

    .flow-step__links {
        display: grid;
    }

    .flow-step__links a {
        min-width: 0;
    }

    .flow-related__grid {
        grid-template-columns: 1fr;
    }

    .transfer-flow-page {
        padding-block: 54px 90px;
    }

    .transfer-flow-page__inner {
        width: calc(100% - 40px);
    }

    .transfer-flow-timeline {
        gap: 34px;
    }

    .transfer-flow-timeline::before {
        left: 38px;
    }

    .transfer-flow-step {
        grid-template-columns: 76px minmax(0, 1fr);
        column-gap: 14px;
    }

    .transfer-flow-step__timing {
        min-height: 46px;
        padding: 8px 7px;
        font-size: .7rem;
    }

    .transfer-flow-step__card {
        padding: 23px 19px;
        box-shadow: 6px 8px 0 rgb(231 118 82 / 7%);
    }

    .transfer-flow-step__card h2 {
        padding-bottom: 13px;
        margin-bottom: 18px;
        font-size: 1.14rem;
    }

    .transfer-flow-step__card h2 small {
        display: block;
        margin: 5px 0 0;
    }

    .fees-page__inner {
        width: calc(100% - 40px);
        padding-block: 56px 88px;
    }

    .fees-page__lead {
        padding: 18px 17px;
        margin-bottom: 38px;
    }

    .fees-package {
        padding: 22px 18px 24px;
        box-shadow: 7px 7px 0 rgb(231 98 62 / 6%);
    }

    .fees-package__header {
        display: block;
        padding-bottom: 17px;
        margin-bottom: 18px;
    }

    .fees-package__price {
        display: block;
        padding: 0;
        margin-top: 7px;
    }

    .fees-package__list-group {
        margin-top: 24px;
    }

    .fees-options,
    .fees-payment {
        margin-top: 58px;
    }

    .fees-options__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fees-option {
        padding: 20px 18px;
    }

    .fees-option__header {
        display: block;
    }

    .fees-option__header p {
        margin-top: 7px;
    }

    .fees-payment__body {
        padding: 20px 18px;
    }

    .fees-payment__step {
        padding: 20px 18px;
    }

    .fluentform_wrapper_3 .ff-t-container {
        grid-template-columns: 1fr;
        gap: 9px;
        padding-block: 18px;
    }

    .fluentform_wrapper_3.ffs_custom_wrap {
        padding: 24px 18px 28px !important;
    }

    .fluentform_wrapper_3 .contact-form-label {
        display: flex;
        justify-content: flex-start;
        min-height: 0;
        font-size: .95rem;
    }

    .fluentform_wrapper_3 .required-badge {
        min-width: 43px;
        min-height: 22px;
    }

    .fluentform_wrapper_3 .ff-el-form-control {
        min-height: 50px;
    }

    .fluentform_wrapper_3 textarea.ff-el-form-control {
        min-height: 170px;
    }

    .fluentform_wrapper_3 .ff-confirm-block {
        padding: 20px 18px;
        margin-top: 30px;
    }

    .fluentform_wrapper_3 .ff-btn-submit {
        width: 100%;
        min-width: 0;
    }

    .page-id-50 .fluentform_wrapper_3 {
        margin-bottom: 54px;
    }

    .page-id-50 .entry-content > h3.wp-block-heading + p {
        margin-bottom: 34px;
    }

    .page-id-50 .entry-content > p.wp-block-paragraph:first-child,
    .page-id-50 .entry-content > h3.wp-block-heading + p {
        font-size: 1rem;
        line-height: 2;
        letter-spacing: .02em;
    }

    .contact-flow {
        margin-top: 38px;
    }

    .contact-flow > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-flow > .wp-block-group__inner-container > .wp-block-code:first-child {
        margin-bottom: 2px;
    }

    .contact-flow__step {
        padding: 22px 20px 24px;
        box-shadow: 7px 7px 0 rgb(231 98 62 / 7%);
    }
}
