/* ==========================================================================
   Top Bar - 상단 바
   ========================================================================== */
#top_bar {
  position: relative;
  z-index: 999;
  border-top: 1px solid var(--primary-color);
  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: 1.6rem;
  height: 1.6rem;
  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);
  border-radius: 0.8rem;
  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: 3.2rem;
  height: 3.2rem;
}

#login_pop .lp_close .icon {
  width: 2rem;
  height: 2rem;
  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);
  border-radius: 0.6rem;
  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);
  border-radius: 0.6rem;
  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 - 헤더
   --------------------------------------------------------------------------
   한 줄 헤더 : [로고] ————— [메뉴] [분양문의 전화]
   메인(index)에서는 head.php 가 .overlay 를 붙여 히어로 사진 위에 겹치고
   (로고·글자 흰색), 스크롤하면 custom.js 가 .scr 을 붙여 흰 바탕 + 먹빛 글자로
   바뀝니다. 겹침·스크롤 상태의 색 전환은 css/modify.css 에서 관리합니다.
   ========================================================================== */
#header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white-color);
  border-bottom: 1px solid var(--line-color);
}

/* 로고 · 메뉴 · 분양문의 전화를 한 줄에 놓는다 */
#header .hd_wrap {
  display: flex;
  align-items: center;
  gap: 4.8rem;
  height: 13rem;

  transition: height 0.4s;
}

#header .hd_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: 200px;
  height: 44px;

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

/* ── 메뉴 ─────────────────────────────────────────────────── */
/* 로고 오른쪽 남는 폭을 메뉴 영역이 모두 차지한다 */
#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 {
  position: relative;
}

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

  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-color);
  white-space: nowrap;
  transition: color 0.2s, line-height 0.4s;
}

/* 올리거나 보고 있는 항목은 글자색을 바꾸지 않고 아래 실선으로만 알린다 */

/* 현재 보고 있는 섹션 표시 : 가운데에서 좌우로 열리는 밑줄 */
#header .gnb > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4.4rem;
  transform: translateX(-50%);

  width: 0;
  height: 1px;
  background: var(--point-color);
  transition: width 0.3s, bottom 0.4s;
}

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

/* ── 분양문의 전화 (메뉴 오른쪽) ──────────────────────────── */
#header .hd_tel {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* 포인트 컬러 원 안의 아이콘 */
#header .hd_tel .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 .ico .icon {
  width: 1.8rem;
  height: 1.8rem;
  stroke: var(--white-color);
  stroke-width: 2.2;
}

#header .hd_tel a {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-color);
  white-space: nowrap;
}

/* 메뉴판 안의 전화 : PC 에서는 헤더 줄에 이미 있으므로 숨긴다 */
#header .gnb .adm {
  display: none;
}

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

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

@media (max-width: 1440px) {
  #header .hd_wrap {
    gap: 3.2rem;
  }

  #header .gnb > ul {
    gap: 2.4rem;
  }

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

@media (max-width: 1280px) {
  #header h1 a {
    width: 168px;
  }

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

  /* 전화번호는 아이콘만 남긴다 (번호는 히어로 띠·푸터에 있다) */
  #header .hd_tel a {
    display: none;
  }
}

/* ==========================================================================
   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;
    /* 헤더(11rem) 안에서 위아래 가운데, 오른쪽은 본문 선에 맞춘다 */
    top: 1.5rem;
    right: max(2.4rem, calc((100% - var(--inner-size)) / 2 + 2.4rem));
    /* 메뉴 오버레이(.gnb_container, 1000)와 로고(1001)보다 위에 있어야
       메뉴를 열었을 때 닫기(X) 버튼이 가려지지 않는다 */
    z-index: 1002;

    width: 8rem;
    height: 8rem;

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

  .mbtn.on {
    background: var(--point-color);
  }

  .mbtn::before {
    content: "";
    position: absolute;
    top: 2.8rem;
    left: 2.4rem;
    right: 2.4rem;

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

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

  .mbtn::after {
    content: "";
    position: absolute;
    bottom: 2.8rem;
    left: 2.4rem;
    right: 2.4rem;

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

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

  .mbtn span::before {
    content: "";
    position: absolute;
    top: 3.9rem;
    left: 2.4rem;
    right: 2.4rem;

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

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

  .mbtn span::after {
    content: "";
    position: absolute;
    top: 3.9rem;
    left: 2.4rem;
    right: 2.4rem;

    height: 2px;
    background: var(--white-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층 : [전화 아이콘] — [로고] — [햄버거] 로 좌우 균형을 맞춘다 */
  #header .hd_top_wrap {
    justify-content: center;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }

  /* 주소는 메뉴 안(.hd_addr)에 있으므로 상단에서는 감춘다 */
  #header .hd_top_wrap > .top_right {
    display: none;
  }

  /* 전화는 아이콘 버튼만 남겨 햄버거와 같은 줄 · 같은 크기로 맞춘다 */
  #header .hd_top_wrap > .top_left {
    position: fixed;
    top: 2rem;
    left: 1.6rem;
    /* 햄버거(.mbtn)와 같은 층에 둬야 메뉴를 열어도 같이 보인다 */
    z-index: 1002;

    flex: 0 0 auto;
    width: 32px;
    height: 32px;
  }

  #header .top_left .lb,
  #header .top_left .tel .num {
    display: none;
  }

  /* 초록 원 안에 흰 전화 아이콘 */
  #header .top_left .tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;

    width: 32px;
    height: 32px;

    background: var(--primary-color);
    border-radius: 50%;
  }

  #header .top_left .tel .icon {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    stroke: var(--white-color);
    stroke-width: 2;
  }

  #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 {
    padding: 0 2.4rem;
  }

  #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%;
    /* 위 여백 = 헤더 높이(11rem) + 숨 쉴 틈(2rem).
       좌우는 본문 여백과 같은 2.4rem 이라 메뉴 글자가 로고와 같은 선에 선다. */
    padding: 13rem 2.4rem 3.2rem 2.4rem;
    /* 판 자체는 스크롤하지 않는다 (아래 전화 줄이 밀려 나가지 않게) */
    overflow: hidden;

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

  /* 목록이 남는 높이를 차지하고, 항목이 많으면 목록 안에서만 스크롤한다.
     덕분에 아래 전화 줄은 화면 밖으로 밀리지 않는다. */
  #header .gnb > ul {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 0;

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

  /* 메뉴 글자는 왼쪽 여분 여백 없이 판의 선(= 로고 선)에서 시작한다 */
  #header .gnb > ul > li > a,
  #header.on .gnb > ul > li > a {
    line-height: 6.4rem;
    padding: 0;
    border-bottom: 1px solid var(--line-color);
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.8rem;
  }

  /* 메뉴판은 흰 바탕이므로 글자는 늘 먹빛이어야 한다.
     사진 위 겹침 헤더(.overlay)의 흰 글자 규칙을 여기서 확실히 눌러 둔다. */
  #header .gnb_container.on .gnb > ul > li > a,
  #header.overlay .gnb_container.on .gnb > ul > li > a,
  #header.overlay.scr .gnb_container.on .gnb > ul > li > a {
    color: var(--text-color);
    /* 메뉴를 열자마자 또렷해야 한다.
       색 전환(0.2s)이 남아 있으면 흰 글자에서 서서히 넘어와 한순간 안 보인다. */
    transition: none;
  }

  #header .gnb_container.on .gnb > ul > li > a:hover,
  #header .gnb_container.on .gnb > ul > li > a.active {
    color: var(--point-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 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);
  }

  /* 분양문의 전화 : 메뉴 목록 아래에 먹빛 줄로 놓는다.
     선택자를 .gnb .adm 으로 두어야 위쪽의 display:none 을 이긴다 */
  #header .gnb .adm {
    /* 목록이 남는 높이를 먹으므로 이 줄은 늘 판 맨 아래에 붙는다 */
    flex: 0 0 auto;
    order: 0;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;

    margin: 2.4rem 0 0 0;
    padding: 2.2rem 2.4rem;

    background: var(--primary-color);
    border: 0;
  }

  /* 왼쪽 라벨 (마크업에 없으므로 CSS 로 붙인다) */
  #header .gnb .adm::before {
    content: "분양문의";
    flex: 0 0 auto;

    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.6);
  }

  #header .gnb .adm a {
    flex: 0 0 auto;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white-color);
  }
}

@media (max-width: 768px) {
  /* 좁은 화면 : 헤더가 9.6rem 이 되므로 햄버거와 로고도 한 단계 줄인다.
     (오른쪽 끝은 컨테이너 여백 1.6rem 에 맞춘다) */
  .mbtn {
    top: 1.2rem;
    right: 1.6rem;
    width: 7.2rem;
    height: 7.2rem;
  }

  /* 메뉴판도 헤더 높이(9.6rem)에 맞춰 위 여백을 다시 잡고
     좌우는 본문 여백 1.6rem 에 맞춘다 (메뉴 글자 = 로고 선) */
  #header .gnb {
    padding: 11.6rem 1.6rem 2.4rem 1.6rem;
  }

  /* 좁은 화면에서는 항목 높이를 조금 줄여 목록이 한 화면에 들어가게 한다 */
  #header .gnb > ul > li > a,
  #header.on .gnb > ul > li > a {
    line-height: 5.6rem;
  }

  #header .gnb .adm {
    margin-top: 2rem;
    padding: 1.8rem 2rem;
  }

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

  .mbtn::before {
    top: 2.4rem;
    left: 2rem;
    right: 2rem;
  }

  .mbtn::after {
    bottom: 2.4rem;
    left: 2rem;
    right: 2rem;
  }

  .mbtn span::before,
  .mbtn span::after {
    top: 3.5rem;
    left: 2rem;
    right: 2rem;
  }

  #header h1 a {
    width: 148px;
    height: 34px;
  }
}

/* ==========================================================================
   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 - 푸터
   --------------------------------------------------------------------------
   분양 사이트 표준 짜임 (참고 사이트와 동일)
     · 어두운 바탕 + 옅은 회색 글자, 작은 글씨(1.4rem)
     · 사업 주체 정보는 한 줄에 여러 항목을 놓고 사이에 세로 구분선을 둔다
     · 필수 고지 문구는 줄간격을 넉넉히 둔 목록으로 따로 묶는다
     · 오른쪽 위에 정사각 TOP 버튼이 붙는다
   ========================================================================== */
#footer {
  position: relative;
  padding: 8.8rem 0;

  background: var(--primary-color);
  color: #a6a09a;
  font-size: 1.4rem;
  line-height: 1.45;
}

/* ── 로고 ─────────────────────────────────────────────────── */
#footer .f_logo {
  margin-bottom: 3.2rem;
}

#footer .f_logo img {
  width: auto;
  height: 3.6rem;
  /* 어두운 바탕이므로 원본 로고를 흰색으로 반전 */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

#footer address {
  font-style: normal;
}

/* ── 사업 주체 정보 : 한 줄에 여러 항목 + 세로 구분선 ────────── */
#footer .f_txt {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 3rem;
  margin-bottom: 1.8rem;
}

#footer .f_txt li {
  position: relative;
}

/* 항목 사이 세로 구분선 (첫 항목 앞에는 두지 않는다) */
#footer .f_txt li ~ li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.5rem;
  transform: translate(-50%, -50%);

  width: 1px;
  height: 1rem;
  background: rgba(255, 255, 255, 0.28);
}

#footer .f_txt a {
  color: inherit;
  transition: color 0.2s;
}

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

/* ── 필수 고지 문구 ──────────────────────────────────────── */
#footer .o_txt {
  margin: 3.2rem 0;
  padding: 3.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);

  font-size: 1.3rem;
  line-height: 1.65;
  color: #8d8781;
}

#footer .o_txt li + li {
  margin-top: 0.4rem;
}

/* ── 저작권 ──────────────────────────────────────────────── */
#footer .f_copy {
  display: block;
  margin-top: 3.2rem;

  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: #7c7671;
}

/* ── 오른쪽 위 정사각 TOP 버튼 ───────────────────────────── */
#footer .ft_top {
  position: absolute;
  top: 0;
  /* 본문 오른쪽 선에 맞춘다.
     화면이 본문 폭보다 좁으면 컨테이너 좌우 여백(2.4rem)만 남는다. */
  right: max(2.4rem, calc((100% - var(--inner-size)) / 2 + 2.4rem));

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  width: 10rem;
  height: 10rem;

  background: #1c1b19;
  color: var(--white-color);
  border: 0;
  cursor: pointer;
  transition: background 0.3s;
}

#footer .ft_top:hover {
  background: var(--point-color);
}

#footer .ft_top .icon {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
  stroke-width: 1.6;
}

#footer .ft_top strong {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  #footer {
    padding: 6.4rem 0;
  }

  #footer .ft_top {
    width: 8rem;
    height: 8rem;
  }
}

@media (max-width: 768px) {
  #footer {
    padding: 5.6rem 0 4.8rem;
    font-size: 1.3rem;
  }

  #footer .f_logo img {
    height: 3rem;
  }

  /* 좁은 화면에서는 항목을 줄바꿈하고 구분선을 숨긴다 */
  #footer .f_txt {
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
  }

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

  #footer .o_txt {
    margin: 2.4rem 0;
    padding: 2.4rem 0;
    font-size: 1.2rem;
    line-height: 1.9;
  }

  #footer .ft_top {
    /* 이 폭에서는 컨테이너 좌우 여백이 1.6rem 이다 */
    right: 1.6rem;
    width: 6.4rem;
    height: 6.4rem;
  }

  #footer .ft_top .icon {
    width: 1.7rem;
    height: 1.7rem;
  }

  #footer .ft_top strong {
    font-size: 1.05rem;
  }
}

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

