@charset "utf-8";
/* common
-------------------------------------------------------------- */
.page-contact #sv,
.page-id-6033 #sv {
  background: url(../img/contact/sv_bg.jpg) no-repeat center / cover;
}
.page-consultation #sv,
.page-id-6302 #sv {
  background: url(../img/reform/sv_bg.jpg) no-repeat center / cover;
}
.page-entry #sv,
.page-id-6233 #sv {
  background: url(../img/recruit/sv_bg.jpg) no-repeat center / cover;
}
.page-assessment #sv,
.page-id-6306 #sv {
  background: url(../img/assessment/sv_bg.jpg) no-repeat center / cover;
}
#form {
  margin-bottom: 150px;
}
#form .txt {
  padding-bottom: 50px;
}
#form .thanks {
  padding-bottom: 20px;
  text-align: center;
}
#form .btn a {
  margin: 20px auto 0;
}
#form .mailform .btnWrap {
  justify-content: space-between;
  margin: 80px auto 0;
  max-width: 650px;
}
#form .mailform .btnWrap li {
  position: relative;
  width: 48%;
  max-width: 300px;
  height: 60px;
}
#form .btnReset input {
  position: relative;
  display: block;
  border: 1px solid var(--brown);
  border-radius: 30px;
  background: var(--white);
  width: 100%;
  height: 100%;
  color: var(--black);
  font-size: 100%;
  text-align: center;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  transition: all 0.5s ease-in-out;
}
#form .btnReset::before {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  margin: auto;
  width: 30px;
  height: 30px;
  background: var(--lightgray);
  border-radius: 50%;
  line-height: 1;
  content: "→";
  transition: all 0.6s ease;
  z-index: 1;
}
#form .btnReset input:hover {
  opacity: .7;
}
#form .btnReset:hover::before {
  transform: translateX(10px);
}
#form .btnSubmit input {
  position: relative;
  display: block;
  border: none;
  border-radius: 30px;
  background: var(--brown);
  width: 100%;
  height: 100%;
  color: var(--white);
  text-align: center;
  font-size: 100%;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  transition: all 0.5s ease-in-out;
}
#form .btnSubmit::before {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  margin: auto;
  width: 30px;
  height: 30px;
  background: var(--lightgray);
  border-radius: 50%;
  line-height: 1;
  content: "→";
  transition: all 0.6s ease;
  z-index: 1;
}
#form .btnSubmit input:hover {
  opacity: .7;
}
#form .btnSubmit:hover::before {
  transform: translateX(10px);
}
@media (max-width: 767px) {
  #form {
    margin-bottom: 70px;
  }
  #form .txt {
    padding-bottom: 30px;
  }
  #form .thanks {
    text-align: left;
  }
  #form .mailform .btnWrap {
    margin: 20px auto 30px;
  }
  #form .mailform .btnWrap li {
    height: 45px;
  }
  #form .btnSubmit::before,
  #form .btnReset::before {
    right: 10px;
    width: 25px;
    height: 25px;
  }
}
/* form
-------------------------------------------------------------- */
.mailform {
  font-size: 1.5rem;
}
.mailform .line {
  border-bottom: 1px solid var(--gray);
}
.mailform tr {
  border-bottom: 1px solid var(--gray);
}
.mailform th {
  position: relative;
  padding: 25px 20px 25px 80px;
  width: 30%;
  vertical-align: top;
  text-align: right;
  font-weight: 400;
}
.mailform th span {
  position: absolute;
  top: 22px;
  left: 0;
  display: inline-block;
  padding: 8px 25px;
  background: var(--brown);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.mailform th .txtNote {
  color: var(--purple);
  font-weight: 700;
}
.mailform td {
  padding: 20px;
  width: 70%;
  text-align: left;
}
.mailform td p {
  margin: 5px 0 0!important;
  font-size: 1.4rem;
}
.mailform td strong {
  font-size: 1.5rem;
}
.mailform .policyBox {
  padding: 10px 20px;
  border: 1px solid var(--gray);
  max-width: 500px;
  height: 150px;
  overflow-y: auto;
}
.mailform .noLine {
  border: none;
}
::placeholder {
  color: #bcbec0;
}
.mailform input[type="text"],
.mailform input[type="number"],
.mailform input[type="email"],
.mailform input[type="tel"] {
  padding: 5px 10px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--gray);
}
.mailform select {
  padding: 5px;
  width: 170px;
  box-sizing: border-box;
  border: 1px solid var(--gray);
}
.mailform textarea {
  padding: 5px 10px;
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  border: 1px solid var(--gray);
}
.mailform input[type="radio"] {
  width: 20px;
  height: 20px;
  vertical-align: -.3rem;
}
.mailform input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: -.3rem;
}
.wpcf7-list-item {
  width: 100%;
  margin: 0 0 5px !important;
}
.wpcf7-radio .wpcf7-list-item {
  width: auto;
  margin: 0 30px 0 0!important;
}
.mailform .wpcf7-not-valid-tip {
  font-size: 1.2rem;
  width: 100% v!important;
}
.mailform input[type="text"] {
  max-width: 300px;
}
.mailform .tel-input input[type="text"],
#your-final {
  max-width: 200px;
}
.mailform input[type="email"] {
  max-width: 300px;
}
.mailform .name {
  gap: 10px;
  width: 250px;
}
.mailform .name span {
  width: 48%;
}
.mailform .address {
  justify-content: flex-start;
  align-items: center;
}
.mailform .address:nth-child(2) {
  padding: 10px 0;
}
.mailform .address dt {
  padding-right: 10px;
}
.mailform .address input[type="text"] {
  width: 300px;
}
.mailform input[type="date"] {
  max-width: 200px;
  width: 200px;
}
.mailform .birth {
  justify-content: flex-start;
  align-items: center;
}
.mailform .birth select {
  width: 100px;
}
.mailform .birth span {
  margin-right: 10px;
}
.mailform select#your-final {
  width: 200px;
}
.mailform .graduate {
  justify-content: flex-start;
  align-items: center;
}
.mailform .graduate select {
  width: 80px;
}
.mailform .graduate span {
  margin-right: 10px;
}
.mailform textarea {
  max-width: 500px;
}
.mailform input[disabled] {
  cursor: not-allowed;
}
.confirm_area,
.thanks_area {
  display: none;
}
.confirm_area .name {
  width: auto;
}
.confirm_area .name span {
  width: auto;
}
.confirm_area .birth span,
.confirm_area .graduate span {
  margin: 0;
}
.wpcf7-spinner,
.wpcf7-response-output {
  display: none !important;
}
@media (max-width: 767px) {
  .mailform {
    font-size: 1.4rem;
  }
  .mailform th,
  .mailform td {
    width: 100% !important;
    display: list-item;
    text-align: left;
  }
  .mailform th {
    padding: 10px 20px 10px 60px;
  }
  .mailform th.line {
    border: none;
  }
  .mailform th span {
    padding: 5px 10px;
    top: 10px;
  }
  .mailform td {
    padding: 0 0 20px;
  }
  .mailform input[type="radio"] {
    width: 15px;
    height: 15px;
    vertical-align: -.2rem;
  }
  .mailform input[type="checkbox"] {
    width: 15px;
    height: 15px;
    vertical-align: -.2rem;
  }
  .mailform .birth select {
    width: 76px;
  }
}