@charset "UTF-8";
/* =========================================================
   募集要項一覧ページ専用CSS（requirements_fulltime.php / requirements_parttime.php 共用）
   Figma「パパブブレ‗採用02」06REQUIREMENTS　PC: node-id 23:3（ファイル末尾の @media (min-width: 992px)）
   SP・PC共通マークアップ（.rq-*）。SPを基本に書き、PCは末尾でまとめて上書きする
   ========================================================= */

/* =========================================================
   SP（基本）：06REQUIREMENTS_アルバイト_SP / node-id 10031:412・正社員_SP / node-id 10030:81（幅750）
   数値はFigma値の1/2。見出し・ボタン・三角・写真帯・ロゴ帯は top.css を流用
   ========================================================= */

/* エリアのピル（main.js が .filter-pill の is-active を切り替える） */
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  background: none;
  border: 1px solid #97B4DE;
  border-radius: 50px;
  min-width: 115px;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.filter-pill.is-active {
  background: #97b4de;
  border-color: #97b4de;
}


/* ---------- ヒーロー ---------- */
.rq-hero__photo {
  position: relative;
}

.rq-hero__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 750 / 400;
  object-fit: cover;
}

.rq-hero__breadcrumb {
  position: absolute;
  top: 13px;
  left: var(--top-gutter);
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
  color: #fff;
}

.rq-hero__breadcrumb a {
  color: inherit;
}

/* Figma: 写真下端からタイルアイコンまで107 */
.rq-hero__body {
  padding: 57px var(--top-gutter) 52px;
}

/* 「Requirements」は字間を詰めている（Figma: -1.8 / 90px） */
.rq-heading-tight {
  letter-spacing: -.02em;
}

/* ---------- 募集中の職種 ---------- */
.rq-listing {
  padding: 112px 0 108.5px;
  background: var(--top-light);
}

.rq-label {
  margin: 0;
  font-size: 12px;
  line-height: 15px;
  color: var(--navy);
}

.rq-label--search {
  margin-top: 36.5px;
  padding-bottom: 19.5px;
  border-bottom: 1px solid var(--navy);
}

.rq-filter__title {
  margin: 19px 0 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: .06em;
}

.rq-filter__pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11.5px 11px;
  margin-top: 20.5px;
}

.rq-page .rq-pill {
  min-width: 0;
  height: 32.5px;
  padding: 0;
  border: 1px solid var(--top-tag-line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
}

.rq-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 59px;
}

.rq-actions .top-btn--navy {
  border: 0;
}

/* 正社員は検索欄が無く、件数が見出し直下に来る（位置は Search と同じ） */
.rq-label--first {
  margin-top: 36.5px;
}

.rq-label--count {
  margin-top: 64.5px;
}

.rq-cards {
  display: flex;
  flex-direction: column;
  gap: 17.5px; /* Figma: カード間35（正社員_SP） */
  margin-top: 19px;
}

.rq-card {
  position: relative;
  display: block;
  padding: 27px 17.5px 34px;
  background: #fff;
  border-top: 4px solid var(--navy);
  color: #000;
}

.rq-card:hover {
  color: #000;
}

.rq-card__title {
  display: block;
  font-size: 19px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: .06em;
  color: var(--navy);
}

.rq-card__desc,
.rq-card__meta {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: .06em;
}

.rq-card__desc {
  margin-top: 7.5px;
}

.rq-card__meta {
  margin-top: 21.5px;
}

.rq-card__row {
  display: flex;
}

.rq-card__th {
  flex: 0 0 63px;
}

.rq-card__btn {
  position: absolute;
  right: 17.5px;
  bottom: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--navy);
  color: #fff;
  transition: opacity .2s ease;
}

.rq-card__btn .top-tri {
  transform: translateX(-2px);
}

.rq-card:hover .rq-card__btn {
  opacity: .8;
}

/* ---------- 応募の流れ ---------- */
.rq-flow {
  overflow: hidden;
  padding: 112px 0 108.5px;
}

.rq-steps {
  margin: 34.5px 0 0;
  padding: 0;
  list-style: none;
}

.rq-step {
  position: relative;
  padding-left: 74px;
}

.rq-step + .rq-step {
  margin-top: 23.5px;
}

/* 丸数字（Figma: 98×98）＋右端まで伸びる罫線 */
.rq-step__num {
  position: absolute;
  top: 0;
  left: var(--top-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-family: var(--font-prata);
  font-size: 23px;
  line-height: 1;
  color: var(--navy);
}

.rq-step::before {
  content: "";
  position: absolute;
  top: 24.5px;
  left: 74px;
  right: 0;
  border-top: 1px solid var(--navy);
}

.rq-step__title {
  margin: 0;
  padding-top: 58px;
  font-size: 19px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: .06em;
  color: var(--navy);
}

.rq-step__desc {
  margin: 7.5px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: .06em;
}

/* <picture> で包んだ写真をブロック表示に */
.rq-page picture {
  display: block;
}

/* =========================================================
   PC：06REQUIREMENTS_PC / node-id 23:3（幅1440を等倍で実測）
   正社員・アルバイト共通（正社員は検索欄なし）。ヒーローはインタビュー一覧と同じ数値
   ========================================================= */
@media (min-width: 992px) {

  .rq-page [id] {
    scroll-margin-top: 80px;
  }

  /* 下層ページの見出しは英字と和文の字面の間が28px（TOPは38px） */
  .rq-page .top-heading__jp {
    margin-top: -4px;
  }

  /* ---------- ヒーロー（写真1440×490・見出し左寄せ） ---------- */
  .rq-hero__photo img {
    aspect-ratio: 1440 / 490;
  }

  .rq-hero__breadcrumb {
    top: 31px;
    left: max(30px, calc(50% - 580px));
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
  }

  .rq-hero__body {
    padding: 104px 0 108px max(30px, calc(50% - 580px));
  }

  .rq-heading-tight {
    letter-spacing: 0;
  }

  .rq-hero .top-heading {
    text-align: left;
  }

  .rq-hero .top-lead {
    margin-top: 45px;
    font-size: 18px;
    line-height: 34px;
    text-align: left;
  }

  /* ---------- 募集中の職種 ---------- */
  .rq-listing {
    padding: 227px 0 236px;
  }

  /* コンテンツ幅1160（x=140〜1300）、狭い画面では左右30 */
  .rq-listing .top-inner {
    width: min(1160px, calc(100% - 60px));
    margin: 0 auto;
    padding: 0;
  }

  .rq-label {
    font-size: 18px;
    font-weight: 400;
    line-height: 44px;
  }

  /* ( Search ) と下の罫線（2px・コンテンツ幅） */
  .rq-label--search,
  .rq-label--first {
    margin-top: 85px;
  }

  .rq-label--search {
    padding-bottom: 21px;
    border-bottom-width: 2px;
    font-weight: 500;
  }

  /* エリア（左・ピルの上下中央）＋ピル（x=462から115×42を6列） */
  .rq-filter {
    display: grid;
    grid-template-columns: 322px 1fr;
    align-items: center;
    padding-top: 82px;
  }

  .rq-filter__title {
    margin: 0;
    padding-left: 38px;
    font-size: 26px;
    line-height: 31px;
  }

  .rq-filter__pills {
    grid-template-columns: repeat(6, 115px);
    gap: 18px 15px;
    margin: 0;
  }

  .rq-page .rq-pill {
    height: 42px;
    border-width: 2px;
    font-size: 16px;
  }

  /* 条件をクリア／検索する（300×62を中央に横並び） */
  .rq-actions {
    flex-direction: row;
    justify-content: center;
    gap: 31px;
    margin-top: 119px;
  }

  .rq-actions .top-btn {
    width: 300px;
  }

  .rq-actions .top-btn--outline {
    border-width: 2px;
  }

  .rq-label--count {
    margin-top: 133px;
  }

  /* カード（564×290を2列、間32） */
  .rq-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 20px;
  }

  .rq-card {
    min-height: 290px;
    padding: 38px 32px 44px;
    border-top-width: 6px;
  }

  .rq-card__title {
    font-size: 26px;
    line-height: 32px;
  }

  .rq-card__desc {
    margin-top: 13px;
    font-size: 18px;
    line-height: 30px;
  }

  /* 右下のボタン（70×70）と重ならないよう、職種・エリアだけ右を空ける */
  .rq-card__meta {
    margin-top: 29px;
    padding-right: 80px;
    font-size: 18px;
    line-height: 34px;
  }

  .rq-card__th {
    flex-basis: 110px;
  }

  .rq-card__btn {
    right: 29px;
    bottom: 35px;
    width: 70px;
    height: 70px;
  }

  .rq-card__btn .top-tri {
    width: 30px;
    height: 12px;
  }

  /* ---------- 応募の流れ（245幅×4列・間60、丸数字を線でつなぐ） ---------- */
  .rq-flow {
    padding: 227px 0 236px;
  }

  /* リードの最終行を和文見出しの字面の下端に揃える */
  .rq-flow .top-sechead .top-lead {
    margin-bottom: -4px;
  }

  .rq-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    width: min(1160px, calc(100% - 60px));
    margin: 100px auto 0;
  }

  /* 1つ目〜4つ目の丸の中心を結ぶ線（列幅の半分＝(100% - 間60×3) / 8） */
  .rq-steps::before {
    content: "";
    position: absolute;
    top: 32px;
    left: calc((100% - 180px) / 8);
    right: calc((100% - 180px) / 8);
    border-top: 2px solid var(--navy);
  }

  .rq-step {
    padding: 0;
    text-align: center;
  }

  .rq-step + .rq-step {
    margin-top: 0;
  }

  .rq-step::before {
    content: none;
  }

  .rq-step__num {
    position: relative;
    left: auto;
    z-index: 1;
    width: 65px;
    height: 65px;
    margin: 0 auto;
    border-width: 2px;
    background: #fff;
    font-size: 26px;
  }

  .rq-step__title {
    margin-top: 45px;
    padding: 0;
    font-size: 26px;
    line-height: 36px;
  }

  .rq-step__desc {
    margin-top: 11px;
    font-size: 20px;
    line-height: 34px;
  }
}

/* PC幅の狭い範囲（992〜1199px）：ピル・カード・流れを一回り小さく */
@media (min-width: 992px) and (max-width: 1199.98px) {

  .rq-filter {
    grid-template-columns: 200px 1fr;
  }

  .rq-filter__title {
    padding-left: 20px;
  }

  .rq-filter__pills {
    grid-template-columns: repeat(5, 110px);
    gap: 14px 12px;
  }

  .rq-card__title {
    font-size: 22px;
  }

  .rq-card__desc,
  .rq-card__meta {
    font-size: 16px;
  }

  .rq-card__btn {
    width: 56px;
    height: 56px;
  }

  .rq-steps {
    gap: 30px;
  }

  .rq-steps::before {
    left: calc((100% - 90px) / 8);
    right: calc((100% - 90px) / 8);
  }

  .rq-step__title {
    font-size: 22px;
  }

  .rq-step__desc {
    font-size: 17px;
    line-height: 30px;
  }
}
