/* --- /20251212_11/css/junkan.css (修正版) --- */

:root {
  --table-border-color: #ccc;
  --late-night-bg: #fff3cd;
  --holiday-pill-bg: #ffe4e9;
  --holiday-pill-border: #ffb6c1;
  --weekday-pill-bg: #fff;
  --weekday-pill-border: #ddd;
  --extra-pay-color: #e53935;
}

.wrap {
  padding-bottom: 80px;
}

.page-header {
  margin-bottom: 0;
}
.effective-date {
  font-size: 13px;
  color: #555;
  text-align: left;
  margin: -25px 0 16px 0;
  padding-left: 12px;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.junkan-table {
  margin: 16px auto;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  border: 1px solid var(--table-border-color);
  border-left: 0;
  border-top: 0;
}

.junkan-table th,
.junkan-table td {
  border-left: 1px solid var(--table-border-color);
  border-top: 1px solid var(--table-border-color);
  text-align: center;
  vertical-align: middle;
  padding: 4px 2px;
}

/* --- 列幅の固定 --- */
.junkan-table .col-holiday-num { width: 15px; }
.junkan-table .col-day-type { width: 15px; }
.junkan-table .col-slot { width: 60px; }
/* .col-special-holiday は .col-slot と同じ幅を使う */


/* --- セルのスタイル --- */
.junkan-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

/* ▼▼▼ 修正点：writing-modeを削除し、line-heightで調整 ▼▼▼ */
.junkan-table .holiday-label {
  padding: 4px;
  font-size: 13px;
  line-height: 1.4;
}

/* --- ブロックと行のスタイル --- */
.block-row-group td, .block-row-group th {
  background-color: #fff;
}
.block-row-group.is-late-night td, .block-row-group.is-late-night th {
  background-color: var(--late-night-bg);
}

.row-extra-pay td {
  font-size: 11px;
  color: var(--extra-pay-color);
  height: 34px;
}

/* --- 運番・ラベルのスタイル --- */
.pill,
.text-only {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 2px 4px;
  box-sizing: border-box;
  margin: 0 auto;
}

.pill {
  text-decoration: none;
  border: 1px solid;
  border-radius: 16px;
  font-weight: bold;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.pill.type-rosen.weekday,
.pill.type-other.weekday {
  background-color: var(--weekday-pill-bg);
  border-color: var(--weekday-pill-border);
  color: #333;
}
.pill.type-rosen.holiday,
.pill.type-other.holiday {
  background-color: var(--holiday-pill-bg);
  border-color: var(--holiday-pill-border);
  color: #c2185b;
}

.pill.type-limousine {
  background-color: #e3f2fd;
  border-color: #90caf9;
  color: #1565c0;
}

.text-only {
  color: #333;
  font-weight: bold;
}

/* --- /20251212_11/css/junkan.css に追記 --- */

.junkan-table .col-day-type {
  line-height: 1.4;
  font-weight: bold;
}