/* 채용안내(/careers/) v5 — 2026-10-23 사용자 요청 '글이 많고 복잡 → 사진 섞어서 깔끔하게'. 공통은 np.css
   BUSINESS 페이지(np-product.css)·쇼핑몰과 같은 결: 제목 28px 800, 사진 모서리 8px, 설명은 한 줄 */
.np-careers { --nc-ink: #15181d; --nc-text: #2b2f36; --nc-sub: #626872; --nc-line: #e3e5e8; --nc-sp: clamp(4rem, 7.8vw, 7rem); }
.nc-sec { padding-top: var(--nc-sp); }
.nc-sec:last-of-type, #apply { padding-bottom: var(--nc-sp); }
.nc-title { margin: 0 0 28px; color: var(--nc-ink); font-size: 1.75rem; font-weight: 800; line-height: 1.25; letter-spacing: -.03em; }
.nc-pic { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: #eceef1; aspect-ratio: 4 / 3; }
.nc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--np-ease); }

/* 소개: 한 문장 | 진행 중 공고 수 */
.nc-intro__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.nc-intro__title { margin: 0; color: var(--nc-ink); font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 800; line-height: 1.45; letter-spacing: -.035em; }
.nc-open { display: grid; gap: 6px; padding: 28px 30px; border-radius: 8px; background: var(--nc-ink); color: #fff; text-decoration: none; transition: background-color .3s; }
.nc-open:hover { background: var(--np-red); }
.nc-open__label { font-size: 15px; color: rgba(255,255,255,.75); }
.nc-open__num { font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.nc-open__num small { margin-left: 4px; font-size: 20px; font-weight: 600; }
.nc-open__go { margin-top: 8px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* 인재상: 사진 카드 3개 — 사진 위 왼쪽 아래에 키워드 */
.nc-talent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.nc-talent .nc-pic::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.nc-talent__key { position: absolute; left: 22px; bottom: 16px; z-index: 1; color: #fff; font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; }
.nc-talent h3 { margin: 18px 0 4px; color: var(--nc-ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.nc-talent p { margin: 0; color: var(--nc-sub); font-size: 1rem; }

/* 직무 소개: 사진 카드 3 × 2 */
.nc-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; margin: 0; padding: 0; list-style: none; }
.nc-role { display: block; color: inherit; text-decoration: none; }
.nc-role .nc-pic { aspect-ratio: 16 / 10; }
.nc-role__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; }
.nc-role__row strong { color: var(--nc-ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; transition: color .25s; }
.nc-role__row em { flex: none; padding: 3px 10px; border: 1px solid #cdd1d7; border-radius: 4px; color: var(--nc-text); font-size: 13px; font-style: normal; font-weight: 600; }
.nc-role__desc { display: block; margin-top: 4px; color: var(--nc-sub); font-size: 1rem; }
@media (hover: hover) { .nc-role:hover .nc-pic img, .nc-talent li:hover .nc-pic img { transform: scale(1.03); } .nc-role:hover .nc-role__row strong { color: var(--np-red); } }
.nc-role:focus-visible { outline: 2px solid var(--nc-ink); outline-offset: 4px; }

/* 공고 목록: 직무 탭 + 한 줄씩 */
.nc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.nc-filter button { height: 40px; padding: 0 16px; border: 1px solid var(--np-line); border-radius: 999px; background: #fff; color: var(--np-body); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.nc-filter button span { margin-left: 2px; color: var(--np-mute); font-weight: 500; }
.nc-filter button:hover { border-color: var(--np-ink); color: var(--np-ink); }
.nc-filter button[aria-selected="true"] { border-color: var(--np-ink); background: var(--np-ink); color: #fff; }
.nc-filter button[aria-selected="true"] span { color: rgba(255,255,255,.7); }
.nc-jobs { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--nc-ink); }
.nc-jobs li { border-bottom: 1px solid var(--nc-line); }
.nc-jobs li[hidden] { display: none; }
.nc-job { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto 28px; gap: 8px 24px; align-items: center; padding: 24px 8px; color: inherit; text-decoration: none; transition: background-color .2s; }
.nc-job:hover { background: #f6f7f8; }
.nc-job__fam { color: var(--np-red); font-size: 14px; font-weight: 700; }
.nc-job__title { color: var(--nc-ink); font-size: clamp(1.0625rem, 1.39vw, 1.25rem); font-weight: 700; letter-spacing: -.02em; transition: color .2s; }
.nc-job:hover .nc-job__title { color: var(--np-red); }
.nc-job__meta { display: flex; gap: 6px; }
.nc-job__meta span { padding: 4px 10px; border-radius: 4px; background: #f1f2f4; color: var(--nc-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.nc-job__go { width: 9px; height: 9px; justify-self: end; border-top: 1.8px solid var(--nc-ink); border-right: 1.8px solid var(--nc-ink); transform: rotate(45deg); }

/* 복리후생: 아이콘 칸 4개 */
.nc-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.nc-benefits li { padding: 28px 24px 26px; border-radius: 8px; background: #f6f7f8; }
.nc-benefits svg { width: 40px; height: 40px; margin-bottom: 18px; fill: none; stroke: var(--nc-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.nc-benefits h3 { margin: 0 0 4px; color: var(--nc-ink); font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.nc-benefits p { margin: 0; color: var(--nc-sub); font-size: .9375rem; }

/* 지원 안내: 어두운 사진 띠 */
.nc-apply { position: relative; overflow: hidden; border-radius: 8px; background: #1d2026; color: #fff; isolation: isolate; }
.nc-apply__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.nc-apply__in { padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem); }
.nc-apply__title { margin: 0 0 24px; font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; }
.nc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.nc-flow li { position: relative; padding: 9px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; font-size: 1.0625rem; font-weight: 700; }
.nc-flow li + li { margin-left: 22px; }
.nc-flow li + li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 1.6px solid rgba(255,255,255,.7); border-right: 1.6px solid rgba(255,255,255,.7); transform: rotate(45deg); }
.nc-apply__mail { margin: 0 0 26px; color: rgba(255,255,255,.8); font-size: 1rem; }
.nc-apply__mail a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.nc-apply__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nc-apply .np-btn--line.nc-apply__line { border-color: rgba(255,255,255,.7); background: transparent; color: #fff; }
.nc-apply .np-btn--line.nc-apply__line:hover { background: #fff; color: var(--nc-ink); }

/* 공고 상세 창 */
.nc-job__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.nc-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid #cdd1d7; border-radius: 4px; color: var(--nc-text); font-size: 13px; font-style: normal; font-weight: 600; }
.nc-badge--on { border-color: var(--np-red); color: var(--np-red); }
.ncm { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ncm[hidden] { display: none; }
.ncm-dim { position: absolute; inset: 0; background: rgba(17,17,17,.55); }
.ncm-panel { position: relative; width: min(860px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; background: #fff; outline: none; animation: ncm-up .3s cubic-bezier(.2,.7,.2,1); }
@keyframes ncm-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.ncm-x { position: sticky; top: 0; float: right; display: grid; place-items: center; width: 56px; height: 56px; border: 0; background: #fff; color: var(--np-ink); cursor: pointer; z-index: 2; }
.ncm-content { padding: 40px 44px 36px; }
.ncm-title { margin: 14px 0 0; color: var(--np-ink); font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 700; line-height: 1.4; letter-spacing: -.03em; }
.ncm-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 0; border-top: 2px solid var(--np-ink); }
.ncm-summary > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--np-line); }
.ncm-summary > div:nth-child(even) { padding-left: 20px; }
.ncm-summary dt { color: var(--np-mute); font-size: 14px; font-weight: 600; }
.ncm-summary dd { margin: 0; color: var(--np-ink); font-size: 15px; }
.ncm-body h3 { margin: 30px 0 10px; color: var(--np-ink); font-size: 17px; font-weight: 700; }
.ncm-body ul { margin: 0; padding: 0; list-style: none; }
.ncm-body li { position: relative; padding-left: 14px; color: var(--np-body); font-size: 15px; line-height: 1.8; }
.ncm-body li::before { content: ""; position: absolute; left: 0; top: .78em; width: 4px; height: 4px; background: var(--np-ink); }
.ncm-body p { margin: 0; color: var(--np-body); font-size: 15px; line-height: 1.8; }
.ncm-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--np-line); }
html.ncm-lock, html.ncm-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { .nc-pic img { transition: none; } }
@media (max-width: 1024px) {
  .nc-intro__in { grid-template-columns: 1fr; }
  .nc-open { max-width: 360px; }
  .nc-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nc-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nc-job { grid-template-columns: minmax(0, 1fr) 28px; grid-template-areas: "fam go" "title go" "meta go"; gap: 6px 16px; }
  .nc-job__fam { grid-area: fam; } .nc-job__title { grid-area: title; } .nc-job__meta { grid-area: meta; } .nc-job__go { grid-area: go; }
}
@media (max-width: 768px) {
  .nc-title, .nc-apply__title { margin-bottom: 20px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
  .nc-talent { grid-template-columns: 1fr; gap: 28px; }
  .nc-talent .nc-pic { aspect-ratio: 16 / 9; }
  .nc-roles { gap: 24px 12px; }
  .nc-role__row { flex-direction: column; gap: 6px; margin-top: 10px; }
  .nc-role__row strong { font-size: 1rem; }
  .nc-role__desc { font-size: .8125rem; }
  .nc-benefits { gap: 10px; }
  .nc-benefits li { padding: 20px 16px; }
  .nc-benefits svg { width: 32px; height: 32px; margin-bottom: 12px; }
  .nc-benefits h3 { font-size: 1rem; }
  .nc-benefits p { font-size: .8125rem; }
  .nc-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--np-gx)); padding-inline: var(--np-gx); scrollbar-width: none; }
  .nc-filter::-webkit-scrollbar { display: none; }
  .nc-filter button { flex: 0 0 auto; }
  .nc-job { padding: 18px 2px; }
  /* 휴대폰: 전형 4단계를 2 × 2 칸으로(줄바꿈 때 화살표가 줄 맨 앞에 남지 않게 화살표는 숨김) */
  .nc-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nc-flow li, .nc-flow li + li { margin: 0; padding: 8px 12px; font-size: .9375rem; text-align: center; }
  .nc-flow li + li::before { display: none; }
  .nc-apply__btns .np-btn { flex: 1 1 100%; }
  .ncm { padding: 0; align-items: flex-end; }
  .ncm-panel { max-height: 92vh; max-height: 92dvh; }
  .ncm-content { padding: 28px 20px 28px; }
  .ncm-summary { grid-template-columns: 1fr; }
  .ncm-summary > div:nth-child(even) { padding-left: 0; }
  .ncm-foot .np-btn { flex: 1 1 100%; }
}
