.km-page--search,
.km-page--result,
.km-page--detail {
  background: #FFF3EF;
  padding: 30px 18px 40px
}

.km-page__title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700
}

.km-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 23px 23px 55px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05)
}

.km-shop-info {
  margin: 0 0 20px;
  border-radius: 0 0 8px 8px
}

.km-search-top {
  display: flex;
  flex-direction: column;
  gap: 28px
}

.km-search-top__block {
  display: flex;
  flex-direction: column
}

.km-search-top__heading {
  margin: 0 0 30px;
  font-size: 1.5rem;
  font-weight: 700
}

.km-btn {
  border: 0;
  cursor: pointer;
  font: inherit
}

.km-btn--primary {
  width: 100%;
  height: 56px;
  border-radius: 9999px;
  background: #F7754C;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  justify-content: center
}

.km-btn--primary:focus-visible {
  outline: 3px solid rgba(247, 117, 76, .35);
  outline-offset: 3px
}

.km-search-top__note {
  margin: 0;
  min-height: 1em;
  font-size: 12px;
  color: #666
}

.km-search-top__note--radius {
  display: block
}

.km-select {
  position: relative;
  display: block
}

.km-select__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.km-select__control {
  width: 100%;
  height: 56px;
  border-radius: 9999px;
  border: 1px solid #F8E7E4;
  background: #fff;
  padding: 0 20px 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: center;
  text-align-last: center
}

.km-select::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(0, 0, 0, .75);
  border-bottom: 1px solid rgba(0, 0, 0, .75);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none
}

.km-select__control:focus-visible {
  outline: 3px solid rgba(247, 117, 76, .25);
  outline-offset: 3px
}

.km-page--result .km-result__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 16px
}

.km-page--result .km-result__item {
  margin: 0
}

.km-page--result .km-shop-card {
  display: flex;
  align-items: stretch;
  height: 78px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05)
}

.km-page--result .km-shop-card__main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px;
  padding-right: 58px;
  display: block;
  text-decoration: none;
  color: #222;
  position: relative
}

.km-loading,
.km-empty {
  text-align: center
}

.km-page--result .km-shop-card__name {
  margin: 0 0 4px;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.km-page--result .km-shop-card__meta {
  margin: 0 0 4px;
  font-size: 1.4rem;
  line-height: 1.45;
  color: #6b6b6b
}

.km-page--result .km-shop-card__right {
  flex: 0 0 92px;
  width: 92px;
  padding: 12px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.km-page--result .km-shop-card__right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: #F7E8E5;
  pointer-events: none
}

.km-page--result .km-fav {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2
}

.km-page--result .km-fav__img {
  width: 22px;
  height: 22px;
  display: block
}

.km-page--result .km-shop-card__reserve {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  text-decoration: none
}

.km-page--result .km-shop-card__reserve-img {
  width: 46px;
  height: auto;
  display: block
}

@media (max-width:420px) {
  .km-shop-card__reserve-btn {
    max-width: initial !important;
    height: 50px !important
  }
}

.detail-wrapper {
  padding: 30px 18px 20px !important
}

.km-pill-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 700
}

.km-dl {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0
}

.km-dl__row {
  display: flex;
  gap: 30px;
  padding: 0 0 15px;
  border-bottom: 1px solid #EDEDED
}

.km-dl__dt {
  flex: 0 0 64px;
  font-size: 1.5rem;
  font-weight: 600
}

.km-dl__dd {
  flex: 1 1 auto;
  font-size: 1.5rem;
  margin: 0
}

.km-page--detail .km-shop-info-dl {
  margin: 0
}

.km-page--detail .km-shop-info-dl .km-dl__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .10)
}

.km-page--detail .km-shop-info-dl .km-dl__row:last-child {
  border-bottom: none
}

.km-page--detail .km-shop-info-dl .km-dl__dt {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  color: #111
}

.km-page--detail .km-shop-info-dl .km-dl__dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #222;
  word-break: break-word
}

@media (max-width:420px) {
  .km-page--detail .km-shop-info-dl .km-dl__row {
    grid-template-columns: 86px 1fr;
    gap: 12px;
    padding: 16px 0
  }

  .km-page--detail .km-shop-info-dl .km-dl__dt,
  .km-page--detail .km-shop-info-dl .km-dl__dd {
    font-size: 13px
  }
}

.km-link {
  color: #222;
  text-decoration: underline
}

.km-news-strip {
  width: 100%;
  padding: 0;
  margin: 0
}

.km-news-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  --km-peek: 74px;
  --km-gap: 10px;
  --km-h: 275px
}

.km-news-track {
  display: flex;
  will-change: transform;
  touch-action: pan-y
}

.km-news-carousel:not(.swiper) .km-news-track {
  gap: var(--km-gap);
  transform: translateX(var(--km-peek))
}

.km-news-slide {
  flex: 0 0 calc(100% - (var(--km-peek) * 2));
  width: min(550px,calc(100% - 64px)) !important;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  display: block;
  overflow: hidden;
  border-radius: 16px
}

.km-news-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none
}

.km-news-slide__fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .06)
}

.km-news-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 0 0
}

.km-news-dots .km-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, .15)
}

.km-news-dots .km-dot.is-active {
  background: #D80014
}

.km-news-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .9);
  box-shadow: 0 0 8px rgba(0, 0, 0, .15);
  cursor: pointer
}

.km-news-nav--prev {
  left: 55px
}

.km-news-nav--next {
  right: 55px
}

.km-news-nav::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-top: 2px solid #666;
  border-right: 1px solid #666;
  transform: rotate(-135deg)
}

.km-news-nav--next::before {
  transform: rotate(45deg)
}

.km-news-nav:focus-visible {
  outline: 2px solid rgba(216, 0, 20, .35);
  outline-offset: 3px
}

.km-news-nav:active {
  background-color: #D80014
}

.km-news-nav:active::before {
  border-top-color: #fff;
  border-right-color: #fff
}

@media (max-width:420px) {
  .km-news-carousel {
    --km-peek: 28px;
    --km-gap: 10px
  }

  .km-news-nav--prev {
    left: 6px
  }

  .km-news-nav--next {
    right: 6px
  }
}

.km-notice-strip {
  width: 100%;
  max-width: 620px;
  margin: 20px auto 5px;
  padding: 0
}

.km-notice-list {
  display: flex;
  flex-direction: column;
}

.km-notice-list.is-scrollable {
  max-height: 240px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-gutter: stable
}

.km-notice-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  background: #F7E8E5;
  text-decoration: none;
  box-sizing: border-box
}
.km-notice-card:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.km-notice-card:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.km-notice__date {
  font-size: 14px;
  line-height: 1.3;
  color: rgba(0, 0, 0, .7);
  margin: 0 0 6px
}

.km-notice__title {
  font-size: 16px;
  line-height: 1.4;
  color: #222
}

.km-notice-card:focus-visible {
  outline: 2px solid rgba(216, 0, 20, .35);
  outline-offset: 3px
}

.km-notice-card:hover {
  text-decoration: none
}

.km-notice-list.is-scrollable::-webkit-scrollbar {
  width: 8px
}

.km-notice-list.is-scrollable::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .18);
  border-radius: 999px
}

.km-notice-list.is-scrollable::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .06);
  border-radius: 999px
}

.km-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px
}

.km-facilities__icon {
  display: block;
  width: 49px;
  height: 49px
}

.km-detail-tabs {
  width: 100%;
  max-width: 620px;
  margin: 0 auto 40px
}

.km-tabs {
  display: flex;
  gap: 0;
  border-radius: 14px 14px 0 0;
  overflow: hidden
}

.km-tab {
  flex: 1 1 0%;
  border: 0;
  padding: 14px 12px;
  background: rgba(0, 0, 0, .06);
  color: #333;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer
}

.km-tab.is-active {
  background: #fff;
  color: #D80014
}

.km-tabpanel {
  padding: 0
}

.km-tabpanel[hidden] {
  display: none !important
}

.km-map {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, .06);
  margin: 20px 0 20px
}

.km-route-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 280px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
  margin: 0 auto 30px
}

.km-route-btn:focus-visible {
  outline: 2px solid rgba(216, 0, 20, .35);
  outline-offset: 3px
}

.km-muted {
  margin: 0;
  color: rgba(0, 0, 0, .6);
  font-size: 14px
}

.km-price__body {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.km-price__body>:first-child {
  margin-top: 0
}

.km-price__body>:last-child {
  margin-bottom: 0
}

.km-price__body details {
  border-radius: 8px;
  overflow: hidden
}

.km-price__body summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  background: #f4f6fb;
  color: #222
}

.km-price__body summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  margin-left: 10px
}

.km-price__body details[open] summary::after {
  content: "−"
}

.km-price__body summary::-webkit-details-marker {
  display: none
}

.km-price__body details[open] summary {
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08)
}

.km-price__body details.is-blue>summary {
  background: #2847A8;
  color: #fff
}

.km-price__body details.is-red>summary {
  background: #D80014;
  color: #fff
}

.km-price__body details>:not(summary) {
  padding: 14px 14px 16px
}

.km-price__body .wp-block-table {
  margin: 0
}

.km-price__body .wp-block-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff
}

.km-price__body .wp-block-table th,
.km-price__body .wp-block-table td {
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle
}

.km-price__body .wp-block-table thead th {
  background: #D80014;
  color: #fff;
  font-weight: 800
}

.km-price__body .wp-block-table.is-lefthead tbody td:first-child {
  background: #D80014;
  color: #fff;
  font-weight: 800
}

.km-price__body .km-note,
.km-price__body .wp-block-table small {
  font-size: 12px;
  color: rgba(0, 0, 0, .65)
}

.km-price__body p {
  margin: 0;
  color: rgba(0, 0, 0, .75);
  font-size: 14px;
  line-height: 1.55
}

.km-price__body img {
  max-width: 100%;
  height: auto;
  display: block
}

@media (max-width:420px) {
  .km-price__body summary {
    padding: 12px 14px;
    font-size: 13px
  }

  .km-price__body details>:not(summary) {
    padding: 12px 12px 14px
  }

  .km-price__body .wp-block-table th,
  .km-price__body .wp-block-table td {
    padding: 10px 8px;
    font-size: 13px
  }
}

.km-page--detail .km-card.km-shop-info .km-dl {
  margin: 0
}

.km-page--detail .km-card.km-shop-info .km-dl .km-dl__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12) !important
}

.km-page--detail .km-card.km-shop-info .km-dl .km-dl__row:last-child {
  border-bottom: none
}

.km-page--detail .km-card.km-shop-info .km-dl .km-dl__row>dt,
.km-page--detail .km-card.km-shop-info .km-dl .km-dl__row>dd {
  margin: 0
}

.km-page--detail .km-card.km-shop-info .km-dl .km-dl__dt {
  font-weight: 700;
  color: #111
}

.km-page--detail .km-card.km-shop-info .km-dl .km-dl__dd {
  line-height: 1.7;
  color: #222;
  word-break: break-word
}

@media (max-width:420px) {
  .km-page--detail .km-card.km-shop-info .km-dl .km-dl__row {
    grid-template-columns: 86px 1fr;
    column-gap: 12px;
    padding: 16px 0
  }
}

.km-line-reserve {
  display: flex;
  justify-content: center;
  margin: 20px 0 0
}

.km-line-reserve[hidden] {
  display: none
}

.km-line-reserve__btn {
  width: 260px;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06C755;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .02em
}

.km-line-reserve__btn:hover {
  filter: brightness(.96)
}

.km-line-reserve__btn:focus-visible {
  outline: 2px solid rgba(6, 199, 85, .35);
  outline-offset: 3px
}

.km-line-reserve__btn.is-disabled {
  cursor: default
}

#km-line-reserve-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 0
}

#km-line-reserve-btn {
  width: 260px;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06C755;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .02em
}

#km-line-reserve-btn:hover {
  filter: brightness(.96)
}

#km-line-reserve-btn:focus-visible {
  outline: 2px solid rgba(6, 199, 85, .35);
  outline-offset: 3px
}

.km-page--detail .km-shop-info {
  margin-bottom: 20px
}

.km-card__title {
  margin: 0 0 30px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3
}

.km-karaoke-models {
  margin: 0 0 20px;
  padding: 23px 23px 27px
}

.km-karaoke-models__body {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.km-karaoke-model {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05)
}

.km-karaoke-model img {
  display: block;
  width: 100%;
  height: auto
}

.km-services ul.service-grid {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 28px;
  row-gap: 34px;
  align-items: start;
  width: 100%
}

.km-services ul.service-grid>li {
  margin: 0;
  padding: 0;
  list-style: none !important;
  min-width: 0
}

.km-services ul.service-grid>li::marker {
  content: "" !important
}

.km-services .service-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0
}

.km-services .service-item__icon {
  width: 116px;
  height: auto;
  display: grid;
  place-items: center
}

.km-services .service-item__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain
}

.km-services .service-item__text {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 600;
  color: #333;
  letter-spacing: .02em;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word
}

.km-services__note {
  margin: 30px 0 0;
  font-size: 1.3rem;
  line-height: 1.6
}

.km-services__cta {
  display: flex;
  justify-content: center;
  margin: 30px 0 0
}

.km-services__btn {
  width: 180px;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D80014;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em
}

.km-services__btn:hover {
  filter: brightness(.96)
}

.km-services__btn:focus-visible {
  outline: 2px solid rgba(250, 222, 225, .35);
  outline-offset: 3px
}

@media (max-width:420px) {
  .km-services ul.service-grid {
    column-gap: 22px;
    row-gap: 28px
  }

  .km-services .service-item__icon {
    width: 104px
  }
}

.km-page--detail {
  --km-blue: #2F50A3;
  --km-red: #D80014;
  --km-border: rgba(0, 0, 0, .08)
}

.km-price__body details.km-price-acc {
  border-radius: 16px;
  overflow: hidden
}

.km-price__body details.km-price-acc+details.km-price-acc {
  margin-top: 14px
}

.km-price__body .km-price-acc__summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  background: #e66602;
  color: #fff
}

.km-price__body .km-price-acc__summary::-webkit-details-marker {
  display: none
}

.km-price__body .km-price-acc__summary::after,
.km-price__body .km-price-acc__summary::before {
  content: none !important
}

.km-price__body .km-price-acc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px
}

.km-price__body .km-price-acc__ico {
  width: 22px;
  height: 22px;
  display: block
}

.km-price__body .km-price-acc__title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.km-price__body .km-price-acc__toggle {
  margin-left: auto;
  font-size: 24px;
  font-weight: 900;
  line-height: 1
}

.km-price__body .km-price-acc__toggle::before {
  content: "＋"
}

.km-price__body details[open]>.km-price-acc__summary .km-price-acc__toggle::before {
  content: "－"
}

.km-price__body details.km-price-acc--white-red>.km-price-acc__summary {
  background: #fff;
  color: var(--km-red);
  border-color: rgba(216, 0, 20, .18)
}

.km-price__body details.km-price-acc--white-blue>.km-price-acc__summary {
  background: #fff;
  color: var(--km-blue);
  border-color: rgba(47, 80, 163, .18)
}

.km-price__body details.km-price-acc--bg-blue>.km-price-acc__summary {
  background: var(--km-blue);
  color: #fff;
  border-color: rgba(47, 80, 163, 0)
}

.km-price__body details.km-price-acc--bg-red>.km-price-acc__summary {
  background: var(--km-red);
  color: #fff;
  border-color: rgba(216, 0, 20, 0)
}

.km-price__body details.km-price-acc--white-black>.km-price-acc__summary {
  background: #8b5e3c;
  color: #fff;
  border-color: rgba(0, 0, 0, .08)
}

.km-price-acc--white-orange>.km-price-acc__summary {
  background-color: #e66602;
  color: #fff;
  border-color: rgba(230, 102, 2, .18)
}

.km-price__body details.km-price-acc--white-orange>.km-price-acc__summary {
  background-color: #e66602;
  color: #fff;
  border-color: rgba(230, 102, 2, .18)
}

.km-price__body .km-price-acc__body {
  padding: 12px 0 0
}

.km-price__body .km-price-tablewrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px
}

.km-price__body .tablepress {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden
}

.km-price__body .tablepress-edit-link {
  display: none !important
}

.km-price__body .tablepress th,
.km-price__body .tablepress td {
  border: 1px solid var(--km-border);
  padding: 11px;
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
  line-height: 1.25
}

.km-price__body .tablepress thead th {
  background: var(--km-red);
  color: #fff;
  font-weight: 800
}

.km-price__body .tablepress td:not(:first-child),
.km-price__body .tablepress th:not(:first-child) {
  white-space: nowrap
}

.km-price__body .tablepress.is-lefthead tbody td:first-child {
  background: var(--km-red);
  color: #fff;
  font-weight: 800;
  white-space: normal
}

.km-price__body .tablepress thead th:first-child {
  border-top-left-radius: 8px !important
}

.km-price__body .tablepress thead th:last-child {
  border-top-right-radius: 8px !important
}

.km-price__body .tablepress tbody tr:last-child td:first-child {
  border-bottom-left-radius: 0px !important
}

.km-price__body .tablepress tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px !important
}

@media (max-width:420px) {
  .km-price__body .km-price-acc__summary {
    padding: 14px 14px;
    font-size: 16px
  }

  .km-price__body .km-price-acc__title {
    font-size: 16px
  }

  .km-price__body .tablepress th,
  .km-price__body .tablepress td {
    padding: 12px 8px;
    font-size: 13px
  }
}

#km-panel-price .km-price-acc__summary::before,
#km-panel-price .km-price-acc__summary::after {
  content: none !important
}

#km-panel-price .km-price-acc__summary::marker {
  content: "" !important
}

.tablepress>:where(thead, tfoot)>tr>* {
  background-color: #D80014 !important;
  color: #fff !important
}

.km-price__body .km-money {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap
}

.km-price__body .km-money__label {
  font-size: 15px;
  font-weight: 800;
  margin-right: 6px;
  white-space: normal
}

.km-price__body .km-money__sign,
.km-price__body .km-money__yen {
  font-size: 12px;
  font-weight: 800
}

.km-price__body .km-money__num {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .01em
}

.km-price__body .tablepress {
  width: max-content;
  table-layout: fixed
}

.km-price__body .tablepress th,
.km-price__body .tablepress td {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  box-sizing: border-box
}

.km-price {
  --km-red: #D80014;
  --km-blue: #2F50A3;
  display: block
}

.km-price-flow {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.km-price-campbox {
  border: 2px solid var(--km-red);
  border-radius: 18px;
  overflow: hidden;
  background: #fff
}

.km-price-campbox__head {
  background: var(--km-red);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  padding: 14px 16px;
  text-align: center
}

.km-price-campbox__body {
  padding: 0
}

.km-price-campbox__body .km-price-tablewrap {
  border-radius: 0
}

.km-price-acc-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.km-price-acc {
  border: 0
}

.km-price-acc__summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  border: 2px solid rgba(0, 0, 0, .08);
  background: #fff;
  color: #111
}

.km-price-acc__summary::-webkit-details-marker {
  display: none
}

.km-price-acc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px
}

.km-price-acc__ico {
  width: 22px;
  height: 22px;
  display: block
}

.km-price-acc__title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2
}

.km-price-acc__toggle {
  margin-left: auto;
  font-size: 24px;
  font-weight: 900;
  line-height: 1
}

.km-price-acc__toggle::before {
  content: "＋"
}

details[open]>.km-price-acc__summary .km-price-acc__toggle::before {
  content: "－"
}

.km-price-acc--white-red>.km-price-acc__summary {
  background: #fff;
  color: var(--km-red);
  border-color: rgba(216, 0, 20, .18)
}

.km-price-acc--white-blue>.km-price-acc__summary {
  background: #fff;
  color: var(--km-blue);
  border-color: rgba(47, 80, 163, .18)
}

.km-price-acc--bg-blue>.km-price-acc__summary {
  background: var(--km-blue);
  color: #fff;
  border-color: transparent
}

.km-price-acc--bg-red>.km-price-acc__summary {
  background: var(--km-red);
  color: #fff;
  border-color: transparent
}

.km-price-acc--white-black>.km-price-acc__summary {
  background: #fff;
  color: #111;
  border-color: rgba(0, 0, 0, .08)
}

.km-price-acc--white-orange>.km-price-acc__summary {
  background-color: #e66602;
  color: #fff;
  border-color: rgba(230, 102, 2, .18)
}

.km-price-acc__body {
  padding: 12px 0 0
}

.km-price .tablepress {
  margin: 0px !important
}

.km-price .tablepress-edit-link {
  display: none !important
}

.km-price .tablepress caption {
  display: none !important
}

.km-price .tablepress {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff
}

.km-price .tablepress th,
.km-price .tablepress td {
  border: 1px solid #E6E6E6;
  padding: 11px;
  text-align: center;
  vertical-align: middle
}

.km-price-tablewrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px
}

.km-price-acc-group .tablepress tbody td:first-child {
  background: var(--km-red);
  color: #fff;
  font-weight: 800;
  width: 34%
}

.km-price-campbox {
  --km-left-bg: #E8E8E8
}

.km-price-campbox .tablepress tbody td:first-child {
  background: var(--km-left-bg);
  color: #111;
  font-weight: 700
}

.km-price .tablepress thead th:first-child {
  border-top-left-radius: 14px
}

.km-price .tablepress thead th:last-child {
  border-top-right-radius: 14px
}

.km-price .tablepress tbody tr:last-child td:first-child {
  border-bottom-left-radius: 14px
}

.km-price .tablepress tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px
}

.km-price-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #333
}

.km-price-note--row {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.6;
  color: #6C6C6C
}

.km-price__body .km-cell-line--red {
  color: #D80014;
  font-weight: 800
}

.km-price__body .km-money--accent .km-money__num,
.km-price__body .km-money--accent .km-money__yen {
  color: #D80014
}

.km-price__body .km-price-tablewrap:has(.tablepress tr>*:nth-child(5)) .tablepress {
  width: max-content
}

.km-price-campbox {
  border: 0 !important;
  background: #fff;
  border-radius: 18px;
  overflow: hidden
}

.km-price-campbox .tablepress thead th:first-child {
  border-top-left-radius: 18px !important
}

.km-price-campbox .tablepress thead th:last-child {
  border-top-right-radius: 18px !important
}

.km-price-campbox {
  --km-left-bg: #FDF7F7
}

.km-price-campbox .tablepress tbody td:first-child {
  background: var(--km-left-bg) !important;
  color: #111;
  font-weight: 700
}

.km-price-campbox .tablepress tbody td:first-child {
  border-left: 1px solid var(--km-red) !important
}

.km-price-campbox .tablepress tbody td:last-child {
  border-right: 1px solid var(--km-red) !important
}

.km-price-campbox .tablepress tbody tr:last-child td {
  border-bottom: 1px solid var(--km-red) !important
}

.km-price-campbox .tablepress tbody tr:last-child td:first-child {
  border-bottom-left-radius: 18px !important
}

.km-price-campbox .tablepress tbody tr:last-child td:last-child {
  border-bottom-right-radius: 18px !important
}

.km-notice-strip__more {
  width: 100%;
  max-width: 620px;
  margin: 0 auto 30px;
  padding: 0 2px;
  text-align: right
}

.km-notice-strip__more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4
}

.km-notice-strip__more-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 6px;
  margin-top: 1px
}

.km-notice-strip__more-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px
}

.km-notice-strip__more-link:focus-visible {
  outline: 2px solid rgba(216, 0, 20, .35);
  outline-offset: 3px
}

.km-reserve-period {
  width: 100%;
  max-width: 620px;
  margin: 20px auto 0;
  display: flex;
  gap: 14px
}

.km-reserve-period__btn {
  flex: 1 1 0%;
  min-width: 0;
  height: 56px;
  border-radius: 12px;
  border: 2px solid var(--mac-red);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--mac-red);
  text-decoration: none;
  letter-spacing: .02em
}

.km-reserve-period__btn:hover {
  background: rgba(216, 0, 20, .04)
}

.km-reserve-period__btn:active {
  background: rgba(216, 0, 20, .08)
}

.km-reserve-period__btn:focus-visible {
  outline: 3px solid rgba(216, 0, 20, .25);
  outline-offset: 3px
}

.km-reserve-period {
  justify-content: center
}

.km-reserve-period__btn:only-child {
  flex: 0 0 auto;
  width: min(281px, 100%)
}

.km-shop-card__right:has(.km-shop-card__reserve-period) {
  transition: background-color .2s ease;
}

.km-shop-card__right:has(.km-shop-card__reserve-period):hover {
  background: rgba(216, 0, 20, .04);
}

.km-shop-card__right:has(.km-shop-card__reserve-period):active {
  background: rgba(216, 0, 20, .08);
}

/* 画像ボタン自体は背景変化させない */
.km-shop-card__reserve-btn:hover,
.km-shop-card__reserve-btn:active {
  background: rgba(216, 0, 20, .04);
}

.km-shop-card__reserve-btn:focus-visible {
  outline: 3px solid rgba(216, 0, 20, .25);
  outline-offset: 3px
}

.km-shop-card__reserve-btn:only-child {
  flex: 0 0 auto;
  width: min(160px, 100%)
}

.km-shop-card__reserve-period {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: center
}

.km-shop-card__reserve-period {
  width: 100%;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap
}

.km-shop-card__reserve-btn {
  max-width: 100px;
  width: 100%;
  height: 80px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--mac-red);
  text-decoration: none;
  text-align: center;
  line-height: 1.35;
  letter-spacing: .02em;
  padding: 0 8px
}

.km-mgarage-banner {
  width: 100%;
  max-width: 620px;
  margin: 0 auto 40px
}
.km-special-rate__image{
  width: 100%;
  height: auto;
}
@media (max-width:768px) {
  .km-mgarage-banner {
    width: calc(100% - 36px)
  }
}

.km-mgarage-banner img {
  display: block;
  width: 100%;
  height: auto
}

.km-shop-card:has(.km-shop-card__reserve-period) {
  height: auto;
  min-height: 108px
}

.km-shop-card__right:has(.km-shop-card__reserve-period) {
  flex: 0 0 130px;
  width: 130px;
  padding: 20px
}

.km-shop-card__right:has(.km-shop-card__reserve-period)::before {
  top: 14px;
  bottom: 14px
}

.km-shop-card__main {
  padding: 14px 14px;
  padding-right: 14px
}

@media (max-width:768px) {
  .km-notice-strip {
    width: calc(100% - 36px);
    margin-left: auto;
    margin-right: auto
  }

  .km-notice-strip__more {
    width: calc(100% - 36px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box
  }

  .km-detail-tabs {
    width: calc(100% - 36px)
  }
}

@media (max-width:520px) {
  .km-result__item.km-shop-card {
    display: flex;
  }

  .km-shop-card__reserve-btn {
    max-width: 100%
  }

  .km-shop-card__reserve-period {
    flex-direction: row;
    flex-wrap: nowrap
  }

  .km-shop-card__reserve-period {
    flex-direction: column;
    flex-wrap: nowrap
  }

  .km-shop-card__right:has(.km-shop-card__reserve-period) {
    width: 100%
  }

  .km-shop-card__right {
    padding-top: 0 !important
  }

  .km-page--result .km-shop-card__name {
    font-size: 1.5rem
  }

  .km-page--result .km-shop-card__meta {
    font-size: 1.3rem
  }

  .km-tab {
    font-size: 14px
  }

  .km-card {
    padding: 23px 10px 55px
  }
}

.km-price__body .km-price-tablewrap:has(.tablepress tr>*:nth-child(5)),
.km-price .km-price-tablewrap:has(.tablepress tr>*:nth-child(5)) {
  overflow: auto !important;
  -webkit-overflow-scrolling: touch
}

.km-price__body .km-price-tablewrap.km-price-tablewrap--col5,
.km-price .km-price-tablewrap.km-price-tablewrap--col5 {
  overflow: auto !important;
  -webkit-overflow-scrolling: touch
}

@media (max-width:540px) {

  .km-price__body .km-price-tablewrap,
  .km-price .km-price-tablewrap {
    overflow: hidden !important
  }

  .km-price__body .km-price-tablewrap:has(.tablepress tr>*:nth-child(5)),
  .km-price .km-price-tablewrap:has(.tablepress tr>*:nth-child(5)) {
    overflow: auto !important
  }

  .km-price__body .km-price-tablewrap.km-price-tablewrap--col5,
  .km-price .km-price-tablewrap.km-price-tablewrap--col5 {
    overflow: auto !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th,
  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 8px 4px !important;
    font-size: 12px;
    line-height: 1.25;
    overflow: hidden
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th *,
  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td *,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th *,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td * {
    white-space: inherit !important;
    max-width: 100% !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th:not(.column-1),
  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td:not(.column-1),
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th:not(.column-1),
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td:not(.column-1) {
    width: 75px !important;
    min-width: 75px !important;
    max-width: 75px !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th.column-1,
  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td.column-1,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th.column-1,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td.column-1 {
    width: auto !important;
    padding: 8px 6px !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money {
    display: block !important;
    white-space: normal !important;
    min-width: 0 !important;
    max-width: 100% !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__num,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__num {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: break-all
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__yen,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__yen {
    display: inline !important;
    white-space: nowrap
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__num::after,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__num::after {
    content: "" !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td:not(.column-1),
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td:not(.column-1) {
    word-break: break-all
  }

  .km-price__body .km-money--text .km-money__label {
    font-size: 13px !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money {
    display: inline !important;
    white-space: normal !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__num,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__num {
    display: inline !important;
    overflow-wrap: anywhere;
    word-break: break-all
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__tail,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__tail {
    display: inline !important;
    overflow-wrap: anywhere;
    word-break: break-word
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__num::after,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money__num::after {
    white-space: nowrap
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money {
    display: inline-block !important;
    text-align: left !important;
    max-width: 100%
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td[colspan] .km-money__num,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td[colspan] .km-money__num,
  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td[colspan] .km-money__tail,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td[colspan] .km-money__tail {
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: 0
  }
}

@media (max-width:360px) {

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th,
  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td {
    font-size: 11px;
    padding: 6px 4px !important
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th:not(.column-1),
  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td:not(.column-1),
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress th:not(.column-1),
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress td:not(.column-1) {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important
  }
}

@media (min-width:541px) {

  .km-price__body .tablepress th,
  .km-price__body .tablepress td,
  .km-price .tablepress th,
  .km-price .tablepress td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word
  }

  .km-price__body .tablepress td,
  .km-price .tablepress td {
    overflow: hidden
  }

  .km-price__body .tablepress .km-money,
  .km-price .tablepress .km-money {
    white-space: nowrap !important
  }
}

@media (max-width:540px) {

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money:has(.km-money__yen) .km-money__num::after,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money:has(.km-money__yen) .km-money__num::after {
    content: "\2060円";
    margin-left: 2px;
    font-size: .8em;
    font-weight: 800;
    white-space: nowrap
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money:has(.km-money__yen).km-money--accent .km-money__num::after,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money:has(.km-money__yen).km-money--accent .km-money__num::after {
    color: #D80014
  }

  .km-price__body .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money:has(.km-money__yen) .km-money__num::after,
  .km-price .km-price-tablewrap:not(.km-price-tablewrap--col5) .km-money:has(.km-money__yen) .km-money__num::after {
    content: "\2060円";
    margin-left: 0;
    white-space: nowrap
  }
}

.km-price {
  --km-red: #D80014;
  --km-blue: #2F50A3;
  display: block
}

.km-price-flow {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.km-price-campaign-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 24px 0 15px
}

.km-price__body .km-price-campbox .km-lc-line--meta {
  color: #6C6C6C
}

.km-price__body .km-price-acc-group .km-lc-line--meta {
  color: #fff
}

.km-price__body .km-price-acc-group .km-price-campbox .km-lc-line--meta {
  color: #6C6C6C
}

.km-price-campbox {
  border: 2px solid var(--km-red);
  border-radius: 18px;
  overflow: hidden;
  background: #fff
}

.km-price-campbox__head {
  background: var(--km-red);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  padding: 14px 16px;
  text-align: center
}

.km-price-campbox__body {
  padding: 0
}

.km-price-campbox__body .km-price-tablewrap {
  border-radius: 0
}

.km-price-acc-group {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.km-price-acc {
  border: 0
}

.km-price-acc__summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  border: 2px solid rgba(0, 0, 0, .08);
  background: #fff;
  color: #111
}

.km-price-acc__summary::-webkit-details-marker {
  display: none
}

.km-price-acc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px
}

.km-price-acc__ico {
  width: 22px;
  height: 22px;
  display: block
}

.km-price-acc__title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2
}

.km-price-acc__toggle {
  margin-left: auto;
  font-size: 24px;
  font-weight: 900;
  line-height: 1
}

.km-price-acc__toggle::before {
  content: "＋"
}

details[open]>.km-price-acc__summary .km-price-acc__toggle::before {
  content: "－"
}

.km-price-acc--white-red>.km-price-acc__summary {
  background: #fff;
  color: var(--km-red);
  border-color: rgba(216, 0, 20, .18)
}

.km-price-acc--white-blue>.km-price-acc__summary {
  background: #fff;
  color: var(--km-blue);
  border-color: rgba(47, 80, 163, .18)
}

.km-price-acc--bg-blue>.km-price-acc__summary {
  background: var(--km-blue);
  color: #fff;
  border-color: transparent
}

.km-price-acc--bg-red>.km-price-acc__summary {
  background: var(--km-red);
  color: #fff;
  border-color: transparent
}

.km-price-acc--white-black>.km-price-acc__summary {
  background: #fff;
  color: #111;
  border-color: rgba(0, 0, 0, .08)
}

.km-price-acc--white-orange>.km-price-acc__summary {
  background-color: #e66602;
  color: #fff;
  border-color: rgba(230, 102, 2, .18)
}

.km-price-acc__body {
  padding: 12px 0 0
}

.km-price .tablepress-edit-link {
  display: none !important
}

.km-price .tablepress {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff
}

.km-price .tablepress th,
.km-price .tablepress td {
  border: 1px solid #E6E6E6;
  padding: 14px 10px;
  text-align: center;
  vertical-align: middle
}

.km-price-tablewrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px
}

.km-price-tablewrap--section .tablepress tbody th.column-1:not([colspan]),
.km-price-tablewrap--section .tablepress tbody td.column-1:not([colspan]) {
  background: var(--km-red);
  color: #fff;
  font-weight: 800;
  width: 34%
}

.km-price-campbox {
  --km-left-bg: #FDF7F7
}

.km-price-campbox .tablepress tbody th.column-1:not([colspan]),
.km-price-campbox .tablepress tbody td.column-1:not([colspan]) {
  background: var(--km-left-bg);
  color: #111;
  font-weight: 700
}

.km-price .tablepress thead th:first-child {
  border-top-left-radius: 14px
}

.km-price .tablepress thead th:last-child {
  border-top-right-radius: 14px
}

.km-price .tablepress tbody tr:last-child td:first-child {
  border-bottom-left-radius: 14px
}

.km-price .tablepress tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px
}

.km-price-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  white-space: pre-wrap;
  word-break: break-word
}

.km-price-note--row {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  white-space: pre-wrap;
  word-break: break-word
}

.km-price-camp-inacc {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px
}

.km-price-camp-inacc__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin: 40px 0 0;
  text-align: center
}

.km-price-acc__body .km-price-campbox:last-child {
  margin-bottom: 14px
}

@media (max-width:768px) {
  .km-price-tablewrap {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
  }

  .km-price-tablewrap::-webkit-scrollbar {
    height: 0
  }

  .km-price .tablepress-responsive,
  .km-price .tablepress-scroll-wrapper,
  .km-price .tablepress-wrapper,
  .km-price .dataTables_wrapper {
    overflow-x: hidden !important
  }

  .km-price .tablepress-responsive::-webkit-scrollbar,
  .km-price .tablepress-scroll-wrapper::-webkit-scrollbar,
  .km-price .tablepress-wrapper::-webkit-scrollbar {
    height: 0
  }

  .km-price .tablepress {
    width: 100% !important;
    max-width: 100%;
    min-width: 0 !important;
    table-layout: fixed
  }

  .km-price .tablepress col {
    width: auto !important
  }

  .km-price .tablepress th,
  .km-price .tablepress td {
    min-width: 0
  }

  .km-price .tablepress thead th {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto
  }

  .km-price .tablepress thead th * {
    white-space: inherit !important
  }

  .km-price .tablepress tbody th,
  .km-price .tablepress tbody td {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word
  }

  .km-price {
    --km-col1: 36%
  }

  .km-price .tablepress col:first-child {
    width: var(--km-col1) !important
  }

  .km-price .tablepress thead th.column-1,
  .km-price .tablepress thead th:first-child {
    width: var(--km-col1) !important
  }

  .km-price .tablepress tbody th.column-1,
  .km-price .tablepress tbody td.column-1 {
    line-height: 1.15
  }

  .km-price .tablepress td[colspan],
  .km-price .tablepress th[colspan] {
    width: auto !important;
    text-align: center
  }

  .km-price .tablepress td .km-money {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0
  }

  .km-price .tablepress td .km-money__num,
  .km-price .tablepress td .km-money__yen,
  .km-price .tablepress td .km-money__sign {
    white-space: nowrap
  }

  .km-price-tablewrap--col5,
  .km-price-tablewrap:has(.tablepress .column-5) {
    overflow-x: auto !important;
    scrollbar-width: auto !important
  }

  .km-price-tablewrap--col5::-webkit-scrollbar,
  .km-price-tablewrap:has(.tablepress .column-5)::-webkit-scrollbar {
    height: 8px
  }

  .km-price-tablewrap--col5 .tablepress-responsive,
  .km-price-tablewrap--col5 .tablepress-scroll-wrapper,
  .km-price-tablewrap--col5 .tablepress-wrapper,
  .km-price-tablewrap--col5 .dataTables_wrapper,
  .km-price-tablewrap:has(.tablepress .column-5) .tablepress-responsive,
  .km-price-tablewrap:has(.tablepress .column-5) .tablepress-scroll-wrapper,
  .km-price-tablewrap:has(.tablepress .column-5) .tablepress-wrapper,
  .km-price-tablewrap:has(.tablepress .column-5) .dataTables_wrapper {
    overflow-x: visible !important
  }

  .km-price-tablewrap--col5 .tablepress,
  .km-price-tablewrap:has(.tablepress .column-5) .tablepress {
    width: auto !important;
    min-width: 720px;
    table-layout: auto !important
  }
}

@media (max-width:540px) {
  .km-price-tablewrap {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
  }

  .km-price-tablewrap::-webkit-scrollbar {
    height: 0
  }

  .km-price .tablepress-responsive,
  .km-price .tablepress-scroll-wrapper,
  .km-price .tablepress-wrapper,
  .km-price .dataTables_wrapper {
    overflow-x: hidden !important
  }

  .km-price .tablepress-responsive::-webkit-scrollbar,
  .km-price .tablepress-scroll-wrapper::-webkit-scrollbar,
  .km-price .tablepress-wrapper::-webkit-scrollbar {
    height: 0
  }

  .km-price .tablepress {
    width: 100% !important;
    max-width: 100%;
    min-width: 0 !important;
    table-layout: fixed
  }

  .km-price .tablepress th,
  .km-price .tablepress td {
    box-sizing: border-box;
    padding: 6px 3px;
    line-height: 1.25;
    min-width: 0
  }

  .km-price .tablepress thead th {
    font-size: clamp(10px, 2.8vw, 12px);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto
  }

  .km-price .tablepress thead th * {
    white-space: inherit !important
  }

  .km-price .tablepress tbody th,
  .km-price .tablepress tbody td {
    font-size: clamp(11px, 3.2vw, 13px);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word
  }

  .km-price-tablewrap {
    --km-col1: 38%;
    --km-colx: 75px
  }

  .km-price-tablewrap--col4 {
    --km-col1: calc(100% - 225px)
  }

  .km-price-tablewrap--col3 {
    --km-col1: calc(100% - 150px)
  }

  .km-price-tablewrap--col2 {
    --km-col1: calc(100% - 75px)
  }

  .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress col {
    width: auto !important
  }

  .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress col:first-child {
    width: var(--km-col1) !important
  }

  .km-price-tablewrap--col2 .tablepress col:not(:first-child),
  .km-price-tablewrap--col3 .tablepress col:not(:first-child),
  .km-price-tablewrap--col4 .tablepress col:not(:first-child) {
    width: var(--km-colx) !important
  }

  .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress thead th.column-1,
  .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress thead th:first-child {
    width: var(--km-col1) !important
  }

  .km-price-tablewrap--col2 .tablepress thead th:not(.column-1):not([colspan]),
  .km-price-tablewrap--col3 .tablepress thead th:not(.column-1):not([colspan]),
  .km-price-tablewrap--col4 .tablepress thead th:not(.column-1):not([colspan]) {
    width: var(--km-colx) !important
  }

  .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress tbody tr:first-child>*.column-1:not([colspan]),
  .km-price-tablewrap:not(.km-price-tablewrap--col5) .tablepress tbody tr:first-child>*:first-child:not([colspan]) {
    width: var(--km-col1) !important
  }

  .km-price-tablewrap--col2 .tablepress tbody tr:first-child>*:not(.column-1):not([colspan]),
  .km-price-tablewrap--col3 .tablepress tbody tr:first-child>*:not(.column-1):not([colspan]),
  .km-price-tablewrap--col4 .tablepress tbody tr:first-child>*:not(.column-1):not([colspan]) {
    width: var(--km-colx) !important
  }

  .km-price .tablepress tbody th.column-1,
  .km-price .tablepress tbody td.column-1 {
    line-height: 1.15
  }

  .km-price .tablepress td[colspan],
  .km-price .tablepress th[colspan] {
    width: auto !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center
  }

  .km-price .tablepress td .km-money {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0
  }

  .km-price .tablepress td .km-money__num {
    font-size: clamp(13px, 3.6vw, 16px);
    white-space: nowrap
  }

  .km-price .tablepress td .km-money__yen,
  .km-price .tablepress td .km-money__sign {
    font-size: clamp(10px, 2.6vw, 18px);
    white-space: nowrap
  }

  .km-price-tablewrap--col5,
  .km-price-tablewrap:has(.tablepress .column-5) {
    overflow-x: auto !important;
    scrollbar-width: auto !important
  }

  .km-price-tablewrap--col5::-webkit-scrollbar,
  .km-price-tablewrap:has(.tablepress .column-5)::-webkit-scrollbar {
    height: 8px
  }

  .km-price-tablewrap--col5 .tablepress-responsive,
  .km-price-tablewrap--col5 .tablepress-scroll-wrapper,
  .km-price-tablewrap--col5 .tablepress-wrapper,
  .km-price-tablewrap--col5 .dataTables_wrapper,
  .km-price-tablewrap:has(.tablepress .column-5) .tablepress-responsive,
  .km-price-tablewrap:has(.tablepress .column-5) .tablepress-scroll-wrapper,
  .km-price-tablewrap:has(.tablepress .column-5) .tablepress-wrapper,
  .km-price-tablewrap:has(.tablepress .column-5) .dataTables_wrapper {
    overflow-x: visible !important
  }

  .km-price-tablewrap--col5 .tablepress,
  .km-price-tablewrap:has(.tablepress .column-5) .tablepress {
    width: auto !important;
    min-width: 720px;
    table-layout: auto !important
  }
}

@media (max-width:360px) {
  .km-price-tablewrap {
    --km-col1: 42%
  }

  .km-price-tablewrap .tablepress th,
  .km-price-tablewrap .tablepress td {
    padding: 5px 3px
  }

  .km-price-tablewrap .tablepress thead th {
    font-size: 10px
  }

  .km-price-tablewrap .tablepress tbody th,
  .km-price-tablewrap .tablepress tbody td {
    font-size: 11px
  }

  .km-price-tablewrap .tablepress td .km-money__num {
    font-size: 13px
  }
}

/* キャンペーン情報レイアウト */
.km-price__body .km-campaign {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.km-price__body .km-campaign__item {
  display: flex;
}

.km-price__body .km-campaign__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 偶数枚：2カラム */
.km-price__body .km-campaign--even .km-campaign__item {
  flex: 0 0 calc(50% - 7px);
  max-width: calc(50% - 7px);
}

/* 奇数枚：各アイテムは50%幅、最後の1枚は次の行に配置（幅50%） */
.km-price__body .km-campaign--odd {
  justify-content: flex-start;
}

.km-price__body .km-campaign--odd .km-campaign__item {
  flex: 0 0 calc(50% - 7px);
  max-width: calc(50% - 7px);
}

/* 奇数枚の場合、最後の要素を中央寄せ */
.km-price__body .km-campaign--odd .km-campaign__item:last-child {
  flex: 0 0 calc(50% - 7px);
  max-width: calc(50% - 7px);
  margin-left: auto;
  margin-right: auto;
}


/* モーダル全体 */
.km-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.km-modal.is-open {
  display: flex;
}

.km-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  cursor: pointer;
}

.km-modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  padding: 3px;
  border-radius: 4px;
  z-index: 10;
}


.km-modal__close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 32px;
  height: 32px;
  font-size: 2rem;
  line-height: 32px;
  text-align: center;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 11;
}


.km-modal__content img {
  max-width: 80vh;
  max-height: 80vh;
  width: 100%;
  height: auto;
  display: block;
}

.km-modal__close {
  position: absolute;
  top: -26px;
  right: -40px;
  width: 40px;
  height: 40px;
  font-size: 5.5rem;
  line-height: 40px;
  text-align: center;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 11;
}

@media (max-width: 600px) {
  .km-modal__close {
    top: -44px;   
    right: -8px;
    width: 48px; 
    height: 48px;
    font-size: 5rem;
    line-height: 48px;
  }
}




/* =========================================
   検索結果 予約ボタン 最終調整
   - ホバー反応は右カラム全体
   - 画像上だけ濃くならないよう旧hoverを無効化
   - 画像は親hover時に少し変化
   - 最新JSの .km-shop-card__right--reserve に対応
   ========================================= */

/* 右カラム全体を予約リンクとして使う場合 */
.km-page--result .km-shop-card__right--reserve {
  flex: 0 0 130px;
  width: 130px;
  padding: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: background-color .2s ease;
}

.km-page--result .km-shop-card__right--reserve::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: #F7E8E5;
  pointer-events: none;
}

/* 旧構造のままでも右カラムhoverを維持 */
.km-page--result .km-shop-card__right:has(.km-shop-card__reserve-period) {
  transition: background-color .2s ease;
}

.km-page--result .km-shop-card__right--reserve:hover,
.km-page--result .km-shop-card__right--reserve:active,
.km-page--result .km-shop-card__right--reserve:focus-visible,
.km-page--result .km-shop-card__right:has(.km-shop-card__reserve-period):hover,
.km-page--result .km-shop-card__right:has(.km-shop-card__reserve-period):active,
.km-page--result .km-shop-card__right:has(.km-shop-card__reserve-period):focus-within {
  background: rgba(216, 0, 20, .04);
}

/* 旧ルールを上書きして、画像ボタン自身では背景色を変えない */
.km-page--result .km-shop-card__reserve-btn,
.km-page--result .km-shop-card__reserve-btn:hover,
.km-page--result .km-shop-card__reserve-btn:active,
.km-page--result .km-shop-card__reserve-btn:focus,
.km-page--result .km-shop-card__reserve-btn:focus-visible,
.km-page--result .km-shop-card__reserve-btn--image,
.km-page--result .km-shop-card__reserve-btn--image:hover,
.km-page--result .km-shop-card__reserve-btn--image:active,
.km-page--result .km-shop-card__reserve-btn--image:focus,
.km-page--result .km-shop-card__reserve-btn--image:focus-visible {
  background: transparent !important;
  box-shadow: none;
  outline: none;
}

.km-page--result .km-shop-card__reserve-period {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.km-page--result .km-shop-card__reserve-btn--image {
  display: block;
  width: 100%;
  max-width: 60px;
  height: auto;
  padding: 0;
  border: 0;
  line-height: 1;
}

.km-page--result .km-shop-card__reserve-btn-img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .2s ease, filter .2s ease;
}

/* 親hover時点で画像も反応させる */
.km-page--result .km-shop-card__right--reserve:hover .km-shop-card__reserve-btn-img,
.km-page--result .km-shop-card__right--reserve:active .km-shop-card__reserve-btn-img,
.km-page--result .km-shop-card__right--reserve:focus-visible .km-shop-card__reserve-btn-img,
.km-page--result .km-shop-card__right:hover .km-shop-card__reserve-btn-img,
.km-page--result .km-shop-card__right:active .km-shop-card__reserve-btn-img,
.km-page--result .km-shop-card__right:focus-within .km-shop-card__reserve-btn-img {
  opacity: .88;
}

.km-page--result .km-shop-card:has(.km-shop-card__reserve-period) {
  height: auto;
  min-height: 108px;
}

.km-page--result .km-shop-card__main {
  padding: 14px 14px;
  padding-right: 14px;
}

@media (max-width: 520px) {
  .km-page--result .km-result__item.km-shop-card {
    display: flex;
  }

  .km-page--result .km-shop-card__right--reserve,
  .km-page--result .km-shop-card__right:has(.km-shop-card__reserve-period) {
    width: 80px;
    flex: 0 0 auto;
    padding: 0 14px 0px;
  }

  .km-page--result .km-shop-card__reserve-btn--image {
    max-width: 110px;
  }

  .km-page--result .km-shop-card__reserve-period {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .km-page--result .km-shop-card__right {
    padding-top: 0 !important;
  }
  .km-reserve-period {
    flex-direction: column
  }

  .km-reserve-period__btn {
    flex: auto;
    width: 100%;
    height: 50px
  }
}
