/* 함초롱바탕체 */
@font-face {
  font-family: "Hamchorom";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2104@1.0/HANBatang.woff")
    format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hamchorom";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2104@1.0/HANBatangB.woff")
    format("woff");
  font-weight: bold;
  font-display: swap;
}

body {
  background-color: #f7f7f7;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 10rem;
  width: 100%;
  z-index: 100;
  background-color: #fff;
}

/* m_menu */

.m_fix_menu {
  display: none;
}
.rel_wrap {
  padding: 0 var(--rel_padding);
  width: 100%;
}

.header .rel_wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo_wrap {
  width: 19rem;
}
.header .logo_wrap img {
  max-width: 100%;
}
.header .menu_wrap {
  display: flex;
  gap: 6rem;
  font-size: 2rem;
}
.header .menu_wrap a {
  font-size: 1.6rem;
  color: var(--m_color);
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}
.header .menu_wrap a.on {
  font-weight: 800;
}
.header .menu_wrap a:not(:last-child)::after {
  position: absolute;
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background-color: var(--m_color);
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.call_wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.call_tit {
  padding: 0.4rem 1.6rem;
  border-radius: calc(1px / 0);
  background-color: var(--m_color);
  color: #fff;
  font-weight: 600;
  font-size: 2rem;
  white-space: nowrap;
}
.call_num {
  color: var(--m_color);
  font-weight: 600;
  font-size: 2rem;
  white-space: nowrap;
}

/* 햄버거 버튼 (기본 숨김) */
.btn_m_menu {
  display: none;
  width: 3rem;
  height: 2.4rem;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.btn_m_menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--m_color);
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
}
.btn_m_menu span:nth-child(1) {
  top: 0;
}
.btn_m_menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.btn_m_menu span:nth-child(3) {
  bottom: 0;
}

.btn_m_menu.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}
.btn_m_menu.active span:nth-child(2) {
  opacity: 0;
}
.btn_m_menu.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: rotate(-45deg);
}

/* 모바일 전용 전화 버튼 (기본 숨김) */
.btn_m_call {
  display: none;
}

/* section Intro */
.intro {
  background-image: url(../img/cg.jpg);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}
.intro_title_wrap {
  width: 44rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -34vh);
  top: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 430px) {
  .intro_title_wrap {
    width: 32rem;
  }
}
.intro_title {
  position: relative;
  margin-bottom: 4rem;
}
.intro_title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 1px;
  background-color: var(--m_color);
  position: absolute;
  bottom: -2rem; /* 부모(이미지 박스) 기준으로 2rem 아래에 위치 */
  left: 50%;
  transform: translateX(-50%);
}
.intro_title_txt {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
}
.intro_title_txt b {
  font-size: 600;
}
.intro_logo_wrap img {
  width: 28rem;
}

.intro_slide {
  width: 100%;
  height: 100%;
}

.intro2 {
  background-color: rgba(0, 0, 0, 0.6);
}

.intro:has(.intro2.swiper-slide-active) .intro1 > * {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.overview_wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10rem;
}

.overview_logo_wrap {
  width: 22rem;
  margin-bottom: 4rem;
  filter: brightness(0) invert(1);
}
.overview_logo_wrap img {
  max-width: 100%;
}
.overview_inner_wrap {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.overview_flex_wrap {
  display: flex;
  gap: 1.2rem;
  width: 136rem;
}
.overview_flex_wrap dl {
  flex: 1;
  height: 26rem;
  border: 2px solid #fff;
  background-color: rgba(3, 18, 66, 0.4);
  padding: 4rem;
}

dd {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid #fff;
  display: inline-block;
}
dt {
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
}

.scroll_guide_overlay {
  display: none;
}

.intro_obj_wrap {
  position: absolute;
  right: var(--rel_padding);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro_obj_list {
  display: inline-grid;
  grid-template-columns: max-content;
  justify-items: stretch;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}

.intro_obj_list li {
  list-style: none;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn_intro_obj {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: calc(1px / 0);
  width: 10rem;
  height: 10rem;
  position: relative;
}
.btn_intro_obj img {
  max-width: 80%;
}
.btn_intro_obj::before {
  content: "";
  border-radius: calc(1px / 0);
  width: 10rem;
  height: 10rem;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
  z-index: -1;
}
.btn_intro_obj::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(../img/btn_customer_obj.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 18rem;
  height: 18rem;
  animation: btn_intro_obj 20s linear infinite;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}
@keyframes btn_intro_obj {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.btn_intro_obj:hover::after {
  filter: brightness(0);
}
.btn_intro_obj:hover::before {
  width: 16rem;
  height: 16rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}
.promotion_obj,
.test_obj {
  background-color: var(--m_color);
  border-radius: 1.5rem 0 1.5rem 0;
  padding: 1.2rem 1.6rem;
  color: #fff000;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}
@media screen and (max-width: 768px) {

  .intro_obj_list {
    display: none;
  }
  .overview_logo_wrap {
    margin: 0 auto 4rem;
  }
  .overview_inner_wrap {
    width: 100%;
    overflow-x: auto;
    padding: 1rem var(--rel_padding);
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .overview_inner_wrap::-webkit-scrollbar {
    display: none;
  }
  .overview_wrap {
    align-items: flex-start;
  }
  .overview_flex_wrap dl {
    height: 18rem;
    padding: 2rem;
  }
  /* 모바일 가로 스크롤 가이드 오버레이 */
  .overview_scroll_area {
    position: relative;
    width: 100%;
  }
  .scroll_guide_overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
    color: #fff;
    opacity: 0;
    pointer-events: none;
  }
  .swiper-slide-active .scroll_guide_overlay {
    animation: guideFadeOut 2s forwards;
  }
  @keyframes guideFadeOut {
    0% {
      opacity: 1;
      pointer-events: auto;
    }
    80% {
      opacity: 1;
      pointer-events: auto;
    }
    100% {
      opacity: 0;
      pointer-events: none;
    }
  }

  /* 둥실둥실 마우스 아이콘 */
  .scroll_guide_overlay .ico_mouse {
    width: 2.8rem;
    height: 4.6rem;
    border: 2px solid #fff;
    border-radius: 1.5rem;
    position: relative;
    margin-bottom: 1.5rem;
    animation: mouseJump 0.8s infinite alternate ease-in-out;
  }
  .scroll_guide_overlay .ico_mouse .wheel {
    width: 0.4rem;
    height: 1rem;
    background: #fff;
    border-radius: 0.2rem;
    position: absolute;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
  }
  @keyframes mouseJump {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-10px);
    }
  }
  .scroll_guide_overlay p {
    font-size: 1.4rem;
    font-weight: 400;
  }

  /* 스와이프 시 내부 콘텐츠가 우측에서 좌측으로 들어오는 힌트 애니메이션 */
  .swiper-slide-active .overview_flex_wrap {
    animation: contentSlideRightLeft 1.6s ease-out forwards;
  }
  @keyframes contentSlideRightLeft {
    0% {
      transform: translateX(60px);
    }
    100% {
      transform: translateX(0);
    }
  }
}

/* loc_wrap */
.sec_loc_wrap {
  height: 100%;
  width: 100%;
  padding-top: 10rem;
  display: flex;
  padding-right: var(--rel_padding);
}
.loc_map_wrap {
  width: 124.3rem;
  height: 100%;
  background-image: url(../img/loc.jpg);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}
.loc_txt_wrap {
  flex: 1;
  padding: 0 4rem;
}
.loc_txt_ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 2rem;
}
.loc_txt_ul li {
  padding-left: 7rem;
  position: relative;
}
.loc_txt_ul li::before {
  content: "";
  display: block;
  width: 1rem;
  background-image: url(../img/pat_line.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 4rem;
}
.loc_txt_ul li:not(:last-child) {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 2rem;
}
.loc_txt_ul li::before {
  height: calc(100% - 2rem);
}

.loc_txt_ul li:last-child::before {
  height: 100%;
}
.loc_eng_title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #996b43;
  font-family: "Hamchorom";
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}
.loc_txt {
  font-size: 1.6rem;
  font-weight: 400;
  color: #1e1e1e;
}
.loc_title {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.loc_title span {
  color: #5759a6;
}

@media screen and (max-width: 1440px) {
  .loc_map_wrap {
    width: 96.3rem;
  }
}

@media screen and (max-width: 1320px) {
  .sec_loc_wrap {
    align-items: center;
  }
  .loc_map_wrap {
    height: 66em;
  }
}

@media screen and (max-width: 1024px) {
  .sec_loc_wrap {
    flex-direction: column;
    align-items: center;
    padding-right: unset;
  }
  .loc_map_wrap {
    width: 100%;
    height: calc(100% - 40em);
  }
  .loc_txt_ul {
    padding-top: 4rem;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .loc_txt_ul li {
    width: calc(50% - 1rem);
    padding-left: 4rem;
  }
  .loc_txt_ul li:not(:last-child) {
    border-bottom: unset;
    padding-bottom: unset;
  }
  .loc_txt_ul li::before {
    left: 0;
    height: calc(100% - 4rem);
  }
  .loc_txt_ul li:last-child::before {
    height: calc(100% - 4rem);
  }
}

@media screen and (max-width: 768px) {
  .loc_map_wrap {
    background-position: center;
  }

  .m_fix_menu {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .m_fix_menu .link_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .m_fix_menu .link_box a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 1rem 0.6rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    color: #fff;
    word-break: keep-all;
    background: var(--m_color);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .m_fix_menu .link_box a:nth-child(odd) {
    background: var(--m_color);
    color: #fff000;
  }

  .m_fix_menu .link_box a:nth-child(even) {
    background: var(--m_color);
    color: #fff000;
  }
  
}

@media screen and (max-width: 425px) {
  .sec_loc_wrap {
    padding-right: 0;
  }
  .loc_map_wrap {
    height: calc(100% - 20em);
  }
  .loc_txt_wrap {
    padding: 0 0 0 var(--rel_padding);
    width: 100%;
  }
  .loc_txt_ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start; /* 스와이퍼 기준점이 오른쪽으로 밀리는 문제 핵심 원인 해결 */
    height: 13em;
  }
  .loc_txt_ul li {
    width: 100%;
    padding-left: 2rem;
  }
  .loc_txt_ul li::before {
    left: 0;
    height: 100%;
  }
  .loc_txt_ul li:last-child::before {
    height: 100%;
  }

  .loc_map_wrap {
    position: relative;
    cursor: pointer;
  }
  .loc_map_wrap::after {
    content: "터치하여 지도를 확대해서 볼 수 있습니다.";
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.8rem;
    border-radius: 4rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e1e1e;
    pointer-events: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
  }
}

/* =============== 프리미엄 섹션 =============== */
.premium .sec_title {
  padding-left: 3rem;
}
.sec_title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 4rem;
}
.sec_title img {
  height: 6.5em;
}
.sec_title_txt {
  font-size: 3.6rem;
  color: var(--m_color);
  font-family: "Hamchorom";
}
.premium_wrap {
  width: auto;
  height: 100%;
  padding-top: 8rem;
  margin: 0 calc(var(--rel_padding) - 10rem);
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.premium_swiper {
  width: 100%;
  overflow: visible; /* 오른쪽 화면 밖으로 이어진 슬라이드들이 보이게 함 */
}
.premium_swiper .swiper-wrapper {
  align-items: flex-start; /* 높이가 다른 슬라이드들을 상단 정렬 */
}
.premium_swiper .premium_item {
  width: 40rem;
  height: 53rem;
  flex-shrink: 0;
  margin-right: 2rem;
  position: relative;
  flex-direction: column;

  /* 위치와 절단면을 컨트롤하는 CSS 변수 세팅 */
  --crop-h: 0rem;
  --img-y: calc(var(--crop-h) * -1); /* 기본 i_bottom (깎이는 만큼 위로 당김) */
}
/* 클래스별 CSS 변수 연산 (위치 조정) */
.premium_swiper .premium_item.i_center {
  --img-y: calc(var(--crop-h) * -0.5); /* 깎이는 높이의 절반만 위로 당김 */
}
.premium_swiper .premium_item.i_top {
  --img-y: 0rem; /* 끌어올리지 않고 천장에 고정 */
}

/* 애니메이션 및 마스킹을 전담하는 이미지 래퍼 */
.premium_swiper .premium_item_img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;

  /* GPU 메모리를 폭파시키지 않는 안전한 하드웨어 가속 */
  backface-visibility: hidden;

  /* 부모로부터 상속받은 변수대로 동작합니다 */
  transition: clip-path 0.4s ease-in-out;
  clip-path: inset(0 0 var(--crop-h) 0);
}

.premium_swiper .premium_item_img img {
  width: 100%;
  height: 53rem;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transition: transform 0.4s ease-in-out;
  /* CPU 오버헤드 없이 변수에 저장된 값으로만 GPU 렌더링 */
  transform: translateY(var(--img-y));
}
.premium_swiper .premium_item:last-child {
  margin-right: 0;
}

/* 1. 현재 화면의 첫 번째(활성) 슬라이드는 무조건 31rem 효과 (22rem 자름) */
.premium_swiper .premium_item.swiper-slide-active {
  --crop-h: 22rem;
}

/* 2. 화면에 보이는 기준 3, 5, 7, 9번째 슬라이드들은 41rem 효과 (12rem 자름) */
/* 성능 저하(스와이프 렉)를 유발하는 :has 대신, 60fps를 가볍게 방어하는 형제 선택자(+)만 사용합니다. */
.premium_swiper .premium_item.swiper-slide-active + * + .premium_item,
.premium_swiper .premium_item.swiper-slide-active + * + * + * + .premium_item,
.premium_swiper
  .premium_item.swiper-slide-active
  + *
  + *
  + *
  + *
  + *
  + .premium_item,
.premium_swiper
  .premium_item.swiper-slide-active
  + *
  + *
  + *
  + *
  + *
  + *
  + *
  + .premium_item {
  --crop-h: 12rem;
}
.premium_item_txt {
  position: absolute;
  height: calc(100% - 31rem);
  bottom: 0;
  width: 100%;
  padding: 3rem 0 0 4rem;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.premium_swiper .premium_item.swiper-slide-active .premium_item_txt {
  opacity: 1;
}
.premium_item_num {
  display: inline-block;
  color: var(--m_color);
  font-family: "Hamchorom";
  font-size: 2.4rem;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  margin-bottom: 1rem;
}
.premium_item_title {
  font-size: 2rem;
  color: #111;
  font-weight: 700;
  margin-bottom: 2rem;
}
.premium_item_con {
  font-size: 1.6rem;
  color: #888;
  font-weight: 400;
  line-height: 1.3;
}

/* 프리미엄 자동 진행 컨트롤러 (텍스트 아래 배치) */
.premium_controller {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 4rem; /* 슬라이드(텍스트)와 간격 */
  padding-left: 4rem; /* 활성 슬라이드의 텍스트 패딩과 동일선상 */
  position: absolute;
  bottom: 0;
}
.premium_controller span {
  font-size: 1.4rem;
  font-weight: 400;
  color: #333;
}
.premium_controller .ctrl_curr {
  color: var(--m_color);
}
.premium_controller .ctrl_total {
  color: #999;
}
.premium_controller .ctrl_progress {
  width: 15rem;
  height: 0.2rem;
  background-color: #ddd;
  position: relative;
  overflow: hidden;
}
.premium_controller .ctrl_fill {
  width: 0%;
  height: 100%;
  background-color: var(--m_color);
  position: absolute;
  top: 0;
  left: 0;
}
@media (max-width: 1440px) {
  .premium_wrap {
    margin-left: var(--rel_padding);
  }
}
@media (max-width: 430px) {
  .sec_title {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .sec_title_txt {
    font-size: 2rem;
  }
}

/* ==== UNIT ==== */
.unit {
  background-color: var(--m_color);
  padding: 0 var(--rel_padding);
  position: relative;
}
.unit_wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.unit::after {
  position: absolute;
  content: "";
  width: 57.2rem;
  height: 42.5rem;
  background-image: url(../img/leaf.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  left: 0;
  bottom: -8rem;
}
.unit_wrap .sec_title_txt {
  color: #b4c1e6;
}
.sec_title {
  margin-bottom: 2rem;
}
.sec_con {
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 4rem;
}
.sec_btn_wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: fit-content;
}
.btn {
  display: inline-flex;
  padding: 2rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease-in-out;
  font-weight: bold;
}
.btn img {
  width: 2.8rem;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease-in-out;
}
.btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.btn.active {
  background-color: #fff;
  color: #5862ad;
}
.btn.active img {
  filter: unset;
}
/* UNIT INFO */
.unit_info_box {
  display: none;
  gap: 6rem;
  min-width: 93.145rem;
}
.unit_info_box:first-child {
  display: flex;
}
.unit_info_left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 27rem;
}
.type_badge {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}
.badge_num {
  padding: 1.6rem 2rem;
  background-color: #5759a6;
  color: #fff;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: bold;
  display: inline-block;
  border-radius: 1rem 0 1rem 0;
  min-width: 2.5em;
}
.badge_text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.badge_text p:nth-child(1) {
  font-family: "Hamchorom";
  font-size: 2rem;
  font-weight: bold;
}
.badge_text p:nth-child(2) {
  font-size: 1.4rem;
  font-weight: 400;
}

.badge_text p:nth-child(2) b {
  font-size: 1.8rem;
  font-weight: 700;
}
.type_desc {
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.5;
  width: 0;
  white-space: nowrap;
}
.type_desc b {
  font-weight: 700;
}
.type_visual {
  height: 19rem;
}
.type_visual img {
  max-height: 100%;
}
.unit_info_right {
  min-width: 66rem;
}
.unit_info_right_img {
  width: 47.4rem;
  height: 47.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #515f83;
  border-radius: calc(1px / 0);
}
.unit_info_right_img img {
  max-width: 90%;
}
.unit_info_right {
  display: flex;
  align-items: flex-end;
  gap: 6rem;
}
.unit_info_txt .unit_info_txt:not(:last-child) {
  margin-bottom: 2rem;
}
.unit_info_txt dd {
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #fff;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
}
.unit_info_txt dt {
  font-size: 2.2rem;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1440px) {
  .unit::after {
    left: -23rem;
  }
}
@media (max-width: 1440px) {
  .unit_info_left {
    flex-direction: row;
  }
  .unit_info_box:first-child {
    flex-direction: column;
  }
  .type_badge {
    margin-bottom: unset;
  }
  .type_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10rem;
  }
  .type_desc {
    width: auto;
  }
  .unit_info_right {
    justify-content: space-between;
  }
  .unit_info_box {
    min-width: 80rem;
  }
}
@media (max-width: 768px) {
  .unit_wrap {
    flex-direction: column;
  }
  .unit_flex_inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .sec_btn_wrap {
    flex-direction: row;
    flex: 1;
    justify-content: flex-end;
  }
  .sec_con {
    margin-bottom: unset;
  }
  .unit .sec_title {
    margin-bottom: unset;
  }
  .unit_info_box {
    min-width: unset;
    width: 100%;
  }
  .unit::after {
    display: none;
  }
}

@media (max-width: 425px) {
  .unit .sec_title_txt {
    display: none;
  }
  .unit_wrap {
    gap: 4rem;
    padding-top: 6rem;
  }
  .unit_flex_inner {
    margin-bottom: unset;
  }
  .unit_info_box {
    flex-direction: column !important;
  }
  .type_visual {
    display: none;
  }
  .unit_flex_inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .sec_btn_wrap {
    width: 100%;
    justify-content: flex-start;
  }
  .sec_con {
    margin-top: 1.4rem;
  }
  .unit_info_right {
    min-width: unset;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .unit_info_right_img {
    width: 60vw;
    height: 60vw;
  }
  .unit_info_txt {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .type_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .type_desc br {
    display: none;
  }
  .unit_info_box {
    gap: 2rem;
  }
}
/* CONTACT */
.contact_wrap {
  padding-top: 7rem;
}
.contact {
  background-image: url(../img/contact_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}
.contact_title {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  height: 4em;
}
.map_wrap {
  width: 62rem;
}
.contact_txt_wrap {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.contact_flex_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10rem;
}
.contact_txt_wrap dl {
  margin-bottom: 1rem;
}
.contact_btn_wrap {
  display: flex;
  gap: 2rem;
}
@media (max-width: 768px) {
  .contact_wrap {
    padding-top: 13rem;
  }
  .contact_flex_wrap {
    flex-direction: column;
    gap: 2rem;
  }
  .map_wrap {
    width: 52rem;
  }
}
@media (max-width: 430px) {
  .map_wrap {
    width: 90%;
  }
}
/* footer */
.footer {
  background-color: var(--m_color);
}
.footer_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 11rem;
}
.footer_logo_wrap {
  width: 23rem;
  filter: brightness(0) invert(1);
}
.footer_logo_right_wrap {
  display: flex;
  gap: 2rem;
}
.footer_logo_right_wrap dl {
  gap: 1rem;
}
.footer_logo_right_wrap dt {
  height: 2rem;
}
.footer_logo_right_wrap dt img {
  max-height: 100%;
}
.footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer_bottom ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer_bottom li {
  font-size: 1.3rem;
  color: #ddd;
  font-weight: 400;
  list-style-type: "※ ";
  list-style-position: outside;
  word-break: keep-all;
}
.copyright p {
  font-size: 1.3rem;
  color: #ddd;
  font-weight: 400;
}
.footer_bottom_info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.company_info p {
  font-size: 1.3rem;
  color: #ddd;
  font-weight: 400;
}

@media (max-width: 430px) {
  .footer_top {
    align-items: flex-start;
    height: auto;
    flex-direction: column;
    padding: 4rem 0;
    gap: 2rem;
  }
  .footer_bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2rem;
  }
  .footer_bottom_info {
    align-items: flex-start;
    width: 100%;
  }
}
/* =============== 모바일 테블릿 지도 확대 모달 =============== */
.map_zoom_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.map_zoom_dim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}
.map_zoom_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  height: 85%;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}
.btn_map_close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 4rem;
  height: 4rem;
  background: var(--m_color);
  border: none;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}
.btn_map_close::before,
.btn_map_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.btn_map_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.btn_map_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map_zoom_scroll_area {
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #f0f0f0;
}
.map_zoom_scroll_area img {
  width: 250%; /* 가로 강제 확장 */
  max-width: none;
  display: block;
}
.map_zoom_guide {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.8rem 1.8rem;
  border-radius: 3rem;
  font-size: 1.4rem;
  pointer-events: none;
  white-space: nowrap;
  animation: mapGuideFade 2.5s forwards;
}
@keyframes mapGuideFade {
  0% {
    opacity: 1;
    bottom: -2rem;
  }
  20% {
    opacity: 1;
    bottom: 2rem;
  }
  70% {
    opacity: 1;
    bottom: 2rem;
  }
  100% {
    opacity: 0;
    bottom: 2rem;
  }
}

/* =============== 관심고객등록 iframe 모달 =============== */
.customer_reg_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.customer_reg_dim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}
.customer_reg_content {
  position: absolute;
  padding: 1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  height: 80%;
  max-height: 900px;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}
.customer_reg_content iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.btn_customer_close {
  position: absolute;
  top: -1.5rem; /* iframe 안에 들어가면 닫기버튼이 컨텐츠를 가리므로 여백 조정가능하나 내부로 맞춤 */
  top: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--m_color);
  border: none;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}
.btn_customer_close::before,
.btn_customer_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.8rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.btn_customer_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.btn_customer_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 430px) {
  .intro {
    background-image: url(../img/cg_mo.jpg);
  }
  .intro_title_wrap {
    top: 52%;
  }
  .intro_obj_wrap {
    top: auto;
    bottom: 12%;
    transform: none;
  }
  /* 사업개요 한눈에 보이도록 디자인 조정 */
  .overview_wrap {
    padding-top: 13rem;
    justify-content: flex-start;
  }
  .overview_logo_wrap {
    width: 14rem;
    margin-bottom: 2rem;
  }
  .overview_inner_wrap {
    overflow: visible;
    padding: 0 var(--rel_padding);
    gap: 0;
  }
  .overview_flex_wrap {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    animation: none !important; /* 모바일 슬라이드 애니메이션 해제 */
  }
  .overview_flex_wrap dl {
    height: auto;
    min-height: 8rem;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .overview_flex_wrap dl dd {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    border-bottom-width: 1px;
    padding-bottom: 0.2rem;
  }
  .overview_flex_wrap dl dt {
    font-size: 1.2rem;
    line-height: 1.4;
  }
  .scroll_guide_overlay {
    display: none !important;
  }
}

/* 768px 이하 모바일 헤더 적용 */
@media screen and (max-width: 768px) {
  .header {
    height: 7rem;
  }
  .header .logo_wrap {
    width: 18rem;
  }
  .header .menu_wrap,
  .header .call_wrap {
    display: none;
  }
  .btn_m_menu {
    display: block;
  }
  .btn_m_call {
    display: block;
    width: 2.8rem;
    height: 2.8rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%23111'%3E%3Cpath d='M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65.5 58.5T524-280l91-91q9-9 21-12.5t26 1.5l145 31q13 2 22.5 12.5T840-312v152q0 18-12 30t-30 12ZM268-600l68-68v-92h-82q5 44 14 160Zm332 332q116 9 160 14v-82l-68-68-92 136Zm-332-332Zm332 332Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 101;
  }
}

/* 모바일 메뉴 컨테이너 레이아웃 */
.m_menu_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s ease-in-out;
}
.m_menu_container.active {
  visibility: visible;
  pointer-events: auto;
}
.m_menu_dim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.m_menu_container.active .m_menu_dim {
  opacity: 1;
}
.m_menu_content {
  position: absolute;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background-color: #fff;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: -1rem 0 3rem rgba(0, 0, 0, 0.1);
}
.m_menu_container.active .m_menu_content {
  right: 0;
}
.btn_m_menu_close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: none;
  border: none;
  cursor: pointer;
}
.btn_m_menu_close::before,
.btn_m_menu_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  background-color: #111;
}
.btn_m_menu_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.btn_m_menu_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.m_menu_logo {
  width: 16rem;
  margin-bottom: 6rem;
}
.m_menu_logo img {
  max-width: 100%;
}
.m_menu_list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.m_menu_list a {
  font-size: 2.22rem;
  color: #111;
  font-weight: 700;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
}
.m_menu_list a.on {
  color: var(--m_color);
}
.m_menu_list a.on::after {
  content: "";
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--m_color);
  border-radius: 50%;
}
.m_btn_reg {
  color: var(--m_color) !important;
}
.m_menu_footer {
  margin-top: auto;
  padding-top: 4rem;
  border-top: 1px solid #eee;
}
.m_menu_call {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.m_menu_call span {
  font-size: 1.4rem;
  color: #888;
}
.m_menu_call b {
  font-size: 2.4rem;
  color: var(--m_color);
  font-weight: 800;
}

/* =============== 모바일 관심고객 버튼 위치 보정 =============== */
@media screen and (max-width: 768px) {
  .intro_obj_wrap {
    right: var(--rel_padding);
    left: auto;
    top: auto;
    bottom: calc(18rem + 2vh + env(safe-area-inset-bottom));
    transform: none;
    z-index: 30;
    align-items: flex-end;
  }

  .btn_intro_obj {
    width: 9rem;
    height: 9rem;
  }

  .btn_intro_obj::before {
    width: 9rem;
    height: 9rem;
  }

  .btn_intro_obj::after {
    width: 16rem;
    height: 16rem;
  }

  .m_fix_menu .link_box a {
    box-sizing: border-box;
    min-height: 5.2rem;
    padding: 0.8rem 0.6rem;
  }
}

@media screen and (max-width: 430px) {
  .intro_obj_wrap {
    right: var(--rel_padding);
    left: auto;
    top: auto;
    bottom: calc(17rem + 2vh + env(safe-area-inset-bottom));
    transform: none;
    align-items: flex-end;
  }
}
