.galleryBox {
    margin: 0 -5vw;
}

.galleryBox .slick-arrow {
    top: 80px;
    width: 40px;
    height: 40px;
    z-index: 2;
}

.galleryBox .slick-arrow.slick-prev {
    background: url(../img/room/prev2.jpg) no-repeat 0 0/100% auto;
    left: 8%;
}

.galleryBox .slick-arrow.slick-next {
    background: url(../img/room/next2.jpg) no-repeat 0 0/100% auto;
    right: 8%;
}

.galleryBox .tab_main {
    position: relative;
}

.galleryBox .tab_main * {
    will-change: transform;
}

.galleryBox .tab_main .slide_sub .slick-center .slide_item .room-badge {
    opacity: 1;
    visibility: visible;
}

.galleryBox .tab_main .slide_sub .slick-slide {
    padding: 0 15px;
}

.galleryBox .tab_main .slide_sub .slide_item {
    position: relative;
}

.galleryBox .tab_main .slide_sub .slide_item .room-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    font-family: 'Jost';
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #fff;
    background: #101010;
    text-align: center;
    padding: 0 10px;
    font-weight: 300;

}

.galleryBox .tab_main .slide_sub .slide_item .room-badge span {
    font-size: 22px;
    letter-spacing: 0.05em;
}

.galleryBox .tab_main .slide_sub .slide_item img {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.galleryBox .tab_thumb {
    margin-top: 20px;
}

.galleryBox .tab_thumb .slick-current .thumb_item .thumb_card::before {
    opacity: 1;
    visibility: visible;
}

.galleryBox .tab_thumb .thumb_item {
    padding: 0 6px;
    cursor: pointer;
    outline: none;
}

.galleryBox .tab_thumb .thumb_item .thumb_card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.galleryBox .tab_thumb .thumb_item .thumb_card::before {
    content: "";
    background: rgba(20, 19, 18, 0.64);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}

.galleryBox .tab_thumb .thumb_item .thumb_card img {
    width: 100%;
    height: 90px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.galleryBox .tab_thumb .thumb_item .thumb_card .thumb-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    font-family: 'Jost';
    font-weight: 200;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: #fff;
    background: #101010;
    text-align: center;
    padding: 0 8px;
    line-height: 25px;
    z-index: 2;
}

@media screen and (min-width: 768px) {
    .galleryBox {
        margin: 0;
    }

    .galleryBox .slick-arrow {
        top: 251px;
        width: 92px;
        height: 92px;
    }

    .galleryBox .slick-arrow.slick-prev {
        left: calc(50% - 568px);
    }

    .galleryBox .slick-arrow.slick-next {
        right: calc(50% - 568px);
    }

    .galleryBox .tab_main .slide_sub .slick-slide {
        padding: 0 61px;
    }

    .galleryBox .tab_main .slide_sub .slide_item .room-badge {
        font-size: 18px;
        padding: 0px 8px;
        line-height: 38px;
    }

    .galleryBox .tab_main .slide_sub .slide_item .room-badge span {
        font-size: 22px;
    }

    .galleryBox .tab_main .slide_sub .slide_item img {
        width: 1000px;
        height: 597px;
    }

    .galleryBox .tab_thumb {
        margin-top: 27px;
    }

    .galleryBox .tab_thumb .slick-track {
        display: flex !important;
        transform: none !important;
        width: auto !important;
        justify-content: center;
    }

    .galleryBox .tab_thumb .thumb_item {
        padding: 0;
        margin: 0 11px;
        width: 200px !important;
    }

    .galleryBox .tab_thumb .thumb_item:hover .thumb_card::before {
        opacity: 1;
        visibility: visible;
    }

    .galleryBox .tab_thumb .thumb_item .thumb_card img {
        width: 100%;
        height: 140px;
    }

    .galleryBox .tab_thumb .thumb_item .thumb_card .thumb-badge {
        font-size: 22px;
        line-height: 34px;
        letter-spacing: 0px;
    }
}

@media screen and (max-width: 1399px) and (min-width: 768px) {
    .galleryBox .tab_main .slide_sub .slide_item img {
        width: 800px;
    }

    .galleryBox .slick-arrow.slick-next {
        right: calc(50% - 468px);
    }

    .galleryBox .slick-arrow.slick-prev {
        left: calc(50% - 468px);
    }

    .galleryBox .tab_thumb .thumb_item {
        width: 180px !important;
    }
}

@media screen and (max-width: 1299px) and (min-width: 768px) {
    .galleryBox .tab_thumb .thumb_item {
        width: 160px !important;
    }
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
    .galleryBox .tab_main .slide_sub .slick-slide {
        padding: 0 50px;
    }

    .galleryBox .tab_thumb .thumb_item {
        width: 140px !important;
    }

    .galleryBox .tab_thumb .thumb_item .thumb_card img {
        height: 110px;
    }
}