/*
Theme Name: SafeDrive Insight
Theme URI: https://cube-154.com/trafficAccident/
Author: Antigravity
Description: 交通事故分析レポートに特化した、信頼感と可読性を重視したミニマルテーマ。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: safedrive-insight
*/

:root {
    --primary-color: #1a365d;
    --secondary-color: #d97706;
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --font-serif: "Shippori Mincho", "Noto Serif JP", serif;
    --font-sans: "Inter", "Noto Sans JP", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

header h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
}

header h1 a {
    color: white !important;
}

header p {
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Post List */
.post-list article {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-list article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.post-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Single Post */
.single-post {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.entry-content {
    font-family: var(--font-serif);
    font-size: 1.125rem;
}

.entry-content h2 {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 3rem 0 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.entry-content h3 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid var(--border-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}
