@charset "UTF-8";

/* ============================================================
   신일케미칼 홈페이지 - 메인 스타일시트
   PC 기준: 1920px / Mobile 대응
   폰트: Noto Sans KR(한글) + G마켓산스(영문/타이틀)
   ============================================================ */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: normal;
  unicode-range: U+0000-007F;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: bold;
  unicode-range: U+0000-007F;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
  font-weight: 300;
  unicode-range: U+0000-007F;
}

/* ── CSS 변수 ──────────────────────────────────────────────── */
:root {
  --color-primary:   #1a3a6b;   /* 딥 네이비 */
  --color-secondary: #2e6dbd;   /* 블루 */
  --color-accent:    #e84c1e;   /* 오렌지레드 포인트 */
  --color-orange:    #ed7816; 
  --color-text:      #333333;
  --color-text-sub:  #666666;
  --color-text-sub2:  #7d7c7c;
  --color-border:    #dddddd;
  --color-bg:        #f8f9fa;
  --color-white:     #ffffff;
  --color-footer-bg: #1a1a2e;
  --font-kr:    'GmarketSans', 'Noto Sans KR', sans-serif;
  --font-en:    'GmarketSans', 'Noto Sans KR', sans-serif;
  --font-title: 'GmarketSans', 'Noto Sans KR', sans-serif;
  --header-height: 90px;
  --inner-width: 1500px;
  --transition:    0.3s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: var(--font-kr);
  color: var(--color-text);
  /* line-height: 1.6; */
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── 공통 레이아웃 ─────────────────────────────────────────── */
.inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* ── 스크롤 TOP 버튼 ───────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
#scrollTop.show { opacity: 1; visibility: visible; }
#scrollTop:hover { background: var(--color-secondary); transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  /* backdrop-filter: blur(10px); */
  z-index: 1000;
  /* border-bottom: 1px solid rgba(0,0,0,0.08); */
  transition: var(--transition);
}
#header.scrolled {
  /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 90px;
  height: 100%;
  justify-content: space-between;
}
/* 로고 */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {height: 40px;}
.logo-text { font-family: var(--font-title); font-weight: bold; font-size: 22px; color: var(--color-primary); }

/* 메인 GNB */
#gnb { display: flex; align-items: center; }
.gnb-list {
  display: flex;
  gap: 0;
}
.gnb-item { position: relative; }
.gnb-item > a {
  display: flex;
  align-items: center;
  height: var(--header-height);
  /* padding: 0 28px; */
  font-family: var(--font-kr);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
  white-space: nowrap;
}
.gnb-item > a:hover,
.gnb-item > a.active { color: var(--color-primary); }
.gnb-item > a::after {
  content: '';
  position: absolute;
  width: 100%;
  bottom: 0;
  /* left: 0; */
  /* right:0; */
  width: 0;
  height: 2px;
  /* background: var(--color-primary); */
  transform: translateX(-50%);
  transition: var(--transition);
}
.gnb-item > a:hover::after,
.gnb-item > a.active::after { width: 100%; }

/* 드롭다운 */
.gnb-item:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu {
  position: absolute;
  top: var(--header-height, 80px);
  left: 0;
  min-width: 80px;
  background: transparent;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  /* transform: translateY(-10px); */
  transition: var(--transition);
  z-index: 100;
}
.sub-menu li a {
  display: block;
  padding: 10px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  transition: var(--transition);
}
.sub-menu li a:hover { background: rgba(255,255,255,0.1); color: #fff;  }

/* 헤더 우측 */
.header-right { display: flex; align-items: center; gap: 10px; }
.btn-admin {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--color-text-sub);
  transition: var(--transition);
}
.btn-admin:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* 모바일 햄버거 */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--color-text); transition: var(--transition); border-radius: 2px; }

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (서브 페이지 상단)
══════════════════════════════════════════════════════════════ */
.page-hero {
  margin-top: var(--header-height);
  height: 280px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-pattern.png') repeat;
  opacity: 0.05;
}
.page-hero-content { position: relative; color: #fff; }
.page-hero h2 { font-family: var(--font-title); font-size: 36px; font-weight: bold; margin-bottom: 10px; }
.page-hero p { font-size: 15px; opacity: 0.85; }

/* 브레드크럼 */
.breadcrumb {
  background: #f5f7fa;
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-sub); }
.breadcrumb-inner a:hover { color: var(--color-primary); }
.breadcrumb-inner .sep { color: #bbb; }
.breadcrumb-inner .current { color: var(--color-primary); font-weight: 500; }

/* ══════════════════════════════════════════════════════════════
   서브 TAB 메뉴 (2depth)
══════════════════════════════════════════════════════════════ */
.sub-tab {
  background: #fff;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 60px;
}
.sub-tab ul { display: flex; }
.sub-tab li a {
  display: block;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-sub);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.sub-tab li a:hover,
.sub-tab li a.active { color: var(--color-primary); border-color: var(--color-primary); }

/* ══════════════════════════════════════════════════════════════
   SECTION 공통
══════════════════════════════════════════════════════════════ */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: bold;
  color: var(--color-primary);
  line-height: 1.3;
}
.section-desc {
  margin-top: 15px;
  font-size: 16px;
  color: var(--color-text-sub);
  line-height: 1.8;
}
.section-line {
  width: 50px; height: 3px;
  background: var(--color-accent);
  margin: 16px auto 0;
}

/* ══════════════════════════════════════════════════════════════
   게시판 공통
══════════════════════════════════════════════════════════════ */
.board-wrap { padding: 60px 0 100px; }
.board-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--color-primary);
}
.board-table th {
  padding: 14px 10px;
  background: #f5f7fa;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.board-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
}
.board-table td.title {
  text-align: left;
  padding-left: 20px;
}
.board-table td.title a:hover { color: var(--color-primary); text-decoration: underline; }
.board-table tr:hover td { background: #fafcff; }
.board-no-data td { text-align: center; padding: 60px; color: var(--color-text-sub); }

/* 게시판 상단 */
.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.board-count { font-size: 14px; color: var(--color-text-sub); }
.board-count strong { color: var(--color-primary); }

/* 검색 */
.board-search { display: flex; gap: 8px; }
.board-search select, .board-search input {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
}
.board-search button {
  padding: 8px 18px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}

/* 게시글 상세 */
.board-view { padding: 60px 0 100px; }
.view-header { border-top: 2px solid var(--color-primary); border-bottom: 1px solid var(--color-border); padding: 24px 0; }
.view-title { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.view-meta { display: flex; gap: 20px; font-size: 14px; color: var(--color-text-sub); }
.view-content { padding: 40px 0; min-height: 200px; line-height: 1.9; font-size: 15px; border-bottom: 1px solid var(--color-border); }
.view-file { padding: 14px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.view-file a { color: var(--color-secondary); }
.view-file a:hover { text-decoration: underline; }
.view-nav { margin-top: 20px; }
.view-nav table { width: 100%; border-collapse: collapse; }
.view-nav td { padding: 12px 16px; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.view-nav .label { width: 80px; text-align: center; background: #f5f7fa; font-weight: 600; color: var(--color-text-sub); }
.view-nav a:hover { color: var(--color-primary); text-decoration: underline; }
.view-btn { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.btn {display: inline-flex;align-items: center;justify-content: center;padding: 12px 28px;border-radius: 4px;font-size: 16px;font-weight: 500;transition: var(--transition);cursor: pointer;}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-secondary); }
.btn-outline { border: 1px solid var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* 페이지네이션 */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 40px; }
.pagination a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-text);
  transition: var(--transition);
}
.pagination a:hover, .pagination a.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
#footer {
  position: relative;
  background: #111118;
  color: rgba(255,255,255,0.65);
}

/* 메인 푸터 영역 */
.footer-main {
  padding: 40px 0 35px;
}
.footer-main-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

/* 로고 */
.footer-left { flex: 1; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 48px; filter: brightness(0) invert(1); }

/* 회사 정보 */
.footer-info-block { }
.footer-info-dl { }
.footer-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.7;
}
.footer-info-row dt {
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  margin-right: 6px;
}
.footer-info-row dd {
  color: rgba(255,255,255,0.55);
  margin-right: 20px;
  white-space: nowrap;
}

/* 우측: 패밀리 사이트 드롭다운 */
.footer-right {
  flex-shrink: 0;
}
.footer-family-box {
  position: relative;
}
.footer-family-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
  min-width: 160px;
  justify-content: space-between;
}
.footer-family-btn:hover,
.footer-family-btn.open {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.footer-family-btn svg {
  transition: transform 0.3s ease;
  opacity: 0.7;
}
.footer-family-btn.open svg {
  transform: rotate(180deg);
}
.footer-family-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  bottom: auto;
  background: #ffffff;
  border: 1px solid #dddddd;
  min-width: 160px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.footer-family-dropdown.open { display: block; }
.footer-family-dropdown a {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  color: #333333;
  border-bottom: 1px solid #eeeeee;
  transition: all 0.2s;
}
.footer-family-dropdown a:last-child { border-bottom: none; }
.footer-family-dropdown a:hover {
  background: #f4f5f7;
  color: #000000;
}

/* 카피라이트 스타일 */
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.footer-copy-brand {
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  transition: color 0.2s;
}
.footer-copy-brand:hover { color: rgba(255,255,255,0.85); }
.footer-logout-ico {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  margin-left: 2px;
}
.footer-logout-ico:hover { color: #f26522; }

/* 반응형 */
@media (max-width: 991px) {
  .footer-main-inner { flex-direction: column; gap: 25px; }
  .footer-right { align-self: flex-start; }
}
@media (max-width: 768px) {
  .footer-info-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px 0px;
    margin-bottom: 10px;
  }
  .footer-info-row dt { margin-right: 0; margin-bottom: 0; }
  .footer-info-row dd { 
    margin-right: 0; 
    margin-bottom: 0;
    white-space: normal; 
    word-break: keep-all; 
    line-height: 1.5; 
  }
  .footer-logo img { height: 36px; margin-bottom: 5px; }
}


/* ══════════════════════════════════════════════════════════════
   유틸리티
══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* 에디터 작성 테이블 스타일 정의 (테두리 및 가독성 확보) */
table.table-bordered {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 20px 0 !important;
  border: 1px solid #ddd !important;
}
table.table-bordered th,
table.table-bordered td {
  border: 1px solid #ddd !important;
  padding: 10px 12px !important;
  text-align: left !important;
}
table.table-bordered th {
  background-color: #f8f9fa !important;
  font-weight: bold !important;
}

/* ============================================================
   새롭게 추가된 리뉴얼 스타일 (Header & Main)
   ============================================================ */
/* ── 공통 설정 (Home) ──────────────────────────── */
:root {
  --theme-orange: #f26522;
  --theme-blue: #0081e9;
  --theme-green: #4c8c4b;
  --theme-navy:#00225e;
  --theme-deepblue: #1148a9;
}

/* ── 풀다운 헤더 스타일 ──────────────────────────── */
#header { position: relative; z-index: 1000; background: #fff; transition: height 0.3s ease; }
.nav-bg {
  position: absolute;
  top: var(--header-height, 80px);
  left: 0;
  width: 100%;
  height: 0;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  /* border-bottom: 1px solid #ddd; */
  transition: height 0.3s ease;
  z-index: -1;
  overflow: hidden;
}
.gnb-list {display: flex;height: 100%;align-items: center;gap: 95px;}
.gnb-item { position: relative; }
.gnb-item > a {/* padding: 0 30px; */font-weight: 600;display: block;line-height: var(--header-height, 80px);position: relative;}

/* 1depth Hover/Active */
.gnb-item:hover > a,
.gnb-item.active > a { color: var(--theme-orange, #f26522) !important; }
.gnb-item:hover > a::after,
.gnb-item.active > a::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--theme-orange, #f26522);
  transform: translateX(-50%);
  bottom: 0;
}

.sub-menu {
  position: absolute;
  top: var(--header-height, 80px);
  left: 0;
  width: 100%;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  padding: 0;
  z-index: 10;
  margin-top: 12px;
}
.sub-menu li a {display: block;padding: 0;font-size: 14px;color: #666;transition: color 0.2s;}
.sub-menu li a:hover,
.sub-menu li a.active { color: var(--theme-orange, #f26522); font-weight: bold; background: transparent; }

/* Header Open State */
#header.header-open .nav-bg { height: 260px; /* 서브메뉴 높이에 맞게 조절 */ }
#header.header-open .sub-menu {display: flex;gap: 10px;visibility: visible;opacity: 1;transition: opacity 0.3s ease, visibility 0s;flex-direction: column;margin-top: 30px;}

/* 모든 페이지 투명 헤더 스타일 (기본적으로 비주얼 영역 위) */
#header { position: fixed; top: 0; left: 0; width: 100%; background: transparent; transition: background 0.3s, transform 0.3s; border-bottom: none; }
.nav-bg { border-top: none; }
#header .gnb-item > a { color: #fff; }
#header .logo-default { display: none; }
#header .logo-white { display: inline-block; }

#header.header-scrolled, #header.header-open {background: #fff;/* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */}
#header.header-scrolled .gnb-item > a, #header.header-open .gnb-item > a { color: #333; }
#header.header-scrolled .logo-default, #header.header-open .logo-default { display: inline-block; }
#header.header-scrolled .logo-white, #header.header-open .logo-white { display: none; }
#header.header-hidden { transform: translateY(-100%); }

/* ── 1. 메인 비주얼 (Hero) ──────────────────────────── */
.main-visual { position: relative; height: 100vh; min-height: 700px; overflow: hidden; }
.swiper-hero { width: 100%; height: 100%; }
.swiper-hero .swiper-slide { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-bg { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; z-index: -1; }
.hero-video { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; z-index: -1; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.3); z-index: 0; }
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; }
.hero-title {font-size: 120px;font-weight: 700;margin-bottom: 20px;line-height: 1.2;text-shadow: 0 2px 10px rgba(0,0,0,0.5);perspective: 1000px;}
.hero-title span { display: inline-block; opacity: 0; transform: translateX(50px) translateZ(0); filter: blur(10px); transition: opacity 0.8s, transform 0.8s, filter 0.8s; transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
.hero-desc {font-size: 30px;text-shadow: 0 2px 10px rgba(0,0,0,0.5);opacity: 0;transition: opacity 1.5s ease 0.5s;}

/* Active Slide Animation */
.swiper-slide-active .hero-title span { opacity: 1; transform: translateX(0) translateZ(0); filter: blur(0); }
.swiper-slide-active .hero-desc { opacity: 1; }
/* Hero Navigation Arrows */
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; z-index: 10; display: flex; justify-content: space-between; padding: 0 50px; pointer-events: none; }
.hero-nav .swiper-button-prev, .hero-nav .swiper-button-next {
  position: static;
  width: 60px;
  height: 60px;
  margin: 0;
  pointer-events: auto;
  opacity: 50%;
  transition: background 0.3s;
}
.hero-nav .swiper-button-prev:hover, .hero-nav .swiper-button-next:hover {/* background: rgba(0,0,0,0.3); */opacity: 1;}
.hero-nav .swiper-button-prev::after, .hero-nav .swiper-button-next::after { display: none; }
.hero-nav img { width: 100%; height: 100%; object-fit: contain; }
.hero-pagination{bottom:60px;}
/* Hero Pagination Hexagon */
.swiper-hero .swiper-pagination-bullet {
  width: 16px;
  height: 18px;
  background: transparent;
  opacity: 1;
  margin: 0 6px !important;
  position: relative;
  border-radius: 0;
  transition: opacity 0.3s;
}
.swiper-hero .swiper-pagination-bullet::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 18"><polygon points="8,1.5 14.5,5.25 14.5,12.75 8,16.5 1.5,12.75 1.5,5.25" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linejoin="round"/></svg>');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transition: background-image 0.3s;
}
.swiper-hero .swiper-pagination-bullet-active::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 18"><polygon points="8,0.5 15.5,4.75 15.5,13.25 8,17.5 0.5,13.25 0.5,4.75" fill="%23f26522" stroke="%23f26522" stroke-width="1" stroke-linejoin="round"/></svg>');
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 60px) !important;
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}
/* ── 2. Company 섹션 (아코디언 루프) ──────────────────────────── */
.section-company { padding: 100px 0; background: #fff; text-align: center; }
.section-company  .sec-title,.section-notice .sec-title {font-size: 41px;font-weight: 700;color: #00225e;margin-bottom: 10px;font-family: var(--font-en);text-transform: uppercase;}
.sec-title span { color: var(--theme-orange); }
.sec-desc {font-size: 18px;color: #666;margin-bottom: 50px;}

.company-accordion {display: flex;max-width: 1500px;margin: 0 auto;height: 400px;gap: 15px;padding: 0 20px;}
.company-panel {
  position: relative; flex: 1; border-radius: 0; overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1); cursor: pointer;
}
.company-panel.active { flex: 2; }
.company-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.company-panel.active img { transform: scale(1.05); }
.company-panel-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5); transition: background 0.4s;
  display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff;
}
.company-panel.active .company-panel-overlay { background: rgba(0,0,0,0.2); }
.company-panel h3 {font-size: 24px;font-weight: 700;white-space: nowrap;/* writing-mode: vertical-rl; *//* transform: rotate(180deg); */transition: 0.4s;}
.company-panel.active h3 { writing-mode: horizontal-tb; transform: none; font-size: 32px; margin-bottom: 10px; }
.company-panel p { opacity: 0; transform: translateY(20px); transition: 0.4s; font-size: 16px; white-space: nowrap; }
.company-panel.active p { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.company-panel .plus-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  background: url('/images/sub/plus_icon.png') no-repeat center center;
  background-size: contain;
  color: transparent;
  overflow: hidden;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 5;
}
.company-panel.active .plus-icon {
  background: var(--theme-orange) url('/images/sub/plus_icon.png') no-repeat center center;
  background-size: 16px 16px;
  width: 45px;
  height: 45px;
  border-radius: 0;
  opacity: 1;
  bottom: 0;
  right: 0;
}

/* active 패널 안쪽에 얇은 화이트 라인 보더(inset) 생성 */
.company-panel.active .company-panel-overlay::after {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* ── 3. Products 섹션 ──────────────────────────── */
.section-products {padding: 100px 0;background: url(../images/main_section11.jpg) no-repeat;color: #fff;position: relative;overflow: hidden;}
.products-inner {display: flex;max-width: 1500px;margin: 0 auto;padding: 0 20px;align-items: center;}
.products-info {width: 50%;padding-right: 50px;}
.products-info h2 {font-size: 49px;font-weight: 700;font-family: var(--font-en);margin-bottom: 20px;}
.products-info h2 span {color: var(--theme-orange);font-size: 77px;}
.products-info p {font-size: 19px;line-height: 1.6;color: #fff;margin-bottom: 40px;}
.products-nav {display: flex;gap: 0;}
.products-nav .swiper-button-prev, .products-nav .swiper-button-next {
  position: static;
  width: 40px;
  height: 40px;
  /* border: 1px solid rgba(255,255,255,0.3); */
  border-radius: 50%;
  color: #a299a7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.products-nav .swiper-button-prev::after, .products-nav .swiper-button-next::after {font-size: 24px;font-weight: 900;}

.products-slider-wrap {width: 60%;position: relative;}
.swiper-products { padding-bottom: 50px; overflow: visible; }
.product-card {background: var(--theme-orange);padding: 40px 30px;height: 400px;display: flex;flex-direction: column;/* justify-content: space-between; */position: relative;transition: 0.3s;cursor: pointer;}
.product-card h3 {font-size: 45px;font-weight: bold;margin-bottom: 15px;}
.product-card p {font-size: 18px;line-height: 1.5;}
.product-card .more {font-size: 16px;font-weight: 600;/* text-decoration: underline; */margin-top: 60px;}
.product-card .num {position: absolute;bottom: 20px;right: 20px;font-size: 63px;font-weight: 800;}

/* ── 4. ESG 섹션 ──────────────────────────── */
.section-esg { padding: 100px 0; background: url(../images/main_section21.jpg) no-repeat; }
.section-esg .sec-title{font-size: 41px;font-weight: 700;color: #fff;margin-bottom: 10px;font-family: var(--font-en);text-transform: uppercase}
.section-esg .sec-desc{color:#fff}
.esg-wrap {display: flex;max-width: 1500px;margin: 0 auto;padding: 0;/* height: 450px; */background: #fff;box-shadow: 0 20px 50px rgba(0,0,0,0.05);}
.esg-visual {width: 75%;position: relative;overflow: hidden;display: flex;align-items: center;justify-content: center;text-align: center;color: #fff;}
.esg-visual-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image 0.5s ease; }
.esg-visual-bg::after {content:'';position: absolute;inset: 0;/* background: rgba(0,0,0,0.4); */}
.esg-visual-content { position: relative; z-index: 1; }
.esg-visual-content h3 {font-size: 47px;font-weight: bold;margin-bottom: 15px;}
.esg-visual-content p {font-size: 24px;margin-bottom: 30px;}
.esg-visual-content .btn {background: var(--theme-blue);color: #fff;padding: 10px 30px 10px;font-weight: 400;text-decoration: none;display: inline-block;transition: 0.3s;font-size: 24px;border-radius: 0;}
.esg-visual-content .btn:hover { background: #0a3a70; }
.esg-visual-content .btn.btn-green { background: var(--theme-green); }
.esg-visual-content .btn.btn-green:hover { background: #3b703a; }
.esg-visual-content .btn.btn-orange { background: var(--theme-orange); }
.esg-visual-content .btn.btn-orange:hover { background: #db5315; }
.esg-visual-content .btn.btn-blue { background: var(--theme-blue); }
.esg-visual-content .btn.btn-blue:hover { background: #006ec7; }

.esg-list { width: 40%; display: flex; flex-direction: column; }
.esg-item {flex: 1;display: flex;align-items: center;justify-content: space-between;padding: 30px;border-bottom: 1px solid #eee;cursor: pointer;transition: 0.3s;}
.esg-item:last-child { border-bottom: none; }
.esg-item-info h4 {font-size: 42px;font-weight: bold;color: #333;margin-bottom: 5px;}
.esg-item-info p {font-size: 22px;color: #888;font-family: var(--font-en);}
.esg-item .letter {font-size: 115px;font-weight: 900;color: #eee;font-family: var(--font-en);transition: 0.3s;}
.esg-item.active { background: var(--theme-blue); }
.esg-item.active .esg-item-info h4, .esg-item.active .esg-item-info p { color: #fff; }
.esg-item.active .letter {color: rgba(255,255,255,1);}
.esg-item:nth-child(1).active { background: var(--theme-green); } /* E */
.esg-item:nth-child(2).active { background: var(--theme-orange); } /* S */
.esg-item:nth-child(3).active { background: var(--theme-blue); } /* G */

/* ── 5. Notice 섹션 ──────────────────────────── */
.section-notice { padding: 100px 0; background: #fff; position: relative; }
.notice-header { text-align: center; margin-bottom: 50px; }
.swiper{overflow:none;}
.swiper-notice {max-width: 1500px;margin: 0 auto;padding: 0 20px 50px;}
.notice-card { background: #fff; border: 1px solid #eee; padding: 30px; height: 310px; display: flex; flex-direction: column; transition: 0.3s; }
.notice-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: transparent; transform: translateY(-5px); }
.notice-card .date { font-size: 13px; color: #aaa; margin-bottom: 15px; font-family: var(--font-en); }
.notice-card h4 { font-size: 18px; font-weight: bold; color: #222; margin-bottom: 15px; line-height: 1.4; height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-card p { font-size: 14px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px; }
.notice-card .more { font-size: 13px; font-weight: 600; color: #888; text-align: right; margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.notice-card:hover h4 { color: var(--theme-blue); }
/* 공지사항 1번째 요소 강조 스타일 */
.swiper-slide-active .notice-card {background: var(--theme-deepblue);color: #fff;border-color: var(--theme-deepblue);}
.swiper-slide-active .notice-card h4, .swiper-slide-active .notice-card p, .swiper-slide-active .notice-card .date, .swiper-slide-active .notice-card .more { color: #fff; }
.swiper-slide-active .notice-card .more::after {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--theme-blue, #0081e9);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'></line><polyline points='12 5 19 12 12 19'></polyline></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  border-radius: 50%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.notice-nav {position: absolute;top: 100px;right: calc(50% - 600px + 20px);display: flex;gap: 8px;z-index: 10;align-items: center;justify-content: center;}
.notice-nav .swiper-pagination-bullet { width: 12px; height: 12px; background: #e0e0e0; opacity: 1; border-radius: 50%; margin: 0; cursor: pointer; transition: all 0.3s ease; display: inline-block; }
.notice-nav .swiper-pagination-bullet:hover { background: #ccc; }
.notice-nav .swiper-pagination-bullet-active { background: var(--theme-blue, #0081e9); transform: scale(1.15); }

/* 모바일 대응 */
@media(max-width: 1024px) {
  .products-inner { flex-direction: column; }
  .products-info, .products-slider-wrap { width: 100%; }
  .products-info { margin-bottom: 40px; padding-right: 0; text-align: center; }
  .products-nav { justify-content: center; }
  
  .esg-wrap { flex-direction: column; height: auto; }
  .esg-visual, .esg-list { width: 100%; }
  .esg-visual { height: 300px; }
  .esg-item { height: 100px; }
  .notice-nav {top: auto;bottom: 20px;left: 50% !important;right: auto;transform: translateX(-50%);}
}
@media(max-width: 768px) {
  .section-company{padding: 70px 10px;}
  .company-accordion {flex-direction: column;height: 600px;padding: 0;}
  .company-panel h3 {writing-mode: horizontal-tb;transform: none;font-size: 20px;margin-top: 20px;margin-bottom: 0px;}
  .company-panel h5{margin-bottom:10px}
  .company-panel p{line-height:1.2}
  .company-panel.active h3 {font-size: 24px;margin-bottom: 0;}
  .hero-title {font-size: 32px;}
  .hero-desc{font-size: 16px;word-break: auto-phrase;}
  .hero-nav{display:none}
  .section-products{padding: 70px 0;}
  .products-inner { flex-direction: column; }
  .products-inner {display: flex;max-width: 1500px;margin: 0 auto;padding: 0 20px;align-items: center;}
  .products-info {}
  .products-info h2 {font-size: 41px;font-weight: 700;font-family: var(--font-en);margin-bottom: 20px;}
  .products-info h2 span {color: var(--theme-orange);font-size: 48px;}
  .products-info p {font-size: 14px;line-height: 1.6;color: #fff;margin-bottom: 40px;}
  .product-card {background: var(--theme-orange);padding: 40px 30px;height: 310px;display: flex;flex-direction: column;/* justify-content: space-between; */position: relative;transition: 0.3s;}
  .product-card h3 {font-size: 36px;font-weight: bold;margin-bottom: 15px;}
  .product-card p {font-size: 14px;line-height: 1.5;}
  .product-card .more {font-size: 14px;font-weight: 600;/* text-decoration: underline; */margin-top: 30px;}
  .product-card .num {position: absolute;bottom: 20px;right: 20px;font-size: 50px;font-weight: 800;}
  .section-esg {padding: 70px 0 0;background-size: cover;}
.section-esg .sec-title{font-size: 41px;font-weight: 700;color: #fff;margin-bottom: 10px;font-family: var(--font-en);text-transform: uppercase}
.section-esg .sec-desc{color:#fff;font-size: 14px;}
.esg-wrap {/* display: flex; *//* max-width: 1500px; *//* margin: 0 auto; *//* padding: 0; *//* height: 450px; *//* background: #fff; *//* box-shadow: 0 20px 50px rgba(0,0,0,0.05); */}
.esg-visual {position: relative;overflow: hidden;display: flex;align-items: center;justify-content: center;text-align: center;color: #fff;}
.esg-visual-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image 0.5s ease; }
.esg-visual-bg::after {content:'';position: absolute;inset: 0;/* background: rgba(0,0,0,0.4); */}
.esg-visual-content { position: relative; z-index: 1; }
.esg-visual-content h3 {font-size: 33px;font-weight: bold;margin-bottom: 15px;}
.esg-visual-content p {font-size: 16px;margin-bottom: 30px;}
.esg-visual-content .btn {background: var(--theme-blue);color: #fff;padding: 6px 16px 6px;font-weight: 400;text-decoration: none;display: inline-block;transition: 0.3s;font-size: 15px;border-radius: 0;}
.esg-visual-content .btn:hover { background: #0a3a70; }

.esg-list {display: flex;flex-direction: column;}
.esg-item {flex: 1;display: flex;align-items: center;justify-content: space-between;padding: 0 45px;border-bottom: 1px solid #eee;cursor: pointer;transition: 0.3s;}
.esg-item:last-child { border-bottom: none; }
.esg-item-info h4 {font-size: 42px;font-weight: bold;color: #333;margin-bottom: 5px;}
.esg-item-info p {font-size: 22px;color: #888;font-family: var(--font-en);}
.esg-item .letter {font-size: 115px;font-weight: 900;color: #eee;font-family: var(--font-en);transition: 0.3s;}
.esg-item.active { background: var(--theme-blue); }
.esg-item.active .esg-item-info h4, .esg-item.active .esg-item-info p { color: #fff; }
.esg-item.active .letter {color: rgba(255,255,255,1);}
.esg-item:nth-child(1).active { background: var(--theme-green); } /* E */
.esg-item:nth-child(2).active { background: var(--theme-orange); } /* S */
.esg-item:nth-child(3).active { background: var(--theme-blue); } /* G */

/* ── 5. Notice 섹션 ──────────────────────────── */
.section-notice { padding: 100px 0; background: #fff; position: relative; }
.notice-header {text-align: center;margin-bottom: 0px;padding: 15px;}
.swiper{overflow:none;}
.swiper-notice {max-width: 1500px;margin: 0 auto;padding: 0 20px 50px;}
.notice-card { background: #fff; border: 1px solid #eee; padding: 30px; height: 310px; display: flex; flex-direction: column; transition: 0.3s; }
.notice-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: transparent; transform: translateY(-5px); }
.notice-card .date { font-size: 13px; color: #aaa; margin-bottom: 15px; font-family: var(--font-en); }
.notice-card h4 { font-size: 18px; font-weight: bold; color: #222; margin-bottom: 15px; line-height: 1.4; height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-card p { font-size: 14px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px; }
.notice-card .more { font-size: 13px; font-weight: 600; color: #888; text-align: right; margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.notice-card:hover h4 { color: var(--theme-blue); }
}

/* ── TOP_slide 스타일 ──────────────────────────── */
:root {
    --main-orange: #FF8C00;
    --border-gray: #e0e0e0;
    --text-white: #ffffff;
}

.TOP_slide {
    position: fixed;
    bottom: 270px;
    right: 20px;
    width: 66px;
    height: 66px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 0px;
    transform: translateY(20px);
}

.TOP_slide.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.TOP_slide svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    shape-rendering: geometricPrecision;
    pointer-events: none;
}

.TOP_slide .bg_line {
    fill: none;
    stroke: var(--border-gray);
    stroke-width: 2;
}

.TOP_slide .progress_line {
    fill: none;
    stroke: var(--main-orange);
    stroke-width: 2;
    stroke-linecap: butt; 
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    transition: stroke-dashoffset 0.1s linear;
}

.TOP_slide .fill_container {
    position: absolute;
    top: 5px; 
    left: 5px;
    right: 5px;
    bottom: 5px;
    overflow: hidden; 
    z-index: 1;
    border-radius: 0px;
}

.TOP_slide .fill_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; 
    background: var(--main-orange);
    transition: height 0.1s linear;
}

.TOP_slide .center_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.TOP_slide .v_arrow {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2.5px solid var(--main-orange);
    border-right: 2.5px solid var(--main-orange);
    transform: rotate(225deg); 
    border-bottom-right-radius: 2px;
    margin-bottom: 2px;
    margin-top: 4px;
    transition: border-color 0.3s;
}

.TOP_slide .num {
    font-size: 16px;
    font-weight: 800;
    color: var(--main-orange);
    line-height: 1.1;
}

.TOP_slide .unit {
    font-size: 10px;
    font-weight: bold;
    color: var(--main-orange);
    line-height: 1;
}

.TOP_slide.over50 .v_arrow { border-color: var(--text-white); }
.TOP_slide.over50 .num { color: var(--text-white); }
.TOP_slide.over50 .unit { color: var(--text-white); }
@media (max-width: 768px) {
  .TOP_slide {
    position: fixed;
    bottom: 30px;
    right: 10px;
    width: 50px;
    height: 50px;
  }
  .TOP_slide .num{
    font-size: 10px;
  }
}