/* TOP — photo / type / space first. No K-motif or diagonal cuts. */

.mv {
	position: relative;
	min-height: min(92vh, 860px);
	height: calc(100svh - var(--header-height));
	overflow: hidden;
	color: #fff;
}

.mv__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.mv__slides .mv__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.2s ease, visibility 0s linear 1.2s;
	pointer-events: none;
}

/* 動画はopacityトランジションが残像しやすいので即切替 */
.mv__slides .mv__media--video {
	object-position: center center;
	transition: none;
}

/* 人物が右寄りのため、左寄せコピー側に空を残す（動画の次の静止画から） */
.mv__slides .mv__media:nth-child(2) {
	object-position: 70% center;
}

.mv__slides .mv__media:nth-child(3) {
	object-position: 58% center;
}

.mv__slides .mv__media.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity 1.2s ease, visibility 0s linear 0s;
}

.mv__slides .mv__media--video.is-active {
	transition: none;
}

.mv__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		160deg,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.52) 28%,
		rgba(0, 0, 0, 0.28) 50%,
		rgba(0, 0, 0, 0.10) 68%,
		rgba(0, 0, 0, 0) 100%
	);
	pointer-events: none;
}

.mv__content {
	position: absolute;
	z-index: 3;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	width: min(calc(100% - 48px), var(--inner-width));
	margin-inline: auto;
	padding: 0;
	box-sizing: border-box;
}

.mv__catch {
	margin: 0;
	max-width: 12em;
	padding: 0;
	font-family: var(--font-sans);
	color: #fff;
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: 0.12em;
	background: none;
	text-shadow:
		1px 1px 0 rgb(0 0 0 / 72%),
		-1px 1px 0 rgb(0 0 0 / 45%),
		1px -1px 0 rgb(0 0 0 / 35%),
		-1px -1px 0 rgb(0 0 0 / 28%);
}

.mv__catch > .mv__catch-body {
	display: block;
	font-size: inherit;
	font-weight: inherit;
}

.mv__en {
	margin: 0;
	max-width: min(100%, 22em);
	padding: 0 4px;
	font-family: var(--font-display);
	font-size: clamp(13px, 1.6vw, 18px);
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.3;
	color: rgb(255 255 255 / 88%);
	text-shadow:
		1px 1px 0 rgb(0 0 0 / 68%),
		-1px 1px 0 rgb(0 0 0 / 40%);
}

/* —— ABOUT —— */
.about {
	background: #f6f6f6;
	padding-block: clamp(88px, 12vw, 140px);
	color: var(--color-text);
}

.about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.about__copy .section-heading {
	margin-bottom: 32px;
}

.about__title {
	margin: 0 0 28px;
	color: var(--color-primary);
	font-size: clamp(22px, 2.8vw, 34px);
	font-weight: 700;
	line-height: 1.65;
	letter-spacing: 0.06em;
}

.about__text {
	margin: 0 0 36px;
	max-width: 36em;
	color: var(--color-text-muted);
	line-height: 2;
}

.about__media {
	align-self: stretch;
	min-height: 420px;
}

.about__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

/* BUSINESS styles live in common.css (shared with BUSINESS page) */

/* —— WORKS —— */
.works {
	background: var(--color-bg);
	padding-block: clamp(88px, 12vw, 140px);
}

.works__lead {
	margin-bottom: 48px;
	color: var(--color-text-muted);
	line-height: 2;
}

.works__layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	grid-template-areas:
		"featured side"
		"action side";
	gap: 24px 48px;
	align-items: start;
}

.works__featured {
	grid-area: featured;
}

.works__side {
	grid-area: side;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.works__action {
	grid-area: action;
	margin-top: 8px;
}

.works__featured-media img {
	display: block;
	width: 100%;
	height: 480px;
	object-fit: cover;
}

.works__year {
	margin-top: 16px;
	color: var(--color-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.works__title {
	margin-top: 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.works__list {
	display: grid;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	height: 480px;
	gap: 16px;
}

.works__item {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
	min-height: 0;
}

.works__thumb {
	width: 160px;
	height: 100%;
	overflow: hidden;
}

.works__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.works__item-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.works__item .works__year {
	margin-top: 0;
	line-height: 1.4;
}

.works__item .works__title {
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.5;
}

/* —— INITIATIVES —— */
.initiatives {
	background: #f6f6f6;
	padding-block: clamp(88px, 12vw, 140px);
	color: var(--color-text);
}

.initiatives__intro {
	margin-bottom: 48px;
}

.initiatives__lead {
	margin-bottom: 12px;
	color: var(--color-primary);
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.initiatives__text {
	margin: 0;
	color: var(--color-text-muted);
	line-height: 2;
}

.initiatives__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.initiatives__media {
	overflow: hidden;
}

.initiatives__media img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.initiatives__title {
	margin-top: 18px;
	color: var(--color-text);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.initiatives__card {
	display: block;
	height: 100%;
}

.initiatives__action {
	margin-top: 48px;
}

/* —— RECRUIT —— */
.recruit.section--bg-fixed::before {
	background: linear-gradient(
		180deg,
		rgb(25 20 40 / 72%) 0%,
		rgb(25 20 40 / 58%) 42%,
		rgb(25 20 40 / 70%) 100%
	);
}

.recruit__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: clamp(88px, 12vw, 140px);
	text-align: center;
}

.recruit__heading {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 28px;
}

.recruit__heading .section-heading__line {
	display: none;
}

.recruit__heading .section-heading__en {
	order: 1;
}

.recruit__heading .section-heading__ja {
	order: 2;
}

.recruit__title {
	margin: 0 0 16px;
	max-width: 18em;
	width: 100%;
	color: #fff;
	font-size: clamp(24px, 3.4vw, 40px);
	font-weight: 800;
	line-height: 1.55;
	letter-spacing: 0.04em;
	text-align: center;
	word-break: keep-all;
}

.recruit__title-mark {
	display: inline;
	padding: 0 0.12em;
	background: linear-gradient(transparent 62%, rgb(82 46 145 / 88%) 62%);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.recruit__text {
	margin: 0 0 36px;
	max-width: 34em;
	width: 100%;
	color: rgb(255 255 255 / 92%);
	font-size: 15px;
	line-height: 2;
	text-align: center;
}

.recruit-highlights {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	max-width: 1000px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.recruit-highlights__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 96px;
	padding: 16px 20px;
	background: #fff;
	color: var(--color-text);
	text-align: left;
}

.recruit-highlights__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
}

.recruit-highlights__icon svg {
	display: block;
	width: 30px;
	height: 30px;
}

.recruit-highlights__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.recruit-highlights__label {
	color: var(--color-text-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
}

.recruit-highlights__value {
	color: var(--color-text);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.35;
}

.recruit-highlights__value em {
	display: inline;
	margin-right: 0.05em;
	padding: 0 0.06em;
	color: var(--color-primary);
	font-style: normal;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.1;
	background: linear-gradient(transparent 68%, rgb(255 214 74 / 85%) 68%);
}

.recruit__status {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 6px 0;
	margin: 0 0 28px;
	padding: 8px 0 8px 14px;
	border-left: 2px solid var(--color-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.6;
	text-align: left;
}

.recruit__status-jobs {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	min-width: 0;
}

.recruit__status-sep {
	display: inline-block;
	width: 1px;
	height: 0.95em;
	margin: 0 12px;
	background: rgb(255 255 255 / 55%);
	vertical-align: -0.1em;
}

.recruit__action {
	margin: 0;
}

.recruit__btn {
	min-width: min(320px, 100%);
}

/* —— NEWS —— */
.news {
	background: var(--color-bg);
	padding-block: clamp(72px, 10vw, 110px);
}

.news__list {
	border-top: 1px solid rgb(82 46 145 / 14%);
}

.news__link {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 24px;
	align-items: baseline;
	padding: 22px 4px;
	border-bottom: 1px solid rgb(82 46 145 / 14%);
}

.news__date {
	color: var(--color-primary);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.news__title {
	font-size: 15px;
	font-weight: 500;
}

.news__link:hover .news__title,
.news__link:focus-visible .news__title {
	color: var(--color-primary);
}

.news__action {
	margin-top: 40px;
}

/* —— Responsive —— */
@media (max-width: 1080px) {
	.about__inner {
		gap: clamp(40px, 5.5vw, 64px);
	}

	.about__media,
	.about__media img {
		min-height: 0;
		height: clamp(240px, 32vw, 360px);
	}

	.works__featured-media img,
	.works__list {
		height: clamp(280px, 38vw, 420px);
	}

	.works__item {
		grid-template-columns: clamp(96px, 13vw, 140px) minmax(0, 1fr);
		gap: 12px;
	}

	.works__thumb {
		width: clamp(96px, 13vw, 140px);
	}

	.recruit-highlights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.initiatives__media img {
		height: clamp(150px, 20vw, 220px);
	}
}

@media (max-width: 767px) {
	.mv {
		min-height: 520px;
		height: calc(100svh - var(--header-height));
		max-height: 720px;
	}

	.mv__content {
		width: min(calc(100% - 32px), var(--inner-width));
	}

	.mv__catch {
		max-width: 11em;
		padding: 0;
		font-size: clamp(26px, 7.2vw, 36px);
		letter-spacing: 0.1em;
		line-height: 1.45;
	}

	.mv__en {
		max-width: 100%;
		font-size: clamp(12px, 3.4vw, 14px);
		letter-spacing: 0.14em;
		line-height: 1.3;
	}

	.mv__slides .mv__media:nth-child(2) {
		object-position: 62% center;
	}

	.about__inner,
	.works__layout,
	.initiatives__list {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: none;
		gap: 28px;
	}

	.about__media,
	.about__media img,
	.works__featured-media img {
		min-height: 0;
		height: 260px;
	}

	.recruit-highlights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.recruit-highlights__item {
		justify-content: flex-start;
		min-height: 0;
		padding: 14px 12px;
	}

	.recruit-highlights__label {
		font-size: 11px;
	}

	.recruit-highlights__value {
		font-size: 13px;
	}

	.recruit-highlights__value em {
		font-size: 22px;
	}

	.works__featured,
	.works__side,
	.works__action {
		grid-area: auto;
	}

	.works__list {
		height: auto;
		grid-template-rows: none;
		gap: 20px;
	}

	.works__item {
		grid-template-columns: 120px 1fr;
	}

	.works__thumb {
		width: 120px;
		height: 84px;
	}

	.about__title {
		font-size: clamp(20px, 5.5vw, 26px);
	}

	.recruit__inner {
		align-items: center;
		text-align: center;
	}

	.recruit__heading {
		align-items: center;
		justify-content: center;
	}

	.recruit__title {
		font-size: clamp(20px, 5.4vw, 28px);
		max-width: none;
		text-align: center;
	}

	.recruit__text {
		margin-bottom: 28px;
		font-size: 14px;
		text-align: center;
	}

	.recruit__status {
		justify-content: center;
	}

	.recruit__action {
		text-align: center;
	}

	.recruit__btn {
		min-width: 0;
		width: 100%;
		max-width: 320px;
	}

	.initiatives__media img {
		height: 200px;
	}

	.news__link {
		grid-template-columns: 1fr;
		gap: 6px;
		padding-inline: 0;
	}

}

@media (prefers-reduced-motion: reduce) {
	.mv__slides .mv__media,
	.mv__slides img,
	.mv__slides video,
	.initiatives__media img {
		transition: none;
	}

}
