.ef {
  padding: 130px 0 150px;
  box-sizing: border-box;
}
.ef .title {
  margin-bottom: 0;
}
.ef h2 {
  margin-bottom: 0;
}
.ef h2.center {
  color: #ec7921;
}
.ef h2.center span.uLine {
  font-size: 20px;
  letter-spacing: 0.128em;
  margin-bottom: 25px;
}
.ef h2.center span.uLine:after {
  background: #ec7921;
  height: 6px;
  top: 50px;
}
.ef h2.center span.marker {
  font-size: 32px;
  letter-spacing: 0.08em;
}

.ef-form,
.ef-confirm {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 60px;
  padding-inline: 17px;
}

.ef-lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  white-space: nowrap;
}

.ef-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.ef-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ef-label {
  font-weight: 700;
  font-size: 14.4px;
  line-height: 1.5;
  color: #000;
}
.ef-req {
  color: #ec7921;
  margin-left: 8px;
}

.ef-input {
  width: 100%;
  height: 42px;
  padding: 6px 16px;
  border: 2px solid #ec7921;
  border-radius: 0;
  background: #fff;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  -webkit-appearance: none;
  appearance: none;
}
.ef-input::placeholder {
  color: #585858;
  font-size: 14px;
  letter-spacing: 0.114em;
}
.ef-textarea {
  height: 207px;
  padding: 12px 16px;
  line-height: 1.7;
  resize: vertical;
}
.ef-select {
  padding-right: 52px;
  background-image: url(../img/contact-down-arrow.svg);
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 30px 30px;
  cursor: pointer;
}

.ef-check {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 14.4px;
  line-height: 1.5;
  color: #000;
  cursor: pointer;
}
.ef-check input[type="checkbox"],
.ef-agree input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
}
.ef-check input[type="checkbox"]:checked,
.ef-agree input[type="checkbox"]:checked {
  background-image: url(../img/contact-check.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 21px 21px;
}

.ef-agree {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  cursor: pointer;
}
.ef-agree a {
  color: #000;
  text-decoration: underline;
}
.ef-agree__box {
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  box-sizing: border-box;
  background-image: url(../img/contact-check.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 21px 21px;
  flex-shrink: 0;
}

.ef-submit {
  width: 760px;
  max-width: 100%;
  margin: 40px auto 0;
  font-size: 20px;
  letter-spacing: 0.08em;
  padding: 16px 1px;
  box-sizing: border-box;
}
.ef-btn.btn:after {
  transition: height 0.2s linear, opacity 0.2s linear;
}
.ef-btn.btn:hover:after {
  height: 820%;
}
.ef-btn.btn:active:after {
  height: 870%;
}

.ef-error {
  color: #ec7921;
  font-size: 13px;
  line-height: 1.5;
}
.ef-error--center {
  text-align: center;
}
.ef-error--summary {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 16px 20px;
  border: 2px solid #ec7921;
  background: #fff7f0;
}
.ef-error__lead {
  font-weight: 700;
  color: #ec7921;
  font-size: 15px;
  line-height: 1.5;
}
.ef-error__list {
  margin-top: 8px;
  padding-left: 1.2em;
  list-style: disc;
}
.ef-error__list li {
  color: #ec7921;
  font-size: 13px;
  line-height: 1.8;
}

.ef-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.ef-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ef-value {
  font-size: 14px;
  line-height: 2.142;
  letter-spacing: 0.114em;
  color: #585858;
  word-break: break-word;
}
.ef-value--multi {
  white-space: pre-wrap;
}
.ef-agree--confirm {
  margin-top: 40px;
}

.ef-btns {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
  margin: 40px auto 0;
}
.ef-btn {
  width: 100%;
  font-size: 20px;
  letter-spacing: 0.08em;
  padding: 16px 1px;
  box-sizing: border-box;
}
.ef-btn--back {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  border: 2px solid #ec7921;
  color: #ec7921;
  font-size: 20px;
  letter-spacing: 0.08em;
  padding: 15px 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s linear;
}
.ef-btn--back:hover {
  background: #ec7921;
  color: #fff;
}

.ef-thanks {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 60px;
  padding-inline: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.ef-thanks__msg {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  text-align: center;
  white-space: pre-line;
}
.ef-thanks .ef-btn {
  width: 760px;
  max-width: 100%;
}

body.entryform .recrit {
  margin-top: 50px;
}

@media screen and (max-width: 1023px) {
  .ef-form,
  .ef-confirm,
  .ef-thanks,
  .ef-btns,
  .ef-error--summary {
    max-width: 100%;
  }
  .ef-submit,
  .ef-thanks .ef-btn {
    width: 100%;
  }
  .ef-lead {
    white-space: normal;
  }
}

@media screen and (max-width: 768px) {
  .ef {
    padding: 130px 0 150px;
  }
  .ef h2.center {
    font-size: 20px;
  }
  .ef h2.center span.uLine {
    font-size: 14px;
    letter-spacing: 0.114em;
    margin-bottom: 15px;
  }
  .ef h2.center span.uLine:after {
    height: 3px;
    top: 30px;
  }
  .ef h2.center span.marker {
    font-size: 20px;
    letter-spacing: 0.08em;
  }
  .ef-form,
  .ef-confirm,
  .ef-thanks {
    padding-top: 30px;
  }
  .ef-fields {
    margin-top: 24px;
  }
  .ef-agree,
  .ef-submit {
    margin-top: 24px;
  }
  .ef input,
  .ef select,
  .ef textarea {
    font-size: 16px;
  }
  .ef input::placeholder,
  .ef textarea::placeholder {
    font-size: 16px;
  }
}

body.entryform .entryBtn {
  display: none;
}

/* reCAPTCHA v3: バッジ非表示（代わりに .ef-recaptcha-note の規約テキストをフォーム内に表示） */
.grecaptcha-badge {
  visibility: hidden;
}
.ef-recaptcha-note {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: #585858;
}
.ef-recaptcha-note a {
  color: #585858;
  text-decoration: underline;
}
