

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  width: 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: none; }
ul, ol { list-style: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
small { opacity: .8; }

.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(--color-main2); 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(--color-main2); }
.logo-mark .li { display: block; background: currentColor; }

.logo-mark .li-en { display: none; }

.logo-mark .li-kr {
  width: 182px; height: 22px;
  -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-kr { width: 274px; height: 33px; }

.site-header { width: 100%; z-index: 50; }
.site-header .gnb { display: flex; align-items: center; }

@media (min-width: 991px) {
  .site-header {
    position: fixed;
    top: 0;
    height: var(--pc-header-height);
  }
  .site-header .gnb {
    
    justify-content: space-between;
    gap: var(--hdr-gap);
    
    position: relative;
    width: calc(100% - 32px);
    max-width: 1600px;
    margin: 0 auto;
    height: var(--pc-header-height);
    font-size: var(--fs-16);
  }
  .site-header .menu-btn { display: none; }

  .site-header .logo { flex: 0 0 auto; }

  
  .site-header .nav {
    display: flex; height: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }
  
  .site-header .nav a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-align: center; white-space: nowrap; }
  .site-header .nav a:hover { color: var(--color-main1); }         
  .site-header .nav a.is-active { font-weight: var(--fw-head); }   

  
  .site-header .hd-right {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-12);
  }
  .site-header .tel {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--color-main1);
    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;
  }
  .site-header .tel .tel-short { display: none; }

  
  .site-header:hover { background: #fff; }

  
  .site-header.on-dark::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0;
    height: calc(var(--pc-header-height) + 24px);
    background: linear-gradient(180deg, rgba(var(--main1-rgb), .45) 0%, rgba(var(--main1-rgb), 0) 100%);
    pointer-events: none;
    z-index: -1;
  }
  .site-header.on-dark:hover::before { opacity: 0; }

  
  .site-header.on-dark .logo-mark { color: var(--color-text-invert); }  
  .site-header.on-dark .nav a { color: var(--color-text-invert); }
  .site-header.on-dark:hover .logo-mark { color: var(--color-main2); }
  .site-header.on-dark:hover .nav a { color: var(--color-text); }

  
  .mega {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #f5f5f5;
    max-height: 0;
    overflow: hidden;
    z-index: 1;
  }
  .site-header:hover .mega { max-height: 1000px; border-bottom: 1px solid #eee; }
  .mega-inner {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));  
    max-width: var(--pc-gnb-width);
    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(--color-main1); color: var(--color-text-invert); }

  
  .header-dim { position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: #000; opacity: 0; pointer-events: none; }
  .site-header:hover .header-dim { opacity: .5; }

  
  .mega .mo-gnb { display: none; }
}

@media (min-width: 991px) and (max-width: 1199px) {
  .site-header .gnb { gap: 16px; }
  .site-header .nav { font-size: 15px; }
  .site-header .tel .tel-full { display: none; }
  .site-header .tel .tel-short { display: inline; }
  .site-header .logo .li-kr { width: 158px; height: 19px; }
}

@media (min-width: 2560px) {
  .site-header .gnb { font-size: 20px; }
  .site-header .logo .li-kr { width: 232px; height: 28px; }  
}

@media (max-width: 990px) {
  html { min-width: initial; }
  .site-header { position: sticky; top: 0; background: var(--color-main1); z-index: 3; } 
  .site-header .gnb { position: relative; height: var(--mo-header-height); justify-content: center; }
  .site-header .logo { color: var(--color-text-invert); gap: 6px; }
  .site-header .logo .li-kr { width: 28vw; height: 3.38vw; }
  .site-header .nav { display: none; }
  .site-header .menu-btn {
    position: absolute; left: 4vw; top: 50%; transform: translateY(-50%);
    width: 26px; height: 20px; display: block;
  }
  .site-header .menu-btn span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; border-radius: var(--sp-4); }
  .site-header .menu-btn span:nth-child(1) { top: 0; }
  .site-header .menu-btn span:nth-child(2) { top: 9px; }
  .site-header .menu-btn span:nth-child(3) { bottom: 0; }
  
  .site-header .hd-right { position: absolute; right: 2vw; display: flex; align-items: center; }
  .site-header .bgm-toggle { display: none; }
  .site-header .tel {
    display: flex; align-items: center; gap: 4px;
    background: #fff; color: var(--color-main1);
    font-weight: var(--fw-head); font-size: 3.6vw;
    border-radius: var(--radius-circle); padding: 1.2vw 3vw;
  }
  .site-header .tel .tel-full { display: none; }
  .mega, .header-dim { display: none; } 
}

.site-footer { width: 100%; background: var(--color-footer-bg); color: var(--color-text-invert); }
.site-footer .ft-wrap { display: flex; }
.site-footer .ft-logo { margin-bottom: var(--sp-20); color: var(--color-text-invert); }

.site-footer 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;
}
.site-footer table td { padding: 2px 0; vertical-align: top; }
.site-footer table td:first-child { width: 68px; font-weight: var(--fw-head); padding-right: var(--sp-8); }
.site-footer p { font-size: var(--fs-12); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: -0.6px; opacity: .8; }
.site-footer p + p { margin-top: 2px; }
.site-footer .ft-copyright { margin-top: var(--sp-12); }
.site-footer .ft-tel { display: flex; align-items: center; font-size: var(--fs-24); }
.site-footer .ft-tel b { font-size: 1.8rem; font-family: var(--font-display-kr); }

@media (min-width: 991px) {
  .site-footer .ft-wrap { width: var(--container-1400); margin: 0 auto; padding: 3rem 0 4rem; }
  .site-footer .ft-info { display: flex; flex-direction: column; width: 70%; }
  .site-footer .ft-side { display: flex; flex-direction: column; align-items: flex-end; width: 30%; padding-top: var(--sp-10); }
}
@media (max-width: 990px) {
  .site-footer .ft-wrap { flex-direction: column-reverse; padding: 0; }
  .site-footer .ft-info { padding: 3vw; }
  .site-footer .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(0, 6, 24, .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: none; border: 0; padding: var(--sp-8) var(--sp-4);
  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; width: 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(--color-main3); }

@media (max-width: 990px) {
  .site-popup { display: none !important; }
}

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