@charset "utf-8";

.maincat_v {
    margin-bottom: 60px;
}

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

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

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

.signp{
    margin-bottom: 100px;
}

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

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

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

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


.sealing_type{
    margin-bottom: 100px;
}

.sealing_type .sprow{
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.sealing_type img{
    width: 100px;
    height: 100px;
    margin: 0 20px 40px auto;
}

.arrow{
    margin: 5%;
}

.arrow img{
    width: 10%;
    margin: 0 auto;
}

.midashi h3{
    font-size: 1.4rem;
    line-height: 2.4rem;
    text-align: center;
    margin-bottom: 60px;
}

.sealing_type h4{
    font-size: 1.2rem;
    text-align: left;
}

.sign{
    color: #13345a;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    text-align: center;
}
.title h2 {
    line-height: 1.5;
    margin-bottom: 15px;
    color: #0c3459;
}

.ln_active{
    margin-top: 38px;
}

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

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

    .ln_active{
        margin-top: 0;
    }
    
    .sign{
        text-align: left;
    }
    
    .signp{
        margin-bottom: 0;
    }
    
    .midashi h3{
        font-size: 1.8rem;
        line-height: 2.4rem;
    }
    
    .sealing_type{
        margin-bottom: 0;
    }

    .sealing_type .sprow{
        display: flex;
        flex-direction: column;
    }
    
    .sealing_type img{
        width: 60%;
        height: auto;
        margin: 0 auto 40px auto;
    }
    

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

    @keyframes animate {

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

        100% {
            margin-left: 0;
        }
    }

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

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

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

    
    .sealing_type h4{
        font-size: 1.2rem;
        text-align: center;
    }
    
    .sealing_type{
        padding: 0 100px;
    }
    

    
    /* 施工例 */

    

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

    .w_title h2 span{
        font-size: 2.5rem;
        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: bold;
        line-height: 1;
    }

    .cost_y span{
        font-weight: normal;
        font-size: 3rem;
        color: #fff;
        font-family: 'Unica One', cursive;
        letter-spacing: -2px;
        margin-right: 5px;
    }

    .w3_base{
        background-image: url("../works/img/w3_bg.png");
        background-size: contain;
        background-position: right top;
        background-repeat: repeat-y;
    }

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

    .w_cont h4{
        font-size: 0.8rem;
        padding: 10px;
        background-color: #ffffff;
    }
    
    .sign{
        color: #13345a;
        padding-bottom: 10px;
        border-bottom: 1px solid #ccc;
    }

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

    .w_number h3 span{
        font-family: 'Noto Sans JP', sans-serif;
        background-color: #000;
        display: block;
        color: #fff;
        font-size: 0.9rem;
        padding: 8px;
    }
    
    /* 施工例 */
    .w_number h3{
        left: 50px;
        margin: 0;
    }

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

    .arrow img{
        width: 50%;
        margin: 0 auto;
    }
    

    .w_cont h4:first-child{
        margin-top: 0;
    }
    
    /* 背景用 */
    .bg_c01{
        width: 180px;
        position: absolute;
        margin-top: -100px;
    }

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

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

}

.maincat_v {
    margin-bottom: 60px;
}

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

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




/* 各背景 */

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


/* ローカルナビ */
/* 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;
}


@media (min-width: 576px) {

    .button018 a:hover span {
        color: #fff;
    }
    .button018 a:hover:before {
        left: 2rem;
    }
    .button018 a:hover:after {
        right: 0;
        width: 100%;
    }

    
    /* 施工例 */

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

}
