/* ============================
	schedule
============================ */

#schedule #main {
  max-width: none;
  padding: 40px 15px;
  background-color: var(--cl-black);
  color: var(--cl-white);
}


/* schedule-nav
-------------------------------- */

#schedule-nav.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 1.0em;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.schedule-nav-spacer {
  height: 0;
}

.filter-area {
  padding-bottom: 1.0em;
}

.sport-filter {
  position: relative;
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-width: min(360px, 100%);
  margin-inline: auto;
}

.sport-filter__button {
  width: 100%;
  min-height: 55px;
  border: 2px solid #262626;
  border-radius: 10px;
  background: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

#sportFilterLabel {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sport-filter__name {
  font-weight: 700;
}

.sport-filter__arrow {
  width: 13px;
  height: 13px;
  box-sizing: border-box;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: translateY(-20.7%) rotate(45deg);
  flex: 0 0 auto;
}

.sport-filter.is-open .sport-filter__arrow {
  transform: translateY(20.7%) rotate(-135deg);
}

.sport-filter__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px;
  border: none;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: none;
  position: absolute;
  inset: calc(100% + 2px) 0 auto;
  min-width: 100%;
  z-index: 5;
}

.sport-filter__list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sport-filter.is-open .sport-filter__list {
  display: block;
}

.sport-filter__item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 18px;
  white-space: nowrap;
  cursor: pointer;
}

.sport-filter__item:hover,
.sport-filter__item:focus-visible {
  background: #f6f6f6;
}

.sport-filter__item.is-selected::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: url("../img/ico_check.svg") center / contain no-repeat;
  flex: 0 0 auto;
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

  .sport-filter {
    min-width: 280px;
    max-width: 100%;
  }

  .sport-filter__button,
  .sport-filter__item {
    color: var(--text);
  }

  .sport-filter__button {
    min-height: 43px;
    font-size: 14px;
  }

  .sport-filter__item {
    font-size: 14px;
  }

}


/* daynav
-------------------------------- */

#schedule-daynav {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 130%;
  margin-bottom: 1.0em;
}

#schedule-daynav ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.25em;
  padding: 0 0.4em;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  /* for firefox */
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, black 0.8em, black calc(100% - 0.8em), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 0.8em, black calc(100% - 0.8em), transparent);
}

#schedule-daynav ul.is-dragging {
  cursor: grabbing;
}

/* for chrome */
#schedule-daynav ul::-webkit-scrollbar {
  display: none;
}

#schedule-daynav ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8em 0.6em;
  box-sizing: border-box;
  white-space: nowrap;
  border-radius: 0.5em;
  border: var(--cl-black) 2px solid;
  background-color: #fff;
  color: var(--cl-black);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease;
}

/* 絞り込みで対象外の日 */
#schedule-daynav ul li.is-disabled a {
  background-color: #ECECEC;
  cursor: default;
}

#schedule-daynav ul li a .yobi {
  margin-left: 0.3em;
}

#schedule-daynav ul li.dhol a .yobi {
  color: var(--cl-orange);
}

#schedule-daynav ul li.dsat a .yobi {
  color: #0000FF;
}

#schedule-daynav .nav-btn {
  width: 3.0em;
  height: 3.0em;
  background: url("../img/arrow_circle.png") no-repeat center / contain;
  border: none;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

#schedule-daynav .nav-btn.prev {
  transform: scaleX(-1);
}

#schedule-daynav .nav-btn.is-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}


/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

#schedule-daynav {
  font-size: 90%;
}

}



/* schedule-detail
-------------------------------- */

#schedule-detail {
  max-width: 1200px;
  margin: auto;
}

.detail-day {
  margin-bottom: 2.0em;
}

.detail-title {
  position: relative;
  background-color: #fff;
  border-radius: 0.5em;
  margin-bottom: 1.0em;
  padding: 0.8em 3.5em 1.0em 2.0em;
  box-sizing: border-box;
  font-size: 200%;
  color: var(--cl-black);
  text-align: left;
}

.detail-day:not(.is-open) .detail-title {
  margin-bottom: 0;
}

/* 白背景全体をクリッカブルに */
.detail-toggle {
  --chevron-size: 24px;
  --chevron-weight: 2px;
  --chevron-right: 34px;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  border-radius: 0.5em;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
}

.detail-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  right: var(--chevron-right);
  width: var(--chevron-size);
  height: var(--chevron-size);
  box-sizing: border-box;
  border-right: var(--chevron-weight) solid var(--cl-orange);
  border-bottom: var(--chevron-weight) solid var(--cl-orange);
  transform: translateY(-70.7%) rotate(45deg);
}

.detail-day.is-open .detail-toggle::before {
  transform: translateY(-29.3%) rotate(-135deg);
}

.detail-body {
  display: none;
  width: 92%;
  margin: 0 auto;
}

.detail-title .date {
  margin-right: 2.0em;
}

.detail-title .date b {
  font-size: 150%;
}

.dhol .detail-title .date .yobi {
  color: var(--cl-orange);
}

.dsat .detail-title .date .yobi {
  color: #0000FF;
}

.detail-title .time {
  font-size: 120%;
  font-weight: 400;
}

.detail-title .time small {
  display: inline-block;
  position: relative;
  top: -0.2em;
  font-size: 60%;
  margin-right: 1.0em;
}

.detail-highlight {
  margin: 2.0em 0 1.0em 0;
  padding: 0 8.33% 0.8em 8.33%;
  border:var(--cl-orange) 2px solid;
  background-color: rgba(235, 235, 245, 0.1);
}

.detail-highlight .title {
  position: relative;
  display: inline-block;
  top: -1.0em;
  margin-bottom: -0.5em;
  padding: 0.6em 2.0em;
  color: #fff;
  z-index: 1;
}

.detail-highlight .title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cl-orange);
  transform: skewX(-20deg);
  z-index: -1;
}

#schedule-detail .notice {
  color: var(--cl-orange);
  margin-bottom: 2.0em;
  font-size: 90%;
}

.detail-sports-list {
  display: flex;
  flex-wrap: wrap;
  gap:1.5%;
}

.dsl-item {
  position: relative;
  width: 32.3%;
  min-height: 14.0em;
  text-align: left;
  margin-bottom: 1.0em;
}

.dsl-img {
  position: absolute;
  display: block;
  z-index: 0;
  width: 43.8%;
  aspect-ratio: 156 / 195;
  border-radius: 5px;
  background-color: #333;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.dsl-title {
  position: absolute;
  margin: 0.7em;
  z-index: 1;
}

.dsl-title .jp {
  font-size: 160%;
  margin-right: 0.3em;
}

.dsl-title .en {
  font-size: 95%;
  font-style: italic;
  font-family: "chakra-petch";
}

.dsl-event {
  position: relative;
  z-index: 2;
  padding: 3.0em 0 0 47%;
}

.dsl-event li {
  display: flex;
  align-items: flex-start;
  gap: 0.3em;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.event-name small {
  font-size: 90%;
}

.gender-w,
.gender-m,
.gender-mix {
  display: inline-block;
  border-radius: 0.3em;
  padding: 0.05em 0.3em 0.15em 0.3em;
  white-space: nowrap;
  font-size: 90%;
}
.gender-w {
  background-color: #FF2348;
}
.gender-m {
  background-color: #008CFF;
}
.gender-mix {
  background-color: #C4C4C4;
  color: var(--cl-black);
}

#schedule-detail i {
  display: inline-block;
  margin-left: 0.7em;
  padding: 0.05em 0.3em 0.15em 0.3em;
  background: linear-gradient(to right, #FFAA00, #FF4F02);
  transform: skewX(-15deg);
  font-size: 85%;
}

#schedule-detail i > * {
  display: inline-block;
  transform: skewX(15deg);
  color: #ffffff;
  font-style: normal;
  font-weight: 700;
}

#schedule-detail .etc {
  text-align: right;
  font-size: 110%;
}


/* ---- Media Queries ---- */

@media all and (max-width: 1199px) {

.dsl-item {
  width: 49%;
}

}

@media all and (max-width: 767px) {

#schedule-detail {
  font-size: 90%;
}

.detail-title {
  padding: 0.5em 2.5em 0.5em 1.2em;
  font-size: 130%;

}

.detail-toggle {
  --chevron-size: 16px;
  --chevron-right: 16px;
}

.detail-body {
  width: 95%;
}

.detail-title .date,
.detail-title .time {
  display: block;
  margin: 0.3em 0;
}


.dsl-item {
  width: 100%;
  min-height: 42.0vw;
}

.dsl-img {
  width: 35%;
}

.dsl-title .jp {
  font-size: 150%;
}

.detail-highlight {
  padding: 0 1.0em 0.8em 1.0em;
}

.dsl-event {
    padding: 3.3em 0 0 38%;
}


}