/* =========================================
   モーダル基本
========================================= */

.hide-area {
	position: relative;
  display: none;
}

dialog.hide-area[open] {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  margin: 0;
  padding: 30px;
  border: none;
  border-radius: 0;
  background: #fff;
  overflow-y: auto;
  opacity: 0;
  transform: translate(-50%, -45%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}


/* =========================================
   モーダル表示後
========================================= */

dialog.hide-area[open].modal-show {
  opacity: 1;
  transform: translate(-50%, -50%);
}


/* =========================================
   黒背景
========================================= */

dialog.hide-area::backdrop {
  background: rgba(0, 0, 0, 0);

  transition:
    background 0.5s ease;
}


dialog.hide-area.modal-show::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

/* =========================================
   デザイン
========================================= */

.hide-area p{
	line-height: 1.5;
	margin: 0 0 20px;
	text-align: center;
}

.modalt{
	padding: 0.5em 0;
	border-top: 4px dotted #C5CF24;
	border-bottom: 4px dotted #C5CF24;
	text-align: center;
	margin: 20px 0 0;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: #484644;
}

.reservebtn{
	text-align: center;
	margin: 0 0 10px;
}

.reservebtn a{
	display: inline-block;
	background-color:#3BA84C;
	font-weight: 600;
	padding: 10px 20px;
	color: #fff;
	font-size: 24px;
	border-radius: 10px;
}

/* 同意チェック部分 */
.reserve-agree {
	margin-bottom: 15px;
	text-align: center;
}

.reserve-agree label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 600;
}

.reserve-agree input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

/* WEB予約ボタン：無効状態 */
.reserve-link.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* 有効状態 */
.reserve-link:not(.is-disabled) {
	cursor: pointer;
}

/* =========================================
   スマホ
========================================= */

@media screen and (max-width: 767px) {
  dialog.hide-area[open] {
    width: 90%;
    padding: 20px;
  }
.reservebtn a{
	font-size: 20px;
}
}


/* =========================================
   モーダル閉じるボタン
========================================= */

button.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: none!important;
  background: transparent;
  z-index: 10;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.modal-close:focus,
.modal-close:focus-visible,
.modal-close:active {
  outline: none;
  border: 0;
  box-shadow: none;
}


/* ×の線 */

.modal-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 2px;
  background: #666;
  transform-origin: center;
}


/* 1本目 */

.modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}


/* 2本目 */

.modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}


/* hover */

.modal-close:hover span {
  background: #666;
}


/* スマホ */

@media screen and (max-width: 767px) {

  .modal-close {
    width: 36px;
    height: 36px;
  }

  .modal-close span {
    width: 24px;
  }

}