/* 맥널티제약 초안 · 대웅제약 참고 (큰 화면형 메인, 투명 머리글, 글자 로고) */
.tlogo { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; letter-spacing: -0.02em; color: var(--ink); }
.tlogo b { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.tlogo span { font-size: 15px; font-weight: 600; }
.tlogo.w { color: #fff; }
.header .logo { display: inline-flex; }
.header.scrolled .tlogo b { font-size: 22px; }
.m-head .tlogo b { font-size: 20px; }
.m-head .tlogo span { font-size: 13px; }
.gnb > li > a { padding: 0 18px; font-size: 16px; }
.gnb > li > a::after { left: 18px; right: 18px; }
@media (max-width: 1180px) { .gnb > li > a { padding: 0 11px; font-size: 14px; } .gnb > li > a::after { left: 11px; right: 11px; } }

/* 홈: 메인 화면 위로 투명하게 얹힌 머리글 */
[data-page="home"] .util { display: none; }
[data-page="home"] .header { position: sticky; top: 0; }
[data-page="home"] .header:not(.scrolled):not(.am-on) { background: transparent; backdrop-filter: none; border-bottom-color: rgba(255,255,255,.18); }
[data-page="home"] .header:not(.scrolled):not(.am-on) .tlogo,
[data-page="home"] .header:not(.scrolled):not(.am-on) .gnb > li > a { color: #fff; }
[data-page="home"] .header:not(.scrolled):not(.am-on) .gnb > li > a::after { background: #fff; }
[data-page="home"] .header:not(.scrolled):not(.am-on) .header-cta .btn { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
[data-page="home"] .header:not(.scrolled):not(.am-on) .header-cta .btn:hover { background: #fff; color: #111; }
[data-page="home"] .header:not(.scrolled):not(.am-on) .menu-btn { background: transparent; border-color: rgba(255,255,255,.5); }
[data-page="home"] .header:not(.scrolled):not(.am-on) .menu-btn span { background: #fff; }
[data-page="home"] .header.am-on { background: #fff; }

/* 메인 화면 (슬라이드) */
.dw-hero { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 600px; max-height: 960px; margin-top: calc(-1 * var(--hd)); overflow: hidden; background: #111; color: #fff; }
.dw-hero .sl { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.dw-hero .sl.on { opacity: 1; }
.dw-hero .sl img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.dw-hero .sl.on img { transform: scale(1); }
.dw-hero .sl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.05) 100%), linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 45%); }
.dw-hero .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 110px; }
.dw-hero .tx { position: relative; min-height: 290px; }
.dw-hero .t { position: absolute; left: 0; bottom: 0; max-width: 760px; opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.dw-hero .t.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.dw-hero .eb { display: block; font-size: 15px; font-weight: 600; letter-spacing: .04em; opacity: .85; }
.dw-hero h1, .dw-hero h2 { margin: 14px 0 18px; font-size: clamp(40px, 5.8vw, 80px); line-height: 1.1; letter-spacing: -0.05em; font-weight: 700; }
.dw-hero p { max-width: 560px; margin: 0 0 30px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.86); }
.dw-hero .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.ghost-w { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn.ghost-w:hover { background: #fff; color: #111; border-color: #fff; }
.dw-hero .ctl { position: absolute; left: var(--gut); right: var(--gut); bottom: 44px; z-index: 2; display: flex; align-items: center; gap: 18px; max-width: calc(var(--max) - var(--gut) * 2); margin-inline: auto; }
.dw-hero .dots { display: flex; gap: 8px; }
.dw-hero .dots button { width: 44px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); border-radius: 3px; position: relative; overflow: hidden; }
.dw-hero .dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dw-hero .dots button[aria-current="true"]::after { animation: bar 6s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.dw-hero.paused .dots button::after { animation-play-state: paused; }
.dw-hero .num { font-family: var(--en); font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.8); }
.dw-hero .num b { color: #fff; }
.dw-hero .pp { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.dw-hero .pp:hover { background: #fff; color: #111; }
.dw-hero .scroll { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.8); }
.dw-hero .scroll i { display: block; width: 1px; height: 40px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.dw-hero .scroll i::after { content: ""; position: absolute; left: 0; top: -40px; width: 100%; height: 40px; background: #fff; animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 40px; } }

/* 공통 섹션 머리 */
.dw-sec { padding: 120px 0 0; }
.dw-t { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.dw-t .eb { display: block; font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--muted); margin-bottom: 12px; }
.dw-t h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.18; letter-spacing: -0.045em; color: var(--ink); }
.dw-t p { margin: 14px 0 0; max-width: 600px; color: var(--muted); font-size: 16px; }
.lnk { flex: none; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }
.lnk:hover { opacity: .6; }

/* 사업영역: 사진 세 장이 나란히 */
.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.biz a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; }
.biz img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.biz a:hover img { transform: scale(1.06); }
.biz a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 55%); }
.biz .tx { position: absolute; left: 32px; right: 32px; bottom: 32px; z-index: 1; }
.biz small { display: block; font-family: var(--en); font-size: 12px; letter-spacing: .16em; opacity: .8; }
.biz b { display: block; margin-top: 8px; font-size: 28px; letter-spacing: -0.04em; }
.biz span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.82); max-width: 300px; }
.biz .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 2px; transition: gap .25s; }
.biz a:hover .go { gap: 14px; }

/* 연구개발: 글 + 사진, 기술 목록은 선으로 */
.rnd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.rnd .ph { position: sticky; top: 110px; }
.rnd .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r3); }
.rnd .ph p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.tech { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.tech li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tech b { font-family: var(--en); font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.tech strong { display: block; font-size: 18px; color: var(--ink); }
.tech span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.tech a { font-size: 13px; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--ink); }
.tech a:hover { opacity: .6; }
.ip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 36px 0 0; padding: 0; list-style: none; }
.ip li { padding: 0 24px 0 0; }
.ip li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.ip b { display: block; font-size: 34px; letter-spacing: -0.04em; color: var(--ink); }
.ip span { font-size: 14px; color: var(--muted); }

/* 숫자 띠 */
.nums-band { margin-top: 120px; background: #111; color: #fff; }
.nums-band .wrap { padding-block: 88px; }
.nums-band .dw-t h2 { color: #fff; }
.nums-band .dw-t .eb { color: #9a9a9a; }
.nums-band ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid #333; }
.nums-band li { padding: 28px 24px 0; border-left: 1px solid #333; }
.nums-band li:first-child { border-left: 0; padding-left: 0; }
.nums-band b { display: block; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.04em; }
.nums-band span { font-size: 14px; color: #a8a8a8; }

/* 제품: 가로로 넘기는 줄 */
.rail { position: relative; }
.rail .track { display: flex; gap: 24px; margin: 0; padding: 4px 0 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail .track::-webkit-scrollbar { display: none; }
.rail .track > li { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }
.rail .nav { display: flex; gap: 8px; }
.rail .nav button { width: 44px; height: 44px; border: 1px solid var(--line-s); border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: all .25s var(--ease); }
.rail .nav button:hover { background: #111; border-color: #111; color: #fff; }
.rail .nav button:disabled { opacity: .3; pointer-events: none; }

/* 홍보센터: 소식 목록 */
.newsg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.newsg .ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r2); background: var(--soft); }
.newsg .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.newsg li:hover .ph img { transform: scale(1.05); }
.newsg time { display: block; margin-top: 16px; font-family: var(--en); font-size: 13px; color: var(--muted); }
.newsg .k { display: inline-block; margin: 14px 8px 0 0; font-size: 12px; font-weight: 700; color: var(--ink); }
.newsg b { display: block; margin-top: 6px; font-size: 17px; line-height: 1.45; letter-spacing: -0.03em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newsg li:hover b { text-decoration: underline; text-underline-offset: 5px; }

/* 인증 줄 */
.certs-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 40px 0 0; list-style: none; border-top: 1px solid var(--line); }
.certs-line b { display: block; font-size: 17px; color: var(--ink); }
.certs-line span { font-size: 14px; color: var(--muted); }
.certs-line .mk { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 12px; font-weight: 800; color: var(--ink); }
.end-cta { margin-top: 120px; }

/* 홍보센터 페이지 */
.sub-visual.v-news { background-image: url(../img/lab.jpg); }
.news-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.news-list li { display: grid; grid-template-columns: 200px 120px minmax(0, 1fr); gap: 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-list .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r2); background: var(--soft); }
.news-list .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-list li:hover .ph img { transform: scale(1.05); }
.news-list time { font-family: var(--en); font-size: 15px; color: var(--muted); }
.news-list .k { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.news-list b { display: block; font-size: 20px; letter-spacing: -0.035em; color: var(--ink); }
.news-list p { margin: 8px 0 0; font-size: 15px; color: var(--text); }
.notice { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.notice li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 110px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.notice .no { font-family: var(--en); color: var(--muted); }
.notice .no.pin { color: var(--ink); font-weight: 700; }
.notice b { font-size: 16px; font-weight: 500; color: var(--ink); }
.notice time { font-family: var(--en); font-size: 14px; color: var(--muted); text-align: right; }
.notice li:hover b { text-decoration: underline; text-underline-offset: 5px; }
.gal { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gal .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r2); background: var(--soft); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal li:hover img { transform: scale(1.05); }
.gal b { display: block; margin-top: 12px; font-size: 16px; color: var(--ink); }
.gal span { font-size: 13px; color: var(--muted); }
.ex { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: var(--pill); border: 1px solid var(--line-s); font-size: 11px; color: var(--muted); vertical-align: middle; }

/* 회사소개 · 비전 */
.vis-lead { margin: 0 0 36px; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; letter-spacing: -0.045em; color: var(--ink); font-weight: 700; }
.vis { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.vis li { display: grid; grid-template-columns: 60px 220px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.vis em { font-style: normal; font-family: var(--en); font-weight: 700; color: var(--muted); }
.vis strong { font-size: 19px; color: var(--ink); letter-spacing: -0.03em; }
.vis p { margin: 0; color: var(--text); }

@media (max-width: 960px) {
  .tlogo b { font-size: 20px; } .tlogo span { font-size: 13px; }
  .header.scrolled .tlogo b { font-size: 19px; }
  [data-page="home"] .header { background: transparent; }
  .dw-hero { min-height: 560px; max-height: none; height: 100svh; }
  .dw-hero .sl::after { background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.1) 100%); }
  .dw-hero .wrap { padding-bottom: 96px; }
  .dw-hero .tx { min-height: 320px; }
  .dw-hero p { font-size: 15px; }
  .dw-hero .acts .btn { min-height: 46px; padding: 0 18px; font-size: 14px; }
  .dw-hero .ctl { bottom: 28px; gap: 12px; }
  .dw-hero .dots button { width: 28px; }
  .dw-hero .scroll { display: none; }
  .dw-sec { padding-top: 72px; }
  .dw-t { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .biz { grid-template-columns: 1fr; }
  .biz a { aspect-ratio: 16 / 10; }
  .biz .tx { left: 20px; right: 20px; bottom: 20px; }
  .biz b { font-size: 22px; }
  .rnd { grid-template-columns: 1fr; gap: 28px; }
  .rnd .ph { position: static; }
  .tech li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .tech b { font-size: 18px; }
  .ip { grid-template-columns: 1fr 1fr 1fr; margin-top: 28px; }
  .ip li, .ip li + li { padding: 0 8px 0 0; }
  .ip b { font-size: 26px; }
  .nums-band { margin-top: 72px; }
  .nums-band .wrap { padding-block: 56px; }
  .nums-band ul { grid-template-columns: 1fr 1fr; }
  .nums-band li { padding: 18px 0; border-left: 0; border-bottom: 1px solid #333; }
  .rail .track { gap: 12px; }
  .rail .track > li { flex-basis: 72%; }
  .newsg { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .newsg b { font-size: 15px; }
  .certs-line { grid-template-columns: 1fr 1fr; }
  .end-cta { margin-top: 72px; }
  .news-list li { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .news-list .ph { max-width: 100%; aspect-ratio: 16 / 9; }
  .news-list b { font-size: 17px; }
  .notice li { grid-template-columns: minmax(0, 1fr) 90px; }
  .notice .no { display: none; }
  .gal { grid-template-columns: 1fr 1fr; gap: 14px; }
  .vis li { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 18px 0; }
  .vis p { grid-column: 2; }
}
.block[data-pane="vision"] { border-top: 0; padding-top: 0; }

/* ───── 맥널티제약 개편안 전용 ───── */
.logo img { height: 34px; }
.header.scrolled .logo img { height: 30px; }
.m-head img { height: 26px; }
[data-page="home"] .header:not(.scrolled):not(.am-on) .logo img { filter: brightness(0) invert(1); }
.footer .fam { margin-left: auto; }
.footer .fam select { height: 36px; padding: 0 12px; border: 1px solid #333; border-radius: var(--pill); background: #000; color: #ddd; font-size: 13px; }
.rv.pre { opacity: 0; transform: translateY(18px); }
.rv { transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* 서브 페이지 공통 */
.block { padding: 72px 0 0; scroll-margin-top: 100px; }
.block:first-of-type { padding-top: 0; }
.block > h3, .block > .h3 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.04em; color: var(--ink); }
.block > h3 small, .block > .h3 small { display: block; margin-bottom: 8px; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.block > p.lead { margin: 0 0 28px; max-width: 760px; font-size: 16px; color: var(--muted); }
.lead-big { margin: 0 0 28px; font-size: clamp(24px, 3vw, 40px); line-height: 1.3; letter-spacing: -0.045em; color: var(--ink); font-weight: 700; }
.txt p { margin: 0 0 14px; max-width: 820px; font-size: 16px; line-height: 1.8; color: var(--text); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.two img { width: 100%; border-radius: var(--r3); object-fit: cover; aspect-ratio: 4 / 3; }
.two.top { align-items: start; }
.dl { margin: 0; border-top: 2px solid var(--ink); }
.dl div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; color: var(--ink); }
.list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.list li em { font-style: normal; font-family: var(--en); font-weight: 700; color: var(--muted); }
.list li b { color: var(--ink); }
.list.plain li { grid-template-columns: 1fr; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.stats li { padding: 22px 20px 20px 0; border-bottom: 1px solid var(--line); }
.stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 34px; letter-spacing: -0.04em; color: var(--ink); }
.stats span { font-size: 14px; color: var(--muted); }
.tbl { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; }
.tbl th, .tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-weight: 600; color: var(--ink); background: #fafafa; white-space: nowrap; }
.tbl td { color: var(--text); }
.tbl td.en { font-family: var(--en); font-size: 14px; color: var(--muted); }
.tbl-wrap { overflow-x: auto; }
.pgal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.pgal .ph { aspect-ratio: 760 / 500; overflow: hidden; border-radius: var(--r2); background: var(--soft); border: 0; padding: 0; width: 100%; cursor: zoom-in; }
.pgal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pgal li:hover img { transform: scale(1.05); }
.pgal b { display: block; margin-top: 12px; font-size: 16px; color: var(--ink); }
.pgal span { font-size: 13px; color: var(--muted); }
.equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.equip .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r2); background: var(--soft); }
.equip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.equip li:hover img { transform: scale(1.05); }
.equip b { display: block; margin-top: 14px; font-size: 17px; color: var(--ink); }
.equip span { display: block; font-family: var(--en); font-size: 13px; color: var(--muted); }
.values4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.values4 li { padding: 30px 0; border-bottom: 1px solid var(--line); }
.values4 b { display: block; font-size: 22px; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 10px; }
.values4 p { margin: 0; font-size: 15px; color: var(--text); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.people li { padding: 30px 0; border-bottom: 1px solid var(--line); }
.people li + li { padding-left: 40px; border-left: 1px solid var(--line); }
.people em { display: block; font-style: normal; font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.people b { display: block; margin: 8px 0 14px; font-size: 20px; letter-spacing: -0.04em; color: var(--ink); }
.people p { margin: 0 0 8px; font-size: 15px; color: var(--text); }
.loc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.loc .map { display: block; aspect-ratio: 16 / 9; border-radius: var(--r2); background: var(--soft); overflow: hidden; }
.loc .map img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.loc .map:hover img { transform: scale(1.04); }
.loc h4 { margin: 18px 0 6px; font-size: 18px; color: var(--ink); }
.loc p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.loc .ml { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--ink); }

/* 제품정보 */
.p-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.seg { display: inline-flex; gap: 6px; }
.seg button { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; font-size: 15px; color: var(--text); transition: all .2s; }
.seg button:hover { border-color: #111; color: #111; }
.seg button[aria-pressed="true"] { background: #111; border-color: #111; color: #fff; font-weight: 600; }
.p-search { display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 16px; border: 1px solid var(--line-s); border-radius: var(--pill); width: min(360px, 100%); }
.p-search input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: none; font-size: 15px; }
.p-search button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; }
.p-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.p-cats a { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 13px; color: var(--text); transition: all .2s; }
.p-cats a em { font-style: normal; font-size: 12px; color: var(--muted); }
.p-cats a:hover { border-color: #111; color: #111; }
.p-cats a[aria-current] { background: #111; border-color: #111; color: #fff; }
.p-cats a[aria-current] em { color: #bbb; }
.p-count { margin: 36px 0 18px; font-size: 14px; color: var(--muted); }
.p-count b { color: var(--ink); }
.pg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.pc { display: flex; flex-direction: column; min-width: 0; animation: cardIn .55s var(--ease) both; }
.pc .thumb { position: relative; display: block; aspect-ratio: 388 / 309; border-radius: 18px; overflow: hidden; background: var(--stone); border: 0; padding: 0; width: 100%; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease); text-align: left; }
.pc .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pc .thumb .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.pc .thumb .noimg b { display: block; font-size: 22px; color: #c9c5bd; font-family: var(--en); letter-spacing: -0.02em; text-align: center; }
.pc:hover .thumb { transform: translateY(-6px); box-shadow: var(--sh2); }
.pc:hover .thumb img { transform: scale(1.05); }
.pc .tp { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: var(--pill); background: #111; color: #fff; font-size: 12px; font-weight: 600; }
.pc .tp.g { background: #fff; color: #111; border: 1px solid var(--line-s); }
.pc .cat { margin-top: 14px; font-size: 12px; color: var(--muted); }
.pc .name { margin-top: 2px; font-size: 17px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1.4; }
.pc .name:hover { text-decoration: underline; text-underline-offset: 5px; }
.pc .acts { display: flex; gap: 6px; margin-top: auto; padding-top: 12px; }
.pc .acts button { flex: 1; min-height: 36px; border: 1px solid var(--line-s); border-radius: var(--pill); background: #fff; font-size: 13px; color: var(--ink); transition: all .2s; }
.pc .acts button:hover { border-color: #111; }
.pc .acts button.main { background: #111; border-color: #111; color: #fff; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* 제품 상세 창 */
.pd .mb { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
.pd .mb .pim { aspect-ratio: 388 / 309; border-radius: 14px; overflow: hidden; background: var(--stone); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.pd .mb .pim img { width: 100%; height: 100%; object-fit: cover; }
.pd h3 { margin: 0 0 4px; font-size: 24px; letter-spacing: -0.04em; color: var(--ink); }
.pd .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.pd .meta span { padding: 3px 10px; border-radius: var(--pill); border: 1px solid var(--line-s); font-size: 12px; color: var(--text); }
.pd .meta span.k { background: #111; border-color: #111; color: #fff; }
.pd .dl div { grid-template-columns: 120px minmax(0, 1fr); padding: 12px 0; font-size: 14px; }
.pd .dl dd p { margin: 0 0 4px; white-space: pre-line; }
.pd .note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* 홈 */
.home-biz .biz a { aspect-ratio: 3 / 4; }
.home-num { margin-top: 120px; }
.notice-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.notice-list li { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice-list b { font-size: 16px; font-weight: 500; color: var(--ink); }
.notice-list time { font-family: var(--en); font-size: 14px; color: var(--muted); text-align: right; }
.notice-list a:hover b { text-decoration: underline; text-underline-offset: 5px; }
.home-news { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.home-news .ph { aspect-ratio: 4 / 3; border-radius: var(--r3); overflow: hidden; }
.home-news .ph img { width: 100%; height: 100%; object-fit: cover; }
.fam-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fam-list li + li { border-left: 1px solid var(--line); }
.fam-list a { display: block; padding: 26px 22px; font-size: 15px; font-weight: 600; color: var(--ink); }
.fam-list a small { display: block; margin-top: 4px; font-family: var(--en); font-size: 12px; font-weight: 400; color: var(--muted); word-break: break-all; }
.fam-list a:hover { background: #fafafa; }
.sub-visual.v-company { background-image: url(../img/hero-int.jpg); }
.sub-visual.v-business { background-image: url(../img/hero-prod.jpg); }
.sub-visual.v-rnd { background-image: url(../img/hero-lab.jpg); }
.sub-visual.v-factory { background-image: url(../img/hero-factory.jpg); }
.sub-visual.v-products { background-image: url(../img/main_banner02.jpg); background-position: right center; }
.sub-visual.v-news { background-image: url(../img/hero-int.jpg); }
.sub-visual.v-contact { background-image: url(../img/hero-factory.jpg); }
.zoomv { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.85); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 16px; }
.zoomv img { max-width: min(94vw, 1100px); max-height: 82vh; object-fit: contain; }
.zoomv p { margin: 0; color: #fff; font-size: 14px; }
.zoomv button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 22px; cursor: pointer; }
@media (max-width: 960px) {
  .two { grid-template-columns: 1fr; gap: 22px; }
  .dl div { grid-template-columns: 110px minmax(0, 1fr); font-size: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li, .stats li + li { padding: 16px 0; border-left: 0; }
  .stats b { font-size: 26px; }
  .pgal, .equip { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .equip b { font-size: 15px; }
  .values4 { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .people li + li { padding-left: 0; border-left: 0; }
  .loc { grid-template-columns: 1fr; }
  .pg { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .pc .name { font-size: 15px; }
  .pd .mb { grid-template-columns: 1fr; }
  .home-news { grid-template-columns: 1fr; gap: 24px; }
  .fam-list { grid-template-columns: 1fr; }
  .fam-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .block { padding-top: 48px; }
  .tbl { font-size: 13px; } .tbl th, .tbl td { padding: 10px 8px; }
}

/* 서브 상단: 왼쪽 정렬 큰 제목 */
.sub-visual { height: 380px; text-align: left; }
.sub-visual::before { background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%); }
.sub-visual .wrap { width: 100%; }
.sub-visual h1 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.03em; }
.sub-visual h1 small { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: .2em; opacity: .8; }
.sub-visual p { max-width: 640px; font-size: 17px; color: rgba(255,255,255,.9); }
.tabs { justify-content: flex-start; }
.page { padding-top: 56px; }

/* 연혁 */
.hist { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.hist > li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.hist .y { font-family: var(--en); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.hist ul { margin: 0; padding: 0; list-style: none; }
.hist ul li { position: relative; padding-left: 16px; font-size: 16px; color: var(--text); line-height: 1.7; }
.hist ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.hist-era { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 40px; padding: 0; list-style: none; }
.hist-era li { display: flex; align-items: center; gap: 18px; }
.hist-era img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.hist-era b { display: block; font-size: 17px; color: var(--ink); }
.hist-era span { font-size: 13px; color: var(--muted); }

/* 경영철학 */
.vt { margin: 0 0 18px; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.04em; line-height: 1.3; color: var(--ink); }
.vt small { display: block; margin-bottom: 10px; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.quote { margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--ink); font-size: 20px; line-height: 1.7; letter-spacing: -0.03em; color: var(--ink); }

/* CI */
.ci { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ci .im { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.ci .im img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.ci .im + .im { border-top: 0; }
.ci .cap { font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--muted); margin: 0 0 10px; }
.swatch { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.swatch i { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.swatch b { display: block; color: var(--ink); }
.swatch span { font-family: var(--en); font-size: 13px; color: var(--muted); }

/* 수탁 · 연구 */
.feat { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.feat li { padding: 16px 0 16px 18px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; color: var(--text); }
.feat li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 2px; background: var(--ink); }
.feat li b { color: var(--ink); }
.feat li ul { margin: 6px 0 0; padding: 0 0 0 14px; list-style: none; }
.feat li ul li { padding: 3px 0 3px 12px; border: 0; font-size: 15px; color: var(--muted); }
.feat li ul li::before { top: 13px; width: 4px; height: 4px; border-radius: 50%; }
.contactbar { display: flex; gap: 32px; flex-wrap: wrap; margin: 28px 0 0; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.contactbar div { font-size: 14px; color: var(--muted); }
.contactbar b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.contactbar a { color: var(--ink); }
.eq-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.eq-big li { position: relative; }
.eq-big .n { position: absolute; left: 0; top: 0; z-index: 1; padding: 6px 12px; background: #111; color: #fff; font-family: var(--en); font-size: 12px; font-weight: 700; border-radius: 0 0 12px 0; }
.eq-big .ph { aspect-ratio: 760 / 500; overflow: hidden; border-radius: var(--r2); background: var(--soft); }
.eq-big img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.eq-big li:hover img { transform: scale(1.05); }
.eq-big b { display: block; margin-top: 14px; font-size: 18px; color: var(--ink); letter-spacing: -0.03em; }
.eq-big span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.gtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 28px; }
.gtabs button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; font-size: 14px; color: var(--text); transition: all .2s; }
.gtabs button:hover { border-color: #111; color: #111; }
.gtabs button[aria-pressed="true"] { background: #111; border-color: #111; color: #fff; font-weight: 600; }
.gtabs button em { font-style: normal; margin-left: 4px; font-size: 12px; opacity: .7; }

/* 문의 */
.cform { max-width: 820px; }
.cform .intro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.cform .intro li { padding: 18px 20px 18px 0; font-size: 14px; color: var(--muted); }
.cform .intro li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.cform .intro b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.cform .intro a { color: var(--ink); }
.cform .submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.cform .submit span { font-size: 14px; color: var(--muted); }
.legal { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h4 { margin: 0 0 10px; font-size: 16px; color: var(--ink); }
.legal p, .legal li { margin: 0 0 6px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.legal ol { margin: 0 0 14px; padding-left: 18px; }
.inp.sm { min-height: 44px; }
.fileline { margin-top: 8px; font-size: 13px; color: var(--muted); }
.newp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.newp .pim { aspect-ratio: 388 / 309; border-radius: var(--r3); overflow: hidden; background: var(--stone); }
.newp .pim img { width: 100%; height: 100%; object-fit: cover; }
.newp h4 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.04em; color: var(--ink); }
.newp .meta { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.newp .dl dd { white-space: pre-line; line-height: 1.75; }
.notice-full { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.notice-full > li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.notice-full .head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.notice-full .no { font-family: var(--en); font-weight: 700; color: var(--muted); }
.notice-full h4 { margin: 0; font-size: 20px; letter-spacing: -0.035em; color: var(--ink); }
.notice-full time { margin-left: auto; font-family: var(--en); font-size: 14px; color: var(--muted); }
.notice-full .body { margin: 16px 0 0; max-width: 820px; font-size: 15px; line-height: 1.8; color: var(--text); }
.notice-full .body img { max-width: 480px; width: 100%; height: auto; border-radius: var(--r2); border: 1px solid var(--line); }
@media (max-width: 960px) {
  .sub-visual { height: 280px; }
  .hist > li { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .hist .y { font-size: 22px; }
  .hist-era { grid-template-columns: 1fr; gap: 14px; }
  .hist-era img { width: 64px; height: 64px; }
  .ci { grid-template-columns: 1fr; gap: 24px; }
  .eq-big { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .eq-big b { font-size: 15px; }
  .cform .intro { grid-template-columns: 1fr; }
  .cform .intro li, .cform .intro li + li { padding: 14px 0; border-left: 0; }
  .cform .intro li + li { border-top: 1px solid var(--line); }
  .newp { grid-template-columns: 1fr; gap: 20px; }
  .quote { font-size: 17px; padding-left: 16px; }
  .notice-full time { margin-left: 0; width: 100%; }
}
/* 사진 버튼 보정 */
.eq-big .ph, .pgal .ph { display: block; width: 100%; border: 0; padding: 0; margin: 0; background: var(--soft); cursor: zoom-in; }
.eq-big img, .pgal img { display: block; width: 100%; height: 100%; object-fit: cover; }
.seg { flex-wrap: wrap; }
@media (max-width: 960px) {
  .seg button { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .p-top { flex-direction: column; align-items: stretch; }
  .p-search { width: 100%; }
}
