@charset "UTF-8";
/*
Theme Name: leafleaf
Theme URI: 
*/

#construction .construction-wrap{
    width: 80%;
    margin: 0 auto;
    padding: 0 0 30px 0;
}

#construction .construction-box{
    margin-bottom: 30px;
}

#construction .construction-box .left-box{
    padding: 0 20px 0 0;
    align-self: center;
}

#construction .construction-box .left-box .top-text-box{
    padding: 0 0 40px 0;
}

#construction .construction-box .left-box .muryo-icon span{
    color: #ffffff;
    background-color: #ff0000;
    padding: 3px;
}

#construction .construction-box .right-box{
    display: flex;
    flex-direction: column;
}

#construction .construction-box .right-box .p-relative:nth-of-type(1){
    width: 40%;
    margin-bottom: 26px;
}

#construction .construction-box .right-box .p-relative:nth-of-type(2){
    width: 60%;
    align-self: end;
    align-self: flex-end;
}

#construction .construction-box .img-layout{
    position: relative;
}

#construction .construction-box .img-layout img{
    padding: 6px;
    border: 1px solid #707070;
}

#construction .construction-box .right-box .img-layout:before{
    content:'';
    top: -20px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    font-size: 1.4rem;
    width: max-content;
}

#construction .construction-box .right-box .before-img:before{
    content:'ビフォー';
}

#construction .construction-box .right-box .after-img:before{
    content:'アフター';
}

@media screen and (max-width: 1200px){
    #construction .construction-wrap{
        width: 90%;
    }

    #construction .construction-box .right-box .p-relative:nth-of-type(1){
        width: 60%;
    }

    #construction .construction-box .right-box .p-relative:nth-of-type(2){
        width: 80%;
    }
}

@media screen and (max-width: 900px){
    #construction .construction-box .right-box .p-relative:nth-of-type(1){
        width: 100%;
    }

    #construction .construction-box .right-box .p-relative:nth-of-type(2){
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    #construction .construction-wrap{
        width: 100%;
    }

    #construction .construction-wrap p{
        font-size: 1.4rem;
    }

    #construction .construction-box .left-box .top-text-box{
        padding: 0 0 14px 0;
    }

    #construction .construction-box .right-box{
        flex-direction: unset;
        justify-content: space-between;
        margin: 40px 0 0 0;
    }

    #construction .construction-box .right-box .p-relative:nth-of-type(1){
        width: 40%;
        margin-bottom: 0;
    }

    #construction .construction-box .right-box .p-relative:nth-of-type(2){
        width: 50%;
        align-self: unset;
        margin-top: 50px;
    }


}
