@charset "UTF-8";

/*============================================================================
  _mixin.scss
============================================================================*/
/* mediaQuery breakpoint */
/* clearfix */
/* 擬似要素 */
/* transform property */
/* opacity */
/* link color */
/*------------------------------
  common setting
------------------------------*/
/*------------------------------
  contents style
------------------------------*/
/* header & footer */
header {
  background-color: #fff;
  border-bottom: 1px solid #BAC6D5;
  height: 100px;
  text-align: center;
  width: 100%;
}

header img {
  height: auto;
  max-height: 70px;
  max-width: 90%;
  margin: 15px auto 0;
  width: auto;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  header img {
    max-height: 100px;
    margin-top: 0;
    width: auto;
  }
}

footer {
  background-color: #231815;
  height: 30px;
  width: 100%;
}

footer p {
  color: #fff;
  font-size: 14px;
  text-align: center;
  line-height: 30px;
}

/* calendar:false ページ：コンテンツが短くてもフッターを画面最下部に固定する */
body.no-calendar {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.no-calendar .content_wrap {
  flex: 1 0 auto;
}

body.no-calendar footer {
  flex-shrink: 0;
}

/* content_wrap */
.content_wrap {
  margin: 0 auto;
  max-width: 800px;
  padding: 77px 15px 160px;
}

/* step */
.step {
  margin: 0 auto 85px;
  text-align: center;
}

.step .step_wrap {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  column-gap: 24px;
}

.step .step_wrap .step_box {
  position: relative;
  text-align: center;
}

.step .step_wrap .step_box .dot {
  background-color: #ccc;
  border-radius: 100%;
  height: 22px;
  left: calc(50% - 11px);
  position: absolute;
  width: 22px;
}

.step .step_wrap .step_box::after {
  content: "";
  display: block;
  border-top: 2px solid #ccc;
  height: 0;
  left: 50%;
  position: absolute;
  top: 10px;
  width: calc(100% + 24px);
  z-index: -1;
}

.step .step_wrap .step_box .dot.active {
  background-color: #397BEC;
}

.step .step_wrap .step_box .step_label {
  padding-top: 37px;
}

.step .step_wrap .step_box .step_label p {
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.step .step_wrap .step_box:last-child::after {
  display: none;
}

@media screen and (max-width: 599px) {
  .step .step_wrap {
    display: grid;
    width: 100%;
    column-gap: 8px;
  }
  .step .step_wrap .step_box::after {
    width: calc(100% + 8px);
  }
  .step .step_wrap .step_box .step_label p {
    font-size: 10px;
    white-space: normal;
  }
}

/* カレンダー画面上部のページ文章（テーブル外「ページ文章」フィールド） */
.page_text {
  margin: 0 auto 40px;
  max-width: 800px;
  line-height: 1.8;
  font-size: 14px;
}

.page_text img {
  max-width: 100%;
  height: auto;
}

/* 選択済み予約内容の常時表示（入力ページ上部） */
.reservation-info {
  background-color: #EFF4FD;
  border: 1px solid #397BEC;
  border-radius: 5px;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 auto 40px;
  max-width: 800px;
  padding: 12px 16px;
  text-align: center;
}

/* form_contents */
.form_contents {
  /* 入力内容の確認 */
  /* 完了画面 */
}

@media screen and (min-width: 768px) {
  .form_contents.narrow {
    padding: 0 100px;
  }
}

.form_contents dl {
  margin-bottom: 25px;
}

.form_contents dl dt {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.form_contents dl dt span {
  background-color: #D84D4D;
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px 2px;
  text-align: center;
}

.form_contents dl dt span.optional {
  background-color: #D6DBE2;
  color: #5F5F5F;
}

.form_contents dl dd {
  /* テーブルのダミーです */
}

.form_contents dl dd select,
.form_contents dl dd input[type=text],
.form_contents dl dd input[type=tel],
.form_contents dl dd input[type=email],
.form_contents dl dd input[type=date],
.form_contents dl dd textarea {
  border: 1px solid #BAC6D5;
  border-radius: 5px;
}

.form_contents dl dd select,
.form_contents dl dd input[type=date] {
  height: 42px;
  width: 310px;
}

.form_contents dl dd input[type=text],
.form_contents dl dd input[type=tel],
.form_contents dl dd input[type=email] {
  height: 42px;
  width: 100%;
}

.form_contents dl dd input[type=text].name_box,
.form_contents dl dd input[type=tel].name_box,
.form_contents dl dd input[type=email].name_box {
  width: 130px;
}

.form_contents dl dd textarea {
  width: 100%;
}

.form_contents dl dd .name_label {
  font-weight: bold;
  padding: 0 6px 0 2px;
}

@media screen and (min-width: 768px) {
  .form_contents dl dd input[type=text].name_box {
    width: 225px;
  }
}

.form_contents dl dd.annotation {
  color: #555;
  font-size: 14px;
  text-indent: -1em;
  padding-bottom: 1em;
  padding-left: 1em;
}

.form_contents dl dd.error {
  color: #D84D4D;
}

.form_contents dl dd .dummy_box {
  border: 1px solid #D6DBE2;
  height: 675px;
  width: 100%;
}

.preview-container {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  border: 1px solid #BAC6D5;
  border-radius: 5px;
  padding: 10px;
  background-color: #f9f9f9;
}

.preview-container img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.form_contents .confirm_text {
  color: #555;
  font-size: 14px;
  margin-bottom: 50px;
  padding-left: 1em;
  text-indent: -1em;
}

.form_contents .input_contents {
  border-top: 1px solid #d6dbe3;
}

.form_contents .input_contents dl {
  border-bottom: 1px solid #d6dbe3;
  margin-bottom: 0;
  padding: 20px 10px;
}

.form_contents .complete_text h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 50px;
}

/* form_btn */
.form_btn {
  margin: 100px auto 0;
  text-align: center;
}

.form_btn .btn {
  margin-bottom: 20px;
}

.form_btn .btn a {
  box-shadow: 0 5px 10px 1px rgba(204, 204, 204, 0.5);
  -webkit-box-shadow: 0 5px 10px 1px rgba(204, 204, 204, 0.5);
  border-radius: 24px;
  cursor: pointer;
  display: block;
  font-weight: bold;
  height: 48px;
  line-height: 48px;
  margin: 0 auto;
  position: relative;
  text-decoration: none;
  transition: all 0.4s ease;
  width: 340px;
}

.form_btn .btn a:hover {
  opacity: 0.7;
}

.form_btn .btn a::after {
  display: block;
  content: "";
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  height: 10px;
  position: absolute;
  top: 19px;
  width: 10px;
}

.form_btn .btn a.next {
  background-color: #397BEC;
  color: #fff;
}

.form_btn .btn a.next::after {
  right: 100px;
  transform: rotate(45deg);
}

.form_btn .btn a.back {
  background-color: #D6DBE2;
  color: #5F5F5F;
}

.form_btn .btn a.back::after {
  border-color: #5F5F5F;
  left: 100px;
  transform: rotate(225deg);
}

/* 共有端末用リセットボタン：右上固定。次へ（.next）と同系統の見た目で、サイズはコンパクトのまま */
#reset-button-wrap {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 100;
  margin: 0;
}

#reset-button {
  background-color: #397BEC;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 24px;
  padding: 6px 18px;
  cursor: pointer;
  box-shadow: 0 5px 10px 1px rgba(204, 204, 204, 0.5);
  transition: all 0.4s ease;
}

#reset-button:hover {
  opacity: 0.7;
}

.sp-table-container {
  display: none;
}

.sp-table-container .sp-reserve-btn {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-table-container {
    display: block;
  }

  .sp-table-container .sp-reserve-btn {
    display: flex;
    justify-content: space-between;
  }

  .sp-table-container .sp-btn {
    margin-bottom: 20px;
    width: 40%;
  }

  .sp-table-container .sp-btn a {
    border-radius: 20px;
    cursor: pointer;
    display: block;
    font-size: 12px;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    position: relative;
    text-decoration: none;
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid #BFB9B0;
    color: #000;
  }

  .sp-table-container .sp-btn a:hover {
    opacity: 0.7;
  }

  .sp-table-container .sp-btn a::after {
    display: block;
    content: "";
    border-right: 2px solid #000;
    border-top: 2px solid #000;
    height: 8px;
    position: absolute;
    top: 16px;
    width: 8px;
  }

  .sp-table-container .sp-btn a.arrow_next {
    padding-right: 10px;
  }

  .sp-table-container .sp-btn a.arrow_next::after {
    right: 15px;
    transform: rotate(45deg);
  }

  .sp-table-container .sp-btn a.arrow_prev {
    background-color: #fff;
    color: #000;
    padding-left: 10px;
  }

  .sp-table-container .sp-btn a.arrow_prev::after {
    border-color: #5F5F5F;
    left: 15px;
    transform: rotate(225deg);
  }
}

/*予約テーブル*/
.reserve-day table {
  box-sizing: border-box;
  border-collapse: separate;
  border-spacing: 0;
}

.reserve-day table th,
.reserve-day table td {
  border-spacing: 0;
  text-align: center;
  box-sizing: border-box;
  min-width: 42px;
}

.reserve-day .nowrap {
  white-space: nowrap;
}

.reserve-day .week-pagar {
  font-weight: bold;
  text-align: center;
  width: 5em;
}

.reserve-day .week-pagar.next {
  border-left: 1px solid #BAC6D5;
}

.reserve-day .week-pagar a {
  display: block;
  font-size: 12px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  margin: 0 auto;
  position: relative;
  text-decoration: none;
  transition: all 0.4s ease;
  text-align: center;
  color: #000;
}

.reserve-day .week-pagar a:hover {
  opacity: 0.7;
}

.reserve-day .week-pagar a::after {
  display: block;
  content: "";
  border-right: 2px solid #000;
  border-top: 2px solid #000;
  height: 6px;
  position: absolute;
  top: 17px;
  width: 6px;
}

.reserve-day .week-pagar a.arrow_next {
  padding-right: 10px;
}

.reserve-day .week-pagar a.arrow_next::after {
  right: 5px;
  transform: rotate(45deg);
}

.reserve-day .week-pagar a.arrow_prev {
  background-color: #fff;
  color: #000;
  padding-left: 10px;
}

.reserve-day .week-pagar a.arrow_prev::after {
  border-color: #5F5F5F;
  left: 5px;
  transform: rotate(225deg);
}

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

  .reserve-day .week-pagar .arrow_prev,
  .reserve-day .week-pagar .arrow_next {
    display: none;
  }
}

.reserve-day .month {
  border-left: 1px solid #BAC6D5;
  border-bottom: 1px solid #BAC6D5;
  padding: 10px 0;
  text-align: center;
}

.reserve-day .day-container th {
  text-align: center;
  width: calc((100% - 154px) / 14);
  padding: 10px 0;
  border-left: 1px solid #BAC6D5;
}

.reserve-day .day-container th.sat {
  color: #3373FF;
}

.reserve-day .day-container th.sun {
  color: #D84D4D;
}

.reserve-day .open-cell {
  transition: background-color 0.1s;
  width: auto;
  height: 35px;
  border: solid #BFB9B0;
  border-width: 1px 0 0 0;
}

.reserve-day .open-cell .icon-open {
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
  text-indent: -9999px;
  width: auto;
}

.reserve-day .open-cell .icon-open:hover {
  background: #FCDBE3;
}

.reserve-day .open-cell .icon-open:after,
.reserve-day .open-cell .icon-open:before {
  border: 1px solid #D84D4D;
  border-radius: 100px;
  content: "";
  display: block;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
}

.reserve-day .open-cell .icon-open:before {
  height: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
}

.reserve-day .open-cell .icon-open:after {
  height: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
}

/* 選択状態のセル */
.reserve-day .open-cell.selected {
  background: #FCDBE3;
}

.reserve-day .open-cell.selected .icon-open:after,
.reserve-day .open-cell.selected .icon-open:before {
  border-color: #D84D4D;
  background: #D84D4D;
}

/* 日時確定ボタン */
.reserve-confirm {
  margin-top: 20px;
  text-align: center;
}

.reserve-confirm #confirm-reservation-btn {
  background-color: #397BEC;
  border: none;
  border-radius: 24px;
  box-shadow: 0 5px 10px 1px rgba(204, 204, 204, 0.5);
  color: #fff;
  cursor: pointer;
  display: block;
  font-weight: bold;
  height: 48px;
  line-height: 48px;
  margin: 0 auto;
  max-width: 100%;
  transition: all 0.4s ease;
  width: 340px;
}

.reserve-confirm #confirm-reservation-btn:hover:not(:disabled) {
  opacity: 0.7;
}

.reserve-confirm #confirm-reservation-btn:disabled {
  background-color: #D6DBE2;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
}

.reserve-day .close-cell {
  background: #F1F2F4;
  text-align: center;
  height: 35px;
  border: solid #BFB9B0;
  border-width: 1px 0 0 0;
}

.reserve-day .close-cell .icon-close {
  display: block;
  line-height: 30px;
  overflow: hidden;
  position: relative;
  text-indent: -9999px;
  width: auto;
}

.reserve-day .close-cell .icon-close:after,
.reserve-day .close-cell .icon-close:before {
  background: #000;
  content: "";
  display: block;
  height: 1px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 16px;
  width: 10px;
}

.reserve-day .close-cell .icon-close:before {
  transform: rotate(-45deg);
}

.reserve-day .close-cell .icon-close:after {
  transform: rotate(45deg);
}

.reserve-day .close-col-inner {
  background: #F1F2F4;
  min-width: 42px;
  border-top: 1px solid #BAC6D5;
}

.reserve-day .close-col-inner .close-col-text {
  writing-mode: vertical-rl;
  font-weight: bold;
}

.reserve-day .close-col-inner.past-col {
  background: #E9EBEE;
}

.reserve-day .close-col-inner.past-col .close-col-text {
  color: #9AA5B1;
}

.schedule-wrapper {
  font-size: 12px;
  line-height: 1.5;
  width: 100%;
  position: relative;
  min-height: 200px;
}

@media screen and (max-width: 768px) {
  .schedule-wrapper {
    width: calc(100% + 30px);
    margin: 0 -15px;
  }
}

/* カレンダー読み込み中オーバーレイ */
.calendar-loading {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
}

.calendar-loading.is-active {
  display: flex;
}

.calendar-loading .calendar-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.calendar-loading .calendar-loading-spinner {
  display: block;
  width: 36px;
  height: 36px;
  border: 4px solid #D6DBE2;
  border-top-color: #397BEC;
  border-radius: 50%;
  animation: calendar-loading-spin 0.8s linear infinite;
}

.calendar-loading .calendar-loading-text {
  color: #397BEC;
  font-size: 13px;
  font-weight: bold;
}

@keyframes calendar-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.schedule-wrapper .time {
  width: 77px;
}

.schedule-header-container {
  display: grid;
  grid-template-columns: auto 1fr;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid #BAC6D5;
}

.schedule-header-container .week-pagar {
  padding: 0;
  width: 77px;
}

/* 左上セル専用テーブル（横スクロールしない）*/
.schedule-header-left {
  border-collapse: collapse;
}

.schedule-header-left th {
  padding: 6px;
  white-space: nowrap;
  text-align: center;
  background: #fff;
  position: sticky;
  left: 0;
  top: 0;
  width: 77px;
  border: none;
  z-index: 25;
  /* ヘッダーの上に表示する */
}

/* ヘッダーの残り部分を包むラッパー */
.schedule-header-scroll {
  overflow: hidden;
  /* 横スクロールバーを出さない */
}

.schedule-header {
  border-collapse: collapse;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .schedule-header {
    width: -moz-max-content;
    width: max-content;
    table-layout: fixed;
  }
}

.schedule-header th {
  white-space: nowrap;
  text-align: center;
  border-left: 1px solid #BAC6D5;
  background: #fff;
}

/* 本体を包むラッパー：横スクロールを許可 */
.schedule-body-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: none;
}

.schedule-body {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #BAC6D5;
  border-top: none;
}

@media screen and (max-width: 768px) {
  .schedule-body {
    width: -moz-max-content;
    width: max-content;
    table-layout: fixed;
  }
}

.schedule-body .sticky-col {
  border: none;
  border-top: 1px solid #BAC6D5;
  text-align: right;
  padding-right: 10px;
}

.schedule-body .time-just {
  font-size: 14px;
  font-weight: bold;
}

.schedule-body tr:not(:first-child) .time-just {
  border-top: 2px solid #BAC6D5;
}

.schedule-body .time-last {
  border: none;
  border-top: 1px solid #BAC6D5;
  border-left: 1px solid #BAC6D5;
  text-align: left;
  padding-left: 10px;
}

.schedule-body .open-cell,
.schedule-body .close-cell {
  border-left: 1px solid #BAC6D5;
  width: calc((100% - 154px) / 14);
}

.schedule-body .close-col-inner {
  border-right: none;
  border-bottom: none;
}

.schedule-body th,
.schedule-body td {
  white-space: nowrap;
  text-align: center;
  border: 1px solid #BAC6D5;
}

/* 左列を固定したいときは sticky を指定 */
.sticky-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 10;
}

/* 複数選択（枠付き・スクロールのチェックボックス欄。タブレットのタップ操作向け） */
.multi-select-box {
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 8px;
}
.multi-select-box label {
  display: block;
  padding: 10px 4px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
.multi-select-box label:last-child {
  border-bottom: none;
}
.multi-select-box input[type="checkbox"] {
  margin-right: 8px;
}

/*# sourceMappingURL=style.css.map */