/* 表全体のスタイル */
.schedule-table {
  border-collapse: collapse;
  margin-bottom: 1em;
  font-size: 0.95em;
  width: auto !important;
  max-width: 100%;
}
.schedule-table th, .schedule-table td {
  border: 1px solid #ccc;
  padding: 0.25rem 10px;
  white-space: nowrap;
}
.schedule-table th {
  background-color: #f0f0f0;
  font-weight: bold;
}

/* クラスカテゴリの文字色 */
.cat-a { color: purple; font-weight: bold; }
.cat-b { color: orange; font-weight: bold; }
.cat-c { color: goldenrod; font-weight: bold; }
.cat-junior { color: blue; font-weight: bold; }
.cat-primary { color: teal; font-weight: bold; }
.cat-etc { color: sienna; font-weight: bold; }

.cat-data { text-align: center; }

/* アコーディオンの見た目調整 */
details summary {
  font-size: 1.2em;
  font-weight: bold;
  /* margin: 1em 0 0.5em; */
  cursor: pointer;
}

/* Cocoon のゼブラ背景を無効化 */
.schedule-table tbody tr:nth-child(odd),
.schedule-table tbody tr:nth-child(even) {
  background-color: transparent !important;
}

/* 横スクロール対策 */
#schedule-container {
  overflow-x: auto;
}