/* 配信予定（schedule/）。画面幅の切り替えは site-responsive.css の「K3」の区切り */

.schedule-page .site-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.schedule-page .site-section + .site-section { padding-top: 0; }
.schedule-tz-note { margin: 0; color: var(--muted); font-size: .88rem; }

/* ---- 次の配信・その次の配信 ---- */
.schedule-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.schedule-next-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgb(59 32 56 / .5), rgb(26 14 20 / .88));
  box-shadow: 0 1rem 2rem rgb(0 0 0 / .12);
}
.schedule-next-card--main {
  border-color: rgb(245 195 75 / .58);
  background:
    radial-gradient(ellipse at 100% 0%, rgb(143 216 255 / .12), transparent 45%),
    radial-gradient(ellipse at 0% 100%, rgb(255 178 94 / .12), transparent 50%),
    linear-gradient(145deg, rgb(59 32 56 / .66), rgb(26 14 20 / .92));
  box-shadow: 0 1.2rem 2.6rem rgb(0 0 0 / .2), 0 0 3rem rgb(245 195 75 / .06);
}
.schedule-next-card > * { margin: 0; }
.schedule-next-head { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.schedule-next-label {
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
  margin: 0;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.schedule-next-label span { color: rgb(245 195 75 / .55); font-size: .62rem; letter-spacing: .2em; }
.schedule-next-card h3 {
  margin: .15rem 0 0;
  font-family: var(--mincho);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.4;
  letter-spacing: .03em;
}
.schedule-next-card:not(.schedule-next-card--main) h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.schedule-next-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .7rem;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.schedule-next-zone { color: var(--muted); font-size: .74rem; font-weight: 400; letter-spacing: .08em; }
.schedule-next-local {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: var(--kitsunebi);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
}
.schedule-next-local span,
.schedule-add-label {
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .1em;
}
.schedule-next-local span {
  padding: 0 .5rem;
  border: 1px solid rgb(143 216 255 / .35);
  color: var(--kitsunebi);
}
.schedule-next-note { color: var(--muted); font-size: .9rem; }
.schedule-countdown { margin-top: .35rem !important; }
.schedule-next-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto !important; padding-top: .6rem; }
.schedule-next-card .count-lanterns i { width: .72rem; height: .92rem; }

/* カレンダーに追加（Google カレンダー・.ics） */
.schedule-add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .6rem;
  margin-top: .35rem !important;
}
.schedule-add-label { margin-right: .15rem; }
.schedule-add-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .1rem .75rem;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgb(11 7 18 / .45);
  font: inherit;
  font-size: .74rem;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.schedule-add-link:hover { border-color: var(--gold); color: var(--gold); }

/* ---- 週 ---- */
.schedule-week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.schedule-week-range {
  margin: 0;
  font-family: var(--mincho);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: .06em;
  text-align: center;
}
.schedule-week-nav {
  min-height: 2.4rem;
  padding: .3rem .9rem;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgb(11 7 18 / .45);
  font-size: .8rem;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.schedule-week-nav:hover { border-color: var(--gold); color: var(--gold); }
.schedule-days {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.schedule-day {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem .9rem;
  border-top: 1px solid var(--line);
  transition: opacity .25s var(--ease);
}
.schedule-day.is-past { opacity: .45; }
.schedule-day.is-today {
  background: linear-gradient(90deg, rgb(245 195 75 / .1), transparent 70%);
  box-shadow: inset 2px 0 0 var(--gold);
}
.schedule-day-date { display: flex; align-items: baseline; gap: .55rem; margin: 0; }
.schedule-day-num { font-family: var(--mincho); font-size: 1.35rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.schedule-day-week { display: inline-flex; align-items: baseline; gap: .45rem; color: var(--muted); font-size: .82rem; }
.schedule-day-week em { padding: 0 .45rem; color: var(--night); background: var(--gold); font-size: .66rem; font-style: normal; font-weight: 700; letter-spacing: .08em; }
.schedule-day.is-sun .schedule-day-num { color: #ff9a8a; }
.schedule-day.is-sat .schedule-day-num { color: var(--kitsunebi); }
.schedule-day-items { display: grid; gap: .55rem; margin: 0; padding: .2rem 0 0; list-style: none; }
.schedule-day-item { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: .8rem; align-items: baseline; }
.schedule-day-time { color: var(--gold); font-size: .92rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.schedule-day-body { display: grid; gap: .1rem; }
.schedule-day-title { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; font-weight: 700; }
.schedule-day-title .badge { font-size: .64rem; }
.schedule-day-note { color: var(--muted); font-size: .82rem; }
.schedule-day-local { color: var(--kitsunebi); font-size: .78rem; font-variant-numeric: tabular-nums; }
.schedule-day-item.is-off .schedule-day-time,
.schedule-day-item.is-off .schedule-day-title { color: var(--muted); font-weight: 400; }
.schedule-week-legend { margin: .9rem 0 0; color: var(--muted); font-size: .78rem; }
.schedule-week-fallback { margin: 0; color: var(--muted); }

/* ---- 月 ---- */
/* PC はカレンダーの右に、選んだ日の予定を並べる */
.schedule-month.part-month-calendar {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.schedule-month .part-month-calendar__head,
.schedule-month .part-month-calendar__grid { grid-column: 1; }
.schedule-month .part-month-calendar__panel { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; margin-top: 0; }
.schedule-change-note,
.schedule-late-note { margin: 1.25rem 0 0; color: var(--muted); font-size: .86rem; }

/* ---- 今後の予定 ---- */
.schedule-upcoming-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.schedule-upcoming-item {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}
.schedule-upcoming-date {
  display: grid;
  gap: .1rem;
  align-content: start;
  color: var(--gold);
  font-family: var(--mincho);
  font-size: 1.05rem;
  line-height: 1.5;
}
.schedule-upcoming-date span { color: var(--paper); font-family: var(--gothic); font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.schedule-upcoming-body > * { margin: 0; }
.schedule-upcoming-meta { margin-bottom: .45rem !important; }
.schedule-upcoming-item[data-kind="イベント"] .badge { color: var(--gold); }
.schedule-upcoming-item[data-kind="グッズ"] .badge { color: var(--lantern); }
.schedule-upcoming-item[data-kind="コラボ"] .badge { color: var(--kitsunebi); }
.schedule-upcoming-body h3 { font-family: var(--mincho); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; }
.schedule-upcoming-body h3 a { text-decoration: underline; text-decoration-color: rgb(245 195 75 / .5); }
.schedule-upcoming-body h3 a:hover { color: var(--gold); }
.schedule-upcoming-note { margin-top: .35rem !important; color: var(--muted); font-size: .88rem; }
.schedule-upcoming-local { margin-top: .25rem !important; color: var(--kitsunebi); font-size: .8rem; }
.schedule-upcoming-body .schedule-add { margin-top: .75rem !important; }
.schedule-upcoming-actions { display: flex; justify-content: center; margin-top: 1.5rem; }

/* URL の # で開いたタブの枠は控えめに */
.schedule-page .part-tabs__panel:focus-visible { outline: 1px solid rgb(143 216 255 / .3); outline-offset: 10px; }
