/* ============================================================
   SCHEDULE — schedule.css
   ============================================================ */

/* ------------------------------------------------------------
   Page Hero
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 20px 26px;
  text-align: center;
  background-image: url('../img/bg_sp.webp');
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
}


.page-hero-title {
  position: relative;
  z-index: 1;
  font-family: 'minion-variable-concept', 'Minion Variable Concept', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #8E7173;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 156px 0 48px;
    overflow: visible;
    background: none;
  }

  .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    background-image: url('../img/bg_pc.webp');
    background-size: 1400px 500px;
    background-repeat: repeat-x;
    background-position: top center;
    z-index: 0;
  }
  .page-hero-title {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 1.8rem;
    text-align: left;
  }
}

.schedule-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 28px;
  border-bottom: none;
}

.schedule-filter-btn {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--text-dark);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.schedule-filter-btn.is-active {
  color: var(--pink-primary);
  font-weight: 500;
  border-bottom-color: var(--pink-primary);
}

.schedule-filter-btn:hover:not(.is-active) {
  color: var(--pink-primary);
}

@media (min-width: 768px) {
  .schedule-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 52px;
  }
  .schedule-filter::-webkit-scrollbar {
    display: none;
  }
  .schedule-filter-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
  }
  .schedule-filter-btn.is-active {
    border-bottom-color: var(--pink-primary);
  }
  .schedule-filter-btn:hover:not(.is-active) {
    color: var(--pink-primary);
  }
}

/* ------------------------------------------------------------
   Month Header
   ------------------------------------------------------------ */
.schedule-month-header {
  flex: 0 0 100%;
  order: -1;
  text-align: center;
  line-height: 1;
  margin-bottom: 36px;
}

.schedule-year {
  font-size: 1.2rem;
  color: var(--text-gray);
  letter-spacing: 0.08em;
  font-weight: 400;
  margin-bottom: 0;
}

.schedule-month-num {
  font-size: 2.5rem;
  font-weight: 400;
  color: #343434;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .schedule-month-header {
    flex: 0 0 auto;
    order: 0;
    margin-bottom: 0;
  }
  .schedule-year {
    font-size: 1.4rem;
  }
  .schedule-month-num {
    font-size: 3.0rem;
  }
}

/* ------------------------------------------------------------
   Month Navigation
   ------------------------------------------------------------ */
.schedule-month-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.schedule-month-nav--bottom {
  flex-wrap: nowrap;
  margin-top: 56px;
  margin-bottom: 0;
}

.schedule-month-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #e8d5da;
  background: #fff;
  color: var(--text-dark);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.schedule-month-btn:hover {
  border-color: var(--pink-primary);
  color: var(--pink-primary);
}

@media (max-width: 767px) {
  .schedule-month-nav {
    column-gap: 12px;
  }
  .schedule-month-btn {
    flex: 1;
    justify-content: center;
    border-color: var(--pink-primary);
    color: var(--pink-primary);
  }
}

.nav-arrow {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.nav-arrow--left {
  transform: scaleX(-1);
}

@media (min-width: 768px) {
  .schedule-month-nav {
    flex-wrap: nowrap;
    margin-bottom: 32px;
  }
  .schedule-month-nav--bottom {
    margin-top: 72px;
  }
  .schedule-month-btn {
    padding: 14px 80px;
    font-size: 0.88rem;
    border: 1.5px solid var(--pink-primary);
    color: var(--pink-primary);
    transition: background 0.2s, color 0.2s;
  }
  .schedule-month-btn:hover {
    background: var(--pink-primary);
    color: var(--white);
  }
}

/* ------------------------------------------------------------
   Schedule List — page-level overrides
   ------------------------------------------------------------ */

.schedule-list-section {
  position: relative;
  z-index: 1;
}

.schedule-list-section .schedule-list {
  gap: 0;
}

.schedule-list-section .schedule-item {
  border-bottom: 1px solid #e8d5da;
  padding: 20px 0 40px;
}

.schedule-list-section .schedule-date {
  flex: 2;
  justify-content: flex-start;
  padding-top: 0;
}

.schedule-list-section .schedule-body {
  flex: 8;
  background: none;
  border: none;
  padding: 0;
}

.schedule-list-section .schedule-date time {
  font-size: 1.8rem;
  font-weight: 500;
}

.schedule-list-section .schedule-day {
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .schedule-list-section .schedule-item {
    padding: 48px 0;
  }
  .schedule-list-section .schedule-date time {
    font-size: 2.0rem;
  }
  .schedule-list-section .schedule-day {
    font-size: 0.9rem;
  }
}
