/* Lesson index v2 (trial) — card-grid redesign for the section below the old
   "レッスン一覧" collapse menu, styled after brighture.jp/lesson/index.html.
   Scoped under .lv2- / .bg-lv2-light so it can't leak into header/footer/quality. */

.lv2-section { padding: 56px 0; }

.lv2-label {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #326583;
	margin-bottom: 10px;
}

.lv2-heading {
	font-size: 1.5rem;
	font-weight: 900;
	color: #1a3a4c;
	font-family: 'Roboto', sans-serif, 'BIZ UDGothic', sans-serif;
	margin-bottom: 0.75rem;
}

.lv2-subtitle {
	font-size: 0.95rem;
	line-height: 1.9;
	color: #555;
	margin-bottom: 2rem;
	max-width: 900px;
}

.bg-lv2-light {
	background-color: #eef4f8;
}

.lv2-card {
	display: block;
	height: 100%;
	background: #fff;
	border: 1.5px solid #e2ebf1;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.lv2-card:hover {
	box-shadow: 0 8px 20px rgba(63, 126, 166, 0.18);
	transform: translateY(-3px);
	border-color: #3f7ea6;
	color: inherit;
}
.lv2-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 14px;
	background: #eef4f8;
}
.lv2-card-body {
	padding: 14px 16px 16px;
}
.lv2-card-code {
	font-size: 0.7rem;
	font-weight: 700;
	color: #326583;
	letter-spacing: 0.12em;
}
.lv2-card-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: #1a3a4c;
	margin: 4px 0 8px;
	line-height: 1.4;
}
.lv2-card-desc {
	font-size: 0.8rem;
	color: #666;
	line-height: 1.7;
	margin-bottom: 10px;
}
.lv2-card .badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 0;
	line-height: 1;
	padding-top: 0.45em;
	padding-bottom: 0.3em;
	font-weight: 600;
	font-size: 0.66rem;
}

@media (max-width: 767px) {
	.lv2-heading {
		font-size: 1.25rem;
	}
}

/* Level filter tabs (index3 trial) */
.lv2-filter-bar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: #fff;
	border-bottom: 1px solid #e2ebf1;
	padding: 14px 0;
}
/* Below 724px the site header switches to position:fixed, which would
   otherwise overlap the sticky filter bar — so just let it scroll normally. */
@media screen and (max-width: 724px) {
	.lv2-filter-bar {
		position: static;
	}
}
.lv2-filter-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 32px;
}
.lv2-filter-group {
	flex: 1 1 260px;
}
.lv2-filter-label {
	font-size: 0.78rem;
	font-weight: 700;
	color: #1a3a4c;
	margin-bottom: 8px;
}
.lv2-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.lv2-filter-tab {
	appearance: none;
	border: 1.5px solid #e2ebf1;
	background: #fff;
	color: #555;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 6px 18px;
	border-radius: 20px;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lv2-filter-tab:hover {
	border-color: #3f7ea6;
	color: #326583;
}
.lv2-filter-tab.active {
	background: #3f7ea6;
	border-color: #3f7ea6;
	color: #fff;
}
.bd-purple-300 {
	color: #fff;
	background-color: #9b6bd1;
}
.lv2-empty-note {
	display: none;
	text-align: center;
	color: #888;
	font-size: 0.85rem;
	padding: 8px 0 32px;
}
.lv2-hidden {
	display: none !important;
}
