body {
  margin: 0;
}

.container {
  width: 800px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.main {
  padding-top: 40px;
  padding-bottom: 109px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact {
  width: 100%;
}

.section__heading {
  margin-top: 24px;
  font-size: 40px;
  line-height: 1.3;
  margin-bottom: 65px;
  text-align: center;
}

.mb-lg-5 {
  display: flex;
  align-self: center;
}

.mb-lg-3 {
  display: flex;
  align-items: stretch;
}

.col-form-label {
  width: 35%;
  background: #eee;
  padding: 0.5em;
  text-align: left;
  vertical-align: top;
  border: solid #ccc;
  border-width: 1px;
  vertical-align: middle;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.42857;
  box-sizing: border-box;
}

.col-lg-8 {
  padding: 15.5px 5.5px 20.5px;
  text-align: left;
  vertical-align: top;
  border: solid #ccc;
  border-width: 1px;
  vertical-align: middle;
  line-height: 1.42857;
  width: 65%;
  box-sizing: border-box;
}

.col-lg-8 input {
  width: 100%;
  padding: 8px 15px;
  margin-right: 10px;
  margin-top: 10px;
  border: 1px solid #d0d5d8;
  border-radius: 3px;
  background-color: #eff1f5;
  max-width: 100%;
  font-size: 15px;
  font-weight: normal;
  line-height: 22px;
  box-sizing: border-box;
  color: #000000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
}

.col-lg-4 {
  display: flex;
  align-items: center;
}

.offset-lg-4 {
  border: none;
  padding-left: 0;
  padding-right: 0;
  padding-top: 23px;
  padding-bottom: 0;
  width: 100%;
}

.offset-lg-4 input {
  margin-top: 0;
}

.col-lg-8 textarea {
  height: 200px;
  width: 100%;
  padding: 8px 15px;
  margin-right: 10px;
  margin-top: 10px;
  border: 1px solid #d0d5d8;
  border-radius: 3px;
  background-color: #eff1f5;
  box-sizing: border-box;
}

.dateContainer {
  display: flex;
  align-items: center;
}

.col-lg-6 {
  width: fit-content;
}

.col-lg-8 #inputDate {
  padding: 10px;
  width: 122px;
  border: 0px;
  font-size: 15px;
  font-weight: normal;
  line-height: 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
  transition: all 0.2s linear;
  background-color: #f2f2f2;
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
  color: #000000;
  margin: 0;
  margin-right: 20px;
}

.col-lg-8 #inputTime {
  max-width: 100%;
  overflow: auto;
  vertical-align: top;
  outline: none;
  border: 1px solid #e9e9e9;
  padding: 10px;
  width: 182px;
}

.pt-lg-5 {
  margin-top: 35px;
}

.btn-confirm {
  display: block;
  padding: 15px;
  width: 400px;
  background: #ffaa56;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 2px;
  margin: 15px auto 0;
  border: none;
}

.required {
  font-size: 11.2px;
  padding: 5px;
  background: #f57500;
  color: #fff;
  border-radius: 3px;
  margin-right: 5px;
}

.optional {
  font-size: 11.2px;
  padding: 5px;
  background: #000080;
  color: #fff;
  border-radius: 3px;
  margin-right: 5px;
}

.modal {
  display: none;
}

@media screen and (max-width: 769px) {
  body {
    margin: 0;
  }

  .container {
    width: 720px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
  }

  .main {
    padding-top: 40px;
    padding-bottom: 109px;
    margin: 0 auto;
    max-width: 380px;
    width: 100%;
  }

  .section__heading {
    font-size: 37.5px;
    margin-bottom: 50px;
  }

  .mb-lg-5 {
    flex-direction: column;
  }

  .mb-lg-3 {
    flex-direction: column;
  }

  .col-form-label {
    width: 100%;
    padding: 3% 5%;
  }

  .col-lg-8 {
    padding: 3% 5%;
    width: 100%;
  }

  .offset-lg-4 {
    padding-top: 21px;
    padding-left: 0;
    padding-right: 0;
  }

  .col-lg-8 #inputDate {
    width: 142px;
  }

  .col-lg-8 #inputTime {
    width: 163px;
  }

  .pt-lg-5 {
    margin-top: 35px;
  }

  .btn-confirm {
    width: 220px;
  }
}

.modal {
  display: none;
}

/* 確認ページ */
.confirm-page {
  padding-bottom: 58px;
}

.confirm-title {
  font-size: 40px;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 20px;
}

.confirm-page .col-lg-8 {
  padding: 0.5em;
}

.confirm-page .col-lg-8 input {
  width: 100%;
  padding: 0;
  margin-right: 0;
  margin-top: 0;
  border: none;
  border-radius: 0;
  background-color: initial;
  font-size: 11px;
  line-height: 1.42857;
  box-shadow: none;
  margin-bottom: 15px;
}

.confirm-page .confirm-last-address {
  padding-bottom: 15px;
}

.confirm-page .offset-lg-4 {
  padding: 0;
  line-height: 1.1;
}

.confirm-page .offset-lg-4 input {
  margin-top: 0;
  margin-bottom: 0;
}

.confirm-page .confirm-address .col {
  line-height: 1.1;
}

.confirm-page .confirm-address input {
  margin-bottom: 0;
  line-height: 1;
}

.confirm-page .col-lg-6 {
  line-height: 1.1;
}

.confirm-page .col-lg-6 input {
  margin-top: 0;
  margin-bottom: 0;
}

.confirm-page .confirm-last-date {
  padding-bottom: 15px;
}

.confirm-page .col-lg-8 textarea {
  height: auto;
  padding: 0.5em;
  margin-right: 10px;
  margin-top: 0;
  border: none;
  border-radius: 0;
  background-color: initial;
}

/* サンクスページ */
.thanks-wrap {
  text-align: center;
  padding: 100px 20px;
}
.thanks-footer a.btn {
  display: inline-block;
  padding: 15px 30px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border-radius: 30px;
  background: #ffaa56;
  text-decoration: none;
}
.thanks-footer {
  padding-top: 50px;
}
.thanks-title {
  font-weight: bold;
  margin-bottom: 50px;
}
.thanks-body {
  position: relative;
  padding-top: 50px;
}
.thanks-body:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  max-width: 300px;
  height: clamp(7px, 1.86vw, 14px);
  background-color: #f5d101;
  border-radius: 100vh;
}
