@charset "UTF-8";
/*--------------------------------------------
----------------------------------------------

モーダル　ベーススタイル

----------------------------------------------
----------------------------------------------*/
/* モーダル表示時のページ全体の右ズレ回避 */
body.body-modal-open {
  padding-right: 15px;
  overflow: hidden;
}
body.body-modal-open .scroll_header--v2 {
  padding-right: 15px;
}
@media (width < 821px) {
  body.body-modal-open {
    padding-right: 0;
  }
}
.js-modal-open {
  position: relative;
  overflow: hidden;
  padding: 8px 24px;
  font-weight: bold;
  color: #454545;
  border-radius: 3px;
  border: 1px solid #ccc;
  background-color: transparent;
  cursor: pointer;
  box-sizing: border-box;
}
.c-modal__title {
  font-weight: bold;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #6aa934;
  width: 100%;
  color: #6aa934;
  font-size: 18px;
  line-height: 1;
}
.c-modal__scroll {
  min-height: 0;
  overflow-y: auto;
  width: 100%;
  scrollbar-width: thin;
  padding: 0;
  box-sizing: border-box;
  padding-bottom: 1px;
}
.c-modal {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  overflow: hidden;
  padding-right: 8px;
}

/* アクティブ時 */
.c-modal.is-active {
  visibility: visible;
  opacity: 1;
}

/* 背景 */
.c-modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* モーダル本体 */
.c-modal__content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 600px;
  max-height: calc(100dvh - 100px * 2);
  padding: 24px;
  background: #fff;
  border-radius: 10px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
@media (width < 969px) {
  .c-modal__content {
    max-height: calc(100dvh - 60px * 2);
  }
}

.c-modal.is-active .c-modal__content {
  transform: scale(1);
  margin-right: 15px;
}
@media (width < 969px) {
  .c-modal.is-active .c-modal__content {
    margin-right: 0;
  }
}

/* 閉じるボタン */
.c-modal__close {
  position: absolute;
  color: #6aa934;
  top: 10px;
  right: 15px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (width < 969px) {
  .js-modal-open {
    padding: 12px 0;
    font-size: 15px;
    max-width: 240px;
    width: 100%;
  }
}

/*--------------------------------------------
----------------------------------------------

ページ毎の固有スタイル

----------------------------------------------
----------------------------------------------*/
/*----------------------
スタイル：ご利用時間
------------------------*/
.hours-wrap .hours-detail {
  margin-top: 16px;
  box-sizing: border-box;
}
@media (width < 969px) {
  .hours-wrap .hours-detail {
    padding-inline: 20px;
  }
}
