/* ==========================================================================
   HEADER — 오리지널 GNB 복원
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.4s;
}
#header.on,
#header.sub_hd {
  background: var(--white-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#header .hd_wrap {
  display: flex;
  align-items: flex-start;
  height: 9.6rem;
  transition: height 0.4s;

  max-width: 164rem;
}
#header h1 {
  position: relative;
  flex: 0 0 auto;
  font-size: 3.2rem;
  font-weight: 700;
  white-space: nowrap;
  user-select: none;
}
#header h1 a {
  display: block;
  width: 18rem;
  height: 9.6rem;
  background-image: url(../images/logo_w.svg), url(../images/logo_w.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

#header.on h1 a,
#header.sub_hd h1 a {
  background-image: url(../images/logo.svg), url(../images/logo.png);
}

#header .adm {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 9.6rem;
  font-size: 1.2rem;

  align-self: flex-start;
  color: var(--white-color);
}
#header .adm a {
  white-space: nowrap;
}
#header .adm .icon {
  vertical-align: -2px;
  margin-right: 8px;
  width: 1.6rem;
  height: 1.6rem;
  stroke: var(--white-color);
  stroke-width: 2px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#header.on .adm .icon,
#header.sub_hd .adm .icon {
  stroke: var(--text-color);
}
#header .adm span {
  display: none;
}
#header .gnb_container {
  display: flex;
  align-items: flex-start;
  margin-left: auto;
}
#header .gnb {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 8rem;
}
#header .gnb > ul {
  display: flex;
  height: 9.6rem;
  overflow: hidden;
}
#header .gnb:hover > ul {
  height: 36.4rem;
  transition: height 0.4s;
}
#header.on .gnb > ul::before,
#header.sub_hd .gnb > ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 0;
  opacity: 0;
  background: var(--white-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#header.on .gnb:hover > ul::before,
#header.sub_hd .gnb:hover > ul::before {
  height: 36.4rem;
  opacity: 1;
  transition: 0.3s;
}
#header .gnb > ul > li {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0);
}
#header .gnb > ul > li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0);
}
#header .gnb:hover > ul > li {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
#header .gnb:hover > ul > li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#header.on .gnb:hover > ul > li,
#header.sub_hd .gnb:hover > ul > li {
  position: relative;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}
#header.on .gnb:hover > ul > li:last-child,
#header.sub_hd .gnb:hover > ul > li:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
#header .gnb > ul > li:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
#header.on .gnb > ul > li:hover,
#header.sub_hd .gnb > ul > li:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025));
}
#header .gnb > ul > li > a {
  position: relative;
  display: block;
  text-align: center;
  font-size: 1.6rem;
  line-height: 9.6rem;
  text-transform: uppercase;
  padding: 0 2.4rem;
  color: var(--white-color);
  white-space: nowrap;
}

#header.on .gnb > ul > li > a,
#header.sub_hd .gnb > ul > li > a {
  color: var(--text-color);
}
#header .gnb > ul > li > a::after {
  content: "";
  position: absolute;
  top: 9.6rem;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, 0);
  width: 0;
  height: 1px;
  background: var(--point-color);
  transition: 0.3s;
}
#header .gnb > ul > li:hover > a::after {
  width: calc(100% - 6.4rem);
}
#header .gnb > ul > li {
  position: relative;
}
#header .gnb > ul > li ul {
  padding-top: 1.6rem;
}
#header .gnb > ul > li ul li a {
  display: block;
  padding: 0 3.2rem;
  line-height: 3.2rem;
  white-space: nowrap;
  text-align: center;
  font-size: 1.4rem;
  white-space: nowrap;
  color: var(--white-color);
}
#header.on .gnb > ul > li ul li a,
#header.sub_hd .gnb > ul > li ul li a {
  color: var(--text-color);
}
#header .gnb > ul > li ul li a:hover {
  color: var(--point-color);
}
@media (max-width: 1440px) {
  #header .gnb > ul > li ul li a {
    padding: 0 2.4rem;
  }
  #header .adm {
    margin-left: 4rem;
  }
}
.mbtn {
  display: none;
}
@media (max-width: 1024px) {
  .mbtn {
    display: flex;
    align-items: center;
    position: fixed;
    top: 3.2rem; /* (9.6rem 헤더 - 32px 버튼) / 2 */
    right: 1.6rem;
    z-index: 999;
    width: 32px;
    height: 32px;
    background: var(--lightgray-color);
    border: 1px solid var(--line-color);
    border-radius: 4px;
    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 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 9.6rem;
    transition: 0.4s;
  }

  #header h1.on a {
    background-image: url(../images/logo.svg), url(../images/logo.png);
  }
  #header.on {
    background: var(--white-color);
    border-bottom: 1px solid var(--line-color);
  }
  #header h1 {
    position: relative;
    z-index: 1000;
  }
  #header.on h1 a,
  #header.sub_hd h1 a {
    display: block;
    background-image: url(../images/logo.svg), url(../images/logo.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
  }
  #header .gnb_container {
    position: fixed;
    top: 0;
    left: -100vw;
    z-index: 999;
    flex-direction: column;
    width: 100%;
    height: 200vh;
    background: var(--white-color);
    padding: 8em 1.6rem 0 1.6rem;
  }
  #header .gnb_container.on {
    left: 0;
  }
  #header .gnb {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 4rem;
    width: 100%;
  }
  #header.on .gnb > ul::before,
  #header.sub_hd .gnb > ul::before {
    display: none;
    transition: none;
    opacity: 0;
  }
  #header.on .gnb:hover > ul::before,
  #header.sub_hd .gnb:hover > ul::before {
    height: 0;
    opacity: 0;
  }
  #header .gnb > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  #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.6rem;
    padding: 0 0 0 0.8rem;
    text-align: left;
  }
  #header.on .gnb > ul > li > a,
  #header.sub_hd .gnb > ul > li > a {
    line-height: 5.6rem;
    color: var(--body-color);
  }
  #header .gnb > ul > li {
    position: relative;
  }
  #header .gnb > ul {
    display: flex;
    height: 12rem;
    overflow: hidden;
    overflow: visible;
  }
  #header .gnb > ul {
    height: auto;
    border-top: 1px solid var(--primary-color);
  }

  #header .gnb > ul > li {
    position: relative;
    border-left: none;
  }
  #header .gnb > ul > li:last-child {
    border-right: none;
  }

  #header.on .gnb:hover > ul > li,
  #header.sub_hd .gnb:hover > ul > li {
    border-left: none;
  }
  #header.on .gnb:hover > ul > li:last-child,
  #header.sub_hd .gnb:hover > ul > li:last-child {
    border-right: none;
  }
  #header:hover .gnb > ul > li {
    position: relative;
    border-left: none;
  }
  #header:hover .gnb > ul > li:last-child {
    border-right: none;
  }
  #header .gnb > ul > li:hover {
    background: none;
  }
  #header.on .gnb > ul > li:hover,
  #header.sub_hd .gnb > ul > li:hover {
    background: none;
  }
  #header .gnb > ul > li:focus-within {
    background: none;
  }
  #header .gnb > ul > li ul {
    position: static;
    padding: 0 0;
    padding-top: 0;
    transform: translate(0, 0);
    background: var(--white-color);
    border: 0 solid var(--lightgray-color);
    opacity: 1;
    visibility: visible;
    transition: none;
    display: none;
  }
  #header .gnb > ul > li ul li a {
    display: block;
    padding: 0 0 0 0.8rem;
    line-height: 4rem;
    white-space: nowrap;
    background: var(--lightgray-color);
    color: var(--body-color);
    text-align: left;
  }
  #header .gnb > ul > li > a::after {
    display: none;
  }
  #header .gnb > ul > li ul li a {
    border-bottom: 1px solid var(--line-color);
  }
  #header .adm {
    order: -1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    align-self: stretch;
    margin-left: auto;
    margin-right: 0;
    height: 6.4rem;
    padding: 0 0;
    border-top: 0 solid var(--line-color);
    border-bottom: 0 solid var(--line-color);
  }
  #header .adm .icon {
    width: 2rem;
    height: 2rem;
    stroke-width: 1;
    stroke: var(--text-color);
  }
  #header .adm span {
    display: none;
  }
  #header .adm {
    color: var(--text-color);
  }
  #header.on .adm,
  #header.sub_hd .adm {
    color: var(--text-color);
  }
  #header:hover .adm {
    color: var(--text-color);
  }

  #header .adm .icon {
    stroke: var(--text-color);
  }
}
/* ==========================================================================
   SUB PAGE — 풀 와이드 슬림 이미지 밴드 + 이미지 위 타이틀
   ========================================================================== */
.sub_title {
  position: relative;

  margin-top: 9.6rem; /* 픽스드 헤더 높이 */
  background: var(--white-color);
  color: var(--white-color);

  overflow: hidden;
}

.sub_title::before {
  content: none;
}

/* 풀 블리드 이미지 */
.sub_title .st_photo {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sub_title .st_photo figure {
  position: absolute;
  inset: 0;
  overflow: hidden;

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

  filter: grayscale(0.35);
}

/* 패턴 + 다크 오버레이 — 우측(타이틀 쪽)으로 갈수록 진하게 */
.sub_title .st_photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.25) 30%,
      rgba(0, 0, 0, 0.45) 60%,
      rgba(0, 0, 0, 0.68)
    ),
    url(../images/pt-bg01.png);
}

/* 타이틀 — 이미지 위 오버레이 */
.sub_title .st_grid {
  position: relative;
  z-index: 4;
  max-width: var(--w-inner-size);
  margin: 0 auto;
  padding: 0 2.4rem;

  display: flex;
  align-items: flex-end; /* 타이틀 하단 배치 */
  justify-content: flex-end;

  min-height: 28rem;
  padding-bottom: 3.2rem;
}

.sub_title .title {
  position: relative;
  text-align: right;
}

/* 고딕(본문 폰트) 얇은 웨이트 */
.sub_title .title h2 {
  font-family: "pretendard", "Noto Sans KR", sans-serif;
  font-size: 4rem;
  font-weight: 100;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--white-color);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.sub_title .title p {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  margin-bottom: 1.6rem;

  font-family: "pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--white-color);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* 반응형 */
@media (max-width: 1024px) {
  .sub_title .st_grid {
    min-height: 24rem;
  }
}

@media (max-width: 768px) {
  .sub_title .st_grid {
    min-height: 19.2rem;
  }

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

/* ==========================================================================
   SUB NAV (LNB) — 좌측 LNB + 우측 브레드크럼 한 줄 정렬
   ========================================================================== */
.sub_nav {
  position: relative;
  border-bottom: 1px solid var(--line-color);
}

.sub_nav .snb_in {
  max-width: var(--w-inner-size);
  margin: 0 auto;
  padding: 0 2.4rem;

  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 4rem;
}

.sub_nav .lnb ul {
  display: flex;
  justify-content: flex-start;
  gap: 4rem;
}

.sub_nav .lnb ul li {
  position: relative;
}

.sub_nav .lnb ul a {
  display: flex;
  align-items: center;
  height: 6.4rem;
  white-space: nowrap;

  font-size: 1.6rem;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: 0.25s;
}

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

.sub_nav .lnb ul li.on a {
  color: var(--body-color);
  font-weight: 500;
  border-bottom: 1px solid var(--body-color);
}

.sub_nav .lnb > a {
  display: none;
}

/* 브레드크럼 — 우측 끝, LNB와 같은 라인 */
.sub_nav .navigation {
  display: flex;
  align-items: center;
  gap: 1.2rem;

  height: 6.4rem;

  font-family: var(--eng-font);
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--darkgray-color);
  white-space: nowrap;
}

.sub_nav .navigation i {
  font-style: normal;
  color: var(--line-color);
}

.sub_nav .navigation a {
  transition: color 0.25s;
}

.sub_nav .navigation a:hover {
  color: var(--point-color);
}

.sub_nav .navigation strong {
  font-weight: 500;
  color: var(--body-color);
}

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

@media (max-width: 768px) {
  .sub_nav {
    position: relative;
    z-index: 8;
    line-height: 5.6rem;
    background: var(--white-color);
    border-bottom: 1px solid var(--line-color);
  }

  .sub_nav .snb_in {
    display: block;
    padding: 0;
  }

  .sub_nav .lnb ul {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 8;
    padding: 0;
    flex-direction: column;
    gap: 0;

    background: var(--white-color);
    border-bottom: 1px solid var(--line-color);
    box-shadow: 0 24px 32px rgba(0, 0, 0, 0.06);
  }

  .sub_nav .lnb > a {
    position: relative;
    display: block;
    padding: 0 4rem 0 1.6rem;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--body-color);
  }

  .sub_nav .lnb > a::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 1.6rem;
    width: 14px;
    height: 14px;

    background: url(../lib/icon/chevron-down.svg) no-repeat center center/14px;
  }

  .sub_nav .lnb > a.on::after {
    background: url(../lib/icon/chevron-up.svg) no-repeat center center/14px;
  }

  .sub_nav .lnb ul li a,
  .sub_nav .lnb ul li.on a {
    display: block;
    height: auto;
    background: var(--white-color);
    color: var(--muted-color);
    white-space: nowrap;
    line-height: 4.8rem;
    padding: 0 1.6rem;
    border-bottom: 1px solid var(--line-color);
    text-align: left;
  }

  .sub_nav .lnb ul li.on a {
    color: var(--point-color);
  }
}

/* ==========================================================================
   SUB CONTENT
   ========================================================================== */
.sub_content {
  margin-top: 8.8rem;
  margin-bottom: 16rem;
}

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

.sub_content .page_title h3 {
  position: relative;
  text-align: left;
}

.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-family: var(--serif-font);
  font-size: 3.2rem;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--body-color);
}

@media (max-width: 768px) {
  .sub_content {
    margin-top: 6.4rem;
    margin-bottom: 9.6rem;
  }

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

  .sub_content .page_title h3 strong {
    font-size: 2.4rem;
  }
}

.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: 6.4rem;
  text-align: left;
  max-width: 88rem;
}

/* ==========================================================================
   FOOTER — 화이트 미니멀
   ========================================================================== */
#footer {
  background: var(--white-color);
  border-top: 1px solid var(--line-color);
  color: var(--muted-color);
  font-size: 1.4rem;
  line-height: 2.1;
}

#footer a:hover {
  color: var(--body-color);
}

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

#footer .ft_brand .f_logo {
  display: inline-block;
  margin-bottom: 2.4rem;
}

#footer .ft_brand .f_logo img {
  width: 14.4rem;
}

#footer .ft_brand .f_desc {
  max-width: 32rem;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted-color);
}

#footer .col h3 {
  margin-bottom: 2.4rem;

  font-family: var(--eng-font);
  color: var(--body-color);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

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

#footer .col ul a {
  color: var(--muted-color);
  transition: 0.2s;
}

#footer .col ul a:hover {
  color: var(--body-color);
}

#footer .col.contact li {
  display: flex;
  gap: 1.2rem;
}

#footer .col.contact li span {
  flex: 0 0 5.2rem;
  font-family: var(--eng-font);
  color: var(--body-color);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: inherit;
}

/* 푸터 하단 바 */
#footer .ft_bottom {
  border-top: 1px solid var(--line-color);
}

#footer .ft_bottom .w_inner {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  min-height: 7.2rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

#footer .ft_bottom address {
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 300;
  color: #bbb7b2;
}

#footer .ft_bottom .policy {
  display: flex;
  gap: 2.4rem;
  margin-left: auto;
}

#footer .ft_bottom .policy a {
  font-size: 1.2rem;
  color: var(--muted-color);
  white-space: nowrap;
}

#footer .ft_bottom .policy a.privacy {
  color: var(--body-color);
  font-weight: 600;
}

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

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

  #footer .ft_bottom .w_inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  #footer .ft_bottom .policy {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 1.6rem;
  }
}

/* SNS 아이콘 */
#sns_link {
  display: flex;
  gap: 0.8rem;
  margin-top: 3.2rem;
}

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

  width: 4rem;
  height: 4rem;

  border: 1px solid var(--line-color);
  background: transparent;
  transition: 0.25s;
}

#sns_link a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

#sns_link a img {
  width: 1.8rem;
  height: 1.8rem;
  filter: invert(0.5);
  transition: 0.25s;
}

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

/* ==========================================================================
   사이드 링크 / TOP 버튼
   ========================================================================== */
#side_lnk {
  position: fixed;
  bottom: 12rem;
  right: -16rem;
  z-index: 100;

  display: flex;
  flex-direction: column;
  align-items: center;

  opacity: 1;
  visibility: hidden;

  transition: 0.8s;
}

#side_lnk.on {
  right: 1.6rem;
  opacity: 1;
  visibility: visible;
}

/* 사이드 링크 + TOP — 단일 카드 */
#side_lnk .lnk_wrap {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  padding: 0.8rem;
}

#side_lnk .lnk_wrap > a,
#side_lnk .d_btn {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 1.4rem 1rem;
  white-space: nowrap;
  color: var(--muted-color);
  cursor: pointer;
  transition: color 0.3s;
}

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

/* 항목 구분선 */
#side_lnk .lnk_wrap > * + * {
  border-top: 1px solid var(--line-color);
}

#side_lnk .lnk_wrap span {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

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

@media (max-width: 768px) {
  #side_lnk {
    bottom: 4rem;
  }

  /* 모바일 — 링크는 숨기고 TOP 버튼만 유지 */
  #side_lnk .lnk_wrap > a {
    display: none;
  }

  #side_lnk .lnk_wrap > * + * {
    border-top: none;
  }
}

.to_top {
  position: fixed;
  right: 4rem;
  bottom: 16rem;
  z-index: 101;

  opacity: 0;
  visibility: hidden;

  transition: 0.5s;
}

.to_top button {
  width: 5.6rem;
  height: 5.6rem;
  background: var(--white-color);
  border: 1px solid var(--line-color);
  color: var(--body-color);
  cursor: pointer;
}

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

@media (max-width: 768px) {
  .to_top {
    right: -1.6rem;
    bottom: 14rem;
  }

  .to_top.on {
    right: 1.6rem;
  }

  .to_top button {
    width: 4rem;
    height: 4rem;
  }
}

/* ==========================================================================
   패밀리 링크 (푸터 셀렉트)
   ========================================================================== */
#flnk {
  position: relative;
  height: 4rem;
  line-height: 4rem;
  padding: 0 4rem 0 1.6rem;
  border: 1px solid var(--line-color);
  background: transparent;
  color: var(--muted-color);
  font-size: 1.2rem;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.f_lnk {
  position: relative;
}

.f_lnk::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.8rem;
  width: 1.6rem;
  height: 1.6rem;

  background: url(../lib/icon/chevron-down.svg) no-repeat center center/1.6rem;
  opacity: 0.5;

  transform: translate(0, -50%);
}

#family_link {
  white-space: nowrap;
}

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

#family_link .f_link.on {
  background: var(--white-color);
}

#family_link .f_link svg {
  position: absolute;
  right: 0.8rem;
  top: 1rem;
}

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

#family_link ul {
  display: none;
  position: absolute;
  bottom: 4rem;
  width: 16rem;

  border: 1px solid var(--line-color);
  margin-top: -1px;
  z-index: 2;

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

#family_link ul > li > a {
  display: block;
  padding: 0 2.4rem;
  font-size: 1.2rem;
  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);
}

/* ==========================================================================
   사이트맵 오버레이 — 화이트 에디토리얼
   ========================================================================== */
.sitemap {
  display: flex;
  align-items: center;
  margin-left: 4.8rem;
}

@media (max-width: 1280px) {
  .sitemap {
    display: none !important;
  }
}

#siteMap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000;
}

#siteMap .inbox {
  position: absolute;
  inset: 0;
  background: var(--white-color);
  color: var(--body-color);
  padding: 14.4rem 8rem;
}

#siteMap .inbox > ul {
  display: flex;
}

#siteMap .inbox > ul > li {
  flex: 1;
  min-height: 24rem;
  padding: 2rem;
  min-width: 24rem;
}

#siteMap .inbox > ul > li > a {
  display: block;
  border-bottom: 1px solid var(--primary-color);
  line-height: 6.4rem;
  font-family: var(--serif-font);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.8rem;
}

#siteMap .inbox > ul > li > a:hover {
  color: var(--point-color);
}

#siteMap .inbox > ul ul a {
  display: block;
  border-bottom: 1px solid var(--line-color);
  line-height: 4.8rem;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--muted-color);
}

#siteMap .inbox > ul ul a:hover {
  color: var(--point-color);
}

#siteMap .inbox button {
  position: absolute;
  top: 8rem;
  right: 8rem;

  width: 4rem;
  height: 4rem;
  background: url(../lib/icon/x.svg) no-repeat center center/2.4rem;
  cursor: pointer;
  font-size: 0;
}

/* ==========================================================================
   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;
  }
}
