@charset "utf-8";

#header {
	@media screen and (min-width: 744px), print {
		nav {
			.gnav {
				color: var(--color-base);
			}
		}
	}
}

body.-page-index {
	--line-right-pos: calc(50% + 48rem);
	--line-left-pos: calc(50% - 42.5rem);
	@media screen and (max-width: 743px) {
		--line-right-pos: calc(50% + 7.6rem);
		--line-left-pos: -10rem;
	}
}
.page_contents {
	padding-top: var(--header-height);
	@media screen and (max-width: 743px) {
		padding-top: 0;
	}
}

/* index_main
====================================================================== */
.index_main {
	overflow: hidden;
	position: relative;
	max-height: 82rem;
	min-height: 50rem;
	height: calc(100svh - var(--header-height));
	z-index: 5;
	@media screen and (max-width: 743px) {
		max-height: calc(47.7rem + 5rem);
		height: calc(100svh - var(--header-height) - 5rem);
	}
	.txt {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		z-index: 2;
		@media screen and (max-width: 743px) {
			bottom: 5rem;
		}
		.en {
			font-size: 8rem;
			line-height: 1;
			color: #fff;
			@media screen and (max-width: 743px) {
				padding-left: var(--sp-base-padding);
				font-size: 3.7rem;
			}
		}
		.copy {
			position: absolute;
			right: 6rem;
			bottom: 6rem;
			display: flex;
			flex-direction: row-reverse;
			align-items: start;
			gap: 1rem;
			& > span {
				padding: 1.5rem .3rem;
				background-color: rgba(255,255,255,.9);
				font-size: 3rem;
				line-height: 1.5;
				writing-mode: vertical-rl;
				.punct {
					display: inline-block;
					margin-bottom: -0.4em;
				}
			}
			@media screen and (max-width: 743px) {
				right: var(--sp-base-padding);
				bottom: -4rem;
				gap: 0.5rem;
				& > span {
					padding: 1rem .3rem;
					font-size: 1.6rem;
				}
			}
		}
	}
	.ph {
		--width: 100rem;
		--gap: 8rem;
		--duration: 100s;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		display: flex;
		pointer-events: none;
		user-select: none;
		z-index: -1;
		@media screen and (max-width: 743px) {
			--width: 34.5rem;
			--gap: 4rem;
			--duration: 50s;
			bottom: 5rem;
		}
		animation: main_slide var(--duration) linear infinite;
		li {
			width: var(--width);
			margin-right: var(--gap);
			picture {
				height: 100%;
			}
		}
	}
}
@keyframes main_slide {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc((var(--width) + var(--gap)) * -5));
	}
}
.index_main_line {
	top: calc(13rem + var(--header-height));
}


/* index_lead
====================================================================== */
.index_lead {
	position: relative;
	padding-top: 16rem;
	padding-bottom: 2rem;
	padding-left: 10rem;
	@media screen and (max-width: 743px) {
		margin-bottom: 17rem;
		padding-top: 7rem;
		padding-bottom: 8rem;
		padding-left: var(--sp-base-padding);
	}
	&::before {
		content: "";
		position: absolute;
		left: 0;
		top: -24rem;
		bottom: -14rem;
		width: 90rem;
		background-color: #fff;
		opacity: 0.5;
		z-index: -1;
		@media screen and (max-width: 743px) {
			width: calc(100% - 2rem);
			bottom: 0;
		}
	}
	h2 {
		position: relative;
		margin-bottom: 5rem;
		font-size: 6rem;
		line-height: 1;
		@media screen and (max-width: 743px) {
			margin-bottom: 4rem;
			font-size: 3rem;
		}
		&::before {
			content: "";
			position: absolute;
			left: -10rem;
			top: 0;
			bottom: 0;
			width: .4rem;
			background: linear-gradient(155deg, var(--color-grad1) -10%, var(--color-grad2) 190%);
			@media screen and (max-width: 743px) {
				width: 0.3rem;
				left: calc(var(--sp-base-padding) * -1);
			}
		}
	}
	.ph {
		@media screen and (min-width: 744px), print {
			position: absolute;
			right: 0;
			top: 16rem;
			width: 70rem;
		}
		@media screen and (max-width: 743px) {
			margin-top: 1lh;
			aspect-ratio: 690 / 420;
			img {
				width: 100%;
				height: 100%;
				object-fit: cover;
				object-position: 50% 0;
			}
		}
	}
}

.index_lead_point {
	position: relative;
	z-index: 3;
	&::after {
		content: "";
		position: absolute;
		top: -40rem;
		right: 0;
		width: 4rem;
		height: 88rem;
		background: linear-gradient(155deg, var(--color-grad1) -10%, var(--color-grad2) 190%);
		@media screen and (max-width: 743px) {
			top: -36rem;
			width: 1rem;
		}
	}
}


/* index_about_us
====================================================================== */
.index_about_us {
	position: relative;
	margin-top: 20rem;
	color: #fff;
	background-color: #fff;
	@media screen and (max-width: 743px) {
		margin-top: 5rem;
	}
	.bg_block {
		position: sticky;
		top: var(--header-height);
		height: calc(100vh - var(--header-height));
		display: flex;
		align-items: center;
		@media screen and (max-width: 743px) {
			top: 0;
			height: calc(100dvh - 5rem);
		}
		.img {
			position: absolute;
			inset: 0;
			margin: auto;
			img {
				height: 100%;
				object-fit: cover;
				@media screen and (max-width: 743px) {
					object-position: 80% 50%;
				}
			}
			.black {
				position: absolute;
				inset: 0;
				background-color: rgba(0, 0, 0, 0.3);
				opacity: 0;
			}
			.kuro {
				position: absolute;
				inset: 0;
				background-color: rgba(0, 0, 0, 0.5);
				opacity: 0;
			}
		}
	}
	.content {
		padding-bottom: 100vh;
		text-align: center;
		@media screen and (max-width: 743px) {
			padding-bottom: 8rem;
			text-align: left;
		}
		.lead {
			font-size: 3.6rem;
			line-height: calc(70 / 36);
			@media screen and (max-width: 743px) {
				font-size: 2rem;
				line-height: calc(80 / 40);
			}
		}
		.more {
			margin-top: 8rem;
			@media screen and (max-width: 743px) {
				margin-top: 4rem;
			}
		}
	}
}


/* index_business
====================================================================== */
.index_business {
	position: relative;
	padding-block: 16rem;
	z-index: auto;
	color: #fff;
	@media screen and (max-width: 743px) {
		padding-block: 8rem;
	}
	&:before {
		content: "";
		display: block;
		background: linear-gradient(-45deg, var(--color-grad1) -50%, var(--color-grad2) 130%);
		position: absolute;
		inset: 0;
		z-index: 2;
		opacity: 0.9;
	}
	.video {
		content: "";
		position: absolute;
		inset: 0;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		z-index: -3;
	}
	& > * {
		position: relative;
		z-index: 4;
	}

	.business {
		display: flex;
		@media screen and (max-width: 743px) {
			flex-direction: column;
			gap: 4rem;
		}
		li {
			position: relative;
			@media screen and (min-width: 744px), print {
				width: 50%;
				&:last-child {
					margin-top: 8rem;
				}
			}
			.en {
				position: absolute;
				top: 3rem;
				left: 3rem;
				font-size: 1.8rem;
				line-height: 1;
				writing-mode: vertical-rl;
				@media screen and (max-width: 743px) {
					top: 1.2rem;
					left: 1.2rem;
					font-size: 1rem;
				}
			}
			.caption {
				display: block;
				position: relative;
				margin-top: 2rem;
				padding-left: 4rem;
				font-size: 2.4rem;
				line-height: 2;
				&::before {
					content: "";
					position: absolute;
					top: .5lh;
					left: 0;
					width: 2rem;
					border-top: 2px solid var(--color-theme);
				}
				@media screen and (max-width: 743px) {
					margin-top: 1rem;
					padding-left: 2rem;
					font-size: 1.4rem;
					&::before {
						width: 1rem;
						border-top-width: 1px;
					}
				}
			}
		}
	}
	.more {
		margin-top: 9rem;
		@media screen and (max-width: 743px) {
			margin-top: 4rem;
		}
	}

	.index-business-line1 {
		top: 30rem;
		@media screen and (max-width: 743px) {
			top: 4.5rem;
		}
	}
	.index-business-line2 {
		bottom: 8rem;
	}
}


/* index_slides
====================================================================== */
.index_slides {
	--width: 279.6rem;
	--duration: 100s;
	@media screen and (max-width: 743px) {
		--width: calc(279.6rem / 2);
		--duration: 50s;
	}
	position: relative;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
	.slide {
		--from: 0;
		--to: calc(var(--width) * -1);
		display: flex;
		width: calc(var(--width) * 2);
		animation: break_slide var(--duration) linear infinite;
		img {
			width: var(--width);
		}
		&:nth-child(2) {
			--from: calc(var(--width) * -1);
			--to: 0;
		}
	}
}
@keyframes break_slide {
	from {
		transform: translateX(var(--from));
	}
	to {
		transform: translateX(var(--to));
	}
}


/* index_company
====================================================================== */
.index_company {
	position: relative;
	padding-block: 10rem;
	z-index: auto;
	@media screen and (max-width: 743px) {
		padding-block: 5rem 8rem;
	}
	& > * {
		position: relative;
		z-index: 4;
	}
	&::before {
		content: "";
		position: absolute;
		inset: 0;
		background-color: #fff;
		opacity: 0.5;
		z-index: -1;
		@media screen and (min-width: 744px), print {
			bottom: -6rem;
		}
	}
	.more {
		@media screen and (min-width: 744px), print {
			margin-left: 50%;
		}
	}
}

/* index_fellowship
====================================================================== */
.index_fellowship {
	position: relative;
	padding-block: 22rem 8rem;
	z-index: auto;
	@media screen and (max-width: 743px) {
		padding-block: 7rem;
	}
	& > * {
		position: relative;
		z-index: 4;
	}
	&::before {
		content: "";
		position: absolute;
		top: 6rem;
		left: 0;
		right: calc(50% + 58rem);
		height: 77rem;
		background-color: var(--bg-base);
		opacity: 0.5;
		mix-blend-mode: multiply;
		z-index: -1;
		@media screen and (max-width: 743px) {
			top: 0;
			right: calc(50% + 8rem);
			height: 50rem;
		}
	}
	@media screen and (max-width: 743px) {
		.index-fellowship-line1 {
			top: 17rem;
		}
		.index-fellowship-line2 {
			top: 62%;
		}
	}
}
.index-fellowship-marquee {
	padding-top: 3rem;
	@media screen and (max-width: 743px) {
		padding-top: 2rem;
	}
}

