/********************************************************
 * (1) 기본 reset & global styles
 ********************************************************/
html, body {
  margin: 0;
  padding: 0;
  width: 100%;

  overflow-x: hidden;
  font-family: system-ui, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body {
  display: flex;
  flex-direction: column;
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}

/********************************************************
 * (2) 전체 레이아웃: header + main + footer
 ********************************************************/
main {
  flex: 1;
}


/************************************************************
 * 2) Hero Two-Col (왼쪽 텍스트 / 오른쪽 슬라이더)
 ************************************************************/
/* 전체 컨테이너: 가로 1200px, 왼쪽 600 + 오른쪽 600 */
.hero-two-col {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  /* 필요시 높이: min-height: 400px; */
}

/* 왼쪽(텍스트) 600px */
.hero-left {
  width: 600px;
  background: #fafafa;  /* 예시 배경 */
  display: flex;
}
.hero-left-inner {
  margin: auto;  /* 수직, 수평 중앙정렬 */
  max-width: 90%;
}
.hero-left-inner h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #333;
}
.hero-left-inner h2 {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1rem;
}
.hero-left-inner p {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

/* 오른쪽(슬라이더) 600px */
.hero-right {
  position: relative;
  width: 600px;
  height: 400px;  /* 원하는 높이 */
  overflow: hidden;
  background: #ccc; /* 기본 배경(슬라이드가 없으면 보임) */
}

/* (A) slides wrapper */
.slider-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: max-content; /* 가로 길이를 slides * 600px 로 넘침 */
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
}

/* (B) slide */
.slide {
  width: 600px;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0; 
  position: relative;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

/* 도트 인디케이터 */
.dots {
  position: absolute;
  bottom: 15px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.dot {
  width: 10px; 
  height: 10px; 
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active {
  background: #fff;
}

/* 반응형(992px 이하) - 세로 배치 */
@media (max-width: 992px) {
  .hero-two-col {
    width: 100%;
    flex-direction: column;
  }
  .hero-left, .hero-right {
    width: 100%;
    height: auto;
  }
  .hero-right {
    height: 300px; /* or auto */
  }
  .slide {
    width: 100%; /* 슬라이드 폭이 부모에 맞춰짐 */
  }
}

/* Nanum Myeongjo 폰트 */
@import url('https://fonts.googleapis.com/earlyaccess/nanummyeongjo.css');

/**********************************************
 * Color & Typography Variables
 **********************************************/
:root {
  --pri:        #d10000;  
  --pri-dark:   #e18b46;  
  --txt:        #4f4f4f;  
  --txt-hover:  #3b3b3b;  
  --bg:         #ffffff;
  --bg-soft:    #f6f6f6;
  --border:     #d10000;
  --border-light: #ffc693;
  --bg-hover:   #fdfdfd;
}

/**********************************************
 * Header Scope
 **********************************************/
/******************************************************
 * ★ HEADER SCOPE – 풀스크린 히어로 위 투명 → 스크롤 시 흰 배경
 ******************************************************/
.header-scope *,
.header-scope *::before,
.header-scope *::after{
  box-sizing:border-box;
  margin:0; padding:0;
}

/* ───────────────────────────────────────────
   1) 헤더 래퍼 (.header-scope)
   ─────────────────────────────────────────── */
.header-scope{
  position:fixed;                /* 항상 상단 고정 */
  top:0; left:0; width:100%;
  z-index:1000;
  background:transparent;        /* 기본 = 투명 */
  color:#fff;                    /* 기본 글자 = 흰색 */
  font-family:'Nanum Myeongjo',"Helvetica Neue",Arial,sans-serif;
  transition:
    background .35s ease,
    color       .35s ease,
    box-shadow  .35s ease;
}

/* 하단 10 px 스트립(처음엔 안 보이게) */
.header-scope::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:100%; height:10px;
  background:transparent;
  transition:background .35s ease;
}

/* ───────── 스크롤 80 px↑ → .scrolled 클래스 추가 시 ───────── */
.header-scope.scrolled{
  background:#ffffff;
  color:var(--txt);
  box-shadow:0 2px 6px rgba(0,0,0,.06);
}
.header-scope.scrolled::after{
  background:#fff !important;             /* 빨간 스트립 표시 */
}

/* ───────────────────────────────────────────
   2) 내부 컨테이너 (.site-header)
   ─────────────────────────────────────────── */
.header-scope .site-header{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1.5rem 2rem;
}

/* 로고 */
.header-scope .site-header h1{
  font-size:20rem;
  font-weight:900;
}
.header-scope .site-header h1 a{
  text-decoration:none;
  color:inherit;                 /* 상위 color 상속(흰→검) */
}

/* ───────────────────────────────────────────
   3) 네비게이션
   ─────────────────────────────────────────── */
.header-scope .site-header nav{position:relative;}
.header-scope .site-header nav ul{
  display:inline-flex;
  list-style:none;
  gap:6rem;
}
.header-scope .site-header nav li{position:relative;}

.header-scope .site-header nav a{
  text-decoration:none;
  font-weight:600;
  font-size:1rem;
  padding:.5rem 0;
  position:relative;
  transition:color .3s,transform .25s,letter-spacing .25s;
  color:inherit;                 /* 흰/검 자동 반전 */
}
/* 밑줄 */
.header-scope .site-header nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:-2px;
  width:0; height:2px;
  background:currentColor;       /* 현재 글자색과 동일 */
  transition:width .25s;
}
.header-scope .site-header nav a:hover{
  transform:translateY(-2px);
  letter-spacing:.4px;
}
.header-scope .site-header nav a:hover::after{width:100%; height:3px;}

/* 드롭다운 */
.header-scope .site-header nav li ul{
  display:none;
  position:absolute;
  top:100%; left:50%;
  transform:translateX(-50%);
  min-width:160px;
  background:var(--bg);
  border-radius:4px;
  list-style:none;
  padding:.5rem 0;
  margin:0;
  z-index:999;
  box-shadow:0 6px 14px rgba(0,0,0,.08);
}
.header-scope .site-header nav li ul li a{
  display:block;
  padding:.5rem 1rem;
  font-weight:500;
  color:var(--txt);
  transition:background .25s,color .25s;
}
.header-scope .site-header nav li ul li a:hover{
  background:var(--bg-soft);
  color:var(--txt-hover);
}
.header-scope .site-header nav li:hover>ul{display:block;}

/* ───────────────────────────────────────────
   4) 햄버거(모바일)
   ─────────────────────────────────────────── */
.header-scope .menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:2.4rem;
  color:inherit;
  cursor:pointer;
  transition:color .3s,transform .25s;
}

.header-scope .menu-toggle:hover{
  transform:scale(1.1);
}
/* ───────────────────────────────────────────
   5) 반응형 (≤992 px)
   ─────────────────────────────────────────── */
@media (max-width: 992px){
  .header-scope .site-header{     /* ↳ 이미 존재하는 블록에 그대로 둠 */
    height:120px;
    padding:1rem 1.5rem;
  }

  /* 햄버거 버튼 */
  .header-scope .menu-toggle{
    display:block;
    font-size:3.2rem;
    margin-left:auto;
    margin-right:30px;            /* ← 아이콘 오른쪽 여백 */
  }

  /* ▼ 메뉴 전체를 헤더 아래 30px 띄워서 위치 */
  .header-scope .site-header nav{
    position:absolute;
    /* 헤더(.site-header) 높이 100% + 30px */
    top:30px;
    left:0; right:0;
  }

  /* 이하 기존 내용 그대로… */
  .header-scope .site-header nav ul{
    display:none;
    flex-direction:column;
    width:100%;
    background:var(--bg);
    padding:.1rem 0;
  }
  .header-scope .site-header nav ul.show{display:flex;}

  .header-scope .site-header nav li ul{
    position:static;
    transform:none;
    box-shadow:none;
    margin-left:1rem;
  }
  .header-scope .site-header nav li a{
    display:block;
    padding:1rem;
    border-bottom:1px solid var(--border-light);
    color:var(--txt);
  }
  .header-scope .site-header nav li a:hover{
    background:var(--bg-soft);
    color:var(--txt-hover);
    transform:none;
  }
}


/**********************************************
 * Footer Scope
 **********************************************/
.footer-scope {
  width: 100%;
  background: var(--bg);
  color: var(--txt);
  font-family: 'Nanum Myeongjo', "Helvetica Neue", Arial, sans-serif;
  border-top: 1px solid var(--border);
}
.footer-scope .site-footer {
  max-width: clamp(320px, 90%, 1200px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  padding: 0 1rem;
}
.footer-scope .site-footer p {
  margin: 0;
}
.footer-scope .site-footer a {
  color: var(--txt);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}
.footer-scope .site-footer a:hover {
  color: var(--txt-hover);
  border-bottom: 1px solid var(--txt-hover);
}

/* ===========================================
   CSS Variables 정의 (전역)
   =========================================== */
:root {
  /* 메인 색상 (Primary) */
  --color-primary: #d10000;

  /* 텍스트 색상 */
  --text-main: #333;
  --text-sub:  #444;

  /* 배경 색상 */
  --bg-white: #ffffff;
  --bg-light: #f3f4f6;

  /* 그림자 색상 (주 그림자, 호버 시 그림자) */
  --shadow-main: rgba(0,0,0,0.05);
  --shadow-hover: rgba(0,0,0,0.06);

  /* 기타 공통 속성 */
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* -------------------------------------------
 * (13) Page Layout: container, sidebar, page-content
 ------------------------------------------- */

/* (11) Page Layout */
.page-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  /* 사이드바 삭제 → display:block으로 */
  display: block;
}
.page-content {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 1.2rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.page-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}
.page-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #444;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}
@media (max-width: 992px) {
  .page-container {
    flex-direction: column;
  }
  .page-content {
    width: 100%;
  }
}


/********************************************************
 * (2) Flex 컨테이너: 왼쪽 탭 + 오른쪽 이미지
 ********************************************************/
.board-tabs-with-image-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 !important;
}
.board-tabs-with-image {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}
.board-list-tabs-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
}
.board-list-tabs {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
.board-preview-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: flex;
}
.board-preview-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 992px) {
  .board-tabs-with-image {
    flex-direction: column;
  }
  .board-preview-image {
    width: 100%;
    margin-top: 0;
  }
  .board-preview-image img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/* 탭 버튼 불릿 제거 */
.tab-buttons {
  list-style: none;  /* 불릿 없음 */
  margin: 0;         /* 기본 여백 제거 */
  padding: 0;
}

.tab-buttons li {
  list-style: none;  /* 혹시나 해서 추가 */
  margin: 0;
  padding: 0;
}
/* (예) 게시판 미리보기 탭에 얇은 회색 라인 + 약간의 아래 여백 */
.board-list-tabs .tab-buttons li {
  border-bottom: 1px solid #ddd;  /* 얇은 회색 선 */
  margin-bottom: 0.5rem;         /* 아래쪽 여백 (조절 가능) */
  padding-bottom: 0.4rem;        /* 패딩으로 간격 부여 (조절 가능) */
}
/******************************************************
 * (1) 기본 reset & global styles
 ******************************************************/
html, body{
  margin:0; padding:0; width:100%;
  height:100%;
  overflow-x:hidden;
  font-family:system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif;
  color:#333; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
body{display:block; flex-direction:column; background:#fff;}
a{text-decoration:none; color:inherit;}

/******************************************************
 * (2) 전체 레이아웃: header + main + footer
 ******************************************************/
main{flex:1;}

/******************************************************
 * (3) 공통 Section 스타일
 ******************************************************/
section:not(.hero-slider):not(.top-menu-bar):not(.benefit-left):not(.onedesign):not(.hero-19):not(.news-section):not(.design-hero):not(.sec-about):not(.reveal-section):not(.sec-concept):not(.company-hero):not(.record-hero){
  padding:0 1rem;
  max-width:1200px;
  margin:0 auto;
}
section:not(.hero-slider)>h2{
  font-size:clamp(1.4rem,4vw,1.8rem);
  font-weight:700;
  text-align:center;
  margin-bottom:1.5rem;
}

/******************************************************
 * HEADER – 투명→스크롤 시 흰색
 ******************************************************/
.header-scope,*,
.header-scope*::before,
.header-scope*::after{box-sizing:border-box; margin:0; padding:0;}
.header-scope{
  position:fixed; top:0; left:0; width:100%;
  z-index:1000;
  background:transparent; color:#fff;
  font-family:'Nanum Myeongjo','Helvetica Neue',Arial,sans-serif;
  transition:background .35s,color .35s,box-shadow .35s;
}
.header-scope::after{
  content:""; position:absolute; left:0; bottom:0;
  width:100%; height:10px; background:transparent; transition:background .35s;
}
.header-scope.scrolled{
  background:#fff; color:var(--txt);
  box-shadow:0 2px 6px rgba(0,0,0,.06);
}
.header-scope.scrolled::after{background:#ff0000;}
.header-scope .site-header{
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.5rem 2rem;
}
.header-scope .site-header h1{font-size:2rem; font-weight:700;}
.header-scope .site-header h1 a{color:inherit;}
.header-scope .site-header nav ul{
  display:inline-flex; list-style:none; gap:6rem;
}
.header-scope .site-header nav a{
  font-weight:600; font-size:1rem; padding:.5rem 0;
  position:relative; color:inherit;
  transition:color .3s,transform .25s,letter-spacing .25s;
}
.header-scope .site-header nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:currentColor; transition:width .25s;
}
.header-scope .site-header nav a:hover{
  transform:translateY(-2px); letter-spacing:.4px;
}
.header-scope .site-header nav a:hover::after{width:100%; height:3px;}
.header-scope .menu-toggle{
  display:none; background:none; border:none; font-size:2.4rem;
  color:inherit; cursor:pointer; transition:color .3s,transform .25s;
}
.header-scope .menu-toggle:hover{transform:scale(1.1);}
@media (max-width: 992px) {

  /* 헤더(메뉴 기준) */
  .header-scope .site-header{
    position: relative;          /* nav 의 기준 */
    height: 120px;
    padding: 1rem 1.5rem;
  }

  .header-scope .site-header h1{font-size:1.6rem;}

  /* 햄버거 아이콘 */
  .header-scope .menu-toggle{
    display:block;
    font-size:3.2rem;
    margin-left:auto;
    margin-right:30px;           /* 오른쪽 여유 */
  }

  /* 펼쳐지는 네비게이션 */
  .header-scope .site-header nav{
    position:absolute;
    top:calc(100% + 30px);       /* 헤더 높이 + 30px */
    left:0;
    /* --- 추가 ↓ -------------------------------- */
    right: 30px;            /* 화면 오른쪽 30px 띄움  */
    overflow: hidden;       /* 30px 밖으로 튀는 부분 잘라내기 */
    /* ------------------------------------------ */

    left: 0;                /* 좌측은 그대로 */
  }

  /* 목록(세로) */
  .header-scope .site-header nav ul{
    display:none;
    flex-direction:column;
    width:100%;
    background:#fff;
    padding:0;
	gap:0;
	
	
  }
  .header-scope .site-header nav ul.show{display:flex;}

  /* 메뉴 항목 */
  .header-scope .site-header nav a{
    display:block;
    padding:1rem;
    color:var(--txt);
  }
  .header-scope .site-header nav a:hover{
    background:#f3f4f6;
    color:var(--txt-hover);
    transform:none;
  }
}


/******************************************************
 * FULL-SCREEN HERO (header 덮는 슬라이드)
 ******************************************************/




/* ① 네비 버튼 */
.nav-btn{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px;
  border:1px solid #ccc; background:#fff; border-radius:50%;
  font-size:20px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .25s,border-color .25s;
  z-index:3;
}
.nav-btn:hover{background:#0d6a95; color:#fff; border-color:#0d6a95;}
.prev{left:10px;} .next{right:10px;}

/* ② 슬라이더 창 */
.slider-window{
  width:100%;                       /* 섹션 폭에 맞춤 */
  overflow:hidden;                  /* ★ 트랙 넘침 숨김 */
}

/* ③ 트랙 */
.slider-track{
  display:flex;
  gap:40px;
  transition:transform .6s ease;
}

/* ④ 카드 */
.card{
  flex:0 0 280px;                   /* 카드 폭 고정 */
  display:flex; flex-direction:column;
}
.card img{
  width:100%; height:260px; object-fit:cover; border-radius:2px;
}
.card h3{
  font-size:18px; margin:18px 0 10px; font-weight:700;
}
.card p{font-size:15px; line-height:1.6; color:#555;}

/* ─── 반응형 ─── */
@media(max-width:992px){
  .service-inner{flex-direction:column; gap:40px;}
  .service-section{min-height:auto;}          /* 모바일: 높이 자동 */
  .service-slider .nav-btn{display:none;}     /* 모바일: 버튼 숨김 */
}

/* -------- Scroll-Snap -------- */
.snap-y{
  height:100vh;
  overflow-y:auto;
  scroll-snap-type:y mandatory;   /* 섹션 경계 “착” */
  scroll-behavior:smooth;         /* 스무스 스크롤 */

}
.snap-child{
  scroll-snap-align:start;
  min-height:100vh;
  scroll-snap-stop:always; 
  overflow-x:hidden;/* 한 섹션씩 확실히 멈춤 */
}
body{overflow-x:hidden;}








/* ==========================================
   (NEW) 하위 메뉴(subMenus) 상단 표시 스타일
   ========================================== */
.sub-menu-bar{
  position:absolute;           /* hero 내부에 절대배치 */
  left:0; right:0; bottom:0;
  height:var(--subbar-h);
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.55);  /* 진한 반투명 + 블러 */
  backdrop-filter:blur(4px);
  z-index:2;                   /* hero 텍스트(1) 위, header(1000) 아래 */
}

.sub-menu-bar ul{
  display:flex; gap:2rem;      /* 중앙 정렬 */
  margin:0; padding:0; list-style:none;
}

.sub-menu-bar li   {position:relative;}
.sub-menu-bar a{
  display:block; padding:.8rem 1.8rem;
  font-weight:600; font-size:1rem;
  color:#fff;                  /* 기본 흰 글자 */
  border-radius:2px;
  transition:background .25s,color .25s;
}

/* ── Hover 효과 */
.sub-menu-bar a:hover{background:rgba(255,255,255,.15);}

/* ── 활성 탭(.on) : 흰 배경 + 메인 컬러 텍스트 */
.sub-menu-bar li.on a{
  background:#fff;
  color:var(--color-primary,#d10000);
}

/* ── 배경영역 ─────────────────────────── */
.hero-section{
  position:relative;
  height:5vh;                 /* ← 20 vh 로 고정 */
  min-height:320px;            /* 모바일 대비 최소 높이 */
  width:100%;
  margin-top:calc(-1 * (var(--header-h) + var(--subbar-h)));
  /* ↑ 헤더+메뉴바 만큼 끌어올려 뒤에 배치 */
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:#fff;
  background-size:cover; background-position:center;
  overflow:hidden;
}

/* 반투명 오버레이 */
.hero-section::before{
  content:"";
  position:absolute; inset:0;
  background:rgba(0,0,0,.55);
  z-index:0;
}

/* 가운데 텍스트 */
.hero-section h1,
.hero-section p{
  position:relative;           /* 오버레이 위로 */
  z-index:1;
  margin:0;
}
.hero-section h1{font-size:clamp(2rem,4vw,3rem); font-weight:700;}
.hero-section p {font-size:clamp(.9rem,2vw,1.1rem); margin-top:1rem;}


.slider-track,
.service-slider,
.biz-card,
.ind-hero,
.hero-section{overflow:hidden;}








/* ── 카드/간격 변수 ───────────────────────────────── */
:root{
  --card-w: 280px;      /* 카드 폭  */
  --card-h: 260px;      /* 카드 높이(이미지) */
  --gap: 16px;          /* 카드 간격(마진) */
  --side-gap: 60px;     /* 텍스트와 슬라이더 사이 */
}

/* ===== 섹션 레이아웃 ===== */
.service-section{
  width:100%;min-height:100vh;padding:0 5vw;
  /* justify-content:center; <-- 중간 정렬이 꼭 필요 없다면 지워도 됨 */
  display:flex;align-items:center;
  overflow:hidden;
}

/* ★ 핵심: service-inner 가 전체 폭을 쓰게 만든다 */
.service-inner{
  width:100%;                 /* ← 새로 추가 */
  flex:0 0 100%;              /* ← 새로 추가 (Flex 아이템 폭 강제) */

  display:flex;align-items:flex-start;gap:var(--side-gap);
}
/* ── 왼쪽 텍스트 ──────────────────────────────────── */
.service-text{flex:0 0 380px;position:relative}
.eyebrow{color:#0d6a95;font-weight:600;}
.service-text h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.25;font-weight:700;margin:20px 0 40px;}
.view-more{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:#0d6a95;}
.view-more .plus{display:inline-block;width:20px;height:20px;border:2px solid #0d6a95;border-radius:50%;line-height:16px;text-align:center;font-size:14px;}
.text-bg-shape{position:absolute;left:-80px;top:-80px;width:420px;height:420px;background:#f5f7f9;border-radius:60px;transform:rotate(45deg);z-index:-1;}

/* ── 티커(무한 스크롤) ────────────────────────────── */
.ticker{
  flex:1 1 auto;min-width:0;
  position:relative;height:300px;overflow:hidden;border-radius:12px;
  background:#0001;
}
.ticker .track{
  display:flex;align-items:center;height:100%;
  overflow: visible !important;   
}
.ticker .card{
  /* ↓↓↓↓↓  핵심!  카드 폭을 딱 고정  ↓↓↓↓↓ */
  flex:0 0 var(--card-w);
  width:var(--card-w);          /* ← 이 줄이 없어서 카드가 넓어졌음 */
  margin-right:var(--gap);height:100%;

  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;
}
.ticker .card img{
  width:100%;height:var(--card-h);object-fit:cover;
  border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.15);
}
.ticker .card h3{margin-top:12px;font-size:18px;font-weight:700;color:#333}

/* ── 모바일 ───────────────────────────────────────── */
@media(max-width:992px){
  .service-inner{flex-direction:column;gap:40px;}
}



/* =========================================================
   ▲ 기존 CSS 끝  ─── 아래부터는 1500px 오버라이드 영역 ▲
   ========================================================= */

/* 1) 가로 고정이었던 곳은 → 100% + max-width:1500px */
.hero-two-col               {width:100%; max-width:1500px;}
.header-scope .site-header,
.footer-scope .site-footer,
.page-container,
.board-tabs-with-image-section,
section:not(.hero-slider):not(.top-menu-bar):not(.benefit-left):not(.onedesign):not(.hero-19):not(.news-section):not(.design-hero):not(.sec-about):not(.reveal-section):not(.sec-concept):not(.company-hero):not(.record-hero)
                             {max-width:1500px;}

/* 2) 좌·우 열(600px 고정)을 유동 폭으로 전환 */
.hero-left,
.hero-right                 {width:50%; max-width:750px;}   /* 1500px ÷ 2 */

/* 3) 슬라이드 한 장 폭도 자동으로 맞추도록 */
.slide                      {width:100%;}

/* 4) 필요 시 새 폭에 따라 높이만 살짝 키우고 싶다면(선택)
.hero-right                 {height:500px;}              
*/
:root { --header-h:72px; }

/* 히어로가 있으면 헤더 높이만큼 위로 끌어올림 */
body.has-hero .hero-section,
body.has-hero .hero-19,
body.has-hero .hero-slider,
body.has-hero .design-hero,
body.has-hero .company-hero,
body.has-hero .record-hero {
  margin-top: calc(-1 * var(--header-h)) !important;
}

/* 히어로 없으면 본문을 아래로 */
body:not(.has-hero){ padding-top: var(--header-h); }

/* 헤더 색 토글(이미 잘 됨) */
.header-scope { background: transparent !important; }
.header-scope.scrolled { background:#fff !important; }
.header-scope::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:rgba(0,0,0,.12); opacity:0; transition:opacity .2s; }
.header-scope.scrolled::after{ opacity:1; }

/* === 내부 스크롤 전부 끄기(최종 오버라이드) === */
html, body { height: auto !important; }  /* 중복된 100% 고정 해제 */

.snap-y {
  height: auto !important;           /* 100vh 고정 해제 */
  overflow-y: visible !important;    /* 내부 스크롤 해제 */
  scroll-snap-type: none !important; /* 섹션 스냅 비활성화(원하면 아래에서 html에만) */
}

/* 섹션 스냅을 계속 쓰고 싶다면 문서에만 적용 */
html { scroll-snap-type: y mandatory; }
.snap-child { scroll-snap-align: start; min-height: 100vh; }

/* 혹시 다른 래퍼가 또 스크롤을 만든다면 같이 묶어서 끄기 */
:where(main, .page-container, .page-content, .cover-inner, .cover-section){
  overflow-y: visible !important;
  height: auto !important;
}

/* Fallback: hero-19는 바디 클래스 없이도 위로 끌어올림 */
.hero-19 {
  margin-top: calc(-1 * var(--header-h)) !important;
  padding-top: 0 !important; /* 혹시 template에서 padding-top 줬다면 제거 */
}
.page-content .board-scope img,
.page-content .board-scope .thumb,
.page-content .board-scope .thumbnail{
  border: 0 !important;
  /* 그림자가 테두리처럼 보이면 필요 시 */
 box-shadow: none !important; 
}
/* 게시판 상세 슬라이더에서만 오버레이 제거 */
.board-scope .project-gallery .slide::before {
  content: none !important;          /* pseudo 요소 자체 제거 */
  background: transparent !important;/* 혹시 content를 못 지울 브라우저 대비 */
}
/* === 1200px → 1500px 오버라이드 (파일 맨 아래) === */
:root { --container-max: 1500px; }

/* 공통 컨테이너 폭 */
.header-scope .site-header,
.footer-scope .site-footer,
.page-container,
.board-tabs-with-image-section,
section:not(.hero-slider):not(.top-menu-bar):not(.benefit-left):not(.onedesign):not(.hero-19):not(.news-section):not(.design-hero):not(.sec-about):not(.reveal-section):not(.sec-concept):not(.company-hero):not(.record-hero) {
  max-width: var(--container-max);
}

/* 2단 히어로 */
.hero-two-col { width: 100%; max-width: var(--container-max); }

/* 좌/우 컬럼 비율 유지 */
.hero-left, .hero-right { width: 50%; max-width: calc(var(--container-max) / 2); }

/* 푸터: 기존 clamp 유지하되 상한만 1500으로 */
.footer-scope .site-footer {
  max-width: clamp(320px, 90%, var(--container-max));
}

/* 슬라이드 한 장 폭 자동 적응 */
.slide { width: 100%; }
/* 변수 보정 (subbar 없으면 0) */
:root { --header-h: 72px; --subbar-h: 0px; }

/* 헤더는 항상 맨 위(이미 있음) */
.header-scope { position: fixed; z-index: 1000; background: transparent; }

/* 히어로 배경을 헤더 뒤로 끌어올리고,
   텍스트는 헤더에 안겹치게 안쪽 패딩으로 내림 */
.hero-section{
  /* 기존 height:5vh 제거하고 적절히 키움 */
  height: clamp(420px, 60vh, 780px) !important;

  /* 헤더(+서브바) 만큼 위로 올려 배경을 헤더 뒤에 깔기 */
  margin-top: calc(-1 * (var(--header-h) + var(--subbar-h, 0px))) !important;

  /* 내용은 헤더 아래에서 시작 */
  padding-top: var(--header-h) !important;

  /* 헤더보다 아래 레이어 */
  z-index: 0 !important;
}

/* 히어로가 있는 페이지만 바디 상단 패딩 제거 */
body.has-hero { padding-top: 0 !important; }
/* 히어로가 없는 페이지는 기존처럼 헤더 높이만큼 패딩 */
body:not(.has-hero) { padding-top: var(--header-h) !important; }
.footer-scope { border-top: none !important; }




/*오버라이드 */


/* =========================================
   OVERRIDE: Header & Page Full-Width (최하단)
   ========================================= */

/* 컨테이너 최대폭 변수를 뷰포트 폭으로 고정 */
:root { 
  --container-max: 100vw !important;
}

/* 1) 헤더 내부 컨테이너를 풀블리드로 */
.header-scope .site-header{
  max-width: none !important;   /* 1200/1500 같은 상한 제거 */
  width: 100% !important;
  margin: 0 !important;
}

/* 2) 페이지 컨테이너도 풀블리드로 */
.page-container{
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  /* 필요시 좌우 여백(패딩) 조정: 완전 풀블리드면 0 유지 */
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 3) 섹션류가 var(--container-max)를 쓰는 곳까지 모두 확장 */
.hero-two-col,
.board-tabs-with-image-section,
section:not(.hero-slider):not(.top-menu-bar):not(.benefit-left):not(.onedesign):not(.hero-19):not(.news-section):not(.design-hero):not(.sec-about):not(.reveal-section):not(.sec-concept):not(.company-hero):not(.record-hero){
  max-width: none !important;  /* 변수 기반 상한 무력화 */
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* (선택) 너무 붙어 보이면 큰 화면에서만 살짝 패딩 주기 */
@media (min-width: 992px){
  .header-scope .site-header,
  .page-container{
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
/* =========================================
   OVERRIDE (맨 아래에 추가)
   - 헤더 항상 흰 배경 + 검은 메뉴
   - 히어로가 헤더를 덮지 않도록 오프셋 정리
   ========================================= */

/* 0) 헤더 높이 변수(필요시 숫자만 바꿔도 됨) */
:root { --header-h: 72px !important; }

/* 1) 헤더는 항상 흰색 배경 + 검은 텍스트/메뉴 */
.header-scope{
  background:#fff !important;
  color:#111 !important;
}
.header-scope .site-header h1 a,
.header-scope .site-header nav a,
.header-scope .menu-toggle{
  color:#111 !important;
}
/* 스크롤 여부와 무관하게 동일 유지 */
.header-scope.scrolled{
  background:#fff !important;
  color:#111 !important;
  box-shadow:0 2px 6px rgba(0,0,0,.06); /* 그림자 유지 원치 않으면 지워도 됨 */
}

/* 2) 문서 상단에 헤더 높이만큼 패딩 주기 (히어로가 헤더 밑에서 시작) */
body{ padding-top: var(--header-h) !important; }
/* 기존에 has-hero일 때 0으로 만들던 규칙을 무력화 */
body.has-hero{ padding-top: var(--header-h) !important; }

/* 3) 히어로를 위로 끌어올리던 음수 마진/내부 패딩 제거 */
.hero-section{
  margin-top: 0 !important;
  padding-top: 0 !important;
  z-index: 0 !important; /* 굳이 안 써도 되지만 안전하게 */
}

/* 4) 헤더 투명/검정 줄(의사요소) 효*
/* === OVERRIDE: 헤더 내부 컨테이너 최대폭 1800px + 가운데 정렬 === */
.header-scope .site-header{
  max-width: 1800px !important;   /* 1800px로 제한 */
  width: 100% !important;         /* 화면이 더 작으면 100%로 줄어듦 */
  margin-left: auto !important;   /* 가운데 정렬 */
  margin-right: auto !important;  /* 가운데 정렬 */
}
