/* ===== Recruit page ===== */
.recruit-page {
  background: #f7f9fd;
  color: #162033;
}

.recruit-page .l-topTitleArea {
  position: relative;
  min-height: clamp(210px, 30vw, 380px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #123f8c;
}

.recruit-page .l-topTitleArea__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-page .l-topTitleArea::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 31, 78, 0.72), rgba(9, 31, 78, 0.26));
}

.recruit-page .l-topTitleArea__body {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1080px);
  color: #fff;
}

.recruit-page .c-pageTitle {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.15;
  font-weight: 900;
}

.recruit-page .c-pageTitle__subTitle {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  letter-spacing: 0;
  font-weight: 700;
}

.recruit-page .l-content {
  width: min(calc(100% - 40px), 1080px);
  margin: 64px auto 96px;
}

.recruit-page .post_content {
  display: flow-root;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #e5eaf2;
  background: #fff;
  box-shadow: 0 22px 58px rgba(18, 39, 78, 0.08);
}

.recruit-page .post_content > *:first-child {
  margin-top: 0;
}

.recruit-page .post_content p {
  color: #2c3442;
  font-size: 1rem;
  line-height: 1.95;
}

.recruit-page .has-text-align-center {
  text-align: center;
}

.recruit-page .swl-marker.mark_yellow {
  background: linear-gradient(transparent 58%, #fff2a8 58%);
}

.recruit-page .post_content h2 {
  margin: 64px 0 26px;
  padding: 17px 22px;
  background: #185fe7;
  color: #fff;
  font-size: clamp(1.34rem, 3vw, 2rem);
  line-height: 1.45;
  font-weight: 900;
}

.recruit-page .post_content h3 {
  margin: 42px 0 16px;
  color: #0b245a;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  font-weight: 900;
}

.recruit-page .post_content h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  background: #22b8cf;
}

.recruit-page figure {
  margin: 30px 0;
}

.recruit-page img {
  max-width: 100%;
  height: auto;
}

.recruit-page .wp-block-image img {
  display: block;
  width: 100%;
}

.recruit-page .wp-block-table {
  margin: 24px 0 56px;
  overflow-x: auto;
}

.recruit-page .wp-block-table table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  border: 1px solid #dbe3ee;
  background: #fff;
}

.recruit-page .wp-block-table td {
  padding: 16px 18px;
  border: 1px solid #dbe3ee;
  color: #263245;
  line-height: 1.8;
  vertical-align: top;
}

.recruit-page .wp-block-table td:first-child {
  width: 28%;
  background: #eef5ff;
  color: #0b3f90;
  font-weight: 800;
}

.recruit-page .c-scrollHint {
  margin: -6px 0 8px;
  color: #6d7788;
  font-size: 0.85rem;
  text-align: right;
}

.recruit-page .swell-block-step {
  margin: 32px 0 56px;
  counter-reset: recruit-step;
}

.recruit-page .swell-block-step__item {
  counter-increment: recruit-step;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num body";
  gap: 6px 18px;
  position: relative;
  padding: 0 0 30px;
}

.recruit-page .swell-block-step__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 28px;
  bottom: 0;
  width: 2px;
  background: #d6e0ee;
}

.recruit-page .swell-block-step__number {
  grid-area: num;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #185fe7;
  color: #fff;
  font-weight: 900;
}

.recruit-page .swell-block-step__number::after {
  content: counter(recruit-step, decimal-leading-zero);
  font-size: 1.05rem;
}

.recruit-page .swell-block-step__title {
  grid-area: title;
  color: #0b245a;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.45;
}

.recruit-page .swell-block-step__body {
  grid-area: body;
}

.recruit-page .swell-block-step__body p {
  margin: 0;
}

.recruit-page .swell-block-button {
  margin: 44px 0 0;
  text-align: center;
}

.recruit-page .swell-block-button__link {
  display: inline-flex;
  min-width: 275px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #185fe7;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.recruit-page .post_content .swell-block-button__link,
.recruit-page .post_content .swell-block-button__link span {
  color: #fff;
  text-decoration: none;
}

.recruit-page .__icon {
  fill: currentColor;
}

@media (max-width: 780px) {
  .recruit-page .l-content {
    width: min(calc(100% - 24px), 1080px);
    margin: 36px auto 72px;
  }

  .recruit-page .post_content {
    padding: 24px 18px;
  }

  .recruit-page .post_content h2 {
    margin-top: 46px;
    padding: 14px 16px;
    font-size: 1.28rem;
  }

  .recruit-page .wp-block-table table {
    min-width: 650px;
  }

  .recruit-page .swell-block-step__item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 14px;
  }

  .recruit-page .swell-block-step__item:not(:last-child)::before {
    top: 48px;
    left: 23px;
  }

  .recruit-page .swell-block-step__number {
    width: 48px;
    height: 48px;
  }
}
