@charset "UTF-8";


/* +++#main-visual+++ */

#main-visual{
	height: 100vh;
	overflow: hidden;
	position: relative;
}
#main-visual:before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/mainvisual2.jpg) no-repeat;
	background-size: cover;
	background-position: center 60%;
	//opacity: 0;
	//visibility: hidden;
	//transform: none;
	//transition: opacity 1s ease;
	//transition-delay: 0.5s;
}
.loaded #main-visual:before{
	opacity: 1;
	visibility: visible;
}
.main-catchcopy {
	position: absolute;
	top: 25%;
	opacity: 0; 
	font-size: 4.7vh;
	color: #e30073;
	line-height: 1.7;
	animation: fadeIn .8s ease 1s forwards;
}
.kunren-maker-logo {
	position: absolute;
	top: 45%;
	opacity: 0; 
	animation: fadeIn .8s ease 1s forwards;
}
@keyframes fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
.kunren-maker-logo img {
	width: 100%;
	height: auto;
}

.mv-text-area{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: min(6rem, 8.6vh);
	padding-inline: 2.5vw;
	overflow: hidden;
}
#main-visual .text-red{
	color: #e60012;
	font-size: 4rem;
	margin-bottom: 4rem;
	line-height: 1.2 !important;
}
#main-visual .text-red .large{
	font-size: 140%;
}
.sub-catch-area{
	height: 100%;
	opacity: 0;
	transition: opacity .8s ease;
	transition-delay: 2s;
}
.loaded .sub-catch-area{
	opacity: 1;
}
.sub-catch{
	font-size: 3rem;
	height: 6rem;
	width: fit-content;
	position: absolute;
	bottom: 18vh;
	padding: 0 3rem;
	color: #434343;
}
.sub-catch:before{
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: -25%;
	background: #ff5707d6;
	white-space: nowrap;
	overflow: hidden;
	/*transition: .5s all cubic-bezier(0.5, 0, 0, 1.42);*/
	/*transition-delay: 2.8s;*/
	/*transform: scaleX(0);*/
	/*transform-origin: left top;*/
	z-index: 1;
}
.loaded .sub-catch:before{
	transform: scaleX(1);
}
.sub-catch span{
	position: relative;
	z-index: 9;
	padding: 0 .75em;
}
.sub-catch .slide-up{
	transform: translateY(6rem);
	transition: .3s all ease;
}

@keyframes mv-slide{
	0%{
		transform: translateX(100%);
	}
	100%{
		transform: translateX(-100%);
	}
}

@keyframes mv-slide02{
	0%{
		transform: translateX(0);
	}
	100%{
		transform: translateX(-200%);
	}
}



@media screen and (max-width: 768px){

/* +++#main-visual+++ */

	#main-visual{
		height: 75vh;
	}

	#main-visual:before{
		position: absolute;
		top: 4rem;
		left: 0;
		background-position: 70% top;
	}

	.mv-slide{
		font-size: 2.4rem;
		transition: 1.2s opacity ease;
	}

	.mv-text-area{
		bottom: 4rem;
	}
	#main-visual .text-red{
		font-size: 2.4rem;
		margin-bottom: 1.8rem;
	}

	.main-catchcopy {
		top: 50%;
		left: 3%;
		font-size: 5.5vw;
}

	.kunren-maker-logo {
		top: 72%;
		left: 3%;
	}

	.kunren-maker-logo img {
		width: 75%;
	}

	.sub-catch{
		margin-top: 2.2rem;
		font-size: 1.8rem;
		height: 6rem;
		bottom: 33vh;
	}




}