/* ===== Timetable ===== */
.sub-page .timetable-header {
  background: url(../image/bg/bg-timetable.jpg) no-repeat center top;
  background-size: cover;
}

.sub-page .timetable-container {
  width: calc(100% - 40px);
  height: auto;
  overflow: hidden;
  text-align: center;
  padding: 70px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.sub-page .timetable-title {
  position: relative;
  font-size: 42px;
  color: #00d4ff;
  font-weight: 700;
  padding-bottom: 5px;
  display: inline-flex;
}
.sub-page .timetable-title:before {
  content: "";
  width: 100%;
  height: 3px;
  overflow: hidden;
  display: block;
  background-image: linear-gradient(to right, #f911ac, #7e6bd5, #07cefd);
  position: absolute;
  left: 0;
  bottom: 0;
}

/* Tabs */
.sub-page .timetable-tabs {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #1c2a66;
  padding: 30px;
  margin-top: 50px;
}

.sub-page .tabmenu-scrolls {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #5061a9;
}

.sub-page .tabmenu-list {
  display: flex;
  align-items: center;
}

.sub-page .tabmenu-list .swiper-slide {
  width: 290px;
  flex-shrink: 0;
}

.sub-page .tabmenu-list .swiper-slide a {
  width: 100%;
  height: 70px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  color: #8294e4;
}

.sub-page .tabmenu-list .swiper-slide a.on {
  color: #fff;
  font-weight: 700;
  position: relative;
}

.sub-page .tabmenu-list .swiper-slide a.on:before {
  content: "";
  width: 100%;
  height: 4px;
  overflow: hidden;
  display: block;
  background: #ff00aa;
  position: absolute;
  left: 0;
  bottom: 0;
}

/* Table panel */
.sub-page .tabs-container {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: none;
  padding: 30px 0 0 0;
}
.sub-page .tabs-container.on {
  display: block;
}

.time-table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}
.time-table th {
  text-align: left;
  font-size: 24px;
  color: #c5cded;
  font-weight: 700;
  padding: 10px 0;
}
.time-table td {
  vertical-align: top;
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid #5061a9;
  font-size: 20px;
  color: #c5cded;
}
.time-table td strong {
  font-size: 20px;
  color: #c5cded;
  font-weight: 700;
}
.time-table td strong.keyword {
  color: #f5ec00;
}
.time-table td.line-container {
  background: #ff00aa;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-weight: 700;
}
.time-table td.welcome-container {
  background: #960064;
  text-align: center;
  vertical-align: middle;
  color: #f5a3da;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .sub-page .timetable-header.sub-header-container,
  .sub-page .sub-header-container.timetable-header {
    height: 260px;
  }

  .sub-page .timetable-header h2,
  .sub-page .sub-header-container.timetable-header h2 {
    font-size: 36px;
    padding-bottom: 12px;
  }

  .sub-page .timetable-title {
    font-size: 28px;
    padding-bottom: 4px;
  }

  .sub-page .timetable-title:before {
    height: 2px;
  }

  .sub-page .timetable-tabs {
    padding: 20px 16px;
    margin-top: 30px;
  }

  .sub-page .tabmenu-list .swiper-slide {
    width: 160px;
  }

  .sub-page .tabmenu-list .swiper-slide a {
    height: 52px;
    font-size: 16px;
  }

  .sub-page .tabmenu-list .swiper-slide a.on:before {
    height: 3px;
  }

  .sub-page .tabs-container {
    padding: 20px 0 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .time-table {
    min-width: 100%;
  }

  .time-table th {
    font-size: 16px;
    padding: 8px 6px;
  }

  .time-table td {
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 6px;
  }

  .time-table td strong {
    font-size: 14px;
  }

  .time-table td.line-container,
  .time-table td.welcome-container {
    padding: 12px 8px;
    font-size: 14px;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .time-table colgroup col:nth-child(1) {
    width: 120px;
  }
  .time-table colgroup col:nth-child(2) {
    width: 120px;
  }
  .sub-page .timetable-header.sub-header-container,
  .sub-page .sub-header-container.timetable-header {
    height: 200px;
  }

  .sub-page .timetable-header h2,
  .sub-page .sub-header-container.timetable-header h2 {
    font-size: 28px;
  }

  .sub-page .timetable-title {
    font-size: 24px;
  }

  .sub-page .timetable-tabs {
    padding: 16px 12px;
    margin-top: 24px;
  }

  .sub-page .tabmenu-list .swiper-slide {
    width: calc( 100% / 3 );
  }

  .sub-page .tabmenu-list .swiper-slide a {
    height: 46px;
    font-size: 15px;
  }

  .sub-page .tabs-container {
    padding: 16px 0 0;
    overflow: hidden;
  }

  .time-table colgroup {
    display: none;
  }
  .time-table tbody{
    display: block;
    width: 100%;
  }
  .time-table tr{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .time-table tr th:nth-child(1){
    width: 40%;
    display: block;
  }
  .time-table tr th:nth-child(2){
    width: 60%;
    display: block;
  }
  .time-table tr td:nth-child(1){
    width: 40%;
    display: block;
  }
  .time-table tr td:nth-child(2){
    width: 60%;
    display: block;
  }
  .time-table tr td:nth-child(3){
    width: 100%;
    display: block;
  }
  .time-table tr td.line-container,
  .welcome-container{
    width: 100% !important;
  }
  .time-table th {
    font-size: 14px;
    padding: 6px 4px;
  }

  .time-table td {
    font-size: 13px;
    padding: 8px 4px;
  }

  .time-table td strong {
    font-size: 13px;
  }

  .time-table td.line-container,
  .time-table td.welcome-container {
    padding: 10px 6px;
    font-size: 13px;
  }
}
