/* ==========================================================
   SERVICES
   ========================================================== */
.p-svintro {
	display: flex;
	flex-direction: column;
	gap: 5.6rem;
	max-width: 144rem;
	margin-inline: auto;
	padding: 12rem 6.4rem;
	background: var(--c-white);
}

.p-svintro__body {
	font-size: min(1.6rem, 16px);
	line-height: 2;
	color: #4a5261;
}

.p-svintro__sign {
	font-family: var(--f-cond);
	font-size: min(1.8rem, 19.8px);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.2;
	color: var(--c-blue);
	white-space: pre;
}

/* index */
.p-svindex {
	background: #000;
}

.p-svindex__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.6rem 4rem;
	max-width: 144rem;
	margin-inline: auto;
	padding: 6.4rem;
}

.p-svindex__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
	height: 100%;
	color: var(--c-white);
}

.p-svindex__label {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.p-svindex__en {
	font-family: var(--f-cond);
	font-size: min(3.2rem, 35.2px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--c-lime);
}

.p-svindex__ja {
	font-size: var(--fs-14);
	line-height: 1.5;
}

.p-svindex__item::after {
	content: "";
	display: block;
	height: 1px;
	background: var(--c-white);
}

.p-svindex__arrow {
	position: absolute;
	right: 1.6rem;
	bottom: 1.7rem;
	width: 2.4rem;
	height: 2.4rem;
	transition: transform 0.4s var(--ease);
}

.p-svindex__item:hover .p-svindex__arrow {
	transform: translateY(0.6rem);
}

/* detail */
.p-svdetail {
	background: var(--c-white);
	scroll-margin-top: 8.9rem;
}

.p-svdetail--gray {
	background: var(--c-bg);
}

.p-svdetail__layout {
	display: flex;
	gap: 8.2rem;
	align-items: flex-start;
	max-width: 144rem;
	margin-inline: auto;
	padding: 8rem 0 8rem 6.4rem;
}

.p-svdetail__identity {
	position: sticky;
	top: 9rem;
	flex: none;
	width: 35rem;
	padding-top: 8rem;
}

.p-svdetail__num {
	font-family: var(--f-cond);
	font-size: min(8rem, 88px);
	font-weight: 600;
	line-height: 1;
	color: var(--c-blue);
}

.p-svdetail__name {
	margin-top: 2.4rem;
	font-family: var(--f-cond);
	font-size: min(4rem, 44px);
	font-weight: 600;
	line-height: 1;
	color: var(--c-blue);
}

.p-svdetail__ja {
	margin-top: 2.4rem;
	font-size: var(--fs-14);
	font-weight: 700;
	line-height: 1.6;
	color: #141414;
}

.p-svdetail__marker {
	display: block;
	width: 6.4rem;
	height: 1rem;
	margin-top: 3.2rem;
	background: var(--c-lime);
}

.p-svdetail__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 5.1rem;
	min-width: 0;
	padding-top: 8rem;
}

.p-svdetail__image {
	height: 30rem;
	overflow: clip;
}

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

.p-svdetail__text,
.p-svdetail__cap {
	padding-right: 6.4rem;
}

.p-svdetail__head {
	font-size: min(3.2rem, 35.2px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: #141414;
}

.p-svdetail__lead {
	margin-top: 2.3rem;
	font-size: min(1.6rem, 16px);
	line-height: 2;
	color: #4a5261;
}

.p-svdetail__cap {
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
}

.p-svdetail__tags,
.p-svdetail__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.4rem;
	align-items: start;
}

.p-svdetail__tags li {
	padding: 1rem 1.6rem;
	background: var(--c-bg);
	font-size: var(--fs-14);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.05em;
	color: var(--c-blue);
}

.p-svdetail__step {
	display: flex;
	flex-direction: column;
	gap: 2.2rem;
	padding: 1.8rem 1.7rem 3.7rem 2rem;
	background: var(--c-bg);
}

.p-svdetail__step:first-child {
	padding: 2.4rem 2.4rem 3.2rem;
}

.p-svdetail--gray .p-svdetail__tags li,
.p-svdetail--gray .p-svdetail__step {
	background: var(--c-white);
}

.p-svdetail__step-num {
	margin-bottom: -1.1rem;
	font-family: var(--f-cond);
	font-size: min(1.6rem, 16px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--c-blue);
}

.p-svdetail__step-en {
	font-family: var(--f-cond);
	font-size: min(2.8rem, 30.8px);
	font-weight: 600;
	line-height: 1.2;
	color: #141414;
}

.p-svdetail__step-ja {
	font-size: var(--fs-14);
	line-height: 1.6;
	color: #4a5261;
}

.p-svdetail__sign {
	font-family: var(--f-cond);
	font-size: var(--fs-12);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1;
	color: var(--c-blue);
	white-space: pre-wrap;
}

/* ==========================================================
   SP
   ========================================================== */
@media (max-width: 1023px) {
	.p-svintro {
		gap: 3.2rem;
		max-width: 60rem;
		padding: 4.8rem 2rem;
	}

	.p-svintro__body { font-size: min(1.4rem, 14px); }
	.p-svintro__sign { font-size: min(1.8rem, 19.8px); }

	.p-svindex__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.4rem;
		max-width: 60rem;
		padding: 4rem 2rem;
	}

	.p-svindex__label { padding-right: 3.6rem; }
	.p-svindex__en { font-size: min(2.4rem, 26.4px); }
	.p-svindex__ja { font-size: min(1.2rem, 12px); }

	.p-svindex__arrow {
		right: 0.4rem;
		top: 3rem;
		bottom: auto;
	}

	.p-svdetail {
		scroll-margin-top: 6.4rem;
	}

	.p-svdetail__layout {
		flex-direction: column;
		gap: 3.2rem;
		max-width: 60rem;
		padding: 4.8rem 2rem 4.8rem;
	}

	.p-svdetail__identity {
		position: static;
		width: auto;
		padding-top: 0;
	}

	.p-svdetail__num { font-size: min(4rem, 44px); }

	.p-svdetail__name {
		margin-top: 1.6rem;
		font-size: min(4.8rem, 52.8px);
	}

	.p-svdetail__ja { margin-top: 1.6rem; }
	.p-svdetail__marker { margin-top: 2.4rem; }

	.p-svdetail__body {
		gap: 3.2rem;
		padding-top: 0;
	}

	.p-svdetail__image { height: 11.1rem; }

	.p-svdetail__text,
	.p-svdetail__cap {
		padding-right: 0;
	}

	.p-svdetail__head { font-size: min(2.4rem, 26.4px); }

	.p-svdetail__lead {
		margin-top: 1.6rem;
		font-size: min(1.4rem, 14px);
	}

	.p-svdetail__cap { gap: 2.4rem; }

	.p-svdetail__tags {
		grid-template-columns: 1fr; /* タグは縦に並べる */
		gap: 1.2rem;
	}

	.p-svdetail__tags li {
		text-align: center;
		padding: 1.2rem 0.8rem;
	}

	.p-svdetail__steps {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}

	.p-svdetail__step,
	.p-svdetail__step:first-child {
		gap: 1.2rem;
		padding: 2.4rem 2rem;
	}

	.p-svdetail__step-num { margin-bottom: 0; }
	.p-svdetail__step-en { font-size: min(3.2rem, 35.2px); }
}
