@charset "UTF-8";
  /* ====== 基本スタイル（PC） ====== */
  .schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
  }
  .schedule-table th {
    background-color: #eee;
  }
  .schedule-table th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    font-size: 1em;
  }
  .schedule-table td:last-child {
    font-size: 0.8em;
  }
  .schedule-table th:first-child {
    width:150px;
  }
    .schedule-table th, td:first-child {
  padding-left: 8px;
  white-space: nowrap;
  vertical-align: middle;
}
.schedule-table td.holiday-date {
  background-color: #ffeaea; /* 薄いピンク */
}

  /* ====== 備考欄 折りたたみスタイル ====== */
 .schedule-table .note-wrapper {
    cursor: pointer;
  }

  .schedule-table  .note-preview {
    color: #007bff;
    text-decoration: underline;
  }

  .schedule-table  .note-full {
    margin-top: 6px;
    white-space: pre-wrap;
    font-size: 0.95em;
    line-height: 1.4;
    display: none;
  }

  /* ▼ 予定がないときのメッセージ行 */
  .schedule-table .no-event-message {
    text-align: center;
    font-weight: bold;
    background-color: #fef9e7;
    color: #555;
    padding: 16px;
  }
.schedule-table td.holiday-date {
  background-color: #ffeaea; /* 薄いピンク */
}

  /* ====== レスポンシブ（スマホ） ====== */
  @media (max-width: 600px) {
    .schedule-table,
    .schedule-table thead,
    .schedule-table tbody,
    .schedule-table th,
    .schedule-table td,
    .schedule-table tr {
      display: block;
      width: 100%;
      box-sizing: border-box;
    }

    .schedule-table thead {
      display: none;
    }

    .schedule-table tr {
      margin-bottom: 1em;
      background: #f9f9f9;
      border: 1px solid #ccc;
    }

    .schedule-table td {
      padding-left: 32%;
      position: relative;
      border: none;
      border-bottom: 1px solid #eee;
      font-size: 1em;
      min-height: 2.5em;
      word-break: break-word;
      white-space: normal;
    }

    /* ✨ 左側ラベルの強制表示対応 */
    .schedule-table td:first-child {
      padding-left: 32% !important;
    }

    .schedule-table td::before {
      content: attr(data-label);
      position: absolute;
      top: 50%;
      left: 10px;
      transform: translateY(-50%);
      width: 40%;
      font-weight: bold;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

  /* レスポンシブ時も中央表示 */
    .schedule-table .no-event-message {
      display: block;
      width: 100%;
      text-align: center;
      background-color: #fef9e7;
      border: 1px solid #ccc;
      font-size: 1em;
      padding: 16px;
    }
  .schedule-table td.holiday-date {
    background-color: #ffeaea;
  }
  }

