main section.outset {
    height: 500px;
}

main section.outset .area_main {
    height: 500px;
    background-size: auto 400px;
}

main section.outset .area_main .slider {
    height: 500px;
}

main section.outset .area_main .slider div {
    height: 500px;
}

.slider div {
    height: 400px;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel ul.carousel-track {
    list-style-type: none;
}

.carousel-track-container {
    position: relative;
    overflow: visible;
    /*max-height: 400px;*/
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.carousel-slide {
    flex: 0 0 100%;
    max-width: 1100px;
    position: relative;
    /*max-height: 400px;*/
}

.carousel-slide img {
    width: 100%;
    /*height: 400px;*/
}

.nav {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav img {
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
}

.nav.prev {
    left: calc(50% - 620px) !important;
}

.nav.next {
    right: calc(50% - 620px) !important;
}

.carousel-thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.thumbnail {
    height: 72px;
    max-width: 200px;
    width: auto!important;
    margin: 0 15px;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumbnail.active {
    opacity: 1;
}

.carousel-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active-slide::after {
    opacity: 0;
}

.carousel-track {
    justify-content: center;
}

.carousel.is-swapping .carousel-slide::after {
    transition: none;
}

.carousel-slide.inactive-slide a {
    pointer-events: none;
}

@media screen and (max-width: 1100px) {
    .nav.prev img {
        left: 30px !important;
    }
    .nav.next img {
        right: 30px !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 1100px) {
    main section.outset {
        height: 375px;
    }

    .carousel-track-container {
        max-height: 300px;
    }

    .carousel-slide {
        max-width: 800px;
        max-height: 300px;
    }

    .carousel-slide img {
        height: 300px;
    }
}

@media screen and (max-width: 600px) {
    main section.outset {
        height: auto;
    }

    .carousel-slide {
        max-width: 100%;
    }

    .nav img {
        width: 100%;
        height: auto;
    }

    .nav.prev img,
    .nav.next img {
        display: none !important;
    }

    .thumbnail {
        height: 60px;
    }

    .carousel-slide img {
        height: auto;
    }
}

@media screen and (max-width: 400px) {
    .carousel-slide {
        max-width: 375px;
    }

    .carousel-slide img {
        height: auto;
    }

    .thumbnail {
        height: 50px;
    }

    .carousel-thumbnails {
        margin-top: 30px;
    }
}
