/* 火災保険請求はてな 専用デザインCSS（2026年SEO・読みやすさ重視） */

/* 全体基本設定 */
body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'Yu Gothic', YuGothic, sans-serif;
    line-height: 1.85;
    color: #2c2c2c;
    background-color: #fff;
    font-size: 16px;
}

/* ヘッダー・タイトル（クリック率・SEO重視） */
.entry-title {
    font-size: 2.4em;
    font-weight: 700;
    color: #c62828; /* 火災を連想する赤 */
    margin: 0.4em 0 0.3em;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.entry-title a {
    color: #c62828;
    text-decoration: none;
}

.entry-title a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

/* 見出しデザイン（構造化でSEO強化） */
h2, h3 {
    color: #d32f2f;
    margin: 2.2em 0 1em;
    padding-bottom: 0.4em;
    border-bottom: 3px solid #ffcccc;
}

h2 {
    font-size: 1.95em;
    font-weight: 700;
}

h3 {
    font-size: 1.6em;
    font-weight: 600;
}

/* 本文読みやすさ向上 */
.entry-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 18px;
}

.entry-content p {
    margin: 1.4em 0;
    font-size: 1.05em;
}

/* 重要な注意ボックス（時効3年など） */
.important {
    background: #fff3e0;
    border-left: 6px solid #ff9800;
    padding: 18px 22px;
    margin: 2.5em 0;
    border-radius: 6px;
    font-weight: 500;
}

/* テーブル（比較表・費用表など） */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 2.5em 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 14px 16px;
    text-align: left;
}

th {
    background-color: #ffebee;
    color: #c62828;
    font-weight: bold;
}

/* チェックリスト風リスト */
ul.check {
    list-style: none;
    padding-left: 0;
    margin: 1.8em 0;
}

ul.check li {
    margin: 14px 0;
    position: relative;
    padding-left: 38px;
    font-size: 1.05em;
}

ul.check li:before {
    content: "✔";
    color: #4caf50;
    font-size: 1.4em;
    position: absolute;
    left: 0;
    top: -3px;
}

/* フッター（関連記事など） */
footer {
    background: #f8f9fa;
    padding: 40px 20px 30px;
    margin-top: 70px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 14px;
    color: #555;
}

footer h3 {
    color: #c62828;
    margin-bottom: 1.2em;
    font-size: 1.3em;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin: 12px 0;
}

footer a {
    color: #1976d2;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* コード・preブロック */
pre {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 14px;
    margin: 2em 0;
    border: 1px solid #e0e0e0;
}

/* 内部リンク視認性向上（SEO回遊率アップ） */
a {
    color: #d32f2f;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

/* モバイル対応（レスポンシブ） */
@media (max-width: 768px) {
    .entry-title {
        font-size: 2em;
    }
    h2 {
        font-size: 1.7em;
    }
    h3 {
        font-size: 1.45em;
    }
    .entry-content {
        padding: 0 12px;
    }
    table, th, td {
        font-size: 14px;
    }
}

/* 追加：SEOで有利になる細かい調整 */
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}