@charset "utf-8";


/*mainimg
---------------------------------------------------------------------------*/
/*画像ブロック*/
.mainimg {
	position: relative;
	max-width: 1152px;
	overflow: hidden;
	z-index: 0;
	margin-bottom: 30px;
	position: relative;
	background: #bdb76b;
	/*背景色（スライドショーが表示されない時に出てきます）*/
	border-radius: 20px;
	/*角丸のサイズ*/
}

.pic {
	float: left;
}

.pic img {
	width: 100%;
	position: absolute;
	opacity: 0;
	-moz-animation: imgTrans 48s infinite;
	-webkit-animation: imgTrans 48s ease-in infinite;
	animation: imgTrans 48s infinite;
}

#photo1 img {
	-moz-animation-delay: 0s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}

#photo2 img {
	-moz-animation-delay: 8s;
	-webkit-animation-delay: 6s;
	animation-delay: 6s;
}

#photo3 img {
	-moz-animation-delay: 12s;
	-webkit-animation-delay: 12s;
	animation-delay: 12s;
}

#photo4 img {
	-moz-animation-delay: 18s;
	-webkit-animation-delay: 18s;
	animation-delay: 18s;
}

#photo5 img {
	-moz-animation-delay: 24s;
	-webkit-animation-delay: 24s;
	animation-delay: 24s;
}

#photo6 img {
	-moz-animation-delay: 30s;
	-webkit-animation-delay: 30s;
	animation-delay: 30s;
}

#photo7 img {
	-moz-animation-delay: 36s;
	-webkit-animation-delay: 36s;
	animation-delay: 36s;
}

#photo8 img {
	-moz-animation-delay: 42s;
	-webkit-animation-delay: 42s;
	animation-delay: 42s;
}

@-webkit-keyframes imgTrans {
	0% {
		opacity: 0;
		z-index: 10;
	}

	8% {
		opacity: 1;
	}

	17% {
		opacity: 1;
	}

	25% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

@keyframes imgTrans {
	0% {
		opacity: 0;
		z-index: 10;
	}

	8% {
		opacity: 1;
	}

	17% {
		opacity: 1;
	}

	25% {
		opacity: 0;
	}

	100% {
		opacity: 0;
		z-index: 0
	}
}

@media screen and (max-width:769px) {
	.mainimg {
		margin-bottom: 15px;
		border-radius: 16px;
		/*角丸のサイズ*/
	}
}