
* { box-sizing: border-box; margin: 0 }
* { padding: 0 }
html { inline-size: 100%; max-width: var(--page-max); margin: 0 auto; font-size: 16px; scroll-behavior: smooth }

body { font-family: var(--font-body); font-size: var(--fs-16); font-weight: var(--fw-regular); line-height: var(--lh-body); letter-spacing: var(--ls-base); color: var(--color-text); background: #fff; word-break: keep-all }

img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration-line: none }
ul, ol { list-style: none }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; cursor: pointer }
small { opacity: .8 }

.hl-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px }

a, button, input, select, textarea, label, summary, [role="button"] { -webkit-tap-highlight-color: transparent }

.logo-mark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--brand-2) }
.logo-mark .li { display: block; background: currentColor }
.logo-mark .li-en { width: 80px; height: 22px; -webkit-mask: url(../img/logo_en.svg)no-repeat center/contain; mask: url(../img/logo_en.svg)no-repeat center/contain }
.logo-mark .li-kr { width: 129px; height: 13px; -webkit-mask: url(../img/logo_kr.svg)no-repeat center/contain; mask: url(../img/logo_kr.svg)no-repeat center/contain }
.logo-mark.is-light { color: var(--color-text-invert) }
.logo-mark.is-lg .li-en { width: 120px; height: 33px }
.logo-mark.is-lg .li-kr { width: 189px; height: 19px }

.pagehead { width: 100%; z-index: 50 }
.pagehead .topnav { display: flex }
.pagehead .topnav { align-items: center }

@media (min-width:991px) {
  .pagehead { position: fixed; top: 0; height: var(--hd-h-pc) }
  .pagehead .topnav { justify-content: space-between; gap: var(--hdr-gap); position: relative; inline-size: calc(100% - 32px); max-width: 1600px; margin: 0 auto; height: var(--hd-h-pc); font-size: var(--fs-16) }
  
  .pagehead .menu-btn { display: none }
  .pagehead .brandmark { flex: 0 0 auto }
  .pagehead .navlist { display: flex; height: 100%; flex: 1 1 auto; min-width: 0 }
  
  .pagehead .navlist a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-align: center; white-space: nowrap }
  .pagehead .navlist a:hover { color: var(--brand-1) }
  .pagehead .navlist a.hl-is-active { font-weight: var(--fw-head) }
  .pagehead .hd-right { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-12) }
  .pagehead .hl-tel { display: flex; align-items: center; gap: 5px; background: var(--brand-1); color: var(--color-text-invert); font-weight: var(--fw-emph); font-size: var(--fs-24); border-radius: var(--radius-circle); padding: var(--sp-4) 22px; white-space: nowrap }
  .pagehead .hl-tel .tel-short { display: none }
  
  .pagehead:hover { background: #fff }
  .pagehead.on-dark::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--hd-h-pc) + 24px); background: linear-gradient(180deg,rgba(var(--main1-rgb),.45) 0%,rgba(var(--main1-rgb),0) 100%); pointer-events: none; z-index: -1 }
  .pagehead.on-dark:hover::before { opacity: 0 }
  
  .pagehead.on-dark .logo-mark { color: var(--color-text-invert) }
  .pagehead.on-dark .navlist a { color: var(--color-text-invert) }
  .pagehead.on-dark:hover .logo-mark { color: var(--brand-2) }
  .pagehead.on-dark:hover .navlist a { color: var(--color-text) }
  .allmenu { position: absolute; left: 0; right: 0; top: 100%; background: #f5f5f5; max-height: 0; overflow: hidden; z-index: 1 }
  .pagehead:hover .allmenu { max-block-size: 1000px; border-bottom: 1px solid #eee }
  .mega-inner { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); max-width: var(--gnb-w-pc); margin: 0 auto }
  
  .mega-col { border-left: 1px solid #ebebeb }
  .mega-col:last-child { border-right: 1px solid #ebebeb }
  .mega-col h4 { display: none }
  .mega-col ul li a { display: block; padding: var(--sp-16) var(--sp-12); text-align: left }
  .mega-col ul li a:hover { background: var(--brand-1); color: var(--color-text-invert) }
  
  .header-dim { position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: #000; opacity: 0; pointer-events: none }
  .pagehead:hover .header-dim { opacity: .5 }
  
  .allmenu .mo-gnb { display: none }
}
@media (min-width:991px) and (max-width:1199px) {
  .pagehead .topnav { gap: 16px }
  .pagehead .navlist { font-size: 15px }
  .pagehead .hl-tel .tel-full { display: none }
  .pagehead .hl-tel .tel-short { display: inline }
  .pagehead .brandmark .li-en { width: 69px; height: 19px }
  .pagehead .brandmark .li-kr { width: 110px; height: 11px }
}

@media (min-width:2560px) {
  .pagehead .topnav { font-size: 20px }
  .pagehead .brandmark .li-en { width: 102px; height: 28px }
  
  .pagehead .brandmark .li-kr { width: 159px; height: 16px }
}

@media (max-width:990px) {
  html { min-inline-size: initial }
  .pagehead { position: sticky; top: 0; background: var(--brand-1); z-index: 3 }
  .pagehead .topnav { position: relative; block-size: var(--hd-h-mo); justify-content: center }
  .pagehead .brandmark { color: var(--color-text-invert); gap: 6px }
  .pagehead .brandmark .li-en { width: 13.1vw; height: 3.6vw }
  .pagehead .brandmark .li-kr { width: 21.9vw; height: 2.2vw }
  .pagehead .navlist { display: none }
  .pagehead .menu-btn { position: absolute; left: 4vw; top: 50%; transform: translateY(-50%); width: 26px; height: 20px; display: block }
  .pagehead .menu-btn span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; border-radius: var(--sp-4) }
  .pagehead .menu-btn span:nth-child(1) { top: 0 }
  .pagehead .menu-btn span:nth-child(2) { top: 9px }
  .pagehead .menu-btn span:nth-child(3) { bottom: 0 }
  .pagehead .hd-right { position: absolute; right: 2vw; display: flex; align-items: center }
  .pagehead .tune-btn { position: absolute; left: calc(4vw + 34px); top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 8.4vw; height: 8.4vw; max-width: 36px; max-height: 36px; border-radius: var(--radius-circle); background: var(--brand-3); color: var(--brand-1) }
  .pagehead .tune-btn svg { width: 55%; height: 55%; stroke-width: 1.6px }
  .pagehead .tune-btn .ic-off { display: none }
  .pagehead .tune-btn.tune-on .ic-off { display: block }
  .pagehead .tune-btn.tune-on .ic-on { display: none }
  .pagehead .hl-tel { display: flex; align-items: center; gap: 4px; background: #fff; color: var(--brand-1); font-weight: var(--fw-head); font-size: 3.6vw; border-radius: var(--radius-circle); padding: 1.2vw 3vw }
  .pagehead .hl-tel .tel-full { display: none }
  .allmenu, .header-dim { display: none }
  
}

.pagefoot { width: 100%; background: var(--color-footer-bg); color: var(--color-text-invert) }
.pagefoot .ft-wrap { display: flex }
.pagefoot .ft-logo { margin-bottom: var(--sp-20); color: var(--color-text-invert) }
.pagefoot table { width: 100%; font-size: 0.6825rem; font-weight: var(--fw-btn); line-height: 1.5; letter-spacing: -0.546px; margin-bottom: var(--sp-20); border-collapse: collapse }

.pagefoot table td { padding: 2px 0; vertical-align: top }
.pagefoot table td:first-child { width: 68px; font-weight: var(--fw-head); padding-right: var(--sp-8) }
.pagefoot p { font-size: var(--fs-12); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: -0.6px; opacity: .8 }
.pagefoot p+p { margin-top: 2px }
.pagefoot .ft-copyright { margin-top: var(--sp-12) }
.pagefoot .ft-tel { display: flex; align-items: center; font-size: var(--fs-24) }
.pagefoot .ft-tel b { font-size: 1.8rem; font-family: var(--font-display-kr) }
@media (min-width:991px) {
  .pagefoot .ft-wrap { width: var(--container-1400); margin: 0 auto; padding: 3rem 0 4rem }
  .pagefoot .ft-info { display: flex; flex-direction: column; inline-size: 70% }
  .pagefoot .ft-side { display: flex; flex-direction: column; align-items: flex-end; width: 30%; padding-top: var(--sp-10) }
}
@media (max-width:990px) {
  .pagefoot .ft-wrap { flex-direction: column-reverse; padding: 0 }
  .pagefoot .ft-info { padding: 3vw }
  .pagefoot .ft-side { padding: 8vw 2.5vw 2.5vw; border-bottom: 1px solid rgba(255,255,255,.2) }
}

.site-popup { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 60; display: flex; align-items: center; justify-content: center }
.site-popup[hidden] { display: none }
.site-popup .sp-dim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(var(--shadow-rgb),.72) }

.site-popup .sp-inner { position: relative; z-index: 1; width: min(94vw,860px); max-height: 92vh; overflow-y: auto; display: flex; flex-direction: column; gap: var(--sp-12); padding: 0 var(--sp-8) var(--sp-8) }

.site-popup .sp-close { align-self: flex-end; background: var(--color-overlay-70); border: 0; border-radius: var(--radius-circle); padding: var(--sp-8) var(--sp-12); color: #fff; font-size: var(--fs-14); font-weight: var(--fw-head); cursor: pointer }
.site-popup .sp-imgs { display: flex; gap: var(--sp-12) }

.site-popup .sp-card { flex: 1 1 50%; min-width: 0; display: block; border-radius: 6px; overflow: hidden }
.site-popup .sp-card img { display: block; inline-size: 100%; height: auto }
.site-popup .sp-today { display: flex; align-items: center; gap: var(--sp-8); color: #fff; font-size: var(--fs-14) }
.site-popup .sp-today input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--brand-3) }

@media (max-width:990px) {
  
  .site-popup .sp-dim { background: rgba(var(--shadow-rgb),.88) }
  .site-popup .sp-inner { width: min(94vw,520px); padding: 0 var(--sp-12) var(--sp-12) }
  .site-popup .sp-imgs { gap: var(--sp-8); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none }
  
  
  .site-popup .sp-imgs::-webkit-scrollbar { display: none }
  
  
  .site-popup .sp-card { flex: 0 0 100%; scroll-snap-align: center }
  
  
  .site-popup .sp-imgs { order: 1 }
  .site-popup .sp-dots { order: 2 }
  .site-popup .sp-today { order: 3 }
  .site-popup .sp-swipe { order: 4 }
  
  .site-popup .sp-close { position: absolute; z-index: 2; top: var(--sp-8); right: var(--sp-12); display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: var(--color-overlay-70); border-radius: var(--radius-circle); font-size: var(--fs-16); line-height: 1 }
  .site-popup .sp-close .sc-label { display: none }
  
  .site-popup .sp-today { justify-content: center }
  
  .site-popup .sp-swipe { align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-4); padding: var(--sp-4) var(--sp-12); background: var(--color-overlay-70); border-radius: var(--radius-circle); color: var(--color-text-invert); font-size: var(--fs-13); letter-spacing: var(--ls-base); white-space: nowrap; transition: opacity .3s,visibility .3s }
  
  .site-popup .sp-swipe .sw-ico { width: 16px; height: 16px; flex: 0 0 auto; color: var(--brand-3) }
  .site-popup .sp-swipe .sw-ico:first-child { animation: swipeHintL 1.4s ease-in-out infinite }
  .site-popup .sp-swipe .sw-ico:last-child { animation: swipeHintR 1.4s ease-in-out infinite }
  
  .site-popup .sp-swipe.is-done { opacity: 0%; visibility: hidden }
  
  .site-popup .sp-dots { align-self: center; display: flex; align-items: center; gap: var(--sp-8); margin-top: var(--sp-8) }
  .site-popup .sp-dots i { display: block; width: 8px; height: 8px; border-radius: var(--radius-circle); background: rgba(255,255,255,.3); transition: background var(--dur-ui) ease,transform var(--dur-ui) ease }
  .site-popup .sp-dots i.is-seen { background: var(--brand-3) }
  .site-popup .sp-dots i.is-now { transform: scale(1.5) }
}

@media (min-width:991px) {
  .site-popup .sp-swipe, .site-popup .sp-dots { display: none }
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
