

.moved-star-case {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #111;
}

.case-wrap {
  width: 100%;
}


/* 桌面端：图片右侧，文字环绕 */

.case-slider {
  float: right;
  width: 46%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  margin: 0 0 20px 35px;
  position: relative;
  overflow: hidden;
}

.case-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  opacity: 0;
  animation: movedStarSlide 18s infinite;
}


/* 自动切换 */

.case-slider img:nth-child(1) {
  animation-delay: 0s;
}

.case-slider img:nth-child(2) {
  animation-delay: 3s;
}

.case-slider img:nth-child(3) {
  animation-delay: 6s;
}

.case-slider img:nth-child(4) {
  animation-delay: 9s;
}

.case-slider img:nth-child(5) {
  animation-delay: 12s;
}

.case-slider img:nth-child(6) {
  animation-delay: 15s;
}


/* 淡入淡出 */

@keyframes movedStarSlide {

  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  16% {
    opacity: 1;
  }

  21% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }

}


/* 文案 */

.case-wrap p {
  margin: 0 0 18px;
}


/* 手机端：取消文字环绕 */

@media (max-width: 768px) {

  .moved-star-case {
    font-size: 16px;
    line-height: 1.7;
  }

  .case-slider {
    float: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    margin: 20px 0 25px;
  }

}

