#content .theme__latest.theme__latest__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12rem;
}

#content .theme__latest.theme__latest__list .theme__list__title {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
}

#content .theme__latest.theme__latest__list .theme__list__title a {
  font-size: inherit;
  font-weight: inherit;
}

#content .theme__latest.theme__latest__list .theme__list__desc {
  margin-bottom: 4rem;
}

#content .theme__latest.theme__latest__list img {
  width: 100%;
  height: auto;
  margin-bottom: 2.4rem;
  outline: 1px solid var(--line-color);
}

/* ==========================================================================
   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.4rem;
  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(23, 25, 27, 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(14, 15, 16, 0.2);
}

#login_pop h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-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(--text-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.5rem;
  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;
  border-bottom: 1px solid rgba(23, 25, 27, 0.1);
}

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

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

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

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

/* 포인트 컬러 원 안의 아이콘 (기존 홈 'H' 버튼 스타일) */
#header .hd_tel .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--point-color);
}

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

#header .hd_tel a {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-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: 400;
  line-height: 9.6rem;
  text-transform: uppercase;
  color: var(--text-color);

  white-space: nowrap;
}

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

#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.5rem;

  white-space: nowrap;
}

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

#header .gnb > ul > li ul li ~ li a {
  border-top: 1px solid rgba(23, 25, 27, 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: 2.4rem;
    right: 2rem;
    /* 메뉴 오버레이(.gnb_container, 1000)와 로고(1001)보다 위에 있어야
       메뉴를 열었을 때 닫기(X) 버튼이 가려지지 않는다 */
    z-index: 1002;

    width: 32px;
    height: 32px;

    background: var(--lightgray-color);
    border: 1px solid var(--line-color);
    border-radius: 0;
    /* 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);
  }

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

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

  /* 모바일에서는 메뉴가 화면 전체를 덮는 오버레이가 된다 (헤더에는 로고만 남음) */
  #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(23, 25, 27, 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: 10rem 3.2rem 4rem 3.2rem;
    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 .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.5rem;
  }

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

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

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

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

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

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

/* ==========================================================================
   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: 5.6rem 0 5.6rem 0;
  background: var(--footerbg-color);
  color: var(--text-color);
  border-top: 1px solid var(--line-color);
  font-size: 1.5rem;
}

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

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

#footer .lnk {
  margin-bottom: 5.6rem;
  padding: 5.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer .lnk > ul {
  display: flex;
  gap: 8rem;
}

#footer .lnk > ul > li > a {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
}

#footer .lnk > ul ul a {
  display: block;
  line-height: 1.5;
}

@media (max-width: 768px) {
  #footer .lnk {
    display: none;
  }
}

#footer .inner {
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  align-items: center; */
  gap: 8px;
}

#footer .info {
  display: flex;
  gap: 2.4rem;
}

#footer .info li {
  position: relative;
  /* text-align: center; */
  white-space: nowrap;
}

#footer .info li ~ li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;

  transform: translate(0, -50%);

  width: 1px;
  height: 0.5em;

  background: #ccc;
}

@media (max-width: 768px) {
  #footer .info {
    flex-direction: column;
    gap: 0;
  }

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

/* Family Link - 패밀리 사이트 */
#footer .ft_info {
  position: relative;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

#footer .ft_info #family_link .f_link {
  position: relative;
  display: block;
  width: 16rem;
  height: 4rem;
  padding: 0 2.4rem;
  font-size: 1.5rem;
  text-align: left;
  color: var(--line-color);
  text-transform: uppercase;
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

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

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

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

  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--text-color);
  overflow: hidden;
}

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

#footer .ft_info #family_link ul > li ~ li > a {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 1024px) {
  #footer .ft_info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4rem;
  }
}

/* ==========================================================================
   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: 5.6rem;
  height: 5.6rem;
  border-radius: 0;
  overflow: hidden;
  background: var(--white-color);
  border: 1px solid var(--line-color);
  transition: all 0.3s;
}

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

/* 아이콘: 오른쪽 원 영역(6.4rem)에 고정 */
#side_lnk .lnk_wrap > a .icon {
  position: absolute;
  top: 50%;
  right: 1.6rem;
  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%;
  /* 로고(3.2rem)가 5.6rem 네모칸 정중앙에 오는 값 */
  right: 1.2rem;
  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: 5.6rem;
  height: 5.6rem;
  background: var(--primary-color);
  border-radius: 0;
}

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

#side_lnk .lnk_wrap > a.d_tel {
  position: relative;
  background: var(--point-color);
  border-color: var(--text-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(14, 15, 16, 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;
  border-radius: 0.8rem;
}

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

  border-radius: 0;

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

  font-size: 1.8rem;

  border: 1px solid rgba(23, 25, 27, 0.1);
}

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

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

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

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

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

