@charset "UTF-8";
/* ==========================================================================
   MakeIT v9 / top.css（TOP ページ専用）
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.p-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: max(100svh, 640px);
	padding-top: calc(var(--header-h) + 64px);
	padding-bottom: var(--space-md);
	isolation: isolate;
	overflow: hidden;
}

/* 周囲（上・左右）に余白を取り、角丸のカードにする（8px / 20px。参考サイトは PC のみだが SP にも適用） */
.p-hero {
	margin: 8px 8px 0;
	border-radius: 20px;
}

.p-hero__slides {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.p-hero__slides::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(1, 1, 1, .5) 0%, rgba(1, 1, 1, 0) 65%),
		linear-gradient(180deg, rgba(1, 1, 1, .5) 0%, rgba(1, 1, 1, .1) 30%, rgba(1, 1, 1, .25) 55%, rgba(1, 1, 1, .8) 100%);
	content: "";
}

.p-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.8s ease;
}

.p-hero__slide.is-active {
	opacity: 1;
}

.p-hero__slide picture {
	height: 100%;
}

.p-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.1);
	transition: transform 9s cubic-bezier(.25, .1, .25, 1);
}

.p-hero__slide.is-active img {
	transform: scale(1);
}

.p-hero__body {
	width: 100%;
}

.p-hero__label {
	margin-bottom: var(--space-sm);
	color: rgba(255, 255, 255, .8);
}

.p-hero__title {
	margin-bottom: var(--space-lg);
}

.p-hero__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--space-md) var(--gutter);
}

.p-hero__lead {
	max-width: 42em;
	color: rgba(255, 255, 255, .88);
}

.p-hero__card {
	width: 100%;
	padding: 18px 20px 8px;
	border-radius: var(--radius-lg);
	background: rgba(1, 1, 1, .16);
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
	backdrop-filter: blur(18px) saturate(1.3);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

@media (min-width: 700px) {
	.p-hero__card {
		width: 380px;
	}
}

.p-hero__cardLabel {
	margin-bottom: 8px;
	color: rgba(255, 255, 255, .7);
}

.p-hero__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-block: 11px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -.02em;
}

.p-hero__no {
	font-family: var(--font-mono);
	font-size: 11px;
	opacity: .55;
}

.p-hero__link .c-arrow {
	margin-left: auto;
	opacity: .5;
	transition: transform .5s var(--ease-expo), opacity .3s;
}

@media (hover: hover) {
	.p-hero__link:hover .c-arrow {
		opacity: 1;
		transform: translateX(4px);
	}
}

.p-hero__dots {
	position: absolute;
	top: 50%;
	right: var(--margin-x);
	display: none;
	flex-direction: column;
	gap: 8px;
	transform: translateY(-50%);
}

@media (min-width: 700px) {
	.p-hero__dots {
		display: flex;
	}
}

.p-hero__dot {
	width: 2px;
	height: 28px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .3);
	transition: background-color .6s;
}

.p-hero__dot.is-active {
	background: var(--color-white);
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.p-intro__title {
	margin-bottom: var(--space-lg);
}

.p-intro__body {
	display: grid;
	justify-items: start;
	gap: var(--space-md);
	max-width: 46em;
}

/* --------------------------------------------------------------------------
   会場の悩み診断バナー
   遷移先（s_project/analyze.php）の配色に合わせたブルーグレー
   （背景 #F2F3F6 + rgba(60,82,112,.07) のグラデーション、アクセント #192130）
   -------------------------------------------------------------------------- */
.p-diagnosis {
	padding-bottom: var(--space-section);
}

.p-diagnosis__card {
	--diag-bg: #e8ebf0;
	--diag-navy: #192130;
	--diag-ink: #4a5468;
	--diag-line: rgba(25, 33, 48, .16);
	position: relative;
	display: grid;
	align-items: end;
	gap: var(--space-md);
	padding: var(--space-lg) var(--space-md);
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, rgba(60, 82, 112, .12) 0%, rgba(60, 82, 112, 0) 56%), var(--diag-bg);
	color: var(--diag-navy);
	isolation: isolate;
	overflow: hidden;
}

/* ホバー時に重ねる明るい面 */
.p-diagnosis__card::before {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, .35);
	content: "";
	opacity: 0;
	transition: opacity .6s;
	z-index: -1;
}

@media (min-width: 700px) {
	.p-diagnosis__card {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

.p-diagnosis__title {
	margin-block: var(--space-sm) var(--space-xs);
}

.p-diagnosis__text {
	max-width: 40em;
	line-height: 1.9;
	color: var(--diag-ink);
	font-size: var(--fs-body-md);
}

.p-diagnosis__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--space-sm);
}

.p-diagnosis__tag {
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .55);
	box-shadow: inset 0 0 0 1px var(--diag-line);
	color: var(--diag-ink);
	font-size: 12px;
}

.p-diagnosis__more {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
}

.p-diagnosis__arrow {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--diag-navy);
	color: var(--color-white);
	transition: transform .6s var(--ease-expo);
}

@media (hover: hover) {
	.p-diagnosis__card:hover::before {
		opacity: 1;
	}

	.p-diagnosis__card:hover .p-diagnosis__arrow {
		transform: translateX(6px);
	}
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.p-services__head {
	align-items: end;
	margin-bottom: var(--space-xl);
}

.p-services__title {
	margin-top: var(--space-sm);
}

.p-services__list {
	border-top: 1px solid var(--color-line-inverse);
}

.p-services__item {
	border-bottom: 1px solid var(--color-line-inverse);
}

.p-services__link {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	align-items: baseline;
	column-gap: 12px;
	padding-block: clamp(22px, 1.6vw + 16px, 40px);
	color: var(--color-white);
	transition: color .4s;
}

.p-services__no {
	color: var(--color-gray-500);
	font-family: var(--font-mono);
	font-size: 12px;
}

.p-services__en {
	display: block;
	line-height: 1;
	font-size: var(--fs-heading-md);
	font-weight: 700;
	letter-spacing: -.045em;
}

.p-services__ja {
	display: block;
	margin-top: 10px;
	color: var(--color-gray-400);
	font-size: 13px;
}

.p-services__arrow {
	align-self: center;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--color-line-inverse);
	transition: background-color .4s, color .4s, transform .6s var(--ease-expo);
}

.p-services__lead {
	grid-column: 2 / -1;
	max-width: 34em;
	line-height: 1.8;
	margin-top: 14px;
	color: var(--color-gray-400);
	font-size: 14px;
}

.p-services__media {
	display: none;
}

@media (min-width: 1000px) {
	.p-services__link {
		grid-template-columns: 56px minmax(0, 1fr) auto;
		color: var(--color-gray-500);
	}

	.p-services__item.is-active .p-services__link {
		color: var(--color-white);
	}

	.p-services__item.is-active .p-services__arrow {
		background: var(--color-white);
		color: var(--color-black);
		transform: rotate(-45deg);
	}

	.p-services__media {
		display: block;
	}
}

.p-services__frame {
	position: sticky;
	top: calc(var(--header-h) + 40px);
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	background: var(--color-gray-900);
	overflow: hidden;
}

.p-services__img {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.08);
	transition: opacity .7s ease, transform 1.4s var(--ease-expo);
}

.p-services__img.is-active {
	opacity: 1;
	transform: none;
}

.p-services__img picture {
	height: 100%;
}

.p-services__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   Feature（ES）
   -------------------------------------------------------------------------- */
.p-feature__card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(560px, 30vw + 400px, 820px);
	padding: var(--space-lg) var(--space-md);
	border-radius: var(--radius-xl);
	isolation: isolate;
	overflow: hidden;
}

.p-feature__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.p-feature__bg::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(1, 1, 1, .1) 0%, rgba(1, 1, 1, .75) 100%);
	content: "";
}

.p-feature__bg picture {
	height: 100%;
}

.p-feature__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-feature__body {
	max-width: 680px;
}

/* SP: 本文が画像全面に重なって背景が見えなくなるため、画像を上・本文を下に分ける */
@media (max-width: 699px) {
	.p-feature__card {
		display: block;
		min-height: 0;
		padding: 0;
		background: var(--color-black);
	}

	.p-feature__bg {
		position: relative;
		aspect-ratio: 4 / 3;
		z-index: auto;
	}

	.p-feature__bg::after {
		background: linear-gradient(180deg, rgba(1, 1, 1, 0) 55%, rgba(1, 1, 1, .9) 100%);
	}

	.p-feature__body {
		padding: var(--space-sm) var(--space-sm) var(--space-md);
	}
}

.p-feature__title {
	margin-block: var(--space-sm) var(--space-md);
}

.p-feature__text {
	color: rgba(255, 255, 255, .82);
}

.p-feature__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: var(--space-md);
}

/* --------------------------------------------------------------------------
   Works
   -------------------------------------------------------------------------- */
.p-works__title {
	margin-top: var(--space-sm);
}

.p-works__tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
}

@media (max-width: 699px) {
	.p-works__tools .c-btn {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Recruit（画像なしのテキストカード）
   -------------------------------------------------------------------------- */
.p-recruit__card {
	display: grid;
	align-items: end;
	gap: var(--space-md) var(--gutter);
	padding: var(--space-lg) var(--space-md);
	border-radius: var(--radius-xl);
	background: var(--color-gray-100);
	transition: background-color .4s;
}

@media (min-width: 700px) {
	.p-recruit__card {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

.p-recruit__title {
	margin-top: var(--space-sm);
}

.p-recruit__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: var(--space-md);
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	font-size: 15px;
	font-weight: 500;
}

.p-recruit__more .c-arrow {
	transition: transform .5s var(--ease-expo);
}

@media (hover: hover) {
	.p-recruit__card:hover {
		background: #e8e8e8;
	}

	.p-recruit__card:hover .p-recruit__more .c-arrow {
		transform: translateX(4px);
	}
}
