/*スライドのスタイルの設定*/

@charset "utf-8";

/*スライドの外枠*/
.slide_wrapper {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--header_height) + 40px);
}

/*スライド（コンテンツ）*/
.slide {
    height: 100%;
    display: flex;
}

.slide div {
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.slide a {
    position: relative;
    width: 70%;
    color: #000;
    transition: all .3s ease-in-out;
}
.slide a:hover img {
    opacity: .7;
}

.slide img {
    width: 100%;
    transition: all .3s ease-in-out;
}

.slide_text {
    display: none;
}

/*左右のボタン*/
.next, .prev {
    position: absolute;
    width: 1rem;
    height: 1rem;
    z-index: calc(var(--header_z_index) - 1);
    cursor: pointer;
    border-top: 3px solid var(--color_one);
    border-right: 3px solid var(--color_one);
}

.next {
    right: 5%;
    bottom: 50%;
    transform: rotate(45deg) translateY(50%);
}

.prev {
    left: 5%;
    bottom: 50%;
    transform: rotate(-135deg) translateY(-50%);
}

/*インジケーター*/
.indicator {
    width: 100%;
    position: absolute;
    bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 18px;
    z-index: calc(var(--header_z_index) - 2);
    padding: 0;
}

.indicator li {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    list-style: none;
    background-color: #fff;
    border: 2px solid var(--color_one);
    cursor: pointer;
}

.indicator li:first-of-type {
    background-color: var(--indicator_color);
}

/*768px以下の時のスタイル*/
@media (max-width: 768px) {
    .slide_wrapper {
        margin-top: var(--mini_header_height);
        height: 50vh;
    }

    .slide img {
        width: 90%;
    }
}