@charset "utf-8";

.plan img{
    margin-bottom: 15px;
}

.plan h4{
    font-size: 1.2rem;
    border-left: 8px solid #0c3459;
    color: #0c3459;
    padding: 10px;
}

.plan p{
    margin-bottom: 35px;
}

.maincat_v {
    margin-bottom: 60px;
}

.maincat_v h1 {
    font-size: 1.2rem;
}

.maincat_v h1 span {
    font-size: 3rem;
    display: block;
}

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

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

.main_icon img {
    width: 150px;
    margin: -150px auto 30px 0;
}

.copy1 p,
.copy2 p {
    font-size: 1rem;
}

.p_end p {
margin-bottom: 100px;
}

.p01 {
    width: 100%;
    height: 350px;
    margin-bottom: 100px;
    background-image: url("../service/img/waterproof/p01.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: repeat-y;
}


/* 背景用 */

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

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

.bg_c03{
    width: 180px;
    position: absolute;
    left: 0;
    margin-top: -100px;
}

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

/* ローカルナビ */
/* 018 */

.ln_active span {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0px 10px 0px;
    color: #fff;
    font-weight: 500;
    background-color: #0c3459;
    margin-bottom: 10px;
}


.button018 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0px 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    background-color: #efefef;
    margin-bottom: 10px;
}

.button018 a:before,
.button018 a:after {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
}

.button018 a:before {
    width: 0.5rem;
    height: 0.5rem;
    left: 1.1rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    z-index: 2;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s;
}

.button018 a:after {
    left: 0;
    background: #0c3459;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.button018 a span {
    position: relative;
    transition: all 0.3s;
    z-index: 3;
}

.button018 a:hover {
    text-decoration: none;
}



/* 各背景 */

.w2_base {
    background-image: url("../works/img/w2_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;
}

.title h2 {
    line-height: 1.5;
    margin-bottom: 15px;
    color: #0c3459;
}

.sign h3 {
    margin-top: 40px;
    color: #13345a;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    text-align: center;
}

.sign {
    margin-bottom: 100px;
}

.plan h3 {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #0c3459;
}

.ln_active{
    margin-top: 38px;
}

.sign .af_l {
    padding-right: 7px;
    padding-left: 15px;
}

.sign .af_r{
    padding-left: 7px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    
    .ln_active{
        margin-top: 0;
    }
    
    .button018 a:hover span {
        color: #fff;
    }

    .button018 a:hover:before {
        left: 2rem;
    }

    .button018 a:hover:after {
        right: 0;
        width: 100%;
    }
    
    .plan h4{
        border-left: none;
        color: #0c3459;
        padding: 0;
    }
    
    .plan h3 {
        line-height: 1.7;
        margin-bottom: 100px;
    }
    
    .sign {
        margin-bottom: 0;
    }
    
    .copy1,
    .copy2 {
        padding: 10px;
    }

    .copy1 p,
    .copy2 p {
        font-size: clamp(12px, 1.2vw, 16px);
    }

    .copy1 {
        position: absolute;
        left: -100px;
        background-color: #fff;
        padding: 50px;
        z-index: 1;
    }

    .main_icon img {
        width: 100%;
        margin: -200px auto 30px 0;
    }


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

    @keyframes animate {

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

        100% {
            margin-left: 0;
        }
    }

    .sign p {
        margin-top: 10px;
        text-align: center;
    }




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

    .mb {
        margin-bottom: 180px;
    }



    .sign h3 {
        margin-top: 40px;
        color: #13345a;
        padding-bottom: 10px;
        border-bottom: 1px solid #ccc;
    }

    .sign img {
        padding: 50px 50px 10px 50px;
    }

    /* 施工例 */

    .w_title h2 {
        margin-bottom: 100px;
    }

    .w_title h2 span {
        font-size: 2.5rem;
    }

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

    .arrow img {
        width: 50%;
    }

    .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: -220px;
    }

    .bg_c03 {
        width: 280px;
        position: absolute;
        left: 0;
        margin-top: -100px;
    }

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

}