/**
 * 統計ランキング — stats.css
 */
.st-page { min-height: 80vh; padding-bottom: 60px; }

/* ===== ヒーロー ===== */
.st-hero {
	position: relative;
	padding: 60px 0 50px;
	text-align: center;
	overflow: hidden;
}
.st-hero__bg {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, #f3ecfb, #fdf0f6, #e8daf5);
	z-index: -1;
}
.st-hero__label {
	font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em;
	color: #8b6cc1; margin-bottom: 10px;
}
.st-hero__title {
	font-size: 1.9rem; font-weight: 900;
	background: linear-gradient(135deg, #6b3fa0, #d65c9a);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 12px;
}
.st-hero__desc { font-size: 0.9rem; color: #4a3560; line-height: 1.7; }

/* ===== フィルタ ===== */
.st-filter {
	display: flex; gap: 8px; justify-content: center;
	margin: 20px 0 24px; flex-wrap: wrap;
}
.st-filter__btn {
	padding: 8px 20px; border-radius: 999px;
	border: 2px solid rgba(139,108,193,0.3);
	background: #fff; color: #4a3560;
	font-size: 0.85rem; font-weight: 700;
	cursor: pointer; font-family: inherit;
	transition: all 0.2s;
}
.st-filter__btn.is-active {
	background: linear-gradient(135deg, #8b6cc1, #d65c9a);
	color: #fff; border-color: transparent;
}

/* ===== 総数 ===== */
.st-total {
	text-align: center; margin: 24px 0 32px;
	padding: 24px; background: rgba(255,255,255,0.9);
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(139,108,193,0.08);
}
.st-total__label {
	display: block; font-size: 0.85rem; color: #6b5f7d;
	margin-bottom: 6px; font-weight: 700;
}
.st-total__num {
	font-size: 3rem; font-weight: 900;
	font-family: "Poppins", sans-serif;
	background: linear-gradient(135deg, #6b3fa0, #d65c9a);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.st-total__unit { font-size: 1rem; color: #6b5f7d; margin-left: 4px; }

/* ===== セクションタイトル ===== */
.st-section-title {
	font-size: 1.1rem; font-weight: 800;
	color: #4a3560;
	margin: 28px 0 14px;
	padding-left: 10px;
	border-left: 4px solid #8b6cc1;
}

/* ===== ランキングリスト ===== */
.st-ranking, .st-mbti, .st-svaf {
	background: rgba(255,255,255,0.9);
	border-radius: 16px; padding: 20px;
	margin-bottom: 16px;
	box-shadow: 0 3px 12px rgba(139,108,193,0.08);
}
.st-rank-list { list-style: none; padding: 0; margin: 0; }
.st-rank-item {
	display: grid;
	grid-template-columns: 36px 60px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid rgba(139,108,193,0.08);
	font-size: 0.85rem;
}
.st-rank-item:last-child { border-bottom: none; }
.st-rank-item__num {
	font-weight: 900; font-size: 1.1rem;
	text-align: center; color: #8b6cc1;
}
.st-rank-item--top .st-rank-item__num { font-size: 1.4rem; }
.st-rank-item__code {
	font-weight: 800; color: #2d2055;
	font-family: "Poppins", sans-serif;
}
.st-rank-item__code small {
	font-size: 0.7rem; color: #8b6cc1; margin-left: 2px;
}
.st-rank-item__label { color: #4a3560; font-size: 0.8rem; }
.st-rank-item__pct {
	font-weight: 800; color: #d65c9a;
	font-family: "Poppins", sans-serif;
}
.st-rank-item__cnt {
	font-size: 0.72rem; color: #a093b5;
	grid-column: 3 / 5;
	text-align: right;
	margin-top: -4px;
}

/* ===== MBTIバー ===== */
.st-bars { display: flex; flex-direction: column; gap: 12px; }
.st-bar { }
.st-bar__head {
	display: flex; gap: 8px; align-items: center;
	margin-bottom: 4px; font-size: 0.8rem;
}
.st-bar__code {
	font-weight: 800; color: #8b6cc1;
	font-family: "Poppins", sans-serif;
	min-width: 48px;
}
.st-bar__name { color: #4a3560; flex: 1; }
.st-bar__pct {
	font-weight: 800; color: #d65c9a;
	font-family: "Poppins", sans-serif;
}
.st-bar__track {
	height: 8px; background: rgba(139,108,193,0.1);
	border-radius: 4px; overflow: hidden;
}
.st-bar__fill {
	height: 100%;
	background: linear-gradient(90deg, #8b6cc1, #d65c9a);
	border-radius: 4px;
	transition: width 0.6s ease;
}

/* ===== SVAFグリッド ===== */
.st-svaf-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.st-svaf-card {
	background: #fff;
	border-radius: 12px;
	padding: 16px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(139,108,193,0.1);
}
.st-svaf-card__code {
	font-size: 2rem; font-weight: 900;
	font-family: "Poppins", sans-serif;
	line-height: 1;
}
.st-svaf-card__label {
	font-size: 0.8rem; color: #4a3560;
	margin: 6px 0;
}
.st-svaf-card__pct {
	font-size: 1.4rem; font-weight: 900;
	color: #2d2055;
	font-family: "Poppins", sans-serif;
}
.st-svaf-card__cnt {
	font-size: 0.72rem; color: #a093b5;
}
.st-empty {
	text-align: center; color: #6b5f7d;
	font-size: 0.88rem; padding: 20px;
}

/* ===== CTA ===== */
.st-cta {
	background: linear-gradient(135deg, #6b3fa0, #8b6cc1);
	border-radius: 20px; padding: 32px 20px;
	margin: 32px 0 20px;
	text-align: center; color: #fff;
}
.st-cta h2 { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; color: #fff; }
.st-cta p { font-size: 0.88rem; margin-bottom: 20px; color: rgba(255,255,255,0.9); }
.st-cta__btns { display: flex; flex-direction: column; gap: 10px; max-width: 320px; margin: 0 auto; }
.st-cta__btn {
	padding: 14px 24px; border-radius: 999px;
	text-decoration: none; font-size: 0.95rem; font-weight: 800;
}
.st-cta__btn--primary { background: #f0c040; color: #4a3560 !important; }
.st-cta__btn--secondary {
	background: rgba(255,255,255,0.15); color: #fff !important;
	border: 2px solid rgba(255,255,255,0.3);
}

/* ===== PC ===== */
@media (min-width: 768px) {
	.st-hero__title { font-size: 2.4rem; }
	.st-svaf-grid { grid-template-columns: repeat(4, 1fr); }
	.st-rank-item {
		grid-template-columns: 48px 80px 1fr 80px 80px;
		font-size: 0.95rem;
	}
	.st-rank-item__cnt { grid-column: auto; text-align: right; margin-top: 0; }
	.st-cta__btns { flex-direction: row; max-width: none; justify-content: center; }
}
