@charset "utf-8";


/*CSSスライドショー設定
---------------------------------------------------------------------------*/
@keyframes slide0 {
  0% {opacity: 1; transform: scale(1.1);}
  10% {opacity: 1;}
  20% {opacity: 0.5; transform: scale(1);}
  30% {opacity: 0;}
  40% {opacity: 0;}
  50% {opacity: 0;}
  60% {opacity: 0;}
  70% {opacity: 0;}
  80% {opacity: 0;}
  90% {opacity: 0;}
  100% {opacity: 1; transform: scale(1.1);}
}

@keyframes slide1 {
  0% {opacity: 0; transform: scale(1.3);}
  10% {opacity: 0;}
  20% {opacity: 1;}
  30% {opacity: 1;}
  40% {opacity: 0.5;}
  50% {opacity: 0;}
  60% {opacity: 0;}
  70% {opacity: 0;}
  80% {opacity: 0;}
  90% {opacity: 0;}
  100% {opacity: 0; transform: scale(1);}
}

@keyframes slide2 {
  0% {opacity: 0; transform: scale(1.3);}
  10% {opacity: 0;}
  20% {opacity: 0;}
  30% {opacity: 0;}
  40% {opacity: 1;}
  50% {opacity: 1;}
  60% {opacity: 0.5;}
  70% {opacity: 0;}
  80% {opacity: 0;}
  90% {opacity: 0;}
  100% {opacity: 0; transform: scale(1);}
}

@keyframes slide3 {
  0% {opacity: 0; transform: scale(1.3);}
  10% {opacity: 0;}
  20% {opacity: 0;}
  30% {opacity: 0;}
  40% {opacity: 0;}
  50% {opacity: 0;}
  60% {opacity: 1;}
  70% {opacity: 1;}
  80% {opacity: 0.5;}
  90% {opacity: 0;}
  100% {opacity: 0; transform: scale(1);}
}
@keyframes slide4 {
  0% {opacity: 0; transform: scale(1.3);}
  20% {opacity: 0;}
  30% {opacity: 0;}
  40% {opacity: 0;}
  50% {opacity: 0;}
  60% {opacity: 0;}
  70% {opacity: 0;}
  80% {opacity: 1;}
  90% {opacity: 1;}
  100% {opacity: 0; transform: scale(1);}
}


/*mainimg
---------------------------------------------------------------------------*/
/*画像ブロック*/
#mainimg {
	clear: left;
	text-indent: -9999px;
	position: relative;	/*スクロールしても固定表示させる指定*/
	top: 0px;
	width: 100%;
	height: 864px;
	z-index: -1;
}
/*３枚画像の共通設定*/
.slide0,.slide1,.slide2,.slide3,.slide4 {
	animation-timing-function: linear;
	animation-duration: 30s;	/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	position: absolute;left:0px;top:0px;width: 100%;height: 864px;
	animation-fill-mode: both;
	animation-delay: 1s;
}
/*土台画像*/
.slide0 {
	background: url(../images/pc_1366/pc_fv_001.jpg) no-repeat center center/cover;
	position: relative;width: 100%; 
	animation-name: slide0;
	height: 864px;
}
/*１枚目*/
.slide1 {
	background: url(../images/pc_1366/pc_fv_002.jpg) no-repeat center center/cover;
	animation-name: slide1;
	height: 864px;
			/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	background: url(../images/pc_1366/pc_fv_003.jpg) no-repeat center center/cover;
	animation-name: slide2;
	height: 864px;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*３枚目*/
.slide3 {
	background: url(../images/pc_1366/pc_fv_004.jpg) no-repeat center center/cover;
	animation-name: slide3;	
	height: 864px;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*4枚目*/
.slide4 {
	background: url(../images/pc_1366/pc_fv_005.jpg) no-repeat center center/cover;
	animation-name: slide4;	
	height: 864px;	/*上で設定しているキーフレーム（keyframes）の名前*/
}

@media screen and (max-width:1020px) {
	
	/*３枚画像の共通設定*/
.slide0,.slide1,.slide2,.slide3,.slide4 {
	animation-timing-function: linear;
	animation-duration: 30s;	/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	position: absolute;left:0px;top:0px;width: 100%;height: 842px;
	animation-fill-mode: both;
	animation-delay: 1s;
}
/*土台画像*/
.slide0 {
	background: url(../images/tb_1024/tb_fv_001.jpg) no-repeat center center/cover;
	position: relative;width: 100%; 
	animation-name: slide0;
	height: 842px;
}
/*１枚目*/
.slide1 {
	background: url(../images/tb_1024/tb_fv_002.jpg) no-repeat center center/cover;
	animation-name: slide1;
	height: 842px;
			/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	background: url(../images/tb_1024/tb_fv_003.jpg) no-repeat center center/cover;
	animation-name: slide2;
	height: 842px;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*３枚目*/
.slide3 {
	background: url(../images/tb_1024/tb_fv_004.jpg) no-repeat center center/cover;
	animation-name: slide3;	
	height: 842px;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*4枚目*/
.slide4 {
	background: url(../images/tb_1024/tb_fv_005.jpg) no-repeat center center/cover;
	animation-name: slide4;	
	height: 842px;	/*上で設定しているキーフレーム（keyframes）の名前*/
}

}

@media screen and (max-width:430px) {
	/*３枚画像の共通設定*/
.slide0,.slide1,.slide2,.slide3,.slide4 {
	animation-timing-function: linear;
	animation-duration: 30s;	/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	position: absolute;left:0px;top:0px;
	width: 100%; height: 100%;
	animation-fill-mode: both;
	animation-delay: 1s;
}
/*土台画像*/
.slide0 {
	background: url(../images/sp_390/sp_fv_001.jpg) no-repeat center center/cover;
	position: relative;width: 100%; 
	animation-name: slide0;
	height: 100%;
}
/*１枚目*/
.slide1 {
	background: url(../images/sp_390/sp_fv_002.jpg) no-repeat center center/cover;
	animation-name: slide1;
	height: 100%;
			/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	background: url(../images/sp_390/sp_fv_003.jpg) no-repeat center center/cover;
	animation-name: slide2;
	height: 100%;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*３枚目*/
.slide3 {
	background: url(../images/sp_390/sp_fv_004.jpg) no-repeat center center/cover;
	animation-name: slide3;	
	height: 100%;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*4枚目*/
.slide4 {
	background: url(../images/sp_390/sp_fv_005.jpg) no-repeat center center/cover;
	animation-name: slide4;	
	height: 100%;	/*上で設定しているキーフレーム（keyframes）の名前*/
}

}

