/* ==========================================================================
   数字で見る国民民主党 - Numbers Infographic
   ========================================================================== */

.dpfp-numbers-section {
    padding: 60px 20px;
    background: #fff;
}

.dpfp-numbers-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.dpfp-numbers-section .dpfp-section-title {
    font-size: 1.8rem;
    color: var(--dpfp-blue, #004098);
    font-weight: bold;
}

/* Grid */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Card */
.number-card {
    text-align: center;
    padding: 30px 15px;
    background: #f8fafc;
    border-radius: 16px;
    border-bottom: 3px solid var(--dpfp-blue, #043e80);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.number-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Number Value */
.number-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dpfp-blue, #043e80);
    line-height: 1;
    margin-bottom: 5px;
}

.number-unit {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.number-label {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .number-card {
        padding: 20px 10px;
    }

    .number-value {
        font-size: 2.2rem;
    }

    .dpfp-numbers-section .dpfp-section-title {
        font-size: 1.4rem;
    }
}
