.filter-container {
    background-color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 16px;
}

.date-range-group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: #f0f4ff;
    border-radius: 8px;
}

.date-range-group label {
    font-weight: bold;
    color: #333;
    margin-right: 6px;
}

.select-highlight {
    background-color: #f9fcff;
    border: 1px solid #bbb;
    padding: 6px;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

.select-highlight:hover,
.select-highlight:focus {
    border-color: #4a90e2;
}

.unit-label {
    font-weight: bold;
}

.year-col {
    width: 110px;
}

.date-col {
    width: 160px;
}

.value-col {
    width: 160px;
}

.date-cell {
    font-weight: 500;
    color: #495057;
    text-align: center;
}

.value-cell {
    color: #3c3b6e;
    font-weight: 600;
}

/* 日次系列（DGS10等）の期間フィルター用 */
.filter-pair {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-pair label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.filter-container input[type="date"] {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9fcff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.filter-container input[type="date"]:focus {
    outline: none;
    border-color: #4a90e2;
}

/* 日次系列のページネーションテーブル用 */
.table-guide-text {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

.table-pagination button {
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.table-pagination button:hover:not(:disabled) {
    background-color: #357ab8;
}

.table-pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.table-pagination span {
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

.table-loading-row {
    text-align: center;
    color: #888;
    padding: 20px 0;
}

@media screen and (max-width: 768px) {
    .filter-container { flex-direction: column; align-items: stretch; gap: 12px; }
    .date-range-group { flex-wrap: wrap; justify-content: flex-start; width: 100%; }
}
