@charset "utf-8";

.wrapper {
    overflow: hidden;
}

.cont .container {
    overflow: visible;
    width: 100%;
}

.cont .primary .inner {
    width: 1040px;
}

@media only screen and (max-width: 768px) {

    .wrapper {}

    .cont .container {}

    .primary {
        width: 100%;
    }

    .cont .primary .inner {
        width: 90.625%;
    }
}

/*============================
サービス　メッセージ
============================*/

#service_message .inner {
    position: relative;
    align-items: center;
    overflow: visible;
}

#service_message .inner::before {
    content: "";
    background: url(../images/top_right_illust.png)no-repeat center center;
    background-size: 100%;
    width: 196px;
    height: 151px;
    display: block;
    position: absolute;
    top: -70px;
    right: -35px;
}

#service_message img {
    width: 232px;
}

#service_message h2 {
    margin-bottom: 15px;
}

#service_message h2 .ja {
    font-size: 36px;
    line-height: 1.5;
}

@media only screen and (max-width: 768px) {

    #service_message .inner {}

    #service_message .inner::before {
        content: "";
        background: url(../images/top_right_illust.png)no-repeat center center;
        background-size: 100%;
        width: 98px;
        height: 76px;
        display: block;
        position: absolute;
        top: -35px;
        right: -16px;
    }

    #service_message img {
        width: 150px;
        margin-bottom: 20px;
    }

    #service_message h2 {
        margin-bottom: 10px;
    }

    #service_message h2 .ja {
        font-size: 24px;
    }
}

/*============================
補修例
============================*/

#service {
    position: relative;
    padding-top: 0;
    margin-top: 120px;
}

#service .bg {
    width: 65%;
    height: 100%;
    display: block;
    background: #fffcf0;
    margin-left: auto;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 10px 0 0 10px;
    z-index: -1;
}

#service .inner {
    padding: 80px 0;
    position: relative;
    overflow: visible;
}

#service .inner::before {
    content: "";
    background: url(../images/bottom_left_illust.png)no-repeat center center;
    background-size: 100%;
    width: 97px;
    height: 100px;
    display: block;
    position: absolute;
    top: -40px;
    left: 0;
}

#service h2 {
    text-align: right;
}

#service .flex .box {
    width: 500px;
}

#service .flex .box:nth-last-child(n+3) {
    margin-bottom: 60px;
}

#service .flex .box img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 7px;
}

#service .flex .text h3 {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

#service .flex .text h3::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid #fe7f40;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
    box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
    #service {
        position: relative;
        padding-top: 0;
        margin-top: 40px;
    }

    #service .bg {
        width: 90.625%;
    }

    #service .inner {
        padding: 40px 0;
    }

    #service .inner::before {
        content: "";
        background: url(../images/bottom_left_illust.png)no-repeat center center;
        background-size: 100%;
        width: 49px;
        height: 50px;
        display: block;
        position: absolute;
        top: -20px;
        left: 0;
    }

    #service h2 {
    }

    #service .flex .box {
        width: 100%;
    }

    #service .flex .box:not(:last-of-type) {
        margin-bottom: 25px;
    }

    #service .flex .box img {
        width: 100%;
    }

    #service .flex .text h3 {
        padding-left: 23px;
        margin-bottom: 0;
    }

    #service .flex .text h3::before {
        content: "";
        width: 18px;
        height: 18px;
        border: 3px solid #fe7f40;
        border-radius: 50%;
        display: block;
        position: absolute;
        top: 5px;
        left: 0;
        box-sizing: border-box;
    }
}
