/* 追記 */


/* プロフィール スライダー */
.swiper-box {
  width: 100%;
}

@media screen and (min-width: 801px) {
  .prof-info-box {
    margin-top: 2rem !important;
    margin: 0 auto;
  }

  .swiper-container {
    width: 500px;
  }

  .swiper-main .swiper-slide img {
    width: 500px;
    /* 幅を固定 */
    height: 666px;
    /* 高さを固定 */
    object-fit: cover;
    /* アスペクト比を維持しつつ、画像を切り取ってフィットさせる */
  }


}

@media screen and (max-width: 801px) {

  .prof-info-box {
    margin-top: 1rem;
  }

  .swiper-container {
    width: 100%;
  }

}

.swiper-button-p,
.swiper-button-n {
  top: 38% !important;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fbb9bda4;
}

.swiper-button-p:after,
.swiper-button-n:after {
  font-size: 25px;
}


.swiper-thumbs .swiper-slide img {
  width: 125px;
  /* 幅を固定 */
  height: 160px;
  /* 高さを固定 */
  object-fit: cover;
  /* アスペクト比を維持しつつ、画像を切り取ってフィットさせる */
}

.swiper-container {
  margin: 0 auto;
}

.js-swiper-thumbs {
  margin-top: 1rem;
}

/* 選択されているサムネイルを透過 */
.swiper-slide-thumb-active {
  opacity: .6;
}

.sp-foot {
  height: 3rem;
}

.sp-foot ul li.footer-toggle {
  padding-top: 0.5rem;
}

.sp-foot ul li a span {
  margin-top: -0.1rem;
}

/* 予約満了スタイル */
.staff-text {
  background: none;
  box-shadow: none;
}

.staff-text ul {
  background: #ffe9f3;
}

.staff-text .cond {
  font-size: 1.2rem;
  background: #fff;
}

.staff-text .cond-comp {
  color: #ec6e6e;
}

.staff-text li {
  line-height: normal;
}

.staff-text ul {
  margin-top: -0.5rem;
}

.staff-text ul li.room {
  margin-top: 0;

}

/* 追記 */

.realtime-box {
  height: auto;
  bottom: 1.2rem;
}

/* 追加　レビュー */

.review-box {
  padding-top: 0rem !important;
}


.review_box {
  display: flex;
  width: 100%;
  /* margin-bottom: 20px; */
  gap: 1rem;
  /* padding-bottom: 1rem; */
  border-top: 1px solid black;
  padding-top: 1rem;
}


.review_img {
  width: 12%;
  height: auto;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  /* 画像が縮まないようにする */
  box-shadow: none;
}

.review_text {
  width: 90%;
  display: flex;
  flex-direction: column;
}

.review_img a {
  padding-top: calc(4.5 / 3.5* 100%) !important;
}

.review_comment .thanks {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px dashed #888;
  width: 100%;
}

.review_count {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.review_number {
  padding-left: 2.5rem;
  margin-top: 1.3rem;
}

.review_text h4,
.review_text .date,
.review_text .total,
.review_text .comment {
  margin: 5px 0;
  /* 各要素にスペースを追加 */
}


@media screen and (max-width:801px) {
  .review_img {
    width: 30%;
    height: auto;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: none;
  }

  .review_count {
    margin-bottom: 0rem;
  }

  .review_number {
    padding-left: 0rem;
    margin-top: 0rem;
    padding-bottom: 1rem;
  }
}

/* ページネーション */
.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination a {
  text-decoration: none;
  color: black;
  padding: 5px 10px;
  margin: 0 5px;
  border: 1px solid #feb8c4;
  border-radius: 3px;
  font-size: 1rem;
}

.pagination a:hover {
  background-color: #feb8c4;
  color: #fff;
}

.pagination span {
  padding: 5px 10px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #feb8c4;
}

.pagination a.active,
.pagination a:hover {
  background-color: #e63855;
  color: #fff;
}

.sp-foot ul li:nth-of-type(3) a {
  background: #ff84ef;
  color: white;
}

.stage_cardImage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  /* 縦横比 2:3（例：300x450） */
  perspective: 1000px;
  max-width: 320px;
  /* 最大幅は固定可能 */
  margin: 0 auto;
  /* 中央寄せ（任意） */
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}

.stage_cardImage_front,
.stage_cardImage_back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.stage_cardImage_front {
  z-index: 2;
  transform: rotateY(0deg);
}

.stage_cardImage_back {
  z-index: 1;
  transform: rotateY(180deg);
}

/* 回転した状態（裏面） */
.stage_cardImage.flipped {
  transform: rotateY(180deg);
}

/* さらに回転して正面に戻る */
.stage_cardImage.flipped-back {
  transform: rotateY(360deg);
}


/* PAYPAY画像 */
@media screen and (min-width:801px) {
  .pay-img img {
    width: 36% !important;
  }
}

@media screen and (max-width:801px) {
  .pay-img img {
    width: 50% !important;
  }
}