@charset "utf-8";
/* CSS 画像だけ切替*/

.slideBox {
  overflow: hidden;
  position: relative;
}

/* imgのみ */
@media screen and (min-width: 767px) {
.item1 {
  opacity: 0;
  width: 308px;
  height: 255px;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-animation: anime 20s 0s infinite;
  animation: anime 20s 0s infinite;
}

.item1:nth-of-type(2) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}

/*.item1:nth-of-type(3) {
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}*/

/*文字の回り込み*/
.moji {
  float: left; /* 画像を左にする場合 */
  margin-right: 20px; /* テキストとの余白 */
  max-width: 500px;
  width: 50vw;
}
}

/* ふわっとアニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}