/*
 * TOP(スラッグ top・LP白紙テンプレート)のページ単位CSS。
 * 全セレクタを .ns-lp-top 配下に置く(干渉ゼロ)。
 * 実測値: 青強調 #1a6aff / 見出し青 #004cf0 / 薄青 #dce8ff / CTA #ff8c00。
 */

.ns-lp-top {
	overflow-x: clip;
	background: #fff;
	font-size: 16px;
}

.ns-lp-top .ns-blue {
	color: var(--wp--preset--color--bright);
}

.ns-lp-top .ns-btn {
	display: inline-block;
	min-width: 300px;
	padding: 16px 36px;
	border-radius: 5px;
	background: var(--wp--preset--color--cta);
	color: #fff;
	font-size: 1.125rem;
	letter-spacing: 0.12em;
	text-align: center;
	text-decoration: none;
}

.ns-lp-top .ns-btn:hover {
	opacity: 0.85;
	text-decoration: none;
}

.ns-lp-top .ns-sec-title {
	margin: 0 0 48px;
	color: var(--wp--preset--color--accent);
	font-size: 1.75rem;
	font-weight: 500;
	text-align: center;
}

.ns-lp-top section {
	margin: 0;
}

/* ---------- ヒーロー ---------- */

.ns-lp-top .ns-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas:
		"eyebrow photo"
		"title   photo"
		"cta     photo";
	align-content: center;
	column-gap: 40px;
}

.ns-lp-top .ns-hero__eyebrow {
	grid-area: eyebrow;
	align-self: end;
	margin: 0 0 20px;
	padding-left: clamp(24px, 8vw, 116px);
	font-size: 1rem;
}

.ns-lp-top .ns-hero__title {
	grid-area: title;
	margin: 0;
	padding-left: clamp(24px, 8vw, 116px);
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 400;
	line-height: 1.65;
}

.ns-lp-top .ns-hero__sub {
	display: none;
}

.ns-lp-top .ns-hero__cta {
	grid-area: cta;
	align-self: start;
	width: max-content;
	max-width: 100%;
	margin: 36px 0 0;
	padding-left: clamp(24px, 8vw, 116px);
	text-align: center;
}

.ns-lp-top .ns-badge {
	display: inline-block;
	margin: 0 0 -1px;
	padding: 6px 22px;
	border: 1px solid var(--wp--preset--color--cta);
	background: #fff;
	font-size: 0.875rem;
}

.ns-lp-top .ns-hero__cta .ns-btn {
	display: block;
	width: 356px;
	max-width: 100%;
	margin-top: -1px;
}

.ns-lp-top .ns-hero__photo {
	grid-area: photo;
	margin: 0;
	line-height: 0;
}

.ns-lp-top .ns-hero__photo img {
	width: 100%;
	height: min(60.4vw, 870px);
	object-fit: cover;
}

/* ---------- お悩み・解決 ---------- */

.ns-lp-top .ns-catch {
	margin: 0 0 40px;
	font-size: clamp(24px, 2.4vw, 34px);
	font-weight: 400;
	line-height: 1.7;
	text-align: center;
}

.ns-lp-top .ns-worry {
	padding: 96px 24px 0;
}

.ns-lp-top .ns-checklist {
	max-width: 780px;
	margin: 0 auto;
	padding: 30px 40px;
	background: var(--wp--preset--color--pale);
	list-style: none;
}

.ns-lp-top .ns-checklist li {
	position: relative;
	margin: 0;
	padding: 8px 0 8px 46px;
	font-size: 1.125rem;
	line-height: 1.7;
}

.ns-lp-top .ns-checklist li::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 6px;
	width: 20px;
	height: 11px;
	border-left: 3px solid var(--wp--preset--color--ink);
	border-bottom: 3px solid var(--wp--preset--color--ink);
	transform: rotate(-50deg);
}

.ns-lp-top .ns-solve {
	padding: 88px 24px 0;
}

.ns-lp-top .ns-solve__box {
	max-width: 720px;
	margin: 0 auto 32px;
	padding: 34px 24px;
	background: var(--wp--preset--color--pale);
	font-size: 1.1875rem;
	line-height: 1.9;
	text-align: center;
}

.ns-lp-top .ns-solve__note {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 2;
	text-align: center;
}

/* ---------- 提供価値 ---------- */

.ns-lp-top .ns-value {
	max-width: 1100px;
	margin-inline: auto;
	padding: 96px 24px 0;
}

.ns-lp-top .ns-value__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.ns-lp-top .ns-value__item {
	text-align: center;
}

.ns-lp-top .ns-value__item img {
	width: 76px;
	height: 76px;
	margin-bottom: 20px;
}

.ns-lp-top .ns-value__item h3 {
	margin: 0 0 16px;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.6;
}

.ns-lp-top .ns-value__item p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 2;
}

/* ---------- コンサルタント ---------- */

.ns-lp-top .ns-consultant {
	max-width: 1040px;
	margin-inline: auto;
	padding: 110px 24px 0;
}

.ns-lp-top .ns-consultant .ns-sec-title {
	margin-bottom: 56px;
}

.ns-lp-top .ns-consultant__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	align-items: start;
}

.ns-lp-top .ns-consultant__photo {
	margin: 0;
	line-height: 0;
}

.ns-lp-top .ns-consultant__photo img {
	width: 100%;
	height: auto;
}

.ns-lp-top .ns-consultant__role {
	margin: 0 0 6px;
	font-size: 0.875rem;
}

.ns-lp-top .ns-consultant__name {
	margin: 0 0 28px;
	font-size: 1.875rem;
}

.ns-lp-top .ns-consultant__name span {
	margin-left: 14px;
	color: #b0b0b0;
	font-size: 0.875rem;
}

.ns-lp-top .ns-label {
	margin: 26px 0 8px;
	color: var(--wp--preset--color--accent);
	font-size: 0.9375rem;
	font-weight: 500;
}

.ns-lp-top .ns-consultant__body p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.9;
}

.ns-lp-top .ns-consultant__list {
	margin: 0;
	padding-left: 1.4em;
	font-size: 0.9375rem;
	line-height: 1.9;
}

.ns-lp-top .ns-consultant__list li {
	margin-bottom: 0.5em;
}

/* ---------- 転職の流れ ---------- */

.ns-lp-top .ns-flow {
	max-width: 900px;
	margin-inline: auto;
	padding: 110px 24px 0;
}

.ns-lp-top .ns-flow__list {
	margin: 0 0 64px;
	padding: 0;
	list-style: none;
	counter-reset: flow;
}

.ns-lp-top .ns-flow__list li {
	position: relative;
	counter-increment: flow;
	margin: 0 0 34px 30px;
	padding: 26px 24px 26px 90px;
	border: 1px solid var(--wp--preset--color--accent);
	font-size: 1rem;
	text-align: center;
}

.ns-lp-top .ns-flow__list li::before {
	content: "0" counter(flow);
	position: absolute;
	top: 50%;
	left: -30px;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	color: #fff;
	font-size: 1.25rem;
	transform: translateY(-50%);
}

.ns-lp-top .ns-flow__cta {
	margin: 0;
	text-align: center;
}

/* ---------- 利用者の声 ---------- */

.ns-lp-top .ns-voice {
	max-width: 1100px;
	margin-inline: auto;
	padding: 110px 24px 96px;
}

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

.ns-lp-top .ns-voice__card {
	padding: 96px 22px 30px;
	border: 1px solid var(--wp--preset--color--bright);
	background: #fff;
}

.ns-lp-top .ns-voice__card h3 {
	margin: 0 0 14px;
	font-size: 0.9375rem;
	font-weight: 400;
}

.ns-lp-top .ns-voice__path {
	margin: 0 0 20px;
	font-size: 0.9375rem;
	font-weight: 700;
}

.ns-lp-top .ns-voice__card > p:last-child {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.9;
}

/* ---------- SP ---------- */

@media (max-width: 767px) {
	.ns-lp-top .ns-hero {
		grid-template-columns: 100%;
		grid-template-areas:
			"photo"
			"title"
			"sub"
			"cta";
	}

	.ns-lp-top .ns-hero__eyebrow {
		display: none;
	}

	.ns-lp-top .ns-hero__photo img {
		height: min(118vw, 460px);
		object-position: 70% 20%;
	}

	.ns-lp-top .ns-hero__title {
		width: 86%;
		margin: -104px 0 0;
		padding: 20px 18px;
		background: #fff;
		font-size: 22px;
		line-height: 1.8;
		z-index: 1;
	}

	.ns-lp-top .ns-hero__sub {
		display: block;
		grid-area: sub;
		margin: 28px 0 0;
		font-size: 1.0625rem;
		line-height: 2;
		text-align: center;
	}

	.ns-lp-top .ns-hero__cta {
		margin: 24px 0 0;
		padding: 0 24px 0;
		text-align: center;
	}

	.ns-lp-top .ns-hero__cta .ns-btn {
		max-width: none;
		margin-inline: auto;
	}

	.ns-lp-top .ns-worry,
	.ns-lp-top .ns-solve {
		padding-top: 64px;
	}

	.ns-lp-top .ns-checklist {
		padding: 22px 20px;
	}

	.ns-lp-top .ns-checklist li {
		padding-left: 36px;
		font-size: 1rem;
	}

	.ns-lp-top .ns-checklist li::before {
		top: 14px;
		left: 2px;
		width: 16px;
		height: 9px;
	}

	.ns-lp-top .ns-value,
	.ns-lp-top .ns-consultant,
	.ns-lp-top .ns-flow,
	.ns-lp-top .ns-voice {
		padding-top: 72px;
	}

	.ns-lp-top .ns-value__grid,
	.ns-lp-top .ns-voice__grid {
		grid-template-columns: 100%;
		gap: 44px;
	}

	.ns-lp-top .ns-consultant__grid {
		grid-template-columns: 100%;
		gap: 32px;
	}

	.ns-lp-top .ns-voice__card {
		padding-top: 30px;
	}

	.ns-lp-top .ns-flow__list li {
		margin-left: 24px;
		margin-bottom: 28px;
		padding: 20px 16px 20px 48px;
	}

	.ns-lp-top .ns-flow__list li::before {
		left: -24px;
		width: 48px;
		height: 48px;
		font-size: 1rem;
	}

	.ns-lp-top .ns-voice {
		padding-bottom: 64px;
	}
}
