@charset "utf-8"; #hd_login_msg, #hd_pop {
    display: none;
}

/* 공통: 글꼴 적용, 헤더, 전체 메뉴, 푸터, 빠른 상담 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-white);
}

.inner {
    width: 100%;
    max-width: var(--container-width);
    padding-inline: var(--page-gutter); margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

#skip-link a {
    position: fixed;
    z-index: 300;
    top: 1rem;
    left: 1rem;
    padding: 1rem 2rem;
    color: #fff;
    background: #111;
    transform: translateY(-200%);
}

#skip-link a:focus {
    transform: none;
}

/* 아이콘 */
.ico {
    display: block;
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 로고 */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.logo-symbol {
    display: flex;
    align-items: flex-end;
    gap: .3rem;
    width: 3.6rem;
    height: 3.6rem;
}

.logo-symbol i {
    display: block;
    width: 1rem;
    background: #901b1b;
}

.logo-symbol i:nth-child(1) {
    height: 2.2rem;
    background: var(--color-primary);
}

.logo-symbol i:nth-child(2) {
    height: 3rem;
}

.logo-symbol i:nth-child(3) {
    height: 1.6rem;
}

.logo-word {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    line-height: normal;
}

.logo-word strong {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -.08rem;
    color: var(--color-dark);
}

.logo-word em {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .1rem;
    color: var(--color-text-mute);
}

/* 헤더 / PC 내비게이션 */
#header {
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    background: #fff;
    position: relative;
}

#header.fixed {
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

#header .inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#gnb {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

#gnb > .ul_1 {
    display: flex;
}

#gnb > .ul_1 > .li_1 {
    position: relative;
    padding-inline: 2rem; }

#gnb .a_1 {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--header-height);
    white-space: nowrap;
    font-size: 1.6rem;
    font-weight: 700;
}

#gnb > .ul_1 > .li_1.is-active > .a_1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2.4rem;
    width: 2.4rem;
    height: .2rem;
    background: var(--color-primary);
    transform: translateX(-50%);
}

#gnb .ul_2 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    width: max-content;
    padding: 1.6rem 2rem;
    background: rgba(255,255,255,.8);
    box-shadow: 0 1rem 2.4rem rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(10px);
}

#gnb > .ul_1 > .li_1:hover .ul_2, #gnb > .ul_1 > .li_1:focus-within .ul_2 {
    opacity: 1;
    visibility: visible;
}

#gnb .ul_2 a {
    display: block;
    padding: .6rem .5rem;
    text-align: center;
    font-size: 1.6rem;
    color: var(--color-dark);
}

.ul_1 a:hover, .ul_1 a:focus-visible {
    color: var(--color-primary);
}

.util {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.util .lang {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-sub);
    margin-right: .6rem;
}

.util-bar {
    width: 1px;
    height: 1.4rem;
    margin-right: .6rem;
    background: var(--color-line);
}

.util button {
    display: grid;
    place-items: center;
    width: 4.4rem;
    height: 4.4rem;
}

.btn-search .ico {
    width: 1.8rem;
    height: 1.8rem;
}

.allMenu {
    position: relative;
    z-index: 202;
    margin-right: -1.2rem;
}

.allMenu .ico {
    width: 2rem;
    height: 2rem;
}

.allMenu .ico-close {
    display: none;
}

.allMenu.on .ico-menu {
    display: none;
}

.allMenu.on .ico-close {
    display: block;
}

#header.menu-open {
    background: transparent;
    box-shadow: none;
    pointer-events: none;
    z-index: 202;
}

#header.menu-open .logo, #header.menu-open #gnb, #header.menu-open .lang, #header.menu-open .util-bar, #header.menu-open .btn-search {
    visibility: hidden;
}

/* 메뉴가 열리면 패널 안의 닫기 버튼(.gnb-close)을 사용 (헤더 버튼은 흰 배경 위에서 보이지 않음) */
#header.menu-open .allMenu {
    visibility: hidden;
}

.gnb-close {position: absolute;top: 2.4rem;right: var(--edge-x);z-index: 3;display: inline-flex;align-items: center;gap: .8rem;height: 4.8rem;padding: 0 1.8rem;border: 1px solid var(--color-line);border-radius: 99.9rem;font-size: 1.5rem;font-weight: 700;color: var(--color-dark);background: #fff;transition: color .25s, border-color .25s;}
.gnb-close:hover, .gnb-close:focus-visible {color: var(--color-primary);border-color: var(--color-primary);}
.gnb-close .ico {width: 1.8rem;height: 1.8rem;}

/* 전체 화면 메뉴 */
.gnb-panel {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    height: 100vh;
    height: 100dvh;
    background: #fff;
}

.gnb-panel-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30%;
    padding: 4rem;
    color: #fff;
    background: var(--color-dark);
}

.gnb-panel-side .logo-symbol i {
    background: #fff;
}

.gnb-panel-side .logo-symbol i:nth-child(1) {
    background: var(--color-primary);
}

.gnb-panel-side .side-copy {
    font-size: 5.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.1rem;
}

.gnb-panel-content {
    width: 70%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10rem 14% 6rem 10%;
}

.gnb-panel .li_1 {
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-line);
}

.gnb-panel .a_1 {
    display: inline-block;
    margin-bottom: 1.6rem;
    font-size: 3.4rem;
    line-height: 1.3;
    font-weight: 700;
}

.gnb-panel .ul_2 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
}

.gnb-panel .ul_2 a {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text-mute);
}

.gnb-panel .ul_2 a:hover, .gnb-panel .ul_2 a:focus-visible {
    color: var(--color-primary);
}

body.scroll-lock {
    position: fixed;
    top: var(--scroll-top, 0px);
    width: 100%;
    overflow: hidden;
}

/* 빠른 상담 */
.quick {
    position: fixed;
    z-index: 90;
    top: 50%;
    right: 2.4rem;
    width: 6.4rem;
    overflow: hidden;
    border-radius: .4rem;
    background: var(--color-dark);
    color: #fff;
    box-shadow: 0 1rem 2.8rem rgba(0,0,0,.14);
    transform: translateY(-50%);
}

.quick a, .quick button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.quick .q-consult {
    height: 7.6rem;
    gap: .7rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--color-primary);
}

.quick .q-consult .ico {
    width: 2rem;
    height: 2rem;
}

.quick .q-tel {
    height: 7.2rem;
    gap: .6rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,.72);
}

.quick .q-tel .ico {
    width: 1.8rem;
    height: 1.8rem;
    color: #fff;
}

.quick .q-top {
    height: 4.8rem;
    border-top: 1px solid rgba(255,255,255,.14);
}

.quick .q-top .ico {
    width: 1.7rem;
    height: 1.7rem;
}

.quick a:hover, .quick button:hover {
    filter: brightness(1.15);
}

/* 푸터 */
.site-footer {
    padding: 6rem 0 3.4rem;
    background: var(--color-dark);
    color: #fff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    min-height: 22rem;
    padding-bottom: 4.8rem;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4rem;
    width: 42rem;
}

.site-footer .logo-symbol i {
    background: #fff;
}

.site-footer .logo-symbol i:nth-child(1) {
    background: var(--color-primary);
}

.site-footer .logo-word strong {
    color: #fff;
}

.site-footer .logo-word em {
    color: rgba(255,255,255,.55);
}

.footer-info address {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    font-size: 1.4rem;
    color: rgba(255,255,255,.6);
}

.footer-info .tel {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 2rem;
}

.footer-info .biz {
    font-size: 1.3rem;
    color: rgba(255,255,255,.45);
}

.footer-menu {
    display: flex;
    gap: 6.4rem;
    width: 56rem;
}

.footer-menu .group {
    flex: 1;
    min-width: 0;
}

.footer-menu h2 {
    margin-bottom: 1.4rem;
    font-size: 2rem;
    font-weight: 700;
}

.footer-menu li + li {
    margin-top: 1.1rem;
}

.footer-menu a {
    font-size: 1.6rem;
    color: rgba(255,255,255,.55);
}

.family {
    width: 19rem;
}

.family label {
    display: block;
    margin-bottom: 1.6rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    appearance: none;
    width: 100%;
    height: 4.4rem;
    padding: 0 4rem 0 1.4rem;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 0;
    font-size: 1.3rem;
    color: #fff;
    background: transparent;
}

.select-wrap select option {
    color: #111;
}

.select-wrap .ico {
    position: absolute;
    top: 50%;
    right: 1.4rem;
    width: 1.5rem;
    height: 1.5rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 3.4rem;
    font-size: 1.3rem;
}

.footer-bottom .policy {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 2.2rem;
    color: rgba(255,255,255,.55);
}

.footer-bottom .policy strong {
    color: #fff;
}

.footer-bottom .copy {
    font-size: 1.2rem;
    color: rgba(255,255,255,.4);
}

.site-footer a:hover, .site-footer a:focus-visible {
    color: #fff;
}

/* 반응형 */
@media (max-width: 79.999em) {
    :root {
        --page-gutter: 4rem;
    }

    #gnb > .ul_1 > .li_1 {
        padding-inline: 1.4rem; }

    .gnb-panel-content {
        padding-right: 8%;
        padding-left: 8%;
    }

    .footer-menu {
        gap: 4rem;
        width: 44rem;
    }
}

@media (max-width: 63.999em) {
    :root {
        --header-height: 7.2rem;
    }

    #gnb {
        display: none;
    }

    .footer-top {
        flex-wrap: wrap;
    }

    .footer-info {
        width: 100%;
        gap: 2.4rem;
    }

    .footer-menu {
        flex: 1;
        width: auto;
    }

    .gnb-panel-content {
        padding-top: 8rem;
    }

    .gnb-panel-side {
        padding: 3rem;
    }

    .gnb-panel-side .side-copy {
        font-size: 3.4rem;
    }
}

@media (max-width: 47.999em) {
    :root {
        --page-gutter: 2rem;
    }

    .logo-word strong {
        font-size: 2rem;
    }

    .gnb-panel-side {
        display: none;
    }

    .gnb-panel-content {
        width: 100%;
        padding: 8.4rem 2.4rem 4rem;
    }

    .gnb-close {top: 1.2rem;right: 1.6rem;height: 4.4rem;}

    .gnb-panel .li_1 {
        padding: 2.4rem 0;
    }

    .gnb-panel .a_1 {
        font-size: 2.8rem;
    }

    .gnb-panel .ul_2 a {
        font-size: 1.8rem;
    }

    .footer-menu {
        flex-basis: 100%;
        gap: 2rem;
    }

    .family {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick {
        top: auto;
        bottom: 2rem;
        right: 1.2rem;
        width: 5.2rem;
        transform: none;
    }

    .quick .q-consult {
        height: 6rem;
    }

    .quick .q-tel {
        height: 5.6rem;
    }

    .quick .q-top {
        height: 4.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* 스크롤 진입 효과 */
.reveal {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
