/*  .table-events イベントタイムテーブル
*************************************************/
.table-events {
  width: 100%;
}
.table-events tr th:first-child {
  width: 4em;
}

@media (min-width: 768px){
  .table-events {
    table-layout: fixed;
  }
}

/* Bootstrap Reset */

.table-events > tbody > tr > th,
.table-events > tbody > tr > td {
/*  border-top: 0 none;*/
  text-align: center;
}
.table-events > tbody > tr:nth-child(3n)> td {
  border-bottom: 1px dotted #D1D5DB;
}
.table-events > tbody > tr > th:first-child,
.table-events > tbody > tr:nth-child(6n) > td {
  border-bottom: 1px solid #D1D5DB;
}

.table-events thead th {
  background-image: url(../../img/bg_noise.png);
  color: #fff;
  text-align: center;
}
.table-events tbody th {
  text-align: center;
  background-color: #F3F4F6;
  color: #27272A;
}
.table-events td {
  background-color: #fff;
  color: #27272A;
}

.table-events p{
  margin-bottom: 0;
}
.table-events a{
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
}
.table-events a:hover{
  opacity: 0.8;
}
.table-events a::after{
content: "";
position: absolute;
display: block;
width: 12px;
height: 12px;
  border-left: 12px solid transparent;
  border-bottom: 12px solid #fff;
  right: 0;
  bottom: 0;
}
.table-events a:hover:after{
  opacity: 0.6;
}

.table-events a:focus, .table-seat a:hover {
  color: #fff;
}


/**/
.table-events td.bg-bank, .table-events td.bg-event, .table-events td.bg-present {
  border: 1px solid #fff;
  color: #fff;
  background-image: url(../../img/bg_noise.png);
}

.table-events thead th.bg-bank {
  background-color: #c24700;
}
.table-events thead th.bg-event {
  background-color: #c2a700;
}
.table-events thead th.bg-present {
  background-color: #00c2a7;
}

.table-events tbody td.bg-bank {
  background-color: #953600;
}
.table-events tbody td.bg-event {
  background-color: #958000;
}
.table-events tbody td.bg-present {
  background-color: #009580;
}

.table-events .time {
  margin-bottom: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  line-height: 1.2;
  padding: 2px;
}
.table-events .event {
  margin-bottom: 8px;
  font-weight: bold;
}
.table-events a .event {
  text-decoration: underline;
}
.table-events a:hover .event {
  text-decoration: none;
}
.table-events .place {
  font-size: 14px;
}

.table-noborder {
  border-top: 0px !important;
  border-bottom: 0px !important;
}

.table-noborder > tbody > tr > td,
.table-noborder > tbody > tr > th,
.table-noborder > tfoot > tr > td,
.table-noborder > tfoot > tr > th,
.table-noborder > thead > tr > td,
.table-noborder > thead > tr > th {
  vertical-align: top;
}

@media screen and (max-width: 767px) {
  .table-reset,
  .table-reset tbody,
  .table-reset tr,
  .table-reset th,
  .table-reset td {
    display: block;
    width: 100%;
    padding: 0;
  }
  .table-reset tr {
    margin-bottom: 3rem !important;
  }
}

/* .tab-area 日付切り替えタブ
*************************************************/
.tab-area {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap:2px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tab {
  position: relative;
  width: 100%;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  background-color: rgba(55, 65, 81, 0.6);
  border-left: 2px solid #eddc7e;
  border-right: 2px solid #ae9600;
  letter-spacing: 0;
/*  overflow: hidden;*/
  white-space: nowrap;
  color: #fff;
  padding: 1em 2px;
  cursor: pointer;
}

.tab:hover {
  top: 2px;
  opacity: 0.8;
}

.tab::before,
.tab::after {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  width: 100%;
  left: 0;
  background: linear-gradient(to right, #eddc7e 0%, #ae9600 100%);
}

.tab::before {
  top: 0;
}

.tab::after {
  bottom: 0;
}

.tab:focus,
.tab.active {
  background: linear-gradient(to right, #eddc7e 0%, #ae9600 100%);
  color:#27272A;
}

.tab-area-content .tab-content {
  display: none;
}
.tab-content.show {
  display: block;
}

@media (min-width:768px) {
  .tab-area {
    gap:8px;
  }
  .tab {
    flex:1;
  }
}

.xsmall {
  font-size: 60%
}

@media (max-width: 767px){
  .table {
    max-width:630px;
  }
  .table-events {
/*    width:630px;*/
  }
  .table-events thead th.bg-bank {
    width:216px;
  }
  .table-events thead th.bg-event {
    width:195px;
  }
}

@media (min-width:768px) {
  .al-center {
      display: flex;
      align-items: center;
  }
}

.bg-yellow01 {
  background-color: #FACC15 !important;
}
.bg-yellow02 {
  background-color: #FDE047 !important;
}
.bg-yellow03 {
  background-color: #FEF9C3 !important;
}
.bg-red01 {
  background-color: #FDBA74 !important;
}
.bg-red02 {
  background-color: #FFEDD5 !important;
}
.bg-grey01{
  background-color: #A1A1AA !important;
}
.bg-odds{
  background-color: #F3F4F6 !important;
}
.bg-even {
  background-color: #fff !important;
}
