.month-tabs {
  display: flex;
  width: 100%;
}

.tab-label {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  background-color: #EEE9E1;
  font-weight: normal;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  cursor: pointer;
  user-select: none;
  margin: 0 -1px 0 1px;
}

.tab-label:nth-of-type(1) {
  margin-right: 1px;
}

.tab-label:nth-of-type(3) {
  margin-left: 3px;
}

.tab-label-active {
  background-color: #D7C0AE;
  font-weight: bold;
}


.week-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #D7C0AE;
  padding: 5px 16px;
  color: #000;
  margin: 0 -1px 0 1px;
}

.week-nav button {
  background-color: #fff;
  border: 1px solid #9F856A;
  color: #9F856A;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.week-nav button.prev::before {
  content: url("/image/base/arrow_left.svg");
  margin-right: 8px;
}

.week-nav button.next::after {
  content: url("/image/base/arrow_right.svg");
  margin-left: 8px;
}

.week-nav .label {
  font-weight: bold;
  font-size: 1rem;
}

.table-wrapper {
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

#reservation-table {
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  margin: 0 1px;
  table-layout: fixed;
}

#reservation-table th,
#reservation-table td {
  border: 1px solid #9F856A;
  text-align: center;
  padding: 6px 0;
}

#reservation-table th:first-child,
#reservation-table td:first-child {
  background-color: #EEE9E1;
  font-weight: bold;
  width: 80px;
}

#reservation-table td.disabled {
  background-color: #E5E5E5;
  color: #999;
}

.circle-available {
  width: 21px;
  height: 21px;
}

.sat-header {
  background-color: #D1E4F2;
}

.sun-header,
.hol-header {
  background-color: #F9E0E6;
}

.reservation-form>div {
  margin-bottom: 16px;
  text-align: left;
}


.reservation-form h1 {
  text-align: center;
  margin-bottom: 24px;
}


.reservation-form label {
  display: block;
  margin-bottom: 4px;
  text-align: left;
  margin-top: 8px;
}


.reservation-form input[type="text"],
.reservation-form input[type="email"],
.reservation-form select,
.reservation-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  text-align: left;
  color: black;
  height: 50px;
}

.reservation-form textarea {
  height: auto;
}

.reservation-form .info {
  text-align: left;
  margin-bottom: 16px;
}

.reservation-form .info span {
  display: inline-block;
  margin-right: 4px;
}


.reservation-form .buttons {
  margin-top: 24px;
  text-align: center;
}

.reservation-form .buttons a,
.reservation-form .buttons button {
  display: inline-block;
  margin: 0 8px;
  padding: 8px 16px;
  border: 1px solid #9F856A;
  background-color: #fff;
  color: #9F856A;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  width: 110px;
  font-family: 'Noto Serif JP', sans-serif;
}

.reservation-form .buttons button {
  background-color: #9F856A;
  color: #fff;
}

.reservation-form .buttons a {
  color: #967E76;
  background-color: #E9E2D5;
}

/* チェックボックス本体は非表示 */
.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* チェックマーク部分のベーススタイル */
.custom-checkbox .checkmark {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("/image/base/check_off.svg");
}

/* チェックされたときの画像変更 */
.custom-checkbox input[type="checkbox"]:checked+.checkmark {
  background-image: url("/image/base/check_on.svg");
}

.e-message {
  color: red;
  font-weight: bold;
}

section#reservation-input {

  .reservation-form {
    max-width: 100%;
    width: 720px;

    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;

    div {
      font-family: 'Noto Sans JP', sans-serif;
    }

    .reservation-time {
      font-size: 18px;
    }
  }
}

section#reservation-thanks {
  >div {
    max-width: 730px;
    margin: 0 auto;
    min-height: 45vh;

    h1 {
      width: 730px;
      max-width: 100%;
      line-height: 1.8;
      font-family: 'Noto Serif JP', sans-serif;

      span {
        text-decoration: underline;
        text-underline-offset: 10px;
        text-decoration-color: #C5705D;
      }
    }

    p {
      font-family: 'Noto Sans JP', sans-serif;
      font-size: 14px;
    }
  }

  .reservation-summary {
    background-color: #ffffff;
    width: 100%;
  }

  .reservation-summary li {
    font-size: 1rem;
  }

  .reservation-summary li+li {
    margin-top: 0.5rem;
  }

  .reservation-summary li.border-bottom {
    border-color: #D0B8A8 !important;
  }

}