/* ============================================================
   recruit.css — 求人情報ページ
   ============================================================ */

/* ── Hero Banner ────────────────────────────────────────── */
@keyframes recruit-bar-stretch {
  0%   { width: min(280px, 60%); }
  15%  { width: 32px; }
  30%  { width: min(280px, 60%); }
  100% { width: min(280px, 60%); }
}

.recruit-hero {
  position: relative;
  padding: 52px var(--container-px);
  text-align: center;
}

.recruit-hero::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--clr-primary);
  border-radius: 0;
  margin: 0 auto 24px;
  animation: recruit-bar-stretch 6s ease-in-out infinite;
}

.recruit-hero::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--clr-primary);
  border-radius: 0;
  margin: 24px auto 0;
  animation: recruit-bar-stretch 6s ease-in-out infinite reverse;
  animation-delay: 1.2s;
  animation-fill-mode: backwards;
}

.recruit-hero__bg {
  display: none;
}

.recruit-hero__title {
  color: var(--clr-primary);
  font-size: clamp(20px, 4vw, 32px);
  margin-bottom: 10px;
}

.recruit-hero__sub {
  color: var(--clr-text-sub);
  font-size: 15px;
}

/* ── Wanted Profile ─────────────────────────────────────── */
.wanted-profile {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .wanted-profile {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }
}

.wanted-profile__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wanted-profile__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.wanted-profile__title {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--clr-primary-dark);
  margin-bottom: 16px;
}

.wanted-profile__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wanted-profile__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.wanted-profile__list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--clr-primary);
  margin-top: 7px;
}

/* ── Service Columns ────────────────────────────────────── */
.recruit-services__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .recruit-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.recruit-service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.recruit-service-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.recruit-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-service-card__body {
  padding: 16px;
}

.recruit-service-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 8px;
}

.recruit-service-card__text {
  font-size: 13px;
  color: var(--clr-text-sub);
  line-height: 1.7;
}

/* ── Timeline (1日の流れ) ────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--clr-border);
}

.timeline__item {
  position: relative;
  margin-bottom: 28px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -27px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--clr-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--clr-primary);
}

.timeline__time {
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 2px;
}

.timeline__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.timeline__desc {
  font-size: 14px;
  color: var(--clr-text-sub);
  line-height: 1.7;
}

/* ── Boshu-Youkou Table ─────────────────────────────────── */
.boshu-table-wrap {
  background: var(--clr-primary);
  border-radius: var(--radius-lg);
  padding: 3px;
}

.boshu-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: calc(var(--radius-lg) - 3px);
  overflow: hidden;
}

.boshu-table th,
.boshu-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--clr-border);
  font-size: 14px;
  vertical-align: top;
  text-align: left;
  line-height: 1.7;
}

.boshu-table tr:last-child th,
.boshu-table tr:last-child td {
  border-bottom: none;
}

.boshu-table th {
  width: 32%;
  background: var(--clr-primary-light);
  font-weight: 700;
  color: var(--clr-primary-dark);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .boshu-table,
  .boshu-table tbody,
  .boshu-table tr,
  .boshu-table th,
  .boshu-table td {
    display: block;
    width: 100%;
  }

  .boshu-table th {
    padding: 10px 16px 4px;
    font-size: 13px;
  }

  .boshu-table td {
    padding: 4px 16px 12px;
  }
}

.boshu-table__pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 14px;
  margin-top: 8px;
}

.boshu-table__pdf:hover {
  text-decoration: underline;
}
