/* --- ベースデザイン --- */
body {
    background-color: #f4f4f4;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* --- ヘッダー --- */
.site-header {
    padding: 20px;
    border-bottom: 4px solid #d35400;
    margin-bottom: 20px;
}

.site-header h1 {
    margin: 0;
    font-size: 1.6em;
}

.site-header a {
    text-decoration: none;
    color: #222;
}

/* --- 記事内のレス装飾 --- */
.res-block {
    margin: 0 20px 15px 20px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* 重要レス（背景色を変える） */
.res-block.highlight {
    background: #fff9c4;
    border-color: #f1e68c;
}

.res-info {
    margin: 0 0 8px 0;
    color: #888;
    font-size: 0.85em;
}

.res-num {
    color: #d35400;
    font-weight: bold;
}

.res-content {
    word-wrap: break-word;
}

/* 画像のサイズ調整 */
.res-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 10px;
    display: block;
}

/* --- フッター --- */
.site-footer {
    padding: 30px;
    text-align: center;
    font-size: 0.8em;
    color: #aaa;
    background: #fafafa;
    border-top: 1px solid #eee;
}
/* --- 管理人コメント用の装飾 --- */
.admin-comment {
    margin: 20px;
    padding: 15px;
    background: #ffebee; /* 薄い赤色（ピンク系） */
    border: 1px solid #ffcdd2;
    border-radius: 8px;
}

.admin-title {
    color: #c62828; /* 濃い赤 */
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 8px;
    display: block;
}

.source-link {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ffcdd2;
    font-size: 0.85em;
    color: #666;
}

.source-link a {
    color: #1a73e8;
    text-decoration: none;
}

.source-link a:hover {
    text-decoration: underline;
}
/* --- ヘッダーのカスタマイズ --- */
.site-header {
    padding: 30px 20px;
    border-bottom: 4px solid #d35400;
    margin-bottom: 20px;
    text-align: center; /* タイトルと画像を中央に寄せる */
}

.site-header h1 {
    margin: 0 auto 20px auto;
    font-size: 1.8em;
    line-height: 1.4;
}

/* 記事トップのアイキャッチ画像 */
.top-eyecatch {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}

/* --- 関連記事セクション --- */
.related-articles {
    margin: 40px 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.related-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: block;
    color: #d35400;
}

.related-list {
    list-style: none;
    padding: 0;
}

.related-list li {
    margin-bottom: 10px;
}

.related-list a {
    text-decoration: none;
    color: #1a73e8;
    font-weight: bold;
}

.related-list a:hover {
    text-decoration: underline;
}
