@charset "utf-8";

/* ==================================================
  layout : header
================================================== */
/* header */
.hd { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; color: #111; transition: color .3s, transform .4s; }
.hd.hide { -webkit-transform: translateY(-100%); transform: translateY(-100%); }
.hd::before { content: ''; position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; background: #fff; transition: height .6s cubic-bezier(.25,.8,.25,1), opacity .4s, box-shadow .4s; }
.hd::after { content: ''; position: absolute; top: 120px; left: 0; width: 100%; height: 1px; background: #ddd; transition: opacity .3s; }
.hd.hover::before { height: calc(100% + var(--gnb_h, 0px)); box-shadow: 0 0 0 100vmax rgba(0,0,0,0.6); }
.hd_in { display: flex; align-items: center; justify-content: space-between; gap: 0 40px; max-width: 1920px; height: 120px; margin: 0 auto; padding: 0 60px; }
.logo { flex-shrink: 0; }
.logo a { display: block; }
.logo .logo_wh { display: none; }

/* header : PC gnb */
.gnb { align-self: stretch; }
.gnb_d1 { display: flex; height: 100%; gap: 0 clamp(28px, calc(6.989vw - 54.19px), 80px); }
.gnb_d1 > li { height: 100%; }
.gnb_d1 > li > a { display: flex; align-items: center; height: 120px; font-size: clamp(1.4rem, calc(.768rem + .5376vw), 1.8rem); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; transition: color .2s; }
.gnb_d1 > li:has(.gnb_d2:hover) > a, .gnb_d1 > li:has(.gnb_d2 :focus-visible) > a { color: var(--pink); font-weight: 500; }
.gnb_d2 { max-width: 0; padding: 30px 0 34px; white-space: nowrap; opacity: 0; visibility: hidden; -webkit-transform: translateY(-10px); transform: translateY(-10px); transition: max-width .6s cubic-bezier(.25,.8,.25,1), opacity .5s, visibility .5s, transform .5s; }
.hd.hover .gnb_d2 { max-width: var(--d2_w, 300px); opacity: 1; visibility: visible; -webkit-transform: translateY(0); transform: translateY(0); }
.gnb_d2 a { display: block; width: max-content; padding: 6px 0; font-size: clamp(1.4rem, calc(1.084rem + .2688vw), 1.6rem); line-height: 1.45; color: #111; transition: color .2s, text-shadow .2s; }
.gnb_d2 a:hover, .gnb_d2 a:focus-visible { color: var(--pink); font-weight: 500; }

/* header : 유틸 */
.hd_util { display: flex; flex-shrink: 0; align-items: center; }
.lang_list { display: flex; align-items: center; height: 40px; }
.lang_list li { display: flex; align-items: center; }
.lang_list li + li::before { content: ''; display: block; width: 1px; height: 10px; margin: 0 10px; background: currentColor; opacity: .5; }
.lang_list a { display: block; font-size: 1.4rem; font-weight: 500; line-height: 1; opacity: .6; transition: opacity .2s; }
.lang_list a.on, .lang_list a:hover { opacity: 1; }
.sm_btn { display: block; width: 36px; height: 30px; margin-left: clamp(24px, calc(6.183vw - 48.71px), 70px); display: none;}
.sm_btn svg { display: block; width: 100%; height: 100%; }

/* 모바일 gnb (PC에서는 숨김) */
.mo_gnb, .mo_dim { display: none; }

/* 반응형 : 1600 */
@media (max-width: 1600px) {
  .hd_in { padding: 0 40px; }
}

/* 반응형 : 1175 (모바일 gnb) */
@media (max-width: 1175px) {
  .hd::after { display: none; }
  .hd.scr::before { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
  .hd.hide::before { box-shadow: none; }
  .hd_in { height: 70px; padding: 0 20px; }
  .logo img { height: 30px; }
  .gnb, .lang { display: none; }
  .sm_btn { width: 26px; height: 26px; margin-left: 0; display: block;}

  .mo_gnb { position: fixed; top: 0; right: 0; z-index: 20; display: flex; flex-direction: column; width: 100%; max-width: 420px; height: 100%; background: #fff; color: #111; visibility: hidden; -webkit-transform: translateX(100%); transform: translateX(100%); transition: transform .4s, visibility .4s; }
  .mo_open .mo_gnb { visibility: visible; -webkit-transform: translateX(0); transform: translateX(0); }
  .mo_top { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 70px; padding: 0 20px; border-bottom: 1px solid #eee; }
  .mo_lang { display: flex; align-items: center; }
  .mo_lang li { display: flex; align-items: center; }
  .mo_lang li + li::before { content: ''; display: block; width: 1px; height: 10px; margin: 0 12px; background: #ddd; }
  .mo_lang a { font-size: 1.5rem; font-weight: 600; color: #333; }
  .mo_lang a.on { color: var(--pink); }
  .mo_close { display: block; width: 22px; height: 22px; }
  .mo_close svg { display: block; width: 100%; height: 100%; }
  .mo_cont { flex: 1; overflow-y: auto; padding: 10px 30px 40px; -webkit-overflow-scrolling: touch; }
  .mo_box { border-bottom: 1px solid #ccc; }
  .mo_d1 { position: relative; display: block; padding: 25px 30px 22.5px 0; font-size: 1.9rem; font-weight: 700; transition: color .2s; }
  .mo_d1::after { content: ''; position: absolute; top: 50%; right: 0; width: 14px; height: 8px; margin-top: -4px; background: var(--gnb_arr) no-repeat center / contain; transition: transform .3s; }
  .mo_box.on .mo_d1 { color: var(--pink); border-bottom: 1px solid #ccc; }
  .mo_box.on .mo_d1::after { background-image: var(--gnb_arr_pk); -webkit-transform: rotate(180deg); transform: rotate(180deg); }

  .mo_d2 { display: none; padding: 30px 0; }
  .mo_d2 li {padding-left: 15px;}
  .mo_d2 li + li {padding-top: 27px;}
  .mo_d2 a { display: block; font-size: 1.7rem; color: #111; }

  .mo_dim { position: fixed; top: 0; left: 0; z-index: 10; display: block; width: 100%; height: 100%; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: .4s; }
  .mo_open .mo_dim { opacity: 1; visibility: visible; }
}

/* 반응형 : 768px */
@media (max-width: 768px) {
  .hd_in { height: 65px; }
  .mo_gnb { max-width: none; }
  .mo_top { height: 65px; }
  .mo_cont { padding: 6px 30px 24px; }
}


/* ==================================================
   layout : footer
================================================== */
/* footer */
.ft { padding: 90px 0; background: #001827; color: #fff; }
.ft svg { display: block; }
.ft_in { max-width: var(--mainInWide); margin: 0 auto; padding: 0 var(--mainSidePadding); box-sizing: border-box; }
.ft_top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 100px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.ft_nav { display: flex; flex: 1; }
.ft_nav > li { flex: 0 1 260px; padding-right: 20px; box-sizing: border-box; }
.ft_nav_tit { display: inline-block; margin-bottom: 35px; font-size: 16px; font-weight: 700; color: #fff; }
.ft_nav_sub li + li { margin-top: 15px; }
.ft_nav_sub a { font-size: 16px; color: #999; word-break: keep-all; transition: color .3s; }
.ft_sns { display: flex; flex-shrink: 0; }
.ft_sns li + li { margin-left: 14px; }
.ft_sns a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid #666; border-radius: 50%; color: #666; box-sizing: border-box; transition: background .3s, border-color .3s, color .3s; }

.ft_btm { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 40px; padding-top: 60px; }
.ft_addr { grid-column: 1; grid-row: 1; font-size: 16px; color: #999; word-break: keep-all; }
.ft_copy { grid-column: 1; grid-row: 2; margin-top: 9px; font-size: 16px; color: #999; }
.net_btn { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; justify-content: space-between; width: 240px; height: 56px; padding: 0 22px; border: 1px solid #666; border-radius: 5px; font-size: 16px; font-weight: 600; color: #CCC; box-sizing: border-box; transition: border-color .3s, background .3s; }
.net_btn svg { width: 12px; height: 12px; }

.ft_nav_sub a:focus-visible, .ft_nav_tit:focus-visible { color: #fff; }
.ft_sns a:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.net_btn:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); }


/* 맨 위로 */
.top_btn { position: fixed; right: 40px; bottom: 40px; z-index: 90; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--pink); border: 1px solid var(--pink); _box-shadow: 0 6px 20px rgba(10,34,114,.18); opacity: 0; visibility: hidden; -webkit-transform: translateY(10px); transform: translateY(10px); transition: opacity .3s, visibility .3s, transform .3s, background .3s, color .3s; }
.top_btn.on { opacity: 1; visibility: visible; -webkit-transform: translateY(0); transform: translateY(0); }
.top_btn svg { display: block; width: 20px; height: 20px; }

/* CHA Network 팝업 */
body.pop_open { overflow: hidden; }
.net_pop { position: fixed; top: 0; left: 0; z-index: 200; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.net_pop.on { opacity: 1; visibility: visible; }
.net_dim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.6); }
.net_box { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 800px; max-height: 100%; border-radius: 20px; background: #fff; color: #111; -webkit-transform: translateY(20px); transform: translateY(20px); transition: transform .3s; }
.net_pop.on .net_box { -webkit-transform: translateY(0); transform: translateY(0); }
.net_head { display: flex; align-items: center; flex-shrink: 0; padding: 30px 40px; border-bottom: 1px solid #eee; }
.net_ico { width: 42px; height: 42px; color: #003456; }
.net_h { margin-left: 14px; font-size: 26px; font-weight: 700; }
.net_close { width: 22px; height: 22px; margin-left: auto; color: #111; }
.net_close svg { width: 100%; height: 100%; }
.net_cont { padding: 30px 40px 40px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.net_grp + .net_grp { margin-top: 36px; }
.net_tit { margin-bottom: 14px; font-size: 17px; font-weight: 700; color: #0a2272; }
.net_list { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; }
.net_list a { display: flex; align-items: center; height: 52px; padding: 0 18px; border: 1px solid #e5e5e5; border-radius: 6px; font-size: 15px; color: #444; transition: border-color .2s, color .2s; }

/* hover : 마우스 기기만 */
@media (hover: hover) and (pointer: fine) {
  .ft_nav_sub a:hover, .ft_nav_tit:hover { color: #fff; }
  .ft_sns a:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
  .net_btn:hover { border-color: #fff; background: rgba(255,255,255,.08); }
  .top_btn:hover {border: 1px solid var(--pink); background: var(--pink); }
  .top_btn:hover svg {color: #fff; }
}


/* 반응형 : 1280 */
@media (max-width: 1280px) {
  .ft_tit { font-size: 38px; }
}

/* 반응형 : 1024 */
@media (max-width: 1024px) {
  .ft_top { flex-direction: column; padding-bottom: 60px; }
  .ft_nav { flex-wrap: wrap; width: 100%; }
  .ft_nav > li { flex: 0 0 33.333%; margin-bottom: 40px; }
  .ft_sns { margin-top: 10px; }
  .top_btn { right: 24px; bottom: 24px; width: 50px; height: 50px; }
  .net_list { grid-template-columns: repeat(2, 1fr); }
}

/* 반응형 : 768 */
@media (max-width: 768px) {
  .ft { padding: 35px 0 40px; }
  .ft_in { padding: 0 20px; }

  /* 상단 : 메뉴 숨김, SNS 가운데 */
  .ft_top { align-items: center; padding-bottom: 0; border-bottom: 0; }
  .ft_nav { display: none; }
  .ft_sns { margin-top: 0; }
  .ft_sns li + li { margin-left: 16px; }
  .ft_sns a { width: 44px; height: 44px; }
  .ft_sns svg { width: 18px; height: 18px; }

  /* 하단 : 주소 → CHA Network → 카피라이트 순서 */
  .ft_btm { display: flex; flex-direction: column; padding-top: 30px; }
  .ft_addr { font-size: 13px; line-height: 1.4; }
  .net_btn { order: 1; width: 100%; height: 45px; margin-top: 25px; padding: 0 18px; font-size: 14px; font-weight: 700; border-radius: 0;}
  .ft_copy { order: 2; margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; text-align: center; width: 100%; }

  /* 맨 위로 */
  .top_btn { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .top_btn svg { width: 18px; height: 18px; }

  /* CHA Network 팝업 : 바텀시트 */
  .net_pop { align-items: flex-end; padding: 0; }
  .net_box { max-height: 85%; border-radius: 20px 20px 0 0; -webkit-transform: translateY(100%); transform: translateY(100%); }
  .net_head { padding: 22px 20px; }
  .net_ico { width: 32px; height: 32px; }
  .net_h { margin-left: 10px; font-size: 20px; }
  .net_cont { padding: 24px 20px 30px; }
  .net_grp + .net_grp { margin-top: 28px; }
  .net_tit { font-size: 15px; }
  .net_list { grid-gap: 8px; }
  .net_list a { height: 46px; padding: 0 14px; font-size: 14px; }
}
