.service-detail {
    padding: 110px 0 130px;
    background: #f8f7f5;
    color: #4d4845;
}

.service-detail__inner {
    display: grid;
    grid-template-columns: 465px minmax(0, 1fr);
    gap: 170px;
    align-items: start;
    width: min(1495px, calc(100% - 120px));
    margin: 0 auto;
}

.service-detail__image {
    width: 100%;
    overflow: hidden;
}

.service-detail__image img {
    display: block;
    width: 100%;
    height: 565px;
    object-fit: cover;
    object-position: center;
}

.service-detail__content {
    padding-top: 3px;
}

.service-detail__heading {
    margin-bottom: 32px;
}

.service-detail__en {
    margin: 0 0 2px;
    color: #df9794;
    font-family: "Allura", cursive;
    font-size: 43px;
    font-weight: 400;
    line-height: 1;
}

.service-detail__title {
    margin: 0;
    color: #494440;
    font-family: "Noto Serif JP", serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .03em;
}

.service-detail__catch {
    margin: 0 0 48px;
    color: #4b4642;
    font-family: "Noto Serif JP", serif;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: .025em;
}

.service-detail__text {
    max-width: 980px;
}

.service-detail__text p {
    margin: 0 0 34px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .01em;
}

.service-detail__text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .service-detail {
        padding: 50px 0 75px;
    }

    .service-detail__inner {
        display: flex;
        flex-direction: column;
        gap: 35px;
        width: calc(100% - 40px);
    }

    .service-detail__image {
        order: 1;
        width: 82%;
        margin: 0 auto;
        overflow: hidden;
    }

    .service-detail__image img {
        display: block;
        width: 100%;
        height: 360px;
        object-fit: cover;
        object-position: center;
    }

    .service-detail__content {
        order: 2;
        padding-top: 0;
    }

    .service-detail__heading {
        margin-bottom: 22px;
    }

    .service-detail__en {
        margin-bottom: 4px;
        font-size: 31px;
    }

    .service-detail__title {
        font-size: 27px;
        line-height: 1.5;
    }

    .service-detail__catch {
        margin-bottom: 32px;
        font-size: 21px;
        line-height: 1.75;
    }

    .service-detail__text p {
        margin-bottom: 27px;
        font-size: 15px;
        line-height: 2;
    }
}

@media screen and (max-width: 767px) {
    .service-detail {
        padding: 55px 0 80px;
    }

    .service-detail__inner {
        display: flex;
        flex-direction: column;
        gap: 38px;
        width: calc(100% - 40px);
    }

    .service-detail__image {
        order: 1;
        width: 53%;
    }

    .service-detail__content {
        order: 2;
        padding-top: 0;
    }

    .service-detail__image img {
        height: auto;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }

    .service-detail__heading {
        margin-bottom: 22px;
    }

    .service-detail__en {
        margin-bottom: 4px;
        font-size: 31px;
    }

    .service-detail__title {
        font-size: 27px;
        line-height: 1.5;
    }

    .service-detail__catch {
        margin-bottom: 32px;
        font-size: 21px;
        line-height: 1.75;
    }

    .service-detail__text p {
        margin-bottom: 27px;
        font-size: 15px;
        line-height: 2;
    }
}

.service-recommend {
    width: 100%;
    padding: 68px 0 125px;
    background: #D09B9D;
    color: #fff;
}

.service-recommend__inner {
    width: min(1110px, calc(100% - 80px));
    margin: 0 auto;
}

.service-recommend__title {
    margin: 0 0 78px;
    text-align: center;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 37px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .04em;
}

.service-recommend__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 185px;
    row-gap: 46px;
}

.service-recommend__item {
    display: flex;
    align-items: center;
    gap: 25px;
    min-width: 0;
}

.service-recommend__item p {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .02em;
}

.service-recommend__check {
    display: block;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    object-fit: contain;
}

.service-recommend__note {
    margin: 60px 0 0;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: .02em;
}

@media screen and (max-width: 767px) {
    .service-recommend {
        padding: 48px 0 60px;
    }

    .service-recommend__inner {
        width: calc(100% - 44px);
    }

    .service-recommend__title {
        margin-bottom: 40px;
        font-size: 25px;
    }

    .service-recommend__list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-recommend__item {
        gap: 16px;
    }

    .service-recommend__item p {
        font-size: 15px;
        line-height: 1.6;
    }

    .service-recommend__check {
        flex-basis: 30px;
        width: 25px;
        height: 25px;
    }

    .service-recommend__check::before {
        top: 6px;
        left: 7px;
        width: 11px;
        height: 6px;
        border-left-width: 2px;
        border-bottom-width: 2px;
    }

    .service-recommend__note {
        margin-top: 38px;
        text-align: left;
        font-size: 12px;
        line-height: 1.8;
    }
}
.service-cases {
    width: 100%;
    padding: 95px 0 120px;
    background: #f1e8dc;
}

.service-cases__inner {
    width: min(1370px, calc(100% - 100px));
    margin: 0 auto;
}

.service-cases__title {
    margin: 0 0 85px;
    text-align: center;
    color: #4b4743;
    font-family: "Noto Serif JP", serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .04em;
}

.service-cases__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 45px 70px;
}

.service-cases__item {
    flex: 0 1 auto;
}

.service-cases__item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 245px;
    object-fit: contain;
}

@media screen and (max-width: 767px) {
    .service-cases {
        padding: 55px 0 70px;
    }

    .service-cases__inner {
        width: calc(100% - 30px);
    }

    .service-cases__title {
        margin-bottom: 42px;
        font-size: 26px;
    }

    .service-cases__list {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .service-cases__item {
        flex: 1 1 0;
        min-width: 0;
    }

    .service-cases__item img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

.service-downtime {
    width: 100%;
    padding: 55px 0 100px;
    background: #f8f7f5;
}

.service-downtime__inner {
    width: min(1710px, calc(100% - 100px));
    margin: 0 auto;
}

.service-downtime__heading {
    margin-bottom: 50px;
    text-align: center;
}

.service-downtime__en {
    margin: 0 0 5px;
    color: #df9794;
    font-family: "Allura", cursive;
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
}

.service-downtime__title {
    margin: 0;
    color: #494440;
    font-family: "Noto Serif JP", serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .04em;
}

.service-downtime__box {
    padding: 63px 72px 58px;
    border: 2px solid #dfa5a5;
    box-sizing: border-box;
}

.service-downtime__list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 34px;
}

.service-downtime__item {
    min-width: 0;
}

.service-downtime__item img {
    display: block;
    width: 100%;
    height: 265px;
    object-fit: cover;
    object-position: center;
}

.service-downtime__item p {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin: 16px 0 0;
    padding-right: 18px;
    background: #d39093;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    box-sizing: border-box;
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}

@media screen and (max-width: 767px) {
    .service-downtime {
        padding: 45px 0 65px;
    }

    .service-downtime__inner {
        width: calc(100% - 30px);
    }

    .service-downtime__heading {
        margin-bottom: 32px;
    }

    .service-downtime__en {
        font-size: 34px;
    }

    .service-downtime__title {
        font-size: 24px;
    }

    .service-downtime__box {
        padding: 25px 18px 28px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .service-downtime__list {
        grid-template-columns: repeat(6, 120px);
        gap: 12px;
        width: max-content;
    }

    .service-downtime__item img {
        height: 145px;
    }

    .service-downtime__item p {
        height: 36px;
        margin-top: 8px;
        padding-right: 10px;
        font-size: 16px;
    }
}

.service-flow {
    width: 100%;
    padding: 70px 0 90px;
    background: #f8f7f5;
}

.service-flow__inner {
    width: min(1030px, calc(100% - 80px));
    margin: 0 auto;
}

.service-flow__title {
    margin: 0 0 20px;
    text-align: center;
    color: #4c4743;
    font-family: "Noto Serif JP", serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .04em;
}

.service-flow__lead {
    margin: 0 0 60px;
    text-align: center;
    color: #4d4946;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: .02em;
}

.service-flow__list {
    width: 100%;
}

.service-flow__item {
    display: grid;
    grid-template-columns: 195px minmax(0, 1fr);
    min-height: 98px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
}

.service-flow__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px 12px;
    background: #4d4844;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

.service-flow__step span {
    display: block;
    margin-bottom: 5px;
    color: #efa6aa;
    font-family: "Allura", cursive;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.service-flow__step p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.service-flow__text {
    display: flex;
    align-items: center;
    padding: 20px 28px;
    box-sizing: border-box;
}

.service-flow__text p {
    margin: 0;
    color: #4d4946;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: .01em;
}

.service-flow__arrow {
    width: 0;
    height: 0;
    margin: 25px auto;
    border-left: 27px solid transparent;
    border-right: 27px solid transparent;
    border-top: 32px solid #4d4844;
}

@media screen and (max-width: 767px) {
    .service-flow {
        padding: 50px 0 65px;
    }

    .service-flow__inner {
        width: calc(100% - 34px);
    }

    .service-flow__title {
        margin-bottom: 15px;
        font-size: 25px;
    }

    .service-flow__lead {
        margin-bottom: 38px;
        font-size: 13px;
        line-height: 1.8;
    }

    .service-flow__item {
        grid-template-columns: 110px minmax(0, 1fr);
        min-height: 82px;
    }

    .service-flow__step {
        padding: 10px 7px;
    }

    .service-flow__step span {
        margin-bottom: 4px;
        font-size: 22px;
    }

    .service-flow__step p {
        font-size: 10px;
        line-height: 1.35;
    }

    .service-flow__text {
        padding: 14px 15px;
    }

    .service-flow__text p {
        font-size: 12px;
        line-height: 1.55;
    }

    .service-flow__arrow {
        margin: 17px auto;
        border-left-width: 18px;
        border-right-width: 18px;
        border-top-width: 22px;
    }
}

.service-contraindications {
    width: 100%;
    padding: 75px 0 100px;
    background: #ded8d2;
}

.service-contraindications__inner {
    width: min(1080px, calc(100% - 80px));
    margin: 0 auto;
}

.service-contraindications__title {
    margin: 0 0 65px;
    text-align: center;
    color: #4b4743;
    font-family: "Noto Serif JP", serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .04em;
}

.service-contraindications__box {
    padding: 70px 65px 35px;
    background: #fff;
    box-sizing: border-box;
}

.service-contraindications__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-contraindications__list li {
    position: relative;
    margin: 0 0 15px;
    padding-left: 18px;
    color: #4d4946;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .01em;
}

.service-contraindications__list li::before {
    content: "・";
    position: absolute;
    top: 0;
    left: 0;
}

.service-contraindications__note {
    margin: 22px 0 0;
    color: #4b4743;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .01em;
}

@media screen and (max-width: 767px) {
    .service-contraindications {
        padding: 50px 0 65px;
    }

    .service-contraindications__inner {
        width: calc(100% - 34px);
    }

    .service-contraindications__title {
        margin-bottom: 35px;
        font-size: 26px;
    }

    .service-contraindications__box {
        padding: 35px 22px 30px;
    }

    .service-contraindications__list li {
        margin-bottom: 13px;
        padding-left: 14px;
        font-size: 11px;
        line-height: 1.2;
    }

    .service-contraindications__note {
        margin-top: 22px;
        font-size: 13px;
        line-height: 1.75;
    }
}