

.top-text{
    text-align: center;
    margin-top:6.3vw;
    color: white;
}
.top-text h4{
    font-size: 1.5vw;
}
.top-text p{
    margin-top:4.06vw;
    font-size:1.1vw;
    line-height: 2.5vw;
    padding-bottom:4.06vw;
}


.bg-gray{
    background-color: #E8E8E8;
}



.section-info{
    position: relative;
    padding-top:5.63vw;
}

.section-image{
    width:64.4vw;
    height:28.33vw;
    position: absolute;
    right:0;
}
.section-image::before{
    content:"";
    width:70%;
    height:28.33vw;
    display: block;
    background-color: #E8E8E8;
    transform: skewX(-32deg);
    position: absolute;
    top:0;
    left:-55%;
    z-index:2
}
.section-image img{
    width:100%;
    height:100%;
    object-fit: cover;
    z-index: 1;
}



.section-text{
    width:20.83vw;
    position: absolute;
    top:10vw;
    left:10%;
    z-index: 3;
}
.section-text h5{
    font-size:1.3vw;
    text-align: center;
}
.section-text p{
    margin-top:2.81vw;
    font-size: 1.1vw;
    line-height: 2vw;
}





.reform{
    margin-top:35vw;
}

.reform h5{
    font-size:1.3vw;
    text-align: center;
}

.reform-works{
    margin-top:8.33vw;
}



.reform-section{
    width:70.42vw;
    margin:6.67vw auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.reform-section:nth-child(1){
    margin:0 auto;
}


.reform-section-text{
    width:26vw;
}

.reform-section-text .reform-name{
    font-size:1.5vw;
    font-weight: bold;
}
.reform-section-text p{
    margin-top:2.34vw;
    font-size: 1.1vw;
    line-height: 2.5vw;
}


.section-img{
    width:37.86vw;
    height:24.64vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}
.section-img img{
    width:17.92vw;
    height:11.35vw;
}









.works-btn{
    text-align: center;
    margin:7.29vw 0;
}
.works-btn a{
    display: inline-block;
    color: white;
    background-color: black;
    text-decoration: none;
    padding:2.81vw 13.02vw;
    transition: .5s;
}
.works-btn p{
    font-size:1.1vw;
}

.works-btn a:hover{
    opacity: .8;
}












/*-----------------------------------------------------------------------------
レスポンシブ
-------------------------------------------------------------------------------*/

@media(max-width:599px){



    .top-text{
        text-align: center;
        margin-top:8.97vw;
        color: white;
    }
    .top-text h4{
        font-size: 5vw;
    }
    .top-text p{
        width:88.72vw;
        margin:4.06vw auto 0 auto;
        font-size:3.5vw;
        line-height: 6vw;
        padding-bottom:12.82vw;
    }


    .section-info{
        padding-top:7.69vw;
    }
    
    .section-image{
        width:90%;
        height:40.26vw;
        right:50%;
        transform: translate(50%);
    }
    .section-image::before{
        display: none;
    }



    .section-text{
        width:90%;
        top:55vw;
        left:5%;
    }
    .section-text h5{
        font-size:4.5vw;
    }
    .section-text p{
        font-size: 3.5vw;
        line-height: 6vw;
    }





    /*リフォーム事例*/
    .reform{
        margin-top:90vw;
    }
    
    .reform h5{
        font-size:4.5vw;
    }
    
    
    .reform-section{
        width:90%;
        margin:6.67vw auto;
        flex-flow: column;
    }
    
    .reform-section-text{
        width:100%;
    }
    
    .reform-section-text .reform-name{
        font-size:4vw;
    }
    .reform-section-text p{
        font-size: 3.5vw;
        line-height: 6vw;
    }
    
    
    .section-img{
        width:100%;
        height:58.46vw;
        margin-top:7.69vw;
        display: flex;
        flex-wrap: wrap;
    
    }
    .section-img img{
        width:42.56vw;
        height:26.92vw;
    }




    .works-btn{
        margin:10.26vw 0;
    }
    .works-btn a{
        padding:7.69vw 35.9vw;
    }
    .works-btn p{
        font-size:3.5vw;
    }

}