/* ================================================================
   出会い掲示板カテゴリページ (category-bbs.php)
   ================================================================ */

.lm-bbs-archive {
	padding: 0 0 48px;
}

/* セクション間隔 */
.lm-bbs-hero,
.lm-bbs-featured,
.lm-bbs-purpose,
.lm-bbs-caution,
.lm-bbs-related,
.lm-bbs-posts-section {
	margin-top: 36px;
}

/* ── パネル（ヒーロー） ── */
.lm-bbs-panel {
	background: #fff;
	border: 1px solid #e5e5e5;
	padding: 28px;
	width: 100%;
	box-sizing: border-box;
	word-break: break-word;
	overflow-wrap: break-word;
}

/* キッカーバッジ */
.lm-bbs-kicker {
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	padding: 6px 12px;
	border-radius: 3px;
	background: #fcd1d7;
	color: #333;
	margin-bottom: 14px;
	letter-spacing: .04em;
}

/* H1 */
.lm-bbs-title {
	margin: 0 0 16px;
	font-size: 28px;
	line-height: 1.4;
	background: none;
	padding: 0;
}

.lm-bbs-title::after {
	display: none;
}

/* 紹介文 */
.lm-bbs-intro {
	font-size: 15px;
	line-height: 1.9;
	color: #333;
}

.lm-bbs-intro p {
	font-size: 15px;
	line-height: 1.9;
	margin: 0 0 1em;
}

.lm-bbs-intro p:last-child {
	margin-bottom: 0;
}

/* 調査基準ボックス */
.lm-bbs-method {
	margin-top: 20px;
	padding: 18px 20px;
	background: #f9f9f9;
	border-left: 4px solid #fcd1d7;
}

.lm-bbs-method-title {
	margin: 0 0 10px;
	font-size: 16px;
	background: none;
	padding: 0;
	border: none;
}

.lm-bbs-method-title::after {
	display: none;
}

.lm-bbs-method-list {
	margin: 0 0 12px;
	padding-left: 20px;
}

.lm-bbs-method-list li + li {
	margin-top: 6px;
}

.lm-bbs-method-policy {
	margin: 12px 0 0;
}

.lm-bbs-method-policy a {
	color: #08B9D4;
	text-decoration: underline;
}

/* ── セクション見出し ── */
.lm-bbs-section-title {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.4;
	padding: 0.5em;
	background: #fcd1d7;
	position: relative;
}

.lm-bbs-section-title::after {
	position: absolute;
	content: '';
	top: 100%;
	left: 30px;
	border: 12px solid transparent;
	border-top: 12px solid #fcd1d7;
	width: 0;
	height: 0;
}

/* ── グリッド ── */
.lm-bbs-grid {
	display: grid;
	gap: 18px;
}

.lm-bbs-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-bbs-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── カード共通 ── */
.lm-bbs-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	padding: 18px;
}

.lm-bbs-card-title {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.5;
	background: none;
	padding: 0;
	border: none;
}

.lm-bbs-card-title::after {
	display: none;
}

.lm-bbs-card-title a {
	color: #333;
	text-decoration: none;
}

.lm-bbs-card-title a:hover {
	color: #08B9D4;
	text-decoration: underline;
}

.lm-bbs-card p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.8;
	color: #444;
}

.lm-bbs-card-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	color: #08B9D4;
	text-decoration: underline;
}

.lm-bbs-card-link--missing {
	opacity: .5;
	font-weight: normal;
	text-decoration: none;
}

/* 注意点カード */
.lm-bbs-card--caution {
	border-left: 3px solid #FFB6C1;
}

/* ── 記事一覧グリッド ── */
.lm-bbs-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.lm-bbs-post-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	overflow: hidden;
}

.lm-bbs-post-card a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.lm-bbs-post-card a:hover .lm-bbs-post-title {
	color: #08B9D4;
}

.lm-bbs-post-thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f3f3f3;
}

.lm-bbs-post-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lm-bbs-post-body {
	padding: 12px 14px 14px;
}

.lm-bbs-post-title {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	background: none;
	padding: 0;
	border: none;
	transition: color .2s;
}

.lm-bbs-post-title::after {
	display: none;
}

/* ── ページネーション ── */
.lm-bbs-pagination {
	margin-top: 28px;
}

/* ── 空状態 ── */
.lm-bbs-empty {
	padding: 18px;
	background: #f9f9f9;
	border: 1px solid #e5e5e5;
	color: #555;
}

/* ── レスポンシブ ── */
@media (max-width: 900px) {
	.lm-bbs-grid-3,
	.lm-bbs-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lm-bbs-title {
		font-size: 24px;
	}

	.lm-bbs-section-title {
		font-size: 20px;
	}
}

@media (max-width: 600px) {
	.lm-bbs-grid-3,
	.lm-bbs-grid-2,
	.lm-bbs-posts-grid {
		grid-template-columns: 1fr;
	}

	.lm-bbs-panel {
		padding: 18px;
	}

	.lm-bbs-title {
		font-size: 22px;
	}
}
