@charset "UTF-8";

/* ============================================================
   recruit.css
   採用情報（ハブ）ページ専用スタイル
   ・採用関連ページへのリンクをカードで一覧表示
   共通パーツは common.css / global-menu.css を参照
============================================================ */

.recruit-hub-page { padding: 60px 0 100px; }

/* ページタイトル */
.recruit-hub-eyebrow {
  text-align: center;
  font-family: var(--font-mincho);   /* v17：ゴシック→明朝 */
  font-style: normal;              /* v17：斜体をやめた */
  font-size: 0.97rem;
  letter-spacing: 0.22em;
  color: var(--color-mauve-light);  /* v17：#0065B0 → #18BFD7 */
  margin: 0 0 4px;                 /* v17：h1との間隔を 8px→4px に */
}
.recruit-hub-title {
  font-family: var(--font-mincho);
  text-align: center;
  font-size: 1.8rem;
  font-weight: 400;   /* v17：PCを一段階太く（300→400）。SPは768px以下で700に上書き */
  color: var(--text-heading);
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}
.recruit-hub-lead {
  text-align: center;
  font-size: 1.0rem;
  color: var(--text-light);
  line-height: 1.9;
  margin: 0 0 44px;
}
@media screen and (max-width: 768px) {
  /* v17：SPのページタイトルを統一（明朝700 / 27px / 字間0.04em）。
     font-family は上のベース宣言（var(--font-mincho)）を継承。
     1rem＝18px なので 1.5rem＝27px。ウェイトは 300/500 → 700 に上げる。 */
  .recruit-hub-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
}

/* ============================================================
   リンクカード一覧
============================================================ */
.recruit-hub-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media screen and (max-width: 640px) {
  /* ⚠ .recruit-hub-card / .recruit-hub-icon の指定はここには書けない。
     基底ルールがこのブロックより後ろにあり、同じ詳細度なので後勝ちで無効になる（§9-①）。
     基底の直後（.recruit-hub-icon の下）にまとめて置いてある */
  .recruit-hub-grid { grid-template-columns: 1fr; gap: 14px; }
}

.recruit-hub-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 26px 26px;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(34, 34, 34, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.recruit-hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 5px;
  background: var(--gradient-blue);
}
.recruit-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(34, 34, 34, 0.1);
  opacity: 1;
}

/* ------------------------------------------------------------
   アイコン枠（薄ピンクの丸＋イラスト）＋通し番号
   トップページの ws-icon と同じく、薄ピンク地の上にアイコンを重ねる。
   番号は主張しすぎないよう左上の小さなアクセントとして残す。
------------------------------------------------------------ */
.recruit-hub-icon {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-pink-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
/* SP（640px以下）：カード内の余白とアイコンを一段詰める。
   ⚠ このブロックは必ず上の基底 .recruit-hub-card / .recruit-hub-icon より後ろに置くこと。
      640px以下のブロックを基底より前に書くと後勝ちで効かない
      （v15まで gap/padding/62px の指定が丸ごと死んでいた／§9-①）。 */
@media screen and (max-width: 640px) {
  .recruit-hub-card { gap: 14px; padding: 22px 20px; }
  .recruit-hub-icon { width: 62px; height: 62px; }
}

/* 写真（丸く全面表示・差し替え前提） */
.recruit-hub-illust {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 通し番号（アイコン左上の小バッジ） */
.recruit-hub-num {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-mauve);
  color: var(--color-blue-ink);
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: 0.83rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(34, 34, 34, 0.08);
}

.recruit-hub-body { flex: 1; min-width: 0; }
.recruit-hub-card-eyebrow {
  display: block;
  font-family: var(--font-gothic);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--color-blue-ink);
  margin: 0 0 3px;
}
.recruit-hub-card-title {
  font-family: var(--font-mincho);
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--text-heading);
  margin: 0 0 8px;
  line-height: 1.5;
}
.recruit-hub-card-desc {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* 右端の矢印 */
.recruit-hub-arrow {
  flex-shrink: 0;
  align-self: center;
  font-size: 1.4rem;
  color: var(--color-blue-ink);
  line-height: 1;
}

/* ============================================================
   ページ下部CTA
============================================================ */
.recruit-hub-cta {
  margin-top: 56px;
  text-align: center;
  padding: 50px 20px;
  background: var(--color-pink-pale);
  border-radius: 16px;
}
.recruit-hub-cta-text {
  font-family: var(--font-gothic);
  font-size: 1.02rem;
  color: var(--text-main);
  margin: 0 0 22px;
  line-height: 1.8;
}
.recruit-hub-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.recruit-hub-cta-btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: 0.98rem;
  transition: opacity 0.2s ease;
  border-radius: 999px;
  background: var(--gradient-blue);
  color: #fff;
  border: 0;
}
.recruit-hub-cta-btn:hover { opacity: 0.8; }
.recruit-hub-cta-btn-primary {
  border-radius: 999px;
  background: var(--gradient-blue);
  color: #fff;
  border: 0;
}
.recruit-hub-cta-btn-outline {
  border-radius: 999px;
  background: var(--gradient-blue);
  color: #fff;
  border: 0;
}
