/* =============================
   recruit.css
   ============================== */

/* ============================================================
   ページヘッダー（company.cssと同構造・画像パスのみ変更）
============================================================ */
#page-header {
  width: 100%;
  height: 300px;
  background-image: url(../company/img/topimg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-header__logo {
  position: absolute;
  top: 32px;
  left: 48px;
  z-index: 2;
}

.page-header__logo img {
  width: 120px;
  height: auto;
  display: block;
}

.page-header__inner {
  padding: 0 48px;
  margin-top: 120px;
}

.page-header__title {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 48px;
  color: #03407a;
  margin: 0 0 8px;
  line-height: 1.2;
}

.page-header__sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.page-header__sub-text {
  font-size: 22px;
  font-weight: 400;
  color: #333;
  line-height: 1;
}

.page-header__sub-line {
  display: block;
  width: 200px;
  height: 2px;
  background-color: #03407a;
  flex-shrink: 0;
}

/* =============================
   求人一覧セクション
   ============================== */
#recruit-list {
  padding: 60px 0 80px;
  background: #f3f7fa;
}

.recruit-list__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* =============================
   求人カード
   ============================== */
.recruit-card {
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 4px;
  overflow: hidden;
}

/* カードヘッダー */
.recruit-card__header {
  background: #03407a;
  color: #fff;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.recruit-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.recruit-card__location {
  font-size: 0.8rem;
  opacity: 0.85;
  letter-spacing: 0.03em;
}

.recruit-card__type {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.recruit-card__holiday {
  font-size: 0.78rem;
  opacity: 0.85;
  line-height: 1.6;
}

.recruit-card__holiday-label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  padding: 1px 8px;
  margin-right: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* カードサムネイル */
.recruit-card__thumb {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.recruit-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* カードボディ */
.recruit-card__body {
  padding: 28px 28px 32px;
}

.recruit-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #03407a;
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dce5ee;
}

/* おすすめポイント */
.recruit-card__points {
  background: #f3f7fa;
  border-left: 4px solid #ff7a00;
  padding: 14px 20px;
  margin-bottom: 24px;
  border-radius: 0 4px 4px 0;
}

.recruit-card__points-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff7a00;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.recruit-card__points-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.recruit-card__points-list li {
  background: #fff;
  border: 1px solid #ff7a00;
  color: #ff7a00;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.03em;
}

/* 求人テーブル */
.recruit-table {
  width: 100%;
  margin-bottom: 28px;
}

.recruit-table__row {
  display: flex;
  border-bottom: 1px solid #eaeff5;
}

.recruit-table__row:first-child {
  border-top: 1px solid #eaeff5;
}

.recruit-table__th {
  width: 120px;
  min-width: 120px;
  background: #f3f7fa;
  color: #03407a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 12px 14px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.recruit-table__td {
  flex: 1;
  font-size: 0.85rem;
  color: #333;
  padding: 12px 16px;
  line-height: 1.8;
}

/* 応募ボタン */
.recruit-card__apply {
  text-align: center;
  margin-top: 8px;
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f39800;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  width: 360px;
  height: 64px;
  border-radius: 10px;
  position: relative;
  transition: opacity 0.2s;
}

.btn-apply::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  right: 24px;
  top: 50%;
  margin-top: -4px;
}

.btn-apply:hover {
  opacity: 0.85;
}


/* =============================
   SP対応（1024px以下）
   ============================== */
@media screen and (max-width: 1024px) {

  #page-header {
    height: 160px;
  }

  .page-header__inner {
    padding: 0 20px;
    margin-top: 40px;
  }

  .page-header__title {
    font-size: 28px;
  }

  .page-header__sub-text {
    font-size: 16px;
  }

  .page-header__sub-line {
    width: 80px;
  }

  .page-header__logo {
    display: none;
  }

  #recruit-list {
    padding: 40px 0 60px;
  }

  .recruit-list__inner {
    padding: 0 20px;
    gap: 32px;
  }

  .recruit-card__thumb {
    height: 200px;
  }

  .recruit-card__header {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
  }

  .recruit-card__body {
    padding: 20px 20px 24px;
  }

  .recruit-card__title {
    font-size: 1rem;
  }

  .recruit-table__row {
    flex-direction: column;
  }

  .recruit-table__th {
    width: 100%;
    min-width: unset;
    padding: 8px 14px;
  }

  .recruit-table__td {
    padding: 8px 14px 12px;
  }

  .btn-apply {
    width: 100%;
    max-width: 360px;
  }

}