@charset "utf-8";
/* layout.css는 전체적인 레이아웃 스타일을 정의합니다. */ 
html.home-fullpage {scroll-snap-type:y mandatory; scroll-padding-top:var(--fullpage-header,80px);}

html.home-fullpage #footer {scroll-snap-align:start; scroll-snap-stop:always;}

#skipToContent a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skipToContent a:focus, 
#skipToContent a:active {width:200px;height:50px;background:#21272e;color:#fff;font-size:14px;font-weight:bold;text-align:center;text-decoration:none;line-height:50px;outline-color:#f37736;}

.only-desktop {display:block;}
.only-desktop-tablet {display:block;}
.only-tablet-mobile {display:none;}
.only-tablet {display:none;}
.only-mobile {display:none;}

.contain {width:100%; max-width:1260px; padding-left:var(--space-container); padding-right:var(--space-container); margin:0 auto;}


#header {position:fixed; top:0; left:0; z-index:100; width:100%; background:#fff; border-bottom:1px solid #ddd; z-index:100;}
#header .contain {position:relative; display:flex; align-items:center; justify-content:space-between; height:var(--header-height); z-index:10;}

.sitelogo {color:#242424; font-size:var(--font-size-32); font-weight:700; letter-spacing:-.02em; line-height:1.3em;}

#gnb {text-align:center; flex:1 1 auto; min-width:0; width:1%;}
#gnb>ul {display:flex; justify-content:flex-end;} 
#gnb>ul>li {position:relative; padding:0 45px;}
#gnb>ul>li>a {position:relative; display:flex; align-items:center; flex-direction: column; justify-content:center; height:var(--header-height); color:#242424; font-size:var(--font-size-18); font-weight:600; letter-spacing:-.02em; line-height:1.3em;}
#gnb>ul>li.active>a {color:var(--color-primary);}
#gnb .submenu {position:absolute; left:0; width:100%; height:0; overflow:hidden; text-align:center;}
#gnb .submenu>ul {padding:var(--space-20) var(--space-10);}
#gnb .submenu>ul>li>a {display:block; padding:var(--space-10) 0; color:#454545; font-size:var(--font-size-16); line-height:1.33em;}
#gnb .submenu>ul>li>a:hover {text-decoration:underline;}
#gnb .submenu>ul>li.active>a {color:#42ade2;}
.submenu-bg {display:none; position:absolute; width:100%; left:0; background:#fff; border-top:1px solid #ddd; border-bottom:1px solid #eee;}

/* for mobile navigation */
.btn-m-menu {display:none; position:relative; width:24px; height:24px;}
.btn-m-menu div {display:flex; flex-direction:column; justify-content:center; align-items:flex-end; gap:7px; width:100%; height:100%;}
.btn-m-menu span {display:block; width:100%; height:2px; background:#121212;}

.mobile-navigation {display:none; position:fixed; top:0; right:0; width:300px; height:100%; overflow:auto; transition:.2s linear; -ms-transform:translateX(100%); transform:translateX(100%); background:#fff; z-index:102;}
.mobile-navigation .home {display:flex; align-items:center; height:80px; padding:0 20px; color:#242424; font-size:19px; font-weight:700; line-height:1.5em;}
.mobile-navigation .nav-menu>ul {border-top:1px solid #ddd;}
.mobile-navigation .nav-menu>ul>li {border-bottom:1px solid #ddd;}
.mobile-navigation .nav-menu>ul>li>a {position:relative; padding:10px 48px 10px 20px; display:block; color:#242424; font-size:19px; font-weight:700; line-height:1.5em;}
.mobile-navigation .nav-menu>ul>li>a:after {content:""; position:absolute; top:50%; right:20px; transform:translateY(-75%) rotate(45deg); width:11px; height:11px; border-right:2px solid #505050; border-bottom:2px solid #505050;}
.mobile-navigation .nav-menu>ul>li.active>a {color:#fff; background:#42ade2}
.mobile-navigation .nav-menu>ul>li.active>a:after {transform:translateY(-35%) rotate(-135deg); border-color:#fff;}
.mobile-navigation .nav-menu .submenu {display:none; background:#f8f8f8; color:#454545; font-size:16px; font-weight:400; line-height:1.5em;}
.mobile-navigation .nav-menu .submenu ul li {border-top:1px solid #e5e5e5;}
.mobile-navigation .nav-menu .submenu ul li a {display:block; padding:12px 20px;}
.mobile-navigation .nav-menu .submenu ul li a:hover {color:#42ade2;}
.mobile-navigation .close {position:absolute; top:25px; right:15px; width:26px; height:26px; text-indent:-9999em; overflow:hidden;}
.mobile-navigation .close:before,
.mobile-navigation .close:after {content:" "; position:absolute; top:12px; left:0; width:100%; height:3px; background:#242424; border-radius:3px;}
.mobile-navigation .close:before {transform:rotate(45deg);}
.mobile-navigation .close:after {transform:rotate(-45deg);}
.mobile-overlay {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; opacity:0.6; z-index:101;}

html.menu-opened {overflow:hidden;}
html.menu-opened .mobile-navigation {-ms-transform:translateX(0); transform:translateX(0);}
html.menu-opened .mobile-overlay {display:block;}

/* main */
.main-section {padding:var(--space-100) 0;}
.main-section h2 {font-size:var(--font-size-40); font-weight:700; line-height:1.3em; letter-spacing:-.02em; text-align:center;}

.main-visual {height:50vh; background:#333; color:#fff;}

.main-about {background:#eee;}
.main-business {background:#fff;}
.main-contact {background:#cfd8eb;}

/* sub layout */
.sub-visual {display:flex; align-items:center; justify-content:center; margin-top:100px; width:100%; height:300px; background:#eee; text-align:center;}
.sub-visual h2 {font-size:48px; line-height:1.3em;}

.lnb-wrap {border-bottom:1px solid #ddd;}
.lnb {max-width:1200px; margin:0 auto;}
.lnb ul {display:flex;}
.lnb ul li {flex:1; border-right:1px solid #ddd;}
.lnb ul li:first-child {border-left:1px solid #ddd;}
.lnb ul li a {display:flex; align-items:center; justify-content:center; width:100%; height:60px; background:#fff; text-align:center;}
.lnb ul li.active a {background:#333; color:#fff;}

#contArea {max-width:1260px; margin:0 auto; padding-left:var(--space-container); padding-right:var(--space-container);}
#contArea.wide {max-width:100%; width:100%; padding:0;}
#contArea.wide .sub-title {padding-left:var(--space-container); padding-right:var(--space-container);}

.sub-title {padding:80px 0; text-align:center;}
.sub-title h2 {font-size:32px; line-height:1.3em;}

/* 서브 본문 ↔ #footer 간격 — 전 페이지 120px (내부 래퍼 하단 padding과 중복 금지) */
.real-cont {min-height:300px; padding-bottom:120px;}


/* footer */
#footer {padding:var(--space-30) 0; background:#242424; color:#fff; text-align:center;}
#footer .copyright {font-size:14px; font-weight:400; line-height:1.3em;}
/* work-r3: persistent navigation and independent contact buttons */
#header .header-bar {padding-left:clamp(20px,4vw,80px); padding-right:clamp(20px,4vw,80px);}
@media (min-width:1101px) {
 #header .sitelogo,#header .header-actions {display:flex; align-items:center; align-self:flex-start; min-height:var(--header-band-h,48px); box-sizing:border-box;}
}
#gnb {position:static; display:block;}
#gnb>ul {justify-content:center;}
#gnb>ul>li {padding:0; flex:1; max-width:160px; position:static;}
#gnb>ul>li>a {height:48px; font-size:17px; white-space:nowrap; display:flex; align-items:center; justify-content:center;}
#gnb .submenu {position:relative; height:auto; overflow:visible; width:100%; display:none;}
#gnb .submenu>ul {padding:0 6px;}
#gnb .submenu>ul>li>a {font-size:16px; padding:10px 0;}
#gnb>ul>li>a:hover, #gnb>ul>li>a:focus-visible {color:var(--color-primary);}
.header-sns {display:none; justify-content:center; align-items:center; gap:20px; padding:0; margin:0;}
.header-sns-link {display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:#f2f2f2;}
.header-sns-link img {width:20px; height:20px;}
.header-sns__label {margin-right:0; color:#888; font-size:14px; font-weight:500; line-height:1.5; white-space:nowrap;}
#header .btn-m-menu.btn-header-menu {display:none;}
.quick-menu {position:fixed; right:28px; bottom:28px; z-index:99; display:flex; flex-direction:column; gap:12px;}
.quick-menu__btn {display:flex; flex-direction:column; gap:6px; justify-content:center; align-items:center; width:76px; height:76px; border-radius:22px; color:#fff; box-shadow:0 4px 18px #0002; transition:transform .2s;}
.quick-menu__label {font-size:12px; font-weight:600; line-height:1.2; letter-spacing:-.03em; white-space:nowrap;}
.quick-menu__btn svg {flex-shrink:0; width:26px; height:26px;}
.quick-menu__btn--inquiry {background:#ce0d0d;}
.quick-menu__btn--phone {background:#242424;}
.quick-menu__btn:hover {transform:translateY(-3px); color:#fff;}
.quick-menu__btn:focus-visible {outline:3px solid #ce0d0d; outline-offset:4px;}
.quick-menu__trigger {display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; width:76px; height:76px; border:0; border-radius:22px; background:#ce0d0d; color:#fff; font-size:12px; font-weight:600; cursor:pointer; box-shadow:0 4px 18px #0002; text-decoration:none;}
.quick-menu__triggers {display:flex; flex-direction:column; gap:12px;}
.quick-menu__trigger--phone {background:#242424;}
.quick-menu__panel {position:absolute; right:0; bottom:0; width:268px; padding:18px; box-sizing:border-box; border:1px solid #eee; border-radius:24px; background:#fff; color:#242424; box-shadow:0 12px 40px #0002; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(8px); transition:opacity .18s,transform .18s,visibility .18s;}
.quick-menu.is-open .quick-menu__panel {opacity:1; visibility:visible; pointer-events:auto; transform:none;}
.quick-menu__contact {display:flex; align-items:center; gap:10px; padding:14px 10px; border-radius:14px; color:#242424; font-size:18px; letter-spacing:-.03em; white-space:nowrap;}
.quick-menu__contact:first-child {padding:12px 14px; background:transparent; color:#242424; font-size:16px;}
.quick-menu__contact strong {font-weight:600;}
.quick-menu__icon {display:flex; align-items:center; justify-content:center; flex:none; width:30px; height:30px; color:inherit;}
.quick-menu__icon svg {width:23px; height:23px;}
.quick-menu__icon--inquiry {background:transparent;}
.quick-menu__icon--phone {background:transparent; color:#555;}
.quick-menu__channels-toggle {display:flex; align-items:center; justify-content:space-between; width:100%; margin-top:4px; padding:14px 4px 4px; border:0; border-top:1px solid #eee; background:none; color:#777; font-size:16px; font-weight:500; cursor:pointer;}
.quick-menu__toggle-mark {font-size:18px; line-height:1;}
.quick-menu__channels {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; padding-top:14px;}
.quick-menu__channels[hidden] {display:none;}
.quick-menu__channels a {display:flex; flex-direction:column; justify-content:center; align-items:center; gap:9px; padding:14px 2px; border-radius:12px; background:#f6f6f6; font-size:14px; color:#555; transition:background .2s,color .2s;}
.quick-menu__channels img {object-fit:contain;}
.quick-menu__channels a:hover {color:#ce0d0d;}
.quick-menu__contact:hover, .quick-menu__contact:focus-visible {background:#242424; color:#fff;}
.quick-menu__contact:first-child:hover, .quick-menu__contact:first-child:focus-visible {background:#ce0d0d; color:#fff;}
.quick-menu__contact:hover .quick-menu__icon, .quick-menu__contact:focus-visible .quick-menu__icon {color:inherit;}
.quick-menu__channels a:hover {background:#fff0f0;}
.quick-menu button:focus-visible, .quick-menu a:focus-visible {outline:2px solid #ce0d0d; outline-offset:3px;}

/* BEGIN EVEN HOME FONTS */
html.home-fullpage #wrapper #header > div.header-bar.contain > nav.gnb > ul > li > a,
html.home-fullpage #wrapper #header > div.header-bar.contain > div.header-actions > a.btn-header-cta,
html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--foot > nav.footer-policy > a.footer-policy__link {font-size:18px;}
html.home-fullpage #wrapper #header > div.header-bar.contain > nav.gnb > ul > li > div.submenu > ul > li > a,
html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--body > div.footer-info > p.footer-info__line > span.footer-info__label,
html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--body > div.footer-info > p.footer-info__line > span.footer-info__value,
html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--body > div.footer-info > div.footer-info__group > p.footer-info__line > span.footer-info__label,
html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--body > div.footer-info > div.footer-info__group > p.footer-info__line > span.footer-info__value,
html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--foot > div.footer-credits > p.footer-credits__copy.copyright,
html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--foot > div.footer-credits > p.footer-credits__design > a.design-credit {font-size:16px;}
html.home-fullpage #wrapper #header > div.header-bar.contain > nav.gnb > div.header-sns > span.header-sns__label {font-size:14px;}
html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--head > div.footer-aside > p.footer-consult__num > a {font-size:36px;}
html.home-fullpage body #menu > div.gnb-panel__inner > nav.nav-menu.gnb-panel__nav > ul > li > a,
html.home-fullpage body #menu > div.gnb-panel__inner > nav.nav-menu.gnb-panel__nav > ul > li > div.submenu > ul > li > a {font-size:24px;}
html.home-fullpage body #menu > div.gnb-panel__inner > div.gnb-panel__foot > a.gnb-panel__tel {font-size:20px;}
/* END EVEN HOME FONTS */

/* Expanded header SNS aligned below the logo */
@media (min-width: 1101px) {
  #header:has(#gnb:hover) .header-bar::before,
  #header:has(#gnb:focus-within) .header-bar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #ddd;
    pointer-events: none;
    z-index: 6;
  }
  #header:has(#gnb:hover) .header-sns,
  #header:has(#gnb:focus-within) .header-sns {
    position: absolute;
    left: var(--sub-gutter);
    top: calc(var(--header-band-y) * 3 + var(--header-band-h));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    width: 252px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    box-sizing: border-box;
  }

  /* SNS 문구와 아이콘을 한 줄로 배치 */
  #header:has(#gnb:hover) .header-sns::before,
  #header:has(#gnb:focus-within) .header-sns::before {
    content: none;
  }

  #header:has(#gnb:hover) .header-sns-link,
  #header:has(#gnb:focus-within) .header-sns-link {
    width: 100%;
    height: 84px;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #555;
    border-radius: 10px;
    border: none;
    background: #f5f5f5;
  }

  #header:has(#gnb:hover) .header-sns-link img,
  #header:has(#gnb:focus-within) .header-sns-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

}

@media (min-width: 1101px) {
  #header .header-sns__label {grid-column: 1 / -1; text-align: left; margin-bottom: 6px;}
  #header .header-sns-link:hover {background: #ececec;}
}
