@charset "UTF-8";

/* FED（Fujitsu Experience Day 2026）のタイムテーブル画面(common.css)を、
   タイムテーブル画面(.sb_timetable_index)にのみ適用されるようスコープして移植したもの。
   confirm/complete等、他画面の.label/.label-info等への影響を避けるため、
   全セレクタに .sb_timetable_index を前置しています。 */

.sb_timetable_index .table td .ss_place {
  display: none;
}
.sb_timetable_index .btn-default, .sb_timetable_index .btn-mini {
  background-color: #3C3C3C;
  color: #fff;
}
.sb_timetable_index .btn-default:hover, .sb_timetable_index .btn-mini:hover {
  border: 1px solid rgb(var(--color));
  background-color: #2e2e2e;
  color: rgb(var(--fontcolor));
}
.sb_timetable_index .td-cell-1 thead tr:nth-child(2) th {
  text-align: justify!important;
}
.sb_timetable_index .td-cell-1 td {
  width: calc(88%/1);
}
.sb_timetable_index .td-cell-2 td {
  width: calc(88%/2);
}
.sb_timetable_index .td-cell-3 td {
  width: calc(88%/3);
}
.sb_timetable_index .td-cell-4 td {
  width: calc(88%/4);
}
@media (max-width: 767px) {
  .sb_timetable_index .session_timetable thead tr:nth-child(2){
    display: none;
  }
  .sb_timetable_index .btn-mini, .sb_timetable_index .btn-default {
    width: auto;
  }
}

/* PC表示: マトリクス形式 */
@media (min-width: 768px) {
  .sb_timetable_index .matrix_table th.track {
    width: calc(100% / 5); /* 会場数に合わせて調整 */
    background: #f0f0f0;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
  }
  .sb_timetable_index .session_timetable td {
    border-right: 1px solid #ddd;
    vertical-align: top;
  }
  .sb_timetable_index .session_timetable td.right_border {
    border-right: none;
  }
  .sb_timetable_index form .table .empty-icon {
    text-align: center;
    color: #ccc;
    vertical-align: middle !important;
  }
  .sb_timetable_index .session_timetable tr > th:first-child:not([colspan]) {
    width: 12%;
  }
  .sb_timetable_index .exhibition_table td {
    width: 88%;
  }
  /* 会社名(.ss_subtitle)をセル下端に揃える */
  .sb_timetable_index .session_timetable td {
    height: 1px;
  }
  .sb_timetable_index .session_timetable .ss_session_cell {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  .sb_timetable_index .session_timetable .ss_session_cell .ss_subtitle {
    margin-top: auto;
  }
}

/* スマホ表示: 縦並びへの最適化 */
@media (max-width: 767px) {
  .sb_timetable_index .pc_display {
    display: none !important;
  }
  .sb_timetable_index .session_timetable th {
    display: block;
    width: 100% !important;
    background: #f9f9f9;;
    text-align: left;
    padding: 5px 10px;
  }
  .sb_timetable_index .session_timetable td {
    display: block;
    width: 100% !important;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 15px 10px;
  }
  .sb_timetable_index form .table .empty-icon {
    display: none;
  }
   /* スマホでは空枠を表示しない */
  .sb_timetable_index .matrix_table td .ss_place {
    display: block;
  }
}

.sb_timetable_index .session_timetable input[type="checkbox"] {
  transform: scale(1.5);
}
.sb_timetable_index .ss_code {
  display: flex;
}

/* ラベル等の装飾（サブキャンコード表示。テーマカラー($FORM{theme})に連動させるため
   固定色ではなくテーマの CSS変数 --color / --fontcolor を使用しています） */
.sb_timetable_index .label-info {
  background-color: rgb(var(--color));
  padding: 3px 6px;
  font-size: 12px;
  color: rgb(var(--fontcolor));
  border-radius: 3px;
  margin: 0 5px;
}
.sb_timetable_index .label {
  border-radius: 3px;
}
.sb_timetable_index .ss_title a {
  font-weight: bold;
  color: #005580;
  text-decoration: none;
}
.sb_timetable_index .session_timetable .ss_subtitle {
  padding-top: 8px;
}
.sb_timetable_index .speaker {
  font-size: 0.9em;
  margin-top: 5px;
  line-height: 1.4;
}

/* バリデーションエラー表示（#matrix_error_msg）は、デザインテンプレート踏襲のため
   独自装飾を持たせず、shanonCommon.css等が提供する標準の.alert.alert-errorスタイル
   （他画面の$FORM{select_error_message}等と同じ見た目）をそのまま使用する。 */
