@charset "utf-8";
/* デスクトップ */
@media (min-width: 501px){
#content_wrap {
	height:600px;
	margin: 0 auto;
}
.cb-slideshow li {
	opacity: 0;
	animation: imageAnimation 18s linear infinite 0s;
}
.cb-slideshow li:nth-child(1) {
	height:600px;
    background:url("../images/desktop/bg_01.jpg") center top no-repeat;
}
.cb-slideshow li:nth-child(2) { 
    height:600px;
	margin-top:-600px;
    background:url("../images/desktop/bg_02.jpg") center top no-repeat;
	animation-delay: 3s;
}
.cb-slideshow li:nth-child(3) { 
    height:600px;
	margin-top:-600px;
    background:url("../images/desktop/bg_03.jpg") center top no-repeat;
	animation-delay: 6s;
}
.cb-slideshow li:nth-child(4) { 
    height:600px;
	margin-top:-600px;
    background:url("../images/desktop/bg_04.jpg") center top no-repeat;
	animation-delay: 9s;
}
.cb-slideshow li:nth-child(5) { 
    height:600px;
	margin-top:-600px;
    background:url("../images/desktop/bg_05.jpg") center top no-repeat;
	animation-delay: 12s;
}
.cb-slideshow li:nth-child(6) { 
    height:600px;
	margin-top:-600px;
    background:url("../images/desktop/bg_06.jpg") center top no-repeat;
	animation-delay: 15s;
}
}

/* スマホ */
@media screen and (min-width:10px) and (max-width:500px) {
#content_wrap {
	height:0;
	/*padding-top: 79.6875%;*/
	background-size: contain;
	margin: 0 auto;
}
.cb-slideshow li {
	opacity: 0;
	animation: imageAnimation 18s linear infinite 0s;
}
.cb-slideshow li:nth-child(1) {
	height:0;
	padding-top: calc(598 / 750 * 100%);
    background:url(../images/smp/bg_01.jpg) center top no-repeat;
	background-size: contain;
}
.cb-slideshow li:nth-child(2) { 
    height:0;
	padding-top: calc(598 / 750 * 100%);
	margin-top: calc(598 / 750 * -100%);
    background:url(../images/smp/bg_02.jpg) center top no-repeat;
	background-size: contain;
	animation-delay: 3s;
}
.cb-slideshow li:nth-child(3) { 
    height:0;
	padding-top: calc(598 / 750 * 100%);
	margin-top: calc(598 / 750 * -100%);
    background:url("../images/smp/bg_03.jpg") center top no-repeat;
	background-size: contain;
	animation-delay: 6s;
}
.cb-slideshow li:nth-child(4) { 
    height:0;
	padding-top: calc(598 / 750 * 100%);
	margin-top: calc(598 / 750 * -100%);
    background:url("../images/smp/bg_04.jpg") center top no-repeat;
	background-size: contain;
	animation-delay: 9s;
}
.cb-slideshow li:nth-child(5) { 
    height:0;
	padding-top: calc(598 / 750 * 100%);
	margin-top: calc(598 / 750 * -100%);
    background:url("../images/smp/bg_05.jpg") center top no-repeat;
	background-size: contain;
	animation-delay: 12s;
}
.cb-slideshow li:nth-child(6) { 
    height:0;
	padding-top: calc(598 / 750 * 100%);
	margin-top: calc(598 / 750 * -100%);
    background:url("../images/smp/bg_06.jpg") center top no-repeat;
	background-size: contain;
	animation-delay: 15s;
}
}

@keyframes imageAnimation {  
	0% { opacity: 0; animation-timing-function: ease-in; }
    8.33% { opacity: 1; animation-timing-function: ease-out; }
    16.66% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 } 
} 
@-webkit-keyframes imageAnimation {
	0% { opacity: 0; animation-timing-function: ease-in; }
	8.33% { opacity: 1; animation-timing-function: ease-out; }
    16.66% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 } 
}
.no-cssanimations .cb-slideshow li {
	opacity: 1;
}
