.swiper-slide-top {
  position: relative;
  padding-top: 1rem;
  width: 100%;
  overflow: hidden;
}
    
.swiper-slide-top img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}


@media only screen and (max-width: 599px) {
  .pc-pc-top {
    display: none;
  }
}
@media only screen and (min-width: 600px) {
  .sm-sm-top {
    display: none;
  }
}


@media only screen and (max-width: 599px) {
  .swiper-slide-top {
     width: 100%;
     min-height: 380px;
  }
}
@media only screen and (min-width: 600px) {
  .swiper-slide-top {
     height: 500px;
  }
}

.swiper-top .swiper-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}
.swiper-top .swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  cursor: pointer;
  transition: var(--transition8s);
  vertical-align: top;
  background-color: var(--black);
}
.swiper-top .swiper-pagination-bullet-active {
  width: 0.8rem;
  background-color: var(--red);
}