@charset "utf-8";

.cont .container {
    width: 100%;
}

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

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

    .cont .container {}

    .primary {
        width: 100%;
    }

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

/*============================
施工の様子
============================*/
#works {
    position: relative;
}

#works .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;
}

#works .inner {
    padding: 80px 0;
}

#works h2 {
    text-align: right;
}

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

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

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

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

#works .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) {

    #works {}

    #works .bg {}

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

    #works h2 {
        text-align: right;
    }

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

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

    #works .flex .box img {
        width: 100%;
        margin-bottom: 5px;
    }

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

    #works .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;
    }
}
