html {
  scroll-behavior: smooth;
}
.timetable {
  .splide {
    margin-bottom: 10px;
  }
  .splide__slide a {
    padding: 10px;
    font-family: var(--font-oswald);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    background: var(--color-gray-light);
    display: block;
    transition: background 0.25s ease;

    span {
      margin: 5px 0 0 0;
      font-size: 12px;
      font-weight: 400;
      display: block;
    }
  }
  .splide__slide a:hover {
    background: var(--color-gray);
  }
  .splide__slide.is-select a {
    color: var(--color-white);
    background: var(--brand-color1);
  }
  .splide__arrow {
    height: 100%;
    border-radius: 0;
    background: var(--brand-color2);
  }
  .splide__arrow svg {
    fill: var(--color-white);
  }

  .time-jump-nav {
    margin-bottom: 20px;

    .nav_list {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .nav_item {
      width: calc(100% / 3);
    }
    .nav_item a {
      padding: 5px 10px;
      font-family: var(--font-oswald);
      font-size: 12px;
      font-weight: 600;
      text-align: center;
      background: var(--color-white);
      display: block;
      transition: color 0.25s ease;
    }
    .nav_item a:hover {
      color: var(--brand-color1);
    }
    .nav_item:not(:last-child) {
      border-right: solid 2px var(--color-gray);
    }
    .fa-clock {
      margin: 0 5px 0 0;
    }
  }
  .button-pdf {
    margin-bottom: 10px;
    text-align: right;
  }
  .button-pdf a {
    width: 180px;
    font-weight: 600;
    background: var(--brand-color2);
    display: inline-block;

    .fa-file-pdf {
      margin: 0 5px 0 0;
    }
  }
  .button-pdf a:hover {
    background: var(--color-white);
  }
  .timetable_item {
    scroll-margin-top: 60px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
  }
  .timetable_item:not(:last-child) {
    margin: 0 0 5px 0;
  }
  .time {
    width: 80px;
    padding: 15px 0;
    font-family: var(--font-oswald);
    font-size: 14px;
    color: var(--color-white);
    line-height: 1;
    background: var(--brand-color2);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .detail {
    width: calc(100% - 80px);
    padding: 15px 20px;
    line-height: 1.4;
    background: var(--color-gray-light);

    .title {
      margin: 0 0 5px 0;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .title .sponsor {
      margin: 0 0 0 10px;
      font-size: 12px;
      font-weight: 400;
    }
    .fa-arrow-up-right-from-square {
      margin: 0 0 0 5px;
      font-size: 11px;
      vertical-align: top;
    }
    .dj {
      padding: 0 0 0 15px;
      margin: 0 0 5px 0;
      font-size: 12px;
      position: relative;
    }
    .dj::before {
      content: '\f130';
      font-family: 'Font Awesome 6 Free';
      font-weight: 700;
      position: absolute;
      left: 0px;
      top: 0;
    }
    .figures {
      margin: 0 0 5px 0;
      font-size: 12px;
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      flex-wrap: wrap;
    }
    figure {
      width: 60px;
      margin: 0 5px 2px 0;
      flex-shrink: 0;
    }
    .text {
      font-size: 12px;
    }
    a {
      color: var(--color-red);
    }
  }
  .timetable_item.is-active .detail {
    background: #f0dcdc;
  }
  .corner_list {
    width: 100%;
    padding: 5px 0 0 0;
    margin: 5px 0 0 0;
    border-top: dotted 1px var(--color-gray-dark);
  }
  .corner_item {
    font-size: 12px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
  }
  .corner_item:not(:last-child) {
    margin: 0 0 5px 0;
  }
  .corner-time {
    margin: 0 5px 0 0;
  }
  .corner-title .sponsor {
    margin: 0 0 0 5px;
  }
}
.timetable-fade {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.timetable-fade.is-ready {
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  .timetable {
    .splide__slide a {
      font-size: 20px;

      span {
        font-size: 10px;
      }
    }
    .detail {
      .title {
        flex-direction: column;
        align-items: flex-start;
      }
      .title .sponsor {
        margin-left: 0;
      }
    }

    .corner-title .sponsor {
      margin-left: 0;
      display: block;
    }
  }
}

@media screen and (max-width: 800px) {
  .timetable {
    .splide__track {
      transform: initial !important;
    }
    .sp-none {
      display: none;
    }
    .timetable-contents {
      padding-left: 0;
      padding-right: 0;
    }
    .time {
      width: 60px;
    }
    .detail {
      width: calc(100% - 60px);
      padding: 10px;

      .title {
        font-size: 14px;
      }
      .title a::before {
        font-size: 12px;
        top: 50%;
        transform: translateY(-50%);
      }
      figure {
        width: 42px;
      }
    }
    .button-pdf {
      text-align: center;
    }
  }
}
