@charset "utf-8";
/* CSS Document */


/* 画面全体を覆うオーバーレイ */
.reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
  will-change: opacity, visibility;
}

/* 背景のグレー部分 */
.reserve-modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* 中央のモーダル本体 */
.reserve-modal__body {
  position: relative;
  z-index: 1;
  width: 90vw;
  height: 70vh;
  max-width: 1100px;
  max-height: 800px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}
@media(max-width:768px){
.reserve-modal__body {
  width: 90vw;
  height: 90vh;
  max-width: 1100px;
	z-index: 9999;
}	
}
/* 閉じるボタン */
.reserve-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

/* iframe（中身の予約ページ） */
#reserve-modal-iframe {
  border: none;
  width: 100%;
  height: 100%;
}

/* 開いているとき */
.reserve-modal.is-open {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

/* モーダル中は背後のスクロールを止める */
html.is-reserve-modal-open,
body.is-reserve-modal-open {
  overflow: hidden;
}

