/*
 * 提携クリエイター（Figma PC 56:5522）。
 * クリエイター/インフルエンサーマーケティングページだけに出るセクション。
 */

.service-creators {
	padding-top: 160px;
}

.service-creators__head {
	display: grid;
	grid-template-columns: 44.445% 26.389%;
	align-items: start;
	justify-content: space-between;
}

.service-creators__lead {
	margin: 40px 0 0;
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0.04em;
}

.service-creators__lead-sp {
	display: none;
}

/* 実績はFigmaで幅380px（=26.389%）、下に1本罫線が入る。 */
.service-creators__stat {
	display: flex;
	margin: 62px 0 0;
	padding-bottom: 20px;
	flex-direction: column;
	border-bottom: 1px solid #656565;
	color: #efefef;
	container-type: inline-size;
}

.service-creators__stat-label {
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: 0.04em;
}

.service-creators__stat-value {
	display: flex;
	margin-top: 12px;
	align-items: baseline;
	white-space: nowrap;
}

.service-creators__stat-value strong {
	font-family: var(--font-en);
	font-size: 100px;
	font-weight: 600;
	line-height: 1;
}

.service-creators__stat-value span {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
}

/* PC狭幅でも「1,000名以上」を段落ち・横はみ出しさせない。 */
@media (min-width: 900px) {
	@container (max-width: 340px) {
		.service-creators__stat-value strong {
			font-size: 64px;
		}

		.service-creators__stat-value span {
			font-size: 16px;
		}
	}
}

.service-creators__list {
	display: grid;
	margin: 54px auto 0;
	padding: 0;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 2.431%;
	list-style: none;
}

.service-creators__list.creator-rail__group--clone {
	display: none;
}

.creator-circle img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
}

.creator-circle__name {
	display: block;
	margin-top: 20px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.8;
	letter-spacing: 0.04em;
	text-align: center;
}

@media (max-width: 899px) {
	.service-creators {
		--service-creators-sp: min(100vw, 500px);
		--service-creators-gutter: calc(var(--service-creators-sp) * 20 / 390);

		padding-top: calc(var(--service-creators-sp) * 120 / 390);
	}

	.service-creators__head {
		width: calc(100% - (var(--service-creators-gutter) * 2));
		grid-template-columns: minmax(0, 1fr);
	}

	.service-creators .section-heading-en {
		font-size: calc(var(--service-creators-sp) * 36 / 390);
	}

	.service-creators .section-heading-jp {
		margin-top: calc(var(--service-creators-sp) * 4 / 390);
		font-size: calc(var(--service-creators-sp) * 18 / 390);
	}

	.service-creators__lead {
		margin-top: calc(var(--service-creators-sp) * 40 / 390);
		font-size: calc(var(--service-creators-sp) * 14 / 390);
	}

	.service-creators__lead-pc {
		display: none;
	}

	.service-creators__lead-sp {
		display: inline;
	}

	.service-creators__stat {
		margin-top: calc(var(--service-creators-sp) * 40 / 390);
		padding-bottom: calc(var(--service-creators-sp) * 12 / 390);
	}

	.service-creators__stat-label {
		font-size: calc(var(--service-creators-sp) * 14 / 390);
	}

	.service-creators__stat-value {
		margin-top: calc(var(--service-creators-sp) * 16 / 390);
		gap: calc(var(--service-creators-sp) * 9 / 390);
	}

	.service-creators__stat-value strong {
		font-size: calc(var(--service-creators-sp) * 80 / 390);
	}

	.service-creators__stat-value span {
		font-size: calc(var(--service-creators-sp) * 40 / 390);
		transform: translateY(calc(var(--service-creators-sp) * 2 / 390));
	}

	/*
	 * SPは165pxの円を等幅の2組にし、共通creator-loop.cssで自動ループする。
	 */
	.service-creators__list {
		width: max-content;
		max-width: none;
		margin: 0;
		padding: 0 var(--service-creators-gutter) 0 0;
		grid-auto-flow: column;
		grid-auto-columns: calc(var(--service-creators-sp) * 165 / 390);
		grid-template-columns: none;
		gap: calc(var(--service-creators-sp) * 20 / 390);
		flex: none;
	}

	.service-creators__rail {
		margin-top: calc(var(--service-creators-sp) * 60 / 390);
		overflow: hidden;
	}

	.service-creators__track {
		display: flex;
		width: max-content;
		position: relative;
		left: var(--service-creators-gutter);
	}

	.service-creators__list.creator-rail__group--clone {
		display: grid;
	}

	.creator-circle {
		scroll-snap-align: center;
	}

	.creator-circle__name {
		margin-top: calc(var(--service-creators-sp) * 12 / 390);
		font-size: calc(var(--service-creators-sp) * 14 / 390);
	}
}
