.section--slant-recruit-blue {
  position: relative;
  z-index: 5;
  background-color: #f3f8fb;
}

.section--slant-recruit-blue::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  background-color: #f3f8fb;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  -webkit-clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .section--slant-recruit-blue {
    padding-top: 100px;
    margin-top: -50px;
  }
}

.section--slant-recruit-white {
  position: relative;
  z-index: 6;
  background-color: #fff;
}

.section--slant-recruit-white::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  background-color: #fff;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .section--slant-recruit-white {
    padding-top: 100px;
    margin-top: -50px;
  }
}

.section--slant-recruit-blue-last {
  position: relative;
  z-index: 5;
  background-color: #f3f8fb;
}

.section--slant-recruit-blue-last::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 250px);
  background-color: #f3f8fb;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  -webkit-clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .section--slant-recruit-blue-last {
    padding-top: 100px;
    margin-top: -50px;
  }
}

.recruit-message {
  padding: 4rem 0;
  background-color: #fff;
}

.recruit-message__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5rem;
  padding-bottom: 230px;
}

@media (max-width: 768px) {
  .recruit-message__inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
    padding-bottom: 150px;
  }
}

.recruit-message__media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 420px;
}

@media (max-width: 768px) {
  .recruit-message__media {
    flex-shrink: initial;
  }
}

.recruit-message__img {
  position: relative;
}

.recruit-message__img img {
  width: 100%;
  height: auto;
  display: block;
}

.recruit-message__badge {
  position: absolute;
  top: -10%;
  left: 0;
  transform: translate(-25%, -25%);
  width: 130px;
  height: 130px;
  background-color: #fff100;
  color: #000;
  font-weight: bold;
  font-size: 2.5rem;
  border-radius: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.3;
  letter-spacing: normal;
  padding-top: 0.5rem;
  z-index: 2;
}

@media (max-width: 768px) {
  .recruit-message__badge {
    top: 8%;
    left: 7%;
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    transform: translate(-15%, -15%);
  }
}

.recruit-message__content {
  flex: 1;
}

.recruit-message__title {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .recruit-message__title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
  }
}

.recruit-message__text {
  font-size: 1.6rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .recruit-message__text {
    font-size: 1.4rem;
  }
}

.recruit-interview {
  padding: 6rem 0;
}

.recruit-interview.section--blue {
  background-color: #f2f8fc;
}

.recruit-interview .interview__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 250px;
}

@media (max-width: 768px) {
  .recruit-interview .interview__inner {
    padding-bottom: 150px;
  }
}

.recruit-interview .interview__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .recruit-interview .interview__list {
    flex-direction: column;
    align-items: center;
  }
}

.recruit-interview .interview__item {
  width: 400px;
  text-align: center;
}

@media (max-width: 768px) {
  .recruit-interview .interview__item {
    width: 80%;
  }
}

.recruit-interview .interview__link {
  text-decoration: none;
  color: inherit;
}

.recruit-interview .interview__link:hover {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.recruit-interview .interview__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.recruit-interview .interview__name {
  margin-top: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
}

.recruit-interview .interview__name span.small {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: normal;
}

@media (max-width: 768px) {
  .recruit-interview .interview__name span.small {
    display: block;
    line-height: 1;
  }
}

.recruit-requirements {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .recruit-requirements {
    padding-bottom: 4rem;
  }
}

.recruit-requirements__content {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 6rem;
  margin-top: 8rem;
}

@media (max-width: 768px) {
  .recruit-requirements__content {
    flex-direction: column-reverse;
    gap: 3rem;
    margin-top: 6rem;
  }
}

.recruit-requirements__images {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (max-width: 768px) {
  .recruit-requirements__images {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}

.recruit-requirements__images figure {
  width: 350px;
  max-width: 100%;
  margin: 0;
}

@media (max-width: 768px) {
  .recruit-requirements__images figure {
    width: calc(50% - 1rem);
  }
}

.recruit-requirements__images figure img {
  width: 100%;
  height: auto;
  display: block;
}

.recruit-requirements__main {
  flex: 1;
}

.recruit-requirements__table table {
  width: 100%;
  border-collapse: collapse;
}

.recruit-requirements__table table th,
.recruit-requirements__table table td {
  border: 1px solid #dbdbdb;
  padding: 1.2rem;
  font-size: 1.6rem;
  vertical-align: top;
}

@media (max-width: 768px) {

  .recruit-requirements__table table th,
  .recruit-requirements__table table td {
    font-size: 1.4rem;
  }
}

.recruit-requirements__table table th {
  width: 25%;
  background-color: #f7fafc;
  font-weight: bold;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .recruit-requirements__table table th {
    width: 30%;
    font-size: 1.4rem;
  }
}

.recruit-requirements__table table td {
  background-color: #fff;
}

.text-button-box--bg--blue {
  background-color: #015184;
  border: none;
  padding: 1rem 0;
  max-width: 270px;
}

.text-button-box--bg--blue .text-button-box__text {
  font-family: var(--font-title);
  color: #fff;
  font-size: 4rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.3rem;
  transition: opacity 0.5s ease;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .text-button-box--bg--blue .text-button-box__text {
    font-size: 3rem;
  }
}

.text-button-box--bg--blue .arrow-button__arrow {
  width: 45px;
  background-color: #fff;
}

.text-button-box--bg--blue .arrow-button__arrow::before {
  background-color: #fff;
}

.text-button-box--bg--blue .arrow-button__circle {
  background-color: transparent;
  border: 2px dashed #fff;
}

.text-button-box--bg--blue:hover {
  background-color: #fff;
}

.text-button-box--bg--blue:hover .text-button-box__text {
  color: #015184;
}

.text-button-box--bg--blue:hover .arrow-button__arrow {
  transform: translate(5px, -50%);
  background-color: #015184;
}

.text-button-box--bg--blue:hover .arrow-button__arrow::before {
  background-color: #015184;
}

.text-button-box--bg--blue:hover .arrow-button__circle {
  transform: translateY(-50%) scale(0.9) rotate(45deg);
  border-color: #015184;
}

.recruit-highlight--reverse {
  background: url("../images/recruit/recruit-message-bg01.webp") no-repeat center/cover;
  clip-path: polygon(0 25%, 100% 0%, 100% 100%, 0 75%);
  -webkit-clip-path: polygon(0 25%, 100% 0%, 100% 100%, 0 75%);
  text-align: center;
  padding: 30rem 2rem;
  margin-top: -200px;
}

@media (max-width: 768px) {
  .recruit-highlight--reverse {
    padding: 10rem 1.5rem;
    background-position: 70% center;
    margin-top: -75px;
    clip-path: polygon(0 20%, 100% 0%, 100% 100%, 0 80%);
    -webkit-clip-path: polygon(0 20%, 100% 0%, 100% 100%, 0 80%);
  }
}

.recruit-highlight--reverse__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}

.recruit-highlight--reverse__text {
  display: inline-flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .recruit-highlight--reverse__text {
    gap: 1rem;
    margin-right: auto;
    text-align: left;
  }
}

.recruit-highlight--reverse__text span {
  background-color: rgba(255, 255, 255, 0.95);
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.5;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .recruit-highlight--reverse__text span {
    font-size: 1.2rem;
    line-height: 1.2;
    padding: 0.2rem;
  }
}

.recruit-highlight--reverse__text.pc-only {
  display: none;
}

@media (min-width: 769px) {
  .recruit-highlight--reverse__text.pc-only {
    display: inline-flex;
  }
}

.recruit-highlight--reverse__text.sp-only {
  display: inline-flex;
}

@media (min-width: 769px) {
  .recruit-highlight--reverse__text.sp-only {
    display: none;
  }
}

.recruit-highlight {
  background: url("../images/recruit/recruit-message-bg02.webp") no-repeat center/cover;
  text-align: center;
  padding: 30rem 2rem;
  clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 100%);
}

@media (max-width: 768px) {
  .recruit-highlight {
    padding: 13rem 1.5rem;
    background-position: 30% center;
  }
}

.recruit-highlight__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.recruit-highlight__text {
  display: inline-flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .recruit-highlight__text {
    gap: 1rem;
    margin-left: auto;
    text-align: left;
  }
}

.recruit-highlight__text span {
  background-color: rgba(255, 255, 255, 0.95);
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.5;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .recruit-highlight__text span {
    font-size: 1.2rem;
    line-height: 1.2;
    padding: 0.5rem;
  }
}

.recruit-highlight__text.pc-only {
  display: none;
}

@media (min-width: 769px) {
  .recruit-highlight__text.pc-only {
    display: inline-flex;
  }
}

.recruit-highlight__text.sp-only {
  display: inline-flex;
}

@media (min-width: 769px) {
  .recruit-highlight__text.sp-only {
    display: none;
  }
}


/* FAQ リンクボタン */
.recruit-faq__button {
  margin: 4rem 0 8rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .recruit-faq__button {
    margin: 3rem 0 5rem;
  }
}

.recruit-faq__button .text-button-box {
  max-width: 650px;
  width: 100%;
}

@media (max-width: 768px) {
  .recruit-faq__button .text-button-box {
    max-width: 280px;
    text-align: left;
  }
}

.recruit-faq__button .text-button-box__text {
  color: #015184;
  line-height: 1.4;
}

.recruit-faq__button:hover {
  color: #fff;
}



/* form */

/* ===============
   CF7対応 Entry Form
=================*/

.entry-form {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .entry-form {
    padding: 6rem 0;
  }

  .entry-form .heading-section {
    font-size: 2rem;
  }
}

.entry-form__inner {
  max-width: 800px;
  margin: 0 auto;
}

.entry-form__body {
  margin-top: 5rem;
}

@media (max-width: 768px) {
  .entry-form__body {
    margin-top: 4rem;
  }
}

.entry-form__desc {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
  margin: 6rem 0 3rem;
}

@media (max-width: 768px) {
  .entry-form__desc {
    margin: 3rem 0 5rem;
    text-align: left;
  }
}

.entry-form__desc span.entry-form__note {
  display: inline-block;
  color: #e60033;
}

.entry-form__box {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  padding: 4rem;
}

@media (max-width: 768px) {
  .entry-form__box {
    padding: 0;
  }
}

.entry-form__box .form-row {
  margin-bottom: 2.5rem;
}

.entry-form__box .form-row label {
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.entry-form__box .form-row label .required {
  color: #e60033;
  font-size: 1.4rem;
}

.entry-form__box .form-row input,
.entry-form__box .form-row textarea {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.6rem;
  background: #fff;
}

.entry-form__box .form-row textarea.wpcf7-form-control {
  height: 180px;
  resize: vertical;
}



/* 性別 ラジオボタン ============================== */

.entry-form__box .form-row .form-radio-inline {
  display: flex;
  gap: 3rem;
  margin-top: 1.5rem;
}

.entry-form__box .form-row .form-radio-inline label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  font-weight: bold;
  padding-right: 1.5rem;
}

/* 追加で整えると良い部分 */
.entry-form__box .form-radio-inline .wpcf7-list-item {
  margin: 0;
  padding: 0;
}

.entry-form__box .form-row .form-radio-inline label input[type=radio] {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.entry-form__box .form-row .form-radio-inline label input[type=radio]:checked {
  border-color: #015184;
}

.entry-form__box .form-row .form-radio-inline label input[type=radio]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #015184;
  border-radius: 50%;
}

/* 承諾ボタン チェックボックス ===================== */

.entry-form__box .form-row.form-checkbox {
  display: flex;
  justify-content: center;
  margin-top: 10rem;
  margin-bottom: 8rem;
}

@media (max-width: 768px) {
  .entry-form__box .form-row.form-checkbox {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
}

.entry-form__box .form-row.form-checkbox .wpcf7-form-control-wrap {
  width: auto;
  display: inline-block;
}

.entry-form__box .wpcf7-acceptance .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.entry-form__box .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: nowrap;
  cursor: pointer;
  margin: 0;
}

.entry-form__box input.form-checkbox__input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 25px;
  height: 25px;
  border: 1px solid #000;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  vertical-align: middle;
  margin: 0;
  flex-shrink: 0;
  transition: background-color 0.2s;
}

.entry-form__box input[type="checkbox"].form-checkbox__input:checked {
  background-color: #015184;
}

.entry-form__box input.form-checkbox__input[type="checkbox"]::before {
  content: "✔";
  font-size: 18px;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}

.entry-form__box input.form-checkbox__input[type="checkbox"]:checked::before {
  opacity: 1;
  color: #fff;
}

.entry-form__box .form-checkbox__underline {
  border-bottom: 1px solid #000;
  padding-bottom: 0.1em;
  display: inline-block;
}

.entry-form__box .wpcf7-list-item-label {
  font-size: 1.6rem;
  color: #333;
  font-weight: 600;
  line-height: 1.6;
  display: inline;
  white-space: nowrap;
}


/* 送信ボタン ===================== */

/* 送信ボタン デフォルトのスタイル無効化 */
.entry-form__box .form-submit {
  text-align: center;
}

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* 送信ボタン スピナー 無効化 */
span.wpcf7-spinner {
  display: none;
}

.submit-button {
  padding: 1.2rem 3rem;
  font-size: 1.6rem;
  font-weight: bold;
  background-color: #015184;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* ホバー時 */
.submit-button:hover {
  background-color: #4d84c4;
}