/* =============================================
   RECRUIT Section
   ============================================= */

.recruit-section {
  padding: 100px 0;
  background: var(--color-recruit-bg);
}

.recruit-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-side);
}

.recruit-section__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-top: 40px;
}

.recruit-section__text {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 18px;
  line-height: 35px;
  letter-spacing: 0.04em;
  color: var(--color-black);
  max-width: 548px;
}

.recruit-section__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 404px;
  height: 80px;
  background: var(--color-x);
  color: var(--color-white);
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 32px;
  line-height: 35px;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  z-index: 0;
  transition: color 0.4s var(--ease-main);

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-white);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s var(--ease-main);
  }

  &::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-x);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease-main);
  }

  &:hover {
    color: var(--color-x);
  }

  &:hover::before {
    transform: scaleX(1);
    transform-origin: left center;
  }

  &:hover::after {
    opacity: 1;
  }
}

/* ============ レスポンシブ ============ */
@media (max-width: 768px) {
  .recruit-section {
    padding: 60px 0;
  }

  .recruit-section__content {
    flex-direction: column;
    gap: 32px;
  }

  .recruit-section__text {
    font-size: 15px;
    line-height: 28px;
  }

  .recruit-section__btn {
    min-width: 100%;
    height: 60px;
    font-size: 24px;
  }
}
