.slider {
    position: relative;
    width: 100%;
    height: 70vh;
    background-color: #fff;
}

.slide {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out 0s;
}

section.slide:before {
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 70%;
    position: absolute;
}

.slide-current {
    z-index: 5;
    visibility: visible;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 70vh;
    cursor: default;
    object-fit: cover;
    object-position: center;
    backface-visibility: hidden;
}

.slide-content {
    position: absolute;
    top: 29%;
    left: 27%;
    width: 40%;
    color: #bf1e2e;
    transform: translate(-50%, 0);
    text-align: center;
}

.slide-title {
    font-size: 42px;
    line-height: 55px;
    font-weight: 700;
    color: #000;
    text-shadow: 0px 0px 7px #ffffff;
}

.slide-detail {
    margin-top: 5px;
    font-size: 30px;
    line-height: 42px;
    color: #000;
}

.slider-nav {
    position: relative;
    width: 100%;
    height: 100vh;
}

.prev-slide,
.next-slide {
    z-index: 5;
    position: absolute;
    top: 35%;
    display: inline-block;
    width: 3.125rem;
    height: 3.125rem;
    line-height: 3.125;
    border: 0.125rem solid #fff;
    backface-visibility: hidden;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    border-radius: 100%;
}

.prev-slide {
    left: 2%;
}

.next-slide {
    right: 2%;
}

.prev-slide:hover,
.next-slide:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.prev-slide::before,
.next-slide::before {
    position: absolute;
    top: 35%;
    display: inline-block;
    width: 0.8125rem;
    height: 0.8125rem;
    content: "";
    border-left: 0.25rem solid white;
    border-top: 0.25rem solid white;
    backface-visibility: hidden;
}

.prev-slide::before {
    transform: rotate(-45deg);
    right: 32%;
}

.next-slide::before {
    transform: rotate(135deg);
    left: 32%;
}

.bgwave {
    background: url(../img/bgwave.png);
    height: 30px;
    width: 100%;
    bottom: 0;
    position: absolute;
    background-size: contain;
    background-repeat: repeat-x;
    z-index: 6;
}

/* ////////// 반응형 페이지 css ////////// */
@media screen and (max-width: 42.5em) {
    .prev-slide,
    .next-slide {
        border: 0 none;
    }
}