/* *****************************************

              *** README ***

****************************************** */

/* *****************************************

            *** FullPage.js ***
            풀페이지 js 커스텀 css

****************************************** */

#fp-nav {
  height: 100%;
  width: 100px;
  padding-top: 150px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

#fp-nav::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(255, 255, 255, .4);
}

#fp-nav ul li .fp-tooltip.fp-right {
  right: auto;
  left: 20px;
}

#fp-nav ul li:nth-child(6) {
  display: none !important;
}

#fp-nav ul li,
.fp-slidesNav ul li {
  margin: 20px 7px;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  background: rgba(255, 255, 255, .4);
  width: 6px;
  height: 6px;
  margin: 0;
  transform: translate(-50%, -50%);
}

#fp-nav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li a.active span,
.fp-slidesNav ul li:hover a.active span {
  background: rgba(255, 255, 255, 1);
  width: 10px;
  height: 10px;
  margin: 0;
}

#fp-nav ul li:hover a span,
.fp-slidesNav ul li:hover a span {
  margin: 0;
}

/* 1. fp-overflow 자체가 가로로 터지는 것 방지 */
.fp-overflow {
  width: 100% !important;
  overflow-x: hidden !important;
  /* 가로 스크롤 강제 차단 */
}

/* 2. 만약 내용물이 아주 미세하게 삐져나온다면 */
.fp-section,
.fp-slide,
.fp-tableCell {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* 3. (중요) 스크롤바가 생겨서 밀리는 현상 방지 */
body.fp-responsive .fp-section {
  height: auto !important;
}

@media (max-width: 768px) {

  .fp-section,
  .fp-slide,
  .fp-tableCell {
    height: auto !important;
    min-height: 0 !important;
  }

  .section[class*="main__"] {
    padding: 100px 0;
  }
}

@media (max-width: 480px) {
  .section[class*="main__"] {
    padding: 70px 0;
  }
}

/* *****************************************

              *** hero__slide ***
              메인 슬라이드 영역

****************************************** */

/* Swiper 전체 컨테이너 크기 지정 */
.hero__slide {
  width: 100%;
}

/* Swiper 메인 부분 */
.hero__slide .swiper-slide {
  width: 100%;
  height: 100vh;
}

.hero__slide__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s;
}

.hero__slide__bg .hero__slide__bg__1 {
  transform: scale(1);
}

.swiper-slide-active .hero__slide__bg .hero__slide__bg__1 {
  transform: scale(1.1);
}

.hero__slide__bg .hero__slide__bg__2 {
  transform: scale(1.1) translateX(50px);
}

.swiper-slide-active .hero__slide__bg .hero__slide__bg__2 {
  transform: scale(1.1) translateX(-50px);
}

.hero__slide__bg .hero__slide__bg__3 {
  transform: scale(1.1);
}

.swiper-slide-active .hero__slide__bg .hero__slide__bg__3 {
  transform: scale(1);
}

.hero__slide__content {
  height: 100%;
  color: #ffffff;
}

.hero__slide__content .inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-100px);
}

.hero__slide__txt {
  font-family: 'Suit', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.hero__slide__h2 {
  font-family: 'Paperozi', sans-serif;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero__slide__h2 span {
  font-size: 2.75rem;
  font-weight: 600;
}

.hero__slide__p {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Swiper 페이지네이션 부분 */
.hero__slide .pagewrap {
  width: 100%;
  position: absolute;
  z-index: 1;
  bottom: 120px;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.hero__slide .pagewrap .inner {
  position: relative;
}

.hero__slide .swiper-pagination {
  display: flex;
  text-align: left;
  bottom: -1px;
  left: 50px;
}

/* bullet 전체 */
.hero .swiper-pagination-bullet {
  background: none;
  width: auto;
  height: auto;
  opacity: 1;
  margin: 0 !important;
}

.hero .swiper-pagination-bullet:focus {
  outline: none;
}

/* 숫자 */
.hero .swiper-pagination-bullet .num {
  padding: 0 4px;
  font-family: 'Suit', sans-serif;
  font-size: 1.125rem;
  color: #fff;
  opacity: 0.4;
}

/* 바 배경 */
.hero .swiper-pagination-bullet .bar {
  display: block;
  width: 100px;
  /* ← 바 길이 */
  height: 2px;
  background: #b2b2b2;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.hero .swiper-pagination-bullet .bar {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero .swiper-pagination-bullet-active .bar {
  opacity: 1;
  transform: translateY(0.5px);
}

/* 채워지는 부분 */
.hero .swiper-pagination-bullet .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--color-main);
}

.hero .swiper-pagination-bullet-active .num {
  opacity: 1;
}

/* 마우스 스크롤 부분 */
.hero__slide .scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__slide .scroll span {
  display: block;
  font-size: 0.75rem;
  font-family: 'Suit', sans-serif;
  color: #ffffff;
}

.hero__slide .scroll .mouse {
  opacity: 0.8;
  width: 22px;
  height: 34px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  margin: 10px auto 0;
}

.hero__slide .scroll .mouse .wheel {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  margin: 8px auto 0;

  animation: scroll-wheel 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(8px);
    opacity: 0;
  }

  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

/* ================================
   HERO TEXT SLIDE-IN ANIMATION
   Right → Left / Slow & Smooth
================================ */

/* 초기 상태 */
.hero__slide__txt,
.hero__slide__h2,
.hero__slide__p {
  opacity: 0;
  transform: translateX(70px);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* 순차 딜레이 */
.hero__slide__txt {
  transition-delay: 0.3s;
  letter-spacing: 0.02em;
}

.hero__slide__h2 {
  transition-delay: 0.7s;
}

.hero__slide__h2 span {
  display: inline-block;
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.9s;
}

.hero__slide__p {
  transition-delay: 1.2s;
}

/* 활성 슬라이드 */
.swiper-slide-active .hero__slide__txt,
.swiper-slide-active .hero__slide__h2,
.swiper-slide-active .hero__slide__h2 span,
.swiper-slide-active .hero__slide__p {
  opacity: 1;
  transform: translateX(0);
}

@media screen and (max-width: 1440px) {
  .hero__slide__content .inner {
    transform: translateY(-80px);
  }

  .hero__slide__h2 {
    font-size: 2.75rem;
  }

  .hero__slide__h2 span {
    font-size: 3.4rem;
  }

  .hero__slide .pagewrap {
    bottom: 100px;
  }
}

/* [2] Laptop (1280px) */
@media screen and (max-width: 1280px) {
  .hero__slide__content .inner {
    transform: translateY(-60px);
  }

  .hero__slide__txt,
  .hero__slide__p {
    font-size: 1.25rem;
  }

  .hero__slide__h2 {
    font-size: 2.4rem;
  }

  .hero__slide__h2 span {
    font-size: 3rem;
  }

  .hero .swiper-pagination-bullet .bar {
    width: 80px;
  }

  .hero__slide .swiper-pagination {
    left: 30px;
  }
}

/* [3] Tablet Landscape (1024px) */
@media screen and (max-width: 1024px) {
  .hero__slide__content .inner {
    transform: translateY(-40px);
  }

  .hero__slide__txt,
  .hero__slide__p {
    font-size: 1.125rem;
  }

  .hero__slide__h2 {
    font-size: 2.1rem;
  }

  .hero__slide__h2 span {
    font-size: 2.6rem;
  }

  .hero .swiper-pagination-bullet .bar {
    width: 60px;
  }

  .hero__slide .pagewrap {
    bottom: 80px;
  }
}

/* [4] Tablet Portrait (768px) */
@media screen and (max-width: 768px) {
  .hero__slide .swiper-slide {
    height: 90svh;
    background-color: #000;
  }

  /* 모바일 주소창 대응 */
  .hero__slide__content .inner {
    transform: translateY(0);
    padding: 0 20px;
  }

  /* 이미지가 밖으로 벗어나지 않도록 이동 거리를 50px -> 20px 정도로 조절 */
  .hero__slide__bg .hero__slide__bg__2 {
    transform: scale(1.2) translateX(26px);
  }

  .swiper-slide-active .hero__slide__bg .hero__slide__bg__2 {
    transform: scale(1.2) translateX(-26px);
  }

  .hero__slide__txt {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .hero__slide__h2 {
    font-size: 1.75rem;
  }

  .hero__slide__h2 span {
    font-size: 2.2rem;
  }

  .hero__slide__p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero__slide .pagewrap {
    bottom: 60px;
  }

  .hero .swiper-pagination-bullet .bar {
    width: 40px;
  }

  .hero__slide .scroll {
    display: none;
  }

  /* 애니메이션 이동 거리 최적화 */
  .hero__slide__txt,
  .hero__slide__h2,
  .hero__slide__p {
    transform: translateX(40px);
    /* 화면 폭에 맞춰 이동 거리 단축 */
  }
}

/* [5] Mobile (480px) */
@media screen and (max-width: 480px) {
  .hero__slide .swiper-slide {
    height: 80svh;
  }

  .hero__slide__txt,
  .hero__slide__p {
    font-size: 0.95rem;
  }

  .hero__slide__h2 {
    font-size: 1.5rem;
  }

  .hero__slide__h2 span {
    font-size: 1.9rem;
  }

  .hero__slide .pagewrap {
    bottom: 50px;
  }

  .hero .swiper-pagination {
    left: 20px;
  }

  .hero .swiper-pagination-bullet .num {
    font-size: 0.9rem;
  }

  /* 텍스트 겹침 방지를 위한 행간 조절 */
  .hero__slide__h2 {
    line-height: 1.2;
  }
}

/* *****************************************

            *** main__business ***
              메인 비지니스 영역

****************************************** */

.main__business {
  /* --biz-bg: url(/assets/img/main/business_bg_1.jpg);
  background-image: var(--biz-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; */

  position: relative;

  color: #ffffff;
}

.main__business__bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background-color: #000;
}

.main__business__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 떨림 방지 */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: scale(1.15) translateX(30px);
  /* GPU 가속 강제 호출 */

  transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main__business.is-animating .main__business__bg video {
  transform: scale(1) translateX(0);
}

.main__business__bg::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.main__business .section__title {
  margin-bottom: 80px;
}

.main__business .section__title h2 {
  font-family: 'Suit', sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
}

.main__business .section__title .btnWrap {
  display: flex;
  align-items: end;
  gap: 30px;
  margin-bottom: 20px;
}

.main__business .section__title .btnMore {
  padding-bottom: 16px;
}

.main__business .section__title .btnMore a {
  position: relative;
  display: block;
  width: 160px;
  padding-bottom: 6px;
}

.main__business .section__title .btnMore a img {
  position: absolute;
  bottom: 0;
  right: 0;
}

.main__business .section__title h3 {
  font-family: 'Suit', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
}

.main__business .section__title p {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}

.main__business .section__title p span {
  font-weight: 600;
}

.main__business__contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

.main__business__contents::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 100px);
  height: 1px;
  background: rgba(255, 255, 255, .4);
}

.main__business__contents::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 100px);
  height: 1px;
  background: rgba(255, 255, 255, .4);
}

.main__business__contents li {
  padding: 90px 0;
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;

  position: relative;
  overflow: hidden;

  transition: all .3s;

  cursor: pointer;
}

.main__business__contents li.active {
  background: rgba(227, 117, 5, .85);
}

.main__business__contents li .num {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 6.5rem;
  font-weight: 900;
  letter-spacing: -2px;

  color: #ffb471;
  opacity: 0;
}

.main__business__contents li.active .num {
  opacity: 0.5;
}

.main__business__contents li img {
  display: block;
  height: 110px;
  margin-bottom: 20px;
}

.main__business__contents li p {
  font-size: 1.375rem;
  font-weight: 600;
}

.main__business__contents li span {
  font-size: 1.25rem;
}

@media screen and (max-width: 1440px) {
  .main__business .section__title {
    margin-bottom: 64px;
  }

  .main__business .section__title h3 {
    font-size: 4rem;
  }

  .main__business__contents li {
    padding: 80px 0;
  }

  .main__business__contents li img {
    height: 100px;
    margin-bottom: 18px;
  }

  .main__business__contents li .num {
    font-size: 6rem;
    bottom: -24px;
  }
}

/* [2] 1280px 이하 */
@media screen and (max-width: 1280px) {
  .main__business .section__title {
    margin-bottom: 56px;
  }

  .main__business .section__title .btnWrap {
    gap: 24px;
  }

  .main__business .section__title h2 {
    font-size: 1.25rem;
  }

  .main__business .section__title h3 {
    font-size: 3.5rem;
  }

  .main__business .section__title p {
    font-size: 1.125rem;
  }

  .main__business__contents::before,
  .main__business__contents::after {
    width: calc(100% + 60px);
  }

  .main__business__contents li {
    padding: 70px 0;
  }

  .main__business__contents li img {
    height: 92px;
  }

  .main__business__contents li p {
    font-size: 1.25rem;
  }

  .main__business__contents li span {
    font-size: 1.125rem;
  }

  .main__business__contents li .num {
    font-size: 5.4rem;
    bottom: -22px;
  }
}

/* [3] 1024px 이하 */
@media screen and (max-width: 1024px) {
  .main__business .section__title {
    margin-bottom: 44px;
  }

  .main__business .section__title .btnWrap {
    gap: 18px;
    margin-bottom: 14px;
  }

  .main__business .section__title h3 {
    font-size: 3rem;
  }

  .main__business .section__title p {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .main__business .section__title .btnMore {
    padding-bottom: 12px;
  }

  .main__business .section__title .btnMore a {
    width: 140px;
  }

  .main__business__contents::before,
  .main__business__contents::after {
    width: calc(100% + 40px);
  }

  .main__business__contents li {
    padding: 58px 0;
  }

  .main__business__contents li img {
    height: 80px;
    margin-bottom: 14px;
  }

  .main__business__contents li p {
    font-size: 1.125rem;
  }

  .main__business__contents li span {
    font-size: 1rem;
  }

  .main__business__contents li .num {
    font-size: 4.6rem;
    bottom: -18px;
  }
}

/* [4] 768px 이하 (구조 대폭 전환: 이미지 좌측 / 텍스트 우측) */
@media screen and (max-width: 768px) {
  .main__business .section__title {
    margin-bottom: 32px;
    text-align: left;
  }

  .main__business .section__title .btnWrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main__business .section__title h3 {
    font-size: 2.4rem;
    line-height: 1.1;
  }

  .main__business .section__title p {
    font-size: 1rem;
  }

  .main__business .section__title p br {
    display: none;
  }

  /* 모바일 가독성을 위한 줄바꿈 해제 */
  .main__business .section__title .btnMore {
    padding-bottom: 0;
  }

  .main__business .section__title .btnMore a {
    width: auto;
    padding-right: 22px;
  }

  .main__business .section__title .btnMore a img {
    right: 0;
    bottom: 2px;
  }

  /* 3열 -> 1열 그리드 */
  .main__business__contents {
    grid-template-columns: 1fr;
  }

  .main__business__contents::before,
  .main__business__contents::after {
    display: none;
  }

  /* 가로선 제거 */

  .main__business__contents li {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);

    /* 내부 가로 배치 그리드 */
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
    gap: 20px;
  }

  .main__business__contents li:last-child {
    border-bottom: none;
  }

  .main__business__contents li img {
    height: 60px;
    margin-bottom: 0;
    grid-row: span 2;
    /* 텍스트 두 줄 높이 차지 */
  }

  .main__business__contents li p {
    font-size: 1.15rem;
    grid-column: 2;
    align-self: end;
    /* 이미지 중앙 기준으로 윗부분 배치 효과 */
  }

  .main__business__contents li span {
    font-size: 1rem;
    grid-column: 2;
    align-self: start;
    /* 이미지 중앙 기준으로 아랫부분 배치 효과 */
  }

  .main__business__contents li .num {
    font-size: 3.5rem;
    left: auto;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
    opacity: 0.15;
  }
}

/* [5] 480px 이하 */
@media screen and (max-width: 480px) {
  .main__business .section__title h2 {
    font-size: 1.05rem;
  }

  .main__business .section__title h3 {
    font-size: 2rem;
  }

  .main__business .section__title p {
    font-size: 0.95rem;
    word-break: keep-all;
  }

  .main__business__contents li {
    grid-template-columns: 60px 1fr;
    padding: 24px 15px;
    gap: 15px;
  }

  .main__business__contents li img {
    height: 50px;
  }

  .main__business__contents li p {
    font-size: 1.05rem;
  }

  .main__business__contents li span {
    font-size: 0.92rem;
  }

  .main__business__contents li .num {
    font-size: 3rem;
    right: 10px;
  }
}

/* *****************************************

            *** main__facilities ***
              메인 주요 설비 영역

****************************************** */

.main__facil {
  background: url(/assets/img/main/facilities__bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.facil__slide {
  width: 100%;
  color: #ffffff;
}

.facil__slide .swiper-slide {
  width: 100%;
  height: 100vh;
  padding: 150px 0;
  overflow: hidden;
}

.facil__slide .swiper-slide .inner {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-bottom: 150px;
}

.facil__slide .swiper-slide .inner > img {
  position: absolute;
}

.facil__title,
.facil__name,
.facil__desc,
.facil__link {
  position: relative;
  z-index: 1;
}

.facil__title {
  font-family: 'Suit', sans-serif;
  font-size: 1.75rem;
}

.facil__name {
  font-family: 'Suit', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
}

.facil__desc {
  font-family: 'Suit', sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
}

.facil__link {
  margin-top: 40px;
}

.facil__link a {
  display: inline-block;
  padding: 14px 6px;
  font-size: 1.125rem;
  transition: all .2s;
}

.facil__link a img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
}

/* 제품 이미지 */
.facil__slide .layoutmachine {
  bottom: 50px;
  right: 50px;
  width: 750px;
}

.facil__slide .axismachining5 {
  bottom: -100px;
  right: 150px;
  width: 500px;
}

.facil__slide .axismachining3 {
  bottom: 0px;
  right: 100px;
  width: 700px;
}

.facil__slide .miilg {
  bottom: -30px;
  right: 300px;
  width: 400px;
}

.facil__slide .lathe {
  bottom: 50px;
  right: 200px;
  width: 750px;
}

.facil__slide .facil__title,
.facil__slide .facil__name,
.facil__slide .facil__desc,
.facil__slide .facil__link,
.facil__slide .inner > img {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.facil__slide .inner > img {
  transform: translateX(50px);
}

.facil__slide .swiper-slide-active .facil__title,
.facil__slide .swiper-slide-active .facil__name,
.facil__slide .swiper-slide-active .facil__desc,
.facil__slide .swiper-slide-active .facil__link,
.facil__slide .swiper-slide-active .inner img {
  opacity: 1;
  transform: translateY(0);
}

.facil__slide .swiper-slide-active .inner img {
  transform: translateX(0);
}

.facil__slide .swiper-slide-active .facil__title {
  transition-delay: 0.1s;
}

.facil__slide .swiper-slide-active .facil__name {
  transition-delay: 0.3s;
}

.facil__slide .swiper-slide-active .facil__desc {
  transition-delay: 0.5s;
}

.facil__slide .swiper-slide-active .facil__link {
  transition-delay: 0.7s;
}

.facil__slide .swiper-slide-active .inner img {
  transition-delay: 0.4s;
  transition-duration: 1.2s;
}

/* Swiper 페이지네이션 부분 */
.facil__slide .pagewrap {
  width: 100%;
  position: absolute;
  z-index: 1;
  bottom: 80px;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.facil__slide .pagewrap .inner {
  position: relative;
}

.facil__slide .swiper-pagination {
  display: flex;
  width: calc(100% - 100px);
  /* 좌우 여백 50px씩 있다면 제외, 아니면 100% */
  text-align: left;
  bottom: -1px;
  left: 50px;
  /* 왼쪽 여백이 있다면 유지 */
}

/* bullet 전체 */
.facil__slide .swiper-pagination-bullet {
  flex: 1;
  background: none;
  width: auto;
  height: auto;
  opacity: 1;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

.facil__slide .swiper-pagination-bullet:focus {
  outline: none;
}

/* 이름 */
.facil__slide .swiper-pagination-bullet .name {
  padding: 0 4px;
  font-family: 'Suit', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.4;
}

/* 바 배경 */
.facil__slide .swiper-pagination-bullet .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #b2b2b2;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.facil__slide .swiper-pagination-bullet .bar {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.facil__slide .swiper-pagination-bullet-active .bar {
  opacity: 1;
  transform: translateY(0.5px);
}

.facil__slide .swiper-pagination-bullet .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--color-main);
}

.facil__slide .swiper-pagination-bullet-active .name {
  opacity: 1;
}

@media screen and (max-width: 1550px) {
  .facil__slide .swiper-pagination-bullet {
    flex: 1;
    min-width: 0;
  }

  .facil__slide .swiper-pagination-bullet .name {
    display: block;
    width: 100%;
    padding: 0 5px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* [1] Desktop (1440px) */
@media screen and (max-width: 1440px) {
  .facil__slide .swiper-slide {
    padding: 120px 0;
  }

  .facil__name {
    font-size: 4.2rem;
  }

  .facil__slide .layoutmachine {
    width: 650px;
  }

  .facil__slide .axismachining3 {
    width: 600px;
  }
}

/* [2] Laptop (1280px) */
@media screen and (max-width: 1280px) {
  .facil__name {
    font-size: 3.5rem;
  }

  .facil__desc {
    font-size: 1.25rem;
  }

  .facil__slide .layoutmachine {
    width: 550px;
    right: 30px;
  }

  .facil__slide .axismachining5 {
    width: 400px;
    right: 80px;
    bottom: 0;
  }

  .facil__slide .axismachining3 {
    width: 500px;
    right: 50px;
  }

  .facil__slide .swiper-pagination {
    left: 30px;
    width: calc(100% - 60px);
  }
}

/* [3] Tablet Landscape (1024px) */
@media screen and (max-width: 1024px) {
  .facil__slide .swiper-slide {
    padding: 100px 0;
  }

  .facil__name {
    font-size: 3rem;
  }

  .facil__slide .layoutmachine,
  .facil__slide .lathe {
    width: 450px;
  }

  .facil__slide .miilg {
    width: 350px;
    right: 150px;
  }

  .facil__slide .pagewrap {
    bottom: 60px;
  }
}

/* [4] Tablet Portrait (768px) */
@media screen and (max-width: 768px) {
  .facil__slide .swiper-slide {
    height: 90svh;
    /* 히어로 슬라이드와 동일하게 유지 */
    padding: 0;
  }

  .facil__title {
    font-size: 1.25rem;
  }

  .facil__name {
    font-size: 2.5rem;
  }

  .facil__desc {
    font-size: 1.125rem;
    word-break: keep-all;
  }

  /* 이미지 모바일 최적화: 텍스트 뒤로 깔리거나 크기 대폭 축소 */
  .facil__slide .inner > img {
    right: 20px !important;
    bottom: 50px !important;
    opacity: 0.6;
    /* 텍스트 가독성을 위해 살짝 투명하게 */
  }

  .facil__slide .layoutmachine,
  .facil__slide .lathe {
    width: 350px;
  }

  .facil__slide .axismachining5,
  .facil__slide .axismachining3 {
    width: 300px;
  }

  .facil__slide .miilg {
    width: 250px;
  }

  .facil__slide .layoutmachine,
  .facil__slide .axismachining5,
  .facil__slide .axismachining3,
  .facil__slide .miilg,
  .facil__slide .lathe {
    bottom: 0;
  }

  .facil__slide .pagewrap {
    bottom: 0px;
  }

  .facil__slide .swiper-pagination {
    left: 20px;
    width: calc(100% - 40px);
  }

  .facil__slide .swiper-pagination-bullet .name {
    font-size: 0.9rem;
  }
}

/* [5] Mobile (480px) */
@media screen and (max-width: 480px) {
  .facil__slide .swiper-slide {
    height: 80svh;
  }

  .facil__name {
    font-size: 2rem;
  }

  .facil__desc {
    font-size: 1rem;
  }

  .facil__link a {
    padding: 12px 4px;
    font-size: 1rem;
  }

  .facil__link a img {
    width: 120px !important;
  }

  /* 이미지가 너무 크면 텍스트를 가리므로 더 축소 */
  .facil__slide .inner > img {
    width: 280px !important;
  }

  .facil__slide .swiper-pagination-bullet .name {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* *****************************************

            *** main__esg ***
            지속가능경영 영역

****************************************** */

.main__esg {
  /* background: url(/assets/img/main/esg_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  */

  color: #ffffff;

  position: relative;

  padding: 50px 0;
}

.main__esg__bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background-color: #000;
}

.main__esg__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main__esg__bg::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

.main__esg .section__title h2 {
  font-size: 3.25rem;
  font-weight: 400;

  margin-bottom: 10px;
  padding-top: 20px;
}

.main__esg .section__title h2 span {
  font-weight: 700;
}

.main__esg .section__title p {
  font-size: 1.25rem;
}

.main__esg__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.main__esg__top path {
  fill: currentColor;
}

.main__esg__top ul {
  display: flex;
  gap: 80px;
}

.main__esg__top ul li a {
  width: 150px;
  height: 150px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;

  border: 1px solid #ffffff;
  border-radius: 50%;

  transition: all .3s;
}

.main__esg__top ul li a svg {
  height: 50px;
}

.main__esg__top ul li a:hover {
  color: #0c5610;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, 0);
}

/* ============================================================
   ESG SECTION RESPONSIVE
============================================================ */

/* [1] 1440px 이하 */
@media screen and (max-width: 1440px) {
  .main__esg .section__title h2 {
    font-size: 2.8rem;
  }

  .main__esg__top ul {
    gap: 40px;
  }

  /* 간격 살짝 축소 */
}

/* [2] 1280px 이하 */
@media screen and (max-width: 1280px) {
  .main__esg .section__title h2 {
    font-size: 2.5rem;
  }

  .main__esg .section__title p {
    font-size: 1.125rem;
  }

  .main__esg__top ul li a {
    width: 130px;
    height: 130px;
  }

  .main__esg__top ul li a svg {
    height: 40px;
  }
}

/* [3] 1024px 이하 */
@media screen and (max-width: 1024px) {
  .main__esg__bg video {
    object-position: calc(100% + 150px) center;
  }

  .main__esg__top {
    flex-direction: column;
    /* 세로 배치로 전환 */
    align-items: flex-start;
    gap: 30px;
  }

  .main__esg .section__title h2 {
    font-size: 2.2rem;
  }

  .main__esg__top ul {
    width: 100%;
    justify-content: flex-start;
    gap: 30px;
  }
}

/* [4] 768px 이하 */
@media screen and (max-width: 768px) {
  .main__esg {
    padding: 40px 0;
  }

  .main__esg .section__title {
    text-align: center;
    width: 100%;
  }

  .main__esg .section__title h2 {
    font-size: 2rem;
    padding-top: 0;
  }

  .main__esg__top {
    align-items: center;
    margin-bottom: 40px;
  }

  /* 아이콘들 3개 가로 유지 혹은 화면 좁으면 줄바꿈 */
  .main__esg__top ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .main__esg__top ul li a {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.05);
    /* 모바일에서 가독성 위해 살짝 배경 */
  }

  /* 터치 기기 hover 효과 제거 */
  .main__esg__top ul li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transform: none;
  }
}

/* [5] 480px 이하 */
@media screen and (max-width: 480px) {
  .main__esg .section__title h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .main__esg .section__title h2 span {
    display: block;
    margin-top: 5px;
  }

  /* DAESAN MODEL 강조 */
  .main__esg .section__title p {
    font-size: 0.95rem;
    word-break: keep-all;
  }

  .main__esg__top ul {
    gap: 6px;
  }

  .main__esg__top ul li a {
    /* 3개가 한 줄에 꽉 차게 계산 */
    width: 90px;
    height: 90px;
    aspect-ratio: 1/1;
    padding: 10px 0;
  }

  .main__esg__top ul li a svg {
    height: 32px;
  }

  .main__esg__top ul li a p {
    font-size: 0.8rem;
  }

  /* 그누보드 최신글(latest) 영역이 있다면 간격 조절 */
  .main__esg .latest_news {
    margin-top: 20px;
  }
}

/* *****************************************

            *** main__partners ***
              메인 파트너사 영역

****************************************** */

.main__partners {
  background: url(/assets/img/main/partners_bg.jpg);
  background-color: #050a17;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom;

  color: #ffffff;
  text-align: center;

  padding: 50px 0;
}

.main__partners .section__title {
  width: 60%;
  margin: 0 auto;
  padding: 80px 0 20px;
}

.main__partners .section__title h2 {
  font-family: 'Suit', sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.main__partners .section__title h3 {
  font-family: 'NanumSquareNeo', sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.main__partners .section__title p {
  font-size: 1.25rem;
}

.main__partners__contents {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  padding-bottom: 20px;
}

.main__partners__contents li {
  width: calc((100% - (30px * 6)) / 7);

  color: #231815;
  background: rgba(255, 255, 255, .7);

  border-radius: 10px;
  padding: 16px 0;

  transition: all .3s;
}

.main__partners__contents li:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, .8);
}

.main__partners__contents li img {
  height: 70px;
}

.main__partners__contents li p {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 2px;
}

@media screen and (max-width: 1440px) {
  .main__partners .section__title {
    width: 70%;
    padding: 70px 0 20px;
  }

  .main__partners .section__title h3 {
    font-size: 3.2rem;
  }

  /* 한 줄에 6개 */
  .main__partners__contents li {
    width: calc((100% - (30px * 5)) / 6);
  }

  .main__partners__contents li img {
    height: 64px;
  }
}

/* [2] 1280px 이하 */
@media screen and (max-width: 1280px) {
  .main__partners .section__title {
    width: 80%;
    padding: 60px 0 20px;
  }

  .main__partners .section__title h2 {
    font-size: 1.25rem;
  }

  .main__partners .section__title h3 {
    font-size: 2.8rem;
  }

  .main__partners .section__title p {
    font-size: 1.125rem;
  }

  /* 한 줄에 5개 */
  .main__partners__contents li {
    width: calc((100% - (30px * 4)) / 5);
  }
}

/* [3] 1024px 이하 */
@media screen and (max-width: 1024px) {
  .main__partners {
    background-size: 120%;
  }

  /* 배경 구도 최적화 */
  .main__partners .section__title {
    width: 90%;
    padding: 50px 0 10px;
  }

  .main__partners .section__title h3 {
    font-size: 2.4rem;
  }

  .main__partners .section__title p {
    font-size: 1.05rem;
  }

  /* 한 줄에 4개 */
  .main__partners__contents {
    gap: 24px;
    margin-top: 30px;
  }

  .main__partners__contents li {
    width: calc((100% - (24px * 3)) / 4);
  }

  .main__partners__contents li img {
    height: 56px;
  }
}

/* [4] 768px 이하 */
@media screen and (max-width: 768px) {
  .main__partners {
    background-size: cover;
    padding: 40px 0;
  }

  .main__partners .section__title {
    width: 100%;
    padding: 40px 20px 10px;
  }

  .main__partners .section__title h3 {
    font-size: 2rem;
  }

  .main__partners .section__title p {
    font-size: 1rem;
  }

  .main__partners .section__title p br {
    display: none;
  }

  /* 한 줄에 3개 */
  .main__partners__contents {
    gap: 20px;
    padding-bottom: 10px;
  }

  .main__partners__contents li {
    width: calc((100% - (20px * 2)) / 3);
    padding: 14px 0;
  }

  /* 터치 기기 대응: Hover 효과 제거 */
  .main__partners__contents li:hover {
    transform: none;
    background: rgba(255, 255, 255, .7);
  }
}

/* [5] 480px 이하 */
@media screen and (max-width: 480px) {
  .main__partners .section__title {
    padding: 30px 16px 10px;
  }

  .main__partners .section__title h2 {
    font-size: 1.05rem;
  }

  .main__partners .section__title h3 {
    font-size: 1.8rem;
  }

  .main__partners .section__title p {
    font-size: 0.95rem;
    word-break: keep-all;
  }

  /* 한 줄에 2개 */
  .main__partners__contents {
    gap: 16px;
    margin-top: 24px;
  }

  .main__partners__contents li {
    width: calc((100% - 16px) / 2);
  }

  .main__partners__contents li img {
    height: 48px;
  }

  .main__partners__contents li p {
    font-size: 0.85rem;
  }
}