.swiper-pagination-bullets {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px 10px;
  flex: 1;
  left: unset !important;
  top: unset !important;
  bottom: unset !important;
  transform: unset !important;
}

.swiper-pagination-bullets {
  justify-content: center;
  margin: 20px auto 0;
}

.swiper-pagination-lock {
  display: none !important;
}

.swiper-slide {
  width: 50%;
}

.button-prev,
.button-next {
  width: 66px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #f8f8f8;
  font-size: 18px;
  border-radius: 10px;
}

.button-prev,
.button-next {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  z-index: 2;
}

.button-prev {
  left: -45px;
}

.button-next {
  right: -45px;
}



.swiper {
  max-width: calc(100% - 100px);
  margin-left: auto;
  margin-right: auto;
  overflow: initial;
}

.work {
  min-height: calc(100px + 220*(100vw - 320px)/960);
  /* border-radius: 18px; */
  max-height: 60vh;
  height: 55vh;
}

@media screen and (max-width: 760px) {
  .work {
    height: 35vh;
  }
}
@media screen and (max-width: 620px) {
  .swiper {
    max-width: calc(100% - 32px);
  }

  .button-prev,
  .button-next {
    width: 58px;
    height: 52px;
  }

  .work {
    height: 30vh;
  }
}

.work {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.work .label {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  padding: 5px 10px;
  font-size: 28px;
  border-radius: 4px;
  font-weight: 900;
  margin: 1rem;
  color: #111;
  box-shadow: 0 0 20px 0px #aaa;
}

.work>.before .label {
  top: 0;
  left: 0;
}

.work>.after .label {
  top: 0;
  /* right: 0; */
}

.work>.before,
.work>.after {
  position: relative;
  width: 50%;
}

.work>.before {
  order: 1;
}

.work>.after {
  order: 2;
}

.work>.before>img,
.work>.after>img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  padding: 4px;
  border-radius: 18px;
}
