/* ========== Opening ========== */
.opening {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	background: #fff;
	opacity: 1;
	transition: opacity 800ms ease;
}
.opening.is-fadeout {
	opacity: 0;
	pointer-events: none;
}

/* ロゴ左→右フェード（そのまま） */
.opening__logo {
	width: min(420px, 80vw);
	opacity: 0;
	-webkit-mask-image: linear-gradient(90deg,#000 0%,#000 50%,transparent 60%);
	-webkit-mask-size: 200% 100%;
	-webkit-mask-position: 100% 0;
	mask-image: linear-gradient(90deg,#000 0%,#000 50%,transparent 60%);
	mask-size: 200% 100%;
	mask-position: 100% 0;
	animation: logoFadeLR 1200ms ease forwards;
}
@keyframes logoFadeLR {
	to {
		opacity: 1;
		-webkit-mask-position: 0 0;
		mask-position: 0 0;
	}
}

/* ========== Page Cross Fade ========== */
.page {
	opacity: 1;
}
.js .page {
	opacity: 0;
}
.page.is-show {
	opacity: 1;
	transition: opacity 900ms ease;
	transition-delay: 160ms;
}


/*------------------------------------
.mv
------------------------------------*/
.top-bg__blue {
	background-color: #005bac;
}
.mv {
	position: relative;
	width: 100%;
	height: 79.63vh; /* 必要に応じて調整 */
	overflow: hidden;
}
.mv__video-wrap {
	position: absolute;
	top: calc(-170 / 1080 * 100vh);
	right: 0;
	width: calc(1660 / 1920 * 100vw);
	height: calc(1030 / 1080 * 100vh);
	border-radius: 50vh 0 0 50vh;
	overflow: hidden;
	z-index: 0;
}
.mv__video-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.3);
	pointer-events: none;
	z-index: 1;
}
.mv__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mv__content {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.mv__catch {
	position: absolute;
	top: calc(270 / 1080 * 100vh);
	left: calc(170 / 1920 * 100vw);
	font-size: clamp(24px, 3.125vw, 60px);
	color: #fff;
}
.mv__catch span {
	display: block;           /* 改行 */
	opacity: 0;
	-webkit-mask-image: linear-gradient(
		90deg,
		#000 0%,
		#000 50%,
		transparent 60%
	);
	-webkit-mask-size: 200% 100%;
	-webkit-mask-position: 100% 0;

	mask-image: linear-gradient(
		90deg,
		#000 0%,
		#000 50%,
		transparent 60%
	);
	mask-size: 200% 100%;
	mask-position: 100% 0;
}
.mv__catch span.is-show {
	animation: textFadeLR 1400ms ease forwards;
}

@keyframes textFadeLR {
	to {
		opacity: 1;
		-webkit-mask-position: 0 0;
		mask-position: 0 0;
	}
}
@media screen and (max-width: 768px) {
	.mv {
		height: auto;
		overflow: visible;
		display: grid;
	}
	.mv__video-wrap {
		grid-area: 1 / 1;
		position: relative;
		top: 0;
		width: 100%;
		height: 150vw;
		border-radius: 0;
		margin-top: 0;
		margin-left: auto;
	}
	.mv__video-wrap::before {
		content: "";
		position: absolute;
		bottom: -1px;
		background-image: url("../images/top/mv-bg.png");
		background-position: center bottom;
		background-repeat: no-repeat;
		background-size: cover;
		width: 100%;
		height: 100px;
		z-index: 2;
	}
	.mv__content {
		grid-area: 1 / 1;
		position: relative; /* absoluteをやめる */
		inset: auto;
		z-index: 1;
	}
	.mv__catch {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
		font-size: clamp(26px, 6.4vw, 32px);
		text-align: center;
	}
}

/*.mv__news*/
.mv__news {
	position: absolute;
	left: calc(170 / 1920 * 100vw);
	bottom: calc(70 / 1080 * 100vh);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 700ms ease, transform 700ms ease;
}
.mv__news.is-show {
	opacity: 1;
	transform: translateY(0);
}
.mv__news a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	position: relative;
	background-color: #fff;
	border-radius: 10px;
	width: 440px;
	height: 115px;
	padding: 0 60px 0 30px;
}
.mv__news a:hover {
	opacity: 1;
}
.mv__news a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	background-image: url("../images/arrow_bl.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 15px;
	height: 15px;
	transition: .3s cubic-bezier(.4,.4,0,1);
}
.mv__news a:hover::after {
	transform: translate(8px, -50%);
}
.mv__news time {
	font-size: 16px;
	letter-spacing: .08em;
	line-height: 1;
	color: #005bac;
}
.mv__news p {
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media screen and (max-width: 768px) {
	.mv__news {
		right: 3.65vw;
		bottom: 0;
		left: 3.65vw;
		width: auto;
	}
	.mv__news a {
		width: 100%;
		height: 80px;
	}
	.mv__news p {
		line-height: 1;
	}
}


/*------------------------------------
#intro
------------------------------------*/
#intro {
	padding: 80px 0 180px;
}
#intro .container {
	max-width: 900px;
	text-align: center;
	color: #fff;
}
#intro h2 {
	font-size: 35px;
	margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
	#intro {
		padding: 35px 0 100px;
	}
	#intro h2 {
		font-size: 18px;
		margin-bottom: 20px;
	}
	#intro p {
		text-align: left;
	}
}


/*------------------------------------
#about
------------------------------------*/
#about {
	margin-top: -100px;
}
.about__wrapper {
	position: relative;
}
.about__wrapper .container {
	display: flex;
	max-width: 1260px;
	height: 74.1vh;
}
.about__wrapper .container > * {
	width: 50%;
}
.about__wrapper .img {
	position: absolute;
	top: 0;
	left: 0;
	height: 74.1vh;
}
.about__wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right;
}
.about__wrapper .txt {
	margin-left: auto;
	padding-top: 21.8vh;
}
@media screen and (max-width: 768px) {
	#about {
		margin-top: -50px;
	}
	.about__wrapper .container {
		display: block;
		width: 100%;
		height: auto;
	}
	.about__wrapper .container > * {
		width: 100%;
	}
	.about__wrapper .img {
		position: static;
		height: auto;
		padding-right: 7.29vw;
	}
	.about__wrapper .txt {
		width: calc(100% - 7.29vw);
		margin: auto;
		padding: 30px 0 0;;
	}
}


/*------------------------------------
#business
------------------------------------*/
.top-bg__gray {
	position: relative;
	z-index: 2;
}
.top-bg__gray::after {
	content: "";
	position: absolute;
	top: 310px;
	right: 0;
	bottom: 100px;
	left: 0;
	background-color: #ebeff2;
	z-index: -1;
}
#business {
	margin-top: 160px;
}
#business .container {
	max-width: 1260px;
}
#business .ttl {
	align-items: center;
}
.business__row {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
}
.business__row li {
	width: calc((100% - 50px) / 2);
}
.business__row a:hover {
	opacity: 1;
}
.business__row .img {
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}
.business__row img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
	transform: scale(1);
}
.business__row a:hover img {
	transform: scale(1.1);
}
.business__row .txt {
	background-color: #fff;
	border-radius: 0 0 20px 20px;
	padding: 50px 50px 60px;
}
.business__row h3 {
	font-size: 35px;
	color: #005bac;
	margin-bottom: 30px;
}
.business__row .link {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	border: 2px solid #005bac;
	border-radius: 35px;
	max-width: 300px;
	width: 100%;
	height: 70px;
	letter-spacing: .08em;
	color: #005bac;
	margin: 30px auto 0;
}
.business__row .link::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	background-image: url("../images/arrow_bl.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 15px;
	height: 15px;
	transition: .3s cubic-bezier(.4,.4,0,1);
}
.business__row a:hover .link::after {
	transform: translate(8px, -50%);
}
@media screen and (max-width: 768px) {
	.top-bg__gray::after {
		top: 310px;
		bottom: 0;
	}
	#business {
		margin-top: 80px;
	}
	.business__row .txt {
		padding: 30px 30px 40px;
	}
	.business__row h3 {
		font-size: 22px;
		margin-bottom: 15px;
	}
	.business__row li {
		width: 100%;
	}
	.business__row .link {
		max-width: 250px;
		height: 60px;
		margin-top: 20px;
	}
}


/*------------------------------------
#company
------------------------------------*/
#company {
	padding-top: 160px;
}
.company__wrapper {
	position: relative;
}
.company__wrapper .container {
	display: flex;
	max-width: 1260px;
	height: 74.1vh;
}
.company__wrapper .container > * {
	width: 50%;
}
.company__wrapper .img {
	position: absolute;
	top: 0;
	right: 0;
	height: 74.1vh;
}
.company__wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left;
}
.company__wrapper .txt {
	margin-right: auto;
	padding-top: 9.26vh;
}
.company__wrapper p:not(:last-of-type) {
	margin-bottom: 20px;
}
.company__wrapper .sign {
	text-align: right;
}
@media screen and (max-width: 768px) {
	#company {
		padding: 70px 0;
	}
	.company__wrapper .container {
		display: block;
		width: 100%;
		height: auto;
	}
	.company__wrapper .container > * {
		width: 100%;
	}
	.company__wrapper .img {
		position: static;
		height: auto;
		padding-left: 7.29vw;
	}
	.company__wrapper .txt {
		width: calc(100% - 7.29vw);
		margin: auto;
		padding-top: 30px;
	}
}


/*------------------------------------
#recruit
------------------------------------*/
#recruit {
	position: relative;
	padding: 60px 0;
	z-index: 2;
}
#recruit .container {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	max-width: 1260px;
}
.recruit__inner {
	max-width: 550px;
	width: 100%;
}
.recruit-list {
	margin-top: 20px;
}
.recruit-list li {
	border-bottom: 1px solid #ddd;
}
.recruit-list a {
	display: block;
	position: relative;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #005bac;
	padding: 30px 0;
}
.recruit-list a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	background-image: url("../images/arrow_bl.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 15px;
	height: 15px;
	transition: .3s cubic-bezier(.4,.4,0,1);
}
.recruit-list a:hover::after {
	transform: translate(8px, -50%);
}
.recruit__txt {
	display: flex;
	flex-direction: column;
	gap: 22px;
	position: relative;
	writing-mode: vertical-rl;
	margin-top: 100px;
	z-index: 3;
}
.recruit__txt span {
	display: flex;
	align-items: center;
	background-color: #005bac;
	width: 56px;
	height: fit-content;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	padding: 10px 0;
}
.recruit__img {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}
.recruit__img img {
	position: absolute;
	width: 15.6vw;
}
.recruit__img img:first-child {
	bottom: 0;
	left: -8vw;
}
.recruit__img img:nth-child(2) {
	bottom: 225px;
	right: 30vw;
}
.recruit__img img:nth-child(3) {
	bottom: 0;
	right: 11vw;
}
.recruit__img img:nth-child(4) {
	bottom: 225px;
	right: -8vw;
}
@media screen and (max-width: 1600px) {
	.recruit__img img:first-child {
		left: -12vw;
	}
}
@media screen and (max-width: 1400px) {
	.recruit__img img {
		width: 17vw;
	}
	.recruit__img img:first-child {
		display: none;
	}
	.recruit__img img:nth-child(2) {
		right: 30vw;
	}
	.recruit__img img:nth-child(3) {
		right: 11vw;
	}
}
@media screen and (max-width: 1200px) {
	.recruit__img img {
		width: 19vw;
	}
	.recruit__img img:nth-child(2) {
		display: none;
	}
	.recruit__img img:nth-child(3) {
		right: 19vw;
		bottom: -20px;
	}
	.recruit__img img:nth-child(4) {
		bottom: 125px;
		right: -3vw;
	}
}
@media screen and (max-width: 768px) {
	.recruit__txt {
		gap: 5px;
		margin-top: 0;
	}
	.recruit__txt span {
		width: 40px;
		font-size: 18px;
	}
	.recruit__img img {
		width: 24vw;
	}
	.recruit__img img:nth-child(3) {
		right: 4vw;
		bottom: -60px;
	}
	.recruit__img img:nth-child(4) {
		bottom: 160px;
		right: -7vw;
	}
}
@media screen and (max-width: 500px) {
	.recruit__img img:nth-child(3) {
		right: 8vw;
	}
	.recruit__img img:nth-child(4) {
		bottom: 100px;
		right: -1vw;
	}
}


/*------------------------------------
#contact
------------------------------------*/
#contact {
	position: relative;
	padding: 170px 0;
	z-index: 1;
}
#contact::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #005bac;
	transform: skewY(-5deg);
	z-index: -1;
}
#contact .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	max-width: 1260px;
}
.contact__wide {
	max-width: 650px;
	width: 100%;
}
.contact__wide .ttl {
	color: #fff;
}
.contact__wide .ttl::after {
	background-color: #fff;
}
.contact__txt {
	color: #fff;
}
.contact__flow {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
	margin-top: 50px;
}
.contact__flow li {
	width: calc((100% - 50px) / 2);
}
.contact__flow .btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	background-color: #fff;
	border-radius: 35px;
	max-width: 300px;
	min-width: 300px;
	width: 100%;
	height: 70px;
	font-weight: 700;
	color: #005bac;
}
.contact__flow .btn a::before {
	content: "";
	background-image: url("../images/ico_mail.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 20px;
	height: 20px;
}
.contact__flow .number {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
	font-size: 35px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
}
.contact__flow .time {
	font-size: 14px;
	color: #fff;
}
.contact__flow .number::before {
	content: "";
	background-image: url("../images/ico_tel.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 24px;
	height: 24px;
}
.contact__narrow {
	max-width: 400px;
	width: 100%;
}
.contact__narrow a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	background-color: #fff;
	border-radius: 10px;
	max-width: 400px;
	width: 100%;
	height: 115px;
	font-size: 25px;
	font-weight: 700;
	line-height: 1;
	color: #005bac;
}
.contact__narrow a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	background-image: url("../images/ico_blanck_bl.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 12px;
	height: 10px;
}
@media screen and (max-width: 1200px) {
	#contact {
		padding: 90px 0;
	}
	contact .container {
		gap: 60px;
	}
	.contact__wide,
	.contact__narrow {
		max-width: 100%;
	}
	.contact__wide .ttl {
		align-items: center;
	}
	.contact__txt {
		text-align: center;
	}
	.contact__flow {
		justify-content: center;
		gap: 30px;
	}
	.contact__flow li {
		width: auto;
	}
	.contact__narrow a {
		margin: auto;
	}
}
@media screen and (max-width: 768px) {
	.contact__flow li {
		width: 100%;
	}
	.contact__flow .btn a {
		max-width: 250px;
		min-width: 250px;
		height: 60px;
		margin: auto;
	}
	.contact__flow .number {
		justify-content: center;
		font-size: 30px;
	}
	.contact__flow .time {
		font-size: 12px;
		text-align: center;
	}
	.contact__narrow a {
		max-width: 300px;
		height: 80px;
		font-size: 18px;
	}
}
