@charset "UTF-8";
@import url("common.css");

/* =============================================================================
Treatment Page
========================================================================== */

.lower-hero--treatment .lower-hero__panel {
    background: url("../img/treatment/bg-title-treatment.jpg") center / cover no-repeat;
}

.lower-hero--treatment .breadcrumb,
.lower-hero--treatment .breadcrumb a,
.lower-hero--treatment .breadcrumb li + li::before,
.lower-hero--treatment .lower-hero__title,
.lower-hero--treatment .lower-hero__en {
    color: #fff;
}

.treatment-anchor {
    margin-bottom: 64px;
}

.treatment-lead {
    padding-top: 0;
}

.medicine-group {
    width: min(980px, calc(100% - 120px));
    margin: 0 auto 88px;
}

.medicine-group:last-child {
    margin-bottom: 0;
}

.medicine-group__heading {
    display: flex;
    gap: 14px;
    margin-bottom: 44px;
    color: #b675a0;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;
    align-items: center;
}

.medicine-group__heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d8a5bf;
}

.medicine-group__icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.medicine-card-grid {
    display: grid;
    gap: 46px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.medicine-card {
    position: relative;
    padding-top: 42px;
}

.medicine-card--wide {
    grid-column: 1 / -1;
}

.medicine-card__title {
    position: relative;
    min-height: 32px;
    padding: 8px 120px 8px 18px;
    border-radius: 999px;
    background: #f3e4ec;
    color: #b675a0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.06em;
}

.medicine-card__image {
    position: absolute;
    top: 12px;
    right: 38px;
    width: auto;
    height: 88px;
    max-width: 86px;
    object-fit: contain;
}

.medicine-card__text {
    margin-top: 26px;
    color: #333;
    font-size: 1.25rem;
    line-height: 2;
    letter-spacing: 0.05em;
}

.medicine-card__target {
    margin-top: 18px;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.85;
    letter-spacing: 0.05em;
}

.medicine-card__target li::before {
    content: "・";
}

.medicine-card__note {
    margin-top: 20px;
    text-align: right;
}

.medicine-card__note a,
.medicine-card__note button {
    display: inline-flex;
    padding: 0;
    color: #333;
    font-size: 1.15rem;
    font-family: inherit;
    letter-spacing: 0.06em;
    align-items: center;
    background: none;
    border: 0;
    cursor: pointer;
}

.medicine-card__note a::before,
.medicine-card__note button::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-top: 2px solid #b675a0;
    border-right: 2px solid #b675a0;
    transform: rotate(45deg);
}

.medicine-card__note button:hover {
    color: #b675a0;
}

.medicine-copy {
    margin: -12px 0 42px;
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-align: center;
}

.supplement-lead {
    margin: -12px 0 72px;
    color: #333;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: 0.08em;
}

.supplement-list {
    display: grid;
    gap: 82px;
}

.supplement-item {
    display: grid;
    gap: 62px;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: start;
}

.supplement-item__image {
    display: flex;
    justify-content: center;
}

.supplement-item__image img {
    width: auto;
    height: 154px;
    object-fit: contain;
}

.supplement-item__title {
    display: flex;
    min-height: 38px;
    padding: 8px 26px;
    border-radius: 999px;
    background: #f3e4ec;
    color: #b675a0;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.08em;
    align-items: center;
}

.supplement-item__title span {
    min-width: 128px;
    font-size: 1.9rem;
}

.supplement-item__text,
.supplement-item__recommend {
    margin-top: 28px;
    color: #333;
    font-size: 1.3rem;
    line-height: 2;
    letter-spacing: 0.05em;
}

.supplement-item__recommend span {
    color: #b675a0;
    font-weight: 600;
}

.supplement-note {
    margin-top: 56px;
    color: #333;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.04em;
    text-align: right;
}

.sideeffects-list {
    display: grid;
    gap: 72px;
    width: min(980px, calc(100% - 120px));
    margin: 0 auto;
}

.sideeffects-media {
    display: grid;
    gap: 56px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
    align-items: center;
}

.sideeffects-media:nth-child(even) {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
}

.sideeffects-media:nth-child(even) .sideeffects-media__image {
    order: 1;
}

.sideeffects-media:nth-child(even) .sideeffects-media__body {
    order: 2;
}

.sideeffects-media__image {
    overflow: hidden;
    border-radius: 8px;
}

.sideeffects-media__image img {
    width: 100%;
    aspect-ratio: 702 / 577;
    object-fit: cover;
}

.sideeffects-media__title {
    color: #b675a0;
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 0.08em;
}

.sideeffects-media__text {
    margin-top: 18px;
    color: #333;
    font-size: 1.25rem;
    line-height: 2;
    letter-spacing: 0.05em;
}

.sideeffects-media__list {
    margin-top: 16px;
    color: #b675a0;
    font-size: 1.25rem;
    line-height: 2;
    letter-spacing: 0.05em;
}

.sideeffects-media__list li::before {
    content: "・";
}

.treatment-keyword {
    margin-bottom: 0;
}

@media screen and (max-width: 981px) {
    .lower-hero--treatment .lower-hero__panel {
        background-image: url("../img/treatment/bg-title-treatment-sp.jpg");
    }

    .treatment-anchor {
        margin-bottom: 9vw;
    }

    .medicine-group {
        width: auto;
        margin: 0 5vw 14vw;
    }

    .medicine-group__heading {
        margin-bottom: 32px;
        font-size: 1.65rem;
    }

    .medicine-group__icon {
        width: 34px;
        height: 34px;
    }

    .medicine-card-grid {
        display: block;
    }

    .medicine-card {
        margin-top: 42px;
    }

    .medicine-card:first-child {
        margin-top: 0;
    }

    .medicine-card__title {
        padding-right: 92px;
        font-size: 1.2rem;
    }

    .medicine-card__image {
        top: 10px;
        right: 18px;
        height: 78px;
        max-width: 78px;
    }

    .medicine-card__text,
    .medicine-card__target {
        font-size: 1.15rem;
    }

    .medicine-copy {
        margin-top: 0;
        font-size: 1.55rem;
        text-align: left;
    }

    .supplement-lead {
        margin: 0 0 44px;
        font-size: 1.65rem;
        line-height: 1.75;
    }

    .supplement-list {
        gap: 56px;
    }

    .supplement-item {
        display: block;
    }

    .supplement-item__image {
        justify-content: center;
        margin-bottom: 22px;
    }

    .supplement-item__image img {
        width: auto;
        height: 180px;
    }

    .supplement-item__title {
        display: block;
        padding: 10px 18px;
        font-size: 1.35rem;
        border-radius: 18px;
    }

    .supplement-item__title span {
        display: block;
        min-width: 0;
        margin-bottom: 2px;
        font-size: 1.5rem;
    }

    .supplement-item__text,
    .supplement-item__recommend {
        margin-top: 20px;
        font-size: 1.15rem;
    }

    .supplement-note {
        margin-top: 36px;
        font-size: 1.05rem;
        text-align: left;
    }

    .sideeffects-list {
        gap: 52px;
        width: auto;
        margin-right: 5vw;
        margin-left: 5vw;
    }

    .sideeffects-media,
    .sideeffects-media:nth-child(even) {
        display: block;
    }

    .sideeffects-media:nth-child(even) .sideeffects-media__image,
    .sideeffects-media:nth-child(even) .sideeffects-media__body {
        order: initial;
    }

    .sideeffects-media__body {
        margin-top: 24px;
    }

    .sideeffects-media__title {
        font-size: 1.65rem;
    }

    .sideeffects-media__text,
    .sideeffects-media__list {
        font-size: 1.15rem;
    }

    .treatment-keyword {
        margin-bottom: 0;
    }
}
