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

.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;
}

.hide-areast {
	position: relative;
	border-bottom:4px solid #D5EAF4;
}
.hide-areast::after {
	content: "";
	position: absolute;
	bottom:-4px;
	left: 0;
	width: 30%;
	height: 4px;
	border-bottom:4px solid #73B3D2;
}


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

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;
	font-size: 20px;
	margin: 0 0 20px;
}

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

.reservebtn a{
	display: block;
	background-color:#8aced0;
	font-weight: 600;
	padding: 10px;
	color: #fff;
	font-size: 20px;
}

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

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


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

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;
  }

}