/* ==========================================================================
   Blog Index — お役立ち記事一覧 (slug: blog)
   ==========================================================================
   記事をプラグイン単位でまとめて並べるハブページ。レイアウト寸法は
   legal.css / contact.css と揃える。色は front-page.css のトークンと
   同じ値をリテラルで持つ（ページ個別 CSS は単体で完結させる方針）。
   ========================================================================== */

.swch-blog {
	padding: 48px 24px 80px;
}

.swch-blog-inner {
	max-width: 900px;
	margin: 0 auto;
}

/* Header */

.swch-blog-header {
	text-align: center;
	padding: 24px 0 40px;
	margin-bottom: 8px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.swch-blog-header .swch-section-eyebrow {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #4338ca, #db2777);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 12px;
}

.swch-blog-header .swch-section-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #0b1020;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.35;
}

.swch-blog-intro {
	margin-top: 20px;
	font-size: 0.9375rem;
	line-height: 1.9;
	color: #64748b;
	text-align: left;
}

.swch-blog-empty {
	padding: 60px 0;
	text-align: center;
	color: #64748b;
}

/* Group — プラグインごとのまとまり */

.swch-blog-group {
	padding: 44px 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.swch-blog-group:last-child {
	border-bottom: 0;
}

.swch-blog-group-head {
	margin-bottom: 20px;
}

.swch-blog-group-title {
	font-size: 1.1875rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 10px;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.swch-blog-group-sub {
	font-size: 0.8125rem;
	line-height: 1.85;
	color: #64748b;
	margin: 0 0 10px;
}

.swch-blog-group-link {
	margin: 0;
	font-size: 0.8125rem;
}

.swch-blog-group-link a {
	color: #4338ca;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(67, 56, 202, 0.35);
}

.swch-blog-group-link a:hover {
	border-bottom-color: #4338ca;
}

/* List */

.swch-blog-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(148, 163, 184, 0.28);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.swch-blog-list li + li {
	border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.swch-blog-list a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 14px 18px;
	text-decoration: none;
	color: #1e293b;
	transition: background 0.2s ease;
}

.swch-blog-list a:hover {
	background: #f8fafc;
}

.swch-blog-date {
	flex: 0 0 auto;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: #64748b;
	font-variant-numeric: tabular-nums;
}

.swch-blog-title {
	font-size: 0.9375rem;
	line-height: 1.65;
}

.swch-blog-list a:hover .swch-blog-title {
	color: #4338ca;
	text-decoration: underline;
}

/* Responsive */

@media (max-width: 600px) {
	.swch-blog {
		padding: 32px 16px 64px;
	}

	.swch-blog-header .swch-section-title {
		font-size: 1.375rem;
	}

	.swch-blog-list a {
		display: block;
		padding: 14px 16px;
	}

	.swch-blog-date {
		display: block;
		margin-bottom: 4px;
	}
}
