@charset "UTF-8";
/*==========================================================================================

  ステージのタイムテーブル (/shintoyosu/stage/, /shiba/stage/, above the performer list)

  The client's design (their timetable hand-off, "gold frame" version), loaded by page-stage-lineup.php after
  stage-lineup.css; common/js/stage-timetable.js draws the day and the calendar. The font is the page's own, so a
  translated page keeps its language's font (i18n.css).
  Text sizes on PC are the client's mockup of 2026-10-30 (a PC page shown at 59%: its date box is 184px for this
  310px one), except the three the client then gave in px (2026-10-30, PC only): the heading 40px, the times and the
  names 20px; "coming soon" stands in for a name and takes its size. Tablets keep those three no larger than on PC;
  phones keep their own sizes.

==========================================================================================*/
.tcm-timetable {
  box-sizing: border-box;
  margin-bottom: 56px;
  padding: 12px 0 8px;
  color: #214d35;
}
.tcm-timetable * {
  box-sizing: border-box;
}
.tcm-timetable__intro {
  margin: 0 0 28px;
  text-align: left;
}
/* Lined up with the page title's text. */
.tcm-timetable__title {
  margin: 0 0 8px 100px;
  color: #20681a;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: normal;
}
.tcm-timetable__intro > p {
  margin: 0 0 0 100px;
  color: #68705d;
  font-size: 20px;
  line-height: 1.7;
}
.tcm-day-schedule {
  border: 2px solid #b6a064;
  background: #fcfdeb;
}
.tcm-day-schedule__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 30px 25px 26px;
  background: #154f3b;
}
/* Sized by the date box, so 前の日/次の日 move under it rather than squeeze the date onto two lines. */
.tcm-day-schedule__date-control {
  flex: 1 1 auto;
  min-width: 0;
}
.tcm-day-schedule__venue {
  margin: 0 0 10px;
  color: #f0e1ad;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.12em;
  line-height: 1.5;
}
/* 310px as in the client's design; an English date ("Wed, December 23") is wider at this size, so the box grows. */
.tcm-date-picker {
  position: relative;
  width: max-content;
  min-width: min(310px, 100%);
  max-width: 100%;
}
.tcm-date-picker > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #d0bc7f;
  border-radius: 3px;
  background: #fffced;
  box-shadow: 0 2px 0 #001b231a;
  color: #184a32;
  font-family: inherit;
  font-size: 31px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}
.tcm-date-picker > summary::-webkit-details-marker {
  display: none;
}
/* In em, so the arrow follows the date's size. */
.tcm-date-picker > summary::after {
  content: "";
  flex: none;
  width: 0.3em;
  height: 0.3em;
  margin: 0 3px 0.22em 0;
  border-right: 2px solid #9e812d;
  border-bottom: 2px solid #9e812d;
  transform: rotate(45deg);
}
.tcm-date-picker[open] > summary::after {
  margin-top: 0.3em;
  margin-bottom: 0;
  transform: rotate(225deg);
}
.tcm-day-schedule__nav {
  display: flex;
  align-self: flex-end;
  gap: 8px;
  padding-bottom: 4px;
}
.tcm-day-schedule__nav button {
  min-width: 112px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #afac79;
  border-radius: 0;
  background: #154f3b;
  color: #f7edcf;
  font-family: inherit;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
}
/* reset.css sets every span to normal weight. */
.tcm-date-picker > summary span,
.tcm-day-schedule__nav button span {
  font-weight: inherit;
}
.tcm-day-schedule__nav button:disabled {
  opacity: 0.35;
  cursor: default;
}
/* The time column fits 12:30〜13:15 on one line (145px at 20px), as the client's mockup shows it. */
.tcm-schedule-columns {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 14px 25px;
  border-bottom: 1px solid #c6b374;
  background: #e8dfbc;
  color: #566044;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.14em;
  line-height: 1.5;
}
.tcm-schedule-columns > span {
  font-weight: bold;
}
.tcm-schedule-columns > span:first-child {
  text-align: center;
}
.tcm-day-schedule__slots {
  margin: 0;
  padding: 0 25px;
  background: #fffef6;
  list-style: none;
}
/* As tall as a row with a photo (60px, 14px above and below, the 1px line): every row of a day the same height. */
.tcm-slot {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 89px;
  padding: 14px 0;
  border-bottom: 1px solid #dedcc3;
  list-style: none;
}
.tcm-slot:nth-child(even) {
  background: #f8f6e7;
}
.tcm-slot:last-child {
  border-bottom: 0;
}
.tcm-slot__time {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  gap: 5px;
  padding-right: 24px;
  border-right: 1px solid #e2dfc7;
  color: #31583e;
  font-family: inherit;
  font-size: 20px;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
}
.tcm-slot__artist {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 56px;
  padding: 0;
  border: 0;
  background: none;
  color: #244532;
  font-family: inherit;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
/* The timetable writes some names on two lines ("スペシャルショー" over the act). A name too long for a phone's column
   wraps evenly, never leaving 「ー」, a small kana or one character alone on a line (as the food menu's names). */
.tcm-slot__artist-name,
.tcm-slot__name {
  font-weight: bold;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-break: strict;
  text-wrap: balance;
}
.tcm-slot__name {
  color: #244532;
  font-size: 20px;
  line-height: 1.5;
}
.tcm-slot__plus {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #c4ae6c;
  border-radius: 50%;
  background: #e8dfbc;
  color: #7b692d;
  font: 400 22px/1 Arial, sans-serif;
}
.tcm-slot__pending > span {
  color: #92917b;
  font: italic 20px/1.5 Georgia, serif;
  letter-spacing: 0.02em;
}
.tcm-slot--empty {
  display: block;
  color: #78856b;
  font-size: 20px;
}
/* A performer's photo (common/js/stage-timetable.js) to the right of the name and its ＋, in the card's 3:2 on the
   card's white ground: a portrait photo keeps its sides, as on the card. */
.tcm-slot__artist-name,
.tcm-slot__performer > .tcm-slot__name {
  margin-right: auto;
}
.tcm-slot__performer {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tcm-slot__photo {
  display: block;
  flex: none;
  width: 90px;
  height: 60px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 0 1px #e2dfc7;
}
.tcm-slot__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* The calendar under the date (common/js/stage-timetable.js fills it in when it opens). */
.tcm-date-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: 100%;
  max-height: min(430px, 70vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 15px;
  border: 1px solid #b4a35f;
  border-top: 2px solid #b7a66a;
  border-radius: 0;
  background: #fffef6;
  box-shadow: 0 12px 28px #001b2940;
}
.tcm-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2d9b1;
}
.tcm-date-options .tcm-calendar__month {
  margin: 0;
  color: #075332;
  font-family: inherit;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.tcm-calendar__nav {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #cfc390;
  border-radius: 4px;
  background: #fffef6;
  color: #075332;
  font-size: 18px;
  cursor: pointer;
}
.tcm-calendar__nav:disabled {
  opacity: 0.25;
  cursor: default;
}
.tcm-calendar__weekdays,
.tcm-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}
.tcm-calendar__weekdays {
  margin-bottom: 7px;
  color: #72816b;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.tcm-calendar__day {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 36px;
  padding: 5px 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #254d32;
  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  cursor: pointer;
}
.tcm-calendar__weekdays .is-sunday,
.tcm-calendar__day.is-sunday:not(:disabled):not([aria-pressed=true]) {
  color: #866d4a;
}
.tcm-calendar__weekdays .is-saturday,
.tcm-calendar__day.is-saturday:not(:disabled):not([aria-pressed=true]) {
  color: #647663;
}
.tcm-calendar__day:disabled {
  color: #c9c9b9;
  cursor: default;
}
.tcm-calendar__day[aria-current=date] {
  border-color: #a9944f;
}
.tcm-calendar__day[aria-pressed=true] {
  border-color: #075332;
  background: #075332;
  color: #fff;
}
.tcm-timetable button:focus-visible,
.tcm-date-picker > summary:focus-visible {
  outline: 2px solid #a2893f;
  outline-offset: 2px;
}
.tcm-timetable__sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

@media (hover: hover) {
  .tcm-day-schedule__nav button:not(:disabled):hover {
    background: #f7edcf;
    color: #154f3b;
  }
  .tcm-slot__artist:hover {
    color: #6d793f;
  }
  .tcm-slot__artist:hover .tcm-slot__plus {
    border-color: #075332;
    background: #075332;
    color: #fff;
  }
  .tcm-calendar__day:hover:not(:disabled):not([aria-pressed=true]),
  .tcm-calendar__nav:hover:not(:disabled) {
    background: #edf2df;
  }
}
@media (max-width: 980px) {
  .tcm-timetable__title,
  .tcm-timetable__intro > p {
    margin-left: 76px;
  }
}
@media (max-width: 767px) {
  .tcm-timetable {
    padding-top: 9px;
    padding-bottom: 6px;
  }
  .tcm-timetable__intro {
    margin-bottom: 23px;
  }
  .tcm-timetable__intro > p {
    font-size: 17px;
  }
  .tcm-day-schedule__header {
    gap: 14px;
    padding: 30px 20px 26px;
  }
  .tcm-day-schedule__venue {
    font-size: 15px;
  }
  .tcm-date-picker > summary {
    font-size: 26px;
  }
  .tcm-day-schedule__nav button {
    min-width: 96px;
    min-height: 50px;
    padding: 0 14px;
    font-size: 16px;
  }
  .tcm-schedule-columns {
    gap: 18px;
    padding: 12px 18px;
    font-size: 13px;
  }
  .tcm-day-schedule__slots {
    padding: 0 18px;
  }
  .tcm-slot {
    gap: 18px;
  }
  .tcm-slot__time {
    padding-right: 18px;
  }
  .tcm-slot__artist {
    gap: 10px;
  }
  .tcm-slot--empty {
    font-size: 17px;
  }
  /* The photo under the name: beside it, it would leave the name too little room (「KIRCHDORFER®」 is 171px at 20px). */
  .tcm-slot__artist.has-photo,
  .tcm-slot__performer.has-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 10px;
  }
  .tcm-slot__performer.has-photo {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 678px) {
  .tcm-timetable {
    margin-bottom: 40px;
  }
  .tcm-timetable__intro {
    text-align: center;
  }
  .tcm-timetable__title {
    margin-left: 0;
  }
  .tcm-timetable__intro > p {
    margin-left: 0;
  }
}
/* Phones: the date keeps its size (it fills the box at 320px); the time goes on two lines in its narrow column. */
@media (max-width: 560px) {
  .tcm-timetable__title {
    font-size: 26px;
  }
  .tcm-timetable__intro > p {
    font-size: 13px;
    text-wrap: balance;
  }
  .tcm-day-schedule__header {
    padding: 26px 20px 22px;
  }
  .tcm-day-schedule__venue {
    font-size: 13px;
  }
  .tcm-day-schedule__date-control {
    flex-basis: 100%;
  }
  .tcm-date-picker {
    width: 100%;
    max-width: none;
  }
  .tcm-date-picker > summary {
    font-size: 21px;
  }
  .tcm-day-schedule__nav {
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding-bottom: 0;
  }
  .tcm-day-schedule__nav button {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    font-size: 14px;
  }
  /* "〈 Previous day", the longest label in any language, keeps its old size: larger, it takes two lines. */
  html[lang="en"] .tcm-day-schedule__nav button {
    padding: 0 12px;
    font-size: 11px;
  }
  .tcm-schedule-columns {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }
  .tcm-day-schedule__slots {
    padding: 0 12px;
  }
  .tcm-slot {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    min-height: 98px;
    padding: 20px 0;
  }
  .tcm-slot__time {
    padding-right: 12px;
    font-size: 14px;
    letter-spacing: -0.04em;
    line-height: 1.6;
    white-space: normal;
  }
  .tcm-slot__artist,
  .tcm-slot__name {
    font-size: 16px;
    line-height: 1.6;
  }
  .tcm-slot__artist {
    gap: 7px;
  }
  .tcm-slot__plus {
    width: 26px;
    height: 26px;
    font-size: 19px;
  }
  .tcm-slot__pending > span {
    font-size: 20px;
  }
  .tcm-slot--empty {
    font-size: 15px;
  }
}
/* Narrow phones: a narrower time column, so that the longest word, 「KIRCHDORFER®」 (137px at 16px), still fits a line
   beside the ＋. A word wider than its line is cut in two (overflow-wrap: anywhere). */
@media (max-width: 374px) {
  .tcm-schedule-columns,
  .tcm-slot {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
  }
}
/* The narrowest: the names at the client's own phone size (the word is 111px), and less room between the date and its
   arrow (Safari's date is a few px wider than Chrome's at 320px). */
@media (max-width: 359px) {
  .tcm-date-picker > summary {
    gap: 8px;
  }
  .tcm-slot__artist,
  .tcm-slot__name {
    font-size: 13px;
  }
}
