@charset "utf-8";

/*左から右にフェードイン*/
.left-to-right {
	opacity: 0;
	transform: translateX(-20px);
	transition: all 1s;
	transition-delay: .3s;
}
.left-to-right.inview {
	opacity: 1;
	transform: translate(0);
}

/*右から左にフェードイン*/
.right-to-left {
	opacity: 0;
	transform: translateX(20px);
	transition: all 1s;
	transition-delay: .3s;
}
.right-to-left.inview {
	opacity: 1;
	transform: translate(0);
}

/*下から上にフェードイン*/
.down-to-top {
	opacity: 0;
	transform: translateY(20px);
	transition: all 1s;
	transition-delay: .3s;
}
.down-to-top.inview {
	opacity: 1;
	transform: translateY(0);
}

/*フェードイン*/
.fade-in {
	opacity: 0;
	transition: all 1s;
	transition-delay: .3s;
}
.fade-in.inview {
	opacity: 1;
}


.down-to-top_parent .down-to-top_child {
	opacity: 0;
	transform: translateY(20px);
	transition: all 1s;
	transition-delay: .3s;
}
.down-to-top_parent.inview .down-to-top_child {
	opacity: 1;
	transform: translate(0);
}
.down-to-top_parent .down-to-top_child:nth-child(2) {
	transition-delay: .5s;
}
.down-to-top_parent .down-to-top_child:nth-child(3) {
	transition-delay: .7s;
}
.down-to-top_parent .down-to-top_child:nth-child(4) {
	transition-delay: .9s;
}
.down-to-top_parent .down-to-top_child:nth-child(5) {
	transition-delay: 1.1s;
}
.down-to-top_parent .down-to-top_child:nth-child(6) {
	transition-delay: 1.4s;
}



/*左から右にカーテン*/
.left-to-right-curtain {
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
	-webkit-clip-path: inset(0 100% 0 0);
	clip-path: inset(0 100% 0 0);
}
.left-to-right-curtain.inview {
	-webkit-animation: curtain_anim_left 1s cubic-bezier(0.7, 0, 0.17, 1) 0.2s 1 normal both running;
	animation: curtain_anim_left 1s cubic-bezier(0.7, 0, 0.17, 1) 0.2s 1 normal both running;
}
@keyframes curtain_anim_left {
	0% {
		-webkit-clip-path: inset(0 100% 0 0);
		clip-path: inset(0 100% 0 0)
	}
	to {
		-webkit-clip-path: inset(0 0 0 0);
		clip-path: inset(0 0 0 0)
	}
}

/*右から左にカーテン*/
.right-to-left-curtain {
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
	-webkit-clip-path: inset(0 100% 0 0);
	clip-path: inset(0 100% 0 0);
}
.right-to-left-curtain.inview {
	-webkit-animation: curtain_anim_right 1s cubic-bezier(0.7, 0, 0.17, 1) 0.2s 1 normal both running;
	animation: curtain_anim_right 1s cubic-bezier(0.7, 0, 0.17, 1) 0.2s 1 normal both running;
}
@keyframes curtain_anim_right {
	0% {
		-webkit-clip-path: inset(0 0 0 100%);
		clip-path: inset(0 0 0 100%)
	}
	to {
		-webkit-clip-path: inset(0 0 0 0);
		clip-path: inset(0 0 0 0)
	}
}


/*　Anime Delay
-----------------------------*/
.delay_time04 {
	transition-delay: 0.4s;
}
.delay_time05 {
	transition-delay: 0.5s;
}
.delay_time06 {
	transition-delay: 0.6s;
}
.delay_time07 {
	transition-delay: 0.7s;
}
.delay_time08 {
	transition-delay: 0.8s;
}
.delay_time09 {
	transition-delay: 0.9s;
}
.delay_time10 {
	transition-delay: 1s;
}