/* 1. 기본 스타일 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font: normal 2em/1.5em 'Pretendard', sans-serif;
  line-height: normal;
  color: #fff;
  background:  #020b14;
  word-break: keep-all;
}

html {
  /* 이 코드가 있으면 스크롤이 부드러워집니다 */
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  overflow: hidden;
}


/* 2. 실제 스크롤이 일어나는 영역 */
.wrap {
  width: 100%;
  height: 100vh;
  /* 화면 꽉 차게 */
  overflow-y: scroll;
  /* 중요: 세로 스크롤 허용 */
  scroll-snap-type: y mandatory;
  /* 중요: 섹션별 딱딱 끊기는 효과 */
  -webkit-overflow-scrolling: touch;
  /* 모바일 부드러운 스크롤 */
}

.container {
  width: 80vw;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
@media (max-width: 1300px){
  .container{width: 90vw;}
}
@media (max-width: 768px){
  .container{padding-left: 10vw; padding-right: 10vw; padding-bottom: 4vh; width: 100%;}
}

/* 3. 헤더 설정 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2000;
  transition: transform 0.3s ease-in-out, background 0.3s ease, color 0.3s ease;
  color: white;
  background: transparent;
}

.header-inner {
  max-width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  position: relative;
  z-index: 2001;
}

.header-left {
  flex: 1;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
}

.logo .logo-black {
  display: none;
}

.logo span img {
  height: 46px;
}

.header-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 60px;
}

.nav-menu a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.header-right > a{
  color: #d8e6f0;
  font-size: 1.5rem;
  border: 1px solid #97a8b2;
  padding: 6px 20px;
  border-radius: 100px;
  background: #071c2b45;
  backdrop-filter: blur(10px);
}
.header-right > a:hover{
  text-decoration: none;
  background: #005088b0;
  border: 0;
  transition-duration: 0.5s
}

.lang-btn {
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.8rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  font-size: 3rem;
  cursor: pointer;
}

/* --- 핵심 스크롤 동작 클래스 --- */
/* 내릴 때 무조건 숨김 */
header.hide {
  transform: translateY(-100%) !important;
}

/* 올릴 때 나타남 (흰 배경 + 검정 글자) */
header.scrolled {
  background: #0c1b37bd;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

header.scrolled .logo-white {
  display: none;
}

header.scrolled .logo-black {
  display: block;
}

/* 4. 모바일 상단 드롭다운 메뉴 */
.mobile-nav {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  background: #0c1b37bd;
  transition: top 0.4s ease-in-out;
  z-index: 1000;
  padding: 100px 0 0 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.open {
  top: 0;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  padding: 20px 0;
  border-bottom: 1px solid #384b67;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
}

/* 5. 오른쪽 도트 네비게이션 */
.pagination {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  /* border: 2px solid white; */
  border-radius: 50%;
  transition: 0.3s;
  cursor: pointer;
  background: #ffffff4a;
}

.dot.active {
  background: white;
}

/* 6. 섹션 스타일 */
.section {
  width: 100%;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  /* align-items: center;  */
  font-size: 4rem;
  color: white;
  font-weight: 800;
  /* background: black; */
}

.s1 {
  background: #111;
}

.s2 {
  color: #000;
  background: url(../img/s22.png) #000;
  background-size: cover;
  position: relative;
  /* background: #fff; */
}

.s3 {
  background-image: url(../img/02.png);
  background-size: cover;
  /* padding-top: 10vh; */
  background-attachment: fixed;
}
.s45 {
  background-image: url(../img/sd01.png);
  background-size: 100% 100%;
  padding-top: 10vh;
  color: #fff;
  position: relative;
  /* background-attachment: fixed; */
}
.s4 {
  background-image: url(../img/sd02.png);
  background-size: 100% 100%;
  /* padding-top: 10vh; */
  color: #fff;
  position: relative;
  /* background-attachment: fixed; */
}

.section.foot {
  height: 200px;
  background: #061a2d;
  min-height: auto !important;
  padding-top: 40px;
}


/* 7. 반응형 */
@media (max-width: 830px) {
  .header-inner {
    padding: 0 20px;
  }

  .header-center {
    display: none;
  }
  .header-right > a{
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  .dot {
    border-color: #888;
  }

  .dot.active {
    background: #888;
  }
  .pagination{display: none;}
  a.rc{
    border: 1px solid #8aa1bb;
    background: #021f3dbf;
    padding: 5px 18px;
    font-weight: 500;
    border-radius: 100px;
    font-size: 1.4rem;
    color: #a7bdd5;
  }
  a.rc:hover{
    text-decoration: none;
  background: #005088b0;
  border: 0;
  transition-duration: 0.5s
  }
}






/********TEXT********/

h2 {
  font-size: 6rem;
  margin-bottom: 6vh;
  font-weight: 800;
}

h3 {
  font-size: 4rem;
  margin-bottom: 3vh;
  font-weight: 700;
}

.title>p {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.title>span {
  font-size: 2rem;
  font-weight: 500;
}

/*******글자애니메이션*******/
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes fadeInUpsp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }

}

/* 2. 기본 상태: 세 번째 페이지의 글자를 숨겨둠 */
.section .reveal-text {
  opacity: 0;
}

/* 3. 활성화 상태: 해당 섹션에 'active' 클래스가 붙으면 애니메이션 실행 */
.section.active .reveal-text {
  animation: fadeInUp 1s ease-out forwards;
}

/* 4. (선택) 시간차 효과: 두 번째 문구는 조금 늦게 나오게 */
.section.active .delay-1 {
  animation-delay: 0.5s;
}


/* [1. 글자의 시작 상태] */
h3.reveal-text {
  font-size: 4rem;
}

.reveal-text {
  opacity: 0;
  transform: translateY(-30px);
  /* 위에서 아래로 떨어지기 위해 위로 설정 */
  transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
  word-break: keep-all;
}

/* [2. 활성화 상태 (스크롤 시 추가될 클래스)] */
.reveal-text.active {
  opacity: 1;
  transform: translateY(0);
}






/*********이미지슬라이드********/
.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  padding-top: 30vh;
  padding-left: 10vw;
  z-index: 1;
  text-align: left;
  word-break: keep-all;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* [핵심 수정: 배경 이미지 애니메이션] */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.2);
  /* 시작 크기 */
  /* 시간을 3초로 늘려 훨씬 웅장하게 변경 */
  transition: transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

/* active 클래스가 붙으면 3초 동안 천천히 100%로 축소 */
.slide.active .slide-bg {
  transform: scale(1);
}

.slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* 텍스트 애니메이션 */
.slide-content {
  text-align: left;
}

.slide-content>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  margin-bottom: 30px;
  display: block;
}

.slide-content>p {
  font-weight: 700;
  font-size: 3rem;
}

.slide.active .slide-content>* {
  opacity: 1;
  transform: translateY(0);
}

.slide-content>span {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
  width: 60%;
}
.slide-content>span > b{
  display: block;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 2.2rem;
  line-height: 2.8rem;
}

/* 글자 순차 지연 */
.slide.active .slide-content>*:nth-child(1) {
  transition-delay: 0.8s;
}

.slide.active .slide-content>*:nth-child(2) {
  transition-delay: 1.2s;
}

.slide.active .slide-content>*:nth-child(3) {
  transition-delay: 1.6s;
}

/* 네비게이션 & 게이지 */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 100;
  border-radius: 50%;
  font-size: 1.5rem;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

.indicator-container {
  position: absolute;
  bottom: 50px;
  left: calc(50% - 100px);
  display: flex;
  gap: 10px;
  z-index: 100;
}

.indicator {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.indicator-fill {
  width: 0%;
  height: 100%;
  background: #fff;
}

.indicator.past .indicator-fill {
  width: 100%;
}



/***********이미지슬라이드메인페이지 반응형*******/
@media (max-width: 768px) {
  .slide {
    padding-right: 10vw;
    padding-top: 20vh;
  }
  .slide-bg{background-position: 40%;}

  h2 {
    font-size: 4.2rem;
  }

  .section {
    /* height: auto; */
    /* padding-top: 5vh; */
  }
  .nav-btn{
    display: none;
  }
  .slide-content>span{
    font-size: 1.7rem;
    line-height: 2rem;
    width: 90%;
  }
  .slide-content>span > b{
  font-size: 2rem;
  line-height: 2.5rem;
}
}




/*********solution tab**********/
.page { width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; }
/* 2페이지 Sticky 영역 (내부 슬라이드 포함) */
.sticky-wrapper{
   color: #fff;
  background: url(../img/s22.png);
  background-attachment: fixed;
  position: relative;
  background-size: cover;
  background-position: center;

}
       /* 2번 섹션 고정 및 높이 확보 */
#sticky-trigger {
    height: 500vh !important; /* 3개 탭 분량의 스크롤 거리 */
    display: block !important;
    position: relative;
    scroll-snap-align: start;
}


.sticky-content {
    position: sticky;
    top: 0;
    width: 80vw;
    margin: 0 auto;
    height: 100vh;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    padding-top: 9vh;
}

/* 내부 콘텐츠 레이아웃 및 애니메이션 */
.inner-container {
    width: 100%;
    height: 60vh;
    position: relative;
}

.content-set {
    position: absolute;
    top: 5vh; left: 0;
    width: 100%; height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(30px);
}

.content-set.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 탭 스타일 */
.tabs-fixed {
    position: relative;
    /* top: 90px; */
    /* left: 0px; */
    z-index: 100;
}
.tab-list { display: flex; gap: 20px; margin-top: 10px; }
.tab-item { font-size: 1.5rem;font-weight: 600; color: #4a5466; cursor: pointer; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: 0.3s; }
.tab-item::after{content: ''; width: 6px; height: 6px; border-radius: 10px; vertical-align: middle; margin-left: 30px; background: #4a5466; display: inline-block;}
.tab-item:last-child::after{content: none;}
.tab-item.active { color: #ccc;  font-weight: bold; }

.left-box h1{word-break: keep-all; font-size: clamp(34px, 5vw, 54px); color: #00aaff; margin-bottom: 25px; line-height: 1.1; font-weight: 800;}

.left-box p{ width: 90%; word-break: keep-all; line-height: 3rem;}
 .i_list > ul{
          display: flex;
          flex-wrap: wrap;
          width: 80%;
          /* margin-top: 10vh; */
        }
        .i_list > ul > li{
          width: 50%;
          color: #fff;
          font-size: 1.7rem;
          border-bottom: 1px solid #41597d;
          padding-bottom: 20px;
          padding-top: 20px;
          word-break: keep-all;
          padding-right: 20px;
          display: flex;
          align-items: center;

        }
        .i_list > ul > li >img{
          width: 40px;
          margin-right: 20px;
          margin-left: 0;
          /* float: left; */
        }
        .i_list > ul > li > span{
          /* width: 60%; */
          /* float: left; */
        }


/* 좌우 박스 기본 설정 */
.left-box { flex: 1; display: flex; flex-direction: column;  padding: 0; width: 50%; justify-content: space-between;}
.right-box { flex: 1.3;  display: flex;  justify-content: center;width: 50%; }
.left_ff{}

.image-slider{width: 800px; height: 500px;}
.image-slider > img{width: 100%;}

/* [추가] 3. 2번째 섹션 내부 이미지 슬라이더 관련 스타일 */
    .content-set.active .image-slider-container {
        position: relative;
        width: 85%;
        height: 500px;
        /* overflow: hidden; */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-slider-track {
        display: flex;
        transition: transform 0.5s ease-in-out; /* 부드러운 전환 */
        width: 100%;
    }

    .image-slider-track img {
        width: 100%; /* 슬라이더 창 너비에 맞춤 */
    }
    .s_imgbox{overflow: hidden; width: 100%; }
    /* 슬라이더 좌우 버튼 */
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        font-size: 2rem;
        transition: 0.3s;
    }
    /* .slider-btn:hover { background: none; } */
    .slider-btn.prev { left: -50px; }
    .slider-btn.next { right: -50px; }

    /* 슬라이더 하단 도트 인디케이터 */
    .slider-dots {
        position: absolute;
        bottom: 0;
        display: flex;
        gap: 8px;
        z-index: 10;
    }
    .s-dot {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        cursor: pointer;
        transition: 0.3s;
    }
    .s-dot.active {
        background: #fff;
        width: 25px; /* 활성 도트 길게 */
        border-radius: 5px;
    }

@media (max-width: 1200px) {
  .content-set{
    flex-direction: column;
  }
  .sticky-content{padding-top: 5vh;}
  .tab-list{overflow-x: auto;}
  .tab-item{white-space: nowrap;}
  .left-box{width: 100%;}
  .left-box p{width: 100%; font-size: 1.7rem; margin-bottom: 2vh;}
  .left-box h1{margin-bottom: 16px; line-height: 1; }
  .right-box{width: 100%; margin-top: 5vh;}
  .i_list > ul{margin-top: 0;width: 100%;}
  .i_list > ul > li{word-break:keep-all; display: flex; padding-right: 10px; font-size: 1.5rem; align-items: center; padding-bottom: 18px; padding-top: 18px;}
  .i_list > ul > li >img{width: 28px; margin-left: 10px;}
  .i_list > ul > li > span{display: inline-block;}
  .content-set{top: 2vh; height: auto;}
  .content-set.active .image-slider-container{ height: auto;}
  .slider-btn.prev{left: -30px;}
  .slider-btn.next{right: -30px;}
  .slider-dots{bottom: -30px;}
  .s_imgbox{width: 80%;}
  .sticky-content{overflow: hidden;}

}
@media (max-width: 768px){
  .s_imgbox{width: 100%;}
  .sticky-content{overflow: auto;}
  .slider-btn{background: none;}
  .content-set.active .image-slider-container{width: 90%;}
  .i_list > ul > li{padding-bottom: 10px; padding-top: 10px; font-size: 1.3rem;}
  .left-box p{font-size: 1.5rem; line-height:normal;}
  .inner-container{overflow: hidden; height: 100%;}
  .slider-btn:hover { background: none; }

}







    
/*******글자애니메이션*******/
@keyframes sliedup {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes txsliedup {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.textfd {
  animation: txsliedup 0.3s ease-in-out;
}

.textfd+p {
  animation: txsliedup 0.5s ease-in-out;
}







/*******숫자카운팅****/
.count {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 160px;
  gap: 20px;
}

.count h2 {
  margin-bottom: 7px;
  font-size: 5rem;
}

.stat-item {
  text-align: center;
  padding: 50px 30px;
  width: 290px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  background: #082e4b61;
  border: 1px solid #8eb5cf;
  font-size: 2rem;
  height: 45vh;
  word-break: keep-all;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-item>p {
  font-weight: 600;
}

.count img {
  width: 60px;
  display: block;
  /* margin-top: 60px; */
}


/******숫자카운팅 반응형********/
@media (max-width: 1400px){
  .count img{
    height: 50px;
  }
  .count h2{
    font-size: 4rem;
  }

}
@media (max-width: 1025px) {
  .count {
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
  }
  .container.cmp{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  .container::before{content: none;}
  .container::after{content: none;}
  .stat-item {
    width: 100%;
    border-radius: 8px;
    gap: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    flex-direction: row;
  }


  .stat-item>p {
    margin-bottom: 0;
    text-align: left;
    font-size: 1.8rem;
    /* margin-right: 108px; */
  }
  .stat-item > div{
    text-align: right;
  }
  .stat-item > div > span{
    font-size: 1.7rem;
    font-weight: 600;
  }
  .count h2 {
    margin-bottom: 0;
    font-size: 4.2rem;
    display: inline-block;
  }
  .count img{
    display: none;
  }

}

/*******글자흐름******/
@keyframes flowText {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.flowing-text {
  white-space: nowrap;
  /* overflow: hidden; */
  animation: flowText 30s linear infinite;
  font-size: 12rem;
  font-weight: 900;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #c6d7e4;
  color: #fff;
}






/**********contact**********/

.cnt>div>p {
  font-size: 5rem;
  font-weight: 600;
}

.cnt>div>span {
  font-size: 2rem;
  font-weight: 500;
}

.cnt {
  display: flex;
  justify-content: space-between;
  margin-top: 100px;
}

.form {
  width: 50%;
}

.contact_tit {
  display: flex;
  /* justify-content: space-around; */
  width: 100%;
  margin-bottom: 1.5rem;
}

.contact_tit p {
  font-size: 1.8rem;
  width: 120px;
  min-width: 120px;
  padding-right: 25px;
  text-align: right;
  margin-top: 13px;
  margin-bottom: 10px;
  font-weight: 500;
}

.contact_tit p::before {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #2a8bc9;
  content: '';
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 6px;
}

.inp {
  width: 100%;
  background: #06121f91;
}
.inp:focus{
  border-color: #1397e3; /* 원하시는 보더 색상 (예: 초록색) */
  outline: 0;
  /* 부트스트랩 특유의 글로우 효과(그림자)를 보더 색상과 맞추거나 제거 */
  box-shadow: 0 0 0 0.2rem rgba(40, 123, 167, 0.25);
}

.contact_tit textarea {
  width: 100%;
  background: #06121f91;
  height: 120px;
  resize: none;
}
.contact_tit textarea:focus{
  border-color: #1397e3; /* 원하시는 보더 색상 (예: 초록색) */
  outline: 0;
  /* 부트스트랩 특유의 글로우 효과(그림자)를 보더 색상과 맞추거나 제거 */
  box-shadow: 0 0 0 0.2rem rgba(40, 123, 167, 0.25);
}

.form_tw {
  display: flex;
  /* gap: 25px; */
  width: 100%;
}

.form_tw>div:last-child>p {
  min-width: 100px;
}

.btn_df {
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  background: #012138;
  border: 1px solid #fff;
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
}

.btn_df:hover {
  background: #169CD8;
  transition: 0.2s ease-in;
  border: 1px solid #169CD8;
  box-shadow: 0px 2px 10px rgba(11, 18, 55, 0.621);
  text-decoration: none;
  color: #fff;
}



.fourth button {
  margin-top: 20px;
}

p {
  margin-bottom: 30px;
}

#fp-nav ul li a span {
  background: #fff;
}

img {
  margin: 0 auto;
}

/*********Contact 반응형************/
@media (max-width: 1280px) {
  .cnt{ flex-direction: column; margin-top: 0; height: 100%; padding-bottom: 5vh;}
  .form{width: 100%;}
  .cnt>div>p{font-size: 2.5rem;}
  .cnt>div>span{font-size: 1.8rem;}
  .form_tw{flex-direction: column;}
  .form_tw>div:last-child>p{min-width: auto;}
  .contact_tit p{min-width: 84px; padding-right: 13px; font-size: 1.5rem; font-weight: 500;text-align: left; margin-top: 10px; margin-bottom: 8px;}
  .contact_tit{flex-direction: column; margin-bottom: 0;}


}






/********Footer*******/
.footer {
  display: flex;
  font-size: 1.5rem;
   color: #ccc;
}

.footer>span>img {
  height: 46px;
  margin-right: 20px;
}

.company_info ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.company_info ul li>span {
  color: #838C96;
  font-weight: 500;
  display: inline-block;
}

.company_info ul li>p {
  font-weight: 500;
  margin-left: 10px;
  margin-right: 20px;
  margin-bottom: 0;
  display: inline-block;

}

.footer div>p {
  font-weight: 400;
  color: #646b76;
  margin-top: 10px;
}

.tm a {
  margin-right: 10px;
  margin-bottom: 10px;
  display: inline-block;
  margin-top: 10px;
}


/**********Footer 반응형**********/
@media (max-width: 1280px) {
  .section.s4{height: auto; padding-bottom: 5vh;}
}
@media (max-width: 768px) {
  .section.foot{padding-top: 4vh; height: auto; padding-bottom: 3vh;}
  .footer{flex-direction: column; padding-left: 10vw; padding-right: 10vw; word-break: keep-all;}
  .company_info ul li>span{margin-bottom: 5px; display: block;}
  .company_info ul li>p{display: block; margin:0;}
  .section.s2{height: auto;}
  .section.s3{padding-top: 5vh; height: auto; background-attachment: initial;}
  .section.s4{padding-top: 5vh; height: auto; background-position: center; background-size: cover;}
  .section.s45{padding-top: 5vh; height: auto; background-position: bottom; background-size: auto;}
  .company_info ul{gap: 10px;}

}






/******뉴스*********/

    .news-section { padding: 100px 0; text-align: left; max-width: 100%; margin: 0 auto; overflow: hidden; display: flex; flex-direction: column;}
    .news-title { font-size: 4rem; font-weight: bold; margin-bottom: 50px;  width: 80vw; margin: 0 auto;}

    /* [명칭변경] 슬라이더 외곽 컨테이너 */
    .news-outer-wrap { position: relative; width: 100%; padding: 40px 0; cursor: grab; }
    
    /* [명칭변경] 실제 움직이는 트랙 */
    .news-track {
      display: flex;
      align-items: center;
      will-change: transform;
    }

    /* 카드 스타일 (기존 동일) */
    .news-card {
      min-width: 400px;
      height: 470px;
      background: #fff;
      color: #333;
      margin: 0 15px;
      padding: 50px 40px;
      /* border-radius: 10px; */
      position: relative;
      transition: all 0.5s ease;
      opacity: 0.8;
      transform: scale(0.85);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-sizing: border-box;
      cursor: pointer;
      clip-path: polygon(0 0, 88% 0, 100% 9%, 100% 100%, 0 100%);
    }

    .news-card.active {
      background: #0F7AB7;
      color: #fff;
      opacity: 1;
      transform: scale(1.1);
      z-index: 10;
      box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    }

    .news-card .date { font-size: 1.3rem; color: #888; text-align: right;  font-weight: 600; position: absolute; top: 5vh;}
    .news-card.active .date { color: rgba(255,255,255,0.8); }
    .news-card h3 { font-size: 2.2rem; font-weight: 700; line-height: 1.4; margin-top: 20px; word-break: keep-all; height: 105px;}
    .news-card p { font-size: 1.2rem; font-weight: 500; line-height: 2rem; color: #666; margin-top: 15px;  -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;}
    .news-card.active p { color: rgba(255,255,255,0.8); -webkit-line-clamp: 9; -webkit-box-orient: vertical;  text-decoration: none; height: 180px; text-overflow: ellipsis; overflow: hidden; display: -webkit-box;}
    .news-card.active h3{color: #fff; text-decoration: none;}
    .news-card.active:hover{ text-decoration: none; background:#2192C5 ;}
    .news-card a:hover {text-decoration: none;}
    .btn_plus{position: absolute; width: 50px; height: 50px; bottom: 40px;right: 40px;}
    .btn_plus > img{width: 100%;}
    .news-card.active > div:first-child{height: 330px; overflow: hidden;}

    /* [명칭변경] 컨트롤러 영역 */
    .news-btns { display: flex; justify-content: center; align-items: center; margin-top: 60px; gap: 30px; }
    .news-arrow { background: none; border: none; color: #fff; cursor: pointer; font-size: 2rem; opacity: 0.7; transition: 0.3s; }
    .news-arrow:hover { opacity: 1; }
    .news-count { font-weight: 500; letter-spacing: 2px; min-width: 80px; text-align: center;  font-size: 2rem; color: #ccc;}
    .news-count span { color: var(--primary-blue); font-weight: 700; color: #fff;}


@media (max-width: 768px){
  .news-card{min-width:80vw; height: 60vh;}
  .news-card.active{transform: scale(1);}
  .news-card.active p{ height: 143px;-webkit-line-clamp:7;}
  .news-btns{margin-top: 0;}
  .news-card h3{height: 145px;}
}

