@charset "utf-8";


/*CSSスライドショーアニメーション設定
---------------------------------------------------------------------------*/
@keyframes slide1 {
	0% {opacity: 0;transform: scale(1);}
	5% {opacity: 0;}
	10% {opacity: 1;}
	25% {opacity: 1;}
	40% {opacity: 0;}
	100% {opacity: 0;transform: scale(1.2);}
}
@keyframes slide2 {
	0% {opacity: 0;transform: scale(1);}
	20% {opacity: 0;}
	25% {opacity: 1;}
	45% {opacity: 1;}
	60% {opacity: 0;}
	100% {opacity: 0;transform: scale(1.2);}
}
@keyframes slide3 {
	0% {opacity: 0;transform: scale(1.2);}
	40% {opacity: 0;}
	45% {opacity: 1;}
	65% {opacity: 1;}
	80% {opacity: 0;}
	100% {opacity: 0;transform: scale(1);}
}
@keyframes slide4 {
	0% {opacity: 0;transform: scale(1.2);}
	60% {opacity: 0;}
	65% {opacity: 0;}
	91% {opacity: 1;}
	93% {opacity: 1;}
	100% {opacity: 1;transform: scale(1);}
}



/*mainimg
---------------------------------------------------------------------------*/
/*画像ブロック*/
#mainimg {
	position: relative;
	clear: left;
	text-indent: -9999px;
	position: fixed;
	top: 0px;left: 0px;
	width: 100%;
	height: 100%;
	z-index: -1;
}
/*画像の共通設定*/
.slide0,.slide1,.slide2,.slide3,.slide4 {width: 100%;height: 100%;}
.slide1,.slide2,.slide3,.slide4 {
	animation-timing-function: linear;
	animation-duration: 20s;	/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:1;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	position: absolute;left:0px;top:0px;width: 100%;height: 100%;
	animation-fill-mode: both;
	animation-delay: 1s;
}
/*土台画像*/
.slide0 {
	background: #000 url(../images/bg1.jpg) no-repeat center center;	/*古いブラウザ用*/
	background: url(../images/logo_slide.png) no-repeat right bottom / cover, url(../images/bg1.jpg) no-repeat center center / cover;
	position: relative;
}
/*１枚目*/
.slide1 {
	background: url(../images/top-image1.jpg) no-repeat center center/cover;
	animation-name: slide1;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	background: url(../images/top-image2.jpg) no-repeat center center/cover;
	animation-name: slide2;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*３枚目*/
.slide3 {
	background: url(../images/top-image3.jpg) no-repeat center bottom/cover;
	animation-name: slide3;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*4枚目*/
.slide4 {
	background: url(../images/top-image4.jpg) no-repeat center center/cover;
	animation-name: slide4;		/*上で設定しているキーフレーム（keyframes）の名前*/
}


/*トップページ以外の背景画像
---------------------------------------------------------------------------*/
/*画像の共通設定*/
.slide-sub1,.slide-sub2 {width: 100%;height: 100%;}

/*slide-sub1*/
.slide-sub1 {
	background: url(../images/subimg1.jpg) no-repeat center center/cover;
}
/*slide-sub2*/
.slide-sub2 {
	background: url(../images/subimg2.jpg) no-repeat center center/cover;
}

	

/* SKIP */
.box p a{
    position: absolute;
    bottom: 30px;
    right: 30px;
	display:block;
  width:70px;
  height:70px;
  margin:1em auto;
  line-height:70px;
  background-color: rgba(0,0,0,0.7);
  border-radius:100%;
  color:#fff;
  font-size:15px;
  text-decoration:none;
  text-align:center;
}
