@charset "utf-8";

.slideshow {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2 / 1;
    max-height: 78vh;
    background: #000;
    z-index: 1;
}

.slideshow .slideshow-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideshow .slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slideshow .slide {
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.slideshow .slide.is-active {
    display: block;
    opacity: 1;
}

.slideshow .slide.is-loaded {
    opacity: 1;
}

.slideshow .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slideshow .image-container::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.slideshow .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.slideshow .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.slideshow .caption {
    padding: 0 60px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.slideshow .slide-label {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 18px;
    background: #CE0D1B;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-shadow: none;
}

.slideshow .slide-title {
    margin: 0 auto 15px;
    max-width: 1000px;
    padding: 0;
    font-family: "Oswald", "Zen Maru Gothic", sans-serif;
    font-weight: 300;
    font-size: 50px;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

.slideshow .slide-text {
    margin: 0 auto;
    max-width: 1000px;
    font-size: 18px;
    line-height: 1.6;
}

.slideshow .slide-note {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 16px;
}

.slideshow .slide-note img {
    height: 46px;
    padding-left: 14px;
}

.slideshow .btn {
    display: inline-block;
    position: relative;
    margin: 18px 0 0;
    padding: 13px 20px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.25em;
    text-align: center;
    text-indent: 2px;
    text-decoration: none;
    text-shadow: none;
    transition: color 0.1s linear 0.05s;
}

.slideshow .btn::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    opacity: 0;
    z-index: 1;
    transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0.2s;
}

.slideshow .btn .btn-inner {
    position: relative;
    z-index: 2;
}

.slideshow .btn:hover {
    color: #373737;
    transition: color 0.1s linear 0s;
}

.slideshow .btn:hover::before {
    top: 0;
    height: 100%;
    opacity: 1;
    transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0s;
}

.slideshow .pagination {
    position: absolute;
    bottom: 28px;
    left: 0;
    width: 100%;
    height: 12px;
    z-index: 3;
    text-align: center;
    cursor: default;
}

.slideshow .pagination .item {
    display: inline-block;
    position: relative;
    width: 46px;
    height: 32px;
    padding: 15px 5px;
    z-index: 1;
    cursor: pointer;
    text-indent: -999em;
}

.slideshow .pagination .item::before {
    content: "";
    display: block;
    position: absolute;
    top: 15px;
    left: 5px;
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease;
}

.slideshow .pagination .item:hover::before,
.slideshow .pagination .item.is-active::before {
    background-color: #fff;
}

.slideshow .arrows .arrow {
    position: absolute;
    top: 50%;
    margin: -33px 0 0;
    padding: 20px;
    z-index: 3;
    cursor: pointer;
}

.slideshow .arrows .prev {
    left: 20px;
}

.slideshow .arrows .next {
    right: 20px;
}

.slideshow .arrows .svg {
    display: block;
    position: relative;
    left: 0;
    width: 14px;
    height: 26px;
    fill: #fff;
    transition: left 0.2s ease;
}

.slideshow .arrows .prev:hover .svg {
    left: -10px;
}

.slideshow .arrows .next:hover .svg {
    left: 10px;
}

.slideshow .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media screen and (max-width: 820px) {
    .slideshow .slide-title {
        font-size: 34px;
        letter-spacing: 0.15em;
    }

    .slideshow .slide-text {
        font-size: 16px;
    }

    .slideshow .caption {
        padding: 0 50px;
    }
}

@media screen and (max-width: 480px) {
    .slideshow {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .slideshow .caption {
        padding: 0 40px;
    }

    .slideshow .slide-label {
        margin-bottom: 10px;
        padding: 4px 12px;
        font-size: 12px;
    }

    .slideshow .slide-title {
        font-size: 22px;
        letter-spacing: 0.1em;
    }

    .slideshow .slide-text {
        font-size: 13px;
    }

    .slideshow .slide-note {
        font-size: 12px;
    }

    .slideshow .slide-note img {
        height: 30px;
        padding-left: 8px;
    }

    .slideshow .btn {
        margin-top: 12px;
        padding: 10px 14px;
        font-size: 11px;
        letter-spacing: 0.15em;
    }

    .slideshow .arrows .prev {
        left: 0;
    }

    .slideshow .arrows .next {
        right: 0;
    }

    .slideshow .pagination {
        bottom: 14px;
    }

    .slideshow .pagination .item {
        width: 26px;
        padding: 15px 3px;
    }

    .slideshow .pagination .item::before {
        left: 3px;
        width: 20px;
    }
}
