@charset "UTF-8";
/* ==========================================================
   neroweb16 layout.css
   공통 토큰 · 기본 · 헤더 · 메뉴 · 서브 공통 · 푸터
   기준 : BIO INDUSTRY 홈페이지 디자인 정의서
   ========================================================== */

:root {
  /* 색상 (디자인 정의서 2.2) */
  --n16-primary: #005890;
  --n16-accent: #005890;
  --n16-accent-d: #00416b;
  --n16-accent-l: #e5eff6;
  --n16-strong: #363636;
  --n16-text: #555555;
  --n16-muted: #666666;
  --n16-line: #DDDDDD;
  --n16-surface: #F5F7F9;
  --n16-white: #FFFFFF;
  --n16-error: #C62828;
  --n16-success: #18794E;
  --n16-orange: #DB631F;
  --n16-dark: #333333;
  /* 규격 */
  --n16-hd-h: 100px;
  --n16-gutter: 40px;
  --n16-max: 1400px;
  --n16-gap: 24px;
  --n16-radius: 12px;
  /* 폰트 (디자인 정의서 3.1) */
  --n16-font: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --n16-ease: cubic-bezier(.22, .61, .36, 1);
}

/* 기본 (요소 선택자만 사용 : 아래 클래스 스타일이 항상 우선하도록) */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body.n16 { margin: 0; font-family: var(--n16-font); font-size: 18px; line-height: 1.75; letter-spacing: -0.01em; color: var(--n16-text); background: var(--n16-white); word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
p { word-break: keep-all; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: top; border: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
input, select, textarea { font-family: inherit; font-size: 18px; }
body.n16 :focus-visible { outline: 2px solid var(--n16-accent); outline-offset: 2px; }
body.n16-lock { overflow: hidden; }
.sound_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.n16-skip { position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--n16-accent); color: #fff; border-radius: 6px; transition: top .2s; }
.n16-skip:focus { top: 12px; }

.n16-wrapall { overflow-x: clip; }
.n16-wrap { width: 100%; max-width: calc(var(--n16-max) + var(--n16-gutter) * 2); margin: 0 auto; padding: 0 var(--n16-gutter); }
.n16-container { display: block; min-height: 50vh; }
.n16-center { text-align: center; }
.n16-mb8 { margin-bottom: 8px; }
.n16-pc { display: inline; }

/* 버튼 (Button 17px / 600 / 높이 48) */
.n16-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; min-height: 48px; padding: 0 24px; border-radius: 48px; font-size: 17px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.n16-btn--point { background: var(--n16-accent); color: #fff; }
.n16-btn--point:hover { background: var(--n16-accent-d); }
.n16-btn--line { border-color: var(--n16-line); color: var(--n16-strong); background: #fff; }
.n16-btn--line:hover { border-color: var(--n16-strong); }
.n16-btn--line-w { border-color: rgba(255, 255, 255, .6); color: #fff; }
.n16-btn--line-w:hover { background: #fff; color: var(--n16-primary); }
.n16-btn--sm { height: 44px; min-height: 44px; padding: 0 18px; font-size: 16px; }
.n16-btn i { font-size: .9em; line-height: 1; }
.n16-btn[disabled] { opacity: .55; cursor: default; }
.n16-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--n16-strong); }
.n16-more i { transition: transform .25s; }
.n16-more:hover i { transform: translateX(4px); }

/* 라벨 (Caption 14px / 500) · 상태 (색 + 글자 + 점 아이콘을 함께 사용) */
.n16-label { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--n16-accent-l); color: var(--n16-accent-d); font-size: 14px; font-weight: 500; line-height: 1.4; }
.n16-label--line { background: none; border: 1px solid var(--n16-line); color: var(--n16-muted); }
.n16-label--pin { background: var(--n16-primary); color: #fff; }
.n16-st { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; font-size: 14px; font-weight: 600; line-height: 1.4; border: 1px solid currentColor; background: #fff; }
.n16-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.n16-st--draft { color: #4B5563; }
.n16-st--review { color: #9A5B00; }
.n16-st--reviewing { color: #1D4ED8; }
.n16-st--revise { color: var(--n16-error); }
.n16-st--scheduled { color: #6D28D9; }
.n16-st--publish { color: var(--n16-success); }
.n16-st--private { color: #374151; }
.n16-st--archive { color: var(--n16-muted); }
.n16-st--main { color: var(--n16-primary); }


/* ---------- 헤더 (디자인 정의서 5장 : 높이 100 / 1240 이하 70) ---------- */
.n16-hd { position: fixed; left: 0; top: 0; right: 0; z-index: 900; background: #fff; transition: background .3s; }
.n16-hd::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--n16-line); transition: width .6s var(--n16-ease); }
.n16-hd:hover::after, .n16-hd.is-scrolled::after, .n16-hd.is-gnb::after { width: 100%; }
.n16-hd.is-scrolled { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.n16-hd__bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: var(--n16-hd-h); padding: 0 0 0 40px; }
.n16-hd__logo img { width: 144px; }
.n16-gnb { align-self: stretch; margin-left: auto; }
.n16-gnb__list { display: flex; width: 920px; height: 100%; }
.n16-gnb__item { position: relative; flex: 1 1 0; }
.n16-gnb__link { position: relative; display: flex; align-items: center; justify-content: center; height: var(--n16-hd-h); font-size: 19px; font-weight: 700; letter-spacing: .02em; color: var(--n16-strong); }
.n16-gnb__link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--n16-orange); transform: translateX(-50%); transition: width .5s var(--n16-ease); }
.n16-gnb__item:hover .n16-gnb__link::after, .n16-gnb__item:focus-within .n16-gnb__link::after, .n16-gnb__item.is-on .n16-gnb__link::after { width: 100%; }
.n16-gnb__sub { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 26px 0 32px; text-align: center; }
.n16-hd.is-gnb .n16-gnb__sub { display: block; }
.n16-gnb__sub a { display: block; padding: 8px 6px; font-size: 16px; font-weight: 500; color: var(--n16-strong); transition: color .2s; }
.n16-gnb__sub a:hover, .n16-gnb__sub a:focus-visible, .n16-gnb__sub a.is-on { color: var(--n16-orange); }
.n16-gnb__bg { position: absolute; left: 0; right: 0; top: var(--n16-hd-h); height: 0; background: #fff; border-top: 1px solid var(--n16-line); overflow: hidden; transition: height .35s var(--n16-ease); }
.n16-hd.is-gnb .n16-gnb__bg { height: 330px; box-shadow: 0 20px 30px rgba(0, 0, 0, .06); }
.n16-hd__burger { position: relative; flex: 0 0 100px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; width: 100px; height: var(--n16-hd-h); margin-left: 40px; padding: 0 30px; border-left: 1px solid var(--n16-line); }
.n16-hd__burger span { display: block; width: 40px; height: 2px; background: var(--n16-strong); transition: width .3s; }
.n16-hd__burger span:nth-child(1), .n16-hd__burger span:nth-child(3) { width: 32px; }
.n16-hd__burger:hover span { width: 40px; }

/* 전체 메뉴 (오른쪽에서 들어오는 어두운 화면) */
.n16-drawer { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: var(--n16-dark); color: #fff; transform: translateX(100%); visibility: hidden; transition: transform .5s ease, visibility .5s; overflow-y: auto; }
.n16-drawer.is-open { transform: translateX(0); visibility: visible; }
.n16-drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--n16-hd-h); padding: 0 0 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.n16-drawer__logo img { width: 144px; }
.n16-drawer__close { position: relative; width: 100px; height: 100%; border-left: 1px solid rgba(255, 255, 255, .12); }
.n16-drawer__close span { position: absolute; left: 30px; top: 50%; width: 40px; height: 2px; background: #fff; }
.n16-drawer__close span:nth-child(1) { transform: rotate(45deg); }
.n16-drawer__close span:nth-child(2) { transform: rotate(-45deg); }
.n16-drawer__body { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 90%; max-width: 1400px; margin: 0 auto; padding: 60px 0; }
.n16-drawer__menu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; }
.n16-drawer__dep1 { display: block; width: 100%; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 36px; font-weight: 700; text-align: left; color: #fff; cursor: default; }
.n16-drawer__dep2 a { display: block; padding: 8px 0; font-size: 18px; color: rgba(255, 255, 255, .7); transition: color .2s, padding .2s; }
.n16-drawer__dep2 a:hover, .n16-drawer__dep2 a:focus-visible, .n16-drawer__dep2 a.is-on { color: #fff; padding-left: 8px; }
.n16-drawer__util { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .2); }
.n16-drawer__search { display: flex; width: min(460px, 100%); border-bottom: 1px solid rgba(255, 255, 255, .5); }
.n16-drawer__search input { flex: 1; height: 50px; border: 0; background: none; color: #fff; font-size: 18px; }
.n16-drawer__search input::placeholder { color: rgba(255, 255, 255, .5); }
.n16-drawer__search button { width: 50px; color: #fff; font-size: 18px; }
.n16-drawer__member { display: flex; gap: 24px; font-size: 16px; }
.n16-drawer__member a { color: rgba(255, 255, 255, .8); }
.n16-drawer__member a:hover { color: #fff; }

/* ---------- 서브 공통 : 서브 비주얼(280 / 180) → 현재 위치 → 제목·설명 ---------- */
.n16-svisual { position: relative; display: flex; align-items: center; height: 420px; margin-top: var(--n16-hd-h); color: #fff; overflow: hidden; background: #0d2a3f; text-align: center; }
.n16-svisual__bg { position: absolute; inset: 0; }
.n16-svisual__bg img { width: 100%; height: 100%; object-fit: cover; animation: n16Zoom 8s var(--n16-ease) both; }
.n16-svisual__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.n16-svisual__txt { position: relative; z-index: 1; }
.n16-svisual__en { font-size: 20px; font-weight: 500; letter-spacing: .12em; color: rgba(255, 255, 255, .85); }
.n16-svisual__tit { margin-top: 10px; font-size: 56px; font-weight: 600; line-height: 1.25; letter-spacing: -0.03em; color: #fff; }
.n16-svisual__desc { margin-top: 12px; font-size: 19px; line-height: 1.7; letter-spacing: -0.015em; color: rgba(255, 255, 255, .82); }
@keyframes n16Zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* 현재 위치 (Body Small 16) */
.n16-path__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 22px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.n16-path__home a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.n16-path__dep { position: relative; display: flex; align-items: center; }
.n16-path__dep::before { content: "/"; margin: 0 6px 0 2px; opacity: .5; }
.n16-lnb__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 4px; font-size: 16px; color: inherit; }
.n16-lnb__btn i { font-size: 12px; opacity: .8; transition: transform .2s; }
.n16-lnb__dep.is-open .n16-lnb__btn i { transform: rotate(180deg); }
.n16-lnb__drop { display: none; position: absolute; left: 10px; top: 100%; z-index: 30; min-width: 180px; padding: 8px 0; background: #fff; border: 1px solid var(--n16-line); border-radius: 8px; box-shadow: 0 14px 30px rgba(11, 31, 51, .15); }
.n16-lnb__dep.is-open .n16-lnb__drop { display: block; }
.n16-lnb__drop a { display: flex; align-items: center; min-height: 40px; padding: 0 18px; font-size: 17px; color: var(--n16-text); }
.n16-lnb__drop a:hover, .n16-lnb__drop a.is-on { color: var(--n16-accent-d); background: var(--n16-surface); }

/* 2차 메뉴 탭 (높이 52 / 48, 활성 = 색 + 하단 보더) */
.n16-tabs { position: sticky; top: var(--n16-hd-h); z-index: 50; border-bottom: 1px solid var(--n16-line); background: #fff; }
.n16-tabs__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.n16-tabs__list::-webkit-scrollbar { display: none; }
.n16-tabs__list a { position: relative; display: flex; align-items: center; height: 52px; padding: 0 16px; font-size: 17px; font-weight: 600; color: var(--n16-muted); white-space: nowrap; }
.n16-tabs__list a:hover { color: var(--n16-strong); }
.n16-tabs__list a.is-on { color: var(--n16-accent); }
.n16-tabs__list a.is-on::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--n16-accent); }
.n16-subgap { height: 80px; }


/* ---------- 푸터 (디자인 정의서 7장) ---------- */
.n16-ft { border-top: 1px solid #E1E1E1; background: #fff; padding: 60px 0; color: var(--n16-muted); }
.n16-ft__inner { width: 90%; margin: 0 auto; }
.n16-ft__top, .n16-ft__bottom { display: flex; justify-content: space-between; gap: 40px; }
.n16-ft__top { align-items: center; }
.n16-ft__logo img { width: 144px; }
.n16-ft__right { display: flex; align-items: center; gap: 40px; }
.n16-ft__links { display: flex; gap: 20px; }
.n16-ft__links a { font-size: 18px; font-weight: 500; color: var(--n16-strong); }
.n16-ft__links b { color: var(--n16-primary); font-weight: 700; }
.n16-family { position: relative; width: 450px; }
.n16-family__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 45px; padding: 0 18px; border: 1px solid #666; font-size: 15px; color: var(--n16-strong); background: #fff; }
.n16-family__btn i { transition: transform .3s; }
.n16-family.is-open .n16-family__btn i { transform: rotate(180deg); }
.n16-family__list { display: none; position: absolute; left: 0; right: 0; bottom: 100%; border: 1px solid #666; border-bottom: 0; background: #fff; }
.n16-family.is-open .n16-family__list { display: block; }
.n16-family__list a { display: block; padding: 10px 18px; font-size: 15px; color: var(--n16-strong); }
.n16-family__list a:hover, .n16-family__list a:focus-visible { background: #f2f2f2; }
.n16-ft__bottom { align-items: flex-end; margin-top: 40px; }
.n16-ft__info { font-style: normal; font-size: 16px; line-height: 1.8; }
.n16-ft__copy { margin-top: 10px; color: #999; }
.n16-ft__contact { text-align: right; }
.n16-ft__tel { font-size: 18px; color: var(--n16-strong); }
.n16-ft__tel span { margin-right: 10px; }
.n16-ft__tel a { font-size: 26px; font-weight: 700; color: var(--n16-primary); }
.n16-ft__time { margin-top: 4px; font-size: 16px; }
.n16-ft__sns { display: flex; justify-content: flex-end; gap: 20px; margin-top: 18px; }
.n16-ft__sns a { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--n16-line); font-size: 20px; color: #666; transition: all .3s; }
.n16-ft__sns a:hover, .n16-ft__sns a:focus-visible { background: var(--n16-primary); border-color: var(--n16-primary); color: #fff; }

.n16-top { position: fixed; right: 24px; bottom: 24px; z-index: 800; width: 50px; height: 50px; border-radius: 50%; background: var(--n16-primary); color: #fff; font-size: 16px; box-shadow: 0 8px 20px rgba(0, 88, 144, .3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.n16-top.is-show { opacity: 1; visibility: visible; transform: none; }

/* 등장 효과 */
.n16-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--n16-ease), transform .8s var(--n16-ease); }
.n16-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .n16-reveal { opacity: 1; transform: none; transition: none; }
  .n16-svisual__bg img { animation: none; }
}


/* ---------- 반응형 (디자인 정의서 5.3 · 9장) ---------- */
@media (max-width: 1440px) {
  .n16-gnb__list { width: 760px; }
}
@media (max-width: 1240px) {
  :root { --n16-hd-h: 70px; }
  .n16-hd__bar { padding-left: 20px; }
  .n16-gnb, .n16-gnb__bg { display: none; }
  .n16-hd__burger { flex-basis: 70px; width: 70px; margin-left: 0; padding: 0 18px; gap: 6px; }
  .n16-hd__burger span { width: 30px; }
  .n16-hd__burger span:nth-child(1), .n16-hd__burger span:nth-child(3) { width: 24px; }
  .n16-drawer__top { padding-left: 20px; }
  .n16-drawer__close { width: 70px; }
  .n16-drawer__close span { left: 18px; width: 32px; }
  .n16-drawer__menu { grid-template-columns: repeat(3, 1fr); }
  .n16-svisual { height: 340px; }
  .n16-svisual__tit { font-size: 46px; }
}
@media (max-width: 1000px) {
  .n16-hd__logo img, .n16-drawer__logo img { width: 115px; }
  .n16-drawer__menu { grid-template-columns: 1fr; gap: 0; }
  .n16-drawer__body { justify-content: flex-start; padding: 30px 0; }
  .n16-drawer__dep1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; padding: 20px 0; font-size: 28px; cursor: pointer; }
  .n16-drawer__dep1::after { content: "+"; font-weight: 300; }
  .n16-drawer__item.is-open .n16-drawer__dep1::after { content: "\2212"; }
  .n16-drawer__dep2 { display: none; padding: 10px 0 20px; }
  .n16-drawer__item.is-open .n16-drawer__dep2 { display: block; }
  .n16-ft__top, .n16-ft__bottom { flex-direction: column; align-items: flex-start; }
  .n16-ft__right { flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; }
  .n16-family { width: 100%; max-width: 450px; }
  .n16-ft__contact { text-align: left; }
  .n16-ft__sns { justify-content: flex-start; }
}
@media (max-width: 767px) {
  :root { --n16-gutter: 20px; --n16-gap: 16px; }
  body.n16 { font-size: 17px; }
  .n16-pc { display: none; }
  .n16-svisual { height: 260px; }
  .n16-svisual__en { font-size: 15px; }
  .n16-svisual__tit { font-size: 32px; }
  .n16-svisual__desc { font-size: 16px; }
  .n16-tabs__list a { padding: 0 12px; font-size: 16px; }
  .n16-subgap { height: 48px; }
  .n16-btn { padding: 0 20px; font-size: 16px; }
  .n16-ft { padding: 44px 0; }
  .n16-ft__links a { font-size: 16px; }
  .n16-ft__info { font-size: 15px; }
  .n16-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  .n16-hd__bar { padding-left: 10px; }
  .n16-hd__burger { flex-basis: 56px; width: 56px; padding: 0 14px; gap: 5px; }
  .n16-hd__burger span { width: 25px; }
  .n16-hd__burger span:nth-child(1), .n16-hd__burger span:nth-child(3) { width: 20px; }
  .n16-drawer__dep1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .n16-drawer { transition: none; }
}
