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

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

.service-main-img {
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../image/sample/service/sample-service-main.jpeg);
}

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

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

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

.service-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-breakfast {
    background-image: url(../image/sample/service/breakfast.jpg);
}

.content-img-amenity {
    background-image: url(../image/sample/service/amenity.jpg);
}

.content-img-sleeping {
    background-image: url(../image/sample/service/bedding.jpg);
}

.content-img-pickup {
    background-image: url(../image/sample/service/pickup.jpeg);
}

.content-img-bluetooth {
    background-image: url(../image/sample/service/bluetooth.jpg);
}

.content-img-netflix {
    background-image: url(../image/sample/service/netflix.jpg);
}

.content-img-tesla {
    background-image: url(../image/sample/service/tesla.jpg);
}

.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) {
    .service-text-wrap {
        top: 70%;
    }

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