/* カレンダーグリッド */
.sl-calendar-grid {
  display: grid;
  gap: 15px;
  margin: 20px 0;
}
.sl-calendar-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.sl-calendar-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
/* 単一カレンダーコンテナ */
.sl-single-calendar {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  background: #fff;
}
/* カレンダー本体 */
.sl-calendar {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}
.sl-calendar th,
.sl-calendar td {
  border: 1px solid #ccc;
  width: 14.28%;
  height: 50px;
  text-align: center;
  vertical-align: middle;
  padding: 0;
}
.sl-calendar th {
  background-color: #f5f5f5;
  font-weight: bold;
}
/* カレンダー見出し */
.sl-calendar-section-title {
  text-align: left !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  margin-top: 4rem !important;
  margin-bottom: 1rem !important;
}
/* 月タイトル */
.sl-calendar-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 8px;
}
/* 日のセルの中身 */
.cell-inner {
  width: 100%;
  height: 100%;
  padding: 4px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
/* 運行本数背景 */
.sl-calendar td.sl-1 { 
  background-color: #ffeb3b; /* 黄色 */
}
.sl-calendar td.sl-2 { 
  background-color: #b3e5fc; /* 水色 */
}
.sl-calendar td.sl-3 { 
  background-color: #f7c3db; /* ピンク */
}
/* 祝日名 */
.holiday-name {
  font-size: 9px;
  color: #e91e63;
  margin-top: 1px;
}
/* カレンダー凡例 */
.sl-calendar-legend-container {
  text-align: center;
  margin: 15px 0;
}
.sl-calendar-legend {
  display: inline-block;
  font-size: 14px;
}
/* 各カレンダー内の凡例 */
.sl-calendar-single-legend {
  text-align: center;
  font-size: 12px;
  margin: 5px 0 10px 0;
}
.sl-legend-item {
  margin: 0 12px;
  display: inline-block;
}
.sl-legend {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.sl-legend.sl-1 { 
  background-color: #ffeb3b; /* 黄色 */
}
.sl-legend.sl-2 { 
  background-color: #b3e5fc; /* 水色 */
}
.sl-legend.sl-3 { 
  background-color: #F7C3DB; /* ピンク */
}
/* カレンダーレスポンシブ対応 */
@media (max-width: 768px) {
  .sl-calendar-grid-2,
  .sl-calendar-grid-3 {
    grid-template-columns: 1fr;
  }
  .sl-calendar {
    font-size: 11px;
  }
  .sl-calendar th, 
  .sl-calendar td {
    padding: 3px;
  }
}