.treatment-page {
    font-family: "Noto Sans JP", sans-serif;
    color: #2D344A;
}

@media (max-width: 768px) {
    .treatment-problem {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.treatment-problem h2 {
    color: #2D344A;
    font-family: "Zen Old Mincho", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    padding-top: 83px;
    padding-bottom: 36px;
}

@media (max-width: 768px) {
    .treatment-problem h2 {
        font-size: 32px;
        padding-top: 48px;
        padding-bottom: 30px;
    }
}

.treatment-top {
    display: flex;
    gap: 23px;
    justify-content: center;
    margin: 0 auto;
}

@media (max-width: 1192px) {
    .treatment-top {
        display: grid;
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 26px;
        justify-content: center;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .treatment-top {
        display: grid;
        grid-template-columns: repeat(2, minmax(157px, 1fr));
        gap: 19px;
        justify-content: center;
        max-width: calc(2 * 157px + 19px);
        margin: 0 auto;
    }
}

.treatment-top.mg {
    margin-top: 26px;
    margin-bottom: 125px;
}

@media (max-width: 768px) {
    .treatment-top.mg {
        margin-top: 19px;
        margin-bottom: 66px;
    }
}

.treatment-card {
    position: relative;
    width: 220px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(45, 52, 74, 0.30);
    background: #FFF;
}

@media (max-width: 768px) {
    .treatment-card {
        width: 100%;
    }
}

.treatment-card p {
    min-height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .treatment-card p {
        font-size: 10px;
        min-height: 45px;
    }
}

.treatment-card img {
    width: 100%;
    height: 171px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .treatment-card img {
        height: 122px;
    }
}

.treatment-card .overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 52, 74, 0.50);
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 2;
    height: 55px;
}

.treatment-card .overlay span {
    padding-right: 7px;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 2;
}

.treatment-card .overlay span._2line {
    line-height: 1.2;
}

@media (max-width: 768px) {
    .treatment-card .overlay {
        height: 38px;
    }

    .treatment-card .overlay span {
        font-size: 11px;
    }

    .treatment-card .overlay span._2line {
        line-height: 1.2;
    }

    .treatment-card .overlay svg {
        width: 10px !important;
    }
}

/* @media (max-width: 935px) {
    .treatment-contents {
        padding-left: 20px;
        padding-right: 20px;
    }
} */

.treatment-item {
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .treatment-item {
        padding-bottom: 50px;
    }
}

.treatment-item.first {
    padding-top: 102px;
}

.treatment-item.last {
    padding-bottom: 137px;
}

@media (max-width: 768px) {
    .treatment-item.first {
        padding-top: 55px;
    }

    .treatment-item.last {
        padding-bottom: 91px;
    }
}

.treatment-item h2 {
    text-align: center;
    font-family: "Zen Old Mincho", sans-serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.5;
    padding-bottom: 27px;
}

@media (max-width: 768px) {
    .treatment-item h2 {
        font-size: 26px;
        padding-bottom: 17px;
    }
}

.treatment-item .treatment {
    display: flex;
    justify-content: space-between;
    gap: 38px;
}

@media (max-width: 935px) {
    .treatment-item .treatment {
        align-items: center;
        flex-direction: column;
        gap: 17px;
    }
}

.treatment-item .treatment img {
    width: 474px;
}

.treatment-item .treatment p {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
}

@media (max-width: 768px) {
    .treatment-item .treatment p {
        font-size: 14px;
        line-height: 1.8;
    }
}

.btn-treatment {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    width: 400px;
    height: 70px;
    border-radius: 100px;
    background: #BBC1DD;
    position: relative;
    transition: 1s ease;
}

.btn-treatment:after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 14px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14' fill='none'><path d='M13 14L11.575 12.6L16.175 8H0V6H16.175L11.6 1.4L13 0L20 7L13 14Z' fill='white'/></svg>") no-repeat center;
    background-size: contain;
}

@media (max-width: 768px) {
    .btn-treatment {
        font-size: 16px;
        font-weight: 700;
        max-width: 400px;
        width: 100%;
        height: 56px;
        padding-right: 65px;
        padding-left: 45px;
        justify-content: flex-start;
    }

    .btn-treatment:after {
        content: "";
        position: absolute;
        right: 26px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 14px;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14' fill='none'><path d='M13 14L11.575 12.6L16.175 8H0V6H16.175L11.6 1.4L13 0L20 7L13 14Z' fill='white'/></svg>") no-repeat center;
        background-size: contain;
    }
}

.treatment-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .treatment-button {
        margin-top: 21px;
    }
}
