@charset "utf-8";
/* form
-------------------------------------------------------------- */
#form {
  padding-bottom: 350px;
  max-width: 1050px;
  color: #000;
  font-size: 1.5rem;
}
#form .message {
  margin-bottom: 90px;
  padding: 35px 25px;
  background: var(--color-lightBlue);
}
#form .message p {
  margin-bottom: 40px;
  line-height: 2;
}
#form .message p:last-of-type {
  margin-bottom: 0;
}
#form table {
  margin: 0 0 120px;
  border-bottom: 1px solid var(--color-gray);
  width: 100%;
}
#form th {
  position: relative;
  padding: 30px 30px 30px 70px;
  border-top: 1px solid var(--color-gray);
  width: 30%;
  vertical-align: top;
  text-align: left;
  font-weight: 700;
}
#form th span {
  position: absolute;
  top: 32px;
  left: 0;
  display: inline-block;
  padding: 3px 12px;
  background: #ffde04;
  font-size: 1.2rem;
  line-height: 1.4;
  border-radius: 3px;
}
#form th span.any {
  background: var(--color-gray);
}
#form td {
  padding: 30px;
  border-top: 1px solid var(--color-gray);
  background: #fff;
  width: 70%;
  text-align: left;
}
#form td #zip, #form td #pref, #form td #city {
  margin-bottom: 20px;
}
#form h3 {
  padding: 0 0 5px;
  font-size: 1.6rem;
  color: #fff;
}
#form .date {
  margin: 0 0 -20px;
  padding: 0;
  align-items: center;
}
#form .date dt {
  padding-bottom: 20px;
  width: 120px;
}
#form .date dd {
  width: calc(100% - 120px);
}
#form .date input[type="date"] {
  margin: 0 10px 20px 0;
}
#form .date select {
  margin: 0 0 20px;
  width: 300px;
}
::placeholder {
  color: #bcbec0;
}
#form input[type="text"], #form input[type="number"], #form input[type="email"], #form input[type="tel"] {
  padding: 5px 10px;
  border-radius: 3px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  border: 1px solid var(--color-gray);
}
#form input[type="date"] {
  padding: 5px 10px;
  border-radius: 2px;
  box-sizing: border-box;
  border: 1px solid var(--color-gray);
  margin-right: 20px;
}
#form select {
  padding: 5px 10px;
  width: 100%;
  max-width: 240px;
  color: #231f20;
  box-sizing: border-box;
  border: 1px solid var(--color-gray);
}
#form textarea {
  padding: 5px 10px;
  border-radius: 2px;
  width: 100%;
  max-width: 600px;
  height: 150px;
  box-sizing: border-box;
  border: 1px solid var(--color-gray);
}
#form input[type="radio"] {
  width: 20px;
  height: 20px;
  vertical-align: -.3rem;
}
#form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: -.3rem;
}
.wpcf7-list-item {
  width: auto;
  margin: 0 100px 0 0 !important;
}
.purpose .wpcf7-list-item {
  width: 100%;
  margin: 0 0 10px!important;
}
.purpose .wpcf7-list-item:last-of-type {
  margin: 0!important
}
#form .graduate {
  justify-content: flex-start;
  gap: 40px;
}
#form .graduate span {
  display: inline-block;
  width: 120px;
}
#form .graduate span:first-child {
  width: 140px;
}
#form .btnSubmit {
  position: relative;
  display: block;
  margin: auto;
  padding: 13px 20px;
  box-sizing: border-box;
  border: 1px solid var(--color-blue);
  border-radius: 25px;
  background: var(--color-white);
  width: 300px;
  color: var(--color-blue);
  text-align: center;
  line-height: 1;
  transition: all 0.5s ease-in-out;
}
#form .btnSubmit input {
  background: none;
  border: none;
  color: inherit;
}
#form .btnSubmit::after {
  position: absolute;
  top: 32%;
  right: 30px;
  margin: auto;
  content: "→";
}
#form .btnSubmit:hover {
  background: var(--color-blue);
  color: var(--color-white);
  opacity: 1;
}
#form .btnReset {
  position: relative;
  display: block;
  margin: auto;
  padding: 13px 20px;
  box-sizing: border-box;
  border: 1px solid var(--color-gray);
  border-radius: 25px;
  background: var(--color-gray);
  width: 300px;
  text-align: center;
  line-height: 1;
  transition: all 0.5s ease-in-out;
}
#form .btnReset input {
  background: none;
  border: none;
  color: inherit;
}
#form .btnReset::after {
  position: absolute;
  top: 32%;
  left: 30px;
  margin: auto;
  content: "←";
}
#form .btnReset:hover {
  background: var(--color-white);
  opacity: 1;
}
.wpcf7 .ajax-loader {
  display: block !important;
  margin: 10px auto 0 !important
}
.wpcf7-spinner {
  display: none !important
}
.mailform .btnWrap {
  margin: auto;
  max-width: 700px;
  gap: 20px;
}
.mailform .btnWrap li {
  position: relative;
  width: 48%;
}
.mailform input[disabled] {
  cursor: not-allowed;
}
.confirm_area,
.thanks_area {
  display: none;
}
@media (max-width: 767px) {
  #form {
    padding-bottom: 150px;
  }
  #form .message {
    margin-bottom: 40px;
    padding: 20px;
  }
  #form .message p {
    margin-bottom: 20px;
  }
  #form table {
    margin: 0 0 50px;
  }
  #form th, #form td {
    width: 100% !important;
    font-size: 1.5rem;
    display: list-item;
  }
  #form th {
    padding: 10px 20px 10px 60px;
    border: none;
  }
  #form th span {
    padding: 2px 10px;
    top: 12px;
    font-size: 1.2rem;
  }
  #form td {
    padding: 0 0 30px;
    border: none;
  }
  #form .date {
    margin: 0 0 -20px;
    padding: 0;
  }
  #form .date dt {
    width: 100px;
  }
  #form .date dd {
    margin-bottom: 20px;
    width: calc(100% - 100px);
    text-align: left;
  }
  #form .date input[type="date"] {
    margin: 0 0 10px;
  }
  #form .date select {
    margin: 0 0 10px;
    width: 100%;
  }
  .wpcf7-list-item {
    margin: 0 20px 0 0!important;
  }
  #form .graduate {
    gap: 20px;
  }
  #form .graduate span {
    width: 80px;
  }
  #form .graduate span:first-child {
    width: 100px;
  }
  #form input[type="radio"] {
    width: 15px;
    height: 15px;
    vertical-align: -.2rem;
  }
  #form input[type="checkbox"] {
    width: 15px;
    height: 15px;
    vertical-align: -.2rem;
  }
  #form .btn_submit input {
    margin: 0 auto;
    padding: 15px;
    font-size: 1.8rem;
    max-width: 200px;
  }
  #form .thanksBox {
    font-size: 1.4rem;
    margin-bottom: 50px
  }
}
