@charset "utf-8";


.title h2 {
    line-height: 1.5;
    margin-bottom: 15px;
}

.title p {
    margin-bottom: 45px;
}

.works_end{
    margin-bottom: 60px;
}

/* 背景用 */

.bg_c01 {
    width: 100px;
    position: absolute;
    margin-top: -10px;
}

.bg_c02 {
    width: 180px;
    position: absolute;
    right: 0;
    margin-top: -50px;
}

.bg_c05 {
    width: 80px;
    position: absolute;
    right: 0;
    margin-top: 0;
}

/* 各背景 */
.w1_base {
    background-image: url("../works/img/w1_bg.png");
    background-position: left 60% top;
    background-size: cover;
    background-repeat: repeat-y;
}

.w2_base {
    background-image: url("../works/img/w2_bg.png");
    background-position: left 60% top;
    background-size: cover;
    background-repeat: repeat-y;
}

.w3_base {
    background-image: url("../works/img/w3_bg.png");
    background-position: left 60% top;
    background-size: cover;
    background-repeat: repeat-y;
}

.w_cont {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.w_cont h4 {
    font-size: 0.8rem;
    padding: 10px;
    background-color: #ffffff;
    border-left: 3px solid #0c3459;
}

.w_cont p {
    margin-top: 8px;
    padding: 5px 10px;
    font-size: 0.9rem;
}


.mt {
    margin-top: 100px;
}

.arrow {
    margin: 20px;
}

.arrow img {
    width: 40px;
    margin: 0 auto;
}

.w_title h2 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 50px;
}

.w_title h2 span {
    font-size: 2.2rem;
    font-weight: 300;
    display: block;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin-bottom: 10px;
}

.w_cost {
    color: #fff;
    width: 150px;
    height: 150px;
    position: absolute;
    bottom: -40px;
    right: 20px;
    background-color: #000;
    padding: 20px;
    text-align: center;
}

.cost_t {
    border-bottom: 1px solid #a2a2a2;
    padding-bottom: 15px;
}

.cost_y {
    font-weight: 100;
    line-height: 1;
}

.cost_y span {
    font-weight: 100;
    font-size: 3rem;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    letter-spacing: -2px;
    margin-right: 5px;
}

.w_number h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 4rem;
    font-weight: 100;
    position: relative;
    z-index: 99;
    width: 100px;
    margin: 30px 0 20px 0;
    text-align: center;
    line-height: 1;
}

.w1_base .w_number h3 {
    color: #836a00;
}

.w2_base .w_number h3 {
    color: #00626c;
}

.w3_base .w_number h3 {
    color: #731f91;
}

.w_number h3 span {
    font-family: 'Roboto', sans-serif;
    display: block;
    color: #fff;
    font-size: 0.9rem;
    padding: 8px;

}

.w1_base .w_number h3 span {
    background-color: #836a00;
}

.w2_base .w_number h3 span {
    background-color: #00626c;
}

.w3_base .w_number h3 span {
    background-color: #731f91;
}

.w_cont h4:first-child {
    margin-top: 40px;
}



@media (min-width: 576px) {

    .maincat_v {
        margin-bottom: 60px;
    }
    
    .bg_c01 {
        margin-top: -10px;
    }

    .bg_c02 {
        margin-top: -50px;
    }

    .bg_c05 {
        margin-top: 0;
    }
    
    .mt {
        margin-top: 250px;
    }
    
    .w_title h2 {
        margin-bottom: 100px;
    }
    
    .w_title h2 span {
        font-size: 2.5rem;
    }

    .arrow {
        margin: 10% -30px;
    }

    .arrow img {
        width: 50%;
    }

    .maincat_v img {
        animation: animate 1s ease;
    }

    @keyframes animate {

        0% {
            margin-left: -150px;
        }

        100% {
            margin-left: 0;
        }
    }

    .maincat_v {
        margin-bottom: 60px;
    }

    .title h2 {
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .title p {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    /* 施工例 */
    .w_number h3 {
        font-size: 6rem;
        left: 50px;
        margin: 0;
    }

    .w_cont {
        margin-bottom: 100px;
    }

    .w_cont h4:first-child {
        margin-top: 0;
    }
    

    /* 背景用 */

    .bg_c01 {
        width: 180px;
        position: absolute;
        margin-top: -100px;
    }

    .bg_c02 {
        width: 180px;
        position: absolute;
        right: 0;
        margin-top: -50px;
    }

    .bg_c05 {
        width: 140px;
        position: absolute;
        right: 0;
        margin-top: -50px;
    }


}