/********************************************************
 * (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:#ff0000;            /* 빨간 스트립 표시 */
}

/* ───────────────────────────────────────────
   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:2rem;
  font-weight:700;
}
.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(.value-section):not(.top-menu-bar):not(.stats-section):not(.biz-full):not(.info-full):not(.news-section):not(.hero-full):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:40vh;                 /* ← 40 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;}
}