html {
    scroll-behavior: smooth;
}

.service {
    margin-top: 135px;
    padding-bottom: 202px;
}

#service__box01,
#service__box02,
#service__box03,
#service__box04 {
    scroll-margin-top: 110px;

}

.section__title-border {
    width: 19.1%;
}

.service__choice {
    width: 71.7%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 20px;
    margin-top: 68px;
}

.choice__text {
    text-align: center;
    width: 90%;
}

.service__choice-button {
    width: 48.6%;
    display: inline-block;
    display: flex;

    border: 2px solid #E3A145;
    border-radius: 40px;
    justify-content: space-between;
    padding: 10px 30px;
}

.service__choice a {
    opacity: 1;
}

.choice__button {
    width: 35px;
    height: 35px;
}

.service__container {
    display: flex;
    flex-direction: column;
    row-gap: 80px;

    margin-top: 100px;
    margin-bottom: 80px;
}

.service__box {
    border-radius: 30px;
    padding: 100px 0 82px;
    position: relative;
}

.service__box:not(:nth-of-type(4))::before {
    content: "";
    display: block;
    position: absolute;
    background-image: url(./image/service__tunagi.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    height: 80px;
    width: 3px;
    bottom: -80px;
    left: 6.3%;
}

.service__box:not(:nth-of-type(4))::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(./image/service__tunagi.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    height: 80px;
    width: 3px;
    bottom: -80px;
    right: 6.3%;
}

.service__box01 {
    background-color: rgb(77, 156, 105, 0.1);
}

.service__box02 {
    background-color: rgb(227, 161, 69, 0.15);
}

.service__box03 {
    background-color: rgb(62, 147, 161, 0.15);
}

.service__box04 {
    background-color: rgb(218, 129, 123, 0.15);
}

.service__inner {
    width: 87.5%;
    margin: 0 auto;
}

.service__box-group {
    display: flex;
    justify-content: space-between;
    margin-top: 75px;
}

.service__box-left {
    width: 54.4%;
    display: flex;
    flex-direction: column;
}

.service__box-left01 {
    row-gap: 80px;
}

.service__box-right {
    width: 38.4%;
}

.service01__num {
    width: 13.9%;
}

.service__item-title {
    font-size: 30px;
    font-weight: 900;
}

.service__item-title {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.service__item-title::before {
    content: "";
    display: inline-block;
    border-bottom: 4px solid #117F38;
    width: 30px;
    border-radius: 30px;
    margin-right: 10px;
}

.service__item-title01 {
    color: #117F38;
}

.service__item-title02 {
    color: #D56B3F;
}

.service__item-title03 {
    color: #0F8093;
}

.service__item-title04 {
    color: #E86A61;
}

.service__item-title02::before {
    border-bottom-color: #D56B3F;
}

.service__item-title03::before {
    border-bottom-color: #0F8093;
}

.service__item-title04::before {
    border-bottom-color: #E86A61;
}

.service__left01-1 {
    display: flex;
    align-items: center;
    column-gap: 20px;
    margin-bottom: 20px;
}

.service__left-title {
    font-size: 25px;
    font-weight: 900;
}

.service__left-text {
    width: 90.1%;
    font-size: 20px;
}

.service__left01-text {
    margin-left: 1.6%;
}

.service__box-sub {
    width: 99.6%;
    display: flex;
}

.service__title::after {
    content: "";
    display: block;
    background-image: url(./image/service_title.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 245px;
    bottom: -12px;
    left: 0;
    aspect-ratio: 245 / 12;
}

.service__left01-text02 {
    font-size: 20px;
    padding: 22px;
    background-color: #fff;
    border: 2px solid #4D9C69;
    border-radius: 10px;
}


.service__box-right {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}


.service02__left-top::after {
    content: "";
    display: block;
    position: relative;
    background-image: linear-gradient(to right, #333 5px, transparent 5px);
    background-size: 10px 1px;
    background-repeat: repeat-x;
    background-position: left bottom;
    width: 73.9%;
    bottom: 0;
    left: 0;
    width: 73.9%;
    height: 40px;
    min-width: 400px;
}

.service02__top-box {
    margin-top: 30px;
}

.service02__left-bottom {
    margin-top: 45px;
}

.service__left02-title {
    margin-bottom: 30px;
    position: relative;
}

.service__left02-text {
    margin-bottom: 40px;
}

.service02__bottom-box {
    margin-top: 60px;
    width: 99.6%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 22px;
    background-color: #fff;
    border: 2px solid #E3A145;
    border-radius: 10px;
}

.service02__bottom-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.service02__bottom-text {
    font-size: 17px;
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.service02__bottom-text::before {
    content: "";
    display: block;
    width: 2px;
    height: 2px;
    background-color: #4D4D4D;
    margin-left: 5px;
}

.service__left02-text {
    width: 77%;
}

.service__padding {
    padding-left: 5em;
}

.service__left02-title::before {
    content: "";
    display: block;
    background-image: url(./image/service02_circle.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    height: 30px;
    width: 5%;
    top: -15px;
    left: -30px;
    max-width: 30px;
}

.service__left03-title {
    position: relative;
    margin-bottom: 30px;
}

.service__left03-title::before {
    content: "";
    display: block;
    background-image: url(./image/service03_circle.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    height: 30px;
    width: 5%;
    top: -15px;
    left: -30px;
    max-width: 30px;
}

.service__left04-title {
    position: relative;
    font-size: 20px;
}

.service__left04-title::before {
    content: "";
    display: block;
    background-image: url(./image/service04_fv.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    height: 30px;
    width: 5%;
    top: -15px;
    left: -30px;
    max-width: 30px;
}

.service__left03-text {
    margin-bottom: 50px;
}

.service__box-left04 {
    display: flex;
    row-gap: 50px;
}

.service__button-container {
    display: flex;
    justify-content: center;
    column-gap: 6.2%;
}


.service__choice-button:hover {
    background-color: #E3A145;
    color: #fff;
}

.service__box-right04 {
    width: 100%;
    align-items: flex-end;
}

.service04 {
    width: 65.8%;
}


@media (max-width:960px) {
    .service {
        margin-top: 51px;
    }

    .service__title::after {
        width: 184px;
        aspect-ratio: 184 / 12;
    }

    .service__choice {
        width: 100%;
        margin-top: 88px;
        row-gap: 15px;
    }

    .choice__text {
        font-size: 16px;
        width: 100%;
    }

    .choice__button {
        width: 26px;
        height: 26px;
    }

    .service__choice-button {
        padding: 10px 15px;
        width: 49.8%;
    }

    .service__container {
        margin-top: 70px;
        row-gap: 60px;
    }

    .service__box {
        padding: 65px 0;
    }

    .service__item-title {
        font-size: 22px;
    }

    .service__item-title::before {
        margin-right: 0;
    }

    .service__left-title {
        font-size: 21px;
    }

    .service__left-text {
        width: 100%;
        font-size: 18px;
    }

    .service__box-group {
        flex-direction: column;
    }

    .service__box-left {
        width: 100%;
        margin-bottom: 60px;
    }

    .service__left01-text {
        margin-left: 0;
        padding-left: 10px;
    }

    .service01__num {
        width: 60px;
    }

    .service__box-left01 {
        row-gap: 40px;
    }

    .service__box-sub {
        margin-top: 10px;
    }

    .service__box-right {
        flex-direction: row;
    }

    .service__box-right {
        width: 100%;
        justify-content: space-between;
    }

    .service__box-right img {
        width: 32.4%;
    }

    .service__box:not(:nth-of-type(4))::before,
    .service__box:not(:nth-of-type(4))::after {
        height: 60px;
        width: 3px;
        bottom: -60px;
    }

    .service__left01-text02 {
        font-size: 17px;
    }

    .service02__top-box {
        font-size: 16px;
    }

    .service__left02-text {
        margin-bottom: 20px;
    }

    .service02__bottom-box {
        margin-top: 30px;
    }

    .service02__bottom-title {
        font-size: 17px;
    }

    .service02__bottom-text {
        font-size: 16px;
    }

    .service__box-group {
        margin-top: 55px;
    }

    .service__left03-text {
        margin-bottom: 30px;
    }
}


@media (max-width:768px) {
    .service__title::after {
        content: "";
        display: block;
        background-image: url(./image/service_title-sp.png);
        background-position: left;
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        width: 138px;
        bottom: -8px;
        left: 0;
        aspect-ratio: 138 / 8;
    }

    .service__choice-button {
        width: 100%;
        padding: 12px;
    }

    .service__choice {
        width: 100%;
    }

    .choice__text {
        font-size: 14px;
        width: 93%;
        text-align: center;
    }

    .choice__button {
        width: 23px;
        height: 23px;
    }

    .service__item-title {
        font-size: 17px;
        column-gap: 8px;
        align-items: flex-start;
    }

    .service__item-title::before {
        min-width: 20px;
        width: 20px;
        border-bottom: 3px solid #117F38;
        margin-right: 0;
        margin-top: 13px;
    }

    .service__item-title.service__item-title02::before {
        border-color: #D56B3F;
    }

    .service__item-title.service__item-title03::before {
        border-color: #0F8093;
    }

    .service__item-title.service__item-title04::before {
        border-color: #E86A61;
    }

    .service__box-group {
        flex-direction: column;
        row-gap: 30px;
        margin-top: 35px;
    }

    .service__box-left {
        width: 100%;
        row-gap: 30px;
        margin-bottom: 0;
    }

    .service__left-title {
        font-size: 17px;
    }

    .service__left-text {
        font-size: 15px;
        width: 100%;
    }

    .service__left01-1 {
        column-gap: 5px;
    }


    .service01__num {
        width: 31px;
    }

    .service__left01-text02 {
        font-size: 14px;
        padding: 15px 12px;
    }

    .service__box-right {
        width: 100%;
        flex-direction: column;
    }

    .service__box-right img {
        width: 100%;
    }

    .service__box {
        padding: 50px 0;
    }

    .service02__top-box {
        font-size: 14px;
    }

    .service__padding {
        padding-left: 0;
    }

    .service02__left-top::after {
        height: 25px;
        min-width: auto;
        width: 100%;
    }

    .service__box-left02 {
        row-gap: 0;
    }

    .service02__left-bottom {
        margin-top: 25px;
    }

    .service__left02-text {
        margin-bottom: 25px;
    }

    .service02__bottom-box {
        margin-top: 15px;
        padding: 15px 13px;
    }

    .service02__bottom-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .service02__bottom-text {
        font-size: 14px;
    }


    .service__container {
        row-gap: 60px;
        margin-bottom: 60px;
        margin-top: 50px;
    }

    .service__box-left003 {
        row-gap: 0;
    }

    .service__left03-text {
        margin-bottom: 25px;
    }

    .service__left04-title {
        position: relative;
        font-size: 17px;
    }

    .service__left02-title::before,
    .service__left03-title::before,
    .service__left04-title::before {
        height: 10px;
        width: 10px;
        top: -5px;
        left: -10px;
        max-width: auto;
    }

    .service {
        padding-bottom: 82px;
        margin-top: 40px;
    }

    .service__box:not(:nth-of-type(4))::before {
        height: 60px;
        bottom: -60px;
    }

    .service__box:not(:nth-of-type(4))::after {
        height: 60px;
        bottom: -60px;
    }
}