.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 18px;
	padding: 1.5rem .5rem;
}

.cat-item {
	text-align: center;
}

.cat-link {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	align-items: center;
	padding: 1rem .4rem;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e4e4e4;
	text-decoration: none;
	color: #111;
	box-shadow: 0 4px 10px rgba(0,0,0,.05);
	transition: .18s ease;
}

.cat-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.cat-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--brand);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 26px;
	font-weight: bold;
}

.cat-name {
	font-size: .9rem;
	font-weight: 600;
	color: #333;
}

/* ===== ジャンルカード（新規） ===== */
.genre-section { margin-top: 1rem; }
.genre-grid {
	--gap: 14px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: var(--gap);
	padding: .75rem .25rem;
}

.genre-card {
	list-style: none;
	width: 140px;
}

.genre-link {
	display: grid;
	grid-template-rows: auto auto;
	justify-items: center;
	row-gap: .65rem;
	padding: 14px 10px;
	border: 1px solid #e9e9e9;
	border-radius: 14px;
	background: #fff;
	text-decoration: none;
	color: #111;
	box-shadow: 0 1px 0 rgba(0,0,0,.02);
	transition: transform .12s ease, box-shadow .18s ease, border-color .12s ease;
	will-change: transform, box-shadow;
}

.genre-link:hover {
	transform: translateY(-2px);
	border-color: #dedede;
	box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* アイコン：フラット×グラデ輪郭 */
.genre-icon {
	--size: 120px;
	position: relative;
	width: var(--size);
	height: var(--size);
	border-radius: 16px;
	background: #fff;
	display: grid;
	place-items: center;
	/* 外枠にグラデのリング */
	box-shadow:
		0 0 0 1px #eee inset,
		0 0 0 1px rgba(0,0,0,.02),
		0 6px 14px rgba(0,0,0,.06);
}
.genre-icon::before {
	content: "";
	position: absolute; inset: 0;
	border-radius: 16px;
	padding: 1px; /* 輪郭の太さ */
	background: linear-gradient(135deg, #ff7a7a, #ea0000, #ffb3b3);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	opacity: .85;
}
.genre-icon__inner {
	display: grid;
	place-items: center;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	border-radius: 12px;
	background: #fff;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .02em;
	color: #ea0000;
}

/* テキスト */
.genre-name {
	text-align: center;
	font-size: .92rem;
	font-weight: 600;
	line-height: 1.2;
	color: #222;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

/* レスポンシブ微調整 */
@media (max-width: 900px) {
	.genre-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
	.genre-icon { --size: 58px; }
	.genre-icon__inner { font-size: 22px; }
}
@media (max-width: 520px) {
	.genre-grid { grid-template-columns: repeat(3, 1fr); }
}