/* 都道府県別稼働状況ページ */

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

.prefecture-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.prefecture-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.prefecture-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.prefecture-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2563eb;
}

.prefecture-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
}

.operating-ratio-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.operating-ratio-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.ratio-high {
    background: #10b981;
}

.ratio-medium {
    background: #f59e0b;
}

.ratio-low {
    background: #ef4444;
}

.prefecture-map-chart-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.chart-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-text-dark, #333);
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-size: 16px;
}

.prefecture-error-message {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

