@charset "utf-8";
/* 기본설정 */
/* @import "default.css"; */
.roompre_slide{
    width: 100%;
    height: 75%;
    background: url('/html/images/roompre/01_01.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-bottom: 10%;
}

.preview h2{
    font-size: 3.4vw;
    letter-spacing: 0.34vw;
    text-align: center;
}
.preview p{
    text-align: center;
    line-height: 1.2;
    font-size: 1.35vw;
    letter-spacing: 0.135vw;
    margin-bottom: 5px;
    font-family: 'nelp';
}
.preview .flex-between {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    width: 74%;
    /* border-bottom: 2px solid #BCC9BF; */
}
.preview .flex-between::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #BCC9BF;
    transition: all 1.5s ease-in-out;
}
.preview .flex-between.active::after {
    width: 100%;
}
.mapbox{
    width: 74%;
    margin: 50px auto 0;
    max-height: 750px;
    margin-bottom: 5%;
}
.mapbox img{
    width: 100%;
    max-height: 750px;
}


@media(max-width:1200px) {
    
}

@media(max-width:768px){
    .roompre_slide{
        width: 100%;
        height: 47%;
        background: url('/html/images/roompre/m/01_01.jpg');
        background-repeat: no-repeat;
        background-size: 100% auto;
        position: relative;
        margin-bottom: 10%;
    }
    .preview h2{
        font-size: 8.9vw;
        letter-spacing: 0.89vw;
    }
    .preview p{
        font-size: 2.8vw;
        letter-spacing: 0.28vw;
        margin-bottom: 5px;
        font-family: 'nelp';
    }
    .preview .flex-between {
        width: 91%;
        /* border-bottom: 1px solid #BCC9BF; */
    }
    
    .mapbox {
        width: 91%;
        margin: 20px auto 90px;
    }
    .mapbox img {
        /* min-height: 260px; */
        object-fit: cover;
    }
    
    


}
@media(max-width:500px){
    .roompre_slide { 
        height: 33%;
        margin-bottom: 0;
    }
    
}