@charset "UTF-8";

/*----＞＞スライドショー--------*/
/*----＞＞画像初期設定----*/
.cb-slideshow,
.cb-slideshow:after{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 0;
}
/*.cb-slideshow:after {
	content: '';
	background: transparent url(../img/ami.png) repeat top left;
}*/

.cb-slideshow li span{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	color: transparent;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: none;
	opacity: 0;
	z-index: 0;
	-webkit-animation: bgAnimation 50s linear infinite 0s;
	animation: bgAnimation 50s linear infinite 0s;
}


/*----＞＞タイトル初期設定----*/
.cb-slideshow li div {
	z-index: 1000;
	position: absolute;
	bottom: 40px;
	left: 0px;
	width: 100%;
	text-align: right;
	opacity: 0;
	color: #fff;
	-webkit-animation: titleAnimation 24s linear 1 0s;
	animation: titleAnimation 24s linear 1 0s;
}
.cb-slideshow li div p {
    font-size: 180px;
    padding: 0;
}

@media screen and (max-width: 1140px) {
    .cb-slideshow li div p { font-size: 120px }
}
@media screen and (max-width: 600px) {
    .cb-slideshow li div p { font-size: 55px }
}

/*----＞＞画像アニメーション設定----*/
.cb-slideshow li:nth-child(1) span {
	background-image: url(../img/bg01.jpg)
}
.cb-slideshow li:nth-child(2) span {
	background-image: url(../img/bg02.jpg);
	-webkit-animation-delay: 10s;
	animation-delay: 10s;
}
.cb-slideshow li:nth-child(3) span {
	background-image: url(../img/bg03.jpg);
	-webkit-animation-delay: 20s;
	animation-delay: 20s;
}
.cb-slideshow li:nth-child(4) span {
	background-image: url(../img/bg04.jpg);
	-webkit-animation-delay: 30s;
	animation-delay: 30s;
}
.cb-slideshow li:nth-child(5) span {
	background-image: url(../img/bg05.jpg);
	-webkit-animation-delay: 40s;
	animation-delay: 40s;
}

@keyframes bgAnimation {
	0% {
		opacity: 0;
		animation-timing-function: ease-in;
	}
	4% {
		opacity: 1;
		animation-timing-function: ease-out;
	}
	16% {
		opacity: 1;
	}
	32% {
		opacity: 0;
	}
	100% { opacity: 0 }
}
@-webkit-keyframes bgAnimation {
	0% {
		opacity: 0;
		-webkit-animation-timing-function: ease-in;
	}
	4% {
		opacity: 1;
		-webkit-animation-timing-function: ease-out;
	}
	16% {
		opacity: 1;
	}
	32% {
		opacity: 0;
	}
	100% { opacity: 0 }
}


/*----＞＞タイトルアニメーション設定----*/
@keyframes titleAnimation {
	0% {
		opacity: 0;
		transform: translateX(200px);
	}
	16% {
		opacity: 1;
		transform: translateX(0px);
	}
	24% {
		opacity: 1;
		transform: translateX(0px);
	}
	40% {
		opacity: 0;
		transform: translateX(-400px);
	}
	56% { opacity: 0 }
	100% { opacity: 0 }
}
@-webkit-keyframes titleAnimation {
	0% {
		opacity: 0;
		-webkit-transform: translateX(200px);
	}
	8% {
		opacity: 1;
		-webkit-transform: translateX(0px);
	}
	24% {
		opacity: 1;
		-webkit-transform: translateX(0px);
	}
	32% {
		opacity: 0;
		-webkit-transform: translateX(-400px);
	}
	40% { opacity: 0 }
	100% { opacity: 0 }
}


/*----＞＞アニメーション未対応時--------*/
.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}