/**
 * nagaso_recruit.css  ——  採用LP
 * 永惣 採用情報ランディングページ スタイル
 * 株式会社永惣 / Kabushiki Kaisha Nagasou
 *
 * 設計方針:
 *   - BEM記法（Block__Element--Modifier）
 *   - モバイルファースト
 *   - 名前空間 ngr- （Nagasou Recruit）
 *   - Cocoon CSS / nagasou-front.css と競合しない設計
 *   - CSS カスタムプロパティで一元管理
 *
 * ─── TABLE OF CONTENTS ───
 * 1.  DESIGN TOKENS
 * 2.  RESET / BASE
 * 3.  SKIP LINK
 * 4.  SCROLL REVEAL
 * 5.  LAYOUT UTILITIES
 * 6.  TYPOGRAPHY UTILITIES
 * 7.  BUTTONS
 * 8.  TAGS
 * 9.  HERO
 * 10. STORY
 * 11. JOBS (TABS)
 * 12. VALUES
 * 13. VOICE
 * 14. RECRUIT CARDS
 * 15. CTA
 * 16. PAGE TOP BUTTON
 * 17. RESPONSIVE — Tablet (≤1024px)
 * 18. RESPONSIVE — Mobile (≤768px)
 * 19. RESPONSIVE — Small (≤480px)
 */

/* ─────────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  /* Brand Colors (共通) */
  --ngr-gold:        #C9A84C;
  --ngr-gold-l:      #E8CF80;
  --ngr-gold-d:      #8B6C28;
  --ngr-gold-bg:     rgba(201,168,76,.08);
  --ngr-gold-brd:    rgba(201,168,76,.22);
  --ngr-gold-pale:   #fdf9ef;
  --ngr-sky:         #5AAFE0;
  --ngr-sky-d:       #2A7CAD;
  --ngr-sky-pale:    #e8f4fa;
  --ngr-olive:       #8BAB6E;
  --ngr-olive-pale:  #f0f5eb;
  --ngr-ink:         #1E2420;
  --ngr-ink-m:       #3D4A42;
  --ngr-ink-l:       #6a7a72;
  --ngr-cream:       #FAFAF7;
  --ngr-cream-d:     #F2F0EB;
  /* Typography */
  --ngr-serif:       'Noto Serif JP', 'Times New Roman', serif;
  --ngr-display:     'Cormorant Garamond', Georgia, serif;
  --ngr-condensed:   'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ngr-sans:        'Noto Sans JP', sans-serif;
  /* Easing */
  --ngr-ease:        cubic-bezier(0.16,1,0.3,1);
  --ngr-spring:      cubic-bezier(0.34,1.56,0.64,1);
  /* Layout */
  --ngr-container:   1140px;
  --ngr-section-py:  80px;
  --ngr-header-h:    72px;
  /* Per-element delay (overridden inline) */
  --ngr-delay:       0s;
}

/* ─────────────────────────────────────────────
   2. RESET / BASE
───────────────────────────────────────────── */
.nagaso-recruit-body {
  font-family: var(--ngr-serif);
  background: var(--ngr-ink);
  color: var(--ngr-cream);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.ngr-main { display: block; }
.ngr-main *, .ngr-main *::before, .ngr-main *::after { box-sizing: border-box; }
.ngr-main img   { max-width: 100%; display: block; }
.ngr-main a     { text-decoration: none; color: inherit; }
.ngr-main button { cursor: pointer; border: none; background: none; }
.ngr-main ul, .ngr-main ol { list-style: none; margin: 0; padding: 0; }
.ngr-main address { font-style: normal; }

/* ─────────────────────────────────────────────
   3. SKIP LINK
───────────────────────────────────────────── */
.ngr-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--ngr-gold);
  color: var(--ngr-ink);
  font-family: var(--ngr-sans);
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top .2s;
}
.ngr-skip-link:focus { top: 0; }

/* ─────────────────────────────────────────────
   4. SCROLL REVEAL
───────────────────────────────────────────── */
.ngr-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity .9s var(--ngr-ease) var(--ngr-delay),
    transform .9s var(--ngr-ease) var(--ngr-delay);
}
.ngr-reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity .9s var(--ngr-ease), transform .9s var(--ngr-ease);
}
.ngr-reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity .9s var(--ngr-ease), transform .9s var(--ngr-ease);
}
.ngr-reveal.is-visible,
.ngr-reveal-left.is-visible,
.ngr-reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────
   5. LAYOUT UTILITIES
───────────────────────────────────────────── */
.ngr-container {
  max-width: var(--ngr-container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.ngr-section {
  padding: var(--ngr-section-py) 0;
  position: relative;
}
.ngr-section--dark    { background: var(--ngr-ink); }
.ngr-section--ink     { background: #141f17; }
.ngr-section--cream   { background: var(--ngr-cream); color: var(--ngr-ink); }
.ngr-section--cream-d { background: var(--ngr-cream-d); color: var(--ngr-ink); }

/* ─────────────────────────────────────────────
   6. TYPOGRAPHY UTILITIES
───────────────────────────────────────────── */
.ngr-section-en {
  display: block;
  font-family: var(--ngr-display);
  font-style: italic;
  font-size: clamp(.72rem, 1.2vw, .82rem);
  letter-spacing: .3em;
  color: var(--ngr-gold);
  margin-bottom: .6rem;
}
.ngr-section-title {
  font-family: var(--ngr-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ngr-cream);
  margin-bottom: 1rem;
  letter-spacing: .04em;
}
.ngr-section-title strong { font-weight: 600; color: var(--ngr-sky); }
.ngr-section-title--dark { color: var(--ngr-ink); }
.ngr-section-title--dark strong { color: var(--ngr-sky-d); }
.ngr-section-lead {
  font-size: clamp(.84rem, 1.5vw, .92rem);
  color: rgba(250,250,247,.6);
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
}
.ngr-section-lead--dark { color: var(--ngr-ink-m); }

.ngr-section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* ゴールドライン区切り */
.ngr-gold-bar {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--ngr-gold) 0%, var(--ngr-gold-l) 100%);
  border-radius: 2px;
  margin: 1.2rem 0 1.8rem;
}

/* ─────────────────────────────────────────────
   7. BUTTONS
───────────────────────────────────────────── */
.ngr-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ngr-sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  border-radius: 50px;
  padding: .85rem 2rem;
  min-height: 48px;
  text-decoration: none;
  transition: transform .25s var(--ngr-ease), box-shadow .25s, background .25s, border-color .25s;
  cursor: pointer;
  border: none;
}
.ngr-btn--primary {
  background: linear-gradient(135deg, var(--ngr-sky) 0%, var(--ngr-sky-d) 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(42,124,173,.3);
}
.ngr-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(42,124,173,.45);
}
.ngr-btn--ghost {
  background: transparent;
  color: rgba(250,250,247,.75);
  border: 1.5px solid rgba(250,250,247,.25);
}
.ngr-btn--ghost:hover {
  border-color: rgba(250,250,247,.6);
  color: var(--ngr-cream);
  background: rgba(255,255,255,.05);
}
.ngr-btn--dark {
  background: var(--ngr-ink);
  color: var(--ngr-gold-l);
  border: 1.5px solid var(--ngr-gold-brd);
}
.ngr-btn--dark:hover {
  background: rgba(201,168,76,.1);
  border-color: var(--ngr-gold);
  transform: translateY(-2px);
}
.ngr-btn--cta {
  background: linear-gradient(135deg, var(--ngr-sky) 0%, var(--ngr-sky-d) 100%);
  color: #fff;
  font-size: .92rem;
  padding: 1.1rem 3rem;
  box-shadow: 0 8px 32px rgba(42,124,173,.4);
  letter-spacing: .14em;
}
.ngr-btn--cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(42,124,173,.5);
}
.ngr-btn--full { width: 100%; justify-content: center; margin-top: 1.2rem; }

/* ─────────────────────────────────────────────
   8. TAGS
───────────────────────────────────────────── */
.ngr-tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.ngr-tag {
  padding: .28rem .75rem;
  border-radius: 50px;
  font-size: .68rem;
  letter-spacing: .07em;
  font-family: var(--ngr-sans);
  border: 1px solid;
}
.ngr-tag--sky   { border-color: var(--ngr-sky);   color: var(--ngr-sky-d);  background: var(--ngr-sky-pale); }
.ngr-tag--gold  { border-color: var(--ngr-gold);  color: #7a5a00;           background: var(--ngr-gold-pale); }
.ngr-tag--olive { border-color: var(--ngr-olive); color: #3d5228;           background: var(--ngr-olive-pale); }

/* ─────────────────────────────────────────────
   9. HERO
───────────────────────────────────────────── */
.ngr-hero {
  min-height: 100vh;
  padding-top: var(--ngr-header-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--ngr-ink);
}

/* スマホ背景（PCでは非表示） */
.ngr-hero__bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
}
.ngr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20,31,23,.88) 0%, rgba(20,31,23,.6) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.ngr-hero__inner {
  width: 100%;
  max-width: var(--ngr-container);
  margin: 0 auto;
  padding: 4rem clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* テキスト側 */
.ngr-hero__text {}

.ngr-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--ngr-display);
  font-style: italic;
  font-size: .82rem;
  letter-spacing: .22em;
  color: var(--ngr-gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: ngrFadeUp .9s var(--ngr-ease) .1s forwards;
}
.ngr-hero__eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--ngr-gold);
  flex-shrink: 0;
}

.ngr-hero__title {
  font-family: var(--ngr-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.22;
  color: var(--ngr-cream);
  margin-bottom: 1rem;
  letter-spacing: .04em;
  opacity: 0;
  animation: ngrFadeUp .9s var(--ngr-ease) .25s forwards;
}
.ngr-hero__title strong {
  font-weight: 700;
  color: var(--ngr-sky);
  display: block;
}

.ngr-hero__subtitle {
  font-family: var(--ngr-serif);
  font-size: 1rem;
  color: rgba(250,250,247,.8);
  border-left: 3px solid var(--ngr-olive);
  padding-left: 1.1rem;
  margin-bottom: 1.6rem;
  line-height: 1.7;
  opacity: 0;
  animation: ngrFadeUp .9s var(--ngr-ease) .4s forwards;
}

.ngr-hero__lead {
  font-size: .88rem;
  color: rgba(250,250,247,.6);
  line-height: 2.1;
  margin-bottom: 2.2rem;
  max-width: 480px;
  opacity: 0;
  animation: ngrFadeUp .9s var(--ngr-ease) .55s forwards;
}

.ngr-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: ngrFadeUp .9s var(--ngr-ease) .7s forwards;
}

.ngr-hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,168,76,.2);
  opacity: 0;
  animation: ngrFadeUp .9s var(--ngr-ease) .85s forwards;
}
.ngr-hero__stat {}
.ngr-hero__stat-num {
  display: block;
  font-family: var(--ngr-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ngr-sky);
  line-height: 1;
}
.ngr-hero__stat-num small {
  font-size: .75rem;
  font-family: var(--ngr-serif);
}
.ngr-hero__stat-label {
  display: block;
  font-size: .68rem;
  color: rgba(250,250,247,.45);
  letter-spacing: .08em;
  margin-top: .25rem;
}
.ngr-hero__stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(201,168,76,.2);
  flex-shrink: 0;
}

/* 画像側 */
.ngr-hero__visual {
  position: relative;
}
.ngr-hero__img-wrap {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  opacity: 0;
  animation: ngrFadeIn 1.1s var(--ngr-ease) .3s forwards;
}

/* ゴールドサイドバー */
.ngr-hero__gold-bar {
  position: absolute;
  top: 5%;
  right: -6px;
  width: 4px;
  height: 90%;
  background: linear-gradient(180deg, var(--ngr-gold-l) 0%, var(--ngr-gold) 50%, transparent 100%);
  border-radius: 4px;
  opacity: .55;
}

/* フローティングバッジ */
.ngr-badge {
  position: absolute;
  background: rgba(250,250,247,.93);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: .75rem 1.1rem;
  box-shadow: 0 8px 32px rgba(30,36,32,.2);
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(201,168,76,.18);
  min-width: 160px;
  z-index: 3;
}
.ngr-badge__icon { font-size: 1.4rem; flex-shrink: 0; }
.ngr-badge__text {
  font-size: .7rem;
  font-weight: 500;
  color: var(--ngr-ink-m);
  line-height: 1.5;
  font-family: var(--ngr-sans);
}
.ngr-badge__text strong {
  display: block;
  font-size: .78rem;
  color: var(--ngr-ink);
  font-family: var(--ngr-serif);
}
.ngr-badge--1 { top: -5%; right: -8%; animation: ngrFloat 4s ease-in-out infinite .3s; }
.ngr-badge--2 { bottom: 18%; left: -10%; animation: ngrFloat 4s ease-in-out infinite 1.6s; }
.ngr-badge--3 { top: 52%; right: -6%; animation: ngrFloat 4s ease-in-out infinite 2.8s; }

@keyframes ngrFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ngrFadeIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes ngrFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ─────────────────────────────────────────────
   10. STORY
───────────────────────────────────────────── */
.ngr-story-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: start;
}
.ngr-story__lead {
  font-family: var(--ngr-serif);
  font-size: 1rem;
  color: rgba(250,250,247,.9);
  font-weight: 400;
  line-height: 2;
  margin-bottom: 1.4rem;
}
.ngr-story__body {
  font-size: .9rem;
  color: rgba(250,250,247,.6);
  line-height: 2.2;
  margin-bottom: 1.4rem;
}
.ngr-story__pull {
  background: linear-gradient(135deg, rgba(42,124,173,.12), rgba(139,171,110,.08));
  border-left: 4px solid var(--ngr-sky);
  padding: 1.5rem 1.8rem;
  border-radius: 0 14px 14px 0;
  margin: 1.8rem 0;
}
.ngr-story__pull p {
  font-family: var(--ngr-serif);
  font-size: 1.05rem;
  color: var(--ngr-sky);
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}

/* サイドカード */
.ngr-story__aside {
  position: sticky;
  top: calc(var(--ngr-header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.ngr-aside-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.14);
  border-radius: 18px;
  padding: 2rem;
  transition: border-color .3s;
}
.ngr-aside-card:hover { border-color: rgba(201,168,76,.3); }
.ngr-aside-card__icon { font-size: 1.8rem; display: block; margin-bottom: .8rem; }
.ngr-aside-card__title {
  font-family: var(--ngr-serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ngr-gold-l);
  margin-bottom: .8rem;
  letter-spacing: .06em;
}
.ngr-aside-card__body {
  font-size: .82rem;
  color: rgba(250,250,247,.55);
  line-height: 1.9;
}

/* タイムライン */
.ngr-timeline { display: flex; flex-direction: column; }
.ngr-tl-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.2rem;
}
.ngr-tl-item:last-child { padding-bottom: 0; }
.ngr-tl-item__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.ngr-tl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ngr-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
  flex-shrink: 0;
}
.ngr-tl-line {
  flex: 1;
  width: 1px;
  background: rgba(201,168,76,.18);
  margin-top: .3rem;
}
.ngr-tl-year {
  font-family: var(--ngr-display);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--ngr-gold);
  margin-bottom: .2rem;
}
.ngr-tl-text {
  font-size: .8rem;
  color: rgba(250,250,247,.55);
  line-height: 1.8;
}

/* ─────────────────────────────────────────────
   11. JOBS (TABS)
───────────────────────────────────────────── */
/* タブナビ */
.ngr-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.ngr-tab-btn {
  padding: .65rem 1.5rem;
  border: 1.5px solid rgba(30,36,32,.18);
  background: transparent;
  border-radius: 50px;
  font-family: var(--ngr-sans);
  font-size: .8rem;
  letter-spacing: .07em;
  color: var(--ngr-ink-m);
  cursor: pointer;
  transition: all .25s;
  min-height: 44px;
}
.ngr-tab-btn.is-active {
  background: var(--ngr-sky-d);
  border-color: var(--ngr-sky-d);
  color: #fff;
  box-shadow: 0 4px 16px rgba(42,124,173,.25);
}
.ngr-tab-btn:hover:not(.is-active) {
  border-color: var(--ngr-sky);
  color: var(--ngr-sky-d);
  background: var(--ngr-sky-pale);
}

/* タブパネル */
.ngr-tab-panel { display: none; }
.ngr-tab-panel.is-active { display: block; }

/* ジョブカード */
.ngr-job-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(30,36,32,.12);
}

.ngr-job-card__num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--ngr-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(255,255,255,.15);
  line-height: 1;
  pointer-events: none;
}

.ngr-job-card__body {
  padding: 3rem 2.5rem;
  background: linear-gradient(160deg, var(--ngr-sky-d) 0%, #1a3a4f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ngr-job-card__body::before {
  content: '';
  position: absolute;
  top: -60%; right: -20%;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.ngr-job-card__body::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 200px; height: 200px;
  background: rgba(201,168,76,.08);
  border-radius: 50%;
}
.ngr-job-card__icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.ngr-job-card__title {
  font-family: var(--ngr-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .6rem;
  position: relative; z-index: 1;
}
.ngr-job-card__title span {
  display: block;
  font-size: .72rem;
  font-weight: 300;
  opacity: .75;
  margin-top: .2rem;
}
.ngr-job-card__tagline {
  font-size: .82rem;
  opacity: .8;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}

.ngr-job-highlights {
  list-style: none;
  margin-bottom: 1.8rem;
  position: relative; z-index: 1;
}
.ngr-job-highlights li {
  font-size: .82rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  line-height: 1.65;
}
.ngr-job-highlights li:last-child { border-bottom: none; }
.ngr-job-highlights li::before {
  content: '✦';
  color: var(--ngr-gold-l);
  font-size: .55rem;
  margin-top: .35rem;
  flex-shrink: 0;
}

.ngr-job-appeal {
  background: rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.ngr-job-appeal__title {
  font-family: var(--ngr-serif);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ngr-gold-l);
  margin-bottom: .5rem;
}
.ngr-job-appeal__body {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
}

/* ─── Job Card Visual ────────────────────────────────────────────────
   PC（>1024px）:
     Flexコンテナ化 + align-self: stretch による高さ拘束で
     Cocoonの img { height: auto !important } との !important 競合を回避。
     position: absolute + height: 100% 手法は後読み競合で敗北するため廃止。
   タブレット・スマホ:
     下部メディアクエリで display: block + object-fit: cover に上書き。
──────────────────────────────────────────────────────────────────── */
.ngr-job-card__visual {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  /* ダーク背景: スタッフ写真の余白部分に奥行き感を演出 */
  background: linear-gradient(
    160deg,
    rgba(10, 20, 30, 0.95) 0%,
    rgba(18, 32, 46, 0.90) 100%
  );
}

.ngr-job-card__visual img {
  /*
   * Cocoon の height: auto !important に対する対策。
   * position: absolute + height: 100% は !important 後勝ちで敗北するため廃止。
   * align-self: stretch を使用することで、Flexbox のレイアウトエンジンが
   * height の計算を行い、Cocoon の height: auto と独立したサイジングになる。
   * これにより object-fit: contain が正しく機能し、上下左右中央表示が実現する。
   */
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  align-self: stretch !important;       /* Flexbox で高さをコンテナに拘束 */
  object-fit: contain !important;       /* 縦横比を保ちながら枠内に収める */
  object-position: center center !important;
  flex-shrink: 0 !important;
}

/* 画像右端: ボディ背景色への自然なフェードオーバーレイ */
.ngr-job-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 55%,
    rgba(18, 48, 74, 0.45) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   12. VALUES
───────────────────────────────────────────── */
.ngr-values-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ngr-display);
  font-size: clamp(12rem, 28vw, 22rem);
  font-weight: 600;
  color: rgba(90,175,224,.03);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}
.ngr-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}
.ngr-value-card {
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ngr-ease), border-color .3s, box-shadow .3s;
}
.ngr-value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.ngr-value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.ngr-value-card:nth-child(1)::before { background: linear-gradient(90deg, var(--ngr-sky),    var(--ngr-sky-d)); }
.ngr-value-card:nth-child(2)::before { background: linear-gradient(90deg, var(--ngr-gold),   var(--ngr-gold-l)); }
.ngr-value-card:nth-child(3)::before { background: linear-gradient(90deg, var(--ngr-olive),  #b0cc8e); }
.ngr-value-card:nth-child(4)::before { background: linear-gradient(90deg, var(--ngr-sky-d),  var(--ngr-olive)); }
.ngr-value-card:nth-child(5)::before { background: linear-gradient(90deg, var(--ngr-gold-l), var(--ngr-sky)); }
.ngr-value-card:nth-child(6)::before { background: linear-gradient(90deg, #b0cc8e,           var(--ngr-gold)); }

.ngr-value-card__num {
  font-family: var(--ngr-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(250,250,247,.07);
  position: absolute;
  top: .8rem; right: 1.2rem;
  line-height: 1;
}
.ngr-value-card__icon { font-size: 1.7rem; display: block; margin-bottom: 1rem; }
.ngr-value-card__title {
  font-family: var(--ngr-serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ngr-cream);
  margin-bottom: .65rem;
  line-height: 1.4;
}
.ngr-value-card__body {
  font-size: .78rem;
  color: rgba(250,250,247,.55);
  line-height: 1.9;
}

/* ─────────────────────────────────────────────
   13. VOICE
───────────────────────────────────────────── */
.ngr-voice-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* 写真＋引用 */
.ngr-voice__quote-wrap {}
.ngr-voice__photo {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 16px 60px rgba(30,36,32,.12);
}
.ngr-voice__card {
  background: #fff;
  border-radius: 18px;
  padding: 2.2rem 2rem;
  box-shadow: 0 8px 40px rgba(30,36,32,.09);
  position: relative;
}
.ngr-voice__mark {
  font-family: var(--ngr-display);
  font-size: 7rem;
  color: var(--ngr-sky-pale);
  line-height: 1;
  position: absolute;
  top: -.5rem;
  left: 1.2rem;
  pointer-events: none;
}
.ngr-voice__quote {
  font-family: var(--ngr-serif);
  font-size: .95rem;
  line-height: 2;
  color: var(--ngr-ink);
  position: relative;
  z-index: 1;
}
.ngr-voice__author {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ngr-sky-pale);
}
.ngr-voice__author-name {
  font-family: var(--ngr-serif);
  font-weight: 600;
  font-size: .82rem;
  color: var(--ngr-ink);
}
.ngr-voice__author-role {
  font-size: .72rem;
  color: var(--ngr-ink-l);
}

/* 文化ポイント */
.ngr-voice__culture {}
.ngr-voice__culture-title {
  font-family: var(--ngr-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ngr-ink);
  margin-bottom: .5rem;
}
.ngr-culture-point {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.ngr-culture-point__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.ngr-culture-point__title {
  font-family: var(--ngr-serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ngr-ink);
  margin-bottom: .3rem;
}
.ngr-culture-point__body {
  font-size: .82rem;
  color: var(--ngr-ink-m);
  line-height: 1.85;
}

/* ─────────────────────────────────────────────
   14. RECRUIT CARDS
───────────────────────────────────────────── */
.ngr-recruit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 1rem;
}
.ngr-recruit-card {
  border: 1px solid rgba(201,168,76,.14);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s var(--ngr-ease), box-shadow .3s, border-color .3s;
  background: rgba(255,255,255,.03);
}
.ngr-recruit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border-color: rgba(201,168,76,.3);
}

/* 写真エリア */
.ngr-recruit-card__photo {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}
.ngr-recruit-card__photo img {
  transition: transform .6s var(--ngr-ease);
}
.ngr-recruit-card:hover .ngr-recruit-card__photo img {
  transform: scale(1.04);
}
.ngr-recruit-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,31,23,.7) 0%, transparent 55%);
}
.ngr-recruit-card__photo-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}
.ngr-recruit-card__badge {
  display: inline-block;
  padding: .28rem .85rem;
  border-radius: 50px;
  background: var(--ngr-gold);
  color: var(--ngr-ink);
  font-size: .63rem;
  letter-spacing: .14em;
  font-weight: 700;
  font-family: var(--ngr-condensed);
}

/* ボディ */
.ngr-recruit-card__body {
  padding: 1.8rem 1.6rem 2rem;
}
.ngr-recruit-card__header { margin-bottom: 1.2rem; }
.ngr-recruit-card__icon { font-size: 1.8rem; display: block; margin-bottom: .6rem; }
.ngr-recruit-card__title {
  font-family: var(--ngr-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ngr-cream);
  line-height: 1.35;
  margin-bottom: .3rem;
}
.ngr-recruit-card__sub {
  font-size: .72rem;
  color: rgba(250,250,247,.45);
  letter-spacing: .04em;
}
.ngr-recruit-card__duties { margin-bottom: 1rem; }
.ngr-recruit-card__duties-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(250,250,247,.4);
  margin-bottom: .6rem;
  font-family: var(--ngr-condensed);
}
.ngr-recruit-card__duties ul { list-style: none; margin: 0; padding: 0; }
.ngr-recruit-card__duties li {
  font-size: .8rem;
  color: rgba(250,250,247,.65);
  padding: .38rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.07);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.55;
}
.ngr-recruit-card__duties li:last-child { border-bottom: none; }
.ngr-recruit-card__duties li::before {
  content: '—';
  color: rgba(90,175,224,.5);
  flex-shrink: 0;
  font-size: .7rem;
  margin-top: .05rem;
}

.ngr-recruit-card__message {
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  border-left: 3px solid rgba(90,175,224,.35);
  padding: 1rem 1.1rem;
  font-size: .79rem;
  color: rgba(250,250,247,.6);
  line-height: 1.9;
  font-family: var(--ngr-serif);
  font-style: italic;
  margin: .8rem 0 0;
}

/* ── カードボディをflexで縦方向に整列（ボタンを常に下部へ） */
.ngr-recruit-card__body {
  display: flex;
  flex-direction: column;
}

/* ── ボタンラッパー: 自動上マージンで下部固定 + 中央揃え */
.ngr-recruit-card__btn-wrap {
  margin-top: auto;
  padding-top: 1.4rem;
  display: flex;
  justify-content: center;
}

/* ── 「ご相談受付中」黄色ボタン */
.ngr-btn--consult {
  background: linear-gradient(135deg, var(--ngr-gold-l) 0%, var(--ngr-gold) 100%);
  color: var(--ngr-ink);
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.35);
}
.ngr-btn--consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201, 168, 76, 0.5);
  background: linear-gradient(135deg, var(--ngr-gold-l) 20%, #d4a84c 100%);
}

/* ── 全幅ボタン（ラッパー内）はブロック表示 */
.ngr-recruit-card__btn-wrap .ngr-btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 0; /* ラッパー側でpaddingを制御するため0に */
}

/* ─────────────────────────────────────────────
   15. CTA SECTION
───────────────────────────────────────────── */
.ngr-cta {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ngr-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.ngr-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20,31,23,.9) 0%,
    rgba(20,31,23,.75) 50%,
    rgba(20,31,23,.85) 100%
  );
}
.ngr-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.ngr-cta__label {
  font-family: var(--ngr-display);
  font-style: italic;
  font-size: .82rem;
  letter-spacing: .28em;
  color: var(--ngr-gold);
  display: block;
  margin-bottom: 1.2rem;
}
.ngr-cta__title {
  font-family: var(--ngr-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ngr-cream);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}
.ngr-cta__title strong { font-weight: 600; color: var(--ngr-sky); }
.ngr-cta__body {
  font-size: .9rem;
  color: rgba(250,250,247,.6);
  line-height: 2.2;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.ngr-cta__divider {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ngr-gold), transparent);
  margin: 2.5rem auto;
}
.ngr-cta__address {
  font-size: .76rem;
  color: rgba(250,250,247,.35);
  letter-spacing: .08em;
}

/* ─────────────────────────────────────────────
   15-B. CONTACT FORM SECTION
───────────────────────────────────────────── */
.ngr-contact__inner {
  max-width: 760px;
}
.ngr-contact__form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 12px 48px rgba(30, 36, 32, 0.08);
}

/* CF7 スタイル上書き（採用LP専用） */
.ngr-contact__form-wrap .wpcf7-form {
  font-family: var(--ngr-serif);
}
.ngr-contact__form-wrap .wpcf7-form p {
  margin-bottom: 1.2rem;
}
.ngr-contact__form-wrap .wpcf7-form input[type="text"],
.ngr-contact__form-wrap .wpcf7-form input[type="email"],
.ngr-contact__form-wrap .wpcf7-form input[type="tel"],
.ngr-contact__form-wrap .wpcf7-form select,
.ngr-contact__form-wrap .wpcf7-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid #d8d8d4;
  border-radius: 10px;
  font-size: .95rem;
  font-family: var(--ngr-serif);
  color: var(--ngr-ink);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.ngr-contact__form-wrap .wpcf7-form input:focus,
.ngr-contact__form-wrap .wpcf7-form textarea:focus {
  border-color: var(--ngr-sky);
  box-shadow: 0 0 0 3px rgba(90, 175, 224, 0.18);
}
.ngr-contact__form-wrap .wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}
.ngr-contact__form-wrap .wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--ngr-sky) 0%, var(--ngr-sky-d) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: .95rem;
  font-family: var(--ngr-serif);
  letter-spacing: .1em;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(42, 124, 173, 0.3);
  transition: transform .25s var(--ngr-ease), box-shadow .25s;
  min-height: 52px; /* タップ領域 44px以上確保 */
}
.ngr-contact__form-wrap .wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(42, 124, 173, 0.45);
}

/* ── 個人情報チェックボックスラベル内のリンク化ボタン */
.ngr-privacy-link {
  color: var(--ngr-sky-d);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
}
.ngr-privacy-link:hover {
  color: var(--ngr-sky);
}

/* ─────────────────────────────────────────────
   15-C. MODALS（フォームモーダル・個人情報モーダル）
───────────────────────────────────────────── */
.ngr-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ngr-modal[hidden] { display: none; }

.ngr-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 16, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.ngr-modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  animation: ngrModalIn .35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ngrModalIn {
  from { opacity: 0; transform: translateY(32px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.ngr-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem 1.2rem;
  border-bottom: 1px solid #eeede9;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 2;
}
.ngr-modal__title {
  font-family: var(--ngr-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ngr-ink);
  margin: 0;
}
.ngr-modal__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ngr-cream-d);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--ngr-ink-m);
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.ngr-modal__close:hover {
  background: var(--ngr-ink);
  color: #fff;
}
.ngr-modal__body {
  padding: 2rem;
}
.ngr-modal__footer {
  padding: 1rem 2rem 2rem;
  display: flex;
  justify-content: center;
}

/* 個人情報モーダル — プロセテキスト */
.ngr-modal__body--prose {
  font-family: var(--ngr-serif);
  color: var(--ngr-ink);
  line-height: 1.9;
  font-size: .9rem;
}
.ngr-modal__body--prose h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.2rem;
  color: var(--ngr-ink);
  border-bottom: 2px solid var(--ngr-gold);
  padding-bottom: .6rem;
}
.ngr-modal__body--prose h5 {
  font-size: .88rem;
  font-weight: 600;
  margin: 1.4rem 0 .4rem;
  color: var(--ngr-ink);
}
.ngr-modal__body--prose ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: .4rem 0;
}
.ngr-modal__body--prose ul li { margin-bottom: .3rem; }
.ngr-privacy-footer {
  margin-top: 1.6rem;
  padding: 1rem;
  background: var(--ngr-cream-d);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--ngr-ink-m);
}

/* ── スクロールロック */
.ngr-scroll-lock { overflow: hidden; }

/* ── レスポンシブ調整 */
@media (max-width: 768px) {
  .ngr-modal__panel {
    max-height: 95svh;
    border-radius: 16px 16px 0 0;
    margin-top: auto;
    max-width: 100%;
  }
  .ngr-modal {
    align-items: flex-end;
    padding: 0;
  }
  .ngr-modal__header { padding: 1.2rem 1.4rem 1rem; }
  .ngr-modal__body   { padding: 1.4rem; }
  .ngr-modal__footer { padding: .8rem 1.4rem 2rem; }
}


/* ─────────────────────────────────────────────
   17. RESPONSIVE — Tablet (≤1024px)
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --ngr-section-py: 64px;
  }

  /* Hero */
  .ngr-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .ngr-hero__visual {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .ngr-badge--1 { top: -4%; right: -4%; }
  .ngr-badge--2 { bottom: 10%; left: -6%; }
  .ngr-badge--3 { top: 48%; right: -4%; }

  /* Story */
  .ngr-story-layout { grid-template-columns: 1fr; gap: 3rem; }
  .ngr-story__aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .ngr-aside-card { flex: 1 1 260px; }

  /* Jobs */
  .ngr-job-card { grid-template-columns: 1fr; }
  .ngr-job-card__visual { aspect-ratio: 16/9; }

  /* Values */
  .ngr-values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Voice */
  .ngr-voice-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Recruit */
  .ngr-recruit-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 1024px) {
  /* PC専用の Flex レイアウトを解除し、クロップ表示に切り替える */
  .ngr-job-card__visual {
    aspect-ratio: 16/9;
    display: block;           /* Flex を解除 */
  }
  .ngr-job-card__visual img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;         /* タブレット: クロップ表示 */
    object-position: center top !important;
  }
}

/* ─────────────────────────────────────────────
   18. RESPONSIVE — Mobile (≤768px)
───────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --ngr-section-py: 52px;
    --ngr-header-h:   60px;
  }

  /* Hero — スマホ背景モード */
  .ngr-hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 3rem;
  }
  .ngr-hero__bg-mobile { display: block; }
  .ngr-hero__overlay {
    background: linear-gradient(
      to top,
      rgba(20,31,23,.96) 0%,
      rgba(20,31,23,.75) 50%,
      rgba(20,31,23,.4) 100%
    );
  }
  .ngr-hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ngr-hero__visual { display: none; }
  .ngr-hero__title { font-size: 2.6rem; }
  .ngr-hero__actions { flex-direction: column; align-items: flex-start; }
  .ngr-hero__stats { gap: 1.2rem; }

  /* Story aside */
  .ngr-story__aside { flex-direction: column; }

  /* Jobs tabs */
  .ngr-tabs { gap: .4rem; }
  .ngr-tab-btn { padding: .55rem 1rem; font-size: .75rem; }
  .ngr-job-card__body { padding: 2rem 1.5rem; }
  .ngr-job-card__visual { aspect-ratio: 4/3; }

  /* Values */
  .ngr-values-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Voice quote */
  .ngr-voice__card { padding: 1.5rem 1.2rem; }

  /* Recruit */
  .ngr-recruit-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* CTA */
  .ngr-cta__bg { background-attachment: scroll; }
  .ngr-cta__inner { padding: 4rem 1rem; }
}

@media (max-width: 768px) {
  .ngr-job-card__visual {
    aspect-ratio: 4/3;
    display: block;           /* 念のため Flex 解除を明示 */
  }
  .ngr-job-card__visual img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;         /* スマホ: クロップ表示（変更なし）*/
    object-position: center top !important;
  }
}

/* ─────────────────────────────────────────────
   19. RESPONSIVE — Small (≤480px)
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .ngr-hero__title { font-size: 2.1rem; }
  .ngr-section-title { font-size: 1.5rem; }
  .ngr-job-card__body { padding: 1.5rem 1.2rem; }
  .ngr-job-highlights li { font-size: .78rem; }
  .ngr-recruit-grid { max-width: 100%; }
  .ngr-story__aside { flex-direction: column; }
}

/* Body scroll lock */
body.ngr-scroll-lock { overflow: hidden; touch-action: none; }

/* ─────────────────────────────────────────────
   20. PC JOBS VISUAL — フル高充填修正
       問題: aspect-ratio: 1 によりビジュアル列が正方形に固定され
             body 列より短くなり、下部にクリーム背景が露出する。
       対策: PC 専用で aspect-ratio を解除し align-self: stretch で
             グリッド行の全高に追従させる。
───────────────────────────────────────────── */
@media (min-width: 1025px) {

  /* ① aspect-ratio を解除してグリッド全高に追従 */
  .ngr-job-card__visual {
    aspect-ratio: auto !important;   /* 正方形拘束を解除 */
    align-self:   stretch !important; /* グリッドセル全体に引き延ばし */
    min-height:   440px;             /* body コンテンツが少ない場合の下限 */
    display:      block !important;  /* Flex を解除して block に統一 */
  }

  /* ② 画像をビジュアル枠全体に cover 表示 */
  .ngr-job-card__visual img {
    position:        absolute !important;
    inset:           0 !important;         /* top/right/bottom/left: 0 の一括指定 */
    width:           100% !important;
    height:          100% !important;      /* 親の inset:0 で決まる全高を充填 */
    object-fit:      cover !important;     /* 縦横比を保ちながらトリミング充填 */
    object-position: center top !important; /* 顔・人物の上部を優先表示 */
  }
}

/* ─────────────────────────────────────────────
   ※強制処理
───────────────────────────────────────────── */

.ngr-job-card__visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    rgba(10, 20, 30, 0.95) 0%,
    rgba(18, 32, 46, 0.90) 100%
  ) !important;
}

.ngr-job-card__visual img {
  /* height プロパティを一切使わない書き方 */
  /* top: 0; bottom: 0 でコンテナ全体に引き伸ばす */
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  /* height は一切指定しない → top/bottomで自動決定 */
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
  margin: 0 !important;       /* Cocoonのauto marginをリセット */
  max-width: none !important; /* Cocoonのmax-width: 100%をリセット */
}
	
/* ─────────────────────────────────────────────
   21. PC JOBS VISUAL — カスケード最終確定
   ──────────────────────────────────────────
   【修正理由】
   「強制処理」ブロック（グローバルルール）が
   Section 20 の @media (min-width:1025px) よりも
   CSS カスケード上で後勝ちしており、
   object-fit: contain !important が全ブレークポイントに
   適用されていた。
   本ルールを最末尾に追記することで PC のみ確実に勝つ。
   ──────────────────────────────────────────
   【スマホへの影響】
   min-width: 1025px スコープのため、スマホ(≤768px)・
   タブレット(≤1024px) の正常表示には一切影響しない。
───────────────────────────────────────────── */
@media (min-width: 1025px) {

  /* ① コンテナをカード行の全高に引き延ばす */
  .ngr-job-card__visual {
    aspect-ratio: auto !important;    /* 正方形拘束を解除 */
    align-self:   stretch !important; /* グリッドセル全体に追従 */
    min-height:   440px !important;   /* body 列が短い場合の下限 */
    display:      block !important;   /* Flex コンテキストを解除 */
  }

  /* ② 画像をコンテナ全体に cover 充填 */
  .ngr-job-card__visual img {
    position:        absolute !important;
    inset:           0 !important;          /* top/right/bottom/left: 0 */
    width:           100% !important;
    height:          100% !important;       /* Cocoon の height:auto !important に勝つ */
    object-fit:      cover !important;      /* 縦横比を保ちトリミング充填 */
    object-position: center top !important; /* 顔・人物の頭部を優先表示 */
    max-width:       none !important;       /* Cocoon の max-width:100% を解除 */
    margin:          0 !important;          /* Cocoon の auto margin を解除 */
  }
}
