:root {
	color-scheme: light;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	color: #2e302c;
	background: #fbfbf8;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: #365b35; text-underline-offset: 0.18em; }
a:hover { color: #1d3d22; }
a:focus-visible { outline: 3px solid #b47727; outline-offset: 3px; border-radius: 2px; }

.site-header, .site-footer {
	width: min(100% - 40px, 780px);
	margin-inline: auto;
}
.site-header {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid #dedfd6;
}
.brand { font-size: 1rem; font-weight: 700; text-decoration: none; color: inherit; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; }
.site-header nav a { white-space: nowrap; }
#main-content { width: min(100% - 40px, 780px); margin: 0 auto; min-height: 65vh; }
.page-intro { padding: 48px 0 24px; border-bottom: 1px solid #dedfd6; }
h1, h2, p { overflow-wrap: anywhere; }
.page-intro h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.35rem); line-height: 1.4; }
.brand-line { margin: 8px 0 0; color: #62665e; }
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li { border-bottom: 1px solid #dedfd6; }
.article-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px 2px; color: inherit; text-decoration: none; }
.article-text { flex: 1; min-width: 0; }
.article-thumb { flex: none; width: 112px; height: auto; aspect-ratio: 1200 / 630; border-radius: 8px; object-fit: cover; }
@media (min-width: 641px) { .article-thumb { width: 180px; } }
.article-card h2 { margin: 0; font-size: 1.25rem; line-height: 1.6; }
.article-card p { margin: 8px 0 0; color: #62665e; line-height: 1.8; }
.read-link { display: inline-block; margin-top: 8px; color: #365b35; font-weight: 700; }
.empty-state { margin: 28px 0; padding: 18px; border: 1px solid #dedfd6; border-radius: 8px; background: #fff; line-height: 1.8; }
.empty-state h1 { margin: 0 0 8px; font-size: 1.4rem; }
.empty-state p { margin: 0; }
.ai-article { padding: 28px 0 48px; }
.back-link { margin: 0 0 24px; font-size: 0.92rem; }
.ai-article h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.45; }
.article-excerpt { margin: 12px 0 36px; color: #62665e; font-size: 1.08rem; line-height: 1.8; }
.portable-content { margin-top: 32px; font-size: 1.05rem; line-height: 2; }
.portable-content h2 { margin: 2.2em 0 0.8em; font-size: 1.4rem; line-height: 1.55; }
.portable-content p { margin: 0 0 1.4em; }
.portable-content img { display: block; max-width: 100%; height: auto; }
.end-link { margin-top: 40px; }
.site-footer { padding: 24px 0 40px; border-top: 1px solid #dedfd6; font-size: 0.9rem; }
.site-footer a { color: inherit; text-decoration: none; }

@media (max-width: 560px) {
	.site-header { align-items: flex-start; flex-direction: column; justify-content: center; padding: 16px 0; }
	.site-header nav { gap: 12px; }
}
