/* ============================
* スワイパー
* ========================= */

.top__swiper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    margin-top: var(--space-section-sm-fluid);
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper::before,
.swiper::after {
    position: absolute;
    content: "";
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.swiper::before {
    left: 0;
    background: linear-gradient(to right, rgb(252 252 252 / 1), rgb(252 252 252 / 0.8) 30%, rgb(252 252 252 / 0.3) 60%, rgb(252 252 252 / 0));
}

.swiper::after {
    right: 0;
    background: linear-gradient(to left, rgb(252 252 252 / 1), rgb(252 252 252 / 0.8) 30%, rgb(252 252 252 / 0.3) 60%, rgb(252 252 252 / 0));
}

.swiper-wrapper {
    position: relative;
    box-sizing: border-box;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.swiper-card {
    width: inherit;
    height: auto;
}

.swiper-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background: var(--color-white);
}

.swiper-button-prev,
.swiper-button-next {
    width: clamp(2.5rem, 1.929rem + 0.89vw, 3rem);
    height: clamp(2.5rem, 1.929rem + 0.89vw, 3rem);
    padding: 0.25rem;
    color: var(--color-text);
    border-radius: var(--radius-button);
    background: rgb(252 252 252 / 0.7);
}

.swiper-button-prev {
    left: 19% !important;
}

.swiper-button-next {
    right: 19% !important;
}

.swiper-navigation-icon {
    display: none;
}

/* ============================
* メディアクエリ
* ========================= */

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 500px) {
    .top__slider {
        padding-inline: 0;
    }

    .swiper:before,
    .swiper::after {
        display: none;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}