/* ------------------------------------------------------------
   過去ログ掲示板（閲覧オンリー） - 共通スタイル
   ------------------------------------------------------------ */

:root {
	--accent: #339999;
	--text: #222;
	--muted: #666;
	--border: #ddd;
	--bg: #f7f7f5;
	--card-bg: #fff;
	--radius: 8px;
	--max-width: 680px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
		"Hiragino Sans", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
}

.page {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 12px 32px;
}

a { color: var(--accent); }

/* ---------- ヘッダー ---------- */
.site-header {
	padding: 16px 0;
	border-bottom: 2px solid var(--accent);
	margin-bottom: 20px;
}
.site-header__logo {
	display: inline-block;
	font-weight: bold;
	text-decoration: none;
	color: var(--accent);
	margin-bottom: 8px;
}
.site-header__title h1 {
	margin: 0 0 4px;
	font-size: 1.3em;
}
.site-header__title p {
	margin: 0;
	font-size: 0.85em;
	color: var(--muted);
}

/* ---------- 投稿一覧 ---------- */
.post-count {
	color: var(--muted);
	font-size: 0.9em;
	margin-bottom: 12px;
}

.post {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px 16px;
	margin-bottom: 14px;
}
.post__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.85em;
	color: var(--muted);
	margin-bottom: 6px;
}
.post__title {
	font-weight: bold;
	font-size: 1.1em;
	margin: 0 0 8px;
}
.post__image {
	margin: 8px 0;
}
.post__image img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}
.post__body {
	white-space: pre-wrap;
	word-break: break-word;
}

/* ---------- ページネーション ---------- */
.pagination {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin: 20px 0;
}

/* ---------- フッター ---------- */
.site-footer {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
	font-size: 0.8em;
	color: var(--muted);
	text-align: center;
}

/* ---------- PC幅で少しゆったり ---------- */
@media (min-width: 700px) {
	body { font-size: 15px; }
	.page { padding: 0 16px 40px; }
}
