@charset "UTF-8";

.reserve .pagetop {
  margin-bottom: 1em;
}

.reserve dl {
  margin-bottom: 2em;
  padding-bottom: 0.6em;
  border-bottom: 0.12em dotted #495587;
}

.reserve dl:nth-last-of-type(-n + 2) {
  border-bottom: none;
}

.reserve dl:nth-last-of-type(2) {
  margin-bottom: 1em;
}

.reserve dl:last-of-type {
  padding: 0;
}

.reserve dt {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
  line-height: 1;
  font-weight: bold;
}

.reserve dd {
  line-height: 1;
}

.reserve small {
  display: block;
  padding-top: 0.5em;
}

.reserve span {
  padding: 0.5em;
  margin-left: 0.5em;
  background-color: #495587;
  color: white;
  border-radius: 0.2em;
  font-weight: normal;
  font-size: 0.8em;
}

.reserve dd span,
.reserve_birth dd span,
.reserve_date dd span {
  padding: 0;
  background-color: transparent;
  color: #3b4043;
  margin: 0;
  font-size: 1em;
}

.reserve_date dd span {
  margin: 0;
}

.reserve input,
.reserve_date select,
.reserve textarea {
  box-sizing: border-box;
  width: 100%;
  border-radius: 0.25em;
  padding: 0.25em 0.5em;
  font-size: 1.2em;
  font-family: inherit;
  color: #3b4043;
  border: 1px solid #3b4043;
}

.reserve input[type="radio"] {
  display: none;
}

.reserve dl:nth-of-type(-n + 2) dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.reserve dl:nth-of-type(-n + 2) dd label {
  cursor: pointer;
}

.reserve dl:nth-of-type(-n + 2) dd label:nth-of-type(odd) {
  margin-right: 0.5em;
}

.reserve dl:nth-of-type(-n + 2) dd span {
  display: flex;
  align-items: center;
  align-items: center;
}

.reserve dl:nth-of-type(-n + 2) dd span::before {
  content: "";
  background-image: url(../../reservation/img/radio_btn.svg);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  margin-right: 0.2em;
  transition: 0.2s;
}

.reserve dl:nth-of-type(-n + 2) dd input[type="radio"]:checked + span::before {
  background-image: url(../../reservation/img/radio_btn_checked.svg);
}

.reserve dl:nth-of-type(2) label {
  margin-bottom: 0.5em;
}

.reserve dl:nth-of-type(2) label:last-of-type {
  margin-bottom: 0;
}

.reserve_birth dd {
  display: flex;
  align-items: center;
}

.reserve_birth input {
  width: 3em;
}

.reserve_birth input:first-of-type {
  width: 5em;
}

.reserve_date {
  padding: 1em;
  background-color: #495587;
  color: white;
  margin-bottom: 2em;
}

.reserve_date p {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.reserve_date dl {
  margin: 0;
  border-bottom: 0;
}

.reserve_date dt span {
  background-color: white;
  color: #495587;
  font-weight: bold;
}

.reserve_date dd span {
  color: white;
}

.reserve_date dd {
  margin-bottom: 0.75em;
}

.reserve_date dd:last-of-type {
  margin-bottom: 0;
}

.reserve_date input[type="date"] {
  width: 10em;
  margin-right: 0.5em;
}

.reserve_date select {
  width: 4em;
}

.reserve textarea {
  resize: vertical;
  min-height: 13em;
}

.reserve form button {
  background-color: #495587;
  border: none;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  color: white;
  font-size: 1.2em;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

/* ご予約内容確認 */

.reserve_confirm h2 {
  margin-top: 0;
}

.reserve_confirm table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 1em;
}

.reserve_confirm tr {
  display: block;
  position: relative;
}

.reserve_confirm tr::after {
  content: "";
  position: absolute;
  height: 0.1em;
  width: 100%;
  left: 0;
  bottom: 0;
  border-bottom: 0.12em dotted #495587;
}

.reserve_confirm th {
  text-align: left;
  width: 8em;
}

.reserve_confirm caption {
  color: #495587;
  font-size: 1.2em;
  font-weight: bold;
  padding: 0.25em 0.5em;
  border-radius: 0.5em;
}

.reserve_confirm dl {
  margin-bottom: 1em;
}

.reserve_confirm dd {
  min-height: 13em;
  border: 0.1em solid #3b4043;
  border-radius: 0.5em;
  padding: 0.5em;
}

.reserve_confirm div {
  text-align: center;
}

.reserve_confirm div button {
  font-family: inherit;
  cursor: pointer;
  background-color: #495587;
  border: none;
  padding: 0.25em 0.5em;
  border-radius: 0.5em;
  color: white;
  font-size: 1.2em;
  margin: 0 auto;
  cursor: pointer;
}

.reserve_confirm div a {
  margin-right: 0.5em;
}

/* ご予約内容送信完了 */

.reserve_success a {
  display: block;
  width: fit-content;
  margin: 0.5em auto 0 auto;
}

@media (min-width: 768px) {
  .reserve_date {
    margin-bottom: 2.5em;
  }

  .reserve dl:nth-of-type(-n + 2) dd label::after {
    left: 0.37em;
  }

  .reserve dl:nth-of-type(2) label {
    margin: 0 !important;
  }

  .reserve dl:nth-of-type(2) label:nth-of-type(n + 2) {
    margin-left: 0.5em !important;
  }
}
