.edit-pc-swiper {
  position: relative;
}
.edit-pc-swiper .swiper-slide {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.edit-pc-swiper .slide-text {
  position: absolute;
  left: calc(142 / 1920 * 100%);
  bottom: calc(474 / 1080 * 100%);
  z-index: 6;
  color: #fff;
  width: 50%;
}

.edit-pc-swiper .slide-text .slide-title {
  display: block;
  font-size: clamp(32px, 2.5vw, 48px);
  font-weight: bold;
}

.edit-pc-swiper .slide-text .slide-sub-title {
  font-size: 22px;
  display: block;
  margin-top: clamp(15px, 1.5625vw, 30px);
  line-height: 1.5;
}

.edit-pc-swiper .slide2.swiper-slide-active .slide-text .slide-title {
  animation: moveY 2s ease-in-out forwards;
}

.edit-pc-swiper .slide2.swiper-slide-active .slide-text .slide-sub-title p {
  animation: moveYFromBottom 2s ease-in-out forwards;
}

/* 第一张 */
.edit-pc-swiper .swiper-slide.slide1 {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* 第一张的文字特效 */
.edit-pc-swiper .swiper-slide.slide1 .slide-title,
.edit-pc-swiper .swiper-slide.slide1 .slide-sub-title p {
  mask-image: linear-gradient(90deg, #fff 33.33%, transparent 66.66%);
  mask-position: 100% 0;
  mask-size: 300% 100%;
  transition: mask-position 5s ease;
}

.edit-pc-swiper .slide1.swiper-slide-active .slide-title,
.edit-pc-swiper .slide1.swiper-slide-active .slide-sub-title p {
  mask-position: 0 0;
}

.edit-pc-swiper .slide1.swiper-slide-active .slide-sub-title {
  transition-delay: 0.5s;
}

.edit-pc-swiper .swiper-slide.slide1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(/attachment/edit-slide1-mask.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  pointer-events: none;
}

.edit-pc-swiper .slide1 {
  --rotate: 172deg;
}

.edit-pc-swiper .swiper-slide.slide1 .pic {
  display: block;
  width: 100%;
  height: 100%;
}

.edit-pc-swiper .swiper-slide.slide1 .pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edit-pc-swiper .swiper-slide.slide1 .person {
  --unit: clamp(10px, 1.0417vw, 20px);
  position: absolute;
  bottom: 3%;
  left: 36%;
  z-index: 6;
  transform: translateZ(var(--unit));
  height: clamp(200px, 13.8021vw, 265px);
  object-fit: contain;
}

.edit-pc-swiper .slide1 .screen {
  position: absolute;
  left: 30%;
  top: 14%;
  z-index: 2;
  width: 60%;
  height: 70%;
  transform: rotateY(var(--rotate)) translateZ(60px);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
}

.edit-pc-swiper .slide1 .screen .mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
}

.edit-pc-swiper .slide1 .screen .mask img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.edit-pc-swiper .slide1 .screen .content {
  animation: screenMove 30s linear infinite;
}

.edit-pc-swiper .slide1 .screen img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotateY(calc(-1 * var(--rotate) - 4deg));
}

@keyframes screenMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

/* 第二张 */
.edit-pc-swiper .swiper-slide .str_move {
  display: flex;
}

.edit-pc-swiper .swiper-slide .limarquee-list {
  transform: rotate(-45deg);
  margin-top: -27.0833vw;
  width: 115%;
}

.edit-pc-swiper .swiper-slide .limarquee-item {
  margin-bottom: clamp(20px, 1.5625vw, 30px);
}

.edit-pc-swiper .swiper-slide .limarquee-item:nth-child(2) {
  margin-left: -5%;
}

.edit-pc-swiper .swiper-slide .limarquee-item:nth-child(3) {
  margin-left: -7%;
}

.edit-pc-swiper .swiper-slide .limarquee-item .pic {
  margin-right: clamp(20px, 1.5625vw, 30px);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  width: max(300px, 29.4271vw);
}

.edit-pc-swiper .swiper-slide .limarquee-item .pic::after {
  content: "";
  display: block;
  padding-bottom: calc(318 / 565 * 100%);
}

.edit-pc-swiper .swiper-slide .limarquee-item .pic img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.str_wrap {
  background-color: transparent;
}

.edit-pc-swiper .swiper-slide.slide2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.3); */
  background-image: url(/attachment/edit-slide2-mask.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

@keyframes moveY {
  from {
    transform: translateY(-100%);
    clip-path: inset(0 0 100% 0);
  }

  to {
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes moveYFromBottom {
  from {
    transform: translateY(100%);
    clip-path: inset(100% 0 0 0);
  }

  to {
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

/* 第三张 */
.edit-pc-swiper .swiper-slide.slide3::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(/attachment/edit-slide3-mask.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  pointer-events: none;
}

.edit-pc-swiper .swiper-slide.slide3 .pic {
  display: block;
  width: 100%;
  height: 100%;
}

.edit-pc-swiper .swiper-slide.slide3 .pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: 1s linear 2s;
}

.edit-pc-swiper .swiper-slide.slide3 .slide-title,
.edit-pc-swiper .swiper-slide.slide3 .slide-sub-title {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
}

.edit-pc-swiper .swiper-slide.slide3.swiper-slide-active .slide-title .text-item,
.edit-pc-swiper .swiper-slide.slide3.swiper-slide-active .slide-sub-title .text-item {
  overflow: hidden;
}

.edit-pc-swiper .swiper-slide.slide3.swiper-slide-active .slide-title .text-item span,
.edit-pc-swiper .swiper-slide.slide3.swiper-slide-active .slide-sub-title .text-item span {
  display: block;
  transform: translateY(100%);
}

.edit-pc-swiper .swiper-slide.slide3.swiper-slide-active .slide-title .text-item span {
  animation: textShow 1.5s calc(var(--delay) * 2s) forwards cubic-bezier(0.215, 0.61, 0.355, 1);
}

.edit-pc-swiper .swiper-slide.slide3.swiper-slide-active .slide-sub-title .text-item span {
  animation: textShow 0.6s calc(var(--delay) * 1.5s) forwards cubic-bezier(0.215, 0.61, 0.355, 1);
}

.edit-pc-swiper .slide3.swiper-slide-active .pic img {
  animation: scale 3s linear forwards;
}

.edit-pc-swiper .swiper-slide.swiper-slide-active .slide-btn {
  animation: btnAnimate 2s ease forwards;
}

@keyframes btnAnimate {
  from {
    opacity: 0;
    transform: translateY(100px);
    visibility: hidden;
  }
  to {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

.edit-pc-swiper .slide-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  cursor: pointer;
  width: 135px;
  height: 50px;
  font-size: 14px;
  background-color: #222;
  color: #fff;
  font-family: "sheepsansbol";
  margin-top: clamp(20px, 2.5vw, 48px);
  transition: 0.4s ease;
  position: relative;
  z-index: 2;
}

.edit-pc-swiper .slide-btn::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #fff;
  z-index: -1;
  transition: 0.6s ease;
}

.edit-pc-swiper .slide-btn img {
  margin-left: 10px;
  transition: 0.4s ease;
}

.edit-pc-swiper .slide-btn:hover {
  color: #222;
}

.edit-pc-swiper .slide-btn:hover img {
  filter: brightness(0);
}

.edit-pc-swiper .slide-btn:hover::before {
  width: 100%;
  right: auto;
  left: 0;
}

@keyframes textShow {
  to {
    transform: translateY(0);
  }
}

@keyframes scale {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}

.edit-pc-banner .edit-pc-bar {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 70px;
  line-height: 70px;
  z-index: 55;
  transform-origin: bottom;
  transition: all 0.65s cubic-bezier(0.55, 0.65, 0.55, 1) 0s;
}

.edit-pc-banner .edit-scroll-btn {
  position: absolute;
  bottom: 50px;
  left: 160px;
  width: 52px;
  height: 52px;
  border: 1px solid #fff;
  border-radius: 100%;
  overflow: hidden;
  cursor: pointer;
}

.edit-pc-banner .edit-scroll-btn .btn {
  position: absolute;
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  background: url(/attachment/edit-banner-down.png) no-repeat center center;
  cursor: pointer;
  animation: downico 1.5s ease-out infinite;
  overflow: hidden;
}

.edit-pc-banner .edit-controls {
  position: absolute;
  right: 0;
  top: 0;
  width: 465px;
  height: 70px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
}

.edit-pc-banner .count {
  width: 180px;
  padding-left: 66px;
  font: bold 18px / 80px "gotham-medium";
  color: #999;
}

.edit-pc-banner .count .current {
  color: #222;
}

.edit-pc-banner .count .total {
  color: #666;
}

.edit-pc-banner .edit-controls .arrow {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.edit-pc-banner .edit-controls .pc-banner-left,
.edit-pc-banner .edit-controls .pc-banner-right {
  width: 70px;
  height: 70px;
  background-repeat: no-repeat;
  user-select: none;
  cursor: pointer;
}

.edit-pc-banner .edit-controls .pc-banner-left:hover .icon,
.edit-pc-banner .edit-controls .pc-banner-right:hover .icon {
  width: 35px;
}

.edit-pc-banner .edit-controls .pc-banner-left .icon,
.edit-pc-banner .edit-controls .pc-banner-right .icon {
  width: 25px;
  height: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
  transition: all 0.45s ease-out 0s;
}

.edit-pc-banner .edit-controls .pc-banner-left .icon {
  background-position: left center;
  background-image: url(/attachment/edit-banner-left.png);
}

.edit-pc-banner .edit-controls .pc-banner-right .icon {
  background-position: right center;
  background-image: url(/attachment/edit-banner-right.png);
}

@media (min-width: 769px) {
  .edit-pc-swiper .pc-hide {
    display: none !important;
  }
  .edit-pc-swiper .swiper-pagination {
    display: none;
  }
}

@media (max-width: 768px) {
  .edit-pc-swiper .slide-text {
    width: 90%;
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }

  .edit-pc-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background-color: #fff;
    transition: 0.4s ease;
    border-radius: 15px;
    opacity: 1;
  }

  .edit-pc-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 15px;
  }

  .edit-pc-swiper .slide1 .slide-text {
    top: 30%;
  }

  .edit-pc-swiper .swiper-slide.slide3 .slide-title,
  .edit-pc-swiper .swiper-slide.slide3 .slide-sub-title {
    justify-content: center;
  }

  .edit-pc-swiper .swiper-slide.swiper-slide-active .slide-btn {
    margin-left: auto;
    margin-right: auto;
  }
  .edit-pc-swiper .slide-text .slide-title {
    font-size: 26px;
    text-align: center;
  }

  .edit-pc-swiper .slide-text .slide-sub-title {
    font-size: 18px;
    text-align: center;
  }

  .edit-pc-swiper .swiper-slide {
    /* height: auto; */
  }

  /* 隐藏pc的图片 */
  .edit-pc-swiper .swiper-slide.slide1 .pic,
  .edit-pc-swiper .slide1 .screen,
  .edit-pc-swiper .swiper-slide.slide1 .person,
  /*.edit-pc-swiper .swiper-slide.slide1::after,*/
  .edit-pc-banner .edit-pc-bar,
  .edit-pc-swiper .swiper-slide .limarquee-list,
  .edit-pc-swiper .swiper-slide.slide3 .pic {
    display: none !important;
  }

  .edit-pc-swiper .swiper-slide .phone-pic {
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }

  .edit-pc-swiper .swiper-slide .phone-pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .edit-pc-swiper .swiper-slide.swiper-slide-active .phone-pic img {
    animation: scale 3s linear forwards;
  }
  .edit-pc-swiper .swiper-slide.slide2::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .edit-pc-swiper .slide-btn {
    height: 40px;
  }
  .edit-pc-swiper .slide-btn img {
    width: 18px;
  }
}
