/* 공통 상단 메뉴 줄 — 전 지면이 이 파일 하나를 쓴다. 치수는 아래 변수 한 곳에서만 바꾼다
   단계: 1920 이상 / 1440~1919 / 1439 이하(햄버거) */

:root{
  --hdr-h:80px; --hdr-pad-x:40px;
  --logo-h:40px; --logo-w:261px;
  --menu-fs:16px; --menu-fw:500; --menu-ls:0px; --menu-gap:32px; --menu-color:#1a1a1a;
  --util-fs:13px; --util-icon:18px; --util-gap:14px; --util-color:#1a1a1a;
  --cta-h:44px; --cta-px:24px; --cta-fs:15px; --cta-fw:600; --cta-radius:9999px;
  --hamburger-icon-size:24px; --hamburger-hit-size:44px;
}
@media (max-width:1919px){:root{
  --hdr-h:76px; --hdr-pad-x:28px;
  --logo-h:38px; --logo-w:248px;
  --menu-fs:15.5px; --menu-gap:20px;
  --util-fs:12.5px; --util-icon:17px; --util-gap:12px;
  --cta-h:42px; --cta-px:22px; --cta-fs:14.5px;
}}
@media (max-width:1439px){:root{
  --hdr-h:64px; --hdr-pad-x:20px;
  --logo-h:28px; --logo-w:183px;
}}

/* 헤더 뒤에 가려 보이지 않던 상단 띠는 걷는다 */
body.wds .dn-topbar{display:none!important}

/* 고정 헤더가 본문을 덮지 않도록 헤더 자리를 비워 둔다 */
body.wds header.header{display:block;height:var(--hdr-h);width:100%;box-sizing:border-box}
/* 헤더 자리는 위 한 곳에서만 비운다 — 본문 래퍼의 옛 모바일 보정(60px)은 겹치므로 걷는다 */
body.wds .content_wrap{padding-top:0!important}
body.wds .head_wrap{position:fixed!important;top:0!important;left:0;right:0;width:100%!important;
  height:var(--hdr-h)!important;padding:0!important;box-sizing:border-box;z-index:1000}

/* 로고 | 메뉴(남는 폭) | 오른쪽 묶음 — 고정폭 열 없이 내용 기준으로 */
body.wds .head_wrap nav.head.dn-nav-wrap{display:flex!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:space-between!important;
  max-width:100%!important;width:100%!important;margin:0!important;padding:0 var(--hdr-pad-x)!important;
  height:var(--hdr-h)!important;min-height:0!important;gap:0!important;grid-template-columns:none!important;
  box-sizing:border-box;position:relative!important}

/* 로고 — 원본 비율(640:98) 그대로 */
body.wds .head_wrap .head_logo.dn-nav-logo{order:-1!important;flex:0 0 auto!important;
  display:flex!important;align-items:center!important;height:100%;margin:0!important;
  padding:0!important;position:static!important;left:auto!important;transform:none!important}
body.wds .head_wrap .head_logo.dn-nav-logo a{display:flex;align-items:center;height:100%}
body.wds .head_wrap .head_logo.dn-nav-logo img{display:block;width:var(--logo-w)!important;height:var(--logo-h)!important;
  max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;object-fit:fill}

/* 가운데 메뉴 */
body.wds .head_wrap .head_menu_wrap.dn-nav-left{order:0!important;flex:1 1 auto!important;min-width:0;
  display:flex!important;justify-content:center!important;align-items:stretch!important;height:100%;
  width:auto!important;max-width:none!important;margin:0 var(--menu-gap)!important}
body.wds .head_wrap .head_menu_wrap.dn-nav-left .head_menu{display:flex!important;flex-wrap:nowrap!important;
  align-items:stretch!important;gap:var(--menu-gap)!important;height:100%;margin:0!important;padding:0!important}
body.wds .head_wrap .head_menu_wrap.dn-nav-left .head_menu>li{flex:0 0 auto!important;display:flex!important;
  align-items:center!important;position:relative;margin:0!important}
body.wds .head_wrap .head_menu_wrap.dn-nav-left .head_menu>li>a{display:flex!important;align-items:center!important;
  height:100%;padding:0!important;font-size:var(--menu-fs)!important;font-weight:var(--menu-fw)!important;
  letter-spacing:var(--menu-ls)!important;line-height:1.2!important;color:var(--menu-color)!important;
  text-transform:none!important;white-space:nowrap!important;word-break:keep-all}

/* 오른쪽 묶음 — 언어·검색·로그인(같은 글자·아이콘·색) + 상담 예약 */
body.wds .head_wrap .dn-nav-right{order:1!important;flex:0 0 auto!important;display:flex!important;
  align-items:center!important;justify-content:flex-end!important;gap:var(--util-gap)!important;height:100%;margin:0!important}
body.wds .head_wrap .dn-nav-right>*{flex:0 0 auto;margin:0!important}
body.wds .head_wrap .m-nav-actions{display:none!important}

/* 언어 선택 — 태극기가 지구본 자리를 쓰므로 지구본은 걷는다 */
body.wds .head_wrap .dn-nav-right .dn-langswitch:not(.dn-langswitch--mobile){display:inline-flex!important;
  align-items:center;width:auto!important;min-width:0!important;position:relative}
body.wds .head_wrap .dn-langswitch__btn::before{content:none!important;display:none!important}
body.wds .head_wrap .dn-langswitch .dn-langswitch__btn{background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;padding:0 4px!important;border-radius:6px!important;gap:6px!important;
  display:flex!important;align-items:center!important;width:auto!important;min-width:0!important;
  height:36px!important;min-height:36px!important;color:var(--util-color)!important}
body.wds .head_wrap .dn-langswitch__btn:hover{background:rgba(0,0,0,.05)!important}
body.wds .head_wrap .dn-langswitch__current{font-size:var(--util-fs)!important;font-weight:500!important;line-height:1!important;
  color:var(--util-color)!important}
body.wds .head_wrap .iu-flag svg{width:var(--util-icon)!important;height:var(--util-icon)!important}
.iu-flag{display:inline-flex;align-items:center;line-height:0;vertical-align:middle}
.iu-flag svg{display:block}
.iu-chev,.dn-langswitch__arrow{transition:transform .18s}
.dn-langswitch[aria-expanded="true"] .iu-chev{transform:rotate(180deg)}

body.wds .head_wrap .iu-search{display:inline-flex!important;align-items:center;justify-content:center;
  min-width:36px;height:36px;padding:0;color:var(--util-color)!important;opacity:1}
body.wds .head_wrap .iu-search svg,body.wds .head_wrap .dn-nav-auth svg{width:var(--util-icon)!important;height:var(--util-icon)!important}
body.wds .head_wrap .dn-nav-auth{display:flex!important;align-items:center;gap:6px!important}
body.wds .head_wrap .dn-nav-auth__link.js-login-only{display:inline-flex!important;align-items:center;gap:6px;
  height:36px;padding:0;font-size:var(--util-fs)!important;font-weight:500!important;line-height:1!important;
  color:var(--util-color)!important;white-space:nowrap}
body.is-logged-in .head_wrap .dn-nav-auth__link.js-login-only{display:none!important}
body.wds .head_wrap .dn-nav-right .dn-nav-auth__link span,body.wds .head_wrap .dn-nav-right .dn-langswitch__current{font-size:var(--util-fs)!important;line-height:1!important;color:var(--util-color)!important}
body.wds .head_wrap .head-cta-btn,body.wds .head_wrap .head-cta-btn *{font-size:var(--cta-fs)!important;line-height:1!important}
.iu-usericon{flex-shrink:0}
body.wds .head_wrap .dn-nav-auth__sep,body.wds .head_wrap .dn-nav-auth__link[href="/signup/"],body.wds .head_wrap .dn-nav-auth__link[href="/signup"]{display:none!important}
body.wds .head_wrap .head-cta-btn{height:var(--cta-h)!important;min-height:0!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;padding:0 var(--cta-px)!important;border-radius:var(--cta-radius)!important;
  white-space:nowrap!important;font-size:var(--cta-fs)!important;font-weight:var(--cta-fw)!important;
  letter-spacing:0!important;line-height:1!important;text-transform:none!important}

/* 761~1439 — 햄버거 패널을 모바일과 같은 모양으로 */
@media (min-width:761px) and (max-width:1439px){
  .head_right_wrap { padding: 40px 30px 90px; width: 100%; }
  .head_right_wrap .head_menu > li { width: 100%; }
  .head_right_wrap .head_menu > li > a { padding: 10px 15px 10px 0px; font-size: 1.2em; }
  .head_right_wrap .head_menu .down_menu { margin-left: 0px; width: 100%; padding: 0px; }
  .head_right_wrap .head_menu .down_menu li > a { color: rgb(66, 66, 66); margin-bottom: 0px; font-size: 0.9em; text-align: start; padding: 12px 20px; font-weight: 500; }
  .menu__wrapper ul { width: 40px; height: 40px; }
  .head_right_wrap .head_right { margin-left: 0px; }
  .head_right_wrap .cont_list { padding-bottom: 10px; }
  .head_right_wrap .head_right ul li a { padding: 0px 10px; }
  .head_right_wrap .head_right ul li:first-child a { padding-left: 0px; }
  .head_right_wrap .head_menu { padding-top: 20px; margin-bottom: 0px; }
  .head_right_wrap .cont_list .head_logo { max-width: 170px; margin-bottom: 20px; }
  .head_right_wrap .cont_list_m > ul { gap: 50px 0px !important; }
  .head_right_wrap > .cont_list > ul { gap: 20px; }
  .head_right_wrap img { max-width: 230px; }
  .head_right_wrap { position: fixed !important; top: 60px !important; left: 0px !important; width: 100% !important; height: calc(-60px + 100vh) !important; background: rgb(255, 255, 255) !important; border-left-width: medium !important; border-left-style: none !important; border-left-color: currentcolor !important; box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 30px !important; transform: translateY(-110%) !important; opacity: 0 !important; pointer-events: none !important; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s !important; overflow-y: auto !important; z-index: 9998 !important; right: 0px !important; }
  .head_right_wrap.right0 { transform: translateY(0px) !important; opacity: 1 !important; pointer-events: auto !important; }
  .head_right_wrap .cont_list { display: none !important; }
  .head_right_wrap .head_menu > li > a { display: flex !important; justify-content: space-between !important; align-items: center !important; font-size: 0.88em !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; color: var(--dn-dark) !important; font-weight: 600 !important; border-bottom: 1px solid rgba(206,143,164,0.1) !important; padding: 20px 24px !important; }
  .head_right_wrap .head_menu > li > a::after { content: "›" !important; font-size: 1.5em !important; font-weight: 300 !important; color: var(--iub-rose-ink,#9B4B65) !important; transition: transform 0.2s !important; line-height: 1 !important; }
  .head_right_wrap .head_menu > li > a.click_menu_open::after { transform: rotate(90deg) !important; }
  .head_right_wrap .head_menu > li > a:hover { color: var(--iub-rose-ink,#9B4B65) !important; }
  .head_right_wrap .head_menu .down_menu { background: rgb(245, 240, 234) !important; border-top-width: medium !important; border-top-style: none !important; border-top-color: currentcolor !important; border-left: 2px solid var(--iub-rose,#CE8FA4) !important; margin-left: 0px !important; }
  .head_right_wrap .head_menu .down_menu li > a { color: var(--dn-sub) !important; font-size: 0.83em !important; padding: 12px 32px !important; }
  .head_right_wrap .head_menu .down_menu li > a::after { display: none !important; }
  .head_right_wrap .head_menu .down_menu li > a:hover { color: var(--iub-rose-ink,#9B4B65) !important; }
  .menu__wrapper.m-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
  .menu__wrapper.m-hamburger.active span:nth-child(2) { opacity: 0 !important; transform: scaleX(0) !important; }
  .menu__wrapper.m-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }
  .m-nav-icon { display: flex !important; align-items: center !important; justify-content: center !important; width: 40px !important; height: 40px !important; color: var(--dn-dark) !important; text-decoration: none !important; border-radius: 6px !important; transition: background 0.2s !important; }
  .m-nav-icon:hover { background: var(--dn-cream2) !important; }
  .menu__wrapper.m-hamburger { display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 5px !important; width: 40px !important; height: 40px !important; cursor: pointer !important; padding: 8px !important; box-sizing: border-box !important; border-radius: 6px !important; transition: background 0.2s !important; }
  .menu__wrapper.m-hamburger:hover { background: var(--dn-cream2) !important; }
  .menu__wrapper.m-hamburger span { display: block !important; width: 22px !important; height: 2px !important; background: var(--dn-dark) !important; border-radius: 1px !important; transition: 0.3s !important; }
}
/* 1439 이하 — 헤더 바에는 로고와 햄버거만. 메뉴·언어·로그인은 패널, 상담은 하단 상담바 */
@media (max-width:1439px){
  body.wds .head_wrap .head_menu_wrap.dn-nav-left,
  body.wds .head_wrap .dn-nav-right{display:none!important}
  body.wds .head_wrap nav.head.dn-nav-wrap{padding:0 calc(var(--hdr-pad-x) - (var(--hamburger-hit-size) - var(--hamburger-icon-size)) / 2) 0 var(--hdr-pad-x)!important}
  body.wds .head_wrap .m-nav-actions{display:flex!important;align-items:center!important;gap:0!important;
    margin-left:auto!important;position:relative!important;z-index:1!important}
  body.wds .head_wrap .m-nav-actions .m-nav-icon{display:none!important}
  body.wds .head_wrap .menu__wrapper.m-hamburger{display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;gap:6px!important;
    width:var(--hamburger-hit-size)!important;height:var(--hamburger-hit-size)!important;
    min-width:var(--hamburger-hit-size);min-height:var(--hamburger-hit-size);padding:0!important;
    box-sizing:border-box!important;border-radius:6px!important}
  body.wds .head_wrap .menu__wrapper.m-hamburger span{display:block!important;width:var(--hamburger-icon-size)!important;
    height:2px!important;background:var(--util-color)!important;border-radius:1px!important}
  body.wds .head_wrap .menu__wrapper.m-hamburger.active span:nth-child(1){transform:translateY(8px) rotate(45deg)!important}
  body.wds .head_wrap .menu__wrapper.m-hamburger.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)!important}
  /* 햄버거 패널은 헤더 바로 아래에서 시작한다 */
  body.wds .head_right_wrap{top:var(--hdr-h)!important;height:calc(100vh - var(--hdr-h))!important}
  body.wds .head_right_wrap .head_menu>li>a{font-size:16px!important;padding-top:14px!important;padding-bottom:14px!important;
    color:var(--menu-color)!important;letter-spacing:0!important}
  body.wds .head_right_wrap .dn-langswitch--mobile{display:block!important}
  /* 패널 안 언어·로그인도 손가락 크기(44px)로 */
  body.wds .head_right_wrap .dn-langswitch__chip{min-height:44px!important;display:flex!important;align-items:center!important;box-sizing:border-box}
  body.wds .head_right_wrap .head_right ul li a,
  body.wds .head_right_wrap .m-menu-auth a{min-height:44px!important;min-width:44px!important;justify-content:center!important;
    display:inline-flex!important;align-items:center!important}
  /* 펼침 버튼(+/−)은 하위 목록을 열어도 상위 줄 오른쪽에 머문다 */
  html body.wds .head_right_wrap .head_menu>li>a{min-height:var(--mrow-h)!important;box-sizing:border-box!important}
  html body.wds .head_right_wrap .head_menu>li>button.wds-menu-toggle{top:0!important;bottom:auto!important;
    height:var(--mrow-h)!important;min-height:var(--mrow-h)!important}
  /* 패널이 열려 있는 동안 뒤 화면은 움직이지 않는다 — 패널 안에서만 스크롤한다 */
  html[data-iu-menu="open"],html[data-iu-menu="open"] body{overflow:hidden!important}
  body.wds .head_right_wrap{overscroll-behavior:contain}
}
:root{--mrow-h:52px}

/* 넓은 화면 — 화면을 굴리는 동안에는 펼쳐진 하위 메뉴를 접는다(다시 메뉴를 가리키면 열린다) */
@media (min-width:1440px){
  html[data-iu-nav="scrolled"] body.wds .head_wrap .head_menu_wrap .head_menu>li>.down_menu{display:none!important}
}

/* 메뉴 서랍: 로그인 전에는 로그아웃을, 로그인 뒤에는 로그인·회원가입을 숨긴다 */
html body:not(.is-logged-in) .m-menu-auth .js-logout-only{display:none!important}
html body.is-logged-in .m-menu-auth .js-login-only{display:none!important}
/* 손가락 크기: 메뉴 서랍 하위 링크 · 넓은 화면의 언어·로그인(모양은 그대로, 눌리는 면만) */
@media (max-width:1023px){
  html body.wds .head_right_wrap .head_menu .down_menu li > a{padding-top:13px!important;padding-bottom:13px!important}
}
@media (min-width:1024px){
  html body.wds .head_wrap .dn-nav-right :is(.dn-langswitch__btn,.dn-nav-auth__link){position:relative}
  html body.wds .head_wrap .dn-nav-right :is(.dn-langswitch__btn,.dn-nav-auth__link)::after{content:""!important;display:block!important;position:absolute!important;left:0;right:0;top:50%;height:44px;transform:translateY(-50%);background:none!important;border:0!important}
}


/* 언어 선택 목록 — 국기 + 왼쪽 정렬 목록형 */
html body.wds .dn-langswitch .dn-langswitch__menu{min-width:176px!important;padding:6px!important;border-radius:12px!important;border:1px solid var(--wds-border,#ececec)!important;background:#fff!important;box-shadow:0 12px 32px rgba(30,16,18,.12)!important}
html body.wds .dn-langswitch .dn-langswitch__menu li{display:block;margin:0;padding:0}
html body.wds .dn-langswitch .dn-langswitch__menu li>a,
html body.wds .dn-langswitch--mobile .dn-langswitch__chips>a.dn-langswitch__chip{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;padding:0 12px!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#2b2326!important;font-size:14px!important;font-weight:500!important;line-height:1!important;letter-spacing:0!important;text-align:left!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;box-shadow:none!important;transition:background-color .15s ease,color .15s ease}
html body.wds .dn-langswitch--mobile .dn-langswitch__chips>a.dn-langswitch__chip{height:44px!important;min-height:44px!important;font-size:15px!important}
html body.wds .dn-langswitch .dn-langswitch__menu li>a::before,
html body.wds .dn-langswitch--mobile .dn-langswitch__chips>a.dn-langswitch__chip::before{content:""!important;display:block!important;flex:none!important;width:18px!important;height:18px!important;margin:0!important;border-radius:50%;background:#eee center/cover no-repeat!important;-webkit-mask:none!important;mask:none!important;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
html body.wds .dn-langswitch .dn-langswitch__menu li>a::after,
html body.wds .dn-langswitch--mobile .dn-langswitch__chips>a.dn-langswitch__chip::after{content:none!important;display:none!important}
html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a)[hreflang^="ko"]::before{background-image:url(/site/assets/_self/common/img/flags/kr.svg)!important}
html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a)[hreflang^="en"]::before{background-image:url(/site/assets/_self/common/img/flags/us.svg)!important}
html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a)[hreflang^="ja"]::before{background-image:url(/site/assets/_self/common/img/flags/jp.svg)!important}
html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a)[hreflang^="zh"]::before{background-image:url(/site/assets/_self/common/img/flags/cn.svg)!important}
html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a):lang(ja){font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Pretendard,sans-serif!important}
html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a):lang(zh){font-family:"PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei",Pretendard,sans-serif!important}
@media (hover:hover){html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a):hover{background:#f7f3f4!important;color:#1a1a1a!important}}
html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a):is(.is-active,[aria-current="true"]){background:var(--wds-primary-soft,#F9EEF2)!important;color:var(--iub-rose-ink,#9B4B65)!important;font-weight:600!important}
html body.wds .dn-langswitch :is(.dn-langswitch__menu li>a,.dn-langswitch__chips>a):focus-visible{outline:2px solid var(--iub-ink,#242424)!important;outline-offset:-2px}
html:is([lang^="en"],[lang^="ja"],[lang^="zh"]) body.wds :is(.dn-langswitch__btn,.dn-langswitch__label) .dn-langswitch__icon{width:var(--util-icon,18px);height:var(--util-icon,18px);border-radius:50%;background:#eee center/cover no-repeat;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
html:is([lang^="en"],[lang^="ja"],[lang^="zh"]) body.wds :is(.dn-langswitch__btn,.dn-langswitch__label) .dn-langswitch__icon svg{visibility:hidden}
html[lang^="en"] body.wds :is(.dn-langswitch__btn,.dn-langswitch__label) .dn-langswitch__icon{background-image:url(/site/assets/_self/common/img/flags/us.svg)}
html[lang^="ja"] body.wds :is(.dn-langswitch__btn,.dn-langswitch__label) .dn-langswitch__icon{background-image:url(/site/assets/_self/common/img/flags/jp.svg)}
html[lang^="zh"] body.wds :is(.dn-langswitch__btn,.dn-langswitch__label) .dn-langswitch__icon{background-image:url(/site/assets/_self/common/img/flags/cn.svg)}
/* 슬라이드 패널 안 로고 — 원본 비율(640:98)대로 높이를 따라가게 한다 */
.head_right_wrap .cont_list li.pc img{height:auto}
