@charset "utf-8";




/*s ====기본화면 모바일 기준====*/

#container{
    width: 100%;
    background: url(../images/about/p2_visual8.jpg) no-repeat fixed center/cover;
}

.r_inner{
    margin: 0 30px;
    padding: 80px 0;
    text-align: center;
}

.r_tit p{
    color: #fff;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.2);
}
.r_tit p:nth-child(1){
    font-size: 45px;
    font-weight: bold;
}
.r_tit p:nth-child(3){
    font-size: 16px;
    font-weight: 500;
}
.r_tit .line{
    width: 6%;
    height: 3px;
    background: #fff;
    margin: 10px auto 10px auto;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.2);
}

.room_box{
    margin-top: 50px;
}

.room_box li{
    width: 100%;
    height: 350px;
    background: #fff;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 1px 20px rgba(0,0,0,0.3);
}
.room_box li .deco_line{
    width: 12px;
    height: 100%;
    background: #67abc1;
    position: absolute;
    top: 0;
}

.room_box li .r_info{
    width: 50%;
    position: absolute;
    padding: 64px 0;
}

.room_box li .r_img{
    width: 50%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
}
.room_box li:nth-child(1) .r_img{
    background-image: url(../images/rooms/preview/room301.jpg);
}
.room_box li:nth-child(2) .r_img{
    background-image: url(../images/rooms/preview/room302.jpg);
}
.room_box li:nth-child(3) .r_img{
    background-image: url(../images/rooms/preview/room303.jpg);
}
.room_box li:nth-child(4) .r_img{
    background-image: url(../images/rooms/preview/room401.jpg);
}
.room_box li:nth-child(5) .r_img{
    background-image: url(../images/rooms/preview/room402.jpg);
}
.room_box li:nth-child(6) .r_img{
    background-image: url(../images/rooms/preview/room403.jpg);
}

.room_box li:nth-child(odd) .deco_line,
.room_box li:nth-child(odd) .r_info,
.room_box li:nth-child(even) .r_img{
    left: 0;
}
.room_box li:nth-child(even) .deco_line,
.room_box li:nth-child(even) .r_info,
.room_box li:nth-child(odd) .r_img{
    right: 0;
}

.if_tit p:nth-child(1){
    font-size: 35px;
    font-weight: 600;
}
.if_tit p:nth-child(2){
    font-size: 18px;
    line-height: 1.2em;
}

.if_txt{
    margin-top: 20px;
    font-weight: 400;
}


.if_btn{
    width: 50%;
    margin: 30px auto 0 auto;
}
.if_btn a{
    display: block;
    padding: 12px 0;
    border: 2px solid #67abc1;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.if_btn .off{
    color: #67abc1;
    transition: all 0.5s;
    position: relative;
    z-index: 20;
}

.if_btn a .over{
    width: 100%;
    height: 100%;
    background: #67abc1;
    position: absolute;
    top: 50px;
    left: 0;
    transition: all 0.5s;
    z-index: 10;
}

.if_btn a:hover .off{
    color: #fff;
}

.if_btn a:hover .over{
    top: 0;
}




/*e ====기본화면 모바일 기준====*/



/*s ====PC화면1====*/

@media screen and (min-width:1200px){
    #container{
        background: url(../images/rooms/preview/back.jpg) no-repeat fixed center/cover;
    }
    .r_inner{
        width: 1200px;
        margin: 0 auto 0 auto;
        padding: 250px 0 100px 0;
    }
    
    .room_box li{
        margin-bottom: 50px;
        transition: all 0.5s;
        box-shadow: 1px 1px 20px rgba(0,0,0,0);
    }
    .room_box li:hover{
        box-shadow: 1px 1px 20px rgba(0,0,0,0.3);
    }
    
    .if_btn{
        width: 230px;
    }
    
    .if_btn a{
        padding: 12px 0;
    }
    
    .if_tit p:nth-child(1){
        font-size: 32px;
        font-weight: 600;
    }
    .if_tit p:nth-child(2){
        font-size: 15px;
        line-height: 1.2em;
    }

    .if_txt{
        font-size: 14px;
        line-height: 1.6em;
    }
    
    .room_box li .r_info{
        padding: 70px 0;
    }
}

/*e ====PC화면1====*/









