/* ==========================================================================
   Header - 헤더 (화이트 에디토리얼)
   - 기본: 투명 배경 + 화이트 로고/메뉴 (사진 섹션 위)
   - .on: 화이트 배경 + 블랙 타이포 (라이트 섹션·서브페이지)
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

#header h1 {
  display: flex;
  align-items: center;
  font-size: 3.2rem;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;

  flex: 0 0 auto;
  min-width: 21rem;
  height: 8rem;
}

#header h1.on {
  position: fixed;
  z-index: 1001;
}

/* rem 기반 크기 + contain — 반응형 폰트 스케일(clamp)에서도 로고가 박스에 항상 맞고 잘리지 않음 */
#header h1 a {
  display: block;
  width: 21rem;
  height: 4rem;

  background: url(../images/logo2_w_new.svg) no-repeat left center;
  background-size: contain;
}

#header h1.on a,
#header.on h1 a {
  background: url(../images/logo2_new.svg) no-repeat left center;
  background-size: contain;
}

#header .hd_wrap {
  position: relative;
  z-index: 999;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.4rem;
  margin: 0 8rem;
  height: 8rem;
}

#header .adm {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: 4.8rem;
}

#header .adm a {
  white-space: nowrap;
  color: var(--white-color);
  font-size: 1.2rem;
}

#header .adm .icon {
  width: 1.6rem;
  height: 1.6rem;
  stroke: var(--white-color);
  stroke-width: 1.5;
  vertical-align: -2px;
  margin-right: 8px;
}

#header.on .adm a {
  color: var(--body-color);
}

#header.on .adm .icon {
  stroke: var(--body-color);
}

#header .tel {
  color: var(--white-color);
  font-size: 1.3rem;
  font-family: var(--eng-font);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

#header .tel strong {
  font-size: 2.4rem;
  font-weight: 500;
  font-family: var(--eng-font);
  letter-spacing: 0.05em;
  vertical-align: -2px;
  margin-left: 1.6rem;
}

#header.on .tel {
  color: var(--body-color);
}

#header .gnb_container {
  display: flex;
  flex: 1;
}

#header .gnb {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header .gnb > ul {
  display: flex;
}

#header .gnb > ul > li > a {
  position: relative;
  display: block;
  font-size: 1.7rem;
  font-weight: 400;
  font-family: var(--eng-font);
  line-height: 8rem;
  text-transform: uppercase;
  color: var(--white-color);

  padding: 0 2.4rem;

  white-space: nowrap;
}

#header.on .gnb > ul > li > a {
  color: var(--body-color);
}

/* 메뉴 밑줄 인디케이터 */
#header .gnb > ul > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 0;
  height: 1px;
  background: var(--point-color);
  transition: width 0.3s;
}

#header .gnb > ul > li:hover > a::after,
#header .gnb > ul > li:focus-within > a::after {
  width: calc(100% - 4.8rem);
}

#header .gnb > ul > li {
  position: relative;
}

/* 드롭다운 — 화이트 패널 + 얇은 라인 */
#header .gnb > ul > li ul {
  position: absolute;
  top: auto;
  left: 0;
  z-index: 3;

  transform: translate(0, 16px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line-color);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);

  overflow: hidden;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;
}

#header .gnb > ul > li:hover ul {
  transform: translate(0, 0);

  opacity: 1;
  visibility: visible;
}

#header .gnb > ul > li:focus-within ul {
  transform: translate(0, 0);
  opacity: 1;
  visibility: visible;
}

#header .gnb > ul > li ul li a {
  display: block;
  padding: 0 4rem 0 2.4rem;
  line-height: 4.4rem;
  white-space: nowrap;
  color: var(--muted-color);
  min-width: 20rem;

  font-size: 1.4rem;

  transition: 0.25s;
}

#header .gnb > ul > li ul li a:hover {
  background: var(--lightgray-color);
  color: var(--point-color);
}

#header .gnb > ul > li ul li ~ li a {
  border-top: 1px solid var(--line-color);
}

/* 콘텐츠 섹션 위에서의 헤더 상태 (fullpage onLeave에서 토글) — 화이트 */
#header {
  transition:
    background 0.6s,
    border-color 0.6s;
}

#header.on {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-color);
}

/* 1440px 이하 — 헤더 좌우 여백 축소 */
@media (max-width: 1440px) {
  #header .hd_wrap {
    margin: 0 1.6rem;
  }
}

/* ==========================================================================
   Mobile Menu Button - 모바일 메뉴 버튼
   ========================================================================== */
.mbtn {
  display: none;
}

@media (max-width: 1024px) {
  #top_bar {
    display: none;
  }

  .mbtn {
    display: flex;
    align-items: center;

    position: fixed;
    top: 2.4rem;
    right: 1.6rem;
    z-index: 1002;

    width: 32px;
    height: 32px;

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line-color);
    border-radius: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0;
  }

  .mbtn::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--body-color);
  }

  .mbtn.on::before {
    display: none;
  }

  .mbtn::after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--body-color);
  }

  .mbtn.on::after {
    display: none;
  }

  .mbtn span::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--body-color);
  }

  .mbtn.on span::before {
    transform: rotate(45deg);
  }

  .mbtn span::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--body-color);
  }

  .mbtn.on span::after {
    transform: rotate(-45deg);
  }

  #header .hd_wrap {
    height: 8rem;
    margin: 0 1.6rem;
  }
  #header.on .hd_wrap {
    height: 8rem;
  }

  #header .tel {
    display: none;
  }

  #header.scr {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-color);
  }

  #header.scr h1 a {
    display: block;
    background: url(../images/logo.svg) no-repeat left center/contain;
  }

  /* 모바일 전체 메뉴 — 화이트 패널 */
  #header .gnb_container {
    position: fixed;
    top: 0;
    left: -200%;
    z-index: 1000;

    width: 100%;
    height: 200vh;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.98);

    border-top: 0px solid transparent;
    border-bottom: 0px solid transparent;
  }

  #header .gnb_container.on {
    left: 0;
  }

  #header .gnb {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0rem;
    padding: 12rem 1.6rem 0 1.6rem;

    width: calc(100vw);
    height: 100vh;
    background: var(--white-color);
  }

  #header .gnb > ul {
    display: flex;
    flex-direction: column;
    gap: 0;

    border-top: 1px solid var(--primary-color);
  }

  #header .gnb > ul > li > a {
    line-height: 5.6rem;
    border-bottom: 1px solid var(--line-color);
    color: var(--body-color);
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    padding: 0 0 0 1.6rem;
  }

  #header .gnb > ul > li > a::after {
    display: none;
  }

  #header.on .gnb > ul > li > a {
    line-height: 5.6rem;
    padding: 0 0 0 1.6rem;
    color: var(--body-color);
  }

  #header .gnb > ul > li {
    position: relative;
  }

  #header .gnb > ul > li ul {
    position: static;
    top: 12rem;
    left: 50%;
    z-index: 3;

    transform: translate(0, 0);
    background: var(--lightgray-color);
    border: 0 solid transparent;
    border-top: 1px solid var(--line-color);

    box-shadow: 0 0 0 rgba(0, 0, 0, 0);

    opacity: 1;
    visibility: visible;

    transition: none;

    display: none;
  }

  #header .gnb > ul > li:hover ul {
    transform: translate(0, 0);

    opacity: 1;
    visibility: visible;

    display: none;
  }

  #header .gnb > ul > li:focus-within ul {
    transform: translate(0, 0);

    opacity: 1;
    visibility: visible;

    display: none;
  }

  #header .gnb > ul > li ul li a {
    display: block;
    padding: 0 0 0 1.6rem;
    line-height: 4rem;
    white-space: nowrap;
    color: var(--muted-color);
    background: var(--lightgray-color);
  }

  #header .gnb > ul > li ul li ~ li a {
    border-top: 0px solid transparent;
  }

  #header .gnb > ul > li ul li a {
    border-bottom: 1px solid var(--line-color);
  }

  #header .adm {
    order: -1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;

    margin-left: 0;

    color: var(--body-color);
    padding: 2.4rem 0;

    font-size: 1.2rem;
  }

  #header.on .adm {
    color: var(--body-color);
  }

  #header .adm a {
    color: var(--body-color);
  }

  #header .adm .icon {
    width: 2.4rem;
    height: 2.4rem;
    stroke: var(--body-color);
    stroke-width: 1.5;
  }
}

/* ==========================================================================
   Sub Title - 서브페이지 타이틀 (풀 블리드 슬림 이미지 밴드)
   ========================================================================== */
.sub_title {
  position: relative;

  background-color: var(--secondary-color);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-transform: uppercase;

  color: var(--white-color);
  overflow: hidden;

  min-height: 44rem;
}

/* 다크 오버레이 — 은은한 그라데이션 + 패턴 */
.sub_title::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.4)
  );
}

.sub_title::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  z-index: 3;
  background: url(../images/pt-bg01.png);
}

/* 우하단 고스트 타이포그래피 — 화면 밖으로 살짝 잘려나가는 초대형 영문 라벨 */
.sub_title .ghost {
  position: absolute;
  right: -0.05em;
  bottom: -0.18em;
  left: auto;
  transform: none;
  z-index: 3;

  font-family: var(--display-font);
  font-size: 20rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;

  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;

  animation: sub_ghost_in 1.2s 0.2s both;
}

@keyframes sub_ghost_in {
  0% {
    transform: translate(4rem, 0);
    opacity: 0;
  }

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

.sub_title .title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);

  width: calc(100% - 4.8rem);
  max-width: 141rem;
  text-align: center;
  margin-bottom: 0;
}

.sub_title .title h2 {
  font-size: 4rem;
  font-family: var(--serif-font);
  font-weight: 400;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  color: var(--white-color);
}

.sub_title .title h2::after {
  content: "";
  display: block;
  margin: 2.4rem auto;
  width: 4.8rem;
  height: 1px;
  background: var(--white-color);
}

.sub_title .title p {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.85;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .sub_title {
    min-height: 36rem;
    margin: 0 0;
  }

  .sub_title .ghost {
    font-size: 9.6rem;
    bottom: -0.12em;
  }

  .sub_title .title {
    margin: 0 0;
    padding: 0 1.6rem;
    width: 100%;
  }

  .sub_title .title h2 {
    font-size: 2.8rem;
  }
}

/* ==========================================================================
   Sub Navigation - 서브 네비게이션 (LNB)
   ========================================================================== */

/* 헤더 메뉴 라인(양쪽 8rem)과 폭 정렬 */
#sub_nav {
  position: relative;
  max-width: none;
  margin: -2.8rem 8rem 9.6rem;
  padding: 0;
}

/* Sub Navigation (nb) - 화이트 미니멀 바 */
.sub_nav {
  position: relative;
  z-index: 5;
  padding: 0.8rem 2.4rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line-color);
  border-radius: 0;
  text-align: right;

  line-height: 4rem;
  display: flex;
  justify-content: space-between;
}

.sub_nav .lnb {
  display: flex;
}

.sub_nav .h {
  position: relative;
  z-index: 4;
  flex: 0 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub_nav .h .icon {
  width: 1.6rem;
  height: 1.6rem;
  stroke: var(--body-color);
  stroke-width: 1.5;
}

#subBar {
  position: relative;
  z-index: 4;
  display: flex;
  white-space: nowrap;
}

#subBar > * {
  position: relative;
  flex: 1;
  min-width: 24rem;
  text-align: left;
}

#subBar > div > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--body-color);
  font-size: 1.7rem;
}

#subBar > div > a::after {
  content: "";
  width: 14px;
  height: 14px;
  background: url(../lib/icon/chevron-down.svg) no-repeat center center/14px;
  opacity: 0.6;
}

#subBar > div > a.on::after {
  content: "";
  width: 14px;
  height: 14px;
  background: url(../lib/icon/chevron-up.svg) no-repeat center center/14px;
}

#subBar a {
  display: block;
  line-height: 4rem;
  padding: 0 2.4rem;
}

#subBar .d1 ul {
  position: absolute;
  top: 34px;
  left: -1px;
  right: -1px;
  border: 1px solid var(--line-color);
  transform: translate(0, 0.8rem);
  border-radius: 0;
  overflow: hidden;
  background: var(--white-color);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  display: none;
}

#subBar .d2 ul {
  position: absolute;
  top: 32px;
  left: -1px;
  right: -1px;
  border: 1px solid var(--line-color);
  transform: translate(0, 0.8rem);
  border-radius: 0;
  overflow: hidden;
  background: var(--white-color);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  display: none;
}

#subBar ul a {
  border-top: 1px solid var(--line-color);
  background: var(--white-color);
  color: var(--muted-color);
  font-size: 1.4rem;
  transition: 0.25s;
}

#subBar ul a:hover {
  color: var(--point-color);
}

.sub_nav .lnb ul {
  display: flex;
  justify-content: flex-end;
  gap: 0;
}

.sub_nav .lnb ul a {
  display: block;
  background: var(--white-color);
  color: var(--muted-color);

  white-space: nowrap;

  padding: 0 4rem;
  transition: 0.25s;
}

.sub_nav .lnb ul a:hover {
  color: var(--body-color);
}

.sub_nav .lnb ul li.on a {
  border-top: 2px solid var(--point-color);
  margin-top: -2px;
  color: var(--body-color);
  font-weight: 500;
}

.sub_nav .navigation {
  font-size: 1.3rem;
  font-family: var(--eng-font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-left: 1.6rem;
}

.sub_nav .navigation .icon {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--darkgray-color);
  stroke-width: 1.5;
  vertical-align: -1px;
  margin: 0 0.4rem;
}

@media (max-width: 1440px) {
  #sub_nav {
    margin: -2.8rem 1.6rem 9.6rem;
  }
}

@media (max-width: 1024px) {
  .sub_nav .navigation {
    display: none;
  }
}

@media (max-width: 768px) {
  .sub_nav {
    padding: 0.8rem 1.6rem;
  }
  .sub_nav .lnb {
    flex: 1;
  }
  #subBar {
    flex: 1;
  }
  #subBar .d1 {
    display: none;
  }
  #subBar .d2 ul {
    top: 28px;
    border: 0px solid transparent;
  }

  .sub_nav .navigation {
    display: none;
  }
}

/* ==========================================================================
   Sub Content - 서브 콘텐츠 영역
   ========================================================================== */
.sub_content {
  margin-top: 8rem;
  margin-bottom: 16rem;
  background: var(--white-color);
}

.sub_content .page_title {
  margin-bottom: 4rem;
}

.sub_content .page_title h3 {
  position: relative;
  padding: 1.6rem 0;
  white-space: nowrap;
}

.sub_content .page_title h3::before {
  content: "";
  display: block;
  margin-bottom: 2.4rem;
  width: 4.8rem;
  height: 1px;
  background: var(--point-color);
}

.sub_content .page_title h3::after {
  display: none;
}

.sub_content .page_title h3 strong {
  font-size: 3.6rem;
  font-family: var(--serif-font);
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--body-color);
}

.sub_content .content p {
  font-size: 1.6rem;
  line-height: 1.9;
  opacity: 0.9;
}

.sub_content .content .sub_title_desc {
  font-family: var(--serif-font);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.025em;
  margin-bottom: 5.6rem;
  max-width: 88rem;
}

/* ==========================================================================
   Footer - 푸터 (화이트 3컬럼 그리드: 브랜드 / CS Center / Quick Link)
   ========================================================================== */
#footer {
  font-size: 1.4rem;
  background: var(--secondary-color);
}

/* 상단 CTA 영역은 메인 섹션(main_html/main_contact.html)으로 분리됨 */

/* 하단 정보 영역 — 화이트 3컬럼 그리드 (브랜드 / CS Center / Quick Link) */
#footer .ft_bottom {
  border-top: 1px solid var(--line-color);
  color: var(--muted-color);
}

#footer .ft_bottom a {
  color: var(--body-color);
  transition: 0.2s;
}

#footer .ft_bottom a:hover {
  color: var(--point-color);
}

#footer .ft_grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 6.4rem;
  padding-top: 8rem;
  padding-bottom: 6.4rem;
}

/* 컬럼 영문 라벨 */
#footer .col h3 {
  margin-bottom: 2rem;

  font-family: var(--eng-font);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--point-color);
}

/* 1열: 브랜드 · 사업자 정보 */
#footer .f_logo {
  margin-bottom: 3.2rem;
}

#footer .ft_brand .customer {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.2;
}

/* 2열: CS Center */
#footer .ft_cs .call {
  display: inline-block;
  font-family: var(--eng-font);
  font-size: 3.2rem;
  line-height: 1.2;
  color: var(--body-color);
  margin-bottom: 2rem;
}

#footer .ft_cs .info {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 1.6rem;
  border-top: 1px solid var(--line-color);
  padding-top: 1.6rem;
}

#footer .ft_cs .info li {
  display: flex;
  white-space: nowrap;
  line-height: 2.2;
}

#footer .ft_cs .info li span {
  flex: 0 0 6.4rem;
  font-family: var(--eng-font);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted-color);
  line-height: inherit;
}

#footer .ft_cs .time {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted-color);
}

/* 3열: 바로가기 · 패밀리 링크 */
#footer .ft_menu .ft_lnk {
  margin-bottom: 3.2rem;
  font-size: 1.4rem;
}

#footer .ft_menu .ft_lnk ul li {
  line-height: 2.4;
}

/* 하단 바: 카피라이트 */
#footer .ft_bar {
  border-top: 1px solid var(--line-color);
}

#footer .ft_bar .w_inner {
  display: flex;
  align-items: center;
  min-height: 6.4rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

#footer .ft_bar address {
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 300;
  font-family: var(--eng-font);
  color: var(--darkgray-color);
}

#family_link {
  position: relative;
  z-index: 5;
}

#family_link .f_link {
  position: relative;
  display: block;
  width: 16rem;
  height: 4rem;
  padding: 0 2.4rem;
  font-size: 1.2rem;
  font-family: var(--eng-font);
  letter-spacing: 0.15em;
  text-align: left;
  color: var(--muted-color);
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line-color);
  white-space: nowrap;
}

#family_link .f_link .icon {
  position: absolute;
  right: 0.8rem;
  top: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  stroke: var(--muted-color);
  stroke-width: 1;
}

#family_link .f_link.on .icon {
  transform: rotate(180deg);
}

#family_link ul {
  display: none;
  position: absolute;
  bottom: 4rem;
  width: 100%;
  margin-top: -1px;
  z-index: 2;

  border: 1px solid var(--line-color);
  background: var(--white-color);
  overflow: hidden;
}

#family_link ul > li > a {
  display: block;
  padding: 0 2.4rem;
  font-size: 1.3rem;
  line-height: 3.9rem;
  color: var(--muted-color);
}

#family_link ul > li ~ li > a {
  border-top: 1px solid var(--line-color);
}

#family_link ul > li > a:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

@media (max-width: 1024px) {
  #footer .ft_grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 5.6rem;
    padding-bottom: 4.8rem;
  }

  #footer .f_logo {
    margin-bottom: 2.4rem;
  }

  #footer .ft_bar .w_inner {
    min-height: 5.6rem;
  }
}

/* SNS 아이콘 — 플랫 아웃라인 스퀘어 */
#sns_link {
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  #sns_link {
    text-align: left;
  }
}

#sns_link a {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  margin-right: 8px;

  width: 4rem;
  height: 4rem;

  border-radius: 0;

  background: transparent;
  color: var(--muted-color);

  font-size: 1.6rem;
  box-shadow: none;

  border: 1px solid var(--line-color);
  transition: all 0.3s ease;
}

#sns_link a img {
  filter: invert(0.5);
}

/* ==========================================================================
   Kakao Map - 카카오 지도
   ========================================================================== */
.root_daum_roughmap {
  width: 100% !important;
}

.root_daum_roughmap .cont {
  display: none;
}

.root_daum_roughmap .wrap_controllers {
  display: none;
}

.root_daum_roughmap .border2 {
  display: block !important;
}
@media (max-width: 768px) {
  .root_daum_roughmap .wrap_map {
    height: 240px !important;
  }
}

/* ==========================================================================
   Side Link - 사이드 플로팅 링크 (화이트 미니멀 바)
   ========================================================================== */
#side_lnk {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 100;

  transform: translate(0, 200%);

  opacity: 0;
  visibility: hidden;

  transition: 0.8s;
}

#side_lnk.on {
  bottom: 1.6rem;
  transform: translate(0, 0);
  opacity: 1;
  visibility: visible;
}

#side_lnk .lnk_wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;

  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-color);
  border-radius: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  padding: 0.8rem;
  margin-bottom: 0;
}

#side_lnk .lnk_wrap > a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.6rem;
  border-radius: 0;

  color: var(--body-color);
  white-space: nowrap;
  transition: 0.3s;
}

#side_lnk .lnk_wrap > a:hover {
  background: var(--lightgray-color);
  color: var(--point-color);
}

#side_lnk .lnk_wrap .icon {
  width: 1.8rem;
  height: 1.8rem;
  stroke: var(--body-color);
  stroke-width: 1.2;
}

#side_lnk .lnk_wrap > a span {
  display: block;
  font-size: 1.3rem;
}

#side_lnk .lnk_wrap > a.d_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  margin-left: 0.4rem;

  background: var(--primary-color);
  border-radius: 0;
  transition: background 0.3s;
}

#side_lnk .lnk_wrap > a.d_btn:hover {
  background: var(--point-color);
}

#side_lnk .lnk_wrap > a.d_btn .icon {
  stroke: var(--white-color);
  stroke-width: 1.5;
}

#side_lnk .lnk_wrap > a.d_tel {
  display: none;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: 0;

  background: var(--point-color);
  border-radius: 0;
}

#side_lnk .lnk_wrap > a.d_tel .icon {
  stroke: var(--white-color);
  stroke-width: 1.5;
}

@media (max-width: 768px) {
  #side_lnk .lnk_wrap > a:not(.d_tel):not(.d_btn) {
    display: none;
  }

  #side_lnk .lnk_wrap > a.d_tel {
    display: flex;
  }
}

/* PC(769px+) — 하단 퀵링크 바 대신 우측 라인에 TOP 버튼만 노출 */
@media (min-width: 769px) {
  #side_lnk {
    left: auto;
    right: 4rem;
    bottom: 4rem;
    transform: translate(0, 200%);
  }

  #side_lnk.on {
    bottom: 4rem;
    transform: translate(0, 0);
  }

  /* 캡슐 배경 제거 — 단독 스퀘어 버튼 */
  #side_lnk .lnk_wrap {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
  }

  /* 링크·전화 숨기고 TOP(d_btn)만 */
  #side_lnk .lnk_wrap > a:not(.d_btn) {
    display: none;
  }

  #side_lnk .lnk_wrap > a.d_btn {
    margin-left: 0;
    width: 4.8rem;
    height: 4.8rem;
  }

  #side_lnk .lnk_wrap > a.d_btn .icon {
    width: 2rem;
    height: 2rem;
  }
}

/* SNS Links - SNS 링크 (네이버/카카오) */
#side_lnk a.naver,
#side_lnk a.kakao {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 6.4rem;
  height: 6.4rem;
  margin-bottom: 1.6rem;
  background: var(--white-color);
  border: 1px solid var(--line-color);
  border-radius: 0;
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.06);

  line-height: 6.4rem;
  color: var(--body-color);
  font-size: 1.2rem;

  overflow: hidden;
  transition: all 0.3s;
}

#side_lnk a.naver::after,
#side_lnk a.kakao::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6.4rem;
  height: 6.4rem;
}

#side_lnk a.naver::after {
  background: url(../lib/images/sns_naver.png) no-repeat center center/3.2rem;
}

#side_lnk a.kakao::after {
  background: url(../lib/images/sns_kakao.png) no-repeat center center/3.2rem;
}

#side_lnk a.naver:hover::after {
  background: url(../lib/images/sns_naver_w.png) no-repeat center center/3.2rem;
}

#side_lnk a.kakao:hover::after {
  background: url(../lib/images/sns_kakao.png) no-repeat center center/3.2rem;
}

#side_lnk a.naver:hover,
#side_lnk a.kakao:hover {
  width: 22rem;
}

#side_lnk .kakao:hover {
  background: #fee500;
  color: #3c1e1e;
}

#side_lnk .naver:hover {
  background: #03c75a;
  color: #ffffff;
}

#side_lnk a.naver span,
#side_lnk a.kakao span {
  margin-left: 3.2rem;
  width: 0;

  font-size: 1.4rem;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.3s;
}

#side_lnk a.naver:hover span,
#side_lnk a.kakao:hover span {
  width: 16rem;
}

.s_lnk img {
  padding: 0.8rem;
  width: 2.8rem;
  height: auto;
  background: var(--primary-color);
  box-sizing: content-box;
  border-radius: 0;
}

.s_lnk {
  margin-bottom: 3.2rem;
}

/* ==========================================================================
   To Top Button - 상단 이동 버튼 (화이트 스퀘어)
   ========================================================================== */
.to_top {
  position: fixed;
  left: 50%;
  bottom: 18rem;
  z-index: 998;

  transform: translate(-50%, 0);

  max-width: calc(1610px + 160px);
  width: 100%;

  opacity: 0;
  visibility: hidden;

  transition: 0.5s;
}

.to_top button {
  position: absolute;
  right: 0;
  width: 4.4rem;
  height: 4.4rem;

  background: var(--white-color);
  border: 1px solid var(--line-color);
  color: var(--body-color);

  border-radius: 0;
  transition: 0.3s;
}

.to_top button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.to_top button svg {
  margin-top: 2px;
}

.to_top.on {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .to_top {
    position: fixed;
    left: auto;
    right: -1.6rem;
    bottom: 14rem;

    width: auto;
  }

  .to_top.on {
    right: 1.6rem;
  }
}

/* ==========================================================================
   Aside - 풀페이지 도트(라인) 내비게이션
   ========================================================================== */
#aside_l {
  position: fixed;
  top: 50%;
  right: 8rem;
  z-index: 99;

  transform: translate(0, -50%);

  mix-blend-mode: difference; /* 화이트/다크 섹션 모두에서 시인성 확보 */
}

@media (max-width: 1024px) {
  #aside_l {
    display: none !important;
  }
}

#aside_l .lnb li a {
  display: block;
  width: 2.4rem;
  height: 1px;
  margin-left: auto; /* 오른쪽 기준으로 길이 변화 */
  padding: 0.8rem 0; /* 1px 라인의 클릭 영역 확보 */
  font-size: 0;

  background: #8a8a8a;
  background-clip: content-box;
  box-sizing: content-box;

  transition: 0.4s;
}

#aside_l .lnb li a:hover {
  background-color: #ffffff;
}

#aside_l .lnb li.on a {
  width: 6.4rem;
  background-color: #ffffff;
}
