@charset "utf-8";

body {
  background-image: none;
}

#fv {
  background-image: url(../img/operation_fv.webp);
}

@media (max-width: 519px) {
  #fv {
    background-image: url(../img/operation_fv_sp.webp);
    height: 180px;
  }
}

#schedule {
  max-width: 1000px;
  padding-top: 70px;
}

#schedule .caution {
  margin-bottom: 30px;
  color: #B70000;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

#schedule > .header {
  text-align: center;
  border-bottom: 1px solid #D1CAC4;
  padding-bottom: 16px;
}

#schedule > .header .icon .text {
  color: #B39E54;
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 16px;
}

#schedule > .header .ttl {
  font-size: 32px;
  color: #000000;
}

@media (max-width: 959px) {
  #schedule .link {
    text-align: center;
  }
}

@media (max-width: 519px) {
  #schedule > .header .ttl {
    font-size: 24px;
  }

  #schedule > .header .icon img {
    width: 50px;
  }

  #schedule > .header .icon .text {
    margin-bottom: 8px;
  }
}

#calendar {
  margin-top: 20px;
}

#calendar .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--gothic);
  font-size: 18px;
  font-weight: bold;
}

#calendar .header .now {
  font-size: 22px;
}

#calendar .header .prev a,
#calendar .header .next a {
  display: inline-block;
}

#calendar .header .prev a::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 12px;
  background: center / contain url(../img/arrow-left.svg) no-repeat;
  margin-right: 8px;
}

#calendar .header .next a::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 12px;
  background: center / contain url(../img/arrow-right.svg) no-repeat;
  margin-left: 8px;
}

#calendar .header .prev a span.label,
#calendar .header .next a span.label{}

@media (max-width: 959px) {
  #calendar .header {
    margin-bottom: 8px;
  }

  #calendar td {
    vertical-align: top;
  }

  #calendar .day {
    position: relative;
    text-align: right;
  }

  #calendar .status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 20px);
  }
}

@media (max-width: 519px) {

  #calendar .header .prev a,
  #calendar .header .next a {
    background: #EDE6D0;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 16px;
  }

  #calendar .header .prev:empty,
  #calendar .header .next:empty {
    background: #ddd;
    color: #888;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 16px;
  }

  #calendar .header .prev:empty::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    background: center / contain url(../img/arrow-left-gray.svg) no-repeat;
    margin-right: 8px;
  }

  #calendar .header .prev:empty::after {
    content: ' ';
  }
  #calendar .header .next:empty::before {
    content: ' ';
  }
  #calendar.ja .header .prev:empty::after {
    content: '前月';
  }
  #calendar.ja .header .next:empty::before {
    content: '次月';
  }

  #calendar .header .next:empty::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    background: center / contain url(../img/arrow-right-gray.svg) no-repeat;
    margin-left: 8px;
  }

  #calendar .header .prev a span.label.sp_none,
  #calendar .header .next a span.label.sp_none{
    display: none;
  }

}

.calendar-table {
  width: 100%;
  border-top: 1px solid #AAAAAA;
  border-left: 1px solid #AAAAAA;
  font-size: 12px;
  font-family: var(--gothic);
  table-layout: fixed;
}

.calendar-table th,
.calendar-table td {
  border-bottom: 1px solid #AAAAAA;
  border-right: 1px solid #AAAAAA;
  padding: 4px;
  text-align: center;
  vertical-align: middle;
  position: relative;
}

.calendar-table th {
  height: 38px;
  background: #F1F1F1;
}

.calendar-table td {
  height: 77px;
}

.calendar-table .nodata {
  background-color: #F1F1F1;
}

.calendar-table th:nth-of-type(1) {
  background-color: #F7C0C0;
}

.calendar-table td:nth-of-type(1) {
  background-color: #FFF0F0;
}

.calendar-table td:nth-of-type(1) .day {
  color: #FF7474;
}

.calendar-table th:nth-of-type(7) {
  background-color: #C0D6F7;
}

.calendar-table td:nth-of-type(7) {
  background-color: #F0F6FF;
}

.calendar-table td:nth-of-type(7) .day {
  color: #74ABFF;
}

.calendar-table .selected {
  background: #F7EBC2;
}

.calendar-table .day {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 14px;
}

.calendar-table .status {
  font-size: 16px;
}

.calendar-table .status a {
  color: #0042C3;
  text-decoration: underline;
}

.calendar-table tr .range_out .day {
  color: #AAAAAA;
}

#calendar .note {
  margin-top: 32px;
  margin-bottom: 8px;
  line-height: 1.8;
}

#seat {
  margin-top: 32px;
  font-family: var(--gothic);
  color: #000;
}

#seat .title {
  font-size: 24px;
  border-bottom: 1px solid #D1CAC4;
  padding-bottom: 16px;
  margin-bottom: 28px;
  letter-spacing: 1.5px;
}

.time-table {
  width: 100%;
}

.time-table th {
  background: #F1F1F1;
}

.time-table th,
.time-table td {
  border: 1px solid #AAAAAA;
  text-align: center;
  padding: 8px;
  vertical-align: middle;
}

.seat-wrapper {
  display: flex;
  -moz-column-gap: 20px;
  -webkit-column-gap: 20px;
  column-gap: 20px;
}

.seat-wrapper > div {
  width: 100%;
}

@media (max-width: 959px) {
  .seat-wrapper {
    flex-direction: column;
    row-gap: 20px;
  }
}

#time {
  margin-top: 80px;
  padding-bottom: 40px;
}

#time .ttl {
  font-size: 32px;
  color: #000000;
  text-align: center;
  border-bottom: 1px solid #D1CAC4;
  padding-bottom: 16px;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
}

@media (max-width: 519px) {
  #time .ttl {
    font-size: 24px;
  }
}

#time_date {
  position: relative;
}

#time_date a.open_calendar {
  display: block;
  border: 1px solid #B39E54;
  border-radius: 4px;
  max-width: 400px;
  margin: 0 auto;
  padding: 13px 20px;
  position: relative;
}

#time_date a.open_calendar::after {
  content: '';
  display: inline-block;
  background: center / contain url(../img/operation_ico_calendar.png) no-repeat;
  width: 26px;
  height: 26px;
  position: absolute;
  right: 20px;
}

.tooltip {
  display: none;
  position: absolute;
  z-index: 1;
  transition: opacity 500ms;
  width: 370px;
  top: 42px;
  right: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  background-color: #fff;
  border-radius: 9px;
  padding: 24px 30px;
  box-shadow: 0px 2px 10px 0px #794F4F33;
}

#calendar_result {
  font-family: var(--gothic);
}

#time_calendar .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

#time_calendar .header .nav {
  display: flex;
  justify-content: space-between;
  width: 40px;
}

#time_calendar .header .nav img {
  display: block;
}

#time_calendar table {
  table-layout: fixed;
  width: 100%;
}

#time_calendar table th,
#time_calendar table td {
  text-align: center;
  padding: 8px;
  color: #808080;
  position: relative;
}

#time_calendar table th {
  font-size: 13px;
}

#time_calendar table td .day {
  font-size: 16px;
}

#time_calendar table td a {
  display: block;
}

#time_calendar table .clickable.day a {
  color: #000;
}

#time_calendar table .today::after {
  content: '';
  position: absolute;
  background: #F7EBC2;
  border-radius: 40px;
  display: block;
  width: 30px;
  height: 30px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
}

#time_down,
#time_up {
  font-family: var(--gothic);
  color: #000;
  margin-top: 15px;
}

#time .link {
  margin-top: 30px;
}

@media (max-width: 519px) {
  #schedule {
    padding-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .calendar-table .status {
    font-size: 14px;
  }

  .time-table th,
  .time-table td {
    font-size: 12px;
    padding: 10px 6px;
  }

  .time-table th {
    font-size: 11px;
  }

  #calendar .note {
    margin: 20px 10px;
  }

  #seat {
    margin-top: 40px;
  }

  #seat .title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  #time {
    margin-top: 50px;
  }
}

.loading {
  position: relative;
}
.loading img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
#calendar .loading {
  height: 260px;
}
#time .loading {
  height: 490px;
}