/* =========================================================
   TA POP UP Schedule - Front
   v1.0.10
   Triple Arrows card layout
========================================================= */

.ta-popup-schedule,
.ta-popup-schedule * {
  box-sizing: border-box !important;
}

.ta-popup-schedule {
  --ta-ink: #252c2b;
  --ta-muted: #78817e;
  --ta-line: #d8dfdc;
  --ta-panel: #fafbf9;
  --ta-card: #ffffff;
  --ta-accent: #668187;
  --ta-card-line: #b9cbc7;
  width: 100% !important;
  max-width: 790px !important;
  margin: 0 auto !important;
  padding: 12px 14px 52px !important;
  color: var(--ta-ink) !important;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif !important;
  font-feature-settings: "palt";
}


.ta-popup-schedule button,
.ta-popup-schedule h2,
.ta-popup-schedule h3,
.ta-popup-schedule p,
.ta-popup-schedule span,
.ta-popup-schedule b {
  font-family: inherit !important;
}

/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */
.ta-popup-schedule .ta-popup-heading {
  margin: 0 auto 22px !important;
  padding: 0 10px !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ta-popup-schedule .ta-popup-kicker {
  margin: 0 0 9px !important;
  padding: 0 !important;
  color: #65736f !important;
  background: transparent !important;
  border: 0 !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
}

.ta-popup-schedule .ta-popup-heading h2,
.ta-popup-schedule .ta-popup-heading h2.wp-block-heading {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #252b29 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: .02em !important;
  text-align: center !important;
  text-shadow: none !important;
}

.ta-popup-schedule .ta-popup-heading h2::before,
.ta-popup-schedule .ta-popup-heading h2::after {
  display: none !important;
  content: none !important;
}

.ta-popup-schedule .ta-popup-heading > p:last-child {
  margin: 0 !important;
  padding: 0 !important;
  color: #86908d !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.85 !important;
  letter-spacing: .04em !important;
}

/* ---------------------------------------------------------
   R / Q LEGEND
--------------------------------------------------------- */
.ta-popup-schedule .ta-popup-legend {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 22px !important;
  flex-wrap: wrap !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  color: #5d6865 !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
}

.ta-popup-schedule .ta-popup-legend span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ta-popup-schedule .ta-popup-legend b {
  display: inline-grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #29302e !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.ta-popup-schedule .ta-popup-legend span:nth-child(2) b {
  background: #8aa097 !important;
}

/* ---------------------------------------------------------
   FILTER PANEL
--------------------------------------------------------- */
.ta-popup-schedule .ta-popup-filters {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 17px !important;
  margin: 0 0 38px !important;
  padding: 24px !important;
  background: var(--ta-panel) !important;
  border: 1px solid var(--ta-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ta-popup-schedule .ta-popup-filter-label {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #34403d !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: .04em !important;
}

.ta-popup-schedule .ta-popup-filter-buttons {
  display: grid !important;
  gap: 9px !important;
  width: 100% !important;
}

.ta-popup-schedule .ta-popup-filter-group:first-child .ta-popup-filter-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.ta-popup-schedule .ta-popup-filter-group:last-child .ta-popup-filter-buttons {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.ta-popup-schedule .ta-popup-filter-buttons button {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 9px !important;
  border: 1px solid #cfd7d4 !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #34403d !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: .015em !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease !important;
}

.ta-popup-schedule .ta-popup-filter-buttons button:hover,
.ta-popup-schedule .ta-popup-filter-buttons button.is-active {
  border-color: var(--ta-accent) !important;
  background: var(--ta-accent) !important;
  color: #fff !important;
}

/* ---------------------------------------------------------
   CARD GRID - PC 2 columns
--------------------------------------------------------- */
.ta-popup-schedule .ta-popup-current-label {
  display: none !important;
}

.ta-popup-schedule .ta-popup-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.ta-popup-schedule .ta-popup-card {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  min-height: 116px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--ta-card) !important;
  border: 1px solid var(--ta-card-line) !important;
  border-left: 4px solid #4f767b !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1;
}

.ta-popup-schedule .ta-popup-card[hidden] {
  display: none !important;
}

.ta-popup-schedule .ta-popup-card.is-ended {
  opacity: .5 !important;
}

.ta-popup-schedule .ta-popup-card-body {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
  min-height: 114px !important;
  padding: 18px 15px 14px 16px !important;
}

.ta-popup-schedule .ta-popup-card.is-current .ta-popup-card-body {
  padding-top: 31px !important;
}

/* current label */
.ta-popup-schedule .ta-popup-badge {
  position: absolute !important;
  z-index: 2 !important;
  top: 0 !important;
  left: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 68px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #456d73 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

/* date */
.ta-popup-schedule .ta-popup-dateblock {
  min-width: 0 !important;
  color: #26302e !important;
}

.ta-popup-schedule .ta-popup-date-row {
  display: grid !important;
  grid-template-columns: auto 18px !important;
  align-items: baseline !important;
  column-gap: 5px !important;
  width: fit-content !important;
  white-space: nowrap !important;
}

.ta-popup-schedule .ta-popup-date-row--end {
  grid-template-columns: 18px auto 18px !important;
  margin-top: 5px !important;
}

.ta-popup-schedule .ta-popup-date-main {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 23px !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  letter-spacing: .01em !important;
}

.ta-popup-schedule .ta-popup-weekday {
  color: #a4aca9 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.ta-popup-schedule .ta-popup-date-dash {
  color: #8b9692 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

/* store info */
.ta-popup-schedule .ta-popup-info {
  min-width: 0 !important;
}

.ta-popup-schedule .ta-popup-region {
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: #55726c !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: .025em !important;
}

.ta-popup-schedule .ta-popup-store h3 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  overflow-wrap: anywhere !important;
  color: #1f2927 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: .01em !important;
}

.ta-popup-schedule .ta-popup-store h3::before,
.ta-popup-schedule .ta-popup-store h3::after {
  display: none !important;
  content: none !important;
}

.ta-popup-schedule .ta-popup-store p {
  margin: 0 !important;
  padding: 0 !important;
  color: #96a09d !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

/* R / Q circles */
.ta-popup-schedule .ta-popup-brandset {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 32px !important;
}

.ta-popup-schedule .ta-popup-brand {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #29302e !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.ta-popup-schedule .ta-popup-brand.ta-popup-brand--r {
  background: #29302e !important;
}

.ta-popup-schedule .ta-popup-brand.ta-popup-brand--q {
  background: #8aa097 !important;
}

/* Brand accent: Q-only cards are visually distinct from R-only cards. */
.ta-popup-schedule .ta-popup-card--brand-r {
  border-left-color: #4f767b !important;
}

.ta-popup-schedule .ta-popup-card--brand-q {
  border-left-color: #8aa097 !important;
}

.ta-popup-schedule .ta-popup-card--brand-rq {
  border-left-color: #6d8b84 !important;
}

.ta-popup-schedule .ta-popup-empty {
  margin: 0 !important;
  padding: 34px 0 !important;
  color: #828b88 !important;
  font-size: 12px !important;
  text-align: center !important;
}

.ta-popup-schedule .ta-popup-note {
  margin: 22px 0 0 !important;
  padding: 0 !important;
  color: #89918f !important;
  font-size: 10px !important;
  line-height: 1.6 !important;
  text-align: left !important;
}

/* ---------------------------------------------------------
   SMALL PC / TABLET
--------------------------------------------------------- */
@media (max-width: 820px) {
  .ta-popup-schedule {
    max-width: 760px !important;
  }

  .ta-popup-schedule .ta-popup-card-body {
    grid-template-columns: 96px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding-right: 12px !important;
    padding-left: 13px !important;
  }

  .ta-popup-schedule .ta-popup-date-main {
    font-size: 22px !important;
  }

  .ta-popup-schedule .ta-popup-store h3 {
    font-size: 16px !important;
  }
}

/* ---------------------------------------------------------
   MOBILE - 1 column
--------------------------------------------------------- */
@media (max-width: 767px) {
  .ta-popup-schedule {
    max-width: 100% !important;
    padding: 8px 12px 42px !important;
  }

  .ta-popup-schedule .ta-popup-heading {
    margin-bottom: 18px !important;
  }

  .ta-popup-schedule .ta-popup-kicker {
    margin-bottom: 7px !important;
    font-size: 8.5px !important;
  }

  .ta-popup-schedule .ta-popup-heading h2,
  .ta-popup-schedule .ta-popup-heading h2.wp-block-heading {
    margin-bottom: 9px !important;
    font-size: 21px !important;
  }

  .ta-popup-schedule .ta-popup-heading > p:last-child {
    font-size: 13px !important;
  }

  .ta-popup-schedule .ta-popup-legend {
    gap: 16px !important;
    margin-bottom: 22px !important;
    font-size: 12.5px !important;
    line-height: 1.7 !important;
  }

  .ta-popup-schedule .ta-popup-legend b {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  .ta-popup-schedule .ta-popup-filters {
    gap: 14px !important;
    margin-bottom: 26px !important;
    padding: 16px !important;
  }

  .ta-popup-schedule .ta-popup-filter-label {
    margin-bottom: 7px !important;
    font-size: 11px !important;
  }

  .ta-popup-schedule .ta-popup-filter-group:last-child .ta-popup-filter-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ta-popup-schedule .ta-popup-filter-buttons button {
    min-height: 42px !important;
    padding: 8px 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  .ta-popup-schedule .ta-popup-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .ta-popup-schedule .ta-popup-card {
    min-height: 108px !important;
  }

  .ta-popup-schedule .ta-popup-card-body,
  .ta-popup-schedule .ta-popup-card.is-current .ta-popup-card-body {
    grid-template-columns: 92px minmax(0, 1fr) auto !important;
    min-height: 106px !important;
    gap: 10px !important;
    padding: 28px 12px 12px 13px !important;
  }

  .ta-popup-schedule .ta-popup-card:not(.is-current) .ta-popup-card-body {
    padding-top: 16px !important;
  }

  .ta-popup-schedule .ta-popup-date-main {
    font-size: 19px !important;
    font-weight: 600 !important;
  }

  .ta-popup-schedule .ta-popup-weekday {
    font-size: 10px !important;
  }

  .ta-popup-schedule .ta-popup-store h3 {
    font-size: 16px !important;
  }

  .ta-popup-schedule .ta-popup-region,
  .ta-popup-schedule .ta-popup-store p {
    font-size: 9.5px !important;
  }

  .ta-popup-schedule .ta-popup-brand {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
    font-size: 12px !important;
  }

  .ta-popup-schedule .ta-popup-badge {
    min-width: 64px !important;
    height: 24px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 380px) {
  .ta-popup-schedule .ta-popup-card-body,
  .ta-popup-schedule .ta-popup-card.is-current .ta-popup-card-body {
    grid-template-columns: 84px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding-right: 9px !important;
    padding-left: 10px !important;
  }

  .ta-popup-schedule .ta-popup-date-main {
    font-size: 19px !important;
    font-weight: 600 !important;
  }

  .ta-popup-schedule .ta-popup-store h3 {
    font-size: 15px !important;
  }
}
