/* ================================================
   Recruit Page Styles  ── willstyle系 モノトーン
   palette:
     bg        #f1f0ed   ウォームグレー
     heading   #2a2926   チャコール
     body      #6e6d69   グレー
     sub       #a3a29e   ライトグレー
     line      #dad9d4   ヘアライン
   ※reluster のベージュ/ゴールドは一切使わない
   ================================================ */

/* ---------- SCROLL REVEAL ---------- */
.nc-rc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.nc-rc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 共通セクション見出し（左揃え） ---------- */
.nc-recruit-head {
  margin-bottom: 64px;
}
.nc-recruit-head__title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 400;
  color: #2a2926;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nc-recruit-head__sub {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 400;
  color: #a3a29e;
  letter-spacing: 0.18em;
  margin-top: 12px;
}

/* ================================================
   1. 理念（PHILOSOPHY）写真左 ＋ 右に段組みテキスト
   FV後の最初のセクション：固定背景の上に被せる
   ================================================ */
.nc-recruit-philosophy {
  position: relative;
  z-index: 1;
  background: #fff;
  margin-top: 0;
  padding: 220px 80px 140px;
}

.nc-recruit-philosophy__inner {
  /* 中央寄せの箱にせず、画面幅をいっぱいに使う（超ワイドだけ1800pxで制御） */
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end; 
}

/* 左：縦長写真（パララックス対応） */
.nc-recruit-philosophy__photo {
  flex: 0 0 auto;
  width: clamp(360px, 32vw, 560px);
  margin-left: 6%;
  aspect-ratio: 4 / 5;     /* 枠の比率は容器側で固定 */
  position: relative;
  overflow: hidden;        /* はみ出しを隠す（動く余白を隠す） */
}
.nc-recruit-philosophy__photo img {
  position: absolute;
  top: -10%;               /* 上下に10%ずつ余白を持たせて中央配置 */
  left: 0;
  width: 100%;
  height: 120%;            /* 余分な20%が上下に動くための余白 */
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* 右：段組みテキスト（塊ごと右へ寄せ・下端を写真に合わせる） */
.nc-recruit-philosophy__text {
  flex: 0 1 auto;
  margin-left: auto;   /* 右側へ押し出す */
  margin-right: 12%;   /* 右端から離す（参考に合わせる）。右へ寄せたいなら数値を小さく */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;  /* 段落の左端を揃える（テキストは左揃え） */
  padding-bottom: 0;
}

.nc-recruit-philosophy__block {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 15px;
  color: #333 !important;
  line-height: 2.4;
  letter-spacing: 0.08em;
}
.nc-recruit-philosophy__block + .nc-recruit-philosophy__block {
  margin-top: 48px;
}
/* スタッガー */
.nc-recruit-philosophy__block:nth-child(2) { transition-delay: 0.12s; }
.nc-recruit-philosophy__block:nth-child(3) { transition-delay: 0.24s; }

/* ================================================
   2. MEMBERS VOICE（ホバー/矢印で展開するカード）
   ================================================ */
.nc-recruit-voices {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 120px 0;
}
.nc-recruit-voices .nc-recruit-head {
  padding: 0 80px;
}

/* 4枚を等幅で横並び（スクロールしない） */
.nc-recruit-voices__row {
  display: flex;
  gap: 32px;
  padding: 0 80px;
}

.nc-recruit-voice-card {
  flex: 1 1 0;
  min-width: 0;
  height: 500px;            /* カード全体の高さは固定（行が動かない） */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  background: #e9e8e4;
}

/* 画像：通常は縦長で全面 → 展開で縮む */
.nc-recruit-voice-card__img {
  position: relative;
  flex: 0 0 500px;          /* 通常：カードいっぱい */
  overflow: hidden;
  transition: flex-basis 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.nc-recruit-voice-card.is-active .nc-recruit-voice-card__img {
  flex-basis: 240px;        /* 展開：小さく */
}
.nc-recruit-voice-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 画像上のラベル（役職・名前）：通常は表示、展開で消える */
.nc-recruit-voice-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(20,20,18,0.62), rgba(20,20,18,0));
  opacity: 1;
  transition: opacity 0.4s ease;
}
.nc-recruit-voice-card.is-active .nc-recruit-voice-card__label {
  opacity: 0;
}
.nc-recruit-voice-card__label-role {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.82);
  display: block;
  margin-bottom: 5px;
}
.nc-recruit-voice-card__label-name {
  font-family: var(--font-jp);
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.06em;
}

/* 本文：通常は隠れ、展開でフェードイン */
.nc-recruit-voice-card__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 26px 26px 28px;   /* padding-top: 22px から変更（上・左右・下に余白） */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease 0.1s, transform 0.45s ease 0.1s;
}
.nc-recruit-voice-card.is-active .nc-recruit-voice-card__body {
  opacity: 1;
  transform: none;
}
.nc-recruit-voice-card__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  color: #2a2926;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.nc-recruit-voice-card__excerpt {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 13px;
  color: #6e6d69;
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nc-recruit-voice-card__meta {
  border-top: 1px solid #dad9d4;
  padding-top: 14px;
}
.nc-recruit-voice-card__role {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #a3a29e;
  display: block;
  margin-bottom: 4px;
}
.nc-recruit-voice-card__name {
  font-family: var(--font-jp);
  font-size: 14px;
  color: #2a2926;
  letter-spacing: 0.06em;
}

/* フッター：位置インジケーター（左）＋送り（右） */
.nc-recruit-voices__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 80px 0;
}
.nc-recruit-voices__progress {
  position: relative;
  flex: 1;
  max-width: 420px;
  height: 1px;
  background: #dad9d4;
}
.nc-recruit-voices__progress span {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 25%;
  background: #2a2926;
  transition: width 0.35s ease;
}
.nc-recruit-voices__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.nc-recruit-voices__nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #2a2926;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.25s ease;
}
.nc-recruit-voices__nav-btn:hover {
  background: #2a2926;
}
.nc-recruit-voices__nav-btn svg {
  width: 16px;
  height: 16px;
  stroke: #2a2926;
  fill: none;
  stroke-width: 1.4;
  transition: stroke 0.25s ease;
}
.nc-recruit-voices__nav-btn:hover svg {
  stroke: #ffffff;
}

/* ================================================
   3. SLIDESHOW（全幅・横マーキー）
   ================================================ */
.nc-recruit-gallery {
  position: relative;
  z-index: 2;
  /* 上120px=透明(Academy画像が透ける) / それ以下=白 */
  background: linear-gradient(to bottom, transparent 120px, #fff 120px);
  overflow: hidden;
  padding: 0;
  margin-top: -120px;
}
.nc-recruit-gallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: nc-rc-marquee 48s linear infinite;
}

.nc-recruit-gallery__item {
  flex: 0 0 auto;
  width: 460px;          /* 320px から拡大 */
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.nc-recruit-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes nc-rc-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 8px)); } /* gap分を補正 */
}

/* ================================================
   4. ACADEMY（左：タイトル/リード ＋ 右：画像背景のスケジュール）
   ================================================ */
.nc-recruit-academy {
  position: relative;
  z-index: 1;
  background: #fff;
}
.nc-recruit-academy__lead {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 14px;
  color: #333;
  line-height: 2.8;          /* 2.2 → 2.4（理念セクションと同じ行間） */
  letter-spacing: 0.17em;
  margin: 470px 0 0 auto;    /* 先頭の数値で高さ調整。黒い四角あたりまで下げる */
  max-width: 58%;
}

/* Academy：左右2カラム */
.nc-recruit-academy__inner {
  display: flex;
  align-items: stretch;   /* 左の色ブロックも右の画像と同じ高さに伸びる */
  gap: 0;                 /* 6% → 0。画像と左ブロックをぴったり接する */
}
.nc-recruit-academy__left {
  flex: 0 0 50%;
  padding: 100px 80px;
}

.nc-recruit-academy__right {
  flex: 1;
  min-width: 0;
  padding: 100px 82px 200px;
  position: relative;   /* 追加 */
  overflow: hidden;     /* 追加：はみ出す画像を隠す */
}
.nc-recruit-academy__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.nc-recruit-academy__bg img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;         /* 動く余白 */
  object-fit: cover;
  display: block;
  will-change: transform;
}
.nc-recruit-academy__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20,20,18,0.35);  /* 元の暗さを再現するオーバーレイ */
}


.nc-recruit-academy__timeline {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;   /* 追加：画像の上に文字を乗せる */
}

.nc-recruit-academy__timeline::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #dad9d4;
}
.nc-recruit-academy__step {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  padding-bottom: 44px;
}
.nc-recruit-academy__step:last-child {
  padding-bottom: 0;
}
.nc-recruit-academy__step::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f1f0ed;
  border: 1px solid #2a2926;
  transform: translateX(-50%);
  z-index: 1;
}
.nc-recruit-academy__month {
  color: #ffffff;
  text-align: right;
  padding-top: 1px;
  padding-right: 24px;
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);   /* 追加 */
}
.nc-recruit-academy__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nc-recruit-academy__tag {
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(20,20,18,0.6);          /* transparent → 半透明の黒下地 */
  backdrop-filter: blur(2px);              /* 後ろを軽くぼかして更に可読性UP（任意） */
  -webkit-backdrop-filter: blur(2px);
}
.nc-recruit-academy__timeline::before {
  background: rgba(255,255,255,0.35);           /* #dad9d4 から */
}
.nc-recruit-academy__step::before {
  background: transparent;                      /* #f1f0ed から */
  border: 1px solid rgba(255,255,255,0.8);      /* #2a2926 から */
}
.nc-recruit-academy__step--goal::before {
  background: #ffffff;                          /* #2a2926 から */
  width: 13px;
  height: 13px;
  top: 4px;
}
.nc-recruit-academy__goal-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);                 /* #a3a29e から */
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.nc-recruit-academy__goal-text {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: 0.06em;
  color: #ffffff;                               /* #2a2926 から */
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}


/* ================================================
   固定背景バンド（画像は画面固定・窓だけ動く）
   ================================================ */
.nc-recruit-band {
  position: relative;
  z-index: 1;
  background: #fff;   /* 窓のまわりの色。#fff にもできる */
  padding: 20px 0 180px;       /* ← 上下の余白 */
}
.nc-recruit-band__window {
  height: 46vh;
  margin: 0 110px;
  background-image: url('https://neocraft-group.com/wp-content/uploads/2026/06/LINE_ALBUM_SIGMA-梅田本店_260526_7.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;   /* 追加 */
  overflow: hidden;     /* 追加 */
}
.nc-recruit-band__window img {
  display: none;        /* PCは背景画像を使うのでimgは隠す */
}

/* ================================================
   5. FAQ
   ================================================ */
.nc-recruit-faq {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 120px 80px;
}
.nc-recruit-faq__list {
  width: 80%;
  margin-left: auto;   /* リストだけ右へ寄せる（NEWSと同じ） */
}
.nc-recruit-faq__item {
  border-top: 1px solid #dad9d4;
}
.nc-recruit-faq__item:last-child {
  border-bottom: 1px solid #dad9d4;
}
.nc-recruit-faq__q {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  cursor: pointer;
  user-select: none;
}
.nc-recruit-faq__mark {
  font-family: var(--font-en);
  font-size: 17px;
  color: #2a2926;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.nc-recruit-faq__q-text {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 15px;
  color: #2a2926;
  letter-spacing: 0.05em;
  line-height: 1.6;
  flex-grow: 1;
}
.nc-recruit-faq__toggle {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}
.nc-recruit-faq__toggle::before,
.nc-recruit-faq__toggle::after {
  content: '';
  position: absolute;
  background: #2a2926;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nc-recruit-faq__toggle::before {
  width: 14px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.nc-recruit-faq__toggle::after {
  width: 1px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.nc-recruit-faq__item.is-open .nc-recruit-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.nc-recruit-faq__a {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.nc-recruit-faq__a-text {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 14px;
  color: #6e6d69;
  line-height: 2;
  letter-spacing: 0.05em;
  padding-bottom: 28px;
}

/* ================================================
   6. CTA wrapper / FOOTER / 横スクロール防止
   ================================================ */
.nc-recruit-page-cta {
  position: relative;
  z-index: 1;
  background: #f1f0ed;
}
#commonFooter {
  position: relative;
  z-index: 1;
  background: #f1f0ed !important;
}
html:has(.page-template-page-recruit),
.page-template-page-recruit {
  overflow-x: clip;
  max-width: 100%;
}

/* ================================================
   RESPONSIVE（768px以下）
   ================================================ */
@media (max-width: 768px) {

  .nc-recruit-philosophy,
  .nc-recruit-voices,
  .nc-recruit-academy,
  .nc-recruit-faq {
    overflow-x: hidden;
  }

  /* 共通：左右余白40px（Academyは全幅にするため含めない） */
  .nc-recruit-philosophy,
  .nc-recruit-faq {
    padding-left: 20px !important;   /* 40 → 20 */
    padding-right: 20px !important;  /* 40 → 20 */
  }


  .nc-recruit-philosophy {
    margin-top: 100vh;
    padding-top: 40px;
    padding-bottom: 40px;
  }


  .nc-recruit-head {
    margin-bottom: 40px;
  }


  .nc-recruit-philosophy__inner {
    flex-direction: column;
    gap: 40px;
  }
  .nc-recruit-philosophy__photo {
    flex: none;
    width: 100%;
    aspect-ratio: 3 / 4;   /* スマホは3:4 */
  }

  .nc-recruit-philosophy__text {
    margin-left: 0;
    margin-right: 0;
    align-items: stretch;
    padding-bottom: 0;
  }

  .nc-recruit-philosophy__block {
    font-size: 13px;
  }

  .nc-recruit-philosophy__block + .nc-recruit-philosophy__block {
    margin-top: 20px;   /* 36px → 20px（段落の間隔を狭く） */
  }

  .nc-recruit-philosophy__block br {
    display: none;
  }


 /* MEMBERS VOICE：スマホは横スクロール、タップ/矢印で展開 */
  .nc-recruit-voices {
    padding: 80px 0;
  }
   .nc-recruit-voices .nc-recruit-head {
    padding: 0 20px;          /* 0 40px → 0 20px */
  }
  .nc-recruit-voices__row {
    gap: 16px;
    padding: 0 20px;          /* 0 40px → 0 20px */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .nc-recruit-voices__foot {
    padding: 32px 20px 0;     /* 32px 40px 0 → 32px 20px 0 */
  }

  .nc-recruit-voices__row::-webkit-scrollbar { display: none; }
  .nc-recruit-voice-card {
    flex: 0 0 76vw;
    scroll-snap-align: center;
    height: 460px;
  }
  .nc-recruit-voice-card__img {
    flex-basis: 460px;
  }
  .nc-recruit-voice-card.is-active .nc-recruit-voice-card__img {
    flex-basis: 220px;
  }

  /* SLIDESHOW：高さを抑える */
  .nc-recruit-gallery__item {
    width: 240px;
  }

  .nc-recruit-gallery {
    margin-top: -60px;
    background: linear-gradient(to bottom, transparent 60px, #fff 60px);
  }

  /* ACADEMY：縦積み（左ブロック → 画像ブロック） */
  .nc-recruit-academy__inner {
    flex-direction: column;
  }
  .nc-recruit-academy__left {
    flex: none;
    width: 100%;
    padding: 80px 20px;       /* 80px 40px → 80px 20px */
  }
  .nc-recruit-academy__right {
    padding: 64px 20px 140px; /* 64px 28px 140px → 64px 20px 140px */
  }

  .nc-recruit-academy__lead {
    font-size: 13px;        /* 追加：スマホだけ一回り小さく */
    margin: 0 0 32px;
    max-width: none;
  }
  .nc-recruit-academy__timeline::before {
    left: 6px;
  }
  .nc-recruit-academy__step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 32px;
    padding-bottom: 36px;
  }
  .nc-recruit-academy__step::before,
  .nc-recruit-academy__step--goal::before {
    left: 6px;
  }
  .nc-recruit-academy__month {
    text-align: left;
    padding-right: 0;
  }
  .nc-recruit-band {
    padding: 24px 0 48px;   /* 上を詰める */
  }
  .nc-recruit-band__window {
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 0 20px;
    background-attachment: scroll;
  }
  .nc-recruit-band__window img {
    display: block;
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;        /* 動く余白 */
    object-fit: cover;
    will-change: transform;
  }


  /* FAQ */
.nc-recruit-faq__list {
    width: 100%;
    margin-left: 0;
  }
  .nc-recruit-faq {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .nc-recruit-faq__q {
    gap: 14px;
    padding: 22px 0;
  }
  .nc-recruit-faq__a {
    gap: 14px;
  }
  .nc-recruit-faq__q-text {
    font-size: 14px;
  }
}