.cave-schedule .cave-desktop .cave-lane::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  box-shadow: inset -1px 0 #292b2d;
  content: "";
  pointer-events: none;
}

.cave-schedule .cave-head > *,
.cave-schedule .cave-times {
  border-right: 1px solid #292b2d;
}

.cave-schedule .cave-lane {
  border-right: 0;
}

.cave-schedule .cave-head > :last-child,
.cave-schedule .cave-grid > .cave-lane:last-child {
  border-right: 0;
}

.cave-schedule .cave-desktop .cave-lane:last-child::after {
  box-shadow: none;
}

.cave-schedule .cave-desktop .cave-event:not([data-cave-overlap="true"]) {
  left: 0;
  right: 0;
  border-top-color: #969da1;
  border-bottom-color: #969da1;
}

.cave-schedule .cave-floor[data-floor-panel="1f"] .cave-desktop .cave-lane:nth-child(7) .cave-event:has(a[href$="/course/yoga.html"]),
.cave-schedule .cave-floor[data-floor-panel="1f"] .cave-mobile .cave-day[data-day-panel="6"] .cave-card:has(a[href$="/course/yoga.html"]) {
  background: #dcd2c8;
}

.cave-schedule .cave-event,
.cave-schedule .cave-card {
  color: #333;
}

.cave-schedule .cave-event a,
.cave-schedule .cave-card a {
  color: #333 !important;
  text-decoration-color: #333 !important;
}

.cave-schedule .cave-event a::after,
.cave-schedule .cave-card a::after {
  display: inline-block;
  margin-left: .22em;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95em;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  content: "\203A";
}

.cave-schedule .cave-floor[data-floor-panel="2f"] :is(.cave-event, .cave-card):has(a[href$="/course/mma-ex.html"]),
.cave-schedule .cave-floor[data-floor-panel="2f"] a[href$="/course/mma-ex.html"],
.cave-schedule .cave-floor[data-floor-panel="2f"] a[href$="/course/mma-ex.html"] strong {
  color: #fff !important;
}

.cave-schedule .cave-floor[data-floor-panel="2f"] a[href$="/course/mma-ex.html"] {
  text-decoration-color: #fff !important;
}

#tcd-pb-wrap h1.cave-schedule-section-heading {
  display: grid;
  box-sizing: border-box;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(30px, 4vw, 48px);
  align-items: start;
  width: 100%;
  margin: 0 0 38px !important;
  padding: 25px 4px 27px;
  border: 0;
  border-top: 1px solid #c9d1d4;
  border-bottom: 1px solid #c9d1d4;
  background: #fff;
  color: #16191b;
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
  line-height: 1;
  text-align: left;
}

#tcd-pb-wrap h1.cave-schedule-section-heading::before,
#tcd-pb-wrap h1.cave-schedule-section-heading::after {
  display: none !important;
  content: none !important;
}

body.cave-subpage-redesign .sbc-calendar-shell .sbc-toolbar select[data-sbc-select] {
  padding: 0 22px;
  font-size: 20px;
  line-height: normal;
}

.cave-schedule-section-heading__label {
  display: flex;
  min-height: 76px;
  margin: 0;
  padding: 0 24px 0 5px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid #c9d1d4;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.cave-schedule-section-heading__number {
  display: block;
  color: #16191b;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -.045em;
}

.cave-schedule-section-heading__kicker {
  display: block;
  color: #087da8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  white-space: nowrap;
}

.cave-schedule-section-heading__content {
  display: block;
  align-self: center;
  min-width: 0;
}

.cave-schedule-section-heading__title {
  display: block;
  color: #16191b;
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .035em;
}

.cave-schedule-section-heading__description {
  display: block;
  margin-top: 7px;
  color: #667178;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .02em;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) {
  display: flex;
  flex-direction: column;
  border: 1px solid #888;
  background: #fff;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) > h3 {
  position: relative;
  margin: 0 0 18px;
  padding: 9px 0 14px;
  border-bottom: 1px solid #d6dadd;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.45;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) > h3::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: #58b4d1;
  content: "";
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) .s_table {
  margin: 0;
  overflow: visible;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost th,
#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost td {
  border: 0;
  border-bottom: 1px solid #e0e4e6;
  padding: 13px 15px;
  line-height: 1.55;
  vertical-align: middle;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost tr:first-child th,
#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost tr:first-child td {
  border-top: 1px solid #e0e4e6;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost th {
  width: 30%;
  background: #f4f6f7;
  color: #465158;
  font-weight: 400;
  text-align: left;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost td {
  background: #fff;
  color: #2c3134;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  letter-spacing: .02em;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) > p {
  position: relative;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #e0e4e6;
  background: transparent;
  color: #525b60;
  font-size: clamp(.78rem, 1.15vw, .94rem);
  font-weight: 400;
  line-height: 1.65;
}

#tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) > p::before {
  content: none;
}

@media (min-width: 768px) {
  #tcd-pb-wrap .tcd-pb-row:has(.sbc-calendar-shell):has(table.cost) > .tcd-pb-row-inner {
    display: flex;
    align-items: stretch;
  }

  #tcd-pb-wrap .tcd-pb-row:has(.sbc-calendar-shell):has(table.cost) > .tcd-pb-row-inner > .tcd-pb-col {
    display: flex;
    float: none;
    flex-direction: column;
    min-width: 0;
  }

  #tcd-pb-wrap .tcd-pb-row:has(.sbc-calendar-shell):has(table.cost) > .tcd-pb-row-inner > .tcd-pb-col > .pb-widget-editor {
    width: 100%;
    flex: 1 1 auto;
  }

  .cave-event[data-cave-overlap="true"] {
    left: var(--cave-overlap-left);
    right: auto;
    width: var(--cave-overlap-width);
    border-top: 1px solid #969da1;
    border-right: 0;
    border-bottom: 1px solid #969da1;
    border-left: 0;
  }

  .cave-event:has(a[href$="/course/kickbeginner.html"]) {
    line-height: 1.1;
  }

  .cave-event:has(a[href$="/course/kickbeginner.html"]) time {
    font-size: .62rem;
  }

  .cave-event a[href$="/course/kickbeginner.html"] strong {
    font-size: clamp(.61rem, .75vw, .74rem);
  }
}

@media (max-width: 767.98px) {
  .cave-schedule .cave-card a::after {
    font-weight: 700;
  }

  #tcd-pb-wrap h1.cave-schedule-section-heading {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 28px !important;
    padding: 19px 0 21px;
  }

  .cave-schedule-section-heading__label {
    min-height: 68px;
    padding: 0 15px 0 2px;
  }

  .cave-schedule-section-heading__number {
    font-size: 34px;
  }

  .cave-schedule-section-heading__kicker {
    font-size: 10px;
    letter-spacing: .1em;
  }

  .cave-schedule-section-heading__title {
    font-size: 20px;
  }

  .cave-schedule-section-heading__description {
    margin-top: 5px;
    font-size: 12px;
  }

  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) > h3,
  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(.sbc-calendar-shell) > h3 {
    margin-bottom: 14px;
    padding-top: 4px;
    padding-bottom: 11px;
    font-size: 1.05rem;
    line-height: 1.45;
    white-space: nowrap;
  }

  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) .s_table {
    display: block;
    box-sizing: border-box;
    width: 100%;
    overflow: visible;
  }

  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost {
    display: block;
    width: 100%;
    table-layout: auto;
  }

  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost thead,
  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost tbody,
  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost tfoot,
  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost tr {
    display: block;
    width: 100%;
  }

  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost th,
  #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) table.cost td {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    padding: 12px 13px;
    border-bottom: 1px solid #e0e4e6;
    font-size: .9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .cave-concurrent-label {
    display: block;
    width: max-content;
    margin: 0 0 5px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #26282a;
    color: #fff;
    font-size: .67rem;
    font-weight: 700;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  body.cave-subpage-redesign .sbc-calendar-shell .sbc-toolbar select[data-sbc-select] {
    padding: 0 10px;
    font-size: 17px;
  }
}
