.slider2 {
	width: 90vw;
	height:90vh;
	overflow: hidden;
	position: relative;
	max-width: 100%;
	z-index: -10;
}

.slider2 div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 10;
	opacity: 0;
	animation-name: slide-fade;
	animation-duration: 30s; /* 30秒に変更 */
	animation-iteration-count: infinite;
	transform: scale(1.5); /* 最初に画像を大きくしておく */
}

@keyframes slide-fade {
	0%{
		opacity: 0;
	}
	20%{
		opacity: 1;
	}
	80%{
		opacity: 0;
		transform: scale(1); /* ここで画像サイズを1に戻す */
	}
	100%{
		opacity: 0;
		z-index: 0;
	}
}
.slider2 div:first-of-type{
	background-image: url(slide0.jpg);
}
.slider2 div:nth-of-type(2){
	background-image: url(slide2.jpg);
	animation-delay: 10s; /* 秒数を変更 */
}
.slider2 div:last-of-type{
	background-image: url(slide3.jpg);
	animation-delay: 20s; /* 秒数を変更 */
}
