@charset "UTF-8";

/* 1. Pretendard 폰트 로드 및 전역 적용 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --primary: #0046a0;
    --secondary: #00c2ff;
    --dark-bg: #1a1c1f;
    --text-dark: #333;
    --text-gray: #666;
    --bg-light: #f8fafe;
}

/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pretendard", -apple-system, sans-serif !important;
    letter-spacing: -0.02em;
}

body {
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 2. 상단 네비게이션 */
.top-nav {
    height: 80px !important;
    background: #fff;
    display: flex;
    align-items: center;
    position: relative; /* 배너가 헤더 밑으로 들어가게 설정 */
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text { font-size: 24px; font-weight: 800; color: var(--primary); }
.main-menu { display: flex; gap: 40px; }
.main-menu a { font-weight: 600; font-size: 16px; color: var(--text-gray); }
.main-menu a:hover { color: var(--primary); }

/* 3. 히어로 섹션 */
.hero { 
    background: linear-gradient(135deg, var(--primary) 0%, #002d6b 100%);
    padding: 120px 0;
    color: #fff;
    text-align: center;
}

.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 24px; line-height: 1.2; }
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 40px; font-weight: 300; }

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    cursor: pointer;
}
.btn-main { background: var(--secondary); color: #fff; border: none; }
.btn-sub { border: 1px solid rgba(255,255,255,0.4); color: #fff; margin-left: 10px; }
.btn-sub:hover { background: rgba(255,255,255,0.1); }

/* 4. 퀵 메뉴 카드 */
.quick-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.q-card { 
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.q-card:hover { transform: translateY(-10px); }
.q-card h3 { font-size: 20px; margin-bottom: 12px; color: #111; }
.q-card p { font-size: 15px; color: var(--text-gray); }

/* 5. 정보 섹션 (공지사항 등) */
.info-section { padding: 100px 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; }
.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.section-header h2 { font-size: 24px; font-weight: 700; }

.notice-list li {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notice-list li a { font-size: 16px; color: #444; }
.notice-list li span { color: #aaa; font-size: 14px; }

/* 6. 상품 섹션 */
.product-section { background: var(--bg-light); padding: 100px 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.p-card { 
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
}
.p-card img { max-width: 100%; height: 150px; object-fit: contain; margin: 30px 0; }
.p-card h4 { font-size: 22px; color: var(--primary); font-weight: 700; }

/* 7. 최적화된 푸터 레이아웃 */
#footer {
    background-color: var(--dark-bg) !important;
    padding: 80px 0 !important;
    color: #999 !important;
    width: 100% !important;
    display: block !important;
}

.modern-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 로고와 텍스트 하단 정렬 */
}

.f-left { flex: 1; }
.f-left .addr-group { margin-bottom: 25px; }
.f-left .addr-item { font-size: 14px; color: #ced4da; margin-bottom: 8px; display: flex; align-items: flex-start; }
.f-left .addr-item .label { color: #555; margin-right: 12px; font-weight: 600; font-size: 12px; min-width: 60px; display: inline-block; }

.f-left .contact-group { 
    display: flex; gap: 25px; margin-top: 25px; padding-top: 25px; border-top: 1px solid #2d2f33;
}
.f-left .info-cell { font-size: 16px; color: #fff; }
.f-left .info-cell strong { color: var(--secondary); margin-right: 5px; }

.f-left .copyright { margin-top: 30px; font-size: 12px; color: #555; }
.f-left .copyright strong { color: #777; }

/* 푸터 오른쪽 로고 영역 */
.f-right .certification-logos {
    display: flex;
    align-items: center;
    gap: 25px; /* 로고 사이 간격 */
    padding: 15px 25px;
    border-radius: 12px;
}

/* 로고 공통 스타일 */
.f-right .logo-main, 
.f-right .logo-cert {
    height: 40px !important; /* 로고 높이 통일 */
    width: auto;
    object-fit: contain;
    
    /* [핵심] 검정/컬러 로고를 화이트로 반전 */
    /*filter: brightness(0) invert(1) !important;*/ 
    /*opacity: 0.7; *//* 너무 밝지 않게 살짝 투명도 조절 */
    transition: opacity 0.3s ease;
}

.f-right .logo-main:hover, 
.f-right .logo-cert:hover {
    opacity: 1; /* 마우스 올리면 선명하게 */
}

/* 로고 사이 수직 구분선 */
.f-right .v-line {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
}

/* 8. 반응형 대응 */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .quick-cards, .info-section, .product-grid { grid-template-columns: 1fr; }
    .main-menu { display: none; }
    .modern-footer { flex-direction: column; align-items: flex-start; gap: 40px; }
    .f-right { width: 100%; }
    .f-right .certification-logos { justify-content: center; }
}

/* ============================================================
   [신규 헤더] 네비게이션 및 서브메뉴 스타일
   ============================================================ */

/* 헤더 전체 컨테이너 */
.menu {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important; /* 양 끝 정렬 강제 */
    align-items: center !important;
    height: 80px !important;
    padding: 0 20px !important;
    text-align: left !important; /* 중앙 정렬 해제 */
}

/* 로고 이미지 크기 조정 */
#logo {
    height: 40px;
    width: auto;
    display: block;
}

/* 메인 메뉴 리스트 */
.menuList {
    display: flex !important;
    justify-content: flex-end !important; /* 메뉴는 오른쪽으로 */
    gap: 30px !important; /* 메뉴 사이 간격 확보 */
    margin: 0 !important;
}

/* 메인 메뉴 각 아이템 */
.menuItem {
    position: relative; /* 서브메뉴 기준점 */
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 25px;
}

.menuItem > a {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    transition: color 0.3s;
}

/* 서브메뉴 박스 (기본 숨김) */
.subMenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    background-color: #fff !important;
    border: 1px solid #d1d9e6 !important;
    border-radius: 0 0 12px 12px !important; /* 하단만 둥글게 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important; 
    z-index: 1000;
    margin: 0 !important;
    padding: 0 !important;
}

/* 마우스 올렸을 때 서브메뉴 노출 */
.menuItem:hover .subMenu {
    opacity: 1;
    visibility: visible;
    top: 80px;
}

.menuItem:hover > a {
    color: var(--primary); /* 메인 컬러로 변경 */
}

/* 서브메뉴 내부 리스트 스타일 */
.subMenu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

/* 3. 각 메뉴 항목(li) */
.subMenu ul li {
    width: 100%;
    border-bottom: 1px solid #f0f4f8; /* 항목 간 연한 구분선 */
}

.subMenu ul li:last-child {
    border-bottom: none; /* 마지막 항목은 선 없음 */
}

/* 4. 링크(a) 스타일 */
.subMenu ul li a {
    display: block;
    padding: 14px 20px;
    color: #444 !important;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    transition: all 0.2s ease;
}

/* 5. 마우스 오버 시 (리번드 컬러 적용) */
.subMenu ul li a:hover {
    background-color: #f0f7ff !important; /* 연한 블루 배경 */
    color: #2000af !important; /* 리번드 포인트 네이비 */
    font-weight: 600;
}

/* [추가] 상단 메뉴바 고정을 위한 메인 레이아웃 보정 */
.top-nav {
    height: 80px !important;
    overflow: visible !important; /* 서브메뉴가 잘리지 않도록 */
}

/* ============================================================
   [연혁 페이지] History Section
   ============================================================ */

.official-history-section {
    width: 100% !important;
    padding: 80px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* 섹션 전체를 중앙으로 */
}

/* 제목 영역 */
.history-title-area {
    margin-bottom: 80px;
    text-align: center; /* 제목도 반드시 중앙 */
}

.history-title-area h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.history-title-area h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

/* 연혁 리스트 구조 */
.history-container {
    width: 100% !important;
    max-width: 900px !important; /* 너무 넓지 않게 제한 */
    margin: 0 auto !important;
    position: relative !important;
    padding-left: 0 !important;
    overflow: visible !important; /* 선이 잘리지 않게 설정 */
}

/* 연혁 타임라인 선 위치 조정 */
.history-container::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 150px !important; /* 년도 영역 바로 옆 */
    width: 2px !important;
    background: #e9ecef !important; /* 연한 회색 선 */
    display: block !important;
    z-index: 1 !important;
}

.decade-section {
    margin-bottom: 50px;
}

.history-item {
    display: flex !important;
    margin-bottom: 30px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* 년도 스타일 */
.history-year {
    width: 150px !important; /* 선 위치와 동일하게 */
    padding-right: 40px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    text-align: right !important;
}
/* 년도 옆 점 표시 */
.history-item::after {
    content: "" !important;
    position: absolute !important;
    left: 146px !important; /* 선 정중앙에 배치 (150px - 절반폭) */
    top: 10px !important;
    width: 10px !important;
    height: 10px !important;
    background: #fff !important;
    border: 2px solid var(--secondary) !important;
    border-radius: 50% !important;
    z-index: 3 !important;
}

/* 내용 스타일 */
.history-content {
    flex: 1 !important;
    padding-left: 40px !important;
    text-align: left !important;
}

.text-wrap {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* 기관/기관명 강조 스타일 (회색 괄호 텍스트) */
.agency-text {
    display: inline-block;
    font-size: 14px;
    color: #999;
    margin-left: 8px;
    font-weight: 400;
}

/* 년도가 비어있는(같은 년도의 연속 데이터) 경우 점 크기 조절 */
.history-item .history-year:empty + .history-content {
    padding-top: 0;
}

/* 반응형 모바일 대응 */
@media (max-width: 768px) {
    .history-container::before { left: 60px; }
    .history-year { width: 50px; font-size: 16px; padding-right: 15px; }
    .history-item::after { left: 57px; }
    .history-content { padding-left: 20px; }
    .text-wrap { font-size: 14px; }
}

/* [배너 공통] 서브 페이지 배너 */
.banner {
    position: relative;
    width: 100%;
    height: 350px; /* 배너 높이 확보 */
    background: #00225d; /* 캡처된 짙은 네이비 색상 반영 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0; /* 헤더와 겹치지 않게 */
}

.pageDirection {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center; /* Breadcrumbs는 중앙 정렬이 안정적 */
    align-items: center;
}

.pageDirection .home {
    width: 18px;
    height: 18px;
    margin-right: 15px;
    filter: brightness(0) invert(1); /* 홈 아이콘 화이트로 */
}

.currentMenu {
    display: flex;
    align-items: center;
    color: #fff;
}

.menuBox {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.menuBox.black {
    color: var(--secondary) !important; /* 연혁 부분 파란색 강조 */
    font-weight: 700;
}

.headerLine {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
}

.menuBox img {
    width: 10px;
    margin-left: 10px;
    opacity: 0.5;
}

/* 1. 헤더 영역 클릭 방해 요소 제거 */
#header {
    position: relative;
    z-index: 2000; /* 배너보다 확실히 위에 있게 설정 */
    background: #fff;
}

/* 2. 네비게이션 메뉴 클릭 활성화 */
header .menu .menuList .menuItem {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 2010;
}

header .menu .menuList .menuItem > a {
    display: block; /* 클릭 영역 확대 */
    padding: 10px 0;
    position: relative;
    z-index: 2020;
}

/* 3. 서브메뉴 레이어 간섭 해결 */
header .menu .menuList .menuItem .subMenu {
position: absolute;
    top: 100%; /* 메인 메뉴의 하단 끝에 딱 붙입니다 */
    left: 50%;
    transform: translateX(-50%);
    
    /* [중요] 만약 디자인상 메뉴가 좀 떨어져 있어야 한다면, 
       여백을 margin이 아닌 padding으로 주어 마우스가 지나갈 '길'을 만들어야 합니다.
    */
    padding-top: 10px; /* 이 패딩 영역 덕분에 마우스가 끊기지 않습니다 */
    background: transparent; /* 패딩 영역은 투명하게 */
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
}

/* 4. 마우스 호버 시에만 클릭 가능하도록 변경 */
header .menu .menuList .menuItem:hover .subMenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* 호버 시에만 클릭 가능 */
}

/* 2. 실제 서브메뉴 박스 스타일 (패딩 안쪽의 컨텐츠) */
header .menu .menuList .menuItem .subMenu ul {
    background: #fff; /* 실제 배경색은 여기서 적용 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
}

header .menu .menuList .menuItem .subMenu ul li a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    cursor: pointer;
}

/* ============================================================
   [주요사업실적] 구축 및 유지보수 카드형 레이아웃
   ============================================================ */

/* 1. 탭 및 필터 컨테이너 */
.biz-tab-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
}

/* 메인 탭 (유지보수 / 시스템 구축) */
.main-tabs {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 50px;
}

.main-tabs .tab-item {
    padding: 12px 35px;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 700;
    color: #888;
    transition: all 0.3s ease;
}

.main-tabs .tab-item.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 45, 107, 0.2);
}

/* 서브 탭 (연도 필터) */
.sub-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.sub-tabs .tab-item {
    padding: 6px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.sub-tabs .tab-item.active {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #fff;
}

/* 유지보수 상태 버튼 그룹 */
.filter-group-maintenance {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
}

.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f7ff;
}

/* 2. 카드 그리드 레이아웃 */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* 반응형 격자 */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* 3. 개별 프로젝트 카드 디자인 */
.project-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
    min-height: 220px;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

/* 카드 상단: 고객사 정보 */
.card-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.client-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

.order-agency {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* 카드 중앙: 프로젝트 제목 및 태그 */
.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px; /* 사업명 간격 직접 제어 */
}

.project-title {
    /* 레이아웃 및 위치 */
    display: flex;
    align-items: flex-start;
    position: relative;
    margin: 0;
    padding-left: 12px; /* 수직 바가 들어갈 공간 */

    /* 텍스트 스타일 */
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    word-break: keep-all; /* 단어 단위 줄바꿈으로 가독성 향상 */
}

/* 사업명 앞에 불렛(•) 추가 */
.project-title::before {
content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background-color: #2000af; /* 리번드 네이비 컬러 */
    border-radius: 2px;
}

.card-role {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.role-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #f1f3f5;
    color: #666;
    font-weight: 600;
}

/* 태그 컬러 포인트 */
/* 구축 */
.role-tag.infra { background: #e7f5ff; color: #1c7ed6; }
.role-tag.move { background: #fff4e6; color: #d9480f; }
.role-tag.ta { background: #f3f0ff; color: #6741d9; }
.role-tag.aa { background: #fff5f5; color: #e03131; }
.role-tag.dev { background: #f4fce3; color: #5c940d; }
.role-tag.const { background: #fff9db; color: #f08c00; }
.role-tag.etc { background: #f1f3f5;   color: #495057; }

/* 유지보수 */
.role-tag.total { background: #e7f5ff; color: #1c7ed6; }
.role-tag.x86 { background: #fff4e6; color: #d9480f; }
.role-tag.nw { background: #f3f0ff; color: #6741d9; }
.role-tag.dev { background: #fff5f5; color: #e03131; }
.role-tag.hci { background: #f4fce3; color: #5c940d; }


/* 카드 하단: 기간 정보 */
.card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.period-label {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.period-date {
    font-size: 14px;
    color: #555;
    font-family: 'Roboto', sans-serif; /* 날짜는 고정폭 느낌이 깔끔함 */
}

/* ============================================================
   [파트너 페이지] Partner Logo Grid Layout
   ============================================================ */

/* 1. 텍스트 영역 정렬 */
.policyBox {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.policyBox .title.black.bold {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.policyBox .title.black.bold::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.policyBox .subTitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 5px 0;
    word-break: keep-all;
}

/* 2. 파트너 로고 그리드 시스템 */
.policyBox .displayGrid.grid-template-repeat-4-1 {
    display: grid !important; /* HTML에 작성된 인라인 스타일 대응 */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 60px !important;
}

/* 3. 개별 로고 아이템 박스 디자인 */
.policyBox .displayGrid img {
    width: 100% !important;
    height: 120px !important; /* 고정 높이로 통일감 부여 */
    padding: 20px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    object-fit: contain !important; /* 비율 유지하며 박스 안에 맞춤 */
    filter: grayscale(100%); /* 기본은 차분하게 그레이스케일 */
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

/* 4. 호버 효과: 컬러 복원 및 강조 */
.policyBox .displayGrid img:hover {
    filter: grayscale(0%); /* 마우스 올리면 본래 컬러 노출 */
    opacity: 1;
    border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    background-color: #fff;
}

/* 반응형 모바일 처리 */
@media (max-width: 768px) {
    .policyBox .title.black.bold { font-size: 28px; }
    .policyBox .subTitle { font-size: 15px; }
    .policyBox .displayGrid.grid-template-repeat-4-1 {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 10px !important;
    }
    .policyBox .displayGrid img { height: 80px !important; padding: 10px; }
}

/* ============================================================
   [Contact Us] 조직도 및 연락처 테이블 스타일
   ============================================================ */

/* 1. 조직도 이미지 영역 */
.policyBox .mt24 {
    margin: 60px auto;
    max-width: 900px;
    padding: 40px;
    background: #fcfdfe;
    border-radius: 20px;
    border: 1px solid #f0f3f7;
}

.policyBox .mt24 img {
    width: 100%;
    height: auto;
}

/* 2. 테이블 컨테이너 */
.t_type1 {
    margin-top: 50px;
    overflow-x: auto; /* 모바일 대응 */
}

/* 3. 연락처 테이블 상세 디자인 */
.contactTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 2px solid var(--primary); /* 상단 포인트 선 */
    background: #fff;
}

.contactTable thead th {
    background: #f8fafe;
    color: #333;
    font-weight: 700;
    padding: 18px 10px;
    border-bottom: 1px solid #e1e7f0;
    font-size: 16px;
}

.contactTable tbody td {
    padding: 20px 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #555;
    transition: background 0.2s;
}

/* 마우스 올렸을 때 행 강조 */
.contactTable tbody tr:hover td {
    background: #f9fbff;
    color: var(--primary);
}

/* 텍스트 정렬 및 스타일 */
.contactTable .center-cell { text-align: center; font-weight: 600; }
.contactTable .cell-text { text-align: center; }

/* 이메일 링크 스타일 */
.contactTable a {
    color: #666;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.contactTable tr:hover a {
    color: var(--secondary);
    border-bottom: 1px solid var(--secondary);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .contactTable {
        min-width: 500px; /* 테이블 뭉개짐 방지 */
    }
    .policyBox .mt24 {
        padding: 20px;
    }
}

/* [신규] 게시판 상단 검색 헤더 */
.searchHead {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.contentCount {
    font-size: 15px;
    color: #666;
}

.contentCount .blue {
    color: var(--secondary); /* 리번드 포인트 컬러 */
}

/* 검색 박스 정렬 */
.searchBox {
    display: flex;
    gap: 5px;
}

.searchBox select, 
.searchBox input[type="text"] {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
}

/* 검색 버튼 */
.searchBTN {
    height: 40px;
    padding: 0 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.searchBTN:hover {
    background: #001a40;
}

.searchBTN img {
    width: 14px;
    filter: brightness(0) invert(1);
}

/* [수정/확장] 게시판 리스트 테이블 */
.dataTable {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid var(--primary);
}

.dataTable th {
    background: #f8fafe;
    padding: 15px 10px;
    border-bottom: 1px solid #e1e7f0;
    font-size: 15px;
    color: #333;
}

.dataTable td {
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    font-size: 14px;
    color: #555;
}

/* 제목 왼쪽 정렬 및 링크 스타일 */
.dataTable td.alignLeft {
    text-align: left;
    padding-left: 20px;
}

.dataTable td.alignLeft a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.dataTable td.alignLeft a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* 조회수 등 모바일에서 중요도 낮은 컬럼 처리 */
@media (max-width: 768px) {
    .m_viewCount { display: none; }
}

/* [신규] 페이징 네비게이션 */
.pageNation {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pageNation a, 
.pageNation strong {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.pageNation strong {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pageNation a:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* ============================================================
   [공통] 페이지 메인 타이틀 (Title Black Bold)
   ============================================================ */

/* 1. 타이틀 기본 레이아웃 */
.mainContent2 .title.black.bold {
    font-size: 38px;             /* 시원하고 당당한 크기 */
    color: #1a1a1a;              /* 완전한 검정보다 세련된 다크 그레이 */
    font-weight: 800 !important; /* 볼드 강조 */
    letter-spacing: -0.05em;     /* 자간을 살짝 좁혀 응집력 강화 */
    margin-bottom: 35px;         /* 하단 콘텐츠와의 간격 */
    text-align: center;          /* 기본 중앙 정렬 */
    position: relative;
    padding-bottom: 20px;
    display: block;              /* 영역 확실히 확보 */
}

/* 2. 타이틀 하단 포인트 라인 (디자인적 요소) */
.mainContent2 .title.black.bold::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;                 /* 포인트 선 길이 */
    height: 4px;                 /* 선 두께 */
    background-color: var(--secondary); /* 리번드 포인트 컬러 (#00c2ff) */
    border-radius: 2px;
}

/* 3. 서브 타이틀과의 조합 (있을 경우) */
.mainContent2 .title.black.bold + .subTitle {
    margin-top: -10px;           /* 제목과 밀착 */
    margin-bottom: 50px;         /* 전체 헤더 영역 확보 */
    font-size: 18px;
    color: #666;
    text-align: center;
}

/* ============================================================
   [상세 페이지] 게시글 상세 조회 및 본문 스타일
   ============================================================ */

/* 1. 상단 헤더 영역 (제목 & 정보) */
.noticeHead {
    border-top: 2px solid var(--primary);
    background: #fcfdfe;
    padding: 30px 40px;
    border-bottom: 1px solid #e1e7f0;
}

.noticeTitle {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 20px;
    word-break: keep-all;
}

.viewInfor {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.viewInfor .line {
    width: 1px;
    background: #ddd;
    margin: 0 5px;
}

/* 2. 본문 영역 */
.noticeBody {
    padding: 50px 40px;
    min-height: 300px;
}

.noticeFile {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.noticeFile span {
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
}

.noticeFile img {
    width: 18px;
    margin-right: 8px;
}

.noticeText {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    word-break: break-all;
}

/* 3. 이전글/다음글 네비게이션 */
.movePageBox {
    margin-top: 80px;
    border-top: 1px solid #eee;
}

.movePageContent {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.movePageContent .bold.black:first-child {
    width: 120px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
}

.movePageContent a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.movePageContent a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.mr13 { margin-right: 13px; }

/* 4. 하단 버튼 영역 */
.buttonArea {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.nextBTN {
    padding: 12px 50px;
    background: #fff;
    border: 1px solid #333;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nextBTN:hover {
    background: #333;
    color: #fff;
}

/* [신규] 입력 폼 테이블 스타일 */
.inputTable {
    width: 100%;
    border-top: 2px solid var(--primary);
    border-collapse: collapse;
    margin-bottom: 40px;
}

.inputTable th {
    background: #f8fafe;
    padding: 20px;
    border-bottom: 1px solid #e1e7f0;
    font-size: 15px;
    color: #333;
    text-align: left;
    vertical-align: middle;
}

.inputTable td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

/* 필수 항목 표시 */
.pilsu {
    color: #ff4d4f;
    margin-left: 3px;
    font-weight: bold;
}

/* 2. 입력 요소(Input, Textarea) 스타일 */
.inputTable input[type="text"],
.inputTable input[type="password"],
.inputTable textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s;
}

.inputTable input:focus,
.inputTable textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.1);
}

/* 가로 사이즈 고정 클래스 보정 */
.W160 { width: 160px; }
.W280 { width: 280px; }
.W620 { width: 100%; max-width: 620px; } /* 모바일 대응을 위해 max-width로 변경 */

/* 3. 에러 메시지 스타일 */
.error {
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* 4. 특수 입력 레이아웃 (전화번호 등) */
.residentNumber {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 5. 모바일 대응을 위한 라벨 숨김 */
.mobileTh {
    display: none;
}

@media (max-width: 768px) {
    .pcEl { display: none; }
    .mobileTh { 
        display: block; 
        font-weight: 700;
        margin-bottom: 10px;
        color: var(--primary);
    }
    .inputTable td { padding: 20px 15px; }
    .residentNumber { flex-wrap: wrap; }
    .W160 { width: 30%; min-width: 80px; }
}

/* ============================================================
   [복리후생] Welfare & Environment Custom Style
   ============================================================ */

/* 근무 환경 섹션 */
.welfare-section { margin-top: 60px; margin-bottom: 80px; }
.section-title { font-size: 24px; font-weight: 700; margin-bottom: 30px; color: var(--primary); text-align: left; }

.work-info-box {
    display: flex;
    gap: 40px;
    background: #f8fafe;
    border-radius: 20px;
    padding: 40px;
    align-items: center;
}

.work-map { flex: 1; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.work-details { flex: 1; display: flex; flex-direction: column; gap: 25px; }
.detail-item strong { display: block; font-size: 14px; color: var(--secondary); margin-bottom: 8px; }
.detail-item p { font-size: 16px; color: #333; font-weight: 500; margin: 0; }

/* 복리후생 카드 그리드 */
.welfare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.welfare-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.welfare-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--secondary);
}

.w_icon { font-size: 40px; margin-bottom: 20px; }
.welfare-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 15px; color: #1a1a1a; }
.welfare-card p { font-size: 15px; color: #666; line-height: 1.6; margin: 0; word-break: keep-all; }

/* 하단 이미지 */
.welfare-footer-img { margin-top: 80px; text-align: center; }
.welfare-footer-img img { max-width: 100%; height: auto; border-radius: 20px; }

/* 모바일 대응 */
@media (max-width: 768px) {
    .work-info-box { flex-direction: column; padding: 20px; }
    .welfare-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   [복리후생] 인포그래픽 & 리스트 레이아웃
   ============================================================ */

/* 1. 근무 환경 (Riband Life) */
.riband-life-section {
    margin: 60px 0 100px;
    background: #1a1a1a; /* 어두운 배경으로 무게감 부여 */
    border-radius: 24px;
    padding: 60px 20px;
    color: #fff;
}

.life-grid {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.life-item { position: relative; flex: 1; }
.life-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
}

.life-label { display: block; font-size: 13px; color: var(--secondary); text-transform: uppercase; margin-bottom: 15px; font-weight: 700; }
.life-value { display: block; font-size: 28px; margin-bottom: 15px; font-weight: 700; }
.life-desc { font-size: 15px; color: #aaa; line-height: 1.5; }

/* 2. 복리후생 (Riband Welfare) */
.benefit-container { max-width: 1100px; margin: 0 auto 100px; }
.benefit-header { text-align: center; margin-bottom: 60px; }
.benefit-header h3 { font-size: 32px; font-weight: 800; color: #1a1a1a; margin-bottom: 15px; }
.benefit-header .h-line { width: 40px; height: 4px; background: var(--secondary); margin: 0 auto; }

.benefit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.b-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.b-item:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.b-icon-wrap {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b-icon-wrap img { width: 32px; height: 32px; }

.b-text h4 { font-size: 19px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.b-text p { font-size: 15px; color: #666; line-height: 1.6; }

/* 모바일 대응 */
@media (max-width: 768px) {
    .life-grid { flex-direction: column; gap: 40px; }
    .life-item:not(:last-child)::after { display: none; }
    .benefit-list { grid-template-columns: 1fr; }
}

/* ============================================================
   [인재채용] Recruit Card & Guide Style
   ============================================================ */

/* 1. 모집 공고 카드 */
.recruit-card-container { margin: 50px 0; }
.recruit-card {
    background: #fff;
    border: 1px solid #e1e7f0;
    border-top: 4px solid var(--primary); /* 리번드 메인 컬러 */
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.rc-header { border-bottom: 1px solid #f0f0f0; padding-bottom: 25px; margin-bottom: 25px; }
.rc-tag { display: inline-block; padding: 4px 12px; background: #f0f7ff; color: var(--secondary); border-radius: 4px; font-size: 13px; font-weight: 700; margin-bottom: 15px; }
.rc-title { font-size: 24px; font-weight: 700; color: #1a1a1a; margin-bottom: 15px; }
.rc-meta { display: flex; gap: 20px; color: #777; font-size: 14px; }

.rc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.rc-section h4 { font-size: 16px; color: var(--primary); font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; }
.rc-section h4::before { content: ''; width: 3px; height: 14px; background: var(--secondary); margin-right: 8px; border-radius: 2px; }
.rc-section ul { list-style: none; padding: 0; }
.rc-section ul li { font-size: 15px; color: #555; line-height: 1.8; position: relative; padding-left: 15px; }
.rc-section ul li::before { content: '•'; position: absolute; left: 0; color: #ccc; }

/* 2. 지원 방법 박스 */
.apply-guide-box {
    background: #f8fafe;
    border-radius: 16px;
    padding: 35px;
}

.guide-content { display: flex; justify-content: space-between; align-items: center; }
.guide-text h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.guide-text p { color: #666; margin: 0; }

.contact-info { display: flex; align-items: center; gap: 40px; }
.contact-person { text-align: right; }
.contact-person .label { font-size: 13px; color: #888; display: block; }
.contact-person strong { font-size: 18px; color: #333; }

.contact-detail { display: flex; flex-direction: column; gap: 5px; }
.contact-detail a { color: var(--secondary); text-decoration: none; font-weight: 500; font-size: 15px; }
.contact-detail a:hover { text-decoration: underline; }

/* 모바일 대응 */
@media (max-width: 768px) {
    .rc-body { grid-template-columns: 1fr; }
    .guide-content { flex-direction: column; text-align: center; gap: 30px; }
    .contact-info { flex-direction: column; gap: 15px; }
    .contact-person { text-align: center; }
}

/* ============================================================
   [인사말] CEO Greeting & Brand Story Style
   ============================================================ */

/* 1. 메인 슬로건 섹션 */
.greeting-intro {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/home/ceo_bg.jpg') center/cover;
    border-radius: 20px;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}
.greeting-intro h3 { font-size: 32px; font-weight: 700; margin-bottom: 20px; letter-spacing: -1px; }
.greeting-intro p { font-size: 18px; opacity: 0.9; line-height: 1.6; }

/* 2. 회사 개요 카드 */
.company-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 80px;
}
.summary-item {
    background: #f8fafe;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}
.summary-item strong { display: block; color: var(--secondary); font-size: 14px; margin-bottom: 8px; }
.summary-item span { font-size: 18px; font-weight: 700; color: #333; }

/* 3. 비즈니스 약속 (Vision) */
.business-vision { margin-bottom: 100px; text-align: center; }
.business-vision h4 { font-size: 24px; margin-bottom: 40px; position: relative; display: inline-block; }
.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: left; }
.vision-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
}
.v-num { font-size: 36px; font-weight: 800; color: #e1e7f0; line-height: 1; }
.vision-card p { font-size: 16px; color: #444; line-height: 1.5; margin: 0; }

/* 4. 브랜드 스토리 (블루 리본 의미) */
.brand-story-box {
    background: #f0f7ff;
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.brand-ribbon {
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100px; height: 5px; background: var(--secondary);
}
.brand-content h4 { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.brand-content .main-desc { font-size: 20px; color: #333; margin-bottom: 15px; }
.brand-content .sub-desc { font-size: 16px; color: #666; line-height: 1.7; }

/* 5. 시그니처 */
.ceo-signature { text-align: right; margin-top: 50px; font-size: 20px; }
.ceo-signature strong { font-size: 24px; margin-left: 10px; border-bottom: 2px solid #333; }

/* 모바일 대응 */
@media (max-width: 768px) {
    .company-summary { grid-template-columns: repeat(2, 1fr); }
    .vision-grid { grid-template-columns: 1fr; }
    .greeting-intro h3 { font-size: 24px; }
}

/* ============================================================
   [회사 둘러보기] CSS Auto Slider & Gallery Grid
   ============================================================ */

/* 1. 자동 페이드 슬라이더 */
.office-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 50px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.office-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeSlider 12s infinite; /* 12초 동안 무한 반복 */
}

/* 이미지별 애니메이션 지연시간 조절 */
.slide-item:nth-child(1) { animation-delay: 0s; }
.slide-item:nth-child(2) { animation-delay: 4s; }
.slide-item:nth-child(3) { animation-delay: 8s; }

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 사진 비율 유지하며 꽉 채움 */
}

@keyframes fadeSlider {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

.slider-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

/* 2. 갤러리 그리드 스타일 */
.office-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .item-info {
    opacity: 1;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .office-slider-wrapper { height: 300px; }
    .office-gallery { grid-template-columns: 1fr; }
    .gallery-item { height: 250px; }
}

/* ============================================================
   [찾아오시는 길] Map & Transport Info Style
   ============================================================ */

/* 1. 지도 컨테이너 */
.map-container-wrap {
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e1e7f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.kakao-map {
    width: 100%;
    height: 450px;
    background: #f0f0f0;
}

/* 2. 주소 정보 박스 */
.address-info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}
.info-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #f8fafe;
    border-radius: 16px;
}
.info-icon { font-size: 24px; }
.info-text strong { display: block; font-size: 14px; color: var(--secondary); margin-bottom: 5px; }
.info-text p { font-size: 16px; color: #333; margin: 0; font-weight: 500; }

/* 3. 교통편 안내 카드 */
.transport-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.transport-card {
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #eee;
    background: #fff;
}
.t-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.t-icon { font-size: 20px; }
.t-header h4 { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 0; }

.t-body .point-txt { font-weight: 700; color: #e63946; margin-bottom: 8px; font-size: 16px; }
.t-body p { font-size: 15px; color: #666; line-height: 1.6; margin: 0; }

/* 모바일 대응 */
@media (max-width: 768px) {
    .address-info-box { flex-direction: column; }
    .transport-grid { grid-template-columns: 1fr; }
    .kakao-map { height: 300px; }
}
/* ============================================================
   [장비소개] Product Portfolio & Specs Style
   ============================================================ */

/* 1. 필터 바 스타일 */
.product-filter-bar {
    background: #f8fafe;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
}
.filter-form { display: flex; gap: 30px; }
.filter-group { display: flex; flex-direction: column; gap: 8px; flex: 1; max-width: 300px; }
.filter-group label { font-size: 13px; font-weight: 700; color: #666; }

.custom-select {
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
}

/* 2. 제품 메인 정보 (상단) */
.product-detail-container { margin-top: 40px; }
.product-main-info { display: flex; gap: 50px; margin-bottom: 60px; align-items: flex-start; }

.product-visual { flex: 1; }
.img-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.img-box img { max-width: 100%; height: auto; transition: transform 0.3s ease; }
.img-box:hover img { transform: scale(1.05); }

.product-summary { flex: 1.2; padding-top: 10px; }
.product-tag { color: var(--secondary); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.product-name { font-size: 34px; font-weight: 800; color: #1a1a1a; margin: 15px 0 25px; }
.product-short-desc { font-size: 17px; color: #555; line-height: 1.7; margin-bottom: 35px; }

/* 3. 버튼 및 링크 */
.quote-btn {
    background: var(--primary);
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}
.quote-btn:hover { background: #333; }
.white-icon { filter: brightness(0) invert(1); width: 18px; }

.link-group { margin-top: 25px; display: flex; gap: 20px; }
.link-sub { font-size: 14px; color: #777; text-decoration: underline; transition: color 0.2s; }
.link-sub:hover { color: var(--secondary); }

/* 4. 제품 상세 내용 (에디터 영역) */
.product-full-contents {
    border-top: 1px solid #eee;
    padding-top: 50px;
}
.specs-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid var(--primary);
}
.contents-inner { font-size: 16px; line-height: 1.8; color: #444; }

/* 모바일 대응 */
@media (max-width: 992px) {
    .product-main-info { flex-direction: column; }
    .filter-form { flex-direction: column; gap: 15px; }
    .filter-group { max-width: 100%; }
}

/* ============================================================
   [인증서/증명서] Certificate Gallery Style
   ============================================================ */

.cert-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

/* 왼쪽 탭 리스트 */
.cert-tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tab-btn {
    padding: 16px 20px;
    text-align: left;
    background: #f8fafe;
    border: 1px solid #e1e7f0;
    border-radius: 8px;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-btn span {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.6;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tab-btn.active span { color: #fff; opacity: 1; }

.tab-btn:hover:not(.active) {
    background: #fff;
    border-color: var(--secondary);
    transform: translateX(5px);
}

/* 오른쪽 뷰어 영역 */
.cert-viewer {
    flex: 2;
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tab_content {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.tab_content.active { display: flex; justify-content: center; }

.tab_content img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 모바일 대응 */
@media (max-width: 992px) {
    .cert-container { flex-direction: column; }
    .cert-tabs { display: grid; grid-template-columns: 1fr 1fr; }
    .cert-viewer { padding: 20px; min-height: auto; }
}

/* 서브 메뉴 전체 박스 */
.menuBox .subMenu { /* 클래스명은 기존 소스에 맞춰 확인해주세요 */
    background-color: #ffffff;
    border: 1px solid #e1e7f0; /* 너무 진한 검정보다 연한 블루 그레이 추천 */
    border-radius: 0 0 12px 12px; /* 하단만 둥글게 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* 그림자를 살짝 주어 입체감 부여 */
    
    /* [핵심] 내부 요소가 라운딩 처리를 뚫고 나가지 않도록 설정 */
    overflow: hidden; 
    
    /* 위치 미세 조정 (배경과 딱 붙도록) */
    top: 100%; 
    margin-top: -1px; /* 헤더 하단 라인과 겹치게 하여 틈새 제거 */
}

/* 서브 메뉴 내부의 각 항목(a 태그 등) */
.menuBox .subMenu a {
    display: block;
    padding: 15px 20px;
    color: #555;
    text-align: center;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f7fa; /* 항목 간 연한 구분선 */
}

/* 마지막 항목의 구분선 제거 */
.menuBox .subMenu a:last-child {
    border-bottom: none;
}

/* 마우스 오버 시 효과 (리번드 포인트 컬러 활용) */
.menuBox .subMenu a:hover {
    background-color: #f0f7ff; /* 연한 블루 배경 */
    color: var(--secondary); /* 리번드 포인트 블루 */
    font-weight: 600;
}

/* 장비 상세 사양 테이블 디자인 교정 */
.product-full-contents table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin: 20px 0 !important;
    table-layout: fixed; /* 셀 너비를 고정하여 깨짐 방지 */
}

.product-full-contents table th {
    background-color: #f4f7fb !important; /* 연한 네이비톤 배경 */
    color: #333 !important;
    font-weight: 700 !important;
    padding: 12px 15px !important;
    border: 1px solid #d1d9e6 !important;
    text-align: left !important;
    width: 200px !important; /* 제목 영역 너비 확보 */
}

.product-full-contents table td {
    padding: 12px 15px !important;
    border: 1px solid #d1d9e6 !important;
    color: #666 !important;
    vertical-align: middle !important;
    background-color: #fff !important;
}

/* 텍스트가 너무 붙지 않도록 조정 */
.product-full-contents table span {
    display: inline-block;
    padding: 2px 0;
}

/* 제품 정보 공통 스타일 */
.product-info-container { line-height: 1.7; color: #444; }
.info-title { 
    font-size: 20px; font-weight: 700; color: #2000af; 
    margin-bottom: 15px; display: flex; align-items: center; 
}
.info-title::before { 
    content: ''; display: inline-block; width: 4px; height: 18px; 
    background: #2000af; margin-right: 10px; border-radius: 2px;
}
.info-desc { font-size: 16px; color: #666; word-break: keep-all; }

/* 체크 리스트 스타일 */
.feature-list { list-style: none; padding: 0; margin: 20px 0; }
.feature-list li { 
    position: relative; padding-left: 25px; margin-bottom: 8px; font-size: 15px; 
}
.feature-list li::before { 
    content: '✓'; position: absolute; left: 0; color: #2000af; font-weight: bold; 
}
.feature-list.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; }

/* 비주얼 박스 (이미지 부재 시 대체) */
.info-visual-box { 
    background: #f8fafe; border: 1px dashed #d1d9e6; 
    display: flex; align-items: center; justify-content: center; border-radius: 10px;
}
.visual-badge { 
    padding: 10px 20px; background: #2000af; color: #fff; 
    border-radius: 20px; font-size: 14px; font-weight: 600; 
}

.mt40 { margin-top: 40px; }
.mt10 { margin-top: 10px; }

.product-info-wrapper {
    max-width: 1000px; /* 너무 넓게 벌어지는 것 방지 */
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Pretendard', sans-serif;
}

.info-h4 {
    font-size: 22px;
    color: #2000af; /* 리번드 메인 블루 */
    border-left: 5px solid #2000af;
    padding-left: 15px;
    margin-bottom: 25px;
}

.summary-text {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    word-break: keep-all; /* 단어 단위 줄바꿈으로 가독성 향상 */
}

.spec-check-list {
    list-style: none;
    padding: 20px;
    background: #f8fafe;
    border-radius: 12px;
    margin-top: 20px;
}

.spec-check-list li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
    font-size: 15px;
}

.spec-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2000af;
    font-weight: bold;
}

.spec-check-list.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
}

.mt50 { margin-top: 50px; }
.mt15 { margin-top: 15px; }