@charset "utf-8";

section{
    transition: transform 0.4s ease-in-out;
}

section.disabled{
    transform: translateX(30%);
}

.main-swiper{
    transition: transform 0.4s ease-in-out;
}

.main-swiper.disabled{
    transform: translateX(30%);
}

.rooms-main-wrap{
    position: relative;
    width: 100%;
    height: 50vh;
}

.rooms-main-img{
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rooms-main-img::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.rooms-text-wrap{
    z-index: 10;
    position: absolute;
    width: 100%;
    top: 60%;
    left: 50%;
    text-align: center;
    color: #fff;
    transform: translate(-50%, 0);
}

.rooms-text-wrap h2{
    margin-bottom: 40px;
    font-size: 16px;
    text-decoration: underline;
}

.rooms-text-wrap p{
    font-size: 14px;
    line-height: 22px;
}

.container{
    margin: 120px 30px;
}

.container::after{
    display: block;
    clear: both;
    content: '';
}

section{
    float: left;
    width: 66.6666%;
}

.sub-nav-wrap{
    position: relative;
    float: left;
    height: 10px;
    width: 25%;
}

.sub-nav-fixed{
    position: fixed;
    width: inherit;
    top: 120px;
}

.sub-nav h2{
    position: relative;
    margin: 0 0 30px 15px;
    width: 50%;
    font-size: 14px;
    line-height: 22px;
    color: #666666;
}

.sub-nav h2::after{
    position: absolute;
    content: "";
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #d6d6d6;
}

.sub-nav ul{
    margin-bottom: 40px;
}

.sub-nav li{
    position: relative;
    margin-bottom: 17px;
    list-style-type: none;
}

.sub-nav li a{
    padding: 5px 0 15px 15px;
    font-size: 14px;
    line-height: 23px;
    color: #888888;
}

.sub-nav li::after{
    width: 5px;
    height: 2px;
    background-color: #888888;
    content: "";
    position: absolute;
    left: 0;
    top: 40%;
}

.contents-wrap{
    width: 100%;
}

.contents-wrap h2{
    font-size: 85px;
    color: #343434;
    margin-bottom: 16px;
}

.contents-wrap .desc{
    width: 70%;
    font-size: 16px;
    line-height: 24px;
    color: #888888;
}

.content-wrap{
    width: 100%;
}

.content-img{
    display: inline-block;
    width: 41.66666%;
    height: 650px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.content-img-a01{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a03/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a03/room01-1440.webp") 2x);
}

.content-img-a02{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a04/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a04/room01-1440.webp") 2x);
}

.content-img-a03{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a03/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a03/room01-1440.webp") 2x);
}

.content-img-a04{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a04/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a04/room01-1440.webp") 2x);
}

.content-img-b01{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/b01/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/b01/room01-1440.webp") 2x);
}

.content-img-b02{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/b01/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/b01/room01-1440.webp") 2x);
}

.content-img-c01{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/c02/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/c02/room01-1440.webp") 2x);
}

.content-img-c02{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/c02/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/c02/room01-1440.webp") 2x);
}

.content-img-private-d{
    background-image: url(https://cdn.merrydoghaus.com/photos/room/private-d/room01-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/private-d/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/private-d/room01-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/private-d/room01-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/private-d/room01-1440.webp") 2x);
}

.content-text{
    display: inline-block;
    box-sizing: border-box;
    width: 57%;
    
    height: 650px;
}

.content-text.right{
    padding: 0 0 0 50px;
}

.content-text.left{
    padding: 15% 50px 0 0;
    text-align: right;
}

.content-text h3{
    position: relative;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 22px;
    color: #484640;
}

.content-text h3::after{
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

.content-text p{
    display: inline-block;
    margin-top: 24px;
    font-size: 16px;
    line-height: 24px;
    color: #888888;
}

.feature{
    display: inline-block;
    width: 45%;
}

.feature i{
    margin-right: 20px;
    width: 40px;
    text-align: center;
    color: #484640;
}

.feature p{
    padding-bottom: 20px;
}

.feature-netflix{
    margin-right: 20px;
    width: 40px;
}

.rooms-button{
    box-sizing: border-box;
    width: 200px;
    margin: 40px 0 80px;
    padding: 18px;
    font-size: 20px;
    text-align: center;
    border: 2px solid #484640;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.rooms-button.left{
    float: right;
}

.rooms-button.left::after{
    display: block;
    clear: both;
    content: '';
}

.rooms-button:hover{
    color: #fff !important;
    background-color: #484640;
}

.rooms-swiper{
    width: 100%;
    height: 43vw;
    margin: 120px 0 0;
}

.rooms-img{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

a{
    text-decoration: none;
    color: #484640;
}

@media screen and (max-width: 1024px){
    .sub-nav-wrap{
        display: none;
    }

    section{
        width: 100%;
    }

    .contents-wrap h2{
        text-align: center;
    }

    .desc{
        margin: 0 auto;
        text-align: center;
    }

    .rooms-button{
        margin: 40px auto 80px;
    }

    .rooms-swiper{
        height: 66vw;
    }
}

@media screen and (max-width: 768px){
    .rooms-text-wrap{
        top: 70%;
    }

    .rooms-text-wrap h2{
        font-size: 12px;
    }

    .container{
        margin: 60px 15px;
    }

    .content-wrap{
        margin-bottom: 30px;
    }

    .left-wrap{
        display: flex;
        flex-direction: column-reverse;
    }

    .contents-wrap h2{
        font-size: 40px;
        margin-bottom: 30px;
    }

    .contents-wrap .desc{
        width: 100%;
        font-size: 12px;
        line-height: 18px;
    }

    .rooms-button{
        margin: 30px auto 40px;
        width: 150px;
        font-size: 16px;
    }

    .content-img{
        display: block;
        width: 100%;
        height: 300px;
    }

    .content-text{
        padding: 20px 0 !important;
        width: 100%;
        height: auto;
    }

    .content-text h3{
        font-size: 12px;
    }

    .content-text p{
        margin-top: 10px;
        font-size: 12px;
        line-height: 18px;
    }

    .rooms-swiper{
        /* height: 50vh; */
        height: 66vw;
        margin: 30px 0 0;
    }
}

/* R2 image-set: 모바일(≤768px) 저해상도 분기 (자동 생성) */
@media (max-width: 768px) {
	.content-img-a01 {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/a03/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/a03/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp") 2x);
	}
	.content-img-a02 {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/a04/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/a04/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp") 2x);
	}
	.content-img-a03 {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/a03/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/a03/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a03/room01-960.webp") 2x);
	}
	.content-img-a04 {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/a04/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/a04/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/a04/room01-960.webp") 2x);
	}
	.content-img-b01 {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/b01/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/b01/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp") 2x);
	}
	.content-img-b02 {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/b01/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/b01/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/b01/room01-960.webp") 2x);
	}
	.content-img-c01 {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/c02/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/c02/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp") 2x);
	}
	.content-img-c02 {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/c02/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/c02/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/c02/room01-960.webp") 2x);
	}
	.content-img-private-d {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/room/private-d/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/private-d/room01-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/room/private-d/room01-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/room/private-d/room01-960.webp") 2x);
	}
}
