@charset "utf-8";


/*CSSスライドショー設定
---------------------------------------------------------------------------*/
/*１枚目*/
@keyframes slide1 {
	0% {opacity: 0;}
	10% {opacity: 1;}
	40% {}
	50% {opacity: 1;}
	60% {opacity: 0;}
	100% {opacity: 0;}
}

@media screen and (max-width:769px){
/* 白画像スライド */
.slide0w {
  display: block;
  background: url(../images/0m_.png) no-repeat center center/cover;
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  animation: slide0w 15s infinite linear;
  animation-fill-mode: both;
  /*animation-delay: 1s;*/
}
/* 白画像のアニメーション */
@keyframes slide0w {
  0% { opacity: 0; }
  12% { opacity: 0; }
  17% { opacity: 1; }
  22% { opacity: 1; }
  27% {opacity: 0; }
  40% { opacity: 0; }
  45% { opacity: 0; }
  50% {opacity: 1; }
  55% {opacity: 1; }
  65% {opacity: 0; }
  100% { opacity: 0; }
}
.slide1 {
  animation-delay: 2.9s;
}
}

/*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);
}

@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%;
}
/*白画像*/
/*
.slide0w {
  display: none;
}
*/
/*１枚目*/
.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){
/*土台画像*/
.slide0 {
	background: url(../images/0m.png) no-repeat center center/cover;
	position: relative;width: 100%;height: 100%;
}

/*１枚目*/
.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;
}

}

