body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
    color: #333;
}

.main-container {
    max-width: 600px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #208000;
}

/* 最新情報テーブルのスタイル */
#latest-news-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    overflow: hidden;
}

#latest-news-table {
    width: 100%;
    border-collapse: collapse;
}

#latest-news-table th {
    background: #208000;
    color: white;
    padding: 10px;
    font-size: 1.1rem;
}

#latest-news-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.news-count {
    width: 80px;
    text-align: center;
    font-weight: bold;
    color: #d32f2f;
}

.news-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

/* 都道府県タイルのスタイル */
.region-section h3 {
    border-left: 5px solid #208000;
    padding-left: 10px;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* スマホで3列 */
    gap: 8px;
}

.pref-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 50px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 0 2px 2px rgba(0,0,0,0.05);
}

.pref-tile:active {
    background: #208000;
    color: #fff !important;
    transform: scale(0.95);
}

/* PC等の広い画面では4列にする */
@media (min-width: 600px) {
    .region-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

