/* チャートセクション */

.filter-container {
    display: flex;
    justify-content: center;
    gap:20px;
    margin-bottom: 20px;
}

/* テーブルセクション */

.date-col, .date-cell {
    width: 40%;
    min-width: 120px;
}

.term-col, .term-cell {
    width: 30%;
    min-width: 80px;
    text-align: center;
}

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

.term-cell {
    color: #333;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

#apply-filter {
    max-width: 200px;
}

.filter-container 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;
}

.filter-container 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;
}

.filter-container button:hover {
    background-color: #357ab8;
}

/* 関連指標リンク */

@media screen and (max-width: 768px) {

  .filter-container {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .date-range-group {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .select-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .select-wrapper label {
    margin-top: 8px;
  }

  .select-wrapper select {
    width: 100%;
  }

}
