/* ################################### 레이아웃 오버라이드 ################################### */

#wrapper,
#container_wr,
#container {
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 0;
    padding: 0;
    min-height: 0;
    overflow: visible;
}

hr {
    display: none;
}

#container_title {
    display: none;
}

/* 메인 페이지: 메뉴, 푸터 숨김 */
.is_main #gnb,
.is_main .header_right {
    display: none;
}

.is_main #ft {
    display: none;
}

/* ################################### header ################################### */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 9999;
    background-color: transparent;
    backdrop-filter: none;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

body:not(.is_main) header.gnb_hover {
    height: calc(var(--header-height) + var(--gnb-sub-height, 200px));
}

header.scrolled {
    background-color: #fff;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
header.scrolled #logo .logo_light { display: none; }
header.scrolled #logo .logo_dark { display: block; }
header.scrolled .gnb_1da {
    color: #222 !important;
}
header.scrolled .gnb_1da:hover {
    color: var(--signature-color) !important;
}
header.scrolled .gnb_2da {
    color: #444 !important;
}
header.scrolled .gnb_2da:hover {
    color: var(--signature-color) !important;
}
header.scrolled .header_cta {
    color: #222 !important;
    border-color: rgba(0,0,0,0.3);
}
header.scrolled .header_cta span {
    color: #222;
}
header.scrolled .header_cta:hover {
    background-color: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.5);
}
header.scrolled .header_phone,
header.scrolled .header_phone i,
header.scrolled .header_phone span {
    color: #222;
}
header.scrolled .ham_line {
    background-color: #222;
}

/* -------------------- header hover: 흰 배경 + 검정 글자 (index 제외) -------------------- */
body:not(.is_main) header:hover,
body:not(.is_main) header.gnb_hover {
    background-color: #fff !important;
    backdrop-filter: none !important;
}
body:not(.is_main) header:hover #logo .logo_light,
body:not(.is_main) header.gnb_hover #logo .logo_light { display: none; }
body:not(.is_main) header:hover #logo .logo_dark,
body:not(.is_main) header.gnb_hover #logo .logo_dark { display: block; }
body:not(.is_main) header:hover .gnb_1da,
body:not(.is_main) header.gnb_hover .gnb_1da {
    color: #222 !important;
    opacity: 1;
    transition: color 0.3s ease, opacity 0.3s ease;
}
body:not(.is_main) header:hover .gnb_1da:hover,
body:not(.is_main) header.gnb_hover .gnb_1da:hover {
    color: var(--signature-color) !important;
    opacity: 1;
}
body:not(.is_main) header:hover .gnb_2da,
body:not(.is_main) header.gnb_hover .gnb_2da {
    color: #444 !important;
}
body:not(.is_main) header:hover .gnb_2da:hover,
body:not(.is_main) header.gnb_hover .gnb_2da:hover {
    color: var(--signature-color) !important;
    opacity: 1;
}
body:not(.is_main) header:hover .header_cta,
body:not(.is_main) header.gnb_hover .header_cta {
    color: #222 !important;
    border-color: rgba(0,0,0,0.3);
}
body:not(.is_main) header:hover .header_cta span,
body:not(.is_main) header.gnb_hover .header_cta span {
    color: #222;
}
body:not(.is_main) header:hover .header_cta:hover,
body:not(.is_main) header.gnb_hover .header_cta:hover {
    background-color: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.5);
}
body:not(.is_main) header:hover .header_phone,
body:not(.is_main) header:hover .header_phone i,
body:not(.is_main) header:hover .header_phone span,
body:not(.is_main) header.gnb_hover .header_phone,
body:not(.is_main) header.gnb_hover .header_phone i,
body:not(.is_main) header.gnb_hover .header_phone span {
    color: #222;
}
body:not(.is_main) header:hover .ham_line,
body:not(.is_main) header.gnb_hover .ham_line {
    background-color: #222;
}

.header_inner {
    max-width: var(--max-width);
    width: 100%;
    height: var(--header-height);
    margin: 0 auto;
    padding: 0 var(--padding-pc);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* -------------------- 로고 (왼쪽) -------------------- */
#logo {
    flex-shrink: 0;
    z-index: 1;
}

#logo a {
    font-size: clamp(18px, 1.3vw, 24px);
    font-weight: 700;
    color: var(--base-color-white);
    letter-spacing: 0.05em;
}

/* -------------------- 로고 light/dark -------------------- */
#logo a {
    display: flex;
    align-items: center;
}
#logo img {
    height: clamp(28px, 2.2vw, 38px);
    width: auto;
}
#logo .logo_light { display: block; }
#logo .logo_dark { display: none; }
header.header_b #logo .logo_light { display: none; }
header.header_b #logo .logo_dark { display: block; }

/* -------------------- header_b: 검정 글자 헤더 -------------------- */
header.header_b .gnb_1da {
    color: #222 !important;
}
header.header_b #logo a {
    color: #222;
}
header.header_b .header_phone,
header.header_b .header_phone i,
header.header_b .header_phone span {
    color: #222;
}
header.header_b .header_cta {
    color: #222 !important;
    border-color: rgba(0,0,0,0.3);
}
header.header_b .header_cta span {
    color: #222;
}
header.header_b .header_cta:hover {
    background-color: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.5);
}
header.header_b .ham_line {
    background-color: #222;
}
header.header_b.scrolled {
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: var(--header-filter);
}

/* -------------------- GNB 1차 메뉴 (중앙) -------------------- */
#gnb {
    position: static;
    transform: none;
    height: var(--header-height);
    margin-left: auto;
}

#gnb #gnb_1dul {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: clamp(30px, 3vw, 60px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.gnb_1dli {
    position: relative;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.gnb_1da {
    font-size: var(--text-font-size);
    color: var(--base-color-white) !important;
    white-space: nowrap;
    padding: 10px 0;
    font-weight: 400;
    transition: color 0.3s ease, opacity 0.3s ease;
    letter-spacing: 0.02em;
}

.gnb_1da:hover {
    opacity: 0.6;
}

/* 2차 메뉴 bg - 헤더 확장 방식으로 대체, 숨김 */
.gnb_sub_bg {
    display: none;
}

/* 2차 메뉴 - 각 1차 메뉴 아래 세로 배치 (header overflow:hidden으로 클리핑) */
.gnb_2dul {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    padding: 15px 0;
    min-width: max-content;
    text-align: center;
    z-index: 9999;
}

.gnb_2dli {
    padding: 0;
}

.gnb_2da {
    color: var(--base-color-white) !important;
    font-size: var(--text-font-size);
    transition: opacity 0.3s ease;
    font-weight: 300;
    white-space: nowrap;
    padding: 6px 10px;
    display: block;
    line-height: 1.8;
}

.gnb_2da:hover {
    opacity: 0.6;
}

.gnb_empty {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-font-size);
}

.gnb_empty a {
    color: #6ba3ff;
    text-decoration: underline;
    display: inline;
}

/* -------------------- 오른쪽 영역 -------------------- */
.header_right {
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.5vw, 30px);
    flex-shrink: 0;
    z-index: 1;
    margin-left: clamp(20px, 3vw, 60px);
}

.header_phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--base-color-white);
    font-size: var(--text-font-size);
    font-weight: 500;
    white-space: nowrap;
}

.header_phone i {
    font-size: 14px;
    color: var(--base-color-white);
}

.header_phone span {
    color: var(--base-color-white);
    letter-spacing: 0.03em;
}

.header_cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--base-color-white) !important;
    font-size: var(--text-font-size);
    font-weight: 400;
    border-radius: 40px;
    white-space: nowrap;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header_cta span {
    color: var(--base-color-white);
    font-size: var(--text-font-size);
}

.header_cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* -------------------- 햄버거 버튼 (모바일) -------------------- */
.ham_btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    cursor: pointer;
    padding: 0;
}

.ham_line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--base-color-white);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* -------------------- 전체메뉴 (모바일) -------------------- */
.gnb_all {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 100000;
    overflow: hidden;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.55s ease-in-out, opacity 0.4s ease, visibility 0s 0.55s;
    display: flex;
    flex-direction: column;
}

.gnb_all.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.55s ease-in-out, opacity 0.4s ease, visibility 0s 0s;
}

.gnb_all_video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    object-fit: cover;
    z-index: 0;
}

.gnb_all_overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.gnb_all_head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    flex-shrink: 0;
}

.gnb_all_logo img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.gnb_all_head_right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gnb_all_cta {
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.gnb_all_cta:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.gnb_close_btn {
    width: 30px;
    height: 30px;
    position: relative;
    background: none;
    cursor: pointer;
}

.close_line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1.5px;
    background-color: #fff;
}

.close_line:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close_line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.gnb_close_btn:hover .close_line {
    opacity: 0.5;
}

.gnb_all_body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 30px;
    overflow-y: auto;
    min-height: 0;
}

.gnb_all_body > .gnb_al_ul {
    margin: auto;
    transform: translateY(-30px);
}

.gnb_all_footer {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    text-align: center;
    padding: 15px 25px 25px;
}

.gnb_all_footer p {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.gnb_al_ul {
    width: 90%;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.gnb_al_li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gnb_all.open .gnb_al_li {
    opacity: 1;
    transform: translateY(0);
}

.gnb_all.open .gnb_al_li:nth-child(1) { transition-delay: 0.2s; }
.gnb_all.open .gnb_al_li:nth-child(2) { transition-delay: 0.3s; }
.gnb_all.open .gnb_al_li:nth-child(3) { transition-delay: 0.4s; }
.gnb_all.open .gnb_al_li:nth-child(4) { transition-delay: 0.5s; }
.gnb_all.open .gnb_al_li:nth-child(5) { transition-delay: 0.6s; }
.gnb_all.open .gnb_al_li:nth-child(6) { transition-delay: 0.7s; }
.gnb_all.open .gnb_al_li:nth-child(7) { transition-delay: 0.8s; }
.gnb_all.open .gnb_al_li:nth-child(8) { transition-delay: 0.9s; }

.gnb_al_a {
    display: block;
    padding: 22px 25px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #fff !important;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.gnb_al_a:hover {
    color: rgba(255,255,255,0.5) !important;
}

.gnb_al_sub {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.gnb_al_li.active > .gnb_al_a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gnb_al_li.active .gnb_al_sub {
    max-height: 300px;
    padding: 0 0 15px 0;
}

.gnb_al_sub li a {
    display: block;
    padding: 20px 25px;
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 300;
    color: #fff !important;
    transition: color 0.3s ease;
}

.gnb_al_sub li a:hover {
    color: rgba(255,255,255,0.6) !important;
}

#gnb_all_bg {
    display: none;
}


/* ################################### header 반응형 ################################### */

@media all and (max-width: 1024px) {

    .header_inner {
        padding: 0 var(--padding-mo);
    }

    #gnb {
        display: none;
    }

    .ham_btn {
        display: flex;
    }

    .header_phone {
        display: none;
    }
}

@media all and (max-width: 600px) {

    .header_cta {
        padding: 8px 14px;
        font-size: 13px;
    }

    .header_cta span {
        font-size: 13px;
    }
}


/* ################################### 메인 히어로 ################################### */

.main_hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* 입장 애니메이션 - keyframes (hover transition과 충돌 없음) */
@keyframes slideFromLeft {
    0% { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}

@keyframes slideFromRight {
    0% { clip-path: inset(0 0 0 100%); }
    100% { clip-path: inset(0 0 0 0); }
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero_left .hero_media {
    animation: slideFromRight 2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero_right .hero_media {
    animation: slideFromLeft 2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero_text .hero_label {
    animation: fadeInDown 0.6s ease 1.8s both;
}

.hero_text .hero_title {
    animation: fadeInDown 0.6s ease 1.95s both;
}

.hero_text .hero_desc {
    animation: fadeInDown 0.6s ease 2.1s both;
}

.hero_text .hero_link {
    animation: fadeInDown 0.6s ease 2.25s both;
}

/* 인트로 중 hover 차단 (클릭은 허용) */
.main_hero.intro_playing .hero_panel {
    pointer-events: none;
}

.main_hero.intro_playing .hero_link {
    pointer-events: auto;
    position: relative;
    z-index: 10;
}



/* 패널 공통 */
.hero_panel {
    position: relative;
    display: flex;
    height: 100%;
    overflow: hidden;
    padding: clamp(50px, 4.6875vw, 90px) 0;
    box-sizing: border-box;
    transition: flex 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.hero_left {
    background-color: #3a3a3a;
}

.hero_right {
    background-color: #f0eeeb;
}

.hero_left {
    flex: 1 1 50%;
    flex-direction: row;
}

.hero_right {
    flex: 1 1 50%;
    flex-direction: row;
}

/* hover 시 확장/축소 */
.main_hero.hover_left .hero_left {
    flex: 1 1 65%;
}
.main_hero.hover_left .hero_right {
    flex: 1 1 35%;
}

.main_hero.hover_right .hero_right {
    flex: 1 1 65%;
}
.main_hero.hover_right .hero_left {
    flex: 1 1 35%;
}

/* 텍스트 영역 */
.hero_text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(30px, 4vw, 80px);
    width: 25vw;
    flex-shrink: 1;
    transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                padding 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* hover 시 반대편 텍스트 영역 축소 */
.main_hero.hover_left .hero_right .hero_text {
    width: 18vw;
    padding: 0 clamp(20px, 2.5vw, 40px);
}

.main_hero.hover_right .hero_left .hero_text {
    width: 18vw;
    padding: 0 clamp(20px, 2.5vw, 40px);
}

.hero_left .hero_text {
    background-color: transparent;
}

.hero_right .hero_text {
    background-color: transparent;
}

.hero_label {
    font-size: clamp(18px, 1.4vw, 32px);
    font-weight: 400;
    /* margin-bottom: 0px; */
    /* letter-spacing: 0.05em; */
    transition: font-size 0.7s ease;
}

.hero_left .hero_label {
    color: rgba(255, 255, 255, 0.85);
}

.hero_right .hero_label {
    color: var(--base-color-black);
}

.hero_title {
    font-size: clamp(32px, 3.5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: clamp(20px, 2vw, 40px);
    transition: font-size 0.7s ease;
}

.hero_left .hero_title {
    color: var(--base-color-white);
}

.hero_right .hero_title {
    color: var(--base-color-black);
}

.hero_desc p {
    font-size: var(--text-font-size);
    line-height: 1.6;
    font-weight: 300;
    transition: font-size 0.7s ease;
}

/* hover 시 반대편 텍스트 축소 */
.main_hero.hover_left .hero_right .hero_title,
.main_hero.hover_right .hero_left .hero_title {
    font-size: clamp(24px, 2.5vw, 48px);
}

.main_hero.hover_left .hero_right .hero_label,
.main_hero.hover_right .hero_left .hero_label,
.main_hero.hover_left .hero_right .hero_desc p,
.main_hero.hover_right .hero_left .hero_desc p {
    font-size: clamp(13px, 0.7vw, 15px);
    opacity: 0.5;
    transition: font-size 0.7s ease, opacity 0.7s ease;
}

.main_hero.hover_left .hero_right .hero_link,
.main_hero.hover_right .hero_left .hero_link {
    opacity: 0.5;
    transition: opacity 0.7s ease;
}

.hero_left .hero_desc p {
    color: rgba(255, 255, 255, 0.7);
}

.hero_right .hero_desc p {
    color: rgba(0, 0, 0, 0.55);
}

/* 홈페이지 바로가기 링크 */
.hero_link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: clamp(40px, 5vw, 100px);
    font-size: var(--text-font-size);
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.hero_left .hero_link,
.hero_left .hero_link span {
    color: #fff !important;
}

.hero_left .hero_link svg {
    stroke: #fff;
}

.hero_right .hero_link {
    color: rgba(0, 0, 0, 0.55) !important;
}

.hero_link:hover {
    opacity: 0.6;
}

.hero_link_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.4s ease;
}

.hero_left .hero_link_icon {
    border: 1px solid #fff;
}

.hero_right .hero_link_icon {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* 섹션 hover 시 아이콘 배경 채우기 */
.main_hero.hover_left .hero_left .hero_link_icon {
    background-color: rgba(255, 255, 255, 0.5);
}

.main_hero.hover_left .hero_left .hero_link_icon svg {
    stroke: #3a3a3a;
}

.main_hero.hover_right .hero_right .hero_link_icon {
    background-color: rgba(0, 0, 0, 0.5);
}

.main_hero.hover_right .hero_right .hero_link_icon svg {
    stroke: #fff;
}

/* 영상 영역 */
.hero_media {
    position: relative;
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.hero_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.15);
    transition: filter 0.7s ease;
}

/* hover 시 영상 풀 컬러 */
.main_hero.hover_left .hero_left .hero_video {
    filter: saturate(1);
}

.main_hero.hover_right .hero_right .hero_video {
    filter: saturate(1);
}

/* 메인 히어로 반응형 */
@media all and (max-width: 1300px) {
    .hero_panel {
        position: relative;
        padding: 0;
    }

    /* 영상을 배경으로 깔기 */
    .hero_media {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hero_video {
        filter: saturate(1);
    }

    /* 텍스트를 영상 위에 */
    .hero_text {
        position: relative;
        z-index: 2;
        width: 100%;
        min-width: unset;
        height: 100%;
        padding: clamp(20px, 3vw, 40px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero_left .hero_text {
        background-color: rgba(58, 58, 58, 0.6);
    }

    .hero_right .hero_text {
        background-color: rgba(240, 238, 235, 0.6);
    }

    .hero_title {
        font-size: clamp(24px, 3vw, 40px);
    }

    /* hover 효과 해제 */
    .main_hero.hover_left .hero_right .hero_text,
    .main_hero.hover_right .hero_left .hero_text {
        width: 100%;
        padding: clamp(20px, 3vw, 40px);
    }

    .main_hero.hover_left .hero_right .hero_title,
    .main_hero.hover_right .hero_left .hero_title {
        font-size: clamp(24px, 3vw, 40px);
    }

    .main_hero.hover_left .hero_right .hero_label,
    .main_hero.hover_right .hero_left .hero_label,
    .main_hero.hover_left .hero_right .hero_desc p,
    .main_hero.hover_right .hero_left .hero_desc p {
        font-size: inherit;
        opacity: 1;
    }
}

@media all and (max-width: 860px) {
    header {
        height: 70px;
    }

    .is_main .header_inner {
        flex-direction: row-reverse;
    }

    #logo img {
        height: 30px;
        width: auto;
    }

    .main_hero {
        flex-direction: column;
        height: 100vh;
    }

    .hero_panel {
        flex-direction: row;
        position: relative;
        height: 50vh;
        padding: 0;
    }

    .hero_left,
    .hero_right {
        flex: none !important;
    }

    /* 영상을 배경으로 깔기 */
    .hero_media {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        flex: none;
        order: 0;
    }

    .hero_video {
        filter: saturate(1);
    }

    /* 텍스트를 영상 위에 */
    .hero_text {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: clamp(30px, 5vw, 60px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero_left .hero_text {
        background-color: rgba(58, 58, 58, 0.6);
    }

    .hero_right .hero_text {
        background-color: rgba(240, 238, 235, 0.6);
    }

    /* hover 효과 해제 */
    .main_hero.hover_left .hero_left,
    .main_hero.hover_right .hero_right {
        flex: none !important;
    }

    .main_hero.hover_left .hero_right,
    .main_hero.hover_right .hero_left {
        flex: none !important;
    }

    .main_hero.hover_left .hero_right .hero_text,
    .main_hero.hover_right .hero_left .hero_text {
        width: 100%;
        padding: clamp(30px, 5vw, 60px);
    }

    .main_hero.hover_left .hero_right .hero_title,
    .main_hero.hover_right .hero_left .hero_title {
        font-size: clamp(24px, 3vw, 40px);
    }

    .main_hero.hover_left .hero_right .hero_label,
    .main_hero.hover_right .hero_left .hero_label,
    .main_hero.hover_left .hero_right .hero_desc p,
    .main_hero.hover_right .hero_left .hero_desc p {
        font-size: inherit;
    }
}

/* ################################### 공통 푸터 ################################### */

.site_footer { position: relative; overflow: visible; background: #f5f5f5; }
.site_footer_content {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: clamp(48px, 8vh, 80px) 6%;
    box-sizing: border-box;
}
.site_footer_top_btn {
    position: absolute;
    top: -24px; left: 50%;
    transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 50%;
    background: #fff; cursor: pointer;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.4s ease, border-color 0.3s, background 0.3s;
    pointer-events: auto;
}
.edu_fullpage .site_footer_top_btn {
    opacity: 0;
    pointer-events: none;
}
.edu_fullpage .site_footer_top_btn.is-show {
    opacity: 1;
    pointer-events: auto;
}
.site_footer_top_btn:hover {
    border-color: rgba(0,0,0,0.5);
    background: #f5f5f5;
}
.site_footer_top_btn svg { display: block; }
.site_footer_logo {
    margin-bottom: clamp(24px, 3vh, 40px);
}
.site_footer_logo img {
    height: clamp(36px, 4vw, 52px);
    display: block;
}
.site_footer_info {
    color: #666; font-size: clamp(12px, 0.85vw, 14px);
    font-weight: 300; text-align: center;
    margin-bottom: 16px; letter-spacing: 0.01em;
}
.site_footer_info span { margin: 0 clamp(8px, 1.2vw, 20px); }
.site_footer_contact {
    display: flex; align-items: center; gap: clamp(16px, 2vw, 32px);
    margin-bottom: clamp(32px, 5vh, 60px);
}
.site_footer_contact_item {
    display: flex; align-items: center; gap: 8px;
    color: #555; font-size: clamp(12px, 0.85vw, 14px);
    font-weight: 300;
}
.site_footer_contact_icon {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%; flex-shrink: 0;
}
.site_footer_contact_icon.mail,.site_footer_contact_icon.chat { background: #2c3e6b; }
.site_footer_contact_icon svg { display: block; }
.site_footer_divider {
    width: 100%; height: 1px;
    background: rgba(0,0,0,0.1);
    margin-bottom: clamp(20px, 3vh, 36px);
}
.site_footer_links {
    display: flex; align-items: center; gap: clamp(24px, 4vw, 60px);
}
.site_footer_links a {
    color: #444; font-size: clamp(12px, 0.85vw, 14px);
    font-weight: 400; text-decoration: none;
    transition: color 0.3s;
}
.site_footer_links a:hover { color: #111; }

@media (max-width: 768px) {
    .site_footer_content { padding: clamp(48px, 8vh, 80px) 5%; }
    .site_footer_contact { flex-direction: column; gap: 12px; }
}