/* =========================
  伊川谷−舞子線 専用差分
========================= */

/* 右端・縦書き列（西明石線と同仕様） */
.bus-table--single .note-col{
  width: 72px;
  min-width: 72px;
}

.bus-table--single td.note-col__v{
  text-align: center;
  vertical-align: middle;
  padding: 8px 4px;
}

.bus-table--single .note-col__inner{
  display: inline-block;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  transform: none !important;
}

.bus-table--single .note-col__inner br{
  display: block;
  margin: 10px 0;
}

@media (max-width: 768px){
  .bus-table--single .note-col{
    width: 56px;
    min-width: 56px;
  }
  .bus-table--single .note-col__inner br{
    margin: 8px 0;
  }
}

/* 右端：縦書き注意（西明石線と同じ見え方） */
.note-col{
  width: 58px;
  background: #f8f9fa;
  border-left: 1px solid #eee;
}
.note-col--vertical{
  vertical-align: middle;
}
.note-vertical{
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .08em;
  text-align: center;
  padding: 10px 6px;
}


/* 右端：白背景にしても文字が薄くならないように固定 */
.bus-table .note-col__inner{
  color:#222 !important;
}

/* ===== 10便（18:28）列：見出しも学校発も確実に赤 ===== */

/* 見出し行（10便） */
.bus-table thead tr:first-child th:nth-last-child(2){
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  font-weight:900;
}

/* 学校発（赤帯行）の10便 */
.bus-table tbody tr.bus-table__accent td:nth-last-child(2){
  background: var(--brand);
  color:#fff;
  font-weight:900;
}

/* ===== 右端(送りのみ)セル：18:28の右隣も赤に＆太字解除 ===== */
.bus-table tbody tr.bus-table__accent td.note-col__v{
  background: var(--brand) !important; /* 赤 */
  color: #fff !important;
  font-weight: 400 !important;         /* 太字解除 */
}

.bus-table tbody tr.bus-table__accent td.note-col__v .note-col__inner{
  color: #fff !important;
  font-weight: 400 !important;
}

/* =========================
  【最終上書き】右端セルを赤＋文字太字解除（確実版）
  ※このブロックはCSSの一番下に置く
========================= */
.bus-table tr.bus-table__accent td.note-col__v{
  background: var(--brand) !important;   /* 18:28右隣を赤 */
  color: #fff !important;
  font-weight: 400 !important;           /* 太字解除 */
}

.bus-table tr.bus-table__accent td.note-col__v .note-col__inner{
  color: #fff !important;
  font-weight: 400 !important;           /* 太字解除 */
}

