/* =========================================
   サイト全体の共通スタイル
   ========================================= */

/* --- 基本的なタイポグラフィと背景 --- */
body {
    background-color: #f4f6f8; /* サイト全体の背景を薄いグレーに */
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- ヘッダーとフッター --- */
.navbar.bg-light {
    background-color: #ffffff !important; /* ヘッダーの背景を白に */
}

footer.bg-light {
    background-color: #ffffff !important;
    border-top: 1px solid #e9ecef;
}

/* --- コンテンツカード（AboutやSummaryページ用） --- */
.content-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.content-card-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.content-card-header h1 {
    font-size: 2rem;
    font-weight: 600;
}

.content-card-body {
    padding: 1.5rem;
}

.content-card-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #24292e;
    border-left: 4px solid #0d6efd; /* 青いアクセント */
    padding-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.content-card-body p {
    line-height: 1.7;
}

/* --- Summaryページ専用スタイル --- */
.chart_container {
    position: relative;
    margin: auto;
    height: 60vh;
    width: 80vw;
    max-width: 500px;
    max-height: 500px;
}
.no_data_message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #6c757d;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}
.summary_table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.summary_table tbody tr:last-child {
    border-top: 2px solid #dee2e6;
    font-size: 1.1rem;
}