/* ==========================================================================
   Top Bar - 상단 바
   ========================================================================== */
#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;
}

/* 설명 문구: 왼쪽에 붙이고 나머지 항목을 오른쪽으로 밀어냄 (넘치면 말줄임) */
#top_bar .con_wrap .top_desc {
  margin-right: auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text-color-sub);
  border-right: none;
  padding-left: 0;
}

/* 로그인: 상단 바에서는 아이콘 버튼으로 노출.
   일반 방문자에게는 거의 안 보이도록 흐리게 두고, 올렸을 때만 또렷해진다 */
#top_bar .con_wrap .login .login_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.2rem;
  opacity: 0.2;
  transition: opacity 0.3s;
}

#top_bar .con_wrap .login .login_btn:hover,
#top_bar .con_wrap .login .login_btn:focus-visible {
  opacity: 1;
}

#top_bar .con_wrap .login .icon {
  width: 2.4rem;
  height: 2.4rem;
  stroke: var(--text-color);
  stroke-width: 2;
}

#top_bar .con_wrap .login .login_btn:hover .icon {
  stroke: var(--point-color);
}

/* ==========================================================================
   Login Popup - 로그인 팝업 (회원가입 없는 아웃로그인)
   ========================================================================== */
#login_pop {
  display: none;
  position: fixed;
  inset: 0;
  /* 모바일 메뉴 버튼(1002)보다 위 */
  z-index: 10000;
  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.45);
}

#login_pop .lp_box {
  position: relative;
  width: min(36rem, calc(100% - 3.2rem));
  padding: 3.2rem;
  background: var(--white-color);
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.2);
}

#login_pop h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

#login_pop .lp_close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 4rem;
  height: 4rem;
}

#login_pop .lp_close .icon {
  width: 3rem;
  height: 3rem;
  stroke: var(--text-color-sub);
  stroke-width: 2;
  transition: stroke 0.3s;
}

#login_pop .lp_close:hover .icon {
  stroke: var(--text-color);
}

#login_pop input[type="text"],
#login_pop input[type="password"] {
  width: 100%;
  height: 4.4rem;
  margin-bottom: 0.8rem;
  padding: 0 1.4rem;
  border: 1px solid var(--line-color);
  font-size: 1.5rem;
  color: var(--text-color);
}

#login_pop input[type="text"]:focus,
#login_pop input[type="password"]:focus {
  outline: none;
  border-color: var(--point-color);
}

#login_pop .lp_submit {
  width: 100%;
  height: 4.6rem;
  margin-top: 0.4rem;
  background: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white-color);
  transition: background 0.3s;
}

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

#login_pop .lp_etc {
  display: flex;
  align-items: center;
  margin-top: 1.4rem;
  font-size: 1.3rem;
  color: var(--text-color-sub);
}

#login_pop .lp_etc .chk {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Header - 헤더
   ========================================================================== */
/* 밝은 바탕 위에 얹히는 얇은 헤더 (테두리 없이 여백으로만 구분한다) */
#header {
  position: relative;
  z-index: 999;
}

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

/* 로고 : images/logo.svg 는 180x56 (약 3.2:1) 이다.
   background-size: contain 은 상자의 짧은 쪽에 맞추므로,
   상자를 로고와 같은 비율로 두어야 가로가 남지 않고 제 크기로 그려진다.
   (전에는 210x40 이라 높이 40 에 맞춰져 128px 폭으로만 나왔다)
   크기를 바꾸실 때는 아래 두 값의 비율(3.2:1)을 지켜 주세요 */
#header h1 a {
  display: block;
  width: 176px;
  height: 55px;

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

/* 스크롤 후 헤더 상단 고정은 PC 전용.
   모바일 헤더는 이미 sticky 라 필요 없고, 이 규칙이 모바일에도 걸리면
   fixed 인 헤더가 기준이 되어
   메뉴 오버레이(.gnb_container)가 스크롤 뒤에는 열리지 않는다 */
@media (min-width: 1025px) {
  #header.scr .header_bottom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white-color);
    z-index: 999;
    border-bottom: 1px solid var(--line-color);
  }
}

/* 로고 · 메뉴 · 대표전화를 한 줄에 놓는다 */
#header .hd_wrap {
  display: flex;
  align-items: center;
  gap: 4.8rem;
  height: 9.6rem;
}

/* 상단 바와 헤더는 히어로의 걸침 카드와 같은 선에 맞춘다.
   카드는 본문 상자보다 좌우로 4.8rem 씩 넓다
   (main_html/main_hero.html 의 .hero_card_wrap 을 함께 보아 주세요).
   카드 쪽 값을 바꾸시면 아래 폭도 같이 맞춰야 선이 어긋나지 않습니다.
   좁은 화면에서는 화면 끝에 붙지 않도록 여백을 되돌립니다 */
#top_bar > .w_inner,
#header .hd_wrap {
  max-width: calc(var(--inner-size) + 4.8rem);
  padding: 0;
}

/* 맨 왼쪽 항목도 그 선에 붙인다 */
#top_bar .con_wrap > *:first-child {
  padding-left: 0;
}

@media (max-width: 1024px) {
  #top_bar > .w_inner,
  #header .hd_wrap {
    padding: 0 2.4rem;
  }
}

@media (max-width: 768px) {
  #top_bar > .w_inner,
  #header .hd_wrap {
    padding: 0 1.6rem;
  }
}

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

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

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

/* ── 대표 전화 (GNB 우측) ─────────────────────────────────── */
#header .hd_tel {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* 대표 전화 : 핑크 알약 안에 아이콘 + 번호 (흰 글씨로 5.7 : 1) */
#header .hd_tel {
  height: 4.8rem;
  padding: 0 2.4rem 0 1.8rem;
  border-radius: var(--ui-radius-pill);
  background: var(--point-color);
  transition: background 0.3s;
}

#header .hd_tel:hover {
  background: var(--point-hover);
}

/* 알약 자체가 핑크라 아이콘 상자는 비우고 선만 흰색으로 */
#header .hd_tel .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  background: transparent;
}

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

#header .hd_tel a {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white-color);
}

/* 로고 오른쪽 남는 폭을 메뉴 영역이 모두 차지한다 */
#header .gnb_container {
  flex: 1;
  min-width: 0;
  display: flex;
  margin-left: auto;
}

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

/* 로고·대표전화와 한 줄에 놓이므로 메뉴 간격을 좁게 잡는다 */
#header .gnb > ul {
  display: flex;
  gap: 3.2rem;
}

/* 상단 메뉴 */
#header .gnb > ul > li > a {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 9.6rem;
  color: var(--text-color);
  transition: color 0.25s;

  white-space: nowrap;
}

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

/* 마우스를 올리거나 현재 보고 있는 섹션이면 메뉴 아래에 짧은 선이 그어진다 */
#header .gnb > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3.2rem;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

#header .gnb > ul > li:hover > a::after,
#header .gnb > ul > li:focus-within > a::after,
#header .gnb > ul > li > a.active::after {
  width: 100%;
}

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

#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);
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.08);

  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.6rem;

  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);
  } */
  /* 상단 바 숨김 : 반응형에서는 계정·게시판 관리 링크를 모두 노출하지 않고,
     이 자리를 비워야 우측 고정 햄버거 버튼이 가려지지 않는다 */
  #top_bar {
    display: none;
  }

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

    position: fixed;
    top: 4rem;
    right: 1.6rem;
    /* 메뉴 오버레이(.gnb_container, 1000)와 로고(1001)보다 위에 있어야
       메뉴를 열었을 때 닫기(X) 버튼이 가려지지 않는다 */
    z-index: 1002;

    width: 40px;
    height: 40px;

    background: var(--white-color);
    border: 1px solid var(--line-color);
    border-radius: var(--ui-radius);
    font-size: 0;
  }

  .mbtn::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 11px;
    right: 11px;

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

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

  .mbtn::after {
    content: "";
    position: absolute;
    bottom: 13px;
    left: 11px;
    right: 11px;

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

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

  /* 중간바 : 안쪽 높이 기준으로 정중앙에 놓는다 */
  .mbtn span::before {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 11px;
    right: 11px;

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

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

  .mbtn span::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 11px;
    right: 11px;

    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(--background-color);
  }

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

  #header .hd_wrap {
    height: 12rem;
  }
  #header.on .hd_wrap {
    height: 12rem;
  }

  /* 좁은 화면에서는 로고가 여는 단추와 나란히 서므로 한 단계 줄인다
     (비율 3.2:1 은 그대로) */
  #header h1 a {
    width: 144px;
    height: 45px;
  }

  /* 모바일에서는 메뉴가 화면 전체를 덮는 오버레이가 된다 (헤더에는 로고만 남음) */
  #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: 12rem 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: 6.4rem;
    border-bottom: 1px solid var(--line-color);
    color: var(--text-color);
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: -0.02em;
    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(--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 .adm {
    order: -1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    gap: 1.6rem;

    margin-left: 0;

    color: var(--text-color);
    padding: 2.4rem 0;
    font-size: 1.2rem;
  }

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

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

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

  /* 모바일 : 대표 전화는 모바일 메뉴 안에 들어가므로 폭만 조정 */
  #header .hd_tel {
    gap: 0.8rem;
    padding: 0 2rem 0 1.6rem;
  }

  #header .hd_tel .ico {
    width: 2.8rem;
    height: 2.8rem;
  }

  #header .hd_tel a {
    font-size: 2.4rem;
  }
}

/* ==========================================================================
   Sub Content - 서브 콘텐츠 영역
   ========================================================================== */
/* 서브 페이지도 메인과 같은 밝은 회색 바탕을 그대로 쓴다 */
.sub_content {
  min-height: 60rem;
  margin-top: 6.4rem;
  margin-bottom: 10rem;
  background: transparent;
}

.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: 3.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@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(--point-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;
  border-top: 1px solid var(--line-color);
  color: var(--text-color-sub);
  font-size: 1.4rem;
  line-height: 1.7;
  text-align: center;
}

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

#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: var(--line-color);
}

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

#footer .ft_copy address {
  margin-top: 0.8rem;
  font-style: normal;
  color: var(--text-color-sub);
}

/* ── 반응형 ───────────────────────────────────────────────── */
@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;
  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: 20rem;
  border-color: var(--primary-color);
}

/* 아이콘: 오른쪽 원 영역(6.4rem) 가운데에 고정 */
#side_lnk .lnk_wrap > a .icon {
  position: absolute;
  top: 50%;
  right: 1.4rem;
  transform: translateY(-50%);
  width: 3.6rem;
  height: 3.6rem;
  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: 11.6rem;
}

/* 카카오톡 상담 */
#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);
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.1);
}

#side_lnk .d_btn .icon {
  width: 4.8rem;
  height: 4.8rem;
  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: 3.6rem;
  height: 3.6rem;
  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: 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;
  }
}

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

.s_lnk {
  margin-bottom: 3.2rem;
}

#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: 4px;

  width: 4.8rem;
  height: 4.8rem;


  background: var(--background-color);
  color: var(--primary-color);

  font-size: 1.8rem;

  border: 1px solid rgba(0, 0, 0, 0.1);
}

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

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

  transform: translate(-50%, 0);

  /* 본문 상자와 같은 너비여야 단추가 구획의 오른쪽 끝에 맞아떨어진다
     (좌우 여백 2.4rem 씩 = 4.8rem 을 더한 값) */
  max-width: calc(var(--inner-size) + 4.8rem);
  width: 100%;

  opacity: 0;
  visibility: hidden;

  transition: 0.5s;
}

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

  background: var(--point-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;
  }
}

/* 상단 바(#top_bar)는 메인·서브 공통으로 노출한다. */


/* ==========================================================================
   섞으면서 : 이 업종의 강조색 (다름카페)
   셸은 테마 19 에서 왔지만 색은 여기서 정한 것이 이긴다.

   붉은 핑크 한 가지로 통일했습니다. 흰 바탕 위에서도, 이 색 위에 흰 글씨를
   얹어도 5.7 : 1 이라 둘 다 읽힙니다.
   색을 바꾸실 때는 css/layout.css 의 --point-a14 · a22 · a32 와
   --point-light 도 같은 색으로 맞춰 주세요.
   ========================================================================== */
:root {
  --point-color: #c9184a;
  --point-hover: #a5123c; /* 마우스를 올렸을 때 한 단계 진하게 */
}
