:root {
  --time-row: clamp(32px, 4vw, 56px);
  --schedule-row: clamp(10.7px, 1.333vw, 18.7px);
  --gap: 0;
  --time-w: clamp(60px, 12vw, 100px);
}

.timetable {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.time {
  width: 10%;
}

.time li {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: var(--time-row);
  /* ← 左右で同じ行高を共有 */
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.time li span {
  padding-left: .2em;
}

.font-size li:nth-child(even) {
  font-size: 18px;
}

.font-size li:nth-child(even) span {
  font-size: 22px;
}

.schedule {
  width: 88%;
  padding: 3% 0 0;
  display: grid;
  grid-auto-rows: var(--schedule-row);
  row-gap: var(--gap);
  position: relative;
}

/* スロット共通 */
.schedule-apex,
.schedule-win,
.schedule-lock,
.schedule-opening,
.schedule-closing,
.schedule-resting {
  position: relative;
  padding: 0.6em 1em;
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  border-radius: 10px;
}

.schedule-apex,
.schedule-win,
.schedule-lock {
  position: relative;
  background: #fff;
  color: #FF50AC;
}

.schedule-apex span,
.schedule-win span,
.schedule-lock span,
.schedule-opening span,
.schedule-closing span {
  font-size: 20px;
}

.original {
  display: inline-block;
  padding: 0 0 0 0.3em;
  font-size: 18px;
}

.schedule-opening,
.schedule-closing {
  padding: 0 0 0 calc(1em - 3px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 0.3em;
  background: transparent;
  color: #fff;
  border: #fff solid 3px;
}

.schedule-opening {
  margin-bottom: 3px;
}

.schedule-closing {
  margin-top: 3px;
}

.schedule-resting {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 0.3em;
  padding-left: 1em;
  font-size: 20px;
  color: #fff;
  opacity: 0.5;
}

.time-btn-box {
  position: absolute;
  width: 150px;
  bottom: 1.5rem;
  right: 1.5rem;
}

.time-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  border-radius: 200px;
  background-position: center right 6%;
  background-size: 4% auto;
  background-repeat: no-repeat;
  background-color: #fff;
  border: #FF50AC solid 2px;
  transition: all 0.2s;
}

.time-button a::before {
  content: "";
  display: block;
  padding-top: 22%;
}

.rule {
  width: 100%;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-feature-settings: normal;
}

.rule p {
  padding: 0 0 0.2em;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-indent: -1em;
  padding-left: 1em;
}

.rule p:nth-child(1) {
  padding: 0 0 0.5em;
  margin: 0 0 1em;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  border-bottom: #fff solid 1px;
  text-indent: 0;
  padding-left: 0;
}

@media screen and (min-width: 1px) and (max-width: 743px) {

  .time {
    width: 20%;
  }

  .time li {
    font-size: 4.27vw;
  }

  .time li span {
    padding-left: .2em;
  }

  .font-size li:nth-child(even) {
    font-size: 3.73vw;
  }

  .font-size li:nth-child(even) span {
    font-size: 4.27vw;
  }

  .schedule {
    width: 78%;
    padding: 5.5% 0 0;
  }

  /* スロット共通 */
  .schedule-apex,
  .schedule-win,
  .schedule-lock,
  .schedule-opening,
  .schedule-closing {
    padding: 0.2em 0.8em;
    font-size: 4.00vw;
    border-radius: 6px;
  }

  .schedule-apex,
  .schedule-win,
  .schedule-lock {
    position: relative;
    background: #fff;
    color: #FF50AC;
    line-height: 1.5;
  }

  .schedule-apex span,
  .schedule-win span,
  .schedule-lock span,
  .schedule-opening span,
  .schedule-closing span,
  .schedule-resting span {
    font-size: 3.20vw;
  }

  .original {
    position: relative;
    top: -2vw;
    font-size: 2.67vw;
  }

  .schedule-opening,
  .schedule-closing {
    padding: 0 0 0 0.6em;
    border: #fff solid 2px;
  }

  .schedule-resting {
    font-size: 3.6vw;
    padding-left: 0.8em;
  }

  .time-btn-box {
    position: absolute;
    width: 34%;
    bottom: 0.6rem;
    right: 0.6rem;
  }

  .time-button a {
    font-size: 2.8vw;
  }

  .time-button a::before {
    content: "";
    display: block;
    padding-top: 22%;
  }

  .rule {
    width: 100%;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-feature-settings: normal;
    vertical-align: top;
  }

  .rule p {
    width: 90%;
    margin: 0 auto;
    padding: 0 0 0.2em;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 3.73vw;
  }

  .rule p:nth-child(1) {
    padding: 0 0 0.2em;
    margin: 0 0 1em;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 4.80vw;
    border-bottom: #fff solid 1px;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .time li {
    font-size: 2.60vw;
  }

  .font-size li:nth-child(even) {
    font-size: 2.08vw;
  }

  .font-size li:nth-child(even) span {
    font-size: 2.86vw;
  }

  /* スロット共通 */
  .schedule-apex,
  .schedule-win,
  .schedule-lock,
  .schedule-opening,
  .schedule-closing {
    font-size: 2.60vw;
  }

  .schedule-apex span,
  .schedule-win span,
  .schedule-lock span,
  .schedule-opening span,
  .schedule-closing span {
   font-size: 2.08vw;
  }

  .original {
    font-size: 2.08vw;
  }

  .schedule-opening,
  .schedule-closing {
    font-size: 2.08vw;
    border: #fff solid 2px;
  }

  .schedule-resting {
    font-size: 1.88vw;
  }

  .time-btn-box {
    width: 18%;
    /* そのまま */
  }

  .time-button a {
    font-size: 1.82vw;
  }

  .rule p {
    font-size: 1.56vw;
  }

  .rule p:nth-child(1) {
    font-size: 2.08vw;
  }
}

@media screen and (min-width: 1025px) {
  .time-button a.c-5.btn-pk:hover {
    color: #fff !important;
    background-image: url(../img/common/arrow-wt.png);
    background-color: #FF50AC;
    border: #fff solid 2px;
  }
}