.table td .ss_place {
  display: none;
}

.btn-default,
.btn-mini {
  background-color: #3C3C3C;
  color: #fff;
}

.btn-default:hover,
.btn-mini:hover {
  border: 1px solid rgb(var(--color));
  background-color: #2e2e2e;
  color: rgb(var(--fontcolor));
}

.td-cell-1 thead tr:nth-child(2) th {
  text-align: justify !important;
}

.td-cell-1 td {
  width: calc(70%/1);
}

.td-cell-2 td {
  width: calc(70%/2);
}

.td-cell-3 td {
  width: calc(70%/3);
}

.td-cell-4 td {
  width: calc(70%/4);
}

.td-cell-5 td {
  width: calc(70%/5);
}

.td-cell-6 td {
  width: calc(70%/6);
}

.exhibition_table td {
  width: calc(70%/1);
}


@media (max-width: 767px) {
  .session_timetable thead tr:nth-child(2) {
    display: none;
  }

  .btn-mini,
  .btn-default {
    width: auto;
  }
}

/* PC表示: マトリクス形式 */
@media (min-width: 768px) {
  .matrix_table th.track {
    width: calc(100% / 5);
    /* 会場数に合わせて調整 */
    background: #f0f0f0;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
  }

  .session_timetable td {
    border-right: 1px solid #ddd;
    vertical-align: top;
    padding: 0 5px;
  }

  .session_timetable td.right_border {
    border-right: none;
  }

  form .table .empty-icon {
    text-align: center;
    color: #ccc;
    vertical-align: middle !important;
  }
}

/* スマホ表示: キャプチャ5のような縦並びへの最適化 */
@media (max-width: 767px) {
  .pc_display {
    display: none !important;
  }

  .session_timetable th {
    display: block;
    width: 100% !important;
    background: #f9f9f9;
    ;
    text-align: left;
    padding: 5px 10px;
  }

  .session_timetable td {
    display: block;
    width: 100% !important;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 15px 10px;
  }

  form .table .empty-icon {
    display: none;
  }

  /* スマホでは空枠を表示しない */
  .matrix_table td .ss_place {
    display: block;
  }
}

.session_timetable input[type="checkbox"] {
  transform: scale(1.5);
  margin-left: 5px;
}

.table-caption {
  font-size: 1.25rem;
  font-weight: bold;
}

.bg-cw {
  background-color: white;
}

.ss_code {
  display: flex;
  align-items: center;
}

.session_hall {
  font-weight: bold;
  font-size: 1rem;
}

.session_time {
  font-weight: bold;
  font-size: 1rem;
}

.form_check table tr th {
  padding: 0 10px;
}

/* ラベル等の装飾（キャプチャ4準拠） */
.label-info {
  background-color: #006900;
  padding: 3px 6px;
  font-size: 12px;
  color: #fff;
  border-radius: 3px;
  margin: 0 5px;
}

.label {
  border-radius: 3px;
}

.ss_title a {
  font-weight: bold;
  color: #005580;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
}

.ss_text {
  font-size: 0.9375rem;
}

.speaker {
  font-size: 0.9em;
  margin-top: 5px;
  line-height: 1.4;
}

/* バリデーションエラー用 */
#matrix_error_msg {
  border-left: 5px solid #bd362f;
  background-color: #f2dede;
  color: #b94a48;
  padding: 15px;
  border-radius: 4px;
}

.no-popup .ss_title a {
  pointer-events: none;
  color: initial;
}