/* ==========================================================================
   Top Bar - 상단 바
   ========================================================================== */
/* 맨 위 분홍 라인 */
.top_line {
  height: 1px;
  background: var(--point-color);
}

/* 상단 바는 관리자 바로가기 전용 */
#top_bar {
  position: relative;
  z-index: 999;
  border-bottom: 1px solid var(--line-color);
  font-size: 1.2rem;
  line-height: 3.2rem;
}

#top_bar .con_wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
#top_bar .con_wrap > * {
  padding: 0 1.6rem;
  border-right: 1px solid var(--line-color);
}

/* 맨 오른쪽 항목은 구분선과 여백 제거 */
#top_bar .con_wrap > *:last-child {
  padding-right: 0;
  border-right: none;
}

/* 계정 : 로고 줄 오른쪽 끝 아이콘 하나 (비회원 = 로그인 팝업, 회원 = 로그아웃) */
#header .hd_account {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
}

/* 테두리 없이 아주 연한 아이콘만 둔다 */
#header .hd_account a,
#header .hd_account .lp_open {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 4rem;
  height: 4rem;
  background: none;
  border: 0;
  cursor: pointer;
}

/* 일반 방문자에게는 거의 안 보이도록 흐리게 두고, 올렸을 때만 또렷해진다 (ease03과 동일) */
#header .hd_account .icon {
  width: 1.8rem;
  height: 1.8rem;
  stroke: var(--text-color);
  stroke-width: 2;
  opacity: 0.2;
  transition: 0.3s;
}

#header .hd_account a:hover .icon,
#header .hd_account a:focus-visible .icon,
#header .hd_account .lp_open:hover .icon,
#header .hd_account .lp_open:focus-visible .icon {
  stroke: var(--point-color);
  opacity: 1;
}

/* ── 아웃로그인 팝업 : 아이디 · 비밀번호 · 로그인만 (회원가입 없음) ── */
.login_pop {
  position: fixed;
  inset: 0;
  z-index: 1100;

  display: none;
  align-items: center;
  justify-content: center;
}

.login_pop.on {
  display: flex;
}

.login_pop .lp_bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.login_pop .lp_box {
  position: relative;
  z-index: 1;
  width: min(36rem, calc(100% - 3.2rem));
  padding: 4rem 3.2rem 3.2rem;

  background: var(--white-color);
  border-radius: 2rem;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.25);
}

.login_pop .lp_box h3 {
  margin-bottom: 2.4rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.login_pop .lp_box input[type="text"],
.login_pop .lp_box input[type="password"] {
  width: 100%;
  height: 4.8rem;
  padding: 0 1.6rem;

  background: var(--white-color);
  border: 1px solid var(--line-color);
  border-radius: 0.8rem;
  font-size: 1.5rem;
}

.login_pop .lp_box input[type="password"] {
  margin-top: 0.8rem;
}

.login_pop .lp_box input:focus {
  border-color: var(--point-color);
  outline: none;
}

.login_pop .lp_submit {
  width: 100%;
  height: 4.8rem;
  margin-top: 1.6rem;
  border: 0;
  border-radius: 0.8rem;

  background: var(--point-color);
  color: var(--white-color);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.login_pop .lp_submit:hover {
  background: var(--primary-color);
}

.login_pop .lp_close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.login_pop .lp_close:hover {
  background: var(--lightgray-color);
}

.login_pop .lp_close .icon {
  width: 1.8rem;
  height: 1.8rem;
  stroke: var(--text-color);
  stroke-width: 2;
}

/* ==========================================================================
   Header - 헤더
   ========================================================================== */
#header {
  position: relative;
  z-index: 999;
  background: var(--white-color);
  border-bottom: 1px solid var(--line-color);
}

/* ──────────────────────────────────────────────────────────
   헤더 1층 : 로고만 가운데 둔다
   (전화는 2층 메뉴 줄 오른쪽 .hd_tel_link 에 있다)
   ────────────────────────────────────────────────────────── */
#header .hd_top_wrap {
  /* 오른쪽 끝 계정 아이콘(.hd_account)의 기준 */
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  /* w_inner 가 좌우 여백을 가지므로 위아래만 지정한다 */
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

#header .hd_top_wrap > h1 {
  flex: 0 0 auto;
}

/* ── 로고 ─────────────────────────────────────────────────── */
#header h1 {
  font-size: 3.2rem;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
}

#header h1 a {
  display: block;
  width: 210px;
  height: 44px;

  background-image: url(../images/logo.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

/* ──────────────────────────────────────────────────────────
   헤더 2층 : 메뉴 한 줄
   ────────────────────────────────────────────────────────── */
#header .header_bottom {
  background: var(--white-color);
  border-top: 1px solid var(--line-color);
}

/* 스크롤하면 메뉴 줄만 화면 맨 위에 고정된다 */
#header.scr .header_bottom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-top: 0;
  border-bottom: 1px solid var(--line-color);
  box-shadow: 0 0.4rem 1.6rem rgba(22, 50, 79, 0.08);
}

/* 메뉴 줄이 빠져나간 만큼 자리를 채워 화면이 튀지 않게 한다 */
#header.scr {
  padding-bottom: 6.1rem;
}

#header .hd_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
}

#header .gnb_container {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
}

/* ── 대표 전화 : 메뉴 줄 오른쪽. 분홍 원 안 흰 아이콘 + 번호 ── */
#header .hd_tel_link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 1rem;

  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-color);
  white-space: nowrap;
  transition: 0.3s;
}

#header .hd_tel_link:hover {
  color: var(--point-color);
}

#header .hd_tel_link .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--point-color);
}

#header .hd_tel_link .ico .icon {
  width: 1.8rem;
  height: 1.8rem;
  stroke: var(--white-color);
  stroke-width: 2;
}

/* 좁은 데스크톱 : 메뉴와 전화가 한 줄에 들어가도록 밀도를 낮춘다 */
@media (max-width: 1280px) {
  #header .gnb > ul > li {
    padding: 0 1.6rem;
  }

  #header .gnb > ul > li > a {
    font-size: 1.6rem;
  }

  #header .hd_tel_link {
    font-size: 1.7rem;
  }
}

/* 메뉴는 왼쪽에 붙인다 (오른쪽에는 대표 전화) */
#header .gnb {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#header .gnb > ul {
  display: flex;
  justify-content: flex-start;
}

#header .gnb > ul > li {
  position: relative;
  padding: 0 2.4rem;
}

/* 첫 항목은 컨테이너 왼쪽에 딱 붙인다 */
#header .gnb > ul > li:first-child {
  padding-left: 0;
}

/* 항목 사이 세로 구분선 */
#header .gnb > ul > li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  width: 1px;
  height: 1.4rem;
  background: var(--line-color);
}

/* 양쪽 끝(첫 항목 왼쪽·마지막 항목 오른쪽)에는 구분선을 두지 않는다 */
#header .gnb > ul > li:last-child::after {
  display: none;
}

#header .gnb > ul > li > a {
  position: relative;
  display: block;
  line-height: 6rem;

  font-size: 1.7rem;
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
  transition: 0.2s;
}

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

/* 현재 보고 있는 섹션 표시 (밑줄) */
#header .gnb > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 2px;
  background: var(--point-color);

  transform: scaleX(0);
  transition: 0.3s;
}

#header .gnb > ul > li > a:hover::after,
#header .gnb > ul > li > a.active::after {
  transform: scaleX(1);
}

/* 모바일 왼쪽 위 전화 아이콘 : PC 에서는 감춘다 */
#header .m_tel {
  display: none;
}

#header .gnb > ul > li ul {
  position: absolute;
  top: auto;
  left: 50%;
  z-index: 3;

  transform: translate(calc(-50% + 1.6rem), 16px);
  background: var(--white-color);
  border: 1px solid var(--line-color);
  border-top: 2px solid var(--primary-color);

  overflow: hidden;

  opacity: 0;
  visibility: hidden;

  transition: 0.2s;
}

#header .gnb > ul > li:hover ul {
  transform: translate(calc(-50% + 1.6rem), -8px);

  opacity: 1;
  visibility: visible;
}

#header .gnb > ul > li:focus-within ul {
  transform: translate(calc(-50% + 1.6rem), -8px);

  opacity: 1;
  visibility: visible;
}

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

  font-size: 1.4rem;

  white-space: nowrap;
}

#header .gnb > ul > li ul li a:hover {
  background: rgba(0, 0, 0, 0.075);
}

#header .gnb > ul > li ul li ~ li a {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

@media (max-width: 1024px) {
  /* *,
  *::before,
  *::after {
    outline: 1px solid rgba(255, 0, 0, 0.5);
  } */
  /* 상단 바 숨김 : 반응형에서는 계정·게시판 관리 링크를 모두 노출하지 않고,
     이 자리를 비워야 우측 고정 햄버거 버튼이 가려지지 않는다 (ease03과 동일) */
  #top_bar {
    display: none;
  }

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

    position: fixed;
    /* 헤더 1층(로고 줄) 높이 9.6rem 의 세로 가운데 */
    top: 3.2rem;
    right: 1.6rem;
    /* 메뉴 오버레이(.gnb_container, 1000)와 로고(1001)보다 위에 있어야
       메뉴를 열었을 때 닫기(X) 버튼이 가려지지 않는다 */
    z-index: 1002;

    width: 32px;
    height: 32px;

    background: var(--lightgray-color);
    border: 1px solid var(--line-color);
    border-radius: 4px;
    /* background: rgba(255, 255, 255, 0.25); */
    font-size: 0;
  }

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

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

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

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

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

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

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

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

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

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

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

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

  #header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white-color);
  }

  /* 모바일 헤더 1층 : 로고만. 메뉴 줄 오른쪽 전화도 감춘다
     (전화는 왼쪽 위 전화 아이콘(.m_tel)과 사이드 전화 버튼이 대신한다
      — 같은 번호가 화면에 중복되지 않게) */
  /* 높아진 헤더(9.6rem)의 세로 가운데에 로고를 둔다 */
  #header .hd_top_wrap {
    flex-wrap: wrap;
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
  }

  /* 계정(로그인·로그아웃) 아이콘 : 반응형에서는 노출하지 않는다 */
  #header .hd_account {
    display: none;
  }

  #header .hd_tel_link {
    display: none;
  }

  #header h1 {
    position: relative;
    z-index: 1001;
  }

  #header h1 a {
    width: 170px;
    height: 40px;
  }

  /* 메뉴 줄은 오버레이(.gnb_container)로 바뀌므로 자리를 차지하지 않는다 */
  #header .header_bottom {
    border-top: 0;
  }

  #header .hd_wrap {
    height: 0;
    padding: 0;
  }

  #header.scr {
    padding-bottom: 0;
  }

  #header.scr .header_bottom {
    position: static;
    box-shadow: none;
    border-bottom: 0;
    backdrop-filter: none;
  }

  /* 세로로 쌓이므로 구분선과 좌우 여백을 없앤다 */
  #header .gnb > ul > li {
    padding: 0;
  }

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

  /* 모바일에서는 메뉴가 화면 전체를 덮는 오버레이가 된다 (헤더에는 로고만 남음) */
  #header .gnb_container {
    position: fixed;
    top: 0;
    left: -200%;
    z-index: 1000;

    /* 한 줄 헤더용 데스크톱 값(flex:1 / margin-left:auto)을 여기서 되돌린다 */
    flex: 0 0 auto;
    margin-left: 0;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    padding: 0;

    background: rgba(0, 0, 0, 0.75);
  }

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

  /* 흰 메뉴판 : 화면 아래끝까지 꽉 채우고, 내용이 길면 이 안에서 스크롤한다.
     주의: justify-content 는 반드시 flex-start 여야 한다. 데스크톱 값(flex-end)이
     남아 있으면 메뉴 항목이 판 맨 아래로 밀려 화면 밖에 놓인다. */
  #header .gnb {
    flex: 1 1 auto;
    justify-content: flex-start;
    margin-left: 0;

    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;

    width: 100%;
    height: 100%;
    /* 위 여백은 로고 줄 + 계정 아이콘 줄에 가리지 않을 만큼 준다 */
    padding: 13.2rem 2.4rem 4rem 2.4rem;
    overflow-y: auto;

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

  /* 항목이 적어도 흰 배경이 아래까지 이어지도록 목록은 내용 높이만 차지시킨다 */
  #header .gnb > ul {
    flex: 0 0 auto;
    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(--text-color);
    font-weight: 500;
    font-size: 1.8rem;
    padding: 0 0 0 1.6rem;
  }

  #header.on .gnb > ul > li > a {
    line-height: 5.6rem;
    padding: 0 0 0 1.6rem;
    color: var(--text-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(--white-color);
    border: 0 solid var(--lightgray-color);

    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(--text-color);
    background: var(--lightgray-color);
  }

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

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

  /* 전화 아이콘 : 왼쪽, 오른쪽 햄버거 버튼과 대칭 (헤더 세로 가운데) */
  #header .m_tel {
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    top: 3.2rem;
    left: 1.6rem;
    z-index: 1001;

    width: 32px;
    height: 32px;

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

  #header .m_tel .icon {
    width: 1.7rem;
    height: 1.7rem;
    stroke: var(--white-color);
    stroke-width: 2;
  }
}

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

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

.sub_content .page_title h3 {
  position: relative;
  padding: 1.6rem 0;
  /* border-bottom: 1px solid var(--line-color); */
  white-space: nowrap;

  display: flex;
  align-items: center;
  gap: 8rem;
}

.sub_content .page_title h3::after {
  content: "";

  flex: 1;
  height: 1px;

  background: var(--primary-color);
  opacity: 0.25;
}

.sub_content .page_title h3 strong {
  font-size: 4rem;
  font-weight: 700;
}

@media (max-width: 1440px) {
}

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

/* ==========================================================================
   Footer - 푸터
   ========================================================================== */
#footer {
  padding: 0;
  background: var(--white-color);
  color: var(--text-color);
  border-top: 1px solid var(--line-color);
  font-size: 1.5rem;
}

/* ──────────────────────────────────────────────────────────
   1층 : 상담문의 / 진료안내 / 교통편
   ────────────────────────────────────────────────────────── */
#footer .ft_main {
  display: flex;
  gap: 4.8rem;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

#footer .ft_col {
  flex: 1 1 0;
  min-width: 0;
}

#footer .ft_col h3 {
  position: relative;
  margin-bottom: 2rem;
  padding: 0 2rem 1.2rem 0;
  border-bottom: 1px solid var(--line-color);

  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-color);
}

#footer .ft_col h3::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--point-color);
}

/* ── 상담문의 ─────────────────────────────────────────────── */
#footer .customer .tel {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

#footer .customer .info {
  margin-top: 1rem;
}

#footer .customer .info li {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--text-color-sub);
}

#footer .customer .info a {
  color: inherit;
  transition: 0.3s;
}

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

/* ── 진료안내 · 교통편 공통 (2단 정의목록) ────────────────── */
#footer .ft_col dl.row {
  display: flex;
  flex-wrap: wrap;
}

#footer .ft_col dl.row dt,
#footer .ft_col dl.row dd {
  padding: 0.9rem 0;
}

#footer .ft_col dl.row dt {
  flex: 0 0 34%;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-color-sub);
}

#footer .ft_col dl.row dd {
  flex: 0 0 66%;
  text-align: right;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

#footer .ft_col dl.time dt,
#footer .ft_col dl.time dd {
  border-bottom: 1px dashed var(--line-color);
}

#footer .ft_col .note {
  margin-top: 1.6rem;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text-color-sub);
}

/* ── 공지사항 : 최신글 목록 (스킨은 skin/latest/ft_notice) ── */
#footer .ft_nt li {
  border-bottom: 1px dashed var(--line-color);
}

#footer .ft_nt a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
}

#footer .ft_nt .new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.4rem;
  background: var(--point-color);

  color: var(--white-color);
  font-size: 1.1rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

#footer .ft_nt .sbj {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-color);
  transition: 0.3s;
}

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

#footer .ft_nt time {
  flex: 0 0 auto;
  font-size: 1.3rem;
  color: var(--text-color-sub);
}

#footer .ft_nt .empty {
  padding: 0.9rem 0;
  border-bottom: 0;
  font-size: 1.5rem;
  color: var(--text-color-sub);
}

/* ──────────────────────────────────────────────────────────
   2층 : 사업자 정보 · 저작권
   ────────────────────────────────────────────────────────── */
#footer .ft_copy {
  padding: 5.6rem 0 4.8rem;
  background: #1d2733;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.4rem;
  line-height: 1.7;
  text-align: center;
}

/* 흰 로고 : 저작권 층의 장식 디테일 (images/logo_white.svg) */
#footer .ft_copy .ft_logo {
  display: inline-block;
  height: 3.2rem;
  width: auto;
  margin-bottom: 2rem;
  opacity: 0.92;
}

#footer .ft_copy .biz {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 2.4rem;
}

#footer .ft_copy .biz li {
  position: relative;
}

#footer .ft_copy .biz li ~ li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.2rem;
  transform: translateY(-50%);

  width: 1px;
  height: 0.9em;
  background: rgba(255, 255, 255, 0.25);
}

#footer .ft_copy .biz a {
  color: inherit;
}

#footer .ft_copy address {
  margin-top: 0.8rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
}

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #footer .ft_main {
    flex-direction: column;
    gap: 4rem;
    padding-top: 6.4rem;
    padding-bottom: 6.4rem;
  }
}

@media (max-width: 768px) {
  #footer .ft_col dl.row dt {
    flex: 0 0 40%;
  }

  #footer .ft_col dl.row dd {
    flex: 0 0 60%;
  }

  #footer .ft_copy .biz {
    flex-direction: column;
    gap: 0;
  }

  #footer .ft_copy .biz li ~ li::before {
    display: none;
  }
}

/* ==========================================================================
   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;
  bottom: 4rem;
  right: 1.6rem;
  z-index: 100;

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

  opacity: 0;
  visibility: hidden;

  transition: 0.8s;
}

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

/* 원형 버튼 세로 스택 (ㅇ ㅇ ㅇ) */
#side_lnk .lnk_wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

#side_lnk .lnk_wrap > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 3.2rem;
  overflow: hidden;
  background: var(--white-color);
  border: 1px solid var(--line-color);
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

/* 마우스 호버 시 왼쪽으로 길어짐 */
#side_lnk .lnk_wrap > a:not(.d_tel):hover {
  width: 18rem;
  border-color: var(--primary-color);
}

/* 아이콘: 오른쪽 원 영역(6.4rem)에 고정 */
#side_lnk .lnk_wrap > a .icon {
  position: absolute;
  top: 50%;
  right: 1.9rem;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  stroke: var(--text-color);
  stroke-width: 1;
}

/* 텍스트: 평소 폭 0, 호버 시 드러남 */
#side_lnk .lnk_wrap > a span {
  width: 0;
  margin-left: 2.4rem;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.3s;
}

#side_lnk .lnk_wrap > a:not(.d_tel):hover span {
  width: 10rem;
}

/* 카카오톡 상담 */
#side_lnk .lnk_wrap > a.d_kakao {
  background: #fee500;
  border-color: #fee500;
}

#side_lnk .lnk_wrap > a.d_kakao img {
  position: absolute;
  top: 50%;
  right: 1.6rem;
  transform: translateY(-50%);
  width: 3.2rem;
}

#side_lnk .lnk_wrap > a.d_kakao span {
  color: #3c1e1e;
}

#side_lnk .d_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.1);
}

#side_lnk .d_btn .icon {
  width: 3.2rem;
  height: 3.2rem;
  stroke: var(--white-color);
  stroke-width: 2;
}

#side_lnk .lnk_wrap > a.d_tel {
  position: relative;
  background: var(--point-color);
  border-color: var(--point-color);

  display: none;
}

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

@media (max-width: 768px) {
  #side_lnk .d_btn {
    position: static;
    transform: translate(0, 0);
  }
  #side_lnk .lnk_wrap {
    background: transparent;
    border-radius: 0.8em;
    border: 1px solid transparent;
    /* box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.1); */
    padding: 0 0;
    margin-bottom: 0;
  }
  #side_lnk .lnk_wrap > a:not(.d_tel):not(.d_kakao) {
    display: none;
  }

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

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

/* ==========================================================================
   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: 4rem;
  height: 4rem;

  background: var(--point-color);

  border-radius: 50%;
}

.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;
  }
}
