/***************************************************************************
only_css 固有CSS
****************************************************************************/

.page {
    padding-top: 0px;
}

/***************************************************************************
top_sld
****************************************************************************/

#top_sld {
    position: relative;
    padding-top: 50%;
}
#move_on,#move_off {
	position: absolute;
	left: 0;
	top: 0;
    height: 100%;
    width: 100%;
}
#move_on {
    z-index: 2;
}
#move_off {
    z-index: 1;
}

/***************************************************************************
loading
****************************************************************************/

.loading {
	position: absolute;
	left: 0;
	top: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #CCCCCC;
    font-size: 14px;
    z-index: 5;
    height: 100%;
    width: 100%;
}
.loading span {
	width: 60px;
	height: 60px;
	border: 5px solid rgba(204,204,204,0.6);
	border-top-color: rgba(204,204,204,1);
	border-radius: 50%;
	animation: spin 1.2s linear 0s infinite;
    margin-bottom: 15px;
}
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}

/***************************************************************************
control_btn
****************************************************************************/

.control_btn > div {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #FFFFFF;
    font-size: 12px;
    width: 6em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    background-color: black;
}
.control_btn .play_btn {
    z-index: 3;
}
.control_btn .skip_btn {
    z-index: 2;
}
.control_btn .replay_btn {
    z-index: 1;
}

/***************************************************************************
slick skip/replayボタンと違うところ　1シーンの中でアニメしているため、総アニメーションの
秒数で、skipとreplayボタンを表示・非表示にする必要あり。
****************************************************************************/

.control_btn .skip_btn,
.control_btn .replay_btn {
    overflow: hidden;
}
.movie .control_btn .skip_btn {
    animation: skip_btn 0s forwards;
	animation-delay: 4.5s;
    opacity: 1;
}
.movie .control_btn .replay_btn {
    animation: replay_btn 0s forwards;
	animation-delay: 4.5s;
}

@keyframes skip_btn {
0% {
}
100% {
    height: 0;
}
}

@keyframes replay_btn {
0% {
    height: 0;
}
100% {
    height: 2em;
}
}

/***************************************************************************
anime
****************************************************************************/

.anime {
    background-color: gray;
    position: relative;
    width: 100%;
    height: 100%;
}
.anime ul {
    position: absolute;
	top: 50%;
    left: 50%;
	transform: translateX(-50%) translateY(-50%);
    display: flex;
    flex-wrap: wrap;
}
.anime li {
    width: 50px;
    height: 50px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,0,93,0.5);
}
#move_off .anime li {
    background-color: rgba(0,0,0,0.5);
}

.movie .anime li {
    opacity: 0;
    animation: opacity_1 1s forwards;
}
.movie .anime li:nth-child(1) {
	animation-delay: 0.5s;
}
.movie .anime li:nth-child(2) {
	animation-delay: 1s;
}
.movie .anime li:nth-child(3) {
	animation-delay: 1.5s;
}
.movie .anime li:nth-child(4) {
	animation-delay: 2s;
}
.movie .anime li:nth-child(5) {
	animation-delay: 2.5s;
}
.movie .anime li:nth-child(6) {
	animation-delay: 3s;
}
.movie .anime li:nth-child(7) {
	animation-delay: 3.5s;
}
.movie .anime li:nth-child(8) {
	animation-delay: 4s;
}


@keyframes opacity_1 {
0% {
    opacity: 0;
}
100% {
    opacity: 1;
}
}
