@charset "utf-8";


/*CSSスライドショー設定
---------------------------------------------------------------------------*/
/*１枚目*/
@keyframes slide1 {
	0% {opacity: 0;}
	10% {opacity: 1;}
	40% {}
	50% {opacity: 1;}
	60% {opacity: 0;}
	100% {opacity: 0;}
}
/*２枚目*/
@keyframes slide2 {
	0% {opacity: 0;}
	25% {opacity: 0;}
	35% {opacity: 1;}
	65% {}
	75% {opacity: 1;}
	85% {opacity: 0;}
	100% {opacity: 0;}
}
/*3枚目*/
@keyframes slide3 {
	0% {opacity: 0;}
	50% {opacity: 0;}
	60% {opacity: 1;}
	80% {opacity: 1;}
	90% {opacity: 0;}
	100% {opacity: 0;}
}

/*mainimg
---------------------------------------------------------------------------*/
/*画像ブロック*/
#mainimg {
	clear: left;
	text-indent: -9999px;
	position: fixed;	/*スクロールしても固定表示させる指定*/
	top: 0px;
	width: 100%;
	height: 100%;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);	/*影の設定。右に、下に、広げる幅、rgbaは色で0,0,0は黒、0.2は透明度20%の事。*/
}

@media screen and (max-width:480px){
#mainimg{
	width: 110%;
	left: -5%;
}
}

/*３枚画像の共通設定*/
.slide1,.slide2,.slide3 {
	animation-duration: 15s;	/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	position: absolute;left:0px;top:0px;width: 100%;height: 100%;
	animation-fill-mode: both;
	animation-timing-function: linear;
	animation-delay: 2s;
}
/*土台画像*/
.slide0 {
	background: url(../images/0.png) no-repeat center center/cover;
	position: relative;width: 100%;height: 100%;
}


/*１枚目*/
.slide1 {
	background: url(../images/1.jpg) no-repeat center center/cover;
	animation-name: slide1;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	background: url(../images/2.jpg) no-repeat center center/cover;
	animation-name: slide2;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*３枚目*/
.slide3 {
	background: url(../images/3.jpg) no-repeat center center/cover;
	animation-name: slide3;
}
/*スライドショー下の曲線グラデーション画像*/
#kazari {
	position: absolute;
	bottom: 89px;	/*飾りがメニューの上に配置されるよう、ここはメニューブロックの高さを指定しておく。*/
	z-index: 2;
	width: 100%;
}
@media screen and (max-width:600px){
	#kazari {
	bottom: 21px;	/*飾りがメニューの上に配置されるよう、ここはメニューブロックの高さを指定しておく。*/
}

}

@media screen and (max-width:769px){
/*１枚目*/
.slide1 {
	background: url(../images/1m.jpg) no-repeat top center/100%;
	animation-name: slide1;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	background: url(../images/2m.jpg) no-repeat top center/100%;
	animation-name: slide2;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*３枚目*/
.slide3 {
	background: url(../images/3m.jpg) no-repeat top center/100%;
	animation-name: slide3;
}

}

