/* =========================================================
   Recruit Renewal
   社会保険労務士法人そら 採用ページ
========================================================= */


/* =========================================================
   Base
========================================================= */

.recruit-page {
  padding-top: 82px;
  overflow: hidden;
  background: #ffffff;
  color: #24384b;
}

.recruit-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.recruit-section {
  padding: 104px 0;
}

.sp-only {
  display: none;
}


/* =========================================================
   Common Heading
========================================================= */

.recruit-hero__en,
.recruit-heading__en,
.recruit-entry__en {
  display: block;

  margin: 0 0 16px;

  color: #62bce6;

  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.recruit-heading {
  max-width: 760px;
}

.recruit-heading--center {
  margin-inline: auto;
  text-align: center;
}

.recruit-heading__title {
  margin: 0;

  color: #173c5b;

  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;

  line-height: 1.45;
  letter-spacing: 0.035em;
}

.recruit-heading__text {
  margin: 22px 0 0;

  color: #647889;

  line-height: 2;
}


/* =========================================================
   Hero
========================================================= */

.recruit-hero {
  padding: 36px 0 64px;

  background:
    linear-gradient(
      135deg,
      #f5fbff 0%,
      #ffffff 58%,
      #eef8fd 100%
    );
}

.recruit-hero__inner {
  display: grid;
  grid-template-columns:
    minmax(360px, 0.92fr)
    minmax(0, 1.08fr);

  align-items: center;

  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;

  gap: clamp(40px, 5vw, 68px);
}

.recruit-hero__content {
  position: relative;
  z-index: 2;

  min-width: 0;
  padding: 8px 0;
}

.recruit-hero__en {
  margin-bottom: 12px;

  font-size: 0.78rem;

  white-space: nowrap;
  overflow: visible;
}

.recruit-hero__title {
  margin: 0;

  color: #173c5b;

  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;

  line-height: 1.25;
  letter-spacing: 0.03em;
}

.recruit-hero__lead {
  margin: 22px 0 28px;

  color: #52697b;

  font-size: 1rem;
  line-height: 1.9;
}

.recruit-hero__image {
  position: relative;
}

.recruit-hero__image::before {
  content: "";

  position: absolute;

  inset: 20px -20px -20px 20px;

  border-radius: 28px;

  background: #dff3fc;
}

.recruit-hero__image img {
  position: relative;
  z-index: 1;

  display: block;

  width: 100%;
  max-height: 460px;

  aspect-ratio: 4 / 3;

  object-fit: cover;
  object-position: center;

  border-radius: 28px;
}


/* =========================================================
   Button
========================================================= */

.recruit-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 18px;

  min-height: 56px;

  padding: 0 28px;

  border-radius: 999px;

  font-size: 0.96rem;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.recruit-btn--primary {
  color: #ffffff;
  background: #258dc2;

  box-shadow:
    0 12px 30px rgba(37, 141, 194, 0.2);
}

.recruit-btn:hover {
  transform: translateY(-2px);
}


/* =========================================================
   Message
========================================================= */

.recruit-message {
  background: #ffffff;
}

.recruit-message .recruit-container {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1fr);

  gap: clamp(48px, 8vw, 100px);
}

.recruit-message__body {
  padding-top: 40px;
}

.recruit-message__body p {
  margin: 0 0 20px;

  color: #52697b;

  line-height: 2.15;
}


/* =========================================================
   Work
========================================================= */

.recruit-work {
  position: relative;

  background: #ffffff;
}

.recruit-work__layout {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-top: 58px;
}

.recruit-work-card {
  position: relative;

  padding: 38px 32px;

  border: 1px solid #e2edf4;
  border-radius: 22px;

  background: #ffffff;

  box-shadow:
    0 14px 40px rgba(31, 91, 126, 0.06);
}

.recruit-work-card__head {
  margin-bottom: 22px;
}

.recruit-work-card__number {
  display: block;

  margin-bottom: 14px;

  color: #73c4e8;

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.recruit-work-card h3 {
  margin: 0;

  color: #214a68;

  font-size: 1.2rem;
  line-height: 1.5;
}

.recruit-work-card p {
  margin: 0;

  color: #647889;

  line-height: 2;
}

.recruit-work__note {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 32px;

  margin-top: 42px;
  padding: 26px 30px;

  border-radius: 16px;

  background: #f5faff;
}

.recruit-work__note p {
  margin: 0;

  color: #52697b;

  line-height: 1.8;
}


/* =========================================================
   Features
========================================================= */

.recruit-features {
  background: #f5faff;
}

.recruit-feature-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-top: 58px;
}

.recruit-feature-card {
  position: relative;

  padding: 42px 34px 38px;

  border: 1px solid #dceef7;
  border-radius: 22px;

  background: #ffffff;
}

.recruit-feature-card__number {
  display: block;

  margin-bottom: 22px;

  color: #8fd2ef;

  font-size: 0.8rem;
  font-weight: 700;

  letter-spacing: 0.14em;
}

.recruit-feature-card h3 {
  margin: 0 0 18px;

  color: #214a68;

  font-size: 1.2rem;
}

.recruit-feature-card p {
  margin: 0;

  color: #647889;

  line-height: 1.95;
}


/* =========================================================
   People
========================================================= */

.recruit-people {
  background: #ffffff;
}

.recruit-people__layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(0, 0.92fr);

  align-items: center;

  gap: clamp(48px, 8vw, 100px);
}

.recruit-people__image img {
  display: block;

  width: 100%;

  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius: 28px;
}

.recruit-people__content p:not(.recruit-heading__en) {
  margin: 22px 0 0;

  color: #647889;

  line-height: 2;
}

.recruit-text-link {
  display: inline-flex;

  align-items: center;

  gap: 14px;

  margin-top: 30px;

  color: #258dc2;

  font-weight: 700;

  text-decoration: none;

  border-bottom: 1px solid #258dc2;
}


/* =========================================================
   Work Environment
========================================================= */

.recruit-environment {
  padding: 104px 0;

  background: #f5faff;
}

.recruit-environment .recruit-container {
  width: min(1080px, calc(100% - 64px));
}

.recruit-environment .recruit-heading {
  width: 100%;
  max-width: 760px;

  margin-inline: auto;

  text-align: center;
}

.recruit-environment .recruit-heading__text {
  max-width: 720px;

  margin: 22px auto 0;
}

.recruit-environment-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px;

  width: 100%;

  margin-top: 56px;
}

.recruit-environment-card {
  display: block;

  width: 100%;
  height: 100%;

  padding: 36px 34px;

  border: 1px solid #dceef7;
  border-radius: 22px;

  background: #ffffff;

  box-shadow:
    0 12px 32px rgba(31, 91, 126, 0.06);

  text-align: left;
}

.recruit-environment-card__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  margin: 0 0 20px;

  border-radius: 50%;

  color: #258dc2;
  background: #e7f6fd;

  font-size: 0.78rem;
  font-weight: 700;

  line-height: 1;
  letter-spacing: 0.05em;
}

.recruit-environment-card h3 {
  margin: 0 0 18px;

  color: #214a68;

  font-size: 1.2rem;
  font-weight: 700;

  line-height: 1.5;
}

.recruit-environment-card ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.recruit-environment-card li {
  position: relative;

  display: block;

  margin: 0;

  padding: 8px 0 8px 22px;

  color: #647889;

  font-size: 0.96rem;

  line-height: 1.75;
}

.recruit-environment-card li::before {
  content: "";

  position: absolute;

  top: 17px;
  left: 2px;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #72c6ea;
}

.recruit-environment__note {
  width: 100%;
  max-width: 900px;

  margin: 28px 0 0 auto;

  color: #7b8b98;

  font-size: 0.82rem;

  line-height: 1.8;

  text-align: right;
}


/* =========================================================
   Entry
========================================================= */

#recruit-entry {
  scroll-margin-top: 110px;
}

.recruit-entry {
  padding: 100px 0;

  background:
    linear-gradient(
      135deg,
      #1e84b8,
      #5bc0e9
    );

  color: #ffffff;
}

.recruit-entry__inner {
  max-width: 780px;

  margin-inline: auto;

  text-align: center;
}

.recruit-entry__en {
  color: rgba(255, 255, 255, 0.78);
}

.recruit-entry h2 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(2rem, 3vw, 3rem);
}

.recruit-entry__inner > p {
  margin: 24px 0 34px;

  line-height: 2;
}

.recruit-btn--entry {
  color: #258dc2;
  background: #ffffff;
}

.recruit-entry__note {
  margin-top: 16px;

  font-size: 0.8rem;

  opacity: 0.8;
}


/* =========================================================
   Anchor Scroll
========================================================= */

html {
  scroll-behavior: smooth;
}


/* =========================================================
   PC
========================================================= */

@media (min-width: 768px) {

  /* 固定ヘッダー対策 */
  .recruit-page {
    padding-top: 82px;
  }

}


/* =========================================================
   Smartphone
========================================================= */

@media (max-width: 767px) {

  /* Base */

  .recruit-page {
    padding-top: 0;
  }

  .recruit-container {
    width: min(100% - 40px, 1120px);
  }

  .recruit-section {
    padding: 72px 0;
  }

  .sp-only {
    display: block;
  }


  /* Heading */

  .recruit-heading__title {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }


  /* Hero */

  .recruit-hero {
    padding: 28px 0 64px;
  }

  .recruit-hero__inner {
    width: min(100% - 40px, 1120px);

    grid-template-columns: 1fr;

    gap: 38px;
  }

  .recruit-hero__content {
    order: 1;

    padding: 0;
  }

  .recruit-hero__image {
    order: 2;
  }

  .recruit-hero__title {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  .recruit-hero__lead {
    margin: 22px 0 28px;
  }

  .recruit-hero__image::before {
    inset: 14px -10px -14px 10px;

    border-radius: 24px;
  }

  .recruit-hero__image img {
    max-height: none;

    border-radius: 24px;
  }


  /* Button */

  .recruit-btn {
    width: 100%;

    min-height: 56px;

    padding-inline: 22px;
  }


  /* Message */

  .recruit-message .recruit-container {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .recruit-message__body {
    padding-top: 0;
  }


  /* Work */

  .recruit-work__layout {
    grid-template-columns: 1fr;

    margin-top: 40px;
  }

  .recruit-work-card {
    padding: 30px 26px;
  }

  .recruit-work__note {
    display: block;

    margin-top: 32px;
    padding: 24px;
  }

  .recruit-work__note .recruit-text-link {
    margin-top: 18px;
  }


  /* Features */

  .recruit-feature-grid {
    grid-template-columns: 1fr;

    margin-top: 40px;
  }

  .recruit-feature-card {
    padding: 32px 26px;
  }


  /* People */

  .recruit-people__layout {
    grid-template-columns: 1fr;

    gap: 36px;
  }


  /* Work Environment */

  .recruit-environment {
    padding: 72px 0;
  }

  .recruit-environment .recruit-container {
    width: min(100% - 40px, 1080px);
  }

  .recruit-environment-grid {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-top: 40px;
  }

  .recruit-environment-card {
    padding: 28px 24px;

    border-radius: 18px;
  }

  .recruit-environment-card__icon {
    width: 40px;
    height: 40px;

    margin-bottom: 18px;
  }

  .recruit-environment-card h3 {
    margin-bottom: 16px;

    font-size: 1.1rem;
  }

  .recruit-environment-card li {
    padding-top: 8px;
    padding-bottom: 8px;

    font-size: 0.94rem;
  }

  .recruit-environment__note {
    margin-top: 22px;

    text-align: left;
  }


  /* Entry */

  #recruit-entry {
    scroll-margin-top: 88px;
  }

  .recruit-entry {
    padding: 72px 0;
  }

}


/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .recruit-btn {
    transition: none;
  }

}