@charset "utf-8";

.slideBox {
  height: 172px;
  width: 230px;
  overflow: hidden;
  position: relative;
  border-width:1px;
  border-color: #F2F2F2;
  border-style: outset;
}

/* imgのみ */
.item1 {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 84s 0s infinite;
  animation: anime 84s 0s infinite;
}

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

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

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

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


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

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

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

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

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

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

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



/* アニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }
  3.6% {
    opacity: 1;
  }
  8.3% {
    opacity: 1;
  }
  12% {
    opacity: 0;
    z-index: 9;
  }
  100% { 
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  3.6% {
    opacity: 1;
  }
  8.3% {
    opacity: 1;
  }
  12% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}