/* ==========================================================================
   Recruit Entry Page — Entry-specific Form Styling
   Shared form styles (.contact-form__*) are loaded from contact.css
   ========================================================================== */

/* ===== Checkbox Group ===== */

.contact-form__checkbox-group {
  display: flex;
  flex-direction: row;
  gap: 20px 30px;
  flex-wrap: wrap;
}

.contact-form__checkbox-group .mwform-checkbox-field {
  display: flex;
  align-items: center;
}

.contact-form__checkbox-group .mwform-checkbox-field input[type='checkbox'] {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  vertical-align: middle;
  cursor: pointer;
}

.contact-form__checkbox-group .mwform-checkbox-field-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #000;
  cursor: pointer;
  letter-spacing: 0.02em;
}

/* ===== Note Text (annotations below checkboxes) ===== */

.entry-form__note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #343434;
  line-height: 1.8;
  margin-top: 3px;
}

/* ===== File Upload Group ===== */

.entry-form__file-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entry-form__file-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
@media screen and (max-width: 480px) {
  .entry-form__file-row {
    flex-direction: column;
  }
}

.entry-form__file-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  width: 84px;
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-form__file-row input[type='file'] {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
}

.entry-form__file-row input[type='file']::file-selector-button {
  margin-right: 10px;
  background: #f7f9faff;
  border-bottom: 1px solid #d1d1d1ff;
  border-left: 1px solid #d1d1d1ff;
  border-radius: 0px 0px 0px 0px;
  border-right: 1px solid #d1d1d1ff;
  border-top: 1px solid #d1d1d1ff;
  color: #000000ff;
  font-family: var(--s-font-9d91efdb);
  font-size: 13px;
  height: auto;
  line-height: 1;
  margin: 0px 0px 0px 0px;
  padding: 10px 16px 10px 16px;
  text-align: left;
  width: auto;
  max-width: 100%;
  justify-content: flex-start;
}

.entry-form__file-row input[type='file']::file-selector-button:hover {
  opacity: 0.7;
}

/* ===== Mail Info (address block) ===== */

.entry-form__mail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.entry-form__mail-info-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  opacity: 0.8;
}
.entry-form__mail-info-text span {
  font-size: 14px;
}

.entry-form__mail-info-address {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
}

/* ===== Consent Note ===== */

.entry-form__consent-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #343434;
  line-height: 1;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===== Submit Button Override ===== */

.recruit-entry-form .contact-form__submit input[type='submit'] {
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  gap: 20px;

  background: #000000ff;
  border-radius: 0px 0px 0px 0px;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
  flex: none;
  font-size: 15px;
  justify-content: center;
  letter-spacing: 0em;
  line-height: 1.4;
  margin: 0px 0px 0px 0px;
  opacity: 1;
  padding: 20px;
  text-align: left;
  width: 100%;
  text-align: center;
}

.recruit-entry-form .contact-form__submit input[type='submit']:hover {
  opacity: 0.8;
}

/* ===== Responsive: Mobile (<=480px) ===== */

@media screen and (max-width: 480px) {
  .entry-form__file-row input[type='file'] {
    font-size: 12px;
  }

  .entry-form__mail-info-text {
    font-size: 16px;
  }
  .entry-form__mail-info-address {
    font-size: 14px;
  }

  .entry-form__file-label {
    font-size: 14px;
  }

  .recruit-entry-form .contact-form__submit input[type='submit'] {
    font-size: 15px;
    padding: 20px;
  }

  .contact-form__checkbox-group {
    gap: 6px !important;
  }

  .mwform-checkbox-field.horizontal-item {
    margin-left: 0 !important;
  }

  .contact-form__checkbox-group {
    gap: 20px 30px !important;
  }
  .entry-form__note {
    font-size: 13px;
  }
  .contact-form-mw .mw_wp_form form {
    gap: 60px;
  }
  .contact-form__radio-group {
    flex-direction: row !important;
  }

  .contact-form__label {
    flex-wrap: wrap;
  }
  .entry-form__note {
    width: 100%;
    display: block;
    flex-shrink: 0;
  }
  .entry-form__note {
    font-size: 16px;
    font-weight: bold;
  }
  .entry-form__file-row {
    flex-direction: row;
  }
  .entry-form__file-group {
    margin-bottom: -10px;
  }
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0 !important;
}
