/*--------------------------------------------------------------*/
/* 応募form */

.formHead {
  margin: 0 auto 3.7rem;
}

.btnSend .button {
  margin: 0 auto;
}

@media screen and (min-width: 981px) {
  .formHead {
    margin: 0 auto 10rem;
  }
}

.application-form {
  background: url('/assets/img/page/recruit/recruit-form-bg.webp');
  background-size: cover;
  background-position: center;
}

.formHead__text a {
  color: #4d4443;
  text-decoration: underline;
}

.formHead__text a:hover {
  text-decoration: none;
}

.telbox .telbox-ttl {
  margin-bottom: 2.4rem;
  font-size: 1.8rem;
}

.top-error {
  display: block;
  margin-bottom: 3rem;
  color: #b51c1c;
  font-weight: 900;
}

.error-msg {
  display: none;
}

.error .error-msg {
  display: block;
  margin-top: 1rem;
  font-size: 1.3rem;
  color: #b51c1c;
}

.error input,
.error textarea,
.error select {
  border-color: #b51c1c;
}

.error::after {
  content: '';
  position: absolute;
  background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M8%2C0a8%2C8%2C0%2C1%2C0%2C8%2C8A8.024%2C8.024%2C0%2C0%2C0%2C8%2C0ZM9.1%2C12.2H6.9V10.3H9.2v1.9Zm.1-7.4L8.6%2C9.2H7.4L6.8%2C4.8v-1H9.3v1Z%22%20fill%3D%22%23b10000%22%2F%3E%3C%2Fsvg%3E') no-repeat;
  top: .78em;
  right: .6em;
  padding: 0;
  width: 1.6rem;
  height: 1.6rem;
  pointer-events: none;
  z-index: 2;
}

.input-wrapper,
.select-wrapper {
  position: relative;
}

input, textarea, select {
  position: relative;
  display: block;
  width: 100%;
  height: 4.1rem;
  padding: 0 15px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.2;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: none;
  outline: 0;
  border: 1px solid #a19999;
  border-radius: 3px !important;
  -webkit-appearance: none;
  text-overflow: ellipsis;
  touch-action: manipulation;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #a69e9e;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #a69e9e;
}

input::placeholder,
textarea::placeholder {
  color: #a69e9e;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  outline: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
  background-image: none;
}

.select-wrapper select::-ms-expand {
  display: none;
}

.select-wrapper::before {
  content: '';
  position: absolute;
  top: calc(50% - 10px);
  right: 1em;
  padding: 0;
  width: .5rem;
  height: .5rem;
  border-top: 2px solid #a9a2a2;
  border-right: 2px solid #a9a2a2;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  pointer-events: none;
  z-index: 1;
}

textarea {
  min-height: 15rem;
  padding: 1.1rem !important;
  line-height: 1.7;
}

@media screen and (min-width: 981px) {
  .error span {
    font-size: 1.4rem;
  }

  input, textarea, select {
    width: 560px;
    height: 5rem;
    font-size: 18px;
    line-height: 1.6;
    border-radius: 5px !important;
  }

  .select-wrapper::before {
    top: .9em;
  }

  textarea {
    min-height: 20rem;
    padding: 1.1rem !important;
  }
}

/*--------------------------------------------------------------*/
/* kakunin */
.confirm h2 {
  margin-bottom: .7rem;
  color: #b51c1c;
  font-weight: normal;
}

.sel-wrapper {
  margin-top: 4.8rem;
  flex-direction: column;
  align-items: baseline;
}

.sel {
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
  font-weight: 400;
}

.sel-item {
  padding: 0 0 0 1.5rem;
  margin-bottom: 4.3rem;
  font-size: 1.6rem;
  line-height: 1.5;
  border-left: 1px solid #4d4443;
}

.send_area {
  margin-top: -.9rem;
}

.back {
  margin-bottom: 6.5rem;
}

.send_area a {
  color: #dab451;
  text-decoration: underline;
}

@media screen and (min-width: 981px) {
  .sel-wrapper {
    flex-wrap: wrap;
    flex-direction: row;
  }

  .sel {
    width: 34.7%;
    margin-bottom: 0;
    font-size: 1.8rem;
    font-weight: 900;
  }

  .sel-item {
    width: calc(100% - 34.7%);
    padding: 1.4rem 0 1.4rem 3.2rem;
    margin-bottom: 0;
    font-size: 1.8rem;
  }

  .send_area {
    margin-top: 6rem;
  }

  .back {
    margin-bottom: 10rem;
  }
}

/*--------------------------------------------------------------*/
/* thanks */
.thanks a {
  text-decoration: none;
}

.thanks .telbox {
  width: 100%;
  margin: 20px 0;
}

.telbox .telbox-name {
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.telbox-open {
  font-size: 14px !important;
}

@media screen and (min-width: 981px) {

  .thanks .telbox {
    padding: 20px 0;
  }

  .thanks .telbox div {
    margin-bottom: 20px;
  }

  .thanks .telbox-tel .form_tel {
    padding-left: 5.6rem;
  }

  .thanks .telbox-tel .form_tel::before {
    top: .65rem;
    width: 5.3rem;
    height: 3.4rem;
    background-size: 5.3rem 3.4rem;
  }

  .thanks .telbox-tel .form_tel span {
    font-size: 4.4rem;
    letter-spacing: -1.2rem;
  }
}

.content {
  max-width: 100%;
}

.select-wrapper::before {
  right: 20px;
}

@media screen and (max-width: 980px) {
  div.sec_inner {
    margin: 0;
  }
}

.footer__copyright--form {
  display: none;
}

.page-contact {
  padding-bottom: 125px;
}

@media screen and (min-width: 981px) {
  .page-contact {
    padding-bottom: 120px;
  }
}

.mw_wp_form_input .formHead {
  display: none;
}

.mw_wp_form_confirm .formHead {
  text-align: center;
}

.mw_wp_form_confirm .f {
  display: none;
}

.back {
  display: block;
  border: none;
  padding: 10px 30px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 15px;
}

.mw_wp_form .error {
  font-size: 85%;
  margin-top: 5px;
  font-size: 14px;
}

.customer-wrapper .badge {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #990000;
  border-radius: 50px;
  margin-left: 5px;
  line-height: 1;
  height: 20px;
  font-size: 10px;
  padding: 0 10px;
  font-weight: 500;
}

.customer-wrapper {
  display: block !important;
}

.customer-wrapper label {
  margin-bottom: 10px !important;
  align-items: center;
}

@media screen and (min-width: 981px) {
  .two-columns {
    display: flex;
    width: 100%;
    gap: 20px;
  }

  .two-columns>* {
    width: 50%;
  }
}

.customer-wrapper input,
.customer-wrapper select {
  width: 100% !important;
}

.customer-wrapper input:not([type="file"]), .customer-wrapper textarea, .customer-wrapper select {
  height: 40px !important;
}

.customer-wrapper textarea, .formRole .agree__wrp textarea {
  height: 150px !important;
  width: 100%;
}

.customer-wrapper label, .formRole .agree__wrp label {
  font-size: 16px !important;
}

.sdg-banner-wrapper {
  background-color: #f1f1f1;
  padding: 50px 20px;
  text-align: center;
}

.sdgs-img {
  max-width: 480px;
  margin: auto;
  display: block;
}

.section-thankyou {
  min-height: 70vh;
  background-position: top;
}

.application-form .title-wrapper {
  text-align: center;
  margin-bottom: 42px;
}

.wpform-content {
  text-align: center;
  padding: 30px;
}

.thanks {
  line-height: 1.5;
}

.thanks h2 {
  margin-bottom: 20px;
}

.customer-wrapper p {
  display: block !important;
}

.btn:hover {
  color: #fff !important;
}

@media screen and (max-width: 980px) {
  .wpform-content {
    padding: 0;
  }
}

/*--------------------------------------------------------------*/
/* Confirm */

.mw_wp_form_confirm .input-wrapper {
  color: #333;
  width: 100%;
  min-height: 40px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.mw_wp_form_confirm .customer-wrapper:not(.file) .input-wrapper {
  background-color: #E9E9E9;
  border-radius: 5px !important;
  border: 1px solid #E9E9E9;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.formHead {
  margin-bottom: 30px !important;
}

.mw_wp_form_confirm .badge {
  display: none;
}

.btn-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.confirm-btn {
  width: 100%;
}

.btn-container .btn {
  margin: 0 !important;
}

.input-wrapper input[type="file"] {
  max-width: 100% !important;
}

a.cnctBtn.btn.btn-secondary {
  background-color: #fff;
  color: #554c3d;
}

a.cnctBtn.btn.btn-secondary:hover {
  color: #554c3d !important;
}

.application-form input::placeholder {
  color: #bbb !important;
}

option:disabled {
  color: #bbb;
}

@media screen and (max-width: 480px) {
  .btn-container {
    flex-direction: column-reverse;
  }

  .recRole .btn {
    width: 100% !important;
  }

  .btn-container {
    margin-top: 30px;
  }
}

@media screen and (min-width: 481px) {

  .btn-container .btnSend,
  .btn-container .btn-secondary {
    width: 330px !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 980px) {
  .customer-wrapper input, .customer-wrapper textarea, .customer-wrapper select, .formRole .agree__wrp input, .formRole .agree__wrp textarea, .formRole .agree__wrp select {
    font-size: 14px !important;
  }

  .btn {
    font-size: 16px !important;
    line-height: 48px;
    border-radius: 5px;
    height: 50px !important;
    width: 100% !important;
  }

  .customer-wrapper, .formRole .agree__wrp {
    margin-bottom: 22px !important;
  }
}