@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%);
}

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

.space-main-img{
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(https://cdn.merrydoghaus.com/photos/special/hero-1440.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/hero-1440.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/hero-1920.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/hero-1440.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/hero-1920.webp") 2x);
}

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

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

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

.space-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;
    width: 25%;
    height: 10px;
}

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

.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: 50px;
}
.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-brunch{
    background-image: url(https://cdn.merrydoghaus.com/photos/special/cafe-960.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/cafe-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/cafe-1440.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/cafe-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/cafe-1440.webp") 2x);
}

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

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

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

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

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

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

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

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

.content-text h3{
    font-size: 34px;
    line-height: 41px;
    font-weight: bold;
    color: #484640
}

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

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

    section{
        width: 100%;
    }

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

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

    .space-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;
    }

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

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

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

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

    .content-text.left{
        text-align: left;
    }
}

/* R2 image-set: 모바일(≤768px) 저해상도 분기 (자동 생성) */
@media (max-width: 768px) {
	.space-main-img {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/hero-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/hero-1920.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/hero-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/hero-1920.webp") 2x);
	}
	.content-img-brunch {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/cafe-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/cafe-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/cafe-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/cafe-960.webp") 2x);
	}
	.content-img-playground {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/playground-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/playground-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/playground-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/playground-960.webp") 2x);
	}
	.content-img-fire {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/fire-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/fire-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/fire-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/fire-960.webp") 2x);
	}
	.content-img-swimming {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/swimming-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/swimming-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/swimming-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/swimming-960.webp") 2x);
	}
	.content-img-gaming {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/game-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/game-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/game-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/game-960.webp") 2x);
	}
	.content-img-drying-room {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/special/powder-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/powder-960.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/special/powder-480.webp") 1x, url("https://cdn.merrydoghaus.com/photos/special/powder-960.webp") 2x);
	}
}
