
/*--------------------  スライドショー用の設定 -------------------*/
h1 {
  position: relative;
}

.image-slider {
  position: relative;
  width: 600px; /* 適宜調整 */
  height: 400px; /* 適宜調整 */
  overflow: hidden;
}

.image-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* フェードイン・アウト */
}

.image-slider img.active {
  opacity: 1;
}

/*------------------------------------------------- */
.slideBox {
  height: 500px;
  overflow: hidden;
  position: relative;
  /* position: absolute; */
}

    /* スムーズなアニメーション */
/*
.item1 {
    transition: transform 0.3s ease-in-out; 
}
*/

.item1 {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 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;
}

@keyframes anime {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
	transform:scale(1.2);
    z-index: 10;
  }
  100% {
    opacity: 0;
transform:scale(1.2);
  }
}

