.calendar-booking {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}

.calendar-booking .calendar-left {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.calendar-booking .calendar-right {
  width: 360px;
  border: 1px solid #e2e2e2;
  padding: 25px;
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 768px) {
  .calendar-booking {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 12px;
  }

  .calendar-booking .calendar-right {
    width: 100%;
    padding: 20px;
  }
}

.calendar-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 12px;
  gap: 30px;
}

.calendar-header .month-label {
  font-size: 16px;
  font-weight: 600;
  padding-top: 10px;
}

.calendar-header .nav-btn {
  border: none;
  background: transparent;
  font-size: 35px;
  font-weight: 100;
  cursor: pointer;
  padding: 4px 10px;
  color: #222;
}

.calendar-header .nav-btn.disabled {
  color: #aaa;
  cursor: default;
  pointer-events: none;
}

.calendar-header .nav-btn:hover:not(.disabled) {
  color: #000;
}

.calendar-grid {
  width: 90%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin: 0 auto;
}

.calendar-grid th {
  text-align: center;
  padding: 4px 0;
  color: #999;
  font-weight: 600;
}

.calendar-grid td {
  border: 1px solid #e2e2e2;
  height: 70px;
  vertical-align: top;
}

.calendar-grid th:nth-child(1) {
  color: #ff5b00;
}

.calendar-grid th:nth-child(7) {
  color: #0072e3;
}

@media (max-width: 768px) {
  .calendar-grid {
    font-size: 12px;
    width: 100%;
  }

  .calendar-grid td {
    height: 54px;
  }
}

.day-cell {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 6px;
  cursor: pointer;
  -webkit-transition: background 0.15s ease;
  transition: background 0.15s ease;
}

.day-cell .num {
  font-size: 14px;
}

.day-cell .loading {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 150, 255, 0.3);
  border-top-color: #0096ff;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
          animation: spin 0.8s linear infinite;
  display: inline-block;
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.day-cell .status {
  font-size: 18px;
  margin-top: 2px;
}

.day-cell .status.is-ok {
  color: #2f80ed;
}

.day-cell .status.is-warn {
  color: #f2c94c;
}

.day-cell .status.is-ng {
  color: #bdbdbd;
}

.day-cell:hover {
  background: #fafafa;
}

.day-cell.disabled {
  cursor: not-allowed;
  color: #bbb;
}

.day-cell.disabled .status {
  color: #bbb;
}

.day-cell.is-past {
  background: #ebebeb;
  color: #999;
}

@media (max-width: 768px) {
  .day-cell {
    padding: 4px;
  }

  .day-cell .num {
    font-size: 12px;
  }

  .day-cell .status {
    font-size: 14px;
  }
}

.status.ok,
.status.good,
.status.mid {
  color: #ff5b00;
}

.status.ng {
  color: #000;
}

.plan-filter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

.plan-filter .title {
  font-size: 16px;
  font-weight: 600;
}

.plan-filter .title .chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid #0aa0c8;
  border-bottom: 2px solid #0aa0c8;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  cursor: pointer;
  display: inline-block;
  float: right;
}

.plan-filter .title .chevron.up {
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
  margin-top: 8px;
}

.plan-filter .title .chevron.down {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.plan-filter .notice {
  font-size: 14px;
}

.plan-filter .memo {
  opacity: 0.5;
}

.plan-filter label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.plan-filter input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.plan-filter hr {
  width: 100%;
  color: #e2e2e2;
}

.plan-filter .session-books {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 11px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.plan-filter .session-books .block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 8px 12px;
  background-color: #ffffff;
  border: 1px solid #009fc3;
  border-radius: 4px;
  color: #009fc3;
  width: 100%;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  gap: 29px;
}

.plan-filter .session-books .date {
  margin-right: 12px;
  white-space: nowrap;
}

.plan-filter .session-books .close-btn {
  background-color: #009fc3;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 16px;
  width: 24px;
  height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.plan-filter .session-books .close-btn:hover {
  background-color: #00bcd4;
}

.plan-filter .submit .primary {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  background: var(--define-orange);
  color: white;
}

.plan-filter .submit .primary:disabled {
  opacity: .5;
  pointer-events: none;
}

.plan-panel {
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #fff;
  padding: 12px;
  margin-bottom: 12px;
}

.plan-panel .panel-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.plan-panel .panel-header .arrow {
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.plan-panel .panel-header.open .arrow {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.plan-panel .panel-body {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .plan-panel {
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .panel-body.open {
    display: block;
  }
}

.reservation-list {
  margin-top: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.reservation-list .item {
  background: #e7f7ff;
  border-radius: 6px;
  padding: 8px 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 13px;
}

.reservation-list .item .remove {
  cursor: pointer;
  font-size: 16px;
}

/**----------------------**/

.booking-popup {
  position: fixed;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 9999;
  font-family: sans-serif;
}

.booking-popup .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.booking-popup .popup {
  position: relative;
  width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  -webkit-animation: fadeIn .2s ease;
          animation: fadeIn .2s ease;
}

.booking-popup .popup .close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 21px;
  border: none;
  background: #999;
  cursor: pointer;
  border-radius: 50%;
  color: #fff;
  width: 32px;
  height: 32px;
}

.booking-popup .popup .section {
  margin-top: 24px;
}

.booking-popup .popup .p-label {
  font-weight: 600;
  margin-bottom: 8px;
}

.booking-popup .popup .p-label.small {
  font-size: 13px;
  color: #555;
}

.booking-popup .popup .date {
  font-size: 20px;
  font-weight: 600;
}

.booking-popup .popup .time-range {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.booking-popup .popup .time-range .tilde {
  font-size: 20px;
  margin-top: 25px;
  color: #8c8c8c;
}

.booking-popup .popup .time-range .time-select {
  width: 120px;
  height: 36px;
  border: 1px solid #ccc;
  padding: 0 8px;
  border-radius: 5px;
  background-color: #fff !important;
}

.booking-popup .popup .plans {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}

.booking-popup .popup .plans .plan-item {
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
}

.booking-popup .popup .plans .plan-item.active {
  border-color: #e23b00;
  background: #fff3ec;
}

.booking-popup .popup .price-box .detail-plan {
  border-radius: 6px;
  padding: 15px;
}

.booking-popup .popup .price-box .detail-plan .dt-label {
  color: #8d8d8d;
  margin-bottom: 10px;
  font-size: 11px;
}

.booking-popup .popup .price-box .detail-plan .current-plan {
  margin-bottom: 10px;
}

.booking-popup .popup .price-box .detail-plan .line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .booking-popup .popup .price-box .detail-plan .line {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 5px;
  }
}

.booking-popup .popup .price-box .detail-plan .calc-box {
  margin-top: 14px;
  padding: 12px;
  background: #f1f1f1;
  border-radius: 6px;
}

.booking-popup .popup .price-box .detail-plan .calc-box .discount {
  text-align: right;
}

.booking-popup .popup .price-box .detail-plan .calc-box .discount .discount-row {
  margin-bottom: 7px;
}

.booking-popup .popup .price-box .detail-plan .calc-box .discount .discount-row .badge {
  background: #e8fbff;
  color: #009fc3;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  margin-right: 6px;
  border: 1px solid;
}

.booking-popup .popup .price-box .detail-plan .calc-box .discount .discount-row .notice {
  color: #009fc3;
}

.booking-popup .popup .price-box .detail-plan .calc-box .subtotal-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin: 10px 0;
  gap: 30px;
}

.booking-popup .popup .price-box .detail-plan .calc-box .subtotal-row .old {
  text-decoration: line-through;
  color: #777;
}

.booking-popup .popup .price-box .detail-plan .calc-box .tax-row {
  font-size: 12px;
  color: #666;
  text-align: right;
}

.booking-popup .popup .price-box .detail-plan .total-row {
  margin-top: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  font-size: 18px;
  font-weight: 600;
  gap: 35px;
}

.booking-popup .popup .price-box .detail-plan .lowest-price {
  color: red;
  text-align: right;
  margin-top: 13px;
}

.booking-popup .popup .price-box .detail-plan .lowest-price i {
  margin-right: 5px;
}

.booking-popup .popup .b-footer {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.booking-popup .popup .b-footer button {
  width: 90%;
  height: 46px;
  border-radius: 6px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.booking-popup .popup .b-footer .primary {
  background: var(--define-orange);
  color: white;
}

.booking-popup .popup .b-footer .primary:disabled {
  opacity: .5;
  pointer-events: none;
}

.booking-popup .popup .b-footer .secondary {
  background: white;
  border: 1px solid var(--define-orange);
  color: var(--define-orange);
}

.booking-popup .popup .b-footer .secondary i {
  font-size: 20px;
}

@media (max-width: 600px) {
  .booking-popup .popup {
    width: 95%;
    padding: 20px;
  }
}

.booking-notice {
  margin-left: 20px;
}

.booking-notice h3 {
  font-size: 18px;
  font-weight: 700;
}

.booking-notice .icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.booking-notice .icons .icon {
  font-size: 18px;
}

@media (max-width: 768px) {
  .booking-notice .icons .icon {
    font-size: 14px;
  }
}

.booking-notice .icons .is-ok {
  color: #2f80ed;
}

.booking-notice .icons .is-warn {
  color: #f2c94c;
}

.booking-notice .icons .is-ng {
  color: #bdbdbd;
}

@media (max-width: 768px) {
  .booking-notice {
    margin-left: 12px;
  }
}

