/* -----------------
  Common
----------------- */
body {
  font-family: 'Noto Serif JP', serif;
}

/* -----------------
  Header
----------------- */
@media(min-width: 768px) {
  .header .col .botaeria {
    width: 510px;
  }
}

/* -----------------
  Main
----------------- */
.main {
  margin: 1rem 0;
}

/* -----------------
  Footer
----------------- */
.footer {
  margin: 10rem 0 1rem 0;
}

/* -----------------
  Title
----------------- */
.w-title {
  display: inline-block;
  margin: 2em 0 2em 0;
  padding: 0 .5em .5em .5em;
  border-bottom: 2px solid #000;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.w-title2 {
  margin: 3em 0 2em 0;
  padding: .5em;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  font-size: 1.5rem;
  font-weight: 600;
}

.w-title3 {
  margin: 3em 0 2em 0;
  padding: .5em;
  background-color: #ccc;
  font-size: 1.25rem;
  font-weight: 600;
}

/* -----------------
  Step
----------------- */
.w-step {
  margin: 3rem 0;
  padding: 0;
  position: relative;
}

.w-step .w-step-info {
  margin-bottom: 0;
}

.w-step .w-step-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  display: block;
  background: #f29600;
  top: 45px;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
}

.w-step .progress {
  position: relative;
  border-radius: 0px;
  height: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin: 20px 0;
}

.w-step .progress .progress-bar {
  width: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: #f29600;
}

.w-step.complete .progress .progress-bar {
  width: 100%;
}

.w-step.active .progress .progress-bar {
  width: 50%;
}

.w-step.disabled .w-step-dot {
  background-color: #e9ecef;
}

.w-step:first-child .progress {
  left: 50%;
  width: 50%;
}

.w-step:last-child .progress {
  width: 50%;
}

/* -----------------
  Form
----------------- */
.form .form-label {
  display: block;
  margin-bottom: .375rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.table-form {
  border-top: 1px solid #dee2e6 !important;
}

.table-form .label-name {
  display: block;
  padding: .3rem .75rem;
  width: auto;
  background-color: #f8f9fa;
  border-width: 0 1px 1px 1px;
  font-weight: 300;
}

.table-form .label-value {
  display: block;
  width: auto;
  border-width: 0 1px 1px 1px;
}

@media (min-width: 768px) {
  .table-form .label_group_name {
    vertical-align: middle;
  }
  .table-form .label-name {
    display: table-cell;
    width: 25%;
    vertical-align: middle;
  }
  .table-form .label-value {
    display: table-cell;
    width: 75%;
    vertical-align: middle;
    background-color: #fff;
  }
  .table-form #postcode {
    width: 30%;
  }
  .table-form #pref {
    width: 30%;
  }
  .table-form #tel, .table-form #fax {
    width: 30%;
  }
  .table-form #past_use {
    width: 30%;
  }
}

/* -----------------
  Terms
----------------- */
.terms {
  overflow-y: scroll;
  height: 200px;
  padding: 1rem;
  border: 1px solid #ccc;
}

.terms .w-subtitle {
  margin: 2em 0 1em 0;
  font-size: 1rem;
  font-weight: 600;
}

/* -----------------
  Calendar
----------------- */
.calendar .fa-circle {
  color: #007bff;
}

.calendar .fa-times {
  color: #dc3545;
}

.calendar .table th, .calendar .table td {
  padding: .75rem .5rem;
}

.calendar .table th:nth-of-type(1), .calendar .table td:nth-of-type(1) {
  color: red;
}

.calendar .table th:nth-of-type(7), .calendar .table td:nth-of-type(7) {
  color: blue;
}

.calendar .table td {
  width: 14.285714%;
}

.calendar .table .today {
  background-color: #f8f9fa;
}

.calendar .table .prev_calendar,
.calendar .table .next_calendar {
  display: block;
  cursor: pointer;
  color: #007bff;
}

.calendar .table .check_in_date {
  display: block;
  cursor: pointer;
}

.calendar .table .fa-circle, .calendar .table .fa-times {
  display: block;
  padding: .5rem 0;
  font-size: 1.2rem;
}

/* -----------------
  Loading
----------------- */
.is-hide {
  display: none;
}

.loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
}

.loading::before {
  content: "";
  display: block;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  margin-top: -15px;
  margin-left: -15px;
}

.loading::after {
  content: "";
  display: block;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  border-radius: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 4px solid #60ABB9;
  border-right: 4px solid white;
  -webkit-animation: rotate 1s infinite linear;
  animation: rotate 1s infinite linear;
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* -----------------
  Thanks
----------------- */
@media (min-width: 768px) {
  .thanks {
    text-align: center;
  }
  .thanks .message {
    font-size: 1.5rem;
  }
}
