/* ----- 転職相談フォーム ----- */
.headerContents.meccari-header{
  padding: 20px;
}
.p-career-form{
  margin-top: 200px;

  @media (max-width: 768px) {
    margin-top: 100px;
  }
}

.p-careerthanks-form{
  margin-top: 200px;

  @media (max-width: 768px) {
    margin-top: 100px;
  }
}

.p-career-form .wpcf7 {
  max-width: 720px;
  margin: 10px auto 30px;
  padding: 32px 28px 36px;
  border: 1px solid #d7e3ee;
  border-radius: 6px;
  background: #fff;
}

.p-career-form .wpcf7-form > p {
  margin: 0;
}

.p-career-form label {
  display: block;
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
}

.p-career-form__req {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 2px;
  background: #0972c1;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  vertical-align: middle;
}

.p-career-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.p-career-form input[type="text"],
.p-career-form select,
.p-career-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7e3ee;
  border-radius: 3px;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.6;
  color: #333;
}

.p-career-form textarea {
  min-height: 140px;
}

.p-career-form input[type="text"]:focus,
.p-career-form select:focus,
.p-career-form textarea:focus {
  outline: 2px solid #0972c1;
  outline-offset: 2px;
}

.p-career-form__legend {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
}

.p-career-form__conditions,
.p-career-form__gender {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.p-career-form__condition-group {
  margin-top: 16px;
}

.p-career-form__condition-heading {
  margin: 0;
  padding: 0 0 4px;
  border-bottom: 1px solid #d7e3ee;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #0972c1;
}

.p-career-form .wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 10px;
}

.p-career-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 10px;
}

.p-career-form .wpcf7-list-item {
  margin: 0;
}

.p-career-form .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.p-career-form .wpcf7-list-item input {
  flex: 0 0 auto;
  margin: 3px 8px 0 0;
}

.p-career-form__name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.p-career-form__name-item label {
  margin-top: 20px;
}

.p-career-form__privacy {
  height: 220px;
  margin-top: 28px;
  padding: 16px;
  overflow-y: auto;
  border: 1px solid #d7e3ee;
  border-radius: 3px;
  background: #f3fafe;
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}

.p-career-form__privacy p {
  margin: 0 0 12px;
}

.p-career-form__privacy p:last-child {
  margin-bottom: 0;
}

.p-career-form__agree {
  text-align: center;
  margin-top: 18px;
}

.p-career-form__agree-label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
}

.p-career-form__agree .wpcf7-form-control-wrap {
  margin-top: 0;
}

.p-career-form input.p-career-form__submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 28px auto 0;
  padding: 14px 24px;
  border: none;
  border-radius: 3px;
  background: #0972c1;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.p-career-form input.p-career-form__submit:hover {
  background: #075a9a;
}

.p-career-form .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 12px;
  color: #b0433c;
}

.p-career-form .wpcf7 input.wpcf7-not-valid,
.p-career-form .wpcf7 select.wpcf7-not-valid,
.p-career-form .wpcf7 textarea.wpcf7-not-valid {
  border-color: #b0433c;
}

.p-career-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid #d7e3ee;
  border-radius: 3px;
  font-size: 14px;
}

.p-career-form .wpcf7 form.invalid .wpcf7-response-output,
.p-career-form .wpcf7 form.unaccepted .wpcf7-response-output,
.p-career-form .wpcf7 form.failed .wpcf7-response-output {
  border-color: #b0433c;
  background: rgba(176, 67, 60, 0.08);
}

.p-career-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* ----- 送信完了 ----- */
.p-career-thanks {
  max-width: 720px;
  margin: 0px auto 40px;
  padding: 32px 28px 36px;
  border: 1px solid #d7e3ee;
  border-radius: 6px;
  background: #fff;

  @media (max-width: 768px) {
    margin-top: 0px;
  }
}

.p-career-thanks__message {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #0972c1;
  text-align: center;
}

.p-career-thanks__lead {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  text-align: center;
}

.p-career-thanks__embed {
  margin-top: 24px;
}

.p-career-thanks__embed iframe {
  display: block;
  width: 100%;
  height: 770px;
  border: 0;
}

.p-career-thanks__back {
  margin: 28px 0 0;
  text-align: center;
}
p-career-thanks__back a{
  color: white !important;
}

.p-career-thanks__button {
  display: inline-block;
  min-width: 240px;
  padding: 14px 24px;
  border-radius: 3px;
  background: #0972c1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
}

.p-career-thanks__button:link,
.p-career-thanks__button:visited,
.p-career-thanks__button:hover {
  color: #fff;
  text-decoration: none;
}

.p-career-thanks__button:hover {
  background: #075a9a;
}

@media (max-width: 768px) {
  .p-career-form .wpcf7,
  .p-career-thanks {
    padding: 24px 35px 28px;
  }

  .p-career-form .wpcf7-checkbox,
  .p-career-form__name {
    grid-template-columns: 1fr;
  }

  .p-career-thanks__embed iframe {
    height: 1300px;
  }
}


.gscf7-frontend-gdpr-notice{
  display: none;
}