@charset "utf-8";
/* CSS Document */


.slider {
	width: 100vw;
	height: 93vh;
	overflow: hidden;
	position: relative;
	top: -20px;
	max-width: 100%;
}

.slider 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; /* 合計枚数の秒数 */
	animation-iteration-count: infinite;
}

@keyframes slide-fade {
	0%{
		opacity: 0;
	}
	10%{
		opacity: 1;
	}
	60%{
		opacity: 0;
	}
	100%{
		opacity: 0;
		z-index: 0;
	}
}
.slider div:first-of-type{
	background-image: url(../sl/001.webp);
}
.slider div:nth-of-type(2){
	background-image: url(../sl/002.jpg);
	animation-delay: 10s; /* ここまでの秒数を変更 */
}
.slider div:nth-of-type(3){
	background-image: url(../sl/003.webp);
	animation-delay: 15s; /* ここまでの秒数を変更 */
}
.slider div:nth-of-type(4){
	background-image: url(../sl/004.webp);
	animation-delay: 20s; /* ここまでの秒数を変更 */
}
.slider div:last-of-type{
	background-image: url(../sl/005.webp);
	animation-delay: 25s; /* ここまでの秒数を変更 */
}


/* mobile */

@media screen and (max-width: 700px) {

.slider {
	height: 93.5vh;
}

}














