/*
 * タレント一覧（モック Members.dc.html）
 * パンくず・ページ見出し（.breadcrumb / .page-head）は components.css。
 */

.members {
	padding-top: 40px;
}

.members__count {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
}

.members__count-num {
	font-family: var(--wp--preset--font-family--display);
	font-size: 48px;
	font-weight: 800;
	line-height: 1;
}

.members__count-label {
	color: var(--vnoco-mute);
	font-family: "DotGothic16", sans-serif;
	font-size: 14px;
}

/* タレントのカード：立ち絵1のバストアップ（切り抜き位置は components.css の .talent-card__img--{スラッグ}） */
.member-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 40px 32px;
}

.member-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.member-card__art {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--talent-color, var(--wp--preset--color--paper));
}

.member-card__info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 2px 0;
}

.member-card__catch {
	color: var(--vnoco-sub);
	font-size: 14px;
	font-weight: 700;
}

.member-card__name {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
}

.member-card:hover .member-card__name {
	color: var(--vnoco-hover);
}

.member-card__roman {
	color: var(--vnoco-purple);
	font-family: var(--wp--preset--font-family--display);
	font-size: 15px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.08em;
}

/* ---------- UNIT ---------- */
.units {
	padding-top: 100px;
}

.unit {
	display: flex;
	flex-wrap: wrap;
	background: var(--wp--preset--color--paper);
}

/* 2人の立ち絵を斜めに分けた背景の上に並べる（文字は重ねない） */
.unit__art {
	position: relative;
	flex: 1 1 520px;
	min-width: 0;
	height: 420px;
	overflow: hidden;
	background: linear-gradient(118deg, var(--wp--preset--color--pink-pale, #ffced9) 0 50%, #bad2ff 50% 100%);
}

.unit__img {
	position: absolute;
	top: 16px;
	width: auto;
	max-width: none;
	height: 1000px;
	transform: translateX(-50%);
}

.unit__img--1 {
	left: 30%;
}

.unit__img--2 {
	top: 0;
	left: 72%;
}

.unit__text {
	display: flex;
	flex: 1 1 400px;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	min-width: 0;
	padding: 48px;
}

.unit__en {
	color: var(--vnoco-purple);
	font-family: var(--wp--preset--font-family--display);
	font-size: 15px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.unit__desc {
	margin: 0;
	color: var(--vnoco-sub);
	font-size: 15px;
	line-height: 1.9;
}

.unit__btn {
	align-self: flex-start;
	margin-top: 6px;
}

.unit__name {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
}

.unit__members {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.unit__members a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
}

.unit__icon {
	border-radius: 50%;
	width: 40px;
	height: 40px;
	object-fit: cover;
}

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
	.members__count-num {
		font-size: 36px;
	}

	/* スマホでも文字の大きさは PC と同じ（モックどおり） */
	.member-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}

	.unit__art {
		height: 300px;
	}

	.unit__img {
		height: 720px;
	}
}
