.ly_form_section {
  margin-top: max(64px, 7.8rem);
}
.ly_form_section_inner {
  max-width: max(880px, 144.8rem);
  margin-inline: auto;
  padding-inline: 24px;
}
.ly_form_section_inner_content {
  background-color: var(--white-color);
  border-radius: 20px;
  padding: max(40px, 8.7rem) max(40px, 14.9rem) max(40px, 8.9rem);
}
.ly_form_section_inner_content_border_wrap {
  border: 1px solid var(--gray-color);
}
p + .ly_form_section_inner_content_border_wrap {
  margin-top: max(40px, 6.4rem);
}
.ly_form_section_inner_content_border_wrap {
  border-radius: 5px;
  padding: max(32px, 5rem) max(32px, 5.8rem);
}
.ly_form_section_inner_content_border_wrap_text {
  font-size: max(14px, 1.8rem);
  letter-spacing: 0.1em;
  line-height: 2;
}
.ly_form_section_inner_content_border_wrap_text + p {
  margin-top: 1em;
}
.ly_form_section_inner_content_border_wrap_text_bold {
  font-weight: bold;
}
.ly_form_section_inner_content_border_wrap_list_item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: max(4px, 0.8rem);
  align-items: center;
  font-size: max(14px, 1.8rem);
  letter-spacing: 0.1em;
  line-height: 2;
}
.ly_form_section_inner_content_border_wrap_list_item_circle {
  width: max(6px, 1rem);
  height: max(6px, 1rem);
  border-radius: 50%;
  background-color: var(--blue-color);
}
.bl_form_content {
  margin-top: max(80px, 10.2rem);
}
.wpcf7-form p + p {
  margin-top: max(32px, 5.1rem);
}
.wpcf7-form-control-wrap {
  display: grid;
  align-items: center;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
  min-height: max(48px, 7.1rem);
  border-radius: 5px;
  background-color: var(--offwhite-color);
  border: 1px solid var(--gray-color);
  width: 100%;
  font-size: max(12px, 1.8rem);
  letter-spacing: 0.1em;
  line-height: 1.8;
  padding: max(8px, 1.6rem);
}
.wpcf7-form-control-wrap textarea {
  min-height: max(200px, 23.9rem);
}
.wpcf7-list-item {
  margin: 0;
}
#reason-check,
#interest-work {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: max(16px, 6rem);
  align-items: center;
  justify-content: flex-start;
}

#reason-check input[type="checkbox"],
#interest-work input[type="checkbox"] {
  display: none;
}
#reason-check .wpcf7-list-item-label,
#interest-work .wpcf7-list-item-label {
  cursor: pointer;
  position: relative;
  font-weight: 500;
  font-size: max(10px, 1.6rem);
  letter-spacing: 0.1em;
  display: block;
  padding-left: max(24px, 4.6rem);
}
#reason-check .wpcf7-list-item-label::before,
#interest-work .wpcf7-list-item-label::before {
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: max(16px, 3rem);
  height: max(16px, 3rem);
  background-color: var(--white-color);
  border: 1px solid var(--gray-color);
}
#reason-check .wpcf7-list-item-label::after,
#interest-work .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: max(8px, 1.2rem);
  width: 8px;
  height: 14px;
  border: solid var(--blue-color);
  border-width: 0 2px 2px 0;
  transform: rotate(51deg);
  opacity: 0;
  transition: opacity 0.2s;
}

#reason-check input:checked + .wpcf7-list-item-label::after,
#interest-work input:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}
.bl_form_label {
  display: grid;
  grid-template-columns: max(180px, 32rem) 1fr;
  gap: max(16px, 3rem);
  align-items: center;
}
.bl_form_label.bl_form_label_not_center {
  align-items: flex-start;
}
.bl_form_label.bl_form_label_not_center .bl_form_label_name {
  margin-top: 13px;
}
.bl_form_label_name {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: max(2px, 0.4rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: max(14px, 2rem);
}
.bl_form_label_name_circle {
  width: max(6px, 1rem);
  height: max(6px, 1rem);
  border-radius: 50%;
  background-color: var(--blue-color);
  position: relative;
  top: max(7px, 1rem);
}
.wpcf7-not-valid-tip {
  margin-top: max(4px, 0.8rem);
  letter-spacing: 0.1em;
}
.ly_form_section_inner_content_border_wrap_text_link {
  font-weight: bold;
  color: var(--blue-color);
}
.bl_button_lead_text {
  margin-top: max(40px, 6.5rem);
  text-align: center;
  font-weight: 500;
  font-size: max(14px, 2rem);
  letter-spacing: 0.1em;
}
.bl_button_lead_text + p {
  margin-top: max(56px, 7.1rem);
}

.wpcf7-spinner {
  display: none;
}
.bl_confirm_button_wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: max(56px, 7.6rem);
  max-width: max(320px, 40.3rem);
  width: 100%;
  text-align: center;
  margin-inline: auto;
}
.wpcf7-form-control.wpcf7-submit.has-spinner {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px max(24px, 4rem);
  font-size: max(14px, 2rem);
  border-radius: 20px;
  color: var(--white-color);
  font-weight: 500;
  letter-spacing: 0.1em;
  background-color: var(--blue-color);
}
.bl_confirm_button_wrap::after {
  position: absolute;
  content: url(../img/common/arrow-white.png);
  width: max(12px, 1.7rem);
  height: max(12px, 1.7rem);
  right: max(24px, 4rem);
  top: 50%;
  translate: 0 -50%;
}

/* エントリーフォーム
------------------------------------------------------ */

.bl_form_select_content {
  position: relative;
}
#job-type {
  min-height: max(48px, 7.1rem);
  border-radius: 5px;
  background-color: var(--offwhite-color);
  border: 1px solid var(--gray-color);
  width: 100%;
  font-size: max(14px, 2rem);
  letter-spacing: 0.1em;
  line-height: 1.8;
  font-weight: 500;
  white-space: normal;
  padding: max(8px, 1.6rem) max(16px, 3.9rem);
}
.bl_form_select_content::after {
  content: "";
  background-image: url(../img/form/icon-arrow-down-blue.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: max(14px, 1.7rem);
  height: max(8px, 1rem);
  right: 24px;
  top: 50%;
  translate: 0 -50%;
}
.bl_form_label_name_column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: max(24px, 6.8rem);
}
.bl_form_label_name_column .wpcf7-form-control-wrap {
  position: relative;
}
.bl_form_label_name_column .wpcf7-form-control-wrap::after {
  content: "";
  background-image: url(../img/form/icon-arrow-down-blue.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: max(14px, 1.7rem);
  height: max(8px, 1rem);
  right: 24px;
  top: 50%;
  translate: 0 -50%;
}
.bl_form_label_name_column select {
  min-height: max(48px, 7.1rem);
  border-radius: 5px;
  background-color: var(--offwhite-color);
  border: 1px solid var(--gray-color);
  width: 100%;
  font-size: max(14px, 2rem);
  letter-spacing: 0.1em;
  line-height: 1.8;
  font-weight: 500;
  padding: max(8px, 1.6rem) max(16px, 3.9rem);
}

#resume,
#curriculum-vitae {
  background-color: transparent;
  border: none;
  padding: 0;
  font-weight: 500;
  font-size: max(14px, 2rem);
  letter-spacing: 0.1em;
}
.file-note {
  font-weight: 500;
  font-size: max(14px, 2rem);
  letter-spacing: 0.1em;
}
input[type="file"] {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  font-weight: 500;
  font-size: max(12px, 2rem);
  letter-spacing: 0.1em;
}

::file-selector-button,
::-webkit-file-upload-button {
  background-color: var(--blue-color);
  color: var(--white-color);
  border-radius: 5px;
  min-height: max(40px, 5rem);
  text-align: center;
  border: none;
  cursor: pointer;
  max-width: max(200px, 26.7rem);
  width: 100%;
  margin-right: max(16px, 2.3rem);
  font-weight: 500;
  font-size: max(12px, 2rem);
  letter-spacing: 0.1em;
}

@media not screen and (min-width: 900px) {
  .ly_form_section {
    margin-top: max(40px, 8rem);
  }
  .ly_form_section_inner_content {
    padding: max(32px, 4rem) max(24px, 3.2rem);
  }

  .bl_form_label {
    grid-template-columns: none;
    gap: max(8px, 1.6rem);
  }

  .bl_form_label_name {
    font-size: max(14px, 1.8rem);
  }
  .bl_form_label_name_circle {
    width: max(4px, 0.8rem);
    height: max(4px, 0.8rem);
    top: max(7px, 1rem);
  }

  #job-type {
    min-height: max(48px, 6.4rem);
    font-size: max(14px, 1.6rem);
    padding: max(8px, 1.6rem) max(24px, 3.2rem) max(8px, 1.6rem)
      max(16px, 2.4rem);
  }

  .bl_form_select_content::after {
    width: max(12px, 1.6rem);
    height: max(6px, 0.9rem);
    right: 16px;
  }
  .wpcf7-form p + p {
    margin-top: max(32px, 4rem);
  }

  .wpcf7-form-control-wrap input,
  .wpcf7-form-control-wrap textarea {
    min-height: max(48px, 6.4rem);
    font-size: max(16px, 1.6rem);
    padding: max(8px, 1.6rem) max(16px, 2.4rem);
  }

  .bl_form_label_name_column select {
    min-height: max(48px, 6.4rem);
    font-size: max(12px, 1.6rem);
    padding: max(8px, 1.6rem) max(16px, 2.4rem);
  }
  .bl_form_label_name_column {
    gap: max(8px, 1.6rem);
  }

  #resume,
  #curriculum-vitae {
    font-size: max(12px, 1.6rem);
  }

  .file-note {
    font-size: max(12px, 1.6rem);
  }

  p + .ly_form_section_inner_content_border_wrap {
    margin-top: max(32px, 4rem);
  }
  .ly_form_section_inner_content_border_wrap {
    padding: max(16px, 2.4rem);
  }
  .ly_form_section_inner_content_border_wrap_text {
    font-size: max(12px, 1.6rem);
  }

  .bl_button_lead_text {
    margin-top: max(32px, 4rem);
    font-size: max(12px, 1.6rem);
  }
  .bl_button_lead_text + p {
    margin-top: max(32px, 4rem);
  }
  .bl_confirm_button_wrap {
    min-height: max(56px, 6.4rem);
    max-width: max(240px, 32rem);
  }
  .wpcf7-form-control.wpcf7-submit.has-spinner {
    padding: 4px max(16px, 2.4rem);
    font-size: max(14px, 1.6rem);
  }
  .bl_confirm_button_wrap::after {
    width: max(12px, 1.6rem);
    height: max(12px, 1.6rem);
    right: max(16px, 2.4rem);
    scale: 0.8;
  }

  .bl_form_label_name_column .wpcf7-form-control-wrap::after {
    width: max(12px, 1.6rem);
    height: max(6px, 0.9rem);
    right: 12px;
  }
  .bl_form_label.bl_form_label_not_center .bl_form_label_name {
    margin-top: 0;
  }
}
