

.moved-star-case {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #111;
}

.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%;
  object-fit: cover;
  left: 0;
  top: 0;
  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-text p {
  margin: 0 0 20px;
}

.moved-star-case:after {
  content: "";
  display: block;
  clear: both;
}


/* Mobile */

@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: 0 0 25px 0;
  }

  .case-text p {
    margin-bottom: 18px;
  }

}

