@charset "utf-8";
/* ==========================================================================
   2026-09-23 헤더 유틸 아이콘화 (kr/en/chn/jpn 공통)
   - 검색 / 로그인 / 문의사항 / 언어변경을 24px 아이콘으로 통일, 테두리 제거
   - 문의사항은 헤더 버튼으로만 연다 (우측 세로 탭은 main.php 에서 삭제).
     main.php 에만 있고 모바일(767px 이하)에서는 숨김
   - 폰트: 한국어·영어 Pretendard / 일본어 Pretendard JP / 중국어 Sarasa Gothic SC
     적용 범위는 헤더 유틸(.h_top)과 문의사항 패널(.contactus-main)
   - 각 언어 style.css / style_tab.css / style_mob.css 뒤에 로드되며,
     #header .h_top 으로 범위를 좁혀 기존 규칙보다 우선하게 했다.
   ========================================================================== */

/* ── 폰트 ─────────────────────────────────────────────────────────────── */
@font-face {font-family: 'Pretendard'; font-weight: 400; font-style: normal; font-display: swap; src: url('/font/Pretendard-Regular.woff2') format('woff2');}
@font-face {font-family: 'Pretendard'; font-weight: 600; font-style: normal; font-display: swap; src: url('/font/Pretendard-SemiBold.woff2') format('woff2');}
@font-face {font-family: 'Pretendard JP'; font-weight: 400; font-style: normal; font-display: swap; src: url('/font/PretendardJP-Regular.woff2') format('woff2');}
@font-face {font-family: 'Pretendard JP'; font-weight: 600; font-style: normal; font-display: swap; src: url('/font/PretendardJP-SemiBold.woff2') format('woff2');}
/* 중국어: 전체 폰트(8MB)가 무거워 서버에 있는 상용 한자 서브셋(-subset, 약 330KB) 사용.
   서브셋에 없는 글자는 Microsoft YaHei 등 시스템 폰트로 표시됨 */
@font-face {font-family: 'Sarasa Gothic SC HU'; font-weight: 400; font-style: normal; font-display: swap; src: url('/font/SarasaGothicSC-Regular-subset.woff2') format('woff2');}
@font-face {font-family: 'Sarasa Gothic SC HU'; font-weight: 600; font-style: normal; font-display: swap; src: url('/font/SarasaGothicSC-SemiBold-subset.woff2') format('woff2');}

#header .h_top.hu_lang_kr, #header .h_top.hu_lang_kr *,
#header .h_top.hu_lang_en, #header .h_top.hu_lang_en *,
.pc_gnb_wrap.hu_lang_kr .depth01 > li > a,
.pc_gnb_wrap.hu_lang_en .depth01 > li > a,
.contactus-main.hu_lang_kr, .contactus-main.hu_lang_kr *,
.contactus-main.hu_lang_en, .contactus-main.hu_lang_en * {font-family: 'Pretendard', 'Pretendard JP', 'Noto Sans KR', sans-serif;}
#header .h_top.hu_lang_jpn, #header .h_top.hu_lang_jpn *,
.pc_gnb_wrap.hu_lang_jpn .depth01 > li > a,
.contactus-main.hu_lang_jpn, .contactus-main.hu_lang_jpn * {font-family: 'Pretendard JP', 'Pretendard', 'Meiryo', sans-serif;}
#header .h_top.hu_lang_chn, #header .h_top.hu_lang_chn *,
.pc_gnb_wrap.hu_lang_chn .depth01 > li > a,
.contactus-main.hu_lang_chn, .contactus-main.hu_lang_chn * {font-family: 'Sarasa Gothic SC HU', 'Microsoft YaHei', 'PingFang SC', sans-serif;}

/* ── 아이콘 버튼 공통 ─────────────────────────────────────────────────── */
#header .h_top .hu_icon {display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0; line-height: 0; cursor: pointer;}
#header .h_top .hu_icon img {display: block; width: 24px; height: 24px;}
#header .h_top .hu_icon:hover {opacity: .6;}

/* 로그인 후: 아이콘 + 드롭다운(로그아웃/마이페이지). 테두리·배경 제거 */
#header .h_top .user_menu {height: auto; border: 0 !important; background: transparent;}
#header .h_top .user_menu .login_tit {width: auto; font-size: 0;}
#header .h_top .user_menu .lang_menu {top: 100%; left: 50%; right: auto; width: 120px; margin-top: 8px; padding: 5px 0; transform: translateX(-50%); border: 1px solid #dfdfdf; background: #fff;}

/* 언어변경: 현재 언어명 + 아이콘(간격 1px), 테두리·화살표 제거 */
#header .h_top .language {width: auto; height: auto; border: 0 !important; background: transparent;}
#header .h_top .language .lang_tit,
#header .h_top .language.on .lang_tit {display: flex; align-items: center; gap: 1px; margin: 0; padding: 0; background: none !important; font-size: 13px; font-weight: normal; line-height: 24px; color: #000; white-space: nowrap;}
#header .h_top .language .lang_tit img {display: block; width: 24px; height: 24px;}
#header .h_top .language:hover .lang_tit {opacity: .6;}
#header .h_top .language .lang_menu {top: 100%; left: auto; right: 0; width: 100px; margin-top: 8px; padding: 5px 0; border: 1px solid #dfdfdf; background: #fff;}

#header .h_top .lang_menu li a {display: block; padding: 4px 12px; font-size: 12px; font-weight: normal; line-height: 20px; color: #333; white-space: nowrap; text-decoration: none;}
/* 마우스를 올리면 밑줄만 (색·굵기 변화 없음). style.css 의 .lang_menu li:hover a{font-weight:bold} 무효화 */
#header .h_top .lang_menu li:hover a,
#header .h_top .lang_menu li a:hover,
#header .h_top .lang_menu li a:focus-visible {color: #333; font-weight: normal; text-decoration: underline; text-underline-offset: 3px;}
/* 클릭 시 bootstrap 의 a:focus 둥근 포커스 테두리(outline 5px auto) 제거 */
#header .h_top a:focus,
#header .h_top a:active,
#header .h_top .lang_tit:focus {outline: none; box-shadow: none;}

@media screen and (max-width: 1024px) {
	#header .h_top .language .lang_tit {font-size: 12px;}
}

@media screen and (max-width: 767px) {
	#header .h_top .util_contact {display: none !important;}
	#header .h_top .hu_icon img,
	#header .h_top .language .lang_tit img {width: 20px; height: 20px;}
	#header .h_top .language .lang_tit {font-size: 10px; line-height: 20px;}
}

/* ==========================================================================
   2026-09-23 헤더 v3 (header_util_20260923j)
   [j] 밝은 헤더 배경(header_bg_flow_20260923b.png)에 맞춰 글자 네이비·아이콘 검정,
       로고는 원래 head_logo_pc.png, 로고 클릭 시 포커스 테두리 제거.
       이미지·CSS 는 CloudFront 가 같은 파일명을 7일 캐시하므로 교체 시 파일명을 바꾼다
   - 헤더 높이 60px 고정, 모든 페이지·모든 구간에서 상단 고정(position:fixed)
   - 배경 이미지 /images/header_bg_flow.png (어두운 남색) -> 글자·아이콘 흰색
   - 구간
       1280px~      : [로고 154px] [GNB 전체] ........ [검색·제품검색·로그인·문의·언어]
       1025~1279px  : [A 로고 32px] [GNB 전체] ........ [문의·언어]   (검색·제품검색·로그인 숨김)
       ~1024px      : [A 로고 32px] [제품·솔루션·개발도구&지원] .. [문의(태블릿)·언어] [☰]
                      (검색·제품검색·로그인·회사소개 숨김. 한 줄 유지, 좁으면 메뉴만 가로 스크롤)
   - GNB 드롭다운: 각 1Depth <li> 안의 .hu_mega (gnb_mega.php) 를 CSS :hover 로 연다.
     기존 depth02 드롭다운과 script.js 의 gnb_bg fadeIn/Out 은 쓰지 않는다
     (반투명 배경이 마우스를 가로채 열림/닫힘이 반복되던 깜빡임 원인 -> pointer-events:none)
   ========================================================================== */
:root {--hu-header-h: 60px; --hu-edge: 10px; --hu-logo-w: 154px; --hu-logo-gap: 20px; --hu-mini-logo: 32px;}

#wrap {max-width: none; padding-top: var(--hu-header-h);}

/* ── 헤더 공통 (모든 구간) ───────────────────────────────────── */
#wrap #header {position: fixed; top: 0; left: 0; right: 0; width: 100%; height: var(--hu-header-h); z-index: 1040;
	background: #0f2447 url(/images/header_bg_flow_20260923b.png) center center / cover no-repeat;}
#wrap #header .h_inner {height: var(--hu-header-h); width: auto; max-width: none; margin: 0;}
#wrap #header h1 {position: absolute; left: var(--hu-edge); top: 50%; bottom: auto; margin: 0; transform: translateY(-50%); line-height: 0;}
#wrap #header h1 a {display: block; width: 100%; height: 100%; background: url(/images/main/head_logo_pc.png) no-repeat left center / contain;}
#wrap #header h1 img {display: none !important;}
#wrap #header .h_top {top: 50%; bottom: auto; transform: translateY(-50%); right: var(--hu-edge);}

/* 밝은 헤더 배경: 글자 네이비, 아이콘 검정 (마우스 오버 색은 그대로) */
#header .h_top > ul > li > a,
#header .h_top .language .lang_tit {color: #10213f;}
#header .h_top > ul > li:after {background-color: rgba(16,33,63,.25);}
/* ☰ 버튼 이미지(nav_btn*.png)가 흰색이라 검정으로 */
#header .btn_wrap a.nav_btn {filter: brightness(0);}
/* 로고 클릭 시 bootstrap a:focus 테두리 제거 */
#wrap #header h1 a,
#wrap #header h1 a:focus,
#wrap #header h1 a:active {outline: none; box-shadow: none;}

/* 문의 패널: 헤더 바로 아래 */
.contactus-main {top: var(--hu-header-h) !important;}

/* ── PC 공통 (1025px~): GNB 를 헤더 줄로, 드롭다운 ───────────────── */
@media screen and (min-width: 1025px) {
	#wrap #header h1 {width: var(--hu-logo-w); height: 46px;}

	#wrap > .pc_gnb_wrap {position: fixed; top: 0; left: calc(var(--hu-edge) + var(--hu-logo-w) + var(--hu-logo-gap)); height: var(--hu-header-h); z-index: 1050;}
	#wrap > .pc_gnb_wrap .pc_gnb {position: static; width: auto; height: var(--hu-header-h); border-top: 0; background: transparent;}
	#wrap > .pc_gnb_wrap .depth01 {display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 100%; margin: 0;}
	/* ul.clfix 의 :before/:after 가 grid 칸으로 잡혀 1칸 늘어나는 것 방지 */
	#wrap > .pc_gnb_wrap .depth01:before,
	#wrap > .pc_gnb_wrap .depth01:after {content: none; display: none;}
	#wrap > .pc_gnb_wrap .depth01 > li {float: none; width: auto; height: 100%;}
	#wrap > .pc_gnb_wrap .depth01 > li > a {padding: 0 22px; line-height: var(--hu-header-h); font-size: 17px; font-weight: 600; color: #10213f; white-space: nowrap;}
	#wrap > .pc_gnb_wrap .depth01 > li:hover {background: transparent;}
	#wrap > .pc_gnb_wrap .depth01 > li:hover > a {color: #5b9bf0;}
	#wrap > .pc_gnb_wrap .depth01 > li:hover > a:after {top: auto; bottom: 0; left: 16px; width: calc(100% - 32px); height: 2px; background-color: #5b9bf0;}

	/* 기존 드롭다운·반투명 배경은 끄고, 새 드롭다운이 열릴 때만 배경을 깐다 (마우스 통과) */
	#wrap > .pc_gnb_wrap .depth02 {display: none !important;}
	#wrap > .pc_gnb_wrap .gnb_bg {display: none !important;}
	#wrap > .pc_gnb_wrap:has(.depth01 > li:hover > .hu_mega) .gnb_bg {display: block !important; position: fixed; top: var(--hu-header-h); left: 0; width: 100vw; height: 100vh; background: rgba(3,10,24,.45); pointer-events: none; z-index: 1000;}
}

/* 1280~1399px : 메뉴 여백·글자 축소 */
@media screen and (min-width: 1280px) and (max-width: 1399px) {
	#wrap > .pc_gnb_wrap .depth01 > li > a {padding: 0 12px; font-size: 16px;}
}

/* 1025~1279px : A 로고 (검색·제품검색·로그인은 아래 1279px 이하 규칙에서 숨김) */
@media screen and (min-width: 1025px) and (max-width: 1279px) {
	#wrap #header h1 {width: var(--hu-mini-logo); height: var(--hu-mini-logo);}
	#wrap #header h1 a {background-image: url(/images/logo/ic_abovA_32px.png);}
	#wrap > .pc_gnb_wrap {left: calc(var(--hu-edge) + var(--hu-mini-logo) + var(--hu-logo-gap));}
	#wrap > .pc_gnb_wrap .depth01 > li > a {padding: 0 10px; font-size: 15px;}
}

/* ── GNB 드롭다운 (.hu_mega, 디자인: abov_gnb_dropdown_3B 라이트 칩 컬럼) ── */
.hu_mega {display: none;}
@media screen and (min-width: 1025px) {
	#wrap > .pc_gnb_wrap .hu_mega {display: block; position: fixed; top: var(--hu-header-h); left: 0; right: 0; z-index: 1100;
		visibility: hidden; opacity: 0; transform: translateY(-6px);
		transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s linear .18s;
		background: #f7f9fc; color: #10213f; border-top: 3px solid #1f5baa; box-shadow: 0 18px 40px rgba(0,0,0,.28);
		text-align: left; white-space: normal; line-height: 1.4; font-size: 14px;}
	#wrap > .pc_gnb_wrap .depth01 > li:hover > .hu_mega {visibility: visible; opacity: 1; transform: none; transition-delay: 0s;}
	.hu_mega .hu_mega_scroll {max-height: calc(100vh - var(--hu-header-h) - 40px); overflow: auto;
		display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 44px; padding: 26px 48px 30px;}
	.hu_mega .col {padding-bottom: 10px; min-width: 0;}
	.hu_mega .hd {display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; padding: 0 0 12px;
		font-size: 18px; font-weight: 800; letter-spacing: -.3px; line-height: 1.3; color: #10213f; border-bottom: 2px solid #10213f; text-decoration: none;}
	.hu_mega a.hd:hover {color: #1f5baa; border-color: #1f5baa;}
	.hu_mega .hd .arw {font-style: normal; margin-left: 4px;}
	.hu_mega .hd small {font-size: 12px; font-weight: 600; color: #6b7a93;}
	.hu_mega .r {padding: 10px 0; border-bottom: 1px solid #e3e9f2;}
	.hu_mega .r:last-child {border-bottom: 0;}
	.hu_mega .r h4 {margin: 0 0 8px; font-size: 13px; font-weight: 700; line-height: 1.3; color: #4a5a75;}
	.hu_mega .chips {display: flex; flex-wrap: wrap; gap: 6px;}
	.hu_mega .chips a,
	.hu_mega .chips .dis {display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 16px;
		background: #fff; border: 1px solid #d5deea; font-size: 13.5px; font-weight: 600; line-height: 1.2; color: #1c2c49; text-decoration: none;}
	.hu_mega .chips a:hover {background: #0a1a36; border-color: #0a1a36; color: #fff;}
	.hu_mega .chips .dis {border-style: dashed; color: #8a97ad; cursor: default;}
}
/* 드롭다운 글꼴: 언어별 (시리즈 코드 칩은 고정폭) */
.pc_gnb_wrap.hu_lang_kr .hu_mega, .pc_gnb_wrap.hu_lang_en .hu_mega {font-family: 'Pretendard', 'Pretendard JP', 'Noto Sans KR', sans-serif;}
.pc_gnb_wrap.hu_lang_jpn .hu_mega {font-family: 'Pretendard JP', 'Pretendard', 'Meiryo', sans-serif;}
.pc_gnb_wrap.hu_lang_chn .hu_mega {font-family: 'Sarasa Gothic SC HU', 'Microsoft YaHei', 'PingFang SC', sans-serif;}
.pc_gnb_wrap .hu_mega .chips a.code {font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace; font-size: 13px; font-weight: 700; color: #1f5baa;}
.pc_gnb_wrap .hu_mega .chips a.code:hover {color: #fff;}

/* 1279px 이하: 검색·제품검색·로그인 숨김 */
@media screen and (max-width: 1279px) {
	#header .h_top > ul > li:has(#search_engine),
	#header .h_top > ul > li:has(a[href*="parameter_search"]),
	#header .h_top > ul > li:has(.util_login),
	#header .h_top > ul > li:has(.user_menu) {display: none !important;}
}

/* ── 태블릿·모바일 (~1024px): 한 줄 헤더 ───────────────────────── */
@media screen and (max-width: 1024px) {
	:root {--hu-navbtn: 30px; --hu-tab-right: 190px;}
	#wrap #header h1 {width: var(--hu-mini-logo); height: var(--hu-mini-logo);}
	#wrap #header h1 a {background-image: url(/images/logo/ic_abovA_32px.png);}
	#wrap #header .btn_wrap {display: flex; right: var(--hu-edge); top: 50%; transform: translateY(-50%);}
	#wrap #header .h_top {right: calc(var(--hu-edge) + var(--hu-navbtn) + 14px);}

	/* 제품·솔루션·개발도구&지원 을 헤더 줄 안에 (회사소개 숨김) */
	#wrap .tab_gnb {position: fixed; top: 0; left: calc(var(--hu-edge) + var(--hu-mini-logo) + 12px); right: var(--hu-tab-right);
		width: auto; height: var(--hu-header-h); z-index: 1045; background: transparent; border: 0;
		overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;}
	#wrap .tab_gnb::-webkit-scrollbar {display: none;}
	#wrap .tab_gnb .inner {width: auto; height: 100%; padding: 0; margin: 0;}
	#wrap .tab_gnb ul {display: flex; height: 100%; white-space: nowrap;}
	#wrap .tab_gnb ul:after {content: none;}
	#wrap .tab_gnb ul li {float: none; flex: 0 0 auto; width: auto; height: 100%;}
	#wrap .tab_gnb ul li[target_id="about_2dep"] {display: none;}
	#wrap .tab_gnb ul li a {padding: 0 12px; line-height: var(--hu-header-h); font-size: 15px; font-weight: 600; color: #10213f;}

	/* 전체 메뉴 레이어: 스크롤 위치와 상관없이 화면 전체에 */
	.layer_menu {position: fixed !important; top: 0 !important; height: 100vh !important; overflow-y: auto;}
}
@media screen and (max-width: 767px) {
	/* 오른쪽 예약폭 = 가장자리 10 + ☰ 25 + 간격 14 + 언어 아이콘 26 + 여유 10 */
	:root {--hu-navbtn: 25px; --hu-tab-right: 85px;}
	/* 언어 버튼은 아이콘만 (공간 확보) */
	#header .h_top .language .lang_tit {font-size: 0; gap: 0;}
	#wrap .tab_gnb {left: calc(var(--hu-edge) + var(--hu-mini-logo) + 8px);}
	#wrap .tab_gnb ul li a {padding: 0 6px; font-size: 12px;}
}
@media screen and (max-width: 400px) {
	#wrap .tab_gnb ul li a {padding: 0 5px; font-size: 11.5px;}
}

/* ── [header_util_20260923k] GNB 클릭 테두리 제거 · 밑줄 대신 ▼▲ 드롭다운 표시 ─────────
   - 클릭(포커스) 시 bootstrap 의 a:focus 테두리(outline 5px auto)가 생기던 것 제거
   - 마우스 오버 시 글자 밑줄(bootstrap a:hover)과 아래 막대(:after)가 겹쳐 2줄로 보이던 것 제거
   - 메뉴명 옆에 ▼ (열리면 ▲) */
#wrap > .pc_gnb_wrap a,
#wrap > .pc_gnb_wrap a:focus,
#wrap > .pc_gnb_wrap a:active,
#wrap .tab_gnb a,
#wrap .tab_gnb a:focus,
#wrap .tab_gnb a:active {outline: none; box-shadow: none;}
@media screen and (min-width: 1025px) {
	#wrap > .pc_gnb_wrap .depth01 > li > a,
	#wrap > .pc_gnb_wrap .depth01 > li > a:hover,
	#wrap > .pc_gnb_wrap .depth01 > li > a:focus,
	#wrap > .pc_gnb_wrap .depth01 > li:hover > a {text-decoration: none;}
	#wrap > .pc_gnb_wrap .depth01 > li > a:after,
	#wrap > .pc_gnb_wrap .depth01 > li:hover > a:after {content: "\25BC"; position: static; display: inline-block; width: auto; height: auto;
		margin-left: 6px; background: none; font-size: 9px; line-height: 1; vertical-align: 2px; transform: none;}
	#wrap > .pc_gnb_wrap .depth01 > li:hover > a:after {content: "\25B2";}
}
