@charset "utf-8";

h1 {
    display: flex;
    align-items: center;
    flex-flow: column;
    justify-content: center;
    width: 100vw;
    height: 206px;
    margin: 0 calc(50% - 50vw);
    padding-top: 22px;
    text-align: center;
    color: #14146f;
    background-image: url("../../images/service/h1_bg.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-shadow: 0 0 7px #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 40px;
}

h1 span {
    margin-top: 10px;
    padding: 10px 22px 0;
    letter-spacing: .05em;
    border-top: 1px solid #14146f;
    font-size: 24px;
    font-weight: 300;
}

h2 {
    position: relative;
    margin-bottom: 47px;
    text-align: left;
    color: #fff;
    background: linear-gradient(45deg, #1a66cc 0%, #73a2e0 73.89%, #fff 100%);
    font-size: 26px;
    font-weight: 500;
}

h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 17.5px;
    width: 29px;
    height: 21px;
    transform: translateY(-50%);
    background-image: url("../../images/service/h2_arrow.webp");
    background-repeat: no-repeat;
    background-size: contain;
}

h2 span {
    display: block;
    padding: 10px 10px 10px 50px;
    background-image: url("../../images/common/h2_bg01.svg");
    background-repeat: no-repeat;
    background-position: bottom -40px center;
    background-size: 50%;

    mix-blend-mode: screen;
}

h3 {
    position: relative;
    width: calc(100% - 28px);
    margin-bottom: 40px;
    margin-left: 28px;
    padding: 5px 18px;
    background: #d9e1f5;
    font-size: 26px;
    font-weight: 500;
}

h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: -28px;
    width: 19px;
    height: 100%;
    background-color: #1975c3;
}

.service_detail_block {
    margin-top: 80px;
}

@media screen and (max-width: 1000px) and (min-width: 768px) {
    h1 {
        width: 100%;
        margin: 0;
    }
}

@media screen and (max-width: 767px) {
    main {
        margin-bottom: 50px;
    }

    .service_inner {
        padding: 0 16px;
    }

    h1 {
        position: relative;
        width: 100vw;
        height: 97px;
        padding-top: 0;
        background-image: url("../../images/service/h1_bg_sp.webp");
        background-size: 100%;
        font-size: 22px;
    }

    h1 span {
        margin-top: 5px;
        padding: 5px;
        letter-spacing: 0;
        font-size: 13px;
    }

    h2 {
        display: flex;
        align-items: center;
        width: 100vw;
        min-height: 65px;
        margin: 0 -16px 0;
        background: linear-gradient(#1a66cc 0%, #73a2e0 100%);
        font-size: 18px;
    }

    h2 span {
        padding: 5px 10px 5px 48px;
        background-position: bottom 0 center;
    }

    h2::before {
        left: 23px;
    }

    h3 {
        width: calc(100% - 15px);
        margin-bottom: 24px;
        margin-left: 15px;
        padding: 8px 18px;
        font-size: 16px;
    }

    h3::before {
        left: -15px;
        width: 10px;
    }
}

/* ------------------------------
service_information_block
------------------------------ */
.service_information_block,
.service_list_block {
    display: flex;
    justify-content: space-between;
}

.service_information_block .text_block,
.service_list_block .text_block {
    width: calc(100% - 35%);
    font-size: 20px;
}

.service_information_block .img_block,
.service_list_block .img_block {
    width: 37%;
    margin-left: 40px;
}

/* ------------------------------
service_information_block
------------------------------ */
.service_information_block .text_block p {
    line-height: 175%;
}

/* ------------------------------
service_list_block
------------------------------ */
.service_list_block .img_block {
    margin-left: 0;
}

.service_list_block .text_block {
    margin-left: 40px;
}

.service_list_block li {
    display: block;
    margin-bottom: 10px;
    padding-left: 38px;
    text-indent: -38px;
}

.service_list_block li:last-child {
    margin-bottom: 0;
}

.list_style::before {
    content: "";
    position: relative;
    top: 5px;
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 12px;
    background-image: url("../../images/service/list_style.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.list_circle_double li::before {
    width: 26px;
    height: 26px;
}

@media screen and (max-width: 767px) {
    .service_information_block {
        flex-flow: column-reverse;
    }

    .service_list_block {
        display: block;
    }

    .service_information_block .text_block,
    .service_list_block .text_block {
        width: 100%;
        font-size: 16px;
    }

    .service_detail_block {
        margin-top: 40px;
    }

    .service_information_block .text_block {
        margin-top: 24px;
    }

    .service_information_block .img_block {
        width: calc(100% + (16px * 2));
        margin-left: -16px;
    }

    .service_list_block .text_block {
        width: calc(100% - 16px);
        margin-bottom: 30px;
        margin-left: 16px;
    }

    .service_list_block .img_block {
        width: calc(100% - 16px);
        margin-left: 16px;
    }

    .list_circle_double li::before {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }

    .service_list_block li {
        padding-left: 29px;
        text-indent: -29px;
    }
}