
.top-swiper .container {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.top-swiper .swiper {
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 768px){
  .top-swiper{
    height: 40vw;
  }
}
@media (max-width: 640px) {
  .top-swiper .swiper {
    width: 100%;
    height: auto;
  }
  .top-swiper .swiper-wrapper {
    margin-bottom: 30px;
  }
  .top-swiper .swiper-slide {
    scale: 1 !important;
  }
}
.top-swiper .swiper-wrapper {
  width: 100%;
}
.top-swiper .swiper-pagination-bullet {
  background-color: white;
  border: 1px solid black !important;
  opacity: 0.9;
  width: 5px;
  height: 5px;
}
.top-swiper .swiper-pagination-bullet-active {
  background-color: black;
}
.top-swiper .swiper-slide {
  width: 100%;
  background-position: center;
  background-size: cover;
  transition-timing-function: cubic-bezier(0.2, 0.2, 0.7, 1);
  cursor: pointer;
  touch-action: none;
}
.top-swiper .swiper-slide img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.top-swiper .swiper-slide a{
  display: block;
  height: 100%;
}
.top-swiper .swiper-slide video {
  height: auto;
  width: 100%;
  box-sizing: unset;
  line-height: 1rem;
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 767px){
  .top-swiper .swiper-slide video{
    aspect-ratio: 352/533;
  }
}
.top-swiper .swiper-3d .swiper-cube-shadow,
.top-swiper .swiper-3d .swiper-slide {
  height: auto;
}
.top-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.top-swiper .swiper-slide {
  scale: 1;
  /* cursor: pointer; */
  transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}
.top-swiper .cursor {
  width: 100px;
  height: 100px;
  position: absolute;
  z-index: 10;
  pointer-events: none;
}
.top-swiper svg {
  width: 102px;
  height: 102px;
  overflow: visible;
  border: 2px solid #888;
  border-radius: 50%;
  transform: translate(-50px, -50px) rotate(0deg);
}
.top-swiper circle {
  width: 100px;
  height: 100px;
  fill: none;
  stroke: rgba(0, 0, 0, 0.6666666667);
  stroke-width: 2px;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  animation: drawAndErase 5s linear infinite;
}
.top-swiper .swiper-button-prev,
.top-swiper .swiper-button-next {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}
.top-swiper .swiper-button-prev {
  display: block;
  width: 15px;
  height: 15px;
  border-top: 1.5px solid #000;
  border-left: 1.5px solid #000;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: opacity 0.3s ease;
}
.top-swiper .swiper-button-prev.animate {
  animation: moveLeft 0.8s;
}
.top-swiper .swiper-button-next {
  display: block;
  width: 15px;
  height: 15px;
  border-top: 1.5px solid #000;
  border-left: 1.5px solid #000;
  transform: translate(-50%, -50%) rotate(135deg);
  transition: opacity 0.3s ease;
}
.top-swiper .swiper-button-next.animate {
  animation: moveRight 0.8s;
}
.top-swiper .swiper-button-prev::after,
.top-swiper .swiper-button-next::after {
  content: "";
  display: block;
  width: 45px;
  height: 1px;
  background-color: black;
  transform: rotate(45deg) translate(6px, 15px);
  left: 0;
  top: 0;
}
.swiper-slide-next a {
      pointer-events: none;
    }

    .swiper-slide-prev a {
      pointer-events: none;
    }
@media screen and (max-width:767px) {
.top-swiper .cursor{display:none;}
}
@keyframes drawAndErase {
  0% {
    stroke-dashoffset: 314;
  }

  60% {
    stroke-dashoffset: 20;
    animation-timing-function: linear;
  }

  75% {
    stroke-dashoffset: 3;
    animation-timing-function: linear;
  }

  90% {
    stroke-dashoffset: 0;
    animation-timing-function: cubic-bezier(0.5, 0, 0.75, 1);
  }

  100% {
    stroke-dashoffset: -314;
  }
}

@keyframes erase {
  0% {
    stroke-dashoffset: 314;
  }

  50% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -314;
  }
}

@keyframes moveRight {
  0% {
    transform: translate(-50%, -50%) rotate(135deg);
  }

  50% {
    transform: translate(calc(-50% + 20px), -50%) rotate(135deg);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) rotate(135deg);
  }
}

@keyframes moveLeft {
  0% {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  50% {
    transform: translate(calc(-50% - 20px), -50%) rotate(-45deg);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}