* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
label {
  cursor: pointer;
}
input,
select,
textarea {
  appearance: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
body {
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: 16px;
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
.wrapper {
  padding: 32px 20px 74px 20px;
}
.content {
  max-width: 520px;
  margin: 0 auto;
}
.logo {
  width: 160px;
  margin: 0 auto;
}
.stepper {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 0 0 0;
  margin: 26px 0 28px 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: calc(100% / 3);
  position: relative;
}
.step:nth-child(2)::before,
.step:nth-child(3)::before {
  content: "";
  width: calc(50% - 24px);
  height: 1px;
  background: #d0d7de;
  position: absolute;
  top: 15px;
  left: 0;
}
.step:nth-child(1)::after,
.step:nth-child(2)::after {
  content: "";
  width: calc(50% - 24px);
  height: 1px;
  background: #d0d7de;
  position: absolute;
  top: 15px;
  right: 0;
}
.circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eaeef2;
  color: #6e7781;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 14px;
}
.label {
  margin: 4px 0 0 0;
  color: #424a53;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}
[data-step]::before {
  content: attr(data-step);
}
[data-current-step="1"] [data-step="1"],
[data-current-step="2"] [data-step="1"],
[data-current-step="2"] [data-step="2"],
[data-current-step="3"] [data-step="1"],
[data-current-step="3"] [data-step="2"],
[data-current-step="3"] [data-step="3"],
[data-current-step="4"] [data-step="1"],
[data-current-step="4"] [data-step="2"],
[data-current-step="4"] [data-step="3"] {
  background: #0969da;
  color: #fff;
  border: 1px solid #0969da;
  font-weight: 700;
}
[data-current-step="1"] [data-step="1"] + .label,
[data-current-step="2"] [data-step="1"] + .label,
[data-current-step="2"] [data-step="2"] + .label,
[data-current-step="3"] [data-step="1"] + .label,
[data-current-step="3"] [data-step="2"] + .label,
[data-current-step="3"] [data-step="3"] + .label,
[data-current-step="4"] [data-step="1"] + .label,
[data-current-step="4"] [data-step="2"] + .label,
[data-current-step="4"] [data-step="3"] + .label {
  color: #0969da;
}
[data-current-step="1"] [data-step="1"]::before,
[data-current-step="2"] [data-step="2"]::before,
[data-current-step="3"] [data-step="3"]::before {
  color: #fff;
}
[data-current-step="2"] [data-step="1"]::before,
[data-current-step="3"] [data-step="1"]::before,
[data-current-step="3"] [data-step="2"]::before,
[data-current-step="4"] [data-step="1"]::before,
[data-current-step="4"] [data-step="2"]::before,
[data-current-step="4"] [data-step="3"]::before {
  content: "";
  width: 24px;
  height: 24px;
  background: url(../images/reservation/check.svg) no-repeat center center;
}
[data-current-step="2"] .step:nth-child(1)::after,
[data-current-step="2"] .step:nth-child(2)::before,
[data-current-step="3"] .step:nth-child(1)::after,
[data-current-step="3"] .step:nth-child(2)::before,
[data-current-step="3"] .step:nth-child(2)::after,
[data-current-step="3"] .step:nth-child(3)::before,
[data-current-step="4"] .step:nth-child(1)::after,
[data-current-step="4"] .step:nth-child(2)::before,
[data-current-step="4"] .step:nth-child(2)::after,
[data-current-step="4"] .step:nth-child(3)::before {
  background: #0969da;
}
.form-content {
  margin: 0 0 60px 0;
}
.form-content-step {
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  color: #424a53;
  margin: 0 0 4px 0;
}
.form-content-head {
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  color: #424a53;
  margin: 0 0 12px 0;
}
.form-input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
}
.form-input.error {
  background: #fff6f5;
  border: 1px solid #cf222e;
}
.reservationDateWrapper input.form-input:disabled {
  opacity: 0.5;
  cursor: progress;
}
.form-input:disabled::placeholder {
  color: #fff;
}
.reservationDateWrapper input[type="text"] {
  cursor: pointer;
  background: url(../images/reservation/calendar.svg) no-repeat right 12px
    center #fff;
}
.reservationTimesList li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eaeef2;
  padding: 8px 0;
}
.reservationTimesList li span {
  font-size: 14px;
  line-height: 24px;
  color: #24292f;
  padding: 0 16px;
  min-width: 160px;
}
@media screen and (max-width: 768px) {
  .reservationTimesList li span {
    min-width: 96px;
  }
}
.reservationTimesList li input {
  display: none;
}
.available-slot {
  flex: 1;
  height: 40px;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0969da;
  border-radius: 6px;
  border: 1px solid #0550ae;
}
.available-slot.active {
  background: #033d8b;
  border: 1px solid #0a3069;
}
.available-slot.inactive {
  background: #d0d7de;
  border: 1px solid #d0d7de;
}
.unavailable-slot {
  flex: 1;
  height: 40px;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d0d7de;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #fff;
  cursor: not-allowed;
}
.reservationTimesEmpty {
  display: none;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #424a53;
  margin: 12px 0 0 0;
}
.reservationTimesList:empty + .reservationTimesEmpty {
  display: block;
}
.form-blocks {
  display: flex;
  gap: 16px;
  margin: 0 0 12px 0;
}
.form-blocks > div {
  flex: 1;
}
.form-input-label {
  font-size: 12px;
  line-height: 20px;
  display: inline-block;
  color: #424a53;
  margin: 0 0 4px 2px;
}
.form-block {
  margin: 0 0 12px 0;
}
.form-textarea {
  width: 100%;
  height: 168px;
  font-size: 18px;
  line-height: 28px;
  color: #24292f;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 8px 60px 24px 12px;
}
::placeholder {
  color: #8c959f;
}
.form-selects {
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-selects select {
  width: 100%;
  height: 48px;
  font-size: 16px;
  text-indent: 10px;
  color: #24292f;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: url(../images/reservation/select-arrow.svg) no-repeat right 6px
    center #fff;
}
.input-error-message {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #cf222e;
  margin: 4px 0 0 0;
}
.input-error-message:empty {
  display: none;
}
.genders {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 0 0;
  padding: 0 0 10px 0;
}
.genders li {
  padding: 0 0 0 10px;
}
.genders input[type="radio"] {
  display: none;
}
.genders label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #424a53;
  cursor: pointer;
}
.genders label::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #6e7781;
  border-radius: 50%;
  box-sizing: border-box;
}
.genders input[type="radio"]:checked + label::before {
  border: 5px solid #0969da;
}
.form-textarea-container {
  position: relative;
}
.char-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 12px;
  color: #6e7781;
  pointer-events: none;
}
.form-footer {
  position: fixed;
  width: 100%;
  height: 74px;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  border-top: 1px solid #d0d7de;
  background: #fff;
  padding: 0 16px;
  z-index: 2;
}
.form-footer-inner {
  max-width: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.submit {
  width: 260px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: #fff;
  background: #0969da;
  border-radius: 6px;
  border: 1px solid #0550ae;
}
.submit:disabled {
  background: #d0d7de;
  border: 1px solid #d0d7de;
}
.form-footer-date p:nth-child(1) {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: #6e7781;
}
.form-footer-date p:nth-child(2) {
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  height: 24px;
  color: #424a53;
  white-space: nowrap;
  padding: 0 12px 0 0;
  min-width: 180px;
}
.form-footer-date p:nth-child(2)::before {
  content: attr(data-reservation-date);
}
.form-complete {
  margin: 60px 0;
}
.form-complete-text1 {
  font-size: 20px;
  line-height: 32px;
  color: #424a53;
  margin: 0 0 24px 0;
}
.form-complete-text2 {
  font-size: 14px;
  line-height: 24px;
  color: #424a53;
  margin: 0 0 24px 0;
}
.form-complete-text3 {
  font-size: 14px;
  line-height: 24px;
  color: #424a53;
  margin: 0 0 24px 0;
}
.form-complete-text3 a {
  color: #0969da;
}
.form-complete-text3 a:hover {
  text-decoration: underline;
}
@keyframes loading {
  100% {
    transform: rotate(360deg);
  }
}
.reservationDateWrapper {
  position: relative;
}
.calendarLoading {
  width: 48px;
  height: 48px;
  background-image: url(../images/reservation/loading.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center center;
  animation-name: loading;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.form-input:disabled + .calendarLoading {
  display: block;
}
.submitLoading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255, 0.6);
  z-index: 100;
  display: none;
}
._submitted .submitLoading {
  display: flex;
  align-items: center;
  justify-content: center;
}
.submitLoading::before {
  content: "";
  width: 48px;
  height: 48px;
  background-image: url(../images/reservation/loading.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center center;
  animation-name: loading;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
.reservationPlan {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid #d0d7de;
  border-bottom: 1px solid #d0d7de;
  margin: 0 0 32px 0;
}
.reservationPlan img {
  width: 48px;
}
.reservationPlan p {
  color: #24292f;
  font-size: 14px;
  line-height: 24px;
}
.reservationPlan p span {
  display: inline-block;
}
