
html {
  overscroll-behavior: none;
}

/*--------------------------------------
modules
--------------------------------------*/

body:has(.spc.is-visible) {
  overflow: hidden;
}

.spc a {
  text-decoration: none;
  color: #000;
}
.spc__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.60);
  z-index: 9998;
}
.spc {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  background: #F1F1F1;
  padding: 15px 15px 5px;
  z-index: 9999;
  width: 100%;
  height: calc(100svh - 30px);
  display: none;
  flex-direction: column;
}
.spc__close {
  width: 40px;
  height: 40px;
  position: absolute;
  border: none;
  top: 5px;
  right: 5px;
  padding: 0;
  z-index: 50;
  z-index: 9999;
  background: #8d2532;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spc__close svg {
  width: 80%;
  height: 80%;
}
.spc__overlay.is-visible {
  display: flex;
}
.spc.is-visible {
  display: flex;
}
.spc__cal__inner-item {
  max-width: 100%;
  height: 100%;
  position: relative;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: auto;
  overscroll-behavior: none;
  touch-action: pan-x pan-y;
  will-change: scroll-position;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.spc__cal__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 70px; /* 月選択ナビゲーションの高さ分を確保 */
  box-sizing: border-box;
}

.spc__cal__inner-item::-webkit-scrollbar {
  background: #ede5e5;
  border-radius: 10px;
  width: 10px;
  height: 10px;
}
.spc__cal__inner-item::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 10px;
  cursor: pointer;
}
.spc__cal__inner-item::-webkit-scrollbar-thumb:hover {
  background-color: #1372CC;
}
.spc__cal__inner-wrapper {
  position: relative;
  flex: 1;
  height: 100%;
}

/* プログレスバーのスタイル */
.spc__progress-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  text-align: center;
}

.spc__cal__inner-wrapper.is-loading {
  position: relative;
}
.spc__cal__inner-wrapper.is-loading:before {
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}

.spc__progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.spc__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
  position: relative;
}

.spc__progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.spc__progress-text {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.spc__cal {
  border-collapse: collapse;
  border-spacing: 0;
  border-spacing: 6px;
  font-family: serif;
}
.spc__cal th, .spc__cal td {
  vertical-align: middle;
  color: #000;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  padding: 0;
  border-bottom: 2px solid #F1F1F1;
  border-right: 2px solid #F1F1F1;
}
.spc__cal th {
  background: #fff;
  font-weight: 900;
  z-index: 5;
}
.spc__cal td {
  z-index: 5;
}
.spc__cnt {
  background: #fff;
  border-radius: 4px;
  position: relative;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: none;
  font-family: serif;
}
.spc__cnt--departure {
  outline: 3px solid #1372CC;
  outline-offset: -2px;
  background: #e3f2fb;
}
.spc__cnt--finished {
  outline: none;
  background: #FFF;
}
.spc__cnt--finished p {
  font-size: 16px;
  font-weight: 600;
}
.spc__cnt--none {
  outline: none;
  background: #E5E5E5;
}
.cell-highlight {
  position: relative;
  z-index: 10;
}
.cell-highlight::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 3px solid #FF6B35;
  border-radius: 6px;
  pointer-events: none;
  animation: highlightPulse 2s ease-in-out;
}
@keyframes highlightPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.spc__cnt-price {
  color: #EB1111;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.05em;
  padding: 0 4px;
}
.spc__cnt-price::after {
  content: "円";
  font-size: 12px;
  font-weight: 900;
  color: #EB1111;
  display: inline-block;
  margin-left: 2px;
}
.spc__cnt-reception {
  font-size: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 600;
}
.spc__cnt-reception::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  position: absolute;
  top: 4px;
  right: -8px;
  transform: rotate(315deg);
}
.spc__cnt-reception--cancel {
  font-size: 9px;
}
.spc__cnt-reception--cancel::after {
  top: 2px;
  right: -4px;
}

.spc__cal-row {
  position: sticky;
  top: 0;
  left: -1px;
  background: none;
  border-left: none;
  border-right: none;
  height: 50px;
}
.spc__cal-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #F1F1F1;
  border-right: 2px solid #F1F1F1;
}
.spc__cal-row-flex {
  display: flex;
  justify-content: center;
}
.spc__cal-col {
  position: sticky;
  top: -1px;
  left: 0;
  background: none;
  border-top: none;
  border-bottom: none;
  min-width: 90px;
}
.spc__cal-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #F1F1F1;
  border-right: 2px solid #F1F1F1;
}
.spc__cal-cross {
  position: sticky;
  top: 0;
  left: 0;
  background: none;
  z-index: 10!important;
  width: 60px!important;
  background: #0073C0!important;
}
.spc__cal-cross p {
  color: #fff!important;
}
.spc__cal-cross::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #F1F1F1;
  border-right: 2px solid #F1F1F1;
}
.spc__cal-head {
  background: #E1F5FA;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 18px;
}
.spc__cal-head span {
  font-size: 70%;
  margin-bottom: 2px;
}
.spc__cal-cross .spc__cal-head {
  font-size: 16px;
  display: none;
}
.spc__cal-number {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px dashed #CECECE;
  border-bottom: 1px dashed #CECECE;
  padding: 0 2px;
  position: relative;
  z-index: 10;
}
.spc__cal-col .spc__cal-number {
  color: #0073C0!important;
  text-decoration: underline!important;
}
.spc__cal-number:hover {
  color: #82229f!important;
}
.spc__cal-number.is-red {
  color: #82229f!important;
}
.spc__cal-number.is-purple {
  color: #82229f!important;
}
.spc__cal-logo {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  font-weight: 900;
  font-family: 'noto sans-serif';
  font-size: 14px;
}
.spc__cal-number--sp span,
.spc__cal-logo--sp span {
  display: inline-block;
  width: 23px;
  height: 23px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #919090;
  border-radius: 5px;
}
.spc__cal-number--pc,
.spc__cal-logo--pc {
  display: none;
}
.spc__cal-logo picture,
.spc__cal-logo img {
  height: 100%;
}
.spc__cal-cross p {
  font-weight: 900;
  font-size: 20px;
}
.spc__cal-head-month,
.spc__cal-head-monthamount {
  line-height: 1;
}
.spc__cal-head-month {
  font-size: 24px!important;
  margin-bottom: 3px;
}
.spc__cal-head-monthamount {
  font-size: 20px!important;
}
.spc__cal-month {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #FFF6C4;
  font-size: 16px;
}
.spc__cal-month--sat {
  background: #d5e8fc;
}
.spc__cal-month--sun {
  background: #FFE3E3;
}
.spc__cal-date {
  font-size: 16px;
  font-weight: 900;
}
.spc__cal-date--pc {
  display: none;
}
.spc__options1 {
  z-index: 9990;
}
.spc__option-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9990;
}
.spc__option-select-wrapper {
  background: #fff;
  height: 40px;
  width: 100%;
  border-radius: 3px;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 500px) {
  .spc__option-select-wrapper {
    max-width: 142px;
  }
}

.spc__option-select-wrapper::after {
  position: absolute;
  content: '';
  width: 8px;
  height: 8px;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%) rotate(45deg);
  border-bottom: 2px solid #201160;
  border-right: 2px solid #201160;
  z-index: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}
.spc__option-select-wrapper:has(.spc__custom-select:hover):after,
.spc__option-select-wrapper:has(.spc__custom-select.is-open):after {
  bottom: 2px;
}

/* カスタムセレクトボックス */
.spc__custom-select {
  position: relative;
  width: 100%;
  height: 100%;
  user-select: none;
}

.spc__custom-select-trigger {
  background: none;
  border: none;
  color: #000;
  font-family: serif;
  font-size: 16px;
  width: 100%;
  height: 100%;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  padding-top: 5px;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spc__custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 100;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  min-width: 100%;
}

.spc__custom-select.is-open .spc__custom-select-options {
  max-height: 300px;
  overflow-y: auto;
  opacity: 1;
}

/* 右側にはみ出る場合の調整 */
.spc__custom-select-options.right-adjust {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
}

.spc__custom-select-options li {
  padding: 8px 10px;
  cursor: pointer;
  font-family: serif;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  position: relative;
  color: #000;
  white-space: nowrap;
}

.spc__custom-select-options li:hover {
  background: #f5f5f5;
}

.spc__custom-select-options li.is-selected {
  background: #ffe6f1;
  font-weight: 900;
}

/* 複数選択用のチェックボックス表示 */
.spc__custom-select--multiple .spc__custom-select-options li {
  padding-left: 30px;
}

.spc__custom-select--multiple .spc__custom-select-options li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #201160;
  border-radius: 3px;
  background: #fff;
}

.spc__custom-select--multiple .spc__custom-select-options li.is-selected::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  width: 5px;
  height: 10px;
  border-right: 3px solid #201160;
  border-bottom: 3px solid #201160;
}

.spc__option-select {
  /* 初期化 */
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  color: #000;
  font-family: serif;
  font-size:  16px;
  width: 100%!important;
  height: 100%;
  padding: 0 10px;
  font-weight: 900;
  cursor: pointer;
}
.ms-parent {
  padding: 0!important;
}
.ms-choice {
  height: 100%!important;
  width: 100%!important;
  font-size: 18px!important;
  border: none!important;
  font-weight: bold!important;
  color: #000!important;
}
.ms-choice>span {
  top: 50%!important;
  transform: translateY(-40%)!important;
}
.icon-caret {
  display: none!important;
}
.spc__option-date .spc__option-select {
  font-size: 24px;
}
.spc__move-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.15));
  z-index: 9950;
  position: absolute;
  opacity: .6;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.spc__move-btn path {
  fill: #000;
}
.spc__move-btn:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}
.spc__move-btn:not(:disabled):hover {
  opacity: 0.8;
}
.spc__move-btn--prev {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.spc__move-btn--next {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.spc__move-btn--up {
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
}
.spc__move-btn--down {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.spc__option-date,
.spc__option-departure {
  padding: 4px;
  background: #FFF6C4;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.15));
  width: fit-content;
  border-radius: 5px;
  gap: 5px;
  width: 100%;
}
.spc__option-column {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  grid-gap: 5px;
}
.spc__option-date {
  margin-bottom: 10px;
}
.spc__option-month-year {
  font-size: 26px;
  font-weight: 900;
  font-family: serif;
  padding-left: 20px;
  text-align: center;
  line-height: 1;
}
.spc__title {
  font-size: 18px;
  padding-left: 5px;
  line-height: 1.2;
  font-family: serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.spc__title span {
  display: inline-block;
  white-space: nowrap;
}
.spc__option-class {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.spc__option-class:before {
  content: '';
  width: 100%;
  height: 2px;
  background: #000;
  position: absolute;
  bottom: 0;
  left: 0;
}
.spc__option-class-button {
  background: #E0DFDF;
  min-height: 35px;
  color: #000;
  border: 2px solid #C5C5C5;
  border-bottom: 2px solid #000;
  text-decoration: underline;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-family: serif;
  font-weight: 900;
  max-width: 165px;
  width: 100%;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.spc__option-class-button:hover {
  opacity: 0.8;
}
.spc__option-class-button.is-active {
  background: #fff;
  color: #0073C0;
  border: 2px solid #000;
  border-bottom: none;
  text-decoration: none;
  z-index: 5;
}
/* .spc__option-class-button {
  min-height: 35px;
  max-width: 165px;
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-family: serif;
  font-weight: 900;
  border-radius: 5px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}
.spc__option-class-button:hover {
  opacity: 0.8;
}
.spc__option-class-button--economy {
  color: #474747;
  background: #C7CFD2;
}
.spc__option-class-button--business {
  color: #565656;
  border-radius: 5px;
  background: linear-gradient(51deg, #9714316b 23.1%, #5e091c80 50%, #97143163 76.9%);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.spc__option-class-button--economy.is-active {
  background: #E1F5FA;
  outline: 2px solid #1372CC;
  outline-offset: -2px;
}
.spc__option-class-button--business.is-active {
  background: linear-gradient(51deg, #971431 23.1%, #5E091C 50%, #971431 76.9%);
  color: #fff;
} */

.spc__legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.spc__legend-not-decision,
.spc__legend-decision {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-family: serif;
  font-weight: 600;
}
.spc__legend-not-decision:before,
.spc__legend:before {
  content: '';
  width: 45px;
  height: 20px;
  background: #e3f2fb;
  outline: 3px solid #1372CC;
  outline-offset: -2px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 2px;
}
.spc__legend-not-decision:before {
  outline: none;
  background: #fff;
}

.spc__cal__inner.scp_param_class_economy .spc__cal[data-class="C"] {
  display: none;
}
.spc__cal__inner.scp_param_class_business .spc__cal[data-class="Y"] {
  display: none;
}
/* .spc__cal-col,
.spc__cal td {
  display: none;
} */
.spc__cal__inner:not([data-air_select*='TK']) [data-air="TK"],
.spc__cal__inner:not([data-air_select*='NH']) [data-air="NH"],
.spc__cal__inner:not([data-air_select*='TX']) [data-air="TX"],
.spc__cal__inner:not([data-air_select*='JL']) [data-air="JL"],
.spc__cal__inner:not([data-air_select*='JX']) [data-air="JX"],
.spc__cal__inner:not([data-air_select*='NX']) [data-air="NX"],
.spc__cal__inner:not([data-air_select*='KE']) [data-air="KE"],
.spc__cal__inner:not([data-air_select*='KX']) [data-air="KX"],
.spc__cal__inner:not([data-stay_select*='8']) [data-stay="8"],
.spc__cal__inner:not([data-stay_select*='9']) [data-stay="9"],
.spc__cal__inner:not([data-stay_select*='10']) [data-stay="10"],
.spc__cal__inner:not([data-stay_select*='11']) [data-stay="11"],
.spc__cal__inner:not([data-stay_select*='5']) [data-stay="5"],
.spc__cal__inner:not([data-stay_select*='6']) [data-stay="6"] {
  display: none;
}

.b-nav-spc-pc {
  position: absolute;
  top: 0;
  left: 80px;
  transform: translateY(calc(-100% - 5px));
  border: none;
  background: #201160;
  border-radius: 12px;
  min-height: 65px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-indent: 7px;
  line-height: 1.2;
}
.b-nav-spc-pc:hover {
  background: #fff;
  outline: 2px solid #201160;
  outline-offset: -2px;
  color: #201160;
}
.b-nav-spc-pc:before {
  content: '';
  width: 22px;
  height: 22px;
  background-image: url(../img/spc/material-symbols_search.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  margin-right: 3px;
  position: absolute;
  left: 10px;
  top: 10px;
}
.b-nav-spc-pc:hover:before {
  background-image: url(../img/spc/material-symbols_search-active.png);
}

.b-nav-spc-sp-wrapper button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  background: #201160;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  position: relative;
}
.b-nav-spc-sp-wrapper button:before {
  content: '';
  width: 25px;
  height: 25px;
  background-image: url(../img/spc/material-symbols_search.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  margin-right: 10px;
}

@media screen and (min-width: 760px) {
  .b-nav-spc-pc {
    display: block;
  }
  .b-nav-spc-sp-wrapper button {
    display: none!important;
  }
  .spc {
    max-width: 1300px;
    max-height: 900px;
    border-radius: 15px;
    padding: 5px 40px 5px;
  }
  .spc__cnt {
    height: 45px;
  }
  .spc__cnt:after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -35%) rotate(315deg);
  }
  .spc__cnt--finished:after,
  .spc__cnt--none:after {
    content: none;
  }
  .spc__cal-col {
    min-width: 150px;
  }
  .spc__cal-cross {
    min-width: 160px;
    background: #fff!important;
  }
  .spc__cal-cross .spc__cal-head {
    display: flex;
    align-items: center;
  }
  .spc__cal-head-month,
  .spc__cal-head-monthamount {
    display: none;
  }
  .spc__cal-cross p {
    color: #000!important;
  }
  .spc__cal-logo {
    height: 35px;
    padding: 8px;
    font-size: 16px;
  }
  .spc__cal-row-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .spc__cal-date {
    flex: 1;
    font-size: 20px;
    margin-bottom: 0;
    height: 100%;
    border-right: 6px solid #F1F1F1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .spc__cal-date--sp {
    display: none;
  }
  .spc__cal-date--pc {
    display: block;
  }
  .spc__cal-month {
    width: 50px;
    height: 100%;
    border-radius: unset;
    font-size: 18px;
  }
  .spc__cal-cross p {
    font-size: 16px;
  }
  .spc__cal-head {
    font-size: 20px;
    height: 30px;
  }
  .spc__cal-number {
    font-size: 16px;
    height: 30px;
  }
  .spc__cal-number--pc,
  .spc__cal-logo--pc {
    display: block;
  }
  .spc__cal-number--sp,
  .spc__cal-logo--sp {
    display: none;
  }
  .spc__cal-row {
    height: 60px;
  }
  .spc__cal-row {
    height: 50px;
  }
  .spc__cnt-price {
    font-size: 18px;
  }
  .spc__cnt-reception {
    display: none;
  }
  .spc__cnt--finished p {
    font-size: 16px;
  }
  .spc__legend {
    font-size: 18px;
  }
  .spc__legend-not-decision:before,
  .spc__legend:before {
    height: 35px;
    width: 85px;
  }
  .spc__option-wrapper {
    display: flex;
    position: relative;
    align-items: flex-end;
    gap: 15px;
  }
  .spc__title {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }
  .spc__options1 {
    display: flex;
    gap: 10px;
    z-index: 9990;
    margin-right: auto;
  }
  .spc__option-departure {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .spc__option-date {
    margin-bottom: 0;
  }
  .spc__option-select-wrapper {
    height: 45px;
    align-items: flex-end;
    position: relative;
  }
  .spc__option-select-wrapper::after {
    left: auto;
    right: 10px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .spc__custom-select-trigger {
    align-items: center;
    padding-top: 0;
    padding: 0 30px 0 10px;
  }
  .spc__option-wrapper:before {
    content: '';
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .spc__option-select {
    font-size: 20px;
  }
  .spc__custom-select-trigger {
    font-size: 20px;
  }
  .spc__custom-select-options li {
    font-size: 16px;
    padding: 10px 12px;
  }
  .spc__custom-select--multiple .spc__custom-select-options li {
    padding-left: 35px;
  }
  
  /* PC版での位置調整 */
  .spc__custom-select-options {
    /* max-widthはJavaScriptで動的に制御 */
  }
  
  /* 右側のセレクトボックスが画面からはみ出る場合の調整 */
  .spc__option-column .spc__option-select-wrapper:nth-child(3) .spc__custom-select-options,
  .spc__option-column .spc__option-select-wrapper:nth-child(4) .spc__custom-select-options {
    left: auto;
    right: 0;
  }
  .spc__option-class {
    gap: 10px;
    margin-right: 10px;
  }
  .spc__option-class:before {
    content: none;
  }
  .spc__options1,
  .spc__options2 {
    margin-bottom: 0;
  }
  .spc__close {
    width: 35px;
    height: 35px;
    top: 5px;
    right: 5px;
    cursor: pointer;
  }
  /* .spc__option-class-button {
    background: #C4C4C4;
    min-height: 45px;
    border: none;
  }
  .spc__option-class-button.is-active {
    background: #fff;
    color: #0073C0;
    outline: 2px solid #0073C0;
    text-decoration: none;
    border: none;
  } */
  .spc__option-class-button {
    min-height: 45px;
    padding: 0 20px;
    font-size: 20px;
    width: 135px;
  }
  .spc__move-btn  {
    display: none!important;
  }
  .spc__cal th, .spc__cal td {
    border-bottom: 6px solid #F1F1F1;
    border-right: 6px solid #F1F1F1;
  }
  .spc__cal-row::before {
    border-bottom: 7px solid #F1F1F1;
    border-right: 7px solid #F1F1F1;
  }
  .spc__cal-col::before {
    border-bottom: 7px solid #F1F1F1;
    border-right: 7px solid #F1F1F1;
  }
  .spc__cal-cross::before {
    border-bottom: 7px solid #F1F1F1;
    border-right: 7px solid #F1F1F1;
  }
  .spc__cal__inner::-webkit-scrollbar {
    width: 15px;
    height: 15px;
  }
}
@media screen and (min-width: 980px) {
}
@media screen and (min-width: 1080px) {
  .spc__option-wrapper {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
  }
  .spc__options1 {
    margin-bottom: 15px;
  }
}
@media screen and (min-width: 1250px) {
  .b-nav-spc-pc {
    top: 0;
    left: auto;
    right: 0;
    transform: translateX(calc(100% + 10px));
  }
}

.spc__cal__infomodal {
  position: absolute;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  z-index: 9990;
  top: 0;
  left: -100%;
  width: 200px;
  transition: opacity 0.3s ease, scale 0.3s ease;
  display: none;
  opacity: 0;
  pointer-events: none;
}
.spc__cal__infomodal.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
.spc__cal__infomodal__title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #000;
}
.spc__cal__infomodal__btn {
  background: #0b318f;
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  font-family: "Kaisei HarunoUmi", serif;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.spc__cal__infomodal__btn span {
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #0b318f;
  font-weight: bold;
  font-family: "Kaisei HarunoUmi", serif;
  margin-top: 1px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.spc__cal__infomodal__btn span:before {
  content: '';
  border-top: 2px solid #0b318f;
  border-right: 2px solid #0b318f;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%) rotate(45deg);
}
.spc__cal__infomodal:hover {
  scale: 1.02;
}
.spc__cal__infomodal:hover .spc__cal__infomodal__btn {
  background: #fff;
  outline: 1px solid #0b318f;
  color: #0b318f;
}
@media screen and (min-width: 760px) and (hover: hover) {
  .spc__cal__infomodal {
    width: 300px;
  }
  .spc__cal__infomodal__title {
    font-size: 16px;
  }
  .spc__cal__infomodal__btn span {
    width: 20px;
    height: 20px;
  }
  .spc__cal__infomodal__btn span:before {
    content: '';
    border-top: 3px solid #0b318f;
    border-right: 3px solid #0b318f;
    width: 7px;
    height: 7px;
    right: 7px;
  }
}

/*--------------------------------------
月選択ナビゲーション（spc__cal__inner内）
--------------------------------------*/

.spc__month-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(53px,1fr));
  grid-gap: 10px;
  padding: 5px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  width: 100%;
  z-index: 10;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.spc__month-navigation-item {
  outline: 1px solid #dcdcdc;
  border-radius: 5px;
  outline-offset: -1px;
  min-height: 45px;
  background: none;
  color: #0038b6;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  white-space: nowrap;
  border: none;
  font-family: sans-serif;
}
.spc__month-navigation-item.is-active {
  background: #003BBC;
  color: #fff;
  outline: none;
}
 @media screen and (min-width: 760px) and (hover: hover) {
  .spc__cal__inner {
    padding-bottom: 80px; /* PC版では少し高さを増やす */
  }
  
  .spc__month-navigation {
    grid-template-columns: repeat(auto-fill, minmax(65px,1fr));
    grid-gap: 0;
    padding: 0;
    margin-bottom: 0;
    background: #fff;
    padding: 0 20px;
  }
  .spc__month-navigation-item {
    outline: none;
    border-bottom: 1px solid #dcdcdc;
  }
  .spc__month-navigation-item {
    min-height: 60px;
    font-size: 20px;
    color: #0038b6;
    cursor: pointer;
    transition: .2s;
    outline: none;
    border-radius: 0;
  }
  .spc__month-navigation-item.is-active {
    color: #fff;
  }
  .spc__month-navigation-item:hover {
    background: #003BBC;
    color: #fff;
    border: none;
  }
}