/* =========================================
   전체 사이트 폰트
========================================= */

html,
body,
body *,
button,
input,
textarea,
select,
option,
table {
    font-family:
        "Pretendard",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Malgun Gothic",
        sans-serif !important;
}


/* 폰트 렌더링 개선 */

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-weight: 400;
    letter-spacing: -0.02em;
}
/* =========================================================
   HCHOME HEADER
========================================================= */

#hchome-header,
#hchome-header * {
    box-sizing: border-box;
}

#hchome-header {
    --header-height: 88px;
    --header-bg: rgba(255,255,255,.96);
    --header-text: #111827;
    --header-sub: #6b7280;
    --header-line: #e5e7eb;
    --header-point: #111827;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);

    background: var(--header-bg);
    border-bottom: 1px solid #c9c9cb;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 9990;
}


/* =========================================================
   HEADER INNER
========================================================= */

.hchome-header-inner {
    width: min(1440px, calc(100% - 60px));
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* =========================================================
   LOGO
========================================================= */

.hchome-logo {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-decoration: none;
    color: #111827;

    line-height: 1;
}

.hchome-logo-main {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.hchome-logo-sub {
    margin-top: 7px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #6b7280;
}


/* =========================================================
   PC NAV
========================================================= */

.hchome-nav {
    height: 100%;
    /*margin-left: auto;*/
}

.hchome-nav-list {
    height: 100%;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    list-style: none;
}

.hchome-nav-item {
    position: relative;
    height: 100%;

    display: flex;
    align-items: center;
}

.hchome-nav-link {
    position: relative;

    height: 100%;
    padding: 0 24px;

    display: flex;
    align-items: center;

    color: #271111;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.2px;

    white-space: nowrap;

    transition:
        color .25s ease,
        opacity .25s ease;
}

.hchome-nav-link:hover {
    color: #555;
}


/* 활성 메뉴 */

.hchome-nav-item.hchome-active
.hchome-nav-link {
    font-weight: 800;
}

.hchome-nav-item.hchome-active
.hchome-nav-link::after {
    content: "";

    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;

    /*height: 3px;*/

    background: #390207;

    border-radius: 3px 3px 0 0;
}


/* =========================================================
   PC SUBMENU
========================================================= */

.hchome-submenu {
    position: absolute;

    top: calc(100% - 1px);
    left: 50%;

    min-width: 190px;

    margin: 0;
    padding: 12px;

    transform:
        translate(-50%, 10px);

    background: rgba(255,255,255,.98);

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    list-style: none;

    z-index: 9999;
}

.hchome-nav-item:hover
.hchome-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translate(-50%, 0);
}

.hchome-submenu li {
    margin: 0;
    padding: 0;
}

.hchome-submenu a {
    display: block;

    padding: 12px 14px;

    border-radius: 9px;

    color: #374151;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease;
}

.hchome-submenu a:hover {
    color: #111827;
    background: #f3f4f6;
}


/* =========================================================
   HEADER RIGHT
========================================================= */

.hchome-header-right {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 18px;
}


/* =========================================================
   MEMBER
========================================================= */

.hchome-member {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hchome-member a {
    color: #6b7280;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition: color .2s ease;
}

.hchome-member a:hover {
    color: #111827;
}

.hchome-member-divider {
    width: 1px;
    height: 11px;

    background: #d1d5db;
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.hchome-contact-btn {
    min-width: 100px;
    height: 42px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: #111827;

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.hchome-contact-btn:hover {
    background: #000;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.15);
}


/* =========================================================
   MOBILE HAMBURGER
========================================================= */

.hchome-mobile-toggle {
    position: relative;

    width: 46px;
    height: 46px;

    padding: 0;

    display: none;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    background: transparent;
    border: 0;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}

.hchome-mobile-toggle span {
    position: absolute;

    width: 24px;
    height: 2px;

    background: #111827;

    border-radius: 2px;

    transition:
        transform .3s ease,
        opacity .2s ease,
        top .3s ease;
}


/* 기본 삼선 */

.hchome-mobile-toggle span:nth-child(1) {
    top: 14px;
}

.hchome-mobile-toggle span:nth-child(2) {
    top: 22px;
}

.hchome-mobile-toggle span:nth-child(3) {
    top: 30px;
}


/* =========================================================
   HAMBURGER → X
========================================================= */

.hchome-mobile-toggle.is-open span:nth-child(1) {
    top: 22px;

    transform: rotate(45deg);
}

.hchome-mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;

    transform: scaleX(0);
}

.hchome-mobile-toggle.is-open span:nth-child(3) {
    top: 22px;

    transform: rotate(-45deg);
}


/* =========================================================
   MOBILE OVERLAY
========================================================= */

.hchome-mobile-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;

    z-index: 9995;
}

.hchome-mobile-overlay.is-active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.hchome-mobile-menu {
    position: fixed;

    top: 0;
    right: 0;

    width: min(390px, 88vw);
    height: 100dvh;

    padding:
        88px 26px
        30px;

    background: #fff;

    box-shadow:
        -15px 0 50px rgba(0,0,0,.12);

    transform: translateX(105%);

    transition:
        transform .4s cubic-bezier(.22,.61,.36,1);

    overflow-y: auto;
    overscroll-behavior: contain;

    z-index: 9998;
}

.hchome-mobile-menu.is-active {
    transform: translateX(0);
}


/* =========================================================
   MOBILE CLOSE BUTTON
========================================================= */

.hchome-mobile-close {
    position: absolute;

    top: 22px;
    right: 20px;

    width: 46px;
    height: 46px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f5;

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;

    -webkit-tap-highlight-color: transparent;
}

.hchome-mobile-close:hover {
    background: #ececec;

    transform: rotate(90deg);
}

.hchome-mobile-close span {
    position: absolute;

    width: 20px;
    height: 2px;

    background: #111827;

    border-radius: 2px;
}

.hchome-mobile-close span:nth-child(1) {
    transform: rotate(45deg);
}

.hchome-mobile-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.hchome-mobile-close span:nth-child(3) {
    display: none;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.hchome-mobile-nav {
    margin: 0;
    padding: 0;

    list-style: none;
}

.hchome-mobile-item {
    border-bottom: 1px solid #eeeeee;
}

.hchome-mobile-row {
    min-height: 66px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hchome-mobile-link {
    flex: 1;

    padding: 18px 0;

    color: #271c11;

    text-decoration: none;

    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.4px;

    transition: color .2s ease;
}

.hchome-mobile-link:hover {
    color: #555;
}


/* =========================================================
   MOBILE SUB TOGGLE
========================================================= */

.hchome-mobile-sub-toggle {
    position: relative;

    width: 44px;
    height: 44px;

    margin-left: 10px;

    flex-shrink: 0;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.hchome-mobile-sub-toggle::before,
.hchome-mobile-sub-toggle::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 13px;
    height: 1.5px;

    background: #111827;

    transform:
        translate(-50%, -50%);

    transition:
        transform .25s ease;
}

.hchome-mobile-sub-toggle::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.hchome-mobile-sub-toggle[aria-expanded="true"]::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* =========================================================
   MOBILE SUBMENU
========================================================= */

.hchome-mobile-submenu {
    max-height: 0;

    margin: 0;
    padding: 0;

    overflow: hidden;

    list-style: none;

    transition:
        max-height .35s ease,
        padding .35s ease;
}

.hchome-mobile-item.sub-open
.hchome-mobile-submenu {
    max-height: 600px;

    padding:
        0 0 14px;
}

.hchome-mobile-submenu li {
    margin: 0;
}

.hchome-mobile-submenu a {
    display: block;

    padding: 12px 15px;

    color: #6b7280;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    border-radius: 8px;

    transition:
        background .2s ease,
        color .2s ease;
}

.hchome-mobile-submenu a:hover {
    color: #111827;
    background: #f5f5f5;
}


/* =========================================================
   MOBILE MEMBER
========================================================= */

.hchome-mobile-member {
    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #eeeeee;
}

.hchome-mobile-member-title {
    margin-bottom: 14px;

    color: #9ca3af;

    font-family: Arial, sans-serif;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.hchome-mobile-member-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hchome-mobile-member-links a {
    padding: 10px 14px;

    color: #4b5563;
    background: #f5f5f5;

    border-radius: 7px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease;
}

.hchome-mobile-member-links a:hover {
    color: #111827;
    background: #eaeaea;
}


/* =========================================================
   MOBILE CONTACT
========================================================= */

.hchome-mobile-contact {
    margin-top: 20px;
}

.hchome-mobile-contact a {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: #111827;

    border-radius: 9px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 750;

    transition:
        background .2s ease,
        transform .2s ease;
}

.hchome-mobile-contact a:hover {
    background: #000;

    transform: translateY(-1px);
}


/* =========================================================
   BODY LOCK
========================================================= */

body.hchome-menu-open {
    overflow: hidden;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1180px) {

    .hchome-header-inner {
        width: calc(100% - 40px);
        gap: 20px;
    }

    .hchome-nav-link {
        padding: 0 14px;
        font-size: 14px;
    }

    .hchome-nav-item.hchome-active
    .hchome-nav-link::after {
        left: 14px;
        right: 14px;
    }

    .hchome-member {
        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    #hchome-header {
        --header-height: 72px;
    }

    .hchome-header-inner {
        width: calc(100% - 28px);
    }

    .hchome-nav {
        display: none;
    }

    .hchome-contact-btn {
        display: none;
    }

    .hchome-mobile-toggle {
        display: flex;
    }

    .hchome-logo-main {
        font-size: 22px;
    }

    .hchome-logo-sub {
        margin-top: 5px;
        font-size: 8px;
        letter-spacing: 1.6px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hchome-header-inner {
        width: calc(100% - 20px);
    }

    .hchome-mobile-menu {
        width: 92vw;

        padding-left: 20px;
        padding-right: 20px;
    }

    .hchome-mobile-link {
        font-size: 17px;
    }

}

/*서브메뉴 점*/
/* =========================================
   PC 2차 메뉴
========================================= */

.hchome-nav-item {
    position: relative;
}


/* 2차 메뉴 */

.hchome-submenu {
    position: absolute;

    top: 100%;
    left: 50%;

    transform: translateX(-50%) translateY(10px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
}


/* =========================================
   1차 메뉴 Hover
   → 2차 메뉴 표시
========================================= */

.hchome-nav-item:hover > .hchome-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}


/* =========================================
   2차 메뉴 상단 중앙 딥블루 점
========================================= */

.hchome-submenu::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 6px;
    height: 6px;

    background: #123b63;

    border-radius: 50%;

    transform: translate(-50%, -50%);

    opacity: 0;

    transition: opacity .2s ease;

    z-index: 10;
}


/* 1차 메뉴 Hover 시 점 표시 */

.hchome-nav-item:hover > .hchome-submenu::before {
    opacity: 1;
}

/**/
.mt {margin-top:100px !important;}
