@charset "utf-8";

.voice_slide_box{
  position:relative;
  width:100%;
  overflow:hidden;
  margin:10px 0 25px
}

.black_box{
  background-color:#000;
}

@keyframes fade-in2 {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(-20px);
  }
}
@keyframes fade-out2 {
  from {
    opacity: 1;
    transform: translateY(-20px);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
@keyframes fade-in-bg {
  from {background-color:#00000080} to {background-color:#00000025}
}
@keyframes fade-out-bg {
  from {background-color:#00000025} to {background-color:#00000080}
}
.swiper-container-voice {
  width: 100%;
  height: 280px;
}
.swiper-container-voice .swiper-wrapper .swiper-slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  background-color:#00000080;
  background-blend-mode:darken;
}
.swiper-container-voice .swiper-wrapper .swiper-slide p {
  opacity:0;
  width:100%;
  position: absolute;
  bottom: 6%;
  padding-left:6%;
  padding-right:6%;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-shadow:0 0 4px black;
}
.swiper-container-voice .swiper-wrapper .swiper-slide-active p {
  animation-name: fade-in2;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-fill-mode: both;
  width:100%;
}
.swiper-container-voice .swiper-wrapper .swiper-slide-prev p {
  animation-name: fade-out2;
  animation-duration: 0.3s;
  animation-delay: 0s;
  animation-fill-mode: both;
  width:100%;
}
.swiper-container-voice .swiper-wrapper .swiper-slide-active {
  animation-name: fade-in-bg;
  animation-duration: 1.5s;
  animation-delay: 0s;
  animation-fill-mode: both;
}
.swiper-container-voice .swiper-wrapper .swiper-slide-prev {
  animation-name: fade-out-bg;
  animation-duration: 1.5s;
  animation-delay: 0s;
  animation-fill-mode: both;
}
