/* ============================================================
   CAREERS HERO — 採用ページ ヒーロー（ページ固有オーバーライド）
   共通スタイルは css/common/photo-hero-base.css で定義済み。
   デザイン: 2段コピー（リード小+パンチ大）+ ズームアニメーション
   更新: 2026/04/08 — FV改善（コピー・CTA・可読性・採用導線）
   ============================================================ */

/* ---- 背景画像 ---- */
.careers-hero__photo {
  background-image: url('../../assets/img/careers-hero-bg.jpg');
  background-image: url('../../assets/img/careers-hero-bg.webp');
  background-position: center center;
  animation: careers-hero-zoom 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes careers-hero-zoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .careers-hero__photo {
    animation: none;
  }
}

/* ---- オーバーレイ: 可読性重視で全体的にやや強め ---- */
.careers-hero {
  --phb-overlay-start: 0.72;
  --phb-overlay-mid: 0.65;
  --phb-overlay-end1: 0.55;
  --phb-overlay-end2: 0.50;
  --phb-mobile-overlay-top: 0.72;
  --phb-mobile-overlay-bottom: 0.65;
}

/* ---- コンテナ: 縦中央 ---- */
.careers-hero__container {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-top: var(--s-header-h, 80px);
  padding-bottom: 80px;
  min-height: max(100vh, 640px);
}

/* ---- コンテンツ ---- */
.careers-hero__content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
}

/* ---- eyebrow: センター ---- */
.careers-hero .photo-hero-base__eyebrow {
  justify-content: center;
  margin-bottom: 32px;
}

/* ---- パンチ リードコピー（小・上行） ---- */
.careers-hero__punch-lead {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

/* ---- パンチ（超大型・ゴシック太字） ---- */
.careers-hero__punch {
  font-family: var(--f-body, 'Noto Sans JP', sans-serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin: 0 0 40px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

/* ---- サブコピー: 可読性重視（行間・色・最大幅） ---- */
.careers-hero .photo-hero-base__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
}

/* ============================================================
   CTA: 2ボタン構成（主CTA + 副CTA）
   ============================================================ */
.careers-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* 主CTA: ゴールドベースで目立たせる */
.careers-hero__btn-primary {
  font-size: 1.05rem;
  padding: 18px 44px;
}

/* 副CTA: 半透明背景・白ボーダー — 視認性重視 */
.careers-hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  font-family: var(--f-body, 'Noto Sans JP', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  transition:
    background var(--t-base, 0.4s) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    border-color var(--t-base, 0.4s) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    color var(--t-base, 0.4s) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    transform var(--t-base, 0.4s) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.careers-hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.80);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.careers-hero__btn-secondary:focus-visible {
  outline: 2px solid var(--c-gold, #C9A84C);
  outline-offset: 3px;
}

.careers-hero__btn-secondary-arrow {
  font-size: 1.1em;
  transition: transform var(--t-base, 0.4s) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.careers-hero__btn-secondary:hover .careers-hero__btn-secondary-arrow {
  transform: translateY(3px);
}

/* ---- CTA: センター ---- */
.careers-hero .photo-hero-base__cta {
  align-items: center;
}

/* ---- en-deco: センター ---- */
.careers-hero .photo-hero-base__en-deco {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  opacity: 0.6;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .careers-hero__punch {
    font-size: clamp(3.5rem, 9vw, 6rem);
  }
}

@media (max-width: 768px) {
  .careers-hero__container {
    padding-top: var(--s-header-h, 80px);
    padding-bottom: 60px;
  }

  .careers-hero__content {
    margin-top: 12px;
    max-width: 100%;
  }

  .careers-hero__punch {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
    margin-bottom: 28px;
  }

  .careers-hero .photo-hero-base__subtitle {
    font-size: 1rem;
    line-height: 1.95;
    max-width: 100%;
    padding: 0 8px;
  }

  /* CTA: スマホで縦積み・幅広 */
  .careers-hero__btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px 32px;
  }

  .careers-hero__btn-secondary {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 13px 28px;
  }
}

@media (max-width: 480px) {
  .careers-hero__punch {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }
}
