.header{
background-color: #fff;
}

/* TITLE */
:root{
  --brand:#4A6FA5;
  --ink:#0f1b2e;
  --muted:#5b667a;
  --maxw:1100px;
}

.k-heading{
  max-width:var(--maxw);
  margin:0 auto 28px;
  padding:8px 4%;
  color:var(--ink);
  font-family: Pretendard, "Noto Sans KR", Inter, Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  margin-top: 120px;
}

.k-heading__eyebrow{
  margin:0 0 6px;
  font-weight:800;
  font-size:clamp(12px,1.2vw,13px);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--brand);
}

.k-heading__title{
  margin:0;
  font-weight:900;
  font-size:clamp(26px,4vw,40px);   /* h1~h2 겸용 */
  line-height:1.18;
  letter-spacing:-.01em;
  font-feature-settings:"ss01","tnum"; /* 숫자/세트 깔끔 */
}

.k-heading__subtitle{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.65;
}

.heading--center{ text-align:center; }
.heading--left  { text-align:left; }

/* 밑줄 룰라인(공학적 느낌의 절제된 포인트) */
.heading--rule .k-heading__title{
  position:relative;
}
.heading--rule .k-heading__title::after{
  content:"";
  display:block;
  width:68px; height:3px;
  margin:12px 0 0;
  border-radius:999px;
  background:linear-gradient(90deg, var(--brand), color-mix(in oklab, var(--brand) 70%, #000));
}
.heading--center .k-heading__title::after{ margin-left:auto; margin-right:auto; }

/* 약간 더 단정한 간격 */
.heading--compact .k-heading__subtitle{ margin-top:6px; font-size:clamp(13px,1.4vw,16px); }

/* 다크 모드 대비(선택) */
.dark .k-heading{ color:#e8edf5; }
.dark .k-heading__subtitle{ color:#a9b7c9; }
.dark .heading--rule .k-heading__title::after{
  background:linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.55));
}



/* ===== 데스크탑: 가로 탭 ===== */
.sub-tab-menu ul{
  display:flex; gap: 8px; border-bottom:1px solid #eee; padding:0; margin:0;
  list-style:none;
}
.sub-tab-menu li{ position:relative; }
.sub-tab-menu a{
  display:block; padding:12px 16px; text-decoration:none;
  color:#555; font-weight:600;
}
.sub-tab-menu li.active a{
  color:#111;
}
.sub-tab-menu li.active a::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:#4A6FA5;
}

/* 트리거 버튼은 데스크탑에서 숨김 */
.sub-tab-menu .sub-tab-trigger{ display:none; }

/* ===== 모바일: 아코디언 ===== */
@media (max-width:1024px){
  .sub-tab-menu{
  overflow:hidden;
  }
  /* 트리거(현재 탭 표시) */
  .sub-tab-menu .sub-tab-trigger{
    display:flex; width:100%; align-items:center; justify-content:space-between;
    gap:.5rem; padding:12px 14px; background:#fff; border:0; cursor:pointer;
    font-weight:700; color:#111;
  }
  .sub-tab-menu .chev{
    width:10px; height:10px; border-right:2px solid currentColor; border-bottom:2px solid currentColor;
    transform:rotate(45deg); transition:transform .18s ease;
  }
  .sub-tab-menu.open .chev{ transform:rotate(-135deg); }

  /* 목록은 접힘 */
  .sub-tab-menu ul{
    display:block; flex-wrap: wrap;
    border-top:1px solid #eee; padding:0; margin:0; list-style:none;
  }
  .sub-tab-menu li{ border-bottom:1px solid #f6f6f6; width: 100%;}
  .sub-tab-menu li:last-child{ border-bottom:0; }
  .sub-tab-menu a{ padding:12px 14px; color:#333; }
  .sub-tab-menu li.active a{ color:#4A6FA5; }
}



#container_title{
    display: none;
}
.sub-visual {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 80px;  --sb-dim: 0.35;  
    overflow: hidden;
  }
  .sub-visual::after{
  content: "";
  position: absolute;
  inset: 0;               /* top/right/bottom/left: 0 */
  background: rgba(0,0,0,var(--sb-dim));
  pointer-events: none;   /* 클릭 막지 않음 */
  z-index: 1; 
  }
  .sub-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sub-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: #fff;z-index: 10;
    text-align: center;
  }
  .sub-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
  }
  
  .sub-tab-menu {
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
  }
  .sub-tab-menu ul {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
  }
  .sub-tab-menu ul li {
    list-style: none;
  }
  .sub-tab-menu ul li a {
    display: block;
    padding: 16px 30px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
  }
  .sub-tab-menu ul li.active a,
  .sub-tab-menu ul li a:hover {
    color: #4A6FA5;
    font-weight: 900;
    border-bottom: 2px solid #4A6FA5;
  }




  /* 인사말 */
  .greeting-wrap {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row-reverse;
  }
  
  .greeting-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    
  }
  .greeting-image img {
    max-width: 360px;
    width: 100%;
    height: auto;border: 3px solid rgb(0, 174, 255);
    display: block;
  }
  
  .greeting-content {
    flex: 2;
    min-width: 300px;
  }
  .greeting-content>div{
    margin-bottom: 20px;
  }
  .greeting-content h4 {
    color: #4A6FA5;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .greeting-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 40px;
  }
  .greeting-content h2.fir{
    margin-top: 0;
  }
  .greeting-content h2 strong {
    color: #333;
  }
  .greeting-content p {
    color: #333;
  }
  .greeting-thanks {
    margin-top: 30px;
    font-weight: bold;
    color: #333;
  }
  p.bullet{
    padding: 10px 0 ;
  }
  p.bullet::before {
    content: "•";
    color: #333;
    margin-right: 8px;
    font-weight: bold;
  }


  /* 회사개요-첫번째 */
   /* ===== 서브배너 기본 ===== */
.sub-banners{
  --sb-h: clamp(180px, 35vw, 360px); /* 배너 높이(반응형) */
  --sb-dim: .35;                     /* 어둡기(0~1) - HTML에서 덮어쓸 수 있음 */
  position: relative;
  height: var(--sb-h);
  display: grid;
  place-items: center; /* 가운데 정렬 */
  overflow: hidden;
}

/* 배경 이미지 레이어 */
.sub-banner__bg{
  position:absolute; inset:0;
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  transform: scale(1.02); /* 살짝 확대로 여백 방지 */
  z-index: 0;
}

/* 어두운 오버레이 */
.sub-banners::after{
  content:""; position:absolute; inset:0; z-index: 1;
    background: linear-gradient(45deg, #000000a3, #28405f45);
}

/* 내용 레이어 */
.sub-banner__inner{
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 0 6vw;
  text-shadow: 0 2px 8px rgba(0,0,0,.25); /* 가독성 향상 */
}

/* 보조문구 */
.sub-banner__eyebrow{
  margin: 0 0 .5rem;
  font-weight: 500;
  letter-spacing: .02em;
  font-size: clamp(14px, 1.8vw, 18px);
  opacity: .95;
}

/* 제목 */
.sub-banner__title{
  margin: 0;
  font-weight: 800;
  letter-spacing: .01em;
  font-size: clamp(22px, 4.5vw, 40px);
}

/* 선택: 아래쪽 그라데이션 살짝 */
.sub-banner::before{
  content:""; position:absolute; inset:auto 0 0 0; height:30%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.25));
  z-index: 1; pointer-events:none;
}

/* 다크/라이트 배경에 따라 가독성 추가 보정(선택) */
@media (prefers-contrast: more){
  .sub-banner__inner{ text-shadow: 0 2px 10px rgba(0,0,0,.35); }
}


/* 주요사업분야 */
/* ===== 주요 사업분야 ===== */
:root{
  --brand:#4A6FA5;          /* 사이트 메인 컬러 */
  --biz-radius:20px;
  --biz-shadow:0 12px 30px rgba(0,0,0,.08);
  --biz-border:#e6e9ef;
}

.biz{padding:40px 0 20px}
.biz__head{margin:0 0 18px}
.biz__head h2{
  font-size:clamp(20px,2.8vw,28px);
  margin:0 0 6px;
}
.biz__desc{
  margin:0;
  color:#666;
  font-size:clamp(13px,1.6vw,15px);
}

.biz-grid{
  display:grid;
  gap:24px;
  grid-template-columns: repeat(4, minmax(240px,1fr));
}
@media (max-width:1024px){
  .biz-grid{grid-template-columns: repeat(2, minmax(220px,1fr));}
}
@media (max-width:600px){
  .biz-grid{grid-template-columns: 1fr;}
}

/* 카드 */
.biz-card{
  background:#fff;
  border:1px solid var(--biz-border);
  border-radius:var(--biz-radius);
  overflow:hidden;
  box-shadow:var(--biz-shadow);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.biz-card:hover{
  transform:translateY(-4px);
  border-color:rgba(74,111,165,.45);
  box-shadow:0 16px 40px rgba(74,111,165,.15);
}

/* 썸네일(16:10 비율) + 살짝 그라데이션 */
.biz-thumb{
  position:relative; padding-top:62.5%; /* 16:10 */
  overflow:hidden; background:#f6f7fb;
}
.biz-thumb img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; transform:scale(1.04);
}
.biz-thumb::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.18) 100%);
  pointer-events:none;
}

/* 본문 */
.biz-body{padding:18px 18px 20px; text-align:center}
.biz-body h3{
  margin:6px 0 10px;
  font-size:clamp(16px,2.4vw,20px);
  font-weight:800; color:#0f1b2e;
}
.biz-list{
  margin:0; padding:0; list-style:none;
  color:#4b5563; font-size:clamp(13px,1.7vw,14px);
}
.biz-list li{line-height:1.7}
.biz-list li::before{
  content:"– "; color:var(--brand); font-weight:700;
}


/* 조직도 */
/* ========= 조직도 ========= */
:root{
  --brand:#4A6FA5;
  --ink:#0f1b2e;
  --muted:#667085;
  --line:rgba(0,0,0,.16);
  --radius:18px;
}

.org{padding:44px 0 10px}
.org__desc{margin:0;color:#666;font-size:clamp(13px,1.7vw,15px)}

.org-tree{position:relative;max-width:1100px;margin:0 auto}

/* 중앙 원형(대표) */
.org-root{
  width: clamp(120px,18vw,160px);
  height: clamp(120px,18vw,160px);
  margin: 0 auto;
  border-radius: 999px;
  background: radial-gradient(140% 140% at 30% 20%, #6b87b9 0%, var(--brand) 60%, #274874 100%);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:clamp(16px,2.4vw,20px);
  box-shadow: 0 14px 30px rgba(74,111,165,.35);
  position:relative;
}
/* 대표 → 가지(수직선) */
.org-root::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:-28px; width:2px; height:28px; background:var(--line);
}

/* 가지 컨테이너 */
.org-branches{
  position:relative; margin-top:34px;
  display:grid; gap:22px;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
/* 대표 아래 가로줄 */
.org-branches::before{
  content:""; position:absolute; top:-28px; left:8%; right:8%;
  height:2px; background:var(--line);
}

/* 각 가지의 수직선 */
.org-branch{position:relative}
.org-branch::before{
  content:""; position:absolute; top:-28px; left:50%; transform:translateX(-50%);
  width:2px; height:28px; background:var(--line);
}

/* 부서 카드 */
.org-card{
  background:#fff; border:1px solid #e8ebf2; border-radius:var(--radius);
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  padding:18px 16px; text-align:center;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.org-card:hover{
  transform:translateY(-4px);
  border-color:rgba(74,111,165,.45);
  box-shadow:0 16px 36px rgba(74,111,165,.15);
}
.org-card h3{margin:2px 0 6px; font-size:clamp(16px,2.3vw,18px); color:var(--ink); font-weight:800}
.org-sub{margin:0 0 10px; color:var(--muted); font-size:clamp(12px,1.7vw,14px)}
.org-badge{
  display:inline-block; padding:6px 12px; border-radius:999px;
  background:rgba(74,111,165,.08); color:var(--brand); font-weight:700; font-size:14px;
}

/* 모바일: 세로 스택 + 선 단순화 */
@media (max-width:640px){
  .org-branches::before,
  .org-branch::before{display:none}
  .org-branches{gap:14px}
}



/* 기업이념 */
.core-values {
    margin: 0 auto;width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}
.core-values img{
 width: 100%;
 max-width: 450px;
}

  .history-wrap {
    max-width: 1000px;
    margin: 80px auto;
    padding: 20px;
  }
  
  .history-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 60px;
    position: relative;
  }
  
  .history-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .history-year-block {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
  }
  
  .year {
    font-size: 2rem;
    font-weight: 700;
    min-width: 100px;
    color: #004080;
  }
  
  .history-items p {
    margin: 8px 0;
    position: relative;
    padding-left: 20px;
  }

.img_box{
    width: 100%;
    display: flex;
    margin-bottom: 80px;
}
.img_box>div{
    width: 300px;
    border: 1px solid #ddd;
    padding: 5px;
}
  /* product */
  .container {
    /* max-width: 1400px; */
    width: 100%;
    margin: 0 auto;
    /* padding: 40px 20px; */
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .product {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
  }

  .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .product img {
    width: 100%;
    height: auto;
    display: block;
  }

  .product-content {
    padding: 20px;
    position: absolute;
    top: 0;
    z-index: 50;
  }

  .product-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
  }

  .product-content p {
    font-size: 15px;
    color: #555;
  }

  .box{
    margin-top: 80px;
  }


  /* contact */

  .contact-info {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
  }
  
  .section-title {
    font-size: 32px;
    margin-bottom: 30px;
    position: relative;
  }
  
  .section-title::before {
    content: '···';
    display: block;
    color: #4A6FA5;
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .info-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .info-box {
    background: #1c1c1c;
    color: #fff;
    padding: 30px 20px;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
  }
  
  .info-box .icon {
    font-size: 40px;
    margin-bottom: 15px;
  }
  
  .info-box.highlight {
    background: #4A6FA5;
  }
  
  .info-box h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
  }
  
  .info-box p {
    font-size: 15px;
    line-height: 1.6;
  }

  


  
  /* 반응형 */
  @media (max-width: 768px) {
    .container {
        padding: 20px 15px;
      }

    .history-year-block {
      flex-direction: column;
    }
    .year {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }
    .greeting-wrap {
        flex-direction: column;
      }
      .greeting-content h2 {
        font-size: 1.4rem;
      }

      .info-boxes {
        flex-direction: column;
        align-items: center;
      }
    
      .info-box {
        width: 90%;
      }


  }
  
