.img-box {
    position: relative;
    width: 100%;
	    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.img1 {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    background: center center no-repeat;
    animation: anime 6s 0s infinite;
    z-index: 0;
    opacity: 0;
}
.img1:nth-of-type(2) {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.img2 {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    background: center center no-repeat;
    animation: anime 9s 0s infinite;
    z-index: 0;
    opacity: 0;
}

.img2:nth-of-type(2) {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.img2:nth-of-type(3) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
.img3 {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    background: center center no-repeat;
    animation: anime 12s 0s infinite;
    z-index: 0;
    opacity: 0;
}

.img3:nth-of-type(2) {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.img3:nth-of-type(3) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
.img3:nth-of-type(4) {
  -webkit-animation-delay: 9s;
  animation-delay: 9s;
}
.img-box img {
	width: 100%;
}

@keyframes anime {
   0%, 40%, 100% { opacity: 0; }/* スライドの非表示タイミング */
   15%, 25% { opacity: 1; }/* スライドの表示タイミング */
}

@media only screen and (max-width: 750px) {
	
	.img-box {
	    aspect-ratio: 2 / 3;
	}

	
}

