/* +++#main-visual+++ */
canvas.confetti-canvas {
	pointer-events: none;
}
#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: 2.7vw;
	color: #e30073;
	line-height: 1.7;
	animation: fadeIn 1s ease 3s forwards;
}
.kunren-maker-logo {
	position: absolute;
	top: 45%;
	opacity: 0; 
	animation: fadeIn 1s ease 3s forwards;
}
@keyframes fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
.kunren-maker-logo img {
	width: 100%;
	height: auto;
}
.mv-slide{
	font-size: 6rem;
	font-weight: 700;
	white-space: nowrap;
	height: 1em;
	margin: auto;
	justify-content: flex-start;
	flex-wrap: nowrap;
	z-index: 2;
	overflow: hidden;
	transition: 1.2s opacity ease;
}
.mv-slide div{
	animation-name: mv-slide;
	animation-duration: 60s;
	animation-delay: -30s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-fill-mode: none;
	padding: 0 .5em;
	transition: .5s all ease;
}
.mv-slide div:nth-of-type(2){
	animation-name: mv-slide02;
	animation-duration: 60s;
	animation-delay: 0s;
}
.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%;
}
.sub-catch{
	font-size: 3rem;
	height: 6rem;
	width: fit-content;
	position: absolute;
	bottom: 18vh;
}
.sub-catch:before{
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: #ff5707d6;
	z-index: 1;
	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: 55rem;
	}

	#main-visual:before{
		bottom: auto;
		width: 100%;
		height: 33rem;
		top: 2rem;
		background-size: 100% auto;
		background-position: center top;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-15%);
		transition-delay: 1s;
		transition: 1s all ease;
	}

	#main-visual:after {
		position: absolute;
		right: 0;
		top: 6rem;
	}
*/
	#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;
	}

.news-list li{ height:auto; }
}