/* ============================================================
 * 読み別一覧ページ（page-naming-yomi-index.php / template-naming-yomi-detail.php）
 * ============================================================ */

.pmn-yomi { background: var(--pm-bg); }

/* ---- パンくず ---- */
.pmn-yomi__bc {
	padding: 1rem 0;
	font-size: 0.85rem;
	color: var(--pm-text-sub);
}
.pmn-yomi__bc a { color: var(--pm-text-sub); text-decoration: none; }
.pmn-yomi__bc a:hover { color: var(--pm-primary); }
.pmn-yomi__bc .sep { margin: 0 0.5rem; color: var(--pm-text-faint); }

/* ---- Hero ---- */
.pmn-yomi__hero {
	padding: 2rem 0 2.5rem;
	background: linear-gradient(135deg, var(--pm-primary-soft) 0%, var(--pm-secondary-soft) 100%);
}
.pmn-yomi__hero .eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	color: var(--pm-primary);
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.pmn-yomi__hero h1 {
	font-family: var(--pm-font-heading);
	font-size: clamp(1.5rem, 4.5vw, 2.1rem);
	font-weight: 700;
	margin: 0 0 0.7rem;
	color: var(--pm-text);
	line-height: 1.35;
}
.pmn-yomi__ch {
	display: inline-block;
	background: var(--pm-surface);
	color: var(--pm-primary);
	padding: 0.1rem 0.5rem;
	border-radius: 10px;
	font-size: 1.3em;
}
.pmn-yomi__hero p {
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--pm-text-sub);
	max-width: 720px;
}

/* ---- 性別タブ ---- */
.pmn-yomi__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0 1.2rem;
}
.pmn-yomi__tab {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.95rem;
	background: var(--pm-surface);
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-radius-pill);
	color: var(--pm-text);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s;
}
.pmn-yomi__tab:hover { border-color: var(--pm-primary); color: var(--pm-primary); }
.pmn-yomi__tab.is-on {
	background: var(--pm-primary);
	color: #fff;
	border-color: var(--pm-primary);
}
.pmn-yomi__tab .bdg {
	font-family: 'Inter', sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.08);
	padding: 0.05rem 0.4rem;
	border-radius: 8px;
}
.pmn-yomi__tab.is-on .bdg { background: rgba(255, 255, 255, 0.25); }

/* ---- グリッド ---- */
.pmn-yomi__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
	gap: 0.6rem;
	margin: 1rem 0 1.5rem;
}
.pmn-yomi__card {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0.9rem 0.9rem 0.7rem;
	background: var(--pm-surface);
	border: 1px solid var(--pm-border);
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: all 0.15s;
	position: relative;
	min-height: 110px;
}
.pmn-yomi__card:hover {
	border-color: var(--pm-primary);
	box-shadow: 0 4px 14px rgba(111, 179, 210, 0.18);
	transform: translateY(-2px);
}
.pmn-yomi__card-rank {
	min-height: 18px;
}
.pmn-yomi__card-rank .pop {
	display: inline-block;
	background: var(--pm-accent-soft);
	color: var(--pm-accent);
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.05rem 0.4rem;
	border-radius: 6px;
}
.pmn-yomi__card-kj {
	font-family: var(--pm-font-heading);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--pm-text);
	line-height: 1.2;
}
.pmn-yomi__card-kn {
	font-size: 0.82rem;
	color: var(--pm-text-sub);
}
.pmn-yomi__card-meta {
	margin-top: auto;
	display: flex;
	gap: 0.4rem;
	font-size: 0.72rem;
	color: var(--pm-text-sub);
}
.pmn-yomi__card-meta .strokes,
.pmn-yomi__card-meta .gender {
	background: var(--pm-base);
	padding: 0.05rem 0.4rem;
	border-radius: 6px;
}
.pmn-yomi__card.is-boy { border-top: 3px solid #8ab4d4; }
.pmn-yomi__card.is-girl { border-top: 3px solid #f0a8b8; }
.pmn-yomi__card.is-unisex { border-top: 3px solid var(--pm-accent); }

/* ---- もっと見る ---- */
.pmn-yomi__more {
	text-align: center;
	margin: 1rem 0 2rem;
}
.pmn-yomi__more a {
	display: inline-block;
	padding: 0.7rem 1.5rem;
	background: var(--pm-primary);
	color: #fff;
	border-radius: var(--pm-radius-pill);
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.15s;
}
.pmn-yomi__more a:hover { opacity: 0.85; }

/* ---- 他読みナビ ---- */
.pmn-yomi__nav-other {
	margin: 2rem 0 3rem;
	padding: 1.4rem 1.5rem 1.6rem;
	background: var(--pm-surface);
	border: 1px solid var(--pm-border);
	border-radius: 14px;
}
.pmn-yomi__nav-other h2 {
	font-family: var(--pm-font-heading);
	font-size: 1.1rem;
	margin: 0 0 0.3rem;
}
.pmn-yomi__nav-other > p {
	font-size: 0.85rem;
	color: var(--pm-text-sub);
	margin: 0 0 1rem;
}
.pmn-yomi__nav-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
	gap: 0.3rem;
	margin-bottom: 0.8rem;
}
.pmn-yomi__nav-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	background: var(--pm-base);
	color: var(--pm-text);
	border-radius: 8px;
	text-decoration: none;
	font-family: var(--pm-font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	transition: all 0.12s;
}
.pmn-yomi__nav-cell:hover {
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
	transform: scale(1.05);
}
.pmn-yomi__nav-cell.is-current {
	background: var(--pm-primary);
	color: #fff;
	pointer-events: none;
}
.pmn-yomi__nav-foot {
	font-size: 0.82rem;
	color: var(--pm-text-sub);
	text-align: center;
	margin: 0;
}
.pmn-yomi__nav-foot a {
	color: var(--pm-primary);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.pmn-yomi__empty {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--pm-text-sub);
}

/* ============================================================
 * 50音インデックス（page-naming-yomi-index.php）
 * ============================================================ */
.pmn-yomi-index__row {
	margin-bottom: 1.8rem;
}
.pmn-yomi-index__row h2 {
	font-family: var(--pm-font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 0.7rem;
	color: var(--pm-text);
	border-left: 4px solid var(--pm-primary);
	padding-left: 0.7rem;
}
.pmn-yomi-index__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.6rem;
}
@media (max-width: 600px) {
	.pmn-yomi-index__grid { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
}
.pmn-yomi-index__cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 0.4rem;
	background: var(--pm-surface);
	border: 1px solid var(--pm-border);
	border-radius: 10px;
	text-decoration: none;
	color: var(--pm-text);
	transition: all 0.15s;
	min-height: 72px;
}
.pmn-yomi-index__cell:hover {
	border-color: var(--pm-primary);
	background: var(--pm-primary-soft);
	transform: translateY(-2px);
}
.pmn-yomi-index__cell .ch {
	font-family: var(--pm-font-heading);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--pm-text);
	line-height: 1;
}
.pmn-yomi-index__cell .cnt {
	margin-top: 0.3rem;
	font-size: 0.7rem;
	color: var(--pm-text-sub);
	font-family: 'Inter', sans-serif;
}
.pmn-yomi-index__cell.is-empty {
	opacity: 0.35;
	pointer-events: none;
}
.pmn-yomi-index__cell.is-empty:hover { transform: none; }
.pmn-yomi-index__cta {
	margin-top: 2rem;
	padding: 1rem 1.2rem;
	background: var(--pm-base);
	border-radius: 10px;
	text-align: center;
	font-size: 0.9rem;
	color: var(--pm-text-sub);
}
.pmn-yomi-index__cta a {
	color: var(--pm-primary);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
