@charset "utf-8";

/*
|--------------------------------------------------------------------------
| 남양홍씨 대종중 중앙종회
|--------------------------------------------------------------------------
|
| 파일명 : /css/main.css
| 접두어 : nh_
| 용도   : 공통 레이아웃 + 헤더 + 푸터 + 메인페이지
|
*/


/* ==========================================================================
   1. ROOT
   ========================================================================== */

:root {
    --nh-primary: #173f34;
    --nh-primary-dark: #0e2d25;
    --nh-primary-light: #2a6152;

    --nh-gold: #b79353;
    --nh-gold-light: #d2b77d;
    --nh-gold-dark: #866832;

    --nh-white: #ffffff;
    --nh-black: #111111;

    --nh-text: #222222;
    --nh-text-light: #666666;
    --nh-text-muted: #8a8a8a;

    --nh-bg: #ffffff;
    --nh-bg-light: #f7f6f1;
    --nh-bg-green: #f0f5f2;

    --nh-border: #dddddd;
    --nh-border-light: #eaeaea;

    --nh-inner: 1400px;
    --nh-header-height: 96px;

    --nh-radius-sm: 4px;
    --nh-radius-md: 10px;
    --nh-radius-lg: 18px;

    --nh-shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.06);
    --nh-shadow-md: 0 15px 40px rgba(0, 0, 0, 0.1);

    --nh-transition: 0.25s ease;
}


/* ==========================================================================
   2. RESET
   ========================================================================== */

html {
    margin: 0;
    padding: 0;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    color: var(--nh-text);
    background: var(--nh-bg);
    font-family:
        "Pretendard",
        "Noto Sans KR",
        "Malgun Gothic",
        "맑은 고딕",
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    word-break: keep-all;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure {
    margin: 0;
    padding: 0;
}

ul,
ol,
li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    margin: 0;
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}


/* ==========================================================================
   3. ACCESSIBILITY
   ========================================================================== */

.nh_sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.nh_skip_link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 10000;
    padding: 12px 20px;
    color: #fff;
    background: var(--nh-primary);
    border-radius: 0 0 6px 6px;
}

.nh_skip_link:focus {
    top: 0;
}


/* ==========================================================================
   4. COMMON
   ========================================================================== */

.nh_inner {
    width: calc(100% - 80px);
    max-width: var(--nh-inner);
    margin: 0 auto;
}

.nh_section_space {
    padding: 120px 0;
}

.nh_section_kicker {
    margin-bottom: 14px;
    color: var(--nh-gold-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
}

.nh_section_kicker_light {
    color: var(--nh-gold-light);
}

.nh_section_title {
    color: var(--nh-text);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.045em;
}

.nh_section_title strong {
    color: var(--nh-primary);
    font-weight: 700;
}

.nh_section_desc {
    margin-top: 22px;
    color: var(--nh-text-light);
    font-size: 18px;
    line-height: 1.8;
}

.nh_section_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.nh_section_head_center {
    display: block;
    text-align: center;
}

.nh_section_head_center .nh_section_desc {
    margin-right: auto;
    margin-left: auto;
}

.nh_more_link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 7px;
    color: var(--nh-text-light);
    font-size: 15px;
    border-bottom: 1px solid #aaa;
    transition:
        color var(--nh-transition),
        border-color var(--nh-transition);
}

.nh_more_link span {
    color: var(--nh-primary);
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
}

.nh_more_link:hover {
    color: var(--nh-primary);
    border-color: var(--nh-primary);
}

.nh_text_link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
    color: var(--nh-primary);
    font-size: 16px;
    font-weight: 600;
}

.nh_text_link span {
    font-size: 22px;
    transition: transform var(--nh-transition);
}

.nh_text_link:hover span {
    transform: translateX(6px);
}


/* ==========================================================================
   5. BUTTON
   ========================================================================== */

.nh_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 54px;
    padding: 13px 26px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    border: 1px solid transparent;
    transition:
        color var(--nh-transition),
        background var(--nh-transition),
        border-color var(--nh-transition),
        transform var(--nh-transition);
}

.nh_btn:hover {
    transform: translateY(-2px);
}

.nh_btn_primary {
    color: #fff;
    background: var(--nh-primary);
    border-color: var(--nh-primary);
}

.nh_btn_primary:hover {
    background: var(--nh-primary-dark);
    border-color: var(--nh-primary-dark);
}

.nh_btn_outline {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.72);
}

.nh_btn_outline:hover {
    color: var(--nh-primary);
    background: #fff;
    border-color: #fff;
}

.nh_btn_gold {
    color: #fff;
    background: var(--nh-gold);
    border-color: var(--nh-gold);
}

.nh_btn_gold:hover {
    background: var(--nh-gold-dark);
    border-color: var(--nh-gold-dark);
}


/* ==========================================================================
   6. BODY STATUS
   ========================================================================== */

body.nh_menu_opened,
body.nh_search_opened {
    overflow: hidden;
}


/* ==========================================================================
   7. HEADER
   ========================================================================== */

.nh_header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_header_utility {
    height: 38px;
    color: rgba(255, 255, 255, 0.76);
    background: var(--nh-primary-dark);
}

.nh_utility_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nh_utility_inner > p {
    font-size: 12px;
    letter-spacing: 0.03em;
}

.nh_utility_links {
    display: flex;
    align-items: center;
    height: 100%;
}

.nh_utility_links li {
    position: relative;
}

.nh_utility_links li + li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%);
}

.nh_utility_links a,
.nh_utility_links button {
    display: block;
    padding: 0 14px;
    color: inherit;
    font-size: 12px;
    line-height: 38px;
}

.nh_utility_links li:last-child a,
.nh_utility_links li:last-child button {
    padding-right: 0;
}

.nh_utility_links a:hover,
.nh_utility_links button:hover {
    color: #fff;
}

.nh_header_main {
    height: var(--nh-header-height);
    background: #fff;
}

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

.nh_brand {
    flex: 0 0 auto;
    min-width: 280px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.nh_brand > a {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.nh_brand_mark {
    display: flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
}

.nh_brand_mark img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.nh_brand_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.nh_brand_text strong {
    display: block;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.nh_brand_text small {
    display: block;
    margin-top: 4px;
    color: var(--nh-gold-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.nh_mobile_menu_btn {
    display: none;
    position: relative;
    z-index: 20;
    width: 42px;
    height: 42px;
}

.nh_mobile_menu_btn i {
    position: absolute;
    left: 8px;
    width: 26px;
    height: 2px;
    background: var(--nh-primary-dark);
    transition:
        top var(--nh-transition),
        transform var(--nh-transition),
        opacity var(--nh-transition);
}

.nh_mobile_menu_btn i:nth-of-type(1) {
    top: 12px;
}

.nh_mobile_menu_btn i:nth-of-type(2) {
    top: 20px;
}

.nh_mobile_menu_btn i:nth-of-type(3) {
    top: 28px;
}


/* ==========================================================================
   8. GNB
   ========================================================================== */

.nh_gnb {
    align-self: stretch;
    margin-left: auto;
}

.nh_gnb_list {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.nh_gnb_item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nh_gnb_head {
    display: flex;
    align-items: stretch;
}

.nh_gnb_link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    color: #222;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
    transition: color var(--nh-transition);
}

.nh_gnb_link::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 0;
    left: 20px;
    height: 3px;
    background: var(--nh-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--nh-transition);
}

.nh_gnb_item:hover .nh_gnb_link,
.nh_gnb_item:focus-within .nh_gnb_link {
    color: var(--nh-primary);
}

.nh_gnb_item:hover .nh_gnb_link::after,
.nh_gnb_item:focus-within .nh_gnb_link::after {
    transform: scaleX(1);
}

.nh_gnb_toggle {
    display: none;
}

.nh_gnb_sub {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 210px;
    padding: 14px 0;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border-top: 3px solid var(--nh-primary);
    box-shadow: var(--nh-shadow-md);
    transform: translate(-50%, 12px);
    transition:
        opacity var(--nh-transition),
        visibility var(--nh-transition),
        transform var(--nh-transition);
}

.nh_gnb_item:hover .nh_gnb_sub,
.nh_gnb_item:focus-within .nh_gnb_sub {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.nh_gnb_sub ul {
    min-width: 100%;
}

.nh_gnb_sub li {
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_gnb_sub li:last-child {
    border-bottom: 0;
}

.nh_gnb_sub a {
    display: block;
    padding: 10px 22px;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
    transition:
        color var(--nh-transition),
        background var(--nh-transition),
        padding-left var(--nh-transition);
}

.nh_gnb_sub a:hover,
.nh_gnb_sub a:focus {
    padding-left: 27px;
    color: var(--nh-primary);
    background: var(--nh-bg-green);
}

.nh_gnb_empty {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--nh-text-light);
    font-size: 14px;
}

.nh_gnb_empty a {
    padding: 7px 12px;
    color: #fff;
    background: var(--nh-primary);
    border-radius: var(--nh-radius-sm);
}


/* ==========================================================================
   9. SEARCH
   ========================================================================== */

.nh_search {
    position: fixed;
    inset: 0;
    z-index: 1200;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity var(--nh-transition),
        visibility var(--nh-transition);
}

.nh_search.nh_opened {
    visibility: visible;
    opacity: 1;
}

.nh_search_dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.nh_search_panel {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 80px 30px 70px;
    background: #fff;
    box-shadow: var(--nh-shadow-md);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
}

.nh_search.nh_opened .nh_search_panel {
    transform: translateY(0);
}

.nh_search_panel form {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.nh_search_panel label {
    display: block;
    margin-bottom: 22px;
    color: var(--nh-primary-dark);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.nh_search_form {
    display: flex;
    border-bottom: 2px solid var(--nh-primary);
}

.nh_search_form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 64px;
    padding: 0 15px;
    color: var(--nh-text);
    font-size: 20px;
    background: transparent;
    border: 0;
    outline: none;
}

.nh_search_form input::placeholder {
    color: #aaa;
}

.nh_search_form button {
    flex: 0 0 auto;
    width: 90px;
    color: var(--nh-primary);
    font-size: 17px;
    font-weight: 700;
}

.nh_search_close {
    position: absolute;
    top: 28px;
    right: 40px;
    width: 46px;
    height: 46px;
    color: var(--nh-primary-dark);
    font-size: 38px;
    font-weight: 200;
    line-height: 1;
}


/* ==========================================================================
   10. MAIN
   ========================================================================== */

#nh_main {
    min-height: 500px;
}

.nh_main_page {
    overflow: hidden;
}


/* ==========================================================================
   11. MAIN VISUAL
   ========================================================================== */

.nh_main_visual {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 690px;
    color: #fff;
    overflow: hidden;
}

.nh_visual_bg {
    position: absolute;
    inset: 0;
    background:
        url("../img/main/visual.webp")
        center center / cover no-repeat;
    transform: scale(1.01);
}

.nh_visual_overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 29, 23, 0.88) 0%,
            rgba(8, 29, 23, 0.65) 42%,
            rgba(8, 29, 23, 0.2) 78%,
            rgba(8, 29, 23, 0.08) 100%
        );
}

.nh_visual_content {
    position: relative;
    z-index: 2;
    padding-top: 30px;
    padding-bottom: 50px;
}

.nh_visual_eyebrow {
    margin-bottom: 24px;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 18px;
    letter-spacing: 0.2em;
}

.nh_main_visual h2 {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 66px;
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: -0.05em;
}

.nh_main_visual h2 strong {
    color: #fff;
    font-weight: 700;
}

.nh_visual_desc {
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    line-height: 1.85;
}

.nh_visual_buttons {
    display: flex;
    gap: 12px;
    margin-top: 42px;
}

.nh_visual_scroll {
    position: absolute;
    right: 48px;
    bottom: 42px;
    z-index: 2;
    padding-bottom: 54px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    letter-spacing: 0.25em;
    writing-mode: vertical-rl;
}

.nh_visual_scroll::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.45);
}


/* ==========================================================================
   12. QUICK
   ========================================================================== */

.nh_quick {
    position: relative;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_quick_grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.nh_quick_item {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 175px;
    padding: 25px 12px;
    text-align: center;
    border-right: 1px solid var(--nh-border-light);
    transition:
        color var(--nh-transition),
        background var(--nh-transition),
        transform var(--nh-transition);
}

.nh_quick_item:first-child {
    border-left: 1px solid var(--nh-border-light);
}

.nh_quick_item:hover {
    z-index: 2;
    color: #fff;
    background: var(--nh-primary);
    transform: translateY(-7px);
    box-shadow: var(--nh-shadow-md);
}

.nh_quick_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    color: var(--nh-gold-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    transition: color var(--nh-transition);
}

.nh_quick_item strong {
    font-size: 16px;
    font-weight: 700;
}

.nh_quick_item small {
    margin-top: 5px;
    color: var(--nh-text-muted);
    font-size: 12px;
    transition: color var(--nh-transition);
}

.nh_quick_item:hover .nh_quick_icon {
    color: var(--nh-gold-light);
}

.nh_quick_item:hover small {
    color: rgba(255, 255, 255, 0.72);
}


/* ==========================================================================
   13. HISTORY
   ========================================================================== */

.nh_history {
    background: #fff;
}

.nh_history_layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
    gap: 100px;
}

.nh_history_image {
    position: relative;
    min-height: 530px;
    overflow: hidden;
}

.nh_history_image::before {
    content: "";
    position: absolute;
    top: 28px;
    right: -28px;
    z-index: 0;
    width: 70%;
    height: 90%;
    border: 1px solid rgba(183, 147, 83, 0.45);
}

.nh_history_image img {
    position: relative;
    z-index: 1;
    width: calc(100% - 28px);
    height: 530px;
    object-fit: cover;
}

.nh_history_image > span {
    position: absolute;
    right: 0;
    bottom: 35px;
    z-index: 2;
    padding: 16px 22px;
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 17px;
    letter-spacing: 0.12em;
    background: var(--nh-primary);
}

.nh_history_content {
    padding-right: 30px;
}

.nh_history_points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
    border-top: 1px solid var(--nh-border);
    border-bottom: 1px solid var(--nh-border);
}

.nh_history_points > div {
    position: relative;
    padding: 25px 10px;
    text-align: center;
}

.nh_history_points > div + div::before {
    content: "";
    position: absolute;
    top: 22%;
    bottom: 22%;
    left: 0;
    width: 1px;
    background: var(--nh-border);
}

.nh_history_points b {
    display: block;
    color: var(--nh-primary);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 30px;
    line-height: 1.2;
}

.nh_history_points span {
    display: block;
    margin-top: 8px;
    color: var(--nh-text-light);
    font-size: 13px;
}


/* ==========================================================================
   14. NEWS
   ========================================================================== */

.nh_news {
    background: var(--nh-bg-light);
}

.nh_news_layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 32px;
}

.nh_news_feature {
    min-height: 360px;
    background:
        linear-gradient(
            135deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_news_feature > a {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 360px;
    padding: 55px 55px 45px;
    overflow: hidden;
}

.nh_news_feature > a::before {
    content: "南陽洪氏";
    position: absolute;
    right: -20px;
    bottom: -35px;
    color: rgba(255, 255, 255, 0.05);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 95px;
    font-weight: 700;
    white-space: nowrap;
}

.nh_news_badge {
    align-self: flex-start;
    padding: 7px 13px;
    color: var(--nh-primary-dark);
    font-size: 12px;
    font-weight: 700;
    background: var(--nh-gold-light);
}

.nh_news_feature h3 {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-top: 27px;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.04em;
}

.nh_news_feature p {
    position: relative;
    z-index: 1;
    max-width: 550px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.75;
}

.nh_news_feature time {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.nh_news_list {
    background: #fff;
    border-top: 2px solid var(--nh-primary);
}

.nh_news_list > a {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 105px;
    align-items: center;
    min-height: 90px;
    padding: 0 28px;
    border-bottom: 1px solid var(--nh-border-light);
    transition:
        background var(--nh-transition),
        padding-left var(--nh-transition);
}

.nh_news_list > a:hover {
    padding-left: 35px;
    background: var(--nh-bg-green);
}

.nh_news_list > a > span {
    color: var(--nh-gold-dark);
    font-size: 13px;
    font-weight: 700;
}

.nh_news_list strong {
    overflow: hidden;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nh_news_list time {
    color: var(--nh-text-muted);
    font-size: 13px;
    text-align: right;
}


/* ==========================================================================
   15. BRANCH
   ========================================================================== */

.nh_branch {
    background: #fff;
}

.nh_branch_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 55px;
    border-top: 1px solid var(--nh-border);
    border-left: 1px solid var(--nh-border);
}

.nh_branch_grid a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 20px 15px;
    color: #444;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid var(--nh-border);
    border-bottom: 1px solid var(--nh-border);
    transition:
        color var(--nh-transition),
        background var(--nh-transition);
}

.nh_branch_grid a::after {
    content: "→";
    position: absolute;
    right: 20px;
    color: var(--nh-gold);
    font-family: Arial, sans-serif;
    font-size: 17px;
    opacity: 0;
    transform: translateX(-8px);
    transition:
        opacity var(--nh-transition),
        transform var(--nh-transition);
}

.nh_branch_grid a:hover {
    color: #fff;
    background: var(--nh-primary);
}

.nh_branch_grid a:hover::after {
    opacity: 1;
    transform: translateX(0);
}


/* ==========================================================================
   16. HERITAGE
   ========================================================================== */

.nh_heritage {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 580px;
    color: #fff;
    overflow: hidden;
}

.nh_heritage_bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 29, 23, 0.9),
            rgba(8, 29, 23, 0.6),
            rgba(8, 29, 23, 0.18)
        ),
        url("../img/main/heritage_bg.webp")
        center center / cover no-repeat;
}

.nh_heritage_content {
    position: relative;
    z-index: 2;
}

.nh_heritage h2 {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.05em;
}

.nh_heritage h2 strong {
    font-weight: 700;
}

.nh_heritage_content > p:not(.nh_section_kicker) {
    margin-top: 23px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.8;
}

.nh_heritage_buttons {
    display: flex;
    gap: 12px;
    margin-top: 38px;
}


/* ==========================================================================
   17. GALLERY
   ========================================================================== */

.nh_gallery {
    background: var(--nh-bg-light);
}

.nh_gallery_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 240px;
    gap: 18px;
}

.nh_gallery_item {
    position: relative;
    display: block;
    overflow: hidden;
    background: #ddd;
}

.nh_gallery_large {
    grid-column: span 2;
    grid-row: span 2;
}

.nh_gallery_wide {
    grid-column: span 2;
}

.nh_gallery_item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(0, 0, 0, 0.68) 100%
        );
}

.nh_gallery_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nh_gallery_item span {
    position: absolute;
    right: 25px;
    bottom: 22px;
    left: 25px;
    z-index: 2;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.nh_gallery_item:hover img {
    transform: scale(1.06);
}


/* ==========================================================================
   18. MOTTO
   ========================================================================== */

.nh_motto {
    color: #fff;
    background: var(--nh-primary-dark);
}

.nh_motto .nh_inner {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
}

.nh_motto_title {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.nh_motto_title span {
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 13px;
    letter-spacing: 0.16em;
}

.nh_motto_title strong {
    margin-top: 9px;
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 600;
}

.nh_motto_list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nh_motto_list > div {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
    padding: 25px;
    text-align: center;
}

.nh_motto_list > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nh_motto_list b {
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.nh_motto_list span {
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}


/* ==========================================================================
   19. FOOTER
   ========================================================================== */

.nh_footer {
    color: rgba(255, 255, 255, 0.66);
    background: #111714;
}

.nh_footer_main {
    padding: 65px 0;
}

.nh_footer_inner {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 80px;
}

.nh_footer_brand > a {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nh_footer_logo {
    display: block;
    width: 60px;
    height: 60px;
}

.nh_footer_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(2.5);
    opacity: 0.85;
}

.nh_footer_brand_text {
    display: flex;
    flex-direction: column;
}

.nh_footer_brand_text strong {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 21px;
    font-weight: 600;
}

.nh_footer_brand_text small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 9px;
    letter-spacing: 0.08em;
}

.nh_footer_brand > p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
    line-height: 1.8;
}

.nh_footer_content {
    padding-top: 4px;
}

.nh_footer_links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.nh_footer_links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.nh_footer_links li:first-child a {
    color: var(--nh-gold-light);
    font-weight: 600;
}

.nh_footer_links a:hover {
    color: #fff;
}

.nh_footer_info {
    margin-top: 27px;
}

.nh_footer_info p {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 24px;
    margin-top: 5px;
    font-size: 13px;
}

.nh_footer_info span {
    position: relative;
}

.nh_footer_info span + span::before {
    content: "";
    position: absolute;
    top: 7px;
    left: -13px;
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.18);
}

.nh_copyright {
    margin-top: 25px;
    padding-top: 23px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   20. TOP BUTTON
   ========================================================================== */

.nh_top_btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    visibility: hidden;
    opacity: 0;
    color: #fff;
    font-size: 20px;
    background: var(--nh-primary);
    box-shadow: var(--nh-shadow-sm);
    transform: translateY(15px);
    transition:
        opacity var(--nh-transition),
        visibility var(--nh-transition),
        transform var(--nh-transition),
        background var(--nh-transition);
}

.nh_top_btn:hover {
    background: var(--nh-primary-dark);
}

.nh_top_btn.nh_visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   21. RESPONSIVE - 1400
   ========================================================================== */

@media screen and (max-width: 1400px) {

    :root {
        --nh-inner: 1280px;
    }

    .nh_gnb_link {
        padding-right: 15px;
        padding-left: 15px;
        font-size: 16px;
    }

    .nh_brand {
        min-width: 250px;
    }

    .nh_brand_text strong {
        font-size: 22px;
    }

    .nh_history_layout {
        gap: 70px;
    }

}


/* ==========================================================================
   22. RESPONSIVE - 1200
   ========================================================================== */

@media screen and (max-width: 1200px) {

    .nh_inner {
        width: calc(100% - 50px);
    }

    .nh_brand {
        min-width: auto;
    }

    .nh_gnb_link {
        padding-right: 11px;
        padding-left: 11px;
        font-size: 15px;
    }

    .nh_quick_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .nh_quick_item:nth-child(4) {
        border-right: 1px solid var(--nh-border-light);
    }

    .nh_quick_item:nth-child(n + 5) {
        border-top: 1px solid var(--nh-border-light);
    }

    .nh_quick_item:nth-child(5) {
        border-left: 1px solid var(--nh-border-light);
    }

    .nh_history_layout {
        gap: 55px;
    }

    .nh_history_image,
    .nh_history_image img {
        min-height: 470px;
        height: 470px;
    }

    .nh_gallery_grid {
        grid-auto-rows: 210px;
    }

}


/* ==========================================================================
   23. RESPONSIVE - MOBILE MENU
   ========================================================================== */

@media screen and (max-width: 1100px) {

    :root {
        --nh-header-height: 78px;
    }

    .nh_header_utility {
        display: none;
    }

    .nh_header {
        position: relative;
    }

    .nh_brand_mark {
        width: 52px;
        height: 52px;
    }

    .nh_brand_text strong {
        font-size: 20px;
    }

    .nh_brand_text small {
        font-size: 12px;
    }

    .nh_mobile_menu_btn {
        display: block;
    }

    .nh_header.nh_menu_open .nh_mobile_menu_btn i:nth-of-type(1) {
        top: 20px;
        transform: rotate(45deg);
    }

    .nh_header.nh_menu_open .nh_mobile_menu_btn i:nth-of-type(2) {
        opacity: 0;
    }

    .nh_header.nh_menu_open .nh_mobile_menu_btn i:nth-of-type(3) {
        top: 20px;
        transform: rotate(-45deg);
    }

    .nh_gnb {
        position: fixed;
        top: var(--nh-header-height);
        right: 0;
        bottom: 0;
        z-index: 10;
        width: min(420px, 100%);
        margin: 0;
        visibility: hidden;
        opacity: 0;
        background: #fff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition:
            transform 0.3s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
        overflow-y: auto;
    }

    .nh_header.nh_menu_open .nh_gnb {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .nh_gnb_list {
        display: block;
        height: auto;
        padding: 20px 25px 50px;
    }

    .nh_gnb_item {
        display: block;
        border-bottom: 1px solid var(--nh-border-light);
    }

    .nh_gnb_head {
        display: flex;
        align-items: stretch;
    }

    .nh_gnb_link {
        flex: 1 1 auto;
        justify-content: flex-start;
        min-height: 58px;
        padding: 10px 5px;
        font-size: 17px;
    }

    .nh_gnb_link::after {
        display: none;
    }

    .nh_gnb_toggle {
        position: relative;
        display: block;
        flex: 0 0 52px;
        width: 52px;
    }

    .nh_gnb_toggle::before,
    .nh_gnb_toggle::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        background: var(--nh-primary);
        transform: translate(-50%, -50%);
        transition: transform var(--nh-transition);
    }

    .nh_gnb_toggle::before {
        width: 14px;
        height: 1px;
    }

    .nh_gnb_toggle::after {
        width: 1px;
        height: 14px;
    }

    .nh_gnb_item.nh_sub_open .nh_gnb_toggle::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .nh_gnb_sub {
        position: static;
        display: none;
        min-width: 0;
        padding: 8px 15px 15px;
        visibility: visible;
        opacity: 1;
        background: var(--nh-bg-green);
        border: 0;
        box-shadow: none;
        transform: none;
        transition: none;
    }

    .nh_gnb_item:hover .nh_gnb_sub,
    .nh_gnb_item:focus-within .nh_gnb_sub {
        transform: none;
    }

    .nh_gnb_item.nh_sub_open .nh_gnb_sub {
        display: block;
    }

    .nh_gnb_sub li {
        border-color: rgba(0, 0, 0, 0.07);
    }

    .nh_gnb_sub a {
        padding: 10px 8px;
        white-space: normal;
    }

    .nh_gnb_sub a:hover,
    .nh_gnb_sub a:focus {
        padding-left: 13px;
    }

    .nh_main_visual {
        min-height: 630px;
    }

    .nh_main_visual h2 {
        font-size: 56px;
    }

    .nh_history_layout {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .nh_history_content {
        padding-right: 0;
    }

    .nh_history_points {
        grid-template-columns: 1fr;
    }

    .nh_history_points > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 5px;
        text-align: left;
    }

    .nh_history_points > div + div::before {
        top: 0;
        right: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .nh_history_points b {
        font-size: 25px;
    }

    .nh_history_points span {
        margin: 0;
    }

    .nh_news_feature > a {
        padding: 42px;
    }

    .nh_footer_inner {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 50px;
    }

}


/* ==========================================================================
   24. RESPONSIVE - TABLET
   ========================================================================== */

@media screen and (max-width: 900px) {

    .nh_section_space {
        padding: 90px 0;
    }

    .nh_section_title {
        font-size: 39px;
    }

    .nh_section_desc {
        font-size: 16px;
    }

    .nh_main_visual {
        min-height: 570px;
    }

    .nh_main_visual h2 {
        font-size: 48px;
    }

    .nh_visual_desc {
        font-size: 17px;
    }

    .nh_visual_scroll {
        display: none;
    }

    .nh_history_layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .nh_history_image,
    .nh_history_image img {
        min-height: 480px;
        height: 480px;
    }

    .nh_history_content {
        max-width: 700px;
    }

    .nh_history_points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nh_history_points > div {
        display: block;
        padding: 22px 8px;
        text-align: center;
    }

    .nh_history_points > div + div::before {
        top: 22%;
        bottom: 22%;
        left: 0;
        width: 1px;
        height: auto;
    }

    .nh_history_points span {
        margin-top: 6px;
    }

    .nh_news_layout {
        grid-template-columns: 1fr;
    }

    .nh_news_feature,
    .nh_news_feature > a {
        min-height: 330px;
    }

    .nh_branch_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nh_heritage {
        min-height: 500px;
    }

    .nh_heritage h2 {
        font-size: 43px;
    }

    .nh_gallery_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 240px;
    }

    .nh_gallery_large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .nh_gallery_wide {
        grid-column: span 2;
    }

    .nh_motto .nh_inner {
        display: block;
    }

    .nh_motto_title {
        align-items: center;
        min-height: auto;
        padding: 35px 20px;
        text-align: center;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .nh_motto_list > div {
        min-height: 150px;
    }

    .nh_footer_inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}


/* ==========================================================================
   25. RESPONSIVE - MOBILE
   ========================================================================== */

@media screen and (max-width: 700px) {

    .nh_inner {
        width: calc(100% - 36px);
    }

    .nh_section_space {
        padding: 70px 0;
    }

    .nh_section_head {
        align-items: flex-start;
        margin-bottom: 35px;
    }

    .nh_section_title {
        font-size: 33px;
    }

    .nh_section_kicker {
        margin-bottom: 9px;
        font-size: 12px;
    }

    .nh_more_link {
        flex: 0 0 auto;
        padding-top: 10px;
        font-size: 13px;
    }

    /* ===========================
       Header
    =========================== */

    .nh_header_inner {
        width: calc(100% - 30px);
        margin: 0 auto;
    }

    .nh_brand {
        min-width: 0;
        flex: 1;
        margin: 0;
    }

    .nh_brand > a {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nh_brand_mark {
        flex: 0 0 45px;
        width: 45px;
        height: 45px;
    }

    .nh_brand_mark img {
        width: 45px;
        height: 45px;
        display: block;
        object-fit: contain;
    }

    .nh_brand_text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.2;
    }

    .nh_brand_text strong {
        font-size: 18px;
        white-space: nowrap;
    }

    .nh_brand_text small {
        margin-top: 2px;
        font-size: 10px;
        letter-spacing: .10em;
        white-space: nowrap;
    }

    /* ===========================
       Search
    =========================== */

    .nh_search_panel {
        padding: 70px 20px 45px;
    }

    .nh_search_panel label {
        font-size: 23px;
    }

    .nh_search_form input {
        height: 56px;
        font-size: 16px;
    }

    .nh_search_form button {
        width: 65px;
        font-size: 15px;
    }

    .nh_search_close {
        top: 15px;
        right: 18px;
    }

    /* ===========================
       Main Visual
    =========================== */

    .nh_main_visual {
        min-height: 520px;
    }

    .nh_visual_bg {
        background-position: 62% center;
    }

    .nh_visual_overlay {
        background: rgba(8,29,23,.69);
    }

    .nh_visual_content {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .nh_visual_eyebrow {
        margin-bottom: 18px;
        font-size: 13px;
        letter-spacing: .12em;
    }

    .nh_main_visual h2 {
        font-size: 39px;
        line-height: 1.35;
    }

    .nh_visual_desc {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.75;
    }

    .nh_visual_buttons {
        margin-top: 30px;
    }

    .nh_btn {
        min-width: 0;
        min-height: 50px;
        padding: 12px 19px;
        font-size: 14px;
    }

    /* ===========================
       Quick
    =========================== */

    .nh_quick_grid {
        grid-template-columns: repeat(2,1fr);
    }

    .nh_quick_item {
        min-height: 145px;
        border-top: 1px solid var(--nh-border-light);
    }

    .nh_quick_item:nth-child(odd) {
        border-left: 1px solid var(--nh-border-light);
    }

    .nh_quick_item:nth-child(-n+2) {
        border-top: 0;
    }

    .nh_quick_icon {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
        font-size: 23px;
    }

    /* ===========================
       History
    =========================== */

    .nh_history_image,
    .nh_history_image img {
        min-height: 340px;
        height: 340px;
    }

    .nh_history_image::before {
        top: 16px;
        right: -16px;
    }

    .nh_history_image img {
        width: calc(100% - 16px);
    }

    .nh_history_image > span {
        bottom: 20px;
        padding: 12px 16px;
        font-size: 13px;
    }

    .nh_history_points {
        grid-template-columns: 1fr;
    }

    .nh_history_points > div {
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:14px 5px;
        text-align:left;
    }

    .nh_history_points > div + div::before {
        top:0;
        right:0;
        bottom:auto;
        width:auto;
        height:1px;
    }

    .nh_history_points b {
        font-size:23px;
    }

    .nh_history_points span {
        margin:0;
    }

    /* ===========================
       News
    =========================== */

    .nh_news_feature,
    .nh_news_feature > a {
        min-height:310px;
    }

    .nh_news_feature > a {
        padding:35px 28px;
    }

    .nh_news_feature h3 {
        font-size:23px;
    }

    .nh_news_list > a {
        grid-template-columns:48px 1fr;
        min-height:78px;
        padding:13px 18px;
    }

    .nh_news_list time {
        display:none;
    }

    .nh_news_list > a:hover {
        padding-left:23px;
    }

    /* ===========================
       Branch
    =========================== */

    .nh_branch_grid {
        grid-template-columns:repeat(2,1fr);
        margin-top:35px;
    }

    .nh_branch_grid a {
        min-height:76px;
        font-size:16px;
    }

    .nh_branch_grid a::after {
        display:none;
    }

    /* ===========================
       Heritage
    =========================== */

    .nh_heritage {
        min-height:480px;
    }

    .nh_heritage_bg {
        background-position:58% center;
    }

    .nh_heritage h2 {
        font-size:35px;
    }

    .nh_heritage_content > p:not(.nh_section_kicker) {
        font-size:15px;
    }

    /* ===========================
       Gallery
    =========================== */

    .nh_gallery_grid {
        display:block;
    }

    .nh_gallery_item {
        height:250px;
        margin-bottom:14px;
    }

    .nh_gallery_large,
    .nh_gallery_wide {
        grid-column:auto;
        grid-row:auto;
    }

    /* ===========================
       Motto
    =========================== */

    .nh_motto_list {
        grid-template-columns:1fr;
    }

    .nh_motto_list > div {
        min-height:115px;
    }

    .nh_motto_list > div + div {
        border-top:1px solid rgba(255,255,255,.12);
        border-left:0;
    }

    /* ===========================
       Footer
    =========================== */

    .nh_footer_main {
        padding:50px 0;
    }

    .nh_footer_brand > a {
        align-items:flex-start;
    }

    .nh_footer_brand_text strong {
        font-size:18px;
    }

    .nh_footer_links {
        gap:8px 18px;
    }

    .nh_footer_info p {
        display:block;
    }

    .nh_footer_info span {
        display:block;
        margin-top:3px;
    }

    .nh_footer_info span + span::before {
        display:none;
    }

    .nh_top_btn {
        right:15px;
        bottom:15px;
        width:46px;
        height:46px;
    }

}

/* ==========================================================================
   26. RESPONSIVE - SMALL MOBILE
   ========================================================================== */

@media screen and (max-width: 420px) {

    .nh_brand_text strong {
        font-size: 16px;
    }

    .nh_brand_text small {
        font-size: 9px;
    }

    .nh_main_visual h2 {
        font-size: 34px;
    }

    .nh_visual_desc br {
        display: none;
    }

    .nh_visual_buttons {
        flex-direction: column;
        width: 100%;
        max-width: 230px;
    }

    .nh_btn {
        width: 100%;
    }

    .nh_section_title {
        font-size: 29px;
    }

    .nh_section_head {
        display: block;
    }

    .nh_more_link {
        margin-top: 18px;
    }

    .nh_quick_item {
        min-height: 135px;
    }

    .nh_history_image,
    .nh_history_image img {
        min-height: 290px;
        height: 290px;
    }

    .nh_heritage_buttons {
        flex-direction: column;
        width: 210px;
    }

}