/* --- [ 1. styles_v2.css START ] --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
:root {
  --primary: #0b5ea8;
  --primary-dark: #083d6a;
  --text-color: #111;
  --bg-light: #f9f9f9;
}
/* === 기본 스타일 === */
body {
  font-family: 'IBM Plex Sans KR', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #111;
  background-color: #ffffff; 
  margin: 0;
  padding: 0;
  padding-top: 110px;
}
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.5px;
}
.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}
/* === 헤더 === */
.main-logo {
    width: 120px; 
    height: auto; 
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 2%;
    background-color: #ffffff;
    position: fixed; 
    top: 0;
    left: 0;
    right: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}
/* 헤더 내비게이션 메뉴 */
header nav > ul {
  margin: 0;
  padding: 0;
  list-style: none; 
  display: flex; 
  gap: 25px; 
}
header nav li {
  display: inline-block;
}
header nav a {
  text-decoration: none; 
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.2s ease;
}
header nav a:hover {
  background-color: #f0f4f8;
  color: var(--primary); 
}

/* === 헤더 드롭다운 메뉴 === */
header .nav-desktop li.dropdown {
  position: relative; 
}
.dropdown-content {
  display: none; 
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translateX(-50%); 
  min-width: 160px; 
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1001; 
  padding: 0;
  margin: 0;
}
.dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.dropdown-content li {
  display: block; 
  width: 100%;
}
.dropdown-content li a {
  display: block;
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 0.95rem; 
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.dropdown-content li:last-child a {
    border-bottom: none; 
}
.dropdown-content li a:hover {
  background-color: #f0f4f8;
  color: var(--primary);
}
header .nav-desktop li.dropdown:hover .dropdown-content {
  display: block;
}
/* header 내비게이션 링크의 기본 활성화 스타일 정의 */
header nav a.active {
    color: #ffffff; /* 텍스트 색상을 흰색으로 */
    background-color: var(--primary); /* 배경색을 메인 색상으로 */
    border-radius: 5px; /* 모서리를 둥글게 */
    font-weight: 700; /* 글씨를 더 굵게 */
}

/* 드롭다운 버튼 자체의 활성화 스타일 정의 */
header nav a.dropbtn.active {
    color: #ffffff;
    background-color: var(--primary-dark); /* 드롭다운 버튼은 조금 더 진한 색으로 */
}

/* 활성화된 상태에서 마우스를 올렸을 때의 스타일 (hover 시에도 스타일 유지) */
header nav a.active:hover {
    background-color: var(--primary-dark); 
    color: #ffffff;
}
/* === 언어 전환 스위처 === */
.lang-switcher ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; 
}
.lang-switcher .lang-link {
  display: block;
  padding: 5px 8px; 
  text-decoration: none;
  font-size: 0.9rem;
  color: #777; 
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.lang-switcher li + li {
  margin-left: 5px;
  padding-left: 5px;
  border-left: 1px solid #ccc;
}
.lang-switcher .lang-link.active {
  color: #000; 
}
.lang-switcher .lang-link:not(.active):hover {
  color: #000;
  background-color: #f0f4f8;
}
/* --- 헤더 우측 아이콘 그룹 --- */
.header-right-icons {
  display: flex;
  align-items: center;
}
.header-right-icons > * { 
  margin-left: 15px;
}
/* --- 헤더 CTA (메일) 버튼 --- */
.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ccc;
  border-radius: 50%;
  color: #555;
  font-size: 1rem;
  transition: all 0.2s ease;
  position: relative; 
  z-index: 1002; 
}
.header-cta:hover {
  background-color: #f0f4f8;
  color: #000;
}
/* === 섹션별 스타일 (메인 페이지 전용) === */
section {
  padding: 100px 0;
  text-align: center;
}
#home { 
  height: 100vh; 
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: -70px;
  padding-top: 70px;
  background: #e8f1ff; 
  z-index: 3; 
}
#about {
  position: relative; 
  padding: 100px 0;
  text-align: center;
  color: #333; 
 /* z-index: 1; */
}
#products { 
background-color: #f4f8fb; /* 👈 [수정] 깔끔한 연한 파란색/회색 계열로 변경 */
  position: relative;
}
#products::after {
  content: "";
  position: absolute;
  bottom: 0; 
  left: 0;
  width: 100%;
  height: 20px; 
}
#process {
  background-color: #ffffff; /* 👈 [수정] 흰색 배경 적용 */
}
#location {
  background-color: #ffffff; 
}
#products .container > h2,
#process > h2 {
  font-size: 2.5rem;   
  margin-bottom: 70px; 
  color: #222;
  font-weight: 700;
  position: relative; /* 👈 z-index 적용을 위해 추가 */
  z-index: 1;         /* 👈 오버레이(0)보다 위로 */
}
/* === 히어로 섹션 (Home) === */
.hero-slider {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; 
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0; 
  transition: opacity 1.5s ease-in-out; 
}
.slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1; 
  /* 👇 단순 rgba(0,0,0,0.5) 대신 그라데이션 사용 */
    /* 위쪽과 아래쪽은 진하고, 중간은 투명하게? 혹은 전체적으로 은은하게 */
    background: radial-gradient(circle, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    
    /* 또는 단순히 전체 톤을 조금 더 다운시키기 (가장 안전함) */
    /* background-color: rgba(0, 0, 0, 0.6);  <- 기존 0.5보다 조금 더 높임 */
}
.hero-content {
  position: relative;
  z-index: 2; 
  max-width: 900px;
  padding: 0 20px;
}
.hero-title {
  font-size: 3.5rem; 
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
  /* 👇 [추가] <br> 태그 후 줄간격 확보 */
  line-height: 1.4;
  color: #fff;
  /* 👇 핵심: x축, y축, 블러반경, 색상(진한 검정) */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.9; 
  word-break: keep-all;
  color: #fff;
  /* 👇 핵심: x축, y축, 블러반경, 색상(진한 검정) */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    /* 글자색을 흰색 유지하되, 약간의 투명도를 줘서 배경과 섞임 방지 */
    opacity: 0.95; 
    font-weight: 500; /* 폰트 두께를 살짝 올림 */

}
.hero-cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--primary); 
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero-cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px); 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* [신규] 섹션 공통 CTA 버튼 (공정 소개 등) */
.section-cta-button {
  display: inline-block;
  padding: 12px 30px; /* 히어로 버튼보다 약간 작게 */
  font-size: 1.0rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--primary); 
  border: 2px solid var(--primary);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 40px; /* 아래 공정 박스와의 여백 */
}
.section-cta-button:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px); 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* === 회사 소개 (About) === */
.about-background-image {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('../img/pexels-pavel-danilyuk-8442105-1920x1281.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2; 
  opacity: 0.3; 
}
.about-overlay {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.92); 
  z-index: -1; 
}
.ceo-greeting {
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.15rem;
  line-height: 1.8;
}
.ceo-greeting h3 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 25px;
}
.ceo-greeting p {
  margin-bottom: 20px;
  word-break: keep-all;
}
.section-divider {
  border: 0;
  height: 1px;
  background-color: #ddd;
  max-width: 600px;
  margin: 70px auto;
}
.core-competencies h3 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}
.competency-cards {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  flex: 1 1 300px; 
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.card-icon {
  font-size: 3rem; 
  margin-bottom: 15px;
  line-height: 1;
}
.card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}
.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  word-break: keep-all; /* 👈 이 속성이 JS 수정 후 작동하게 됨 */
}
/* === 중국어(CN) 카드 레이아웃 강제 교정 === */

/* 1. 텍스트 줄바꿈 문제 해결 */
html[lang="cn"] .card p, html[lang="cn2"] .card p {
    word-break: break-all !important; /* 강제로 글자 단위로 끊기 */
    text-align: justify; /* (선택사항) 양쪽 정렬로 깔끔하게 */
}

/* 2. 카드 너비 균등하게 강제 고정 (Flexbox 보정) */
html[lang="cn"] .competency-cards .card, html[lang="cn2"] .competency-cards .card {
    /* 내용물이 많든 적든 무조건 1/N 크기로 공평하게 나눔 */
    flex: 1 1 0 !important; 
    min-width: 0; /* 내용이 넘쳐도 박스가 깨지지 않게 최소폭 초기화 */
}
/* === 위치 (Location) === */
.location-section {
  max-width: 1200px; 
}
#location h2,
#location h3 {
  font-size: 2.5rem;   
  margin-bottom: 70px;
  color: #222;
  font-weight: 700;
  text-align: center; 
}
.location-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; 
  gap: 40px;
}
.location-map {
  flex: 1 1 100%;
  height: 450px; 
}

/* --- 지도 언어별 교체 --- */
#google-map-wrapper {
  display: block;
  width: 100%;
  height: 100%;
}
.location-info-box {
  flex: 1 1 40%; /* 지도와 6:4 비율로 배치 */
  min-width: 300px;
  padding: 30px 40px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-sizing: border-box;
}
.location-info-box h4 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 25px;
}
.location-info-box p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 15px 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}
.location-info-box p:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.location-info-box p strong {
  display: inline-block;
  min-width: 70px; /* '주소:', 'TEL:' 정렬 */
  color: #333;
}
.location-info-box p a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.location-info-box p a:hover {
  text-decoration: underline;
}
/* PC에서 모바일용 줄 바꿈 숨기기 */
.br-mobile {
  display: none;
}

/* PC에서 TEL/FAX 간격 주기 */
.location-info-box .info-label-secondary {
  margin-left: 20px;
}
.location-info-box .email-section-main {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* [신규] 복사 링크 스타일 */
.location-info-box .copy-email-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary); /* 기본 링크 색상 */
  text-decoration: none;
  margin-left: 8px; /* 이메일 주소와의 간격 */
  vertical-align: middle;
}
.location-info-box .copy-email-link:hover {
  text-decoration: underline;
}
/* '복사됨' 상태 스타일 */
.location-info-box .copy-email-link.copied {
  color: #28a745; /* 초록색 */
  font-weight: 700;
  text-decoration: none;
}
/* [중국어 전용] 모달 복사 버튼 디자인 교정 */
html[lang="cn"] #copy-email-btn,
html[lang="cn2"] #copy-email-btn {
    font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif; /* 중국어 폰트 지정 */
    font-size: 14px !important;    /* 1. 크기를 줄여서 투박함 없애기 */
    font-weight: 400 !important;   /* 2. 굵기를 빼서 아이콘과 어울리게 하기 */
    letter-spacing: 1px;           /* 3. 글자 사이를 살짝 띄워 시원하게 */
    
    /* 아이콘과 높이 중앙 정렬 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px; 
    padding: 6px 14px; /* 버튼 내부 여백 재조정 */
}

/* 아이콘 크기 미세 조정 */
html[lang="cn"] #copy-email-btn i,
html[lang="cn2"] #copy-email-btn i {
    font-size: 14px !important;    /* 글자와 크기 통일 */
    margin: 0 !important;
    position: relative;
    top: -1px; /* 시각적으로 1px만 올려서 중앙 맞춤 */
}

/* === Dot Navigation (페이지 넘버링) === */
.dot-nav {
  position: fixed;
  right: 25px;
  top: 50%; 
  transform: translateY(-50%); 
  z-index: 900; 
}
.dot-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; 
  gap: 15px; 
}
.dot-nav a {
  display: block;
  width: 12px;
  height: 12px;
  background-color: #aaa; 
  border-radius: 50%;
  transition: all 0.3s ease;
}
.dot-nav a.active {
  background-color: var(--primary); 
  transform: scale(1.4);
}
/* === 푸터 === */
footer {
  background-color: #333;
  color: #ccc;
  padding: 50px 0;
  font-size: 0.9rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}
.footer-container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  flex-basis: 200px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.footer-info {
  flex-basis: 400px;
  flex-grow: 1;
}
.footer-info p {
  margin: 0 0 10px 0;
}
.footer-info span {
  margin-right: 15px;
  border-right: 1px solid #555;
  padding-right: 15px;
}
.footer-info span:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.footer-copyright {
  flex-basis: 100%;
  text-align: center;
  margin-top: 30px;
  color: #888;
  font-size: 0.85rem;
}
/* === 모바일 메뉴 (햄버거) === */
.mobile-menu-toggle {
  display: none; 
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  z-index: 1002; 
}
.mobile-menu-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333;
  margin: 4px 0;
  transition: all 0.3s;
}
.nav-mobile {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  z-index: 1001; 
  padding-top: 80px; 
  text-align: center;
}
.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-mobile li a {
  display: block;
  padding: 15px 0;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  color: #333;
}
.nav-mobile li a:hover {
  color: #007bff; 
}
.nav-mobile .lang-switcher-mobile {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}


/* --- 모바일 메뉴 활성화 스타일 (nav-mobile) --- */
.nav-mobile li a.active {
    background-color: var(--primary); /* 메인 색상 배경 */
    color: #fff !important; /* 글씨를 흰색으로 */
    border-radius: 0; /* 모바일은 둥근 모서리 제거 (선택 사항) */
    font-weight: 700;
}
/* === 맨 위로 가기 버튼 === */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 22px;
  width: 50px;
  height: 50px;
  line-height: 50px; 
  text-align: center;
  font-size: 1.2rem;
  background-color: var(--primary, #007bff); 
  color: #fff;
  border-radius: 50%; 
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
  z-index: 999;
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top:hover {
  background-color: var(--primary-dark, #0056b3); 
}
/* 스크롤 다운 시 숨김 클래스 */
.scroll-to-top.fab-hidden,
.floating-cta-group.fab-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(15px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
/* 스크린 리더 전용 (접근성) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* [신규] 메인 페이지 제품 그룹 설명 */
.product-group-description {
  font-size: 1.1rem; /* 👈 [수정] 1.0rem -> 1.1rem */
  line-height: 1.7;
  color: #444;
  text-align: left;
  max-width: 90%; 
  margin: -10px auto 30px auto; 
  padding: 15px 20px;
  background-color: #f7f7f7; 
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  word-break: keep-all; /* 👈 [추가] 단어 중간 끊김 방지 */
}

/* === 📱 모바일 미디어 쿼리 (index.html 전용) === */
@media (max-width: 768px) {
  /* 1. 기본 */
  body {
    font-size: 15px; 
    line-height: 1.6; 
  }
  /* 2. 헤더 (햄버거 메뉴) */
  header {
    padding: 10px 15px;
  }
  header .nav-desktop {
    display: none;
  }
  header .lang-switcher-desktop {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 10px;
  }
  body.menu-open .nav-mobile {
    display: block;
  }
  body.menu-open .mobile-menu-toggle .icon-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  body.menu-open .mobile-menu-toggle .icon-bar:nth-child(2) {
    opacity: 0;
  }
  body.menu-open .mobile-menu-toggle .icon-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  /* === 중국어(CN) 모바일 테이블 가로 스크롤 복구 === */
    html[lang="cn"] table {
        /* 1. 테이블을 블록 요소처럼 바꿔서 스크롤 통을 만듦 */
        display: block;
        width: 100%;
        overflow-x: auto; /* 내용이 넘치면 가로 스크롤 생성 */
        
        /* 2. [핵심] 억지 줄바꿈 해제 및 내용물 길이 존중 */
        table-layout: auto !important;  /* 칸 크기 자동 조절 */
        word-break: keep-all !important; /* 단어 중간에 끊지 않음 */
        white-space: nowrap !important;  /* 글자가 길어도 줄바꿈 금지 (옆으로 길어짐) */
    }

    /* 3. 셀 간격 확보 (너무 다닥다닥 붙지 않게) */
    html[lang="cn"] table th, 
    html[lang="cn"] table td {
        padding: 8px 10px; /* 적당한 여백 */
        min-width: 60px;   /* 최소 너비 보장 */
    }
  /* === 모바일 언어 스위처: 선 없이 깔끔한 간격형 === */
    /* 1. 플렉스 박스로 정렬하고 간격(gap)으로 띄우기 */
    .nav-mobile .lang-switcher-mobile ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 25px; /* 글자 사이 간격 (원하는 만큼 조절) */
        padding: 0;
        margin: 30px 0; /* 위아래 여백 */
    }

    /* 2. 각 항목(li)의 선과 여백 모두 초기화 */
    .nav-mobile .lang-switcher-mobile li {
        border: none !important;      /* 선 제거 */
        padding: 0 !important;        /* 패딩 제거 */
        margin: 0 !important;         /* 마진 제거 (gap으로 대체) */
    }
    
    /* 3. 가상요소(::before)로 만든 선이 있다면 숨김 */
    .nav-mobile .lang-switcher-mobile li::before {
        display: none !important;
    }

    /* 4. 글자 스타일 다듬기 */
    .nav-mobile .lang-switcher-mobile li a {
        font-size: 1rem;       /* 적당한 크기 */
        font-weight: 500;
        color: #888;           /* 기본 회색 */
        text-decoration: none;
        display: block;        /* 터치 영역 확보 */
        padding: 5px;          /* 터치하기 편하게 약간의 패딩 */
    }

    /* 5. 활성화된 언어 강조 */
    .nav-mobile .lang-switcher-mobile li a.active {
        color: #111 !important; /* 진한 검정 */
        font-weight: 800;       /* 두껍게 */
        background: none;       /* 배경색 제거 (깔끔하게 글자만) */
    }
    /* === 중국어(CN) 페이지 전용 설정 (폰트 + 레이아웃) === */
    html[lang="cn"] body {
    /* 1. [핵심] 중국어에 맞는 고딕체(Sans-serif) 우선순위 지정 */
    /* Noto Sans SC(구글), Microsoft YaHei(윈도우), PingFang SC(맥), SimHei(기본) 순서 */
    font-family: "Noto Sans SC", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Heiti SC", sans-serif;
    
    /* 2. 줄바꿈 설정 (기존 유지) */
    word-break: break-all;
    overflow-wrap: break-word;
}

/* 3. 제목 태그들도 폰트 상속받도록 강제 */
html[lang="cn"] h1, 
html[lang="cn"] h2, 
html[lang="cn"] h3, 
html[lang="cn"] h4, 
html[lang="cn"] h5, 
html[lang="cn"] h6 {
    font-family: "Noto Sans SC", "Microsoft YaHei", "微软雅黑", sans-serif;
}

/* 4. 가로 스크롤 방지 (기존 유지) */
html[lang="cn"] body,
html[lang="cn"] .subpage-content {
    overflow-x: hidden; 
    max-width: 100vw;
}
  /* 3. 메인: Hero */
  .hero-title {
    font-size: 1.8rem; 
    line-height: 1.4;  
    word-break: keep-all; 
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 20px;  
  }
  /* 4. 메인: About (핵심 역량) */
  #about .container {
    width: 90%; 
    padding: 20px 15px;
    box-sizing: border-box;
  }
  #about .competency-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  #about .card {
    width: 100% !important;     
    margin: 0 !important;      
    box-sizing: border-box;
  }
  #about .ceo-greeting h3 {
    font-size: 1.2rem;
  }
  #about .ceo-greeting p {
    font-size: 0.95rem;
    word-break: keep-all; /* 👈 [추가] 단어 중간 끊김 방지 */
  }
  #about .core-competencies h3 {
    font-size: 1.5rem;
  }
  #about .card h4 {
    font-size: 1.1rem;
  }
  #about .card p {
    font-size: 0.9rem;
  }
  /* 사업 분야 이미지 래퍼*/
/* 1. 듀얼 이미지 래퍼: 세로 정렬 */
    .product-images-wrapper.dual-images {
        flex-direction: column; 
        gap: 30px; 
        padding: 20px; /* 패딩도 살짝 줄여서 공간 확보 */
    }

    /* 2. [핵심] 이미지 박스가 부모 너비를 100% 다 쓰도록 강제 */
    .product-images-wrapper.dual-images .img-box {
        width: 100% !important; 
        max-width: 100%;
    }

    /* 3. [핵심] 이미지 높이 제한 해제 (auto) */
    .product-images-wrapper.dual-images .product-image {
        width: 100% !important; /* 가로 꽉 차게 */
        height: auto !important; /* 👇 데스크톱의 300px 강제 고정을 무시하고 비율대로 나옴 */
        max-height: none;       /* 높이 제한 없앰 */
        object-fit: contain;    /* 이미지가 잘리지 않고 온전히 다 나오게 함 */
    }
  /*  메인: Products (테이블) */
  #products .container {
    width: 100%;
    padding: 0; 
    box-sizing: border-box;
  }
  #products .product-box {
    width: 100%; 
    min-width: 0;
    margin: 20px 0; 
    padding: 20px 15px; 
    box-sizing: border-box;
  }
  #products .product-group {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px; 
  }
  #products .table-container {
    min-width: 500px;
  }
  /* (테이블 셀 여백/폰트) */
  .table-container th,
  .table-container td {
   padding: 15px 10px; /* 👈 [수정] 좌우 패딩(3px)을 10px로 늘림 */
  font-size: 0.9rem; 
  white-space: nowrap; /* 👈 [수정] 'normal' -> 'nowrap' (애매한 줄넘김 방지) */

  /* 👇 [신규] 요청하신 세로 경계선 추가 */
  border-right: 1px solid #f0f0f0; 
}

/* 👇 [신규] 마지막 셀에는 세로선 제거 */
.table-container td:last-child {
  border-right: none;
}
  /* (테이블 첫 번째 열 너비 축소) */
  #products .table-container th:first-child,
  #products .table-container .main-category {
    width: 25%;
    min-width: 90px;
    word-break: keep-all;
  }
  /* [신규] 메인 페이지 제품 그룹 설명 모바일 최적화 */
.product-group-description {
  width: 100%; 
  max-width: none;
  margin: 0 auto 20px auto; 
  padding: 15px; 
  box-sizing: border-box;
  font-size: 1.0rem; /* 👈 [수정] 0.95rem -> 1.0rem */
  text-align: justify; 
  word-break: keep-all; /* 👈 [추가] 단어 중간 끊김 방지 */
}
  /* 6. 메인: Location (지도) */
  #location .location-container {
    flex-direction: column-reverse; /* [수정] 정보 박스가 위로 오도록 */
    gap: 20px; /* [수정] 40px -> 20px */
  }
  #location .location-map {
    width: 100%; 
    height: 300px; 
    min-height: 0;
    overflow: hidden; 
  }
  /* [신규 추가] 모바일용 정보 박스 스타일 */
  .location-info-box {
    width: 100%;
    padding: 25px 20px;
  }
  .location-info-box h4 {
    font-size: 1.5rem;
  }
  .location-info-box p {
    font-size: 0.95rem;
  }
/* 모바일에서 줄 바꿈 보이기 */
.br-mobile {
  display: block;
  content: ""; /* block으로 만들기 위해 content 필수 */
  margin-top: 10px; /* 위쪽(TEL)과의 여백 */
}

/* 모바일에서 PC용 간격 제거 */
.location-info-box .info-label-secondary {
  margin-left: 0;
}
  #location h2,
  #process h2 {
    font-size: 1.8rem; 
    margin-bottom: 30px;
  }
  #products h2 {
    font-size: 1.8rem; 
    margin-bottom: 30px;
  }
  #products .product-group h3 {
    font-size: 1.3rem; 
  }
  #location .location-section h3 {
    font-size: 1.3rem;
  }

  /* 7. 플로팅 CTA (메일) 버튼 위치 조정 */
  .floating-cta-group {
    position: fixed;
    right: 22px !important;
    bottom: 70px !important; /* 간격 5px */
    top: auto; 
    left: auto; 
    z-index: 999;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  }


}
/* --- [ 1. styles_v2.css END ] --- */


/* --- [ 2. subpage.css START ] --- */
/*
 * (참고: html, .subpage-title, .sub-nav, .subpage-content 등
 * styles_v2.css와 겹치는 부분은 병합 시 자동으로 덮어써집니다.)
 */
html {
  /* ✅ 스크롤 패딩 (중복 제거) */
  scroll-padding-top: 110px; 
  scroll-behavior: smooth;
}
/* --- [Business Area Image Styling] --- */
/* 1. 이미지 래퍼 (전체 틀) */
.product-images-wrapper {
    margin: 0 auto 30px auto; 
    padding: 30px 20px; /* 상하 여백을 조금 더 줌 */
    background-color: #fff; /* 배경색 롤백 (흰색) */
    border: 1px solid #e0e0e0; /* 은은한 테두리 유지 */
    border-radius: 12px;
    max-width: 1000px;
    box-sizing: border-box;
    
    display: flex;
    justify-content: center; 
    align-items: flex-start; /* 캡션 길이가 달라도 위쪽 정렬 맞춤 */
}

/* 2. 듀얼 이미지 레이아웃 */
.product-images-wrapper.dual-images {
    gap: 30px; /* 이미지 사이 간격을 조금 더 넓힘 */
}

/* 3. [신규] 이미지+캡션을 감싸는 박스 */
.img-box {
    display: flex;
    flex-direction: column;
    align-items: center; /* 캡션 가운데 정렬 */
    width: 100%; /* 부모 영역 채우기 */
    transition: transform 0.3s ease; /* 호버 시 움직임 부드럽게 */
}

/* 4. [신규] 캡션 스타일 (이름표) */
.img-caption {
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    text-align: center;
    letter-spacing: -0.5px;
}

/* 5. 개별 이미지 스타일 */
.product-image {
    display: block;
    width: 100%;    
    border-radius: 4px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 기본 그림자 */
    border: 3px solid var(--primary-dark); /* 네이비 테두리 유지 */
    transition: all 0.3s ease; /* 모든 변화 부드럽게 */
}

/* 사업 분야 이미지 호버 */
.product-image:hover {
    transform: translateY(-5px); /* 위로 5px 살짝 떠오름 */
    box-shadow: 0 15px 30px rgba(8, 61, 106, 0.25); /* 그림자에 네이비색 틴트 추가 */
    border-color: var(--primary); /* 테두리 색이 밝은 파랑으로 변함 (선택사항) */
}

/* 6. 듀얼 이미지 높이 & 너비 설정 */
.product-images-wrapper.dual-images .img-box {
    width: 48%; /* 박스 너비 48% */
}
.product-images-wrapper.dual-images .product-image {
    height: 300px;      
    object-fit: cover;  
    object-position: center; 
}

/* 7. 싱글 이미지 설정 */
.product-images-wrapper.single-image .img-box {
    width: 100%;      /* 기본적으로는 부모 너비에 맞춤 (모바일 대응) */
    max-width: 600px; /* 👈 [핵심] 최대 너비를 600px로 제한 (해상도 방어) */
}
.product-images-wrapper.single-image .product-image {
    height: auto; 
    max-height: 500px; 
}

/* 8. Placeholder */
.placeholder-box {
    min-height: 200px; 
    background-color: var(--bg-light); 
    border: 3px dashed #ccc; 
    color: #aaa;
    font-style: italic;
    align-items: center;
}

/* 6. Placeholder 스타일 (밝은 배경용으로 롤백) */
.placeholder-box {
    min-height: 200px; 
    background-color: var(--bg-light); 
    border: 3px dashed var(--primary-dark); /* 테두리는 네이비 점선으로 통일 */
    color: #666;
    font-style: italic;
}



/* 1. 페이지 타이틀 (h1) 섹션 (중복 제거) */
.subpage-title {
  /* 👇 [핵심] 높이를 320px(또는 원하는 값)로 강제 고정 */
    height: 280px; 
    
    /* 기존의 상하 패딩(padding)은 제거하거나 0으로 설정 (높이로 제어하므로) */
    padding: 0 20px; 
    
    /* 👇 내용물(글자)을 박스 정중앙에 배치하는 Flexbox 설정 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 세로 중앙 정렬 */
    align-items: center;     /* 가로 중앙 정렬 */
    
    text-align: center;
    background-color: var(--primary-dark);
    color: #fff;
       
    /* 패딩이나 테두리가 높이에 포함되도록 설정 */
    box-sizing: border-box;
}
section.subpage-title {
    padding: 80px 20px;
}
.subpage-title h1 {
  font-size: 2.8rem;
  margin: 0 0 10px 0;
}
.subpage-title p {
  font-size: 1.15rem;
  color: #eee;
  opacity: 0.9;
  margin: 0;
}

/* 2. 고정 서브 내비게이션 (중복 제거) */
.sub-nav {
  background-color: #fff;
  border-bottom: 2px solid #e0e0e0;
  text-align: center;
  padding: 15px 0;
  z-index: 900; 
}
.sub-nav.sticky {
  position: sticky;
  top: 110px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.sub-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.sub-nav a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 15px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.sub-nav a:hover,
.sub-nav a:focus {
  background-color: #f0f4f8;
  color: var(--primary);
}

/* 3. 서브 페이지 본문 (상세 콘텐츠) (중복 제거) */
.subpage-content {
  padding: 80px 0;
  background-color: #f9f9f9; 
}
main.subpage-content {
    padding: 80px 0;
}

/* 4. 제품/공정 상세 섹션 공통 스타일 (중복 제거) */
.product-detail-section,
#process-content { 
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 40px 50px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}
section.product-detail-section,
main.subpage-content > section#process-content {
    padding: 40px 50px;
    text-align: left; 
}

/* 섹션 제목 */
.product-detail-section > h2,
#process-content > h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    text-align: left; 
}
/* 섹션 H3 제목 (새로 추가) */
#process-content h3 {
  font-size: 2.0rem; /* h2(2.2rem)보다 약간 작게 */
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 40px; /* 위쪽 여백 */
  margin-bottom: 20px; /* 아래쪽 여백 */
  border-bottom: 1px solid #e0e0e0; /* h2와 통일감 */
  padding-bottom: 10px;
  text-align: left;
}

/* * 참고: .process-description 안의 h3는
 * 아래 규칙이 더 구체적이라 2.4rem이 유지됩니다. 
 */

/* 섹션 개요 설명 */
.section-description {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 40px;
}
    /*h3 제목*/
.process-description h3 {
  font-size: 2.4rem; 
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
  margin-top: 20px; 
  margin-bottom: 30px; 
}

/* 5. 공정 상세 설명 (카드 레이아웃) */
.process-description {
  margin-top: 40px;
  text-align: left;
}
.process-description ol {
  list-style-type: none;
  padding-left: 0;
}
.process-description li {
  display: flex;
  align-items: stretch; 
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden; 
  transition: box-shadow 0.3s ease;
}
.process-description li:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* 5-1. 공정 이미지 플레이스홀더 (중복 제거) */
.process-image-placeholder {
  flex: 1 1 50%;
  min-height: 300px;
  background-color: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #aaa;
  background-image: url('https://placehold.co/600x400/f0f4f8/ccc?text=Process+Photo');
  background-size: cover;
  background-position: center;
}

/* 5-2. 실제 이미지 컨테이너 */
.process-image-container {
  flex: 1 1 50%; 
  min-height: 300px; 
  background-color: #f0f4f8; 
  overflow: hidden; 
  border: 2px solid #000; 
}
.process-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

/* 5-3. 공정 텍스트 */
.process-text {
  flex: 1 1 50%; 
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center; 
}
.process-description li strong {
  font-size: 1.5rem; 
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 10px;
}
.process-description li p {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
}
.process-description li:nth-child(even) {
  flex-direction: row-reverse; 
}

/* 6. Contact/Location 이동 버튼 (서브페이지 공통) */
.goto-location {
    background-color: #f0f4f8;
    padding: 60px 20px;
    text-align: center;
}
section.goto-location {
    padding: 60px 20px;
}
.goto-location h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}
.goto-location p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}
.goto-location .btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--primary);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.goto-location .btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.goto-location .cta-button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* 모바일에서 세로로 쌓임 */
}
.goto-location .btn.btn-secondary {
  background-color: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.goto-location .btn.btn-secondary:hover {
  background-color: #f0f4f8;
  transform: translateY(0); /* 기본 버튼과 동일하게 */
  box-shadow: none;
}

/* 7. 상세 페이지 테이블 스타일 (중복 제거) */
.product-detail-section .table-container {
    overflow-x: auto;
}
.product-detail-section table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-top: 20px; 
}
.product-detail-section th,
.product-detail-section td {
    padding: 16px 18px; 
    text-align: center; 
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle; 
}
.product-detail-section th:not(:last-child),
.product-detail-section td:not(:last-child) {
    border-right: 1px solid #f0f0f0;
}
.product-detail-section th {
    background-color: #f4f8fb;
    color: var(--primary-dark);
    font-weight: 600;
}
.product-detail-section .sub-category {
    font-weight: 600;
    color: #000;
    background-color: #fcfcfc;
}
.product-detail-section .main-category {
    background-color: #eef5fc;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
}
.product-detail-section tbody tr:hover {
    background-color: #f9f9f9;
}

/* --- 8. 플로팅 CTA (위치 변경됨) --- */
.floating-cta-group {
  position: fixed;
  z-index: 950;
  bottom: 50vh; 
  transform: translateY(-50%);
  left: 88vw;
  right: auto; 
}

@media (max-width: 1340px) {
  .floating-cta-group {
    left: auto; 
    right: 30px; 
    transform: translateY(-50%);
  }
}
.cta-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-dark);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.cta-icon:hover {
  background-color: var(--primary-light);
  transform: scale(1.1);
}
@media (max-width: 1340px) {
  .cta-icon:hover {
    transform: scale(1.1);
  }
}

/* --- 9. 연락처 모달 스타일 --- */
.contact-modal-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1100; 
  justify-content: center;
  align-items: center;
}
.contact-modal-content {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 480px;
  position: relative;
  opacity: 0;
  transform: scale(0.9);
}
.contact-modal-overlay.show {
  display: flex;
}
.contact-modal-overlay.show .contact-modal-content {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-modal-content h3 {
  margin-top: 0;
  font-size: 1.8rem;
  color: var(--primary-dark);
}
.contact-modal-content hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}
.contact-modal-content .contact-info p,
.contact-modal-content .company-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 8px 0;
}
.contact-modal-content .contact-info p strong {
  display: inline-block;
  min-width: 70px;
  color: #555;
}
.contact-modal-content .company-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}
.close-modal-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2.5rem;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal-btn:hover {
  color: #333;
}
.email-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap; 
}
#email-to-copy {
  font-weight: 600;
  margin-right: 10px;
}
.copy-email-btn {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.copy-email-btn:hover {
  background-color: #ddd;
}
.copy-email-btn.copied {
  background-color: #28a745; 
  color: #fff;
  border-color: #28a745;
}
.copy-email-btn .fa {
  margin-right: 5px;
}
.mailto-link {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.mailto-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* 10. 모바일 드롭박스 (평소 숨김) */
.sub-nav-mobile {
  display: none;
}

/* --- 📱 모바일 반응형 미디어 쿼리 (768px 이하) --- */
/* ✅ [수정] 모든 모바일 스타일을 이 블록 안에 통합 */
@media (max-width: 768px) {

  /* 1. 서브 페이지 공통 (페이지 제목 여백 축소) */
  .subpage-title {
    padding: 30px 15px; 
  }
  .subpage-title h1 {
    font-size: 1.8rem;
  }
  .subpage-title p {
    font-size: 0.95rem;
  }
/* [최우선] 상위 컨테이너 .process-section의 PC 너비 제한 해제 */
.process-section {
    width: 100% !important; 
    min-width: 0 !important; /* 👈 PC의 1000px을 무시하고 강제 축소 */
    padding: 20px 15px; /* 모바일 패딩 재조정 (선택 사항) */
}
  /* 2. 공정 페이지: 이미지/텍스트 카드 (크기 축소) */

 .process-description li {
    /* 기존 코드에 이 속성들을 추가하여 width를 무시하는 flex 속성들을 모두 덮어씁니다. */
    width: 100% !important; 
    max-width: none !important;
    
    /* 👇 PC 스타일의 flex-basis: 50%와 충돌 방지 */
    flex: 1 1 100% !important; 
    
    flex-direction: column; 
    box-sizing: border-box;
 }
  /* [핵심] PC용 지그재그 스타일을 강제로 덮어쓰기 */
  .process-description li:nth-child(even) { 
    flex-direction: column !important; 
  }
  /* [추가] 이미지 컨테이너도 100% 너비를 가지도록 합니다. */
  .process-description .process-image-container,
  .process-description .process-text {
    width: 100% !important;
    flex: 1 1 100% !important; /* PC의 flex: 1 1 50% 덮어쓰기 */
  }
  .process-description .process-image-container {
    min-height: 100px; /* 이미지 높이 축소 */
  }
  .process-description .process-text {
    padding: 15px;
  }
  .process-description .process-text strong {
    font-size: 1.1rem;
  }
  .process-description .process-text p {
    font-size: 0.9rem;
  }

  /* 3. 제품 페이지: 본문 여백 축소 */
  .sub-nav ul {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 15px;
  }
  .product-detail-section {
    padding: 25px 15px !important; /* PC용 50px 덮어쓰기 */
  }
  .product-detail-section h2 {
    font-size: 1.5rem;
  }
  .product-detail-section h3 {
    font-size: 1.2rem;
  }

  /* 4. 제품/공정 페이지: 서브 네비게이션 드롭박스 */
  .sub-nav.sticky {
    display: none; /* 데스크톱용 숨기기 */
  }
  .sub-nav-mobile {
    display: block; /* 모바일용 보이기 */
    padding: 15px 5%;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
  }
  .sub-nav-mobile select {
    width: 100%;
    padding: 12px 10px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-13%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2013l128%20128c3.6%203.6%207.8%205.4%2013%205.4s9.4-1.8%2013-5.4l128-128c3.6-3.6%205.4-7.8%205.4-13%200-5-1.8-9.2-5.4-12.8z%22%2F%3E%3C%/svg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
  }
  /*사업 분야 설명문 텍스트 정렬*/
  .product-group p {
        font-size: 1.0rem;  
        line-height: 1.6;
        text-align: left; /* 모바일에도 안전하게 적용 */
    }

 /* 5. ✅ [수정] 공정 페이지: 섹션 여백 조정 (선택자 수정) */
  
  /* [핵심] .process-section이 아닌, 그 부모인 section#process를 선택 */
  main.subpage-content > section#process-content {
    padding: 25px 5px !important; /* PC용 여백(40px 50px) 덮어쓰기 */
    width: auto; /* 100%가 아닌 auto로 (max-width가 있으므로) */
    min-width: 0; /* PC용 min-width 덮어쓰기 */
    box-sizing: border-box;
    
    /* [추가] 그 안의 흰색 박스(.process-section)도 여백을 줄임 */
    padding-left: 15px !important;
    padding-right: 15px !important;
  } 

  /*
   * 6. ✅ (추가) 서브 페이지 본문(main) 상하 여백 축소
   */
  main.subpage-content {
    padding-top: 20px !important;    /* 80px -> 20px */
    padding-bottom: 20px !important; /* 80px -> 20px */
  }
  
  /* 11. (신규) 상세 페이지 CTA 버튼 그룹 모바일 대응 */
  .goto-location .cta-button-group {
    flex-direction: column; /* 강제로 세로로 쌓기 */
    align-items: center;  /* 가운데 정렬 */
    gap: 10px; /* 세로 간격 */
  }
  .goto-location .btn {
    width: 80%; /* 버튼 너비 확보 */
    max-width: 300px; /* 최대 너비 제한 */
    box-sizing: border-box; /* 패딩 포함 너비 계산 */
  }
}
/* --- [ 2. subpage.css END ] --- */


/* --- [ 3. products.css START ] --- */
/* === 제품 소개 섹션 (테이블) === */

/* ✅ 하나의 큰 흰색 박스 */
.product-box {
  width: 90%;
  max-width: 1000px; 
  margin: 60px auto; 
  text-align: center;
  background-color: #fff;
  padding: 40px 50px; 
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  position: relative; 
  z-index: 1;
}
/* ✅ 각 테이블 그룹 */
.product-group {
  margin-bottom: 70px; 
}
.product-group:last-child {
  margin-bottom: 10px; 
}
/* ✅ 각 그룹의 제목 (h3) */
.product-group h3 {
  font-size: 2rem; 
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-dark);
  text-align: left; 
  border-bottom: 2px solid #f0f0f0; 
  padding-bottom: 10px;
}
/* --- 서브페이지 제품 그룹 내 설명 텍스트 스타일 --- */
.product-group p {
    font-size: 1.1rem;      /* 👈 폰트 크기 키움 (기본보다 약간 크게) */
    line-height: 1.7;       /* 줄 간격을 넉넉하게 (가독성 핵심) */
    color: #444;            /* 너무 새까만 색보다는 진한 회색이 눈에 편함 */
    margin-bottom: 20px;    /* 아래 테이블과의 간격 확보 */
    word-break: keep-all;   /* 한글 단어 중간 끊김 방지 */
    text-align: left;
}
/* --- (테이블 스타일) --- */

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0 ;
  font-size: 1.0rem;
}
th, td {
  padding: 18px 18px; 
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
tbody tr:last-child td {
  border-bottom: none;
}
th {
  background-color: var(--primary);
  color: #fff;
  font-weight: 500;
  border-bottom: 1px solid var(--primary-dark); 
}
.main-category {
  background-color: #eef5fc;
  font-weight: 700;
}
.sub-category {
  background-color: #f7faff;
  font-weight: 500;
  vertical-align: middle;
}
tbody tr:hover {
  background-color: #f0f8ff;
  transition: 0.2s;
}

/* --- 점착부여제(Tackifier) 테이블 PC 레이아웃 --- */
#tackifier .table-container table {
  max-width: 900px;
  width: 100%; 
  margin: 0 auto; 
  table-layout: fixed; 
}
#tackifier .td-content-wrapper {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  width: 100%;
}
#tackifier .table-container tbody td {
  text-align: left;
  vertical-align: middle; 
}
.tds-links-inline {
  text-align: right;
  white-space: nowrap; 
  flex-shrink: 0; 
  padding-left: 10px; 
}

/* --- 기능성 고분자 테이블 (PC 디자인) --- */
#specialty .table-container {
  width: 80%; 
  margin: 0 auto;
  border: 1px solid #e0e0e0; 
  border-radius: 8px; 
  overflow: hidden;
}
#specialty .table-container td {
  border-left: 1px solid #f0f0f0;
}
#specialty .table-container tr td:first-child {
  border-left: none;
}

/* --- TDS 링크 한/영 버전 분리 (PC/모바일 공통) --- */
.tds-links .lang-ko,
.tds-links .lang-en,
.tds-links-inline .lang-ko,
.tds-links-inline .lang-en {
  display: none;
}
html[lang="ko"] .tds-links .lang-ko,
html[lang="ko"] .tds-links-inline .lang-ko {
  display: inline-block; 
}
html[lang="en"] .tds-links .lang-en,
html[lang="en"] .tds-links-inline .lang-en {
  display: inline-block; 
}
.tds-link {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.9em;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid var(--primary);
  border-radius: 4px;
  transition: background-color 0.2s;
  margin: 2px;
}
.tds-link:hover {
  background-color: #f0f8ff;
}
/* (TDS 중복/확인용 스타일) */
.tds-item {
  margin-bottom: 10px; 
  padding-bottom: 5px;
  border-bottom: 1px dashed #eee; 
  text-align: left; 
}
.tds-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.tds-item strong {
  display: block;
  font-size: 1em;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 5px;
}
.tds-item .tds-link {
  font-size: 0.8em;
  padding: 2px 5px;
}

/* =========================================
   [Tech Info Page Styles] - 기술 정보 페이지
   ========================================= */

/* 섹션 공통 */
.tech-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}
.tech-section.bg-light {
    background-color: #f9f9f9; /* 구분감을 위해 배경색 변경 */
}

/* 상단 메인 비주얼 이미지 컨테이너 */
.main-visual-img {
    width: 100%;
    max-width: 100%;
    
    /* 👇 [핵심] 모바일/태블릿 기본 높이 (너무 높지 않게 설정) */
    height: 280px; 
    
    margin: 0 0 50px 0; /* 아래쪽 여백 */
    
    /* 디자인 디테일: 둥근 모서리와 은은한 그림자 */
    border-radius: 12px; 
    overflow: hidden; /* 둥근 모서리 적용을 위해 넘치는 이미지 자름 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* 고급스러운 그림자 */
    
    position: relative;
    flex: none; /* Flexbox 레이아웃 깨짐 방지 */
}

/* 🌟 [반응형] 데스크톱에서는 높이를 시원하게 키움 */
@media (min-width: 1024px) {
    .main-visual-img {
        /* 가로폭이 넓어지면 높이도 비례해서 커져야 함 (10:4 비율 유지) */
        height: 450px; 
    }
}

/* 이미지 자체 스타일 */
.main-visual-img .img-box,
.main-visual-img .product-image {
    width: 100%;
    height: 100%;
    display: block;
}

.main-visual-img .product-image {
    /* 🌟 이미지가 찌그러지지 않고 박스를 꽉 채움 */
    object-fit: cover;    
    
    /* 🌟 중앙 정렬 (배경이 잘려도 제품은 항상 가운데 오도록) */
    object-position: center; 
    
    border: none;
    border-radius: 0;
}

/* 캡션 숨기기 (배너 스타일에는 불필요) */
.main-visual-img .img-caption {
    display: none; 
}

.tech-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center; /* 모바일에서는 중앙, PC에서는 flex로 제어 */
}

/* 텍스트+이미지 레이아웃 (Flexbox) */
.tech-content-wrapper {
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    gap: 50px; /* 텍스트와 이미지 사이 간격 */
    justify-content: space-between;
}

/* 반전 레이아웃 (이미지가 왼쪽) */
.tech-content-wrapper.reverse {
    flex-direction: row-reverse;
}

.tech-text {
    flex: 1; /* 남은 공간 차지 */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    word-break: keep-all;
    text-align: justify; /* 양쪽 정렬로 깔끔하게 (단, keep-all과 함께 사용 주의) */
    text-align: left; /* 안전하게 좌측 정렬 추천 */
}
.tech-text p {
    margin-bottom: 20px;
}
.tech-text strong {
    color: #000;
    background: linear-gradient(to top, #e0f0ff 40%, transparent 40%); /* 형광펜 효과 */
}

.tech-image {
    flex: 0 0 45%; /* 이미지 영역 45% 고정 */
    max-width: 500px;
}

/* --- 요약 섹션 (카드 스타일) --- */
.tech-summary-section {
    padding: 80px 0;
    background-color: #fff;
}
.summary-main-title {
    text-align: center;
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 50px;
}

.summary-cards {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.summary-card {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.summary-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-dark);
}
.summary-slogan {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
.summary-card ul {
    list-style: none;
    padding: 0;
}
.summary-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
}
.summary-card li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
.summary-card li.examples {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    color: #666;
    font-size: 0.95rem;
}

/* 산업 적용 박스 (하단 강조 박스) */
.industry-box {
    background-color: #f4f8fb; /* 연한 파랑 */
    border-left: 5px solid var(--primary);
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
}
.industry-box h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.industry-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
    word-break: keep-all;
}

/* --- 📱 모바일 반응형 스타일 (products.css) --- */
@media (max-width: 768px) {
  /* 1. product-box (가장 큰 흰색 박스) */
  .product-box {
    width: 100%; 
    margin: 20px 0;
    padding: 20px 15px; 
    box-sizing: border-box;
  }
  /* 2. product-group (설명문 + 테이블 래퍼) */
  .product-group {
    margin-bottom: 30px;
  }

  /* 4. 그룹 제목(h3) 폰트 크기 */
  .product-group h3 {
    font-size: 1.5rem;
  }
  /* 5. 테이블 셀 여백/폰트 */
  .table-container th,
  .table-container td {
    padding: 15px 3px;
    font-size: 0.9rem;
  }
  /* 6. 첫 번째 열(구분) 너비 */
  .table-container th:first-child,
  .table-container td.main-category {
    width: 25%;
    min-width: 90px;
    word-break: keep-all;
  }
  /* 7. table 태그 자체에 최소 너비 부여 */
  .table-container table {
    min-width: 500px; 
  }
  /* 8. 기능성 고분자 테이블 (모바일 덮어쓰기) */
  #specialty .table-container {
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
  }
  #specialty .table-container td {
    border-left: none;
  }
  /* 9. 기능성 고분자 '테이블'은 500px 최소 너비가 필요 없음 */
  #specialty .table-container table {
    min-width: 0; 
    width: 100%;
  }
  /* 10. 점착부여제 테이블도 모바일에서 'fixed' 해제, 스크롤 없음 */
  #tackifier .table-container table {
    min-width: 0;
    width: 100%;
    table-layout: auto; /* 'fixed' 해제 */
  }
  /* 11. 점착부여제 모바일 레이아웃 (세로 쌓기) */
  #tackifier .td-content-wrapper {
    flex-direction: column; 
    align-items: flex-start; 
    gap: 8px; 
  }
  #tackifier .tds-links-inline {
    text-align: left;
    padding-left: 0;
  }
}

/* --- [ 4. process_v2.css START ] --- */
.process-section {
  background: #f9f9f9;
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 40px;
  margin: 40px auto;
  width: 70%;
  min-width: 1000px; /* ✅ 최소 너비 설정 */
  max-width: 1400px; /* ✅ 너무 넓어지지 않게 */
  box-sizing: border-box;
  text-align: center;
  transition: width 0.3s ease;
  overflow: visible; /* 스크롤바 제거 */
  position: relative;
  z-index: 2;
}
/* --- 컨테이너 (한 줄 유지, 자동 간격 조정) --- */
.process-container {
  display: flex;
  justify-content: space-between; /* 자동 여백 조정 */
  align-items: center;
  flex-wrap: nowrap; /* 줄바꿈 방지 */
  gap: 20px;
}

/* --- 개별 단계 --- */
.process-step {
  flex: 1 1 18%; /* 5개 기준 자동 비율 */
  max-width: 200px;
  min-width: 100px; /* 화면 줄어들면 여기까지 축소 */
  background: #fff;
  border: 3px solid #c2d1e0;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 15px 10px;
  transition: all 0.3s ease;
  position: relative;
}

/* --- 파랑–회색 테두리 반복 --- */
.process-step:nth-child(odd) {
  border-color: #3366cc;
}
.process-step:nth-child(even) {
  border-color: #9aa5b1;
}

/* --- hover 시 살짝 확대 효과 --- */
.process-step:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* --- 이미지 --- */
.process-step img {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

/* --- 공정 이름 --- */
.process-step p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* --- 4개만 있을 때 자동 여백 조정 --- */
.process-container:has(.process-step:nth-child(4):last-child) {
  justify-content: space-evenly;
}

/* 화면이 줄면 섹션 너비 자동 조정 (최소 50%) */
@media (max-width: 1400px) {
  .process-section { width: 60%; }
}
@media (max-width: 1100px) {
  .process-section { 
    width: 80%; 
    min-width: 0; 
  }
  .sub-nav.sticky {
    top: 80px; 
  }
  /* 2. ✅ (수정) 메인 페이지: 공정 섹션 (gap 수정)*/
  
  #process .process-section {
    width: 90%; 
    min-width: 0;
    padding: 20px 15px;
  }

  /* [핵심] gap(보라색 영역)을 5px로 축소 */
  #process .process-container {
    flex-direction: column; 
    align-items: center; 
    gap: 5px; /* 20px -> 5px (요청하신 영역) */
  }

  #process .process-step {
    width: 100%; 
    max-width: none;  
    margin-bottom: 0; /* gap이 있으므로 margin은 0 */
    padding: 10px;
    display: flex;
    flex-direction: row; 
    align-items: center; 
    text-align: center; 
  }

  #process .process-step img {
    max-width: 110px; 
    margin-bottom: 0;
    flex: 0 0 110px; 
    margin-right: 15px; 
  }
  
  #process .process-step p {
    font-size: 0.95rem; 
    flex: 1 1 auto; 
    word-break: keep-all; 
  }

  /* 화살표 여백은 gap으로 제어되므로 margin 0 */
  #process .arrow {
    transform: rotate(90deg);
    margin: 0; /* 2px -> 0 (gap으로 제어) */
  }
}

/* === 모바일 반응형 (Tech Info) === */
@media (max-width: 992px) {
    .tech-content-wrapper,
    .tech-content-wrapper.reverse {
        flex-direction: column; /* 세로로 쌓기 */
        gap: 30px;
    }
    .tech-image {
        flex: auto;
        width: 100%;
        max-width: 100%;
    }
    .summary-cards {
        flex-direction: column;
    }
    .tech-title {
        text-align: left; /* 모바일은 좌측 정렬이 읽기 편함 */
        font-size: 1.8rem;
    }
    .tech-text {
        text-align: left;
    }
    .industry-box {
        padding: 20px;
        text-align: left;
    }
}

@media (min-width: 769px) and (max-width: 1150px) {
    
    /* 1. 메뉴 폰트 크기 축소 */
    header nav a {
        font-size: 0.85rem; /* 기존 1.1rem -> 0.95rem */
        padding: 5px 8px;   /* 좌우 패딩 축소 */
    }

    /* 2. 메뉴 간격(Gap) 축소 */
    header nav > ul {
        gap: 10px; /* 기존 25px -> 15px */
    }

    /* 3. 로고 크기 살짝 줄임 (공간 확보) */
    .main-logo {
        width: 80px; /* 기존 120px -> 100px */
    }

    /* 👇 [신규] 언어 전환 버튼 사이즈 축소 */
  .lang-switcher .lang-link {
    font-size: 0.8rem;  /* 글자 크기: 0.9rem -> 0.8rem */
    padding: 3px 5px;   /* 버튼 여백: 조금 더 타이트하게 */
  }
  
  /* 버튼 사이 간격(구분선 등)도 살짝 좁히기 */
  .lang-switcher li + li {
    margin-left: 3px;
    padding-left: 3px;
  }
}
/* === 중국어(CN) 페이지 레이아웃 깨짐 방지 === */

/* 1. 중국어 페이지에서는 단어 중간이라도 강제로 줄바꿈 허용 */
html[lang="cn"] body, html[lang="cn2"] body {
    word-break: break-all;      /* 한자/영어 상관없이 가로폭 꽉 차면 무조건 줄바꿈 */
    overflow-wrap: break-word;  /* 긴 단어도 쪼개서 줄바꿈 */
}

/* 2. 혹시라도 내용물이 넘치면 가로 스크롤 생기는 대신 숨김 처리 (안전장치) */
html[lang="cn"] body, html[lang="cn2"] body,
html[lang="cn"] .subpage-content, html[lang="cn2"] .subpage-content {
    overflow-x: hidden; 
    max-width: 100vw; /* 화면 너비 절대 넘지 않게 고정 */
}

/* ... 위쪽에는 @media (max-width: 768px) { ... } 코드가 끝남 ... */


/* ==================================================
   [전역 설정] 중국어(CN) 페이지 폰트 및 디자인 보정
   (PC, 모바일 모두 적용됨)
   ================================================== */
html[lang="cn"] body, html[lang="cn2"] body {
    /* 1. 폰트: 고딕체 우선 적용 */
    font-family: "Noto Sans SC", "Microsoft YaHei", "微软雅黑", sans-serif;
    
    /* 2. 자간: 중국어는 좁히면 뭉개지므로 0으로 폅니다 (기존 -0.5px 해제) */
    letter-spacing: 0 !important; 
    
    /* 3. 줄바꿈 및 가로 스크롤 방지 */
    word-break: break-all;
    overflow-wrap: break-word;
    overflow-x: hidden; 
    max-width: 100vw;
}

/* 제목 태그들도 폰트와 자간 보정 */
html[lang="cn"] h1, 
html[lang="cn"] h2, 
html[lang="cn"] h3, 
html[lang="cn"] h4, 
html[lang="cn"] h5, 
html[lang="cn"] h6 {
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0.5px !important; /* 제목은 살짝 넓게 */
}

