/* ################################### header ################################### */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 9999;
    background-color: transparent;
    backdrop-filter: none;
    transition: opacity 0.6s ease, background-color 0.4s ease, backdrop-filter 0.4s ease;
    opacity: 0;
}

header.loaded {
    opacity: 1;
}

header.header_dark {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

header.always-scrolled {
    background-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

.header_wrap {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 clamp(20px, 2.6042vw, 50px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* SNS */
.header_sns {
    display: flex;
    align-items: center;
    gap: clamp(10px, 0.9375vw, 18px);
    z-index: 1;
}

.header_sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(18px, 1.1458vw, 22px);
    height: clamp(18px, 1.1458vw, 22px);
    transition: opacity 0.3s ease;
}

.header_sns a:hover {
    opacity: 0.6;
}

.header_sns img {
    width: 100%;
    height: 100%;
    transition: filter 0.4s ease;
}

header.scrolled .header_sns img {
    filter: brightness(0) saturate(100%);
}

/* Logo */
#logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

#logo a {
    font-size: clamp(20px, 1.5625vw, 30px);
    font-weight: 700;
    color: var(--base-color-white);
    transition: color 0.4s ease;
}

header.scrolled #logo a {
    color: var(--base-color-black);
}

/* GNB */
#gnb {
    position: absolute;
    right: clamp(20px, 2.6042vw, 50px);
    top: 0;
    height: 100%;
    z-index: 1;
}

#gnb #gnb_1dul {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.gnb_1dli {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: clamp(20px, 2.6042vw, 50px);
}

.gnb_1dli:first-child {
    margin-left: 0;
}

.gnb_1da {
    font-size: var(--text-font-size);
    color: var(--base-color-white) !important;
    white-space: nowrap;
    transition: opacity 0.6s ease, color 0.4s ease;
    padding: 10px 0;
    display: block;
    font-weight: 300;
    text-align: center;
    width: auto;
    height: auto;
}

header.scrolled .gnb_1da {
    color: var(--base-color-black) !important;
}

#gnb .gnb_1dli:hover > a,
.gnb_1da:hover {
    color: var(--base-color-white);
    opacity: 0.6;
    background: none;
}

header.scrolled #gnb .gnb_1dli:hover > a,
header.scrolled .gnb_1da:hover {
    color: var(--base-color-black);
}

/* 2차 메뉴 */
.gnb_2dul {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    font-size: var(--text-font-size);
    width: auto;
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.4s ease, backdrop-filter 0.4s ease;
}

header.header_dark .gnb_2dul {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

header.scrolled .gnb_2dul {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.gnb_1dli:hover > .gnb_2dul,
.gnb_1dli_over > .gnb_2dul {
    visibility: visible;
    opacity: 1;
}

a.gnb_2da {
    color: var(--base-color-white) !important;
    transition: color 0.4s ease;
}

header.scrolled a.gnb_2da {
    color: var(--base-color-black) !important;
}

.gnb_2da,
a.gnb_2da:hover {
    display: block;
    padding: 10px 20px;
    color: var(--base-color-white);
    background: none !important;
    text-align: center;
    transition: opacity 0.3s ease, color 0.4s ease;
    line-height: 1.4;
}

a.gnb_2da:hover {
    opacity: 0.6;
}

header.scrolled a.gnb_2da:hover {
    color: var(--base-color-black);
}

.gnb_empty {
    color: var(--base-color-white);
    font-size: var(--text-font-title-size);
}

.gnb_empty a {
    color: #3a8afd;
    text-decoration: underline;
    display: inline;
}

/* Hamburger */
.ham_wrap {
    display: none;
    width: clamp(28px, 3vw, 60px);
    height: clamp(28px, 3vw, 60px);;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-end;
    cursor: pointer;
    background: none;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 5px;
    transition: all 0.3s ease;
}

.ham_wrap:hover {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

header.scrolled .ham_wrap {
    border-color: rgba(53, 45, 40, 0.4);
}

header.scrolled .ham_wrap:hover {
    border-color: rgba(53, 45, 40, 0.2);
}

.ham_line {
    width: 100%;
    height: 2px;
    border-radius: 20px;
    background-color: var(--base-color-white);
    transition: all 0.3s ease;
}

header.scrolled .ham_line {
    background-color: var(--base-color-black);
}

.ham_wrap:hover .ham_line {
    opacity: 0.5;
}

/* Full-screen Menu */
.gnb_all {
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: -1000;
    background-color: var(--background-color);
}

.gnb_all.close {
    opacity: 0;
}

.gnb_all.open {
    display: block;
    opacity: 1;
    z-index: 99999;
}

/* Inner grid: logo column + menu column */
.gnb_all_inner {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 3fr;
}

/* Logo column */
.gnb_all_logo_col {
    padding: clamp(30px, 3vw, 60px) clamp(30px, 3vw, 60px);
    border-right: 1px solid rgba(53, 45, 40, 0.15);
}

.gnb_all_logo {
    font-size: clamp(22px, 1.8vw, 36px);
    font-weight: 700;
    color: var(--base-color-black);
    text-decoration: none;
}

/* Menu column */
.gnb_all_menu_col {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Close button */
.gnb_close_btn {
    position: absolute;
    top: clamp(20px, 2.5vw, 50px);
    right: clamp(20px, 2.5vw, 50px);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.close_btn_con {
    display: inline-block;
    width: clamp(22px, 1.8vw, 32px);
    height: clamp(22px, 1.8vw, 32px);
    position: relative;
}

.close_btn_con:before,
.close_btn_con:after {
    position: absolute;
    left: 50%;
    top: 0;
    content: '';
    height: 100%;
    width: 1px;
    background-color: var(--base-color-black);
    transition: opacity 0.3s ease;
}

.close_btn_con:before {
    transform: rotate(45deg);
}

.close_btn_con:after {
    transform: rotate(-45deg);
}

.gnb_close_btn:hover .close_btn_con:before,
.gnb_close_btn:hover .close_btn_con:after {
    opacity: 0.5;
}

/* Menu wrap */
.ham_menu_wrap {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    padding: clamp(30px, 5vw, 100px) 0 0 0;
}

.ham_menu_wrap a {
    color: var(--base-color-black);
}

/* Menu grid: 3 columns */
.gnb_al_ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gnb_al_li {
    padding: clamp(30px, 3vw, 60px) clamp(30px, 3vw, 60px);
    border-left: 1px solid rgba(53, 45, 40, 0.15);
}

.gnb_al_li:nth-child(3n+1) {
    border-left: none;
}

.gnb_al_li > a {
    display: block;
    font-size: var(--sub-title-font-size);
    line-height: var(--sub-title-font-size-line);
    font-weight: 700;
    color: var(--base-color-black);
    margin-bottom: clamp(20px, 2vw, 40px);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.gnb_al_li > a:hover {
    color: var(--signature-color);
}

.gnb_al_li > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gnb_al_li > ul > li {
    line-height: 2.2;
}

.gnb_al_li > ul > li > a {
    font-size: var(--text-font-size);
    color: var(--base-color-black);
    transition: color 0.3s ease;
    font-weight: 300;
}

.gnb_al_li > ul > li > a:hover {
    color: var(--signature-color);
}

/* Decorative text */
.gnb_all_deco {
    text-align: right;
    padding: clamp(20px, 2vw, 40px) clamp(30px, 3vw, 60px);
    font-size: clamp(40px, 5vw, 120px);
    line-height: 1;
    font-weight: 700;
    color: rgba(53, 45, 40, 0.08);
    letter-spacing: -0.02em;
}


/* ################################### section_1 ################################### */


.scroll_down {
    position: absolute;
    right: 5%;
    bottom: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    p {
        color: var(--base-color-white);
        font-size: 13px;
        font-weight: 600;
    }
}

.scroll_arrow {
    width: 14px;
    margin: 15px 0;
}

.scroll_line {
    height: 130px;
}

.scroll_mouse {
    position: absolute;
    width: 18px;
    bottom: 42px;
    animation: mouse 1s infinite alternate;
}

@keyframes mouse {
	 0%  {bottom: 42px; opacity: 1;}
	 100% {bottom: 10px; opacity: 0.4;}
}

.section_1 {
    height: 100vh;
    background-color: black;
    position: relative;
    overflow: hidden;
}

.section_1_slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section_1_slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.section_1_slider img.active {
    opacity: 1;
}

.section_1_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.section_1_text_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--max-width);
    margin: 0 auto;
    z-index: 2;
    opacity: 0;
}

.section_1_text_wrap.loaded {
    opacity: 1;
    transition: opacity 0.8s ease;
}

.section_1_text_wrap > h1 {
    text-align: center;
    font-size: var(--title-point-font-size);
    line-height: var(--title-point-font-size-line);
    color: var(--base-color-white);
    font-weight: 300;
    letter-spacing: -3%;
}



/* ################################### section_2 ################################### */

.section_2 {
    height: 100vh;
    margin: 0 auto;
}

.section_2_wrap {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.section_2_video {
    position: absolute;
    z-index: 9;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 26%;
    object-fit: cover;
    overflow: hidden;
}

.section_2_text {
    width: 100%;
    position: absolute;
    top: 20%;
    left: 50%;
    z-index: 99;
    transform: translateX(-50%);
    mix-blend-mode: difference;
}

.section_2_text > h2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: var(--main-title-font-size);
    line-height: var(--main-title-font-size-line);
    color: rgba(255, 255, 255, 1);
}

.section_2_text .color_point {
    font-size: var(--main-title-font-size);
}

.copy {
    color: rgba(0, 0, 0, 0.3) !important;
}


/* ################################### section_3 ################################### */

.section_3 {
    display: flex;
}

.section_3_left {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.slide_text {
    width: 80% !important;
}

.slide_text p {
    font-size: var(--text-font-size);
    line-height: var(--text-font-size-line);
    width: 95%;
    padding: 50px 0;
}

.slide_text h5 {
    font-size: var(--text-font-title-size);
    line-height: var(--text-font-title-size-line);
    color: var(--signature-color);
}

.slide_text h2 {
    font-size: var(--sub-title-font-size);
    line-height: var(--sub-title-font-size-line);
}

.section_3_right {
    width: 50%;
    height: 500px;
}

/* 슬라이더 */
.slick-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
}

.slick-list {
    height: 100%;
}

.slick-track {
    height: 100%;
}

.slide_btn {
    display: flex;
    cursor: pointer;
}

.slick-slide img {
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    padding-left: 30px;
}

.arrow {
    width: 30px;
    height: 30px;
    margin-bottom: 50px;

    img {
        width: 100%;
        height: 100%;
        transition: 0.6s;
    }
}

.arrow_prev {
    margin-right: 50px;
}

.arrow:hover img {
    filter: brightness(0) saturate(100%) invert(7%) sepia(35%) saturate(0%) hue-rotate(134deg) brightness(91%) contrast(97%);
}

/* ################################### section_4 ################################### */

.section_4 {
    margin: var(--section-margin) 0;
    background-color: #373737;
    padding: var(--section-margin) 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.section_4 > h3 {
    font-size: var(--sub-title-font-size);
    line-height: var(--sub-title-font-size-line);
    color: var(--signature-color);
    margin-bottom: clamp(15px, 1.5vw, 20px);
}

.section_4 > h2 {
    font-size: var(--main-title-font-size);
    line-height: var(--main-title-font-size-line);
    color: var(--base-color-white);
    margin-bottom: clamp(30px, 4.1667vw, 100px);
}

.section_4 > p {
    font-size: clamp(24px, 7vw, 250px);
    line-height: clamp(24px, 7vw, 250px);
    color: #464646;
    font-weight: 900;
}

.section_4_box {
    width: 70%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    top: -80px;
}

.section_4_box > img {
    width: 42%;
}

.section_4_box > .section_4_text {
    display: flex;
    flex-direction: column;
    width: 55%;
    justify-content: flex-end;
    align-items: flex-start;
}

.section_4_text > p {
    font-size: var(--sub-title-font-size);
    line-height: var(--sub-title-font-size-line);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--base-color-white);
}


.section_4_btn > button {
    font-size: var(--text-font-title-size);
    color: var(--base-color-white);
    border: 1px solid var(--base-color-white);
    font-weight: 500;
    padding: 15px 30px;
    transition: 0.6s;
}

.section_4_btn > button:first-child {
    margin-right: 15px;
}

.section_4_btn > button:hover {
    background-color: var(--base-color-white);
    color: var(--base-color-black);
}


/* ################################### section_5 ################################### */

.section_5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section_5 > h5 {
    font-size: var(--text-font-title-size);
    line-height: var(--text-font-title-size-line);
    color: var(--signature-color);
    margin-bottom: 15px;
}

.section_5 > h2 {
    font-size: var(--sub-title-font-size);
    line-height: var(--sub-title-font-size-line);
}

.notice_slide {
    width: 100%;
}

.section_5 .slide_btn {
    width: 100%;
    justify-content: flex-end;
}

.section_5 .slide_btn > .arrow {
    margin: 50px 20px;
}


/* ################################### section_6 ################################### */
.section_6{
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.section_6_box {
    font-weight: 700;
    text-align: center;
}

.section_6 .section_6_box .section_6_text {
    margin: 0 auto;
    font-size: var(--main-title-font-size);
    line-height: var( --main-title-font-size-line);
    color: rgba(0, 0, 0, 0.2);
    width: max-content;
    background: linear-gradient(to right, #000000, #000000) no-repeat;
    background-clip: text;
    background-size: 0%;
    text-align: center;
    transition: background-size cubic-bezier(.1,.5,.5,1) 0.5s
}

.section_6 .section_6_box .section_6_point {
    color: var(--signature-color);
    font-size: var(--main-title-font-size);
    line-height: var( --main-title-font-size-line);
}


/* ################################### section_7 ################################### */
.section_7 {
    position: relative;
    height: 80vh;
    margin-top: var(--section-margin);
    background-image: url(../img/section_7_img.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section_7_bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.45;
    background-color: var(--base-color-black);
}

.section_7_text {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section_7_text > div {
    display: flex;
    flex-direction: column;
}

.section_7_text p {
    font-size: var(--title-point-font-size);
    line-height: var(--title-point-font-size-line);
    color: var(--base-color-white);
    font-weight: 500;
}

.section_7_text h2 {
    font-size: var(--main-title-font-size);
    line-height: var(--main-title-font-size-line);
    color: var(--base-color-white);
    margin: 15px 0;
}

.section_7_box a {
    width: clamp(300px, 23.9583vw, 540px);
    display: inline-flex;
    justify-content: space-between;
    padding: 0 25px 5px 15px;
    align-items: flex-end;
    border-bottom: 1px solid var(--base-color-white);
    margin-bottom: 30px;


    h5 {
        position: relative;
        left: 0;
        font-size: var(--main-title-font-size);
        color: var(--base-color-white);
        transition: 0.6s;
    }

    p {
        font-size: var(--text-font-title-size);
        line-height: var(--text-font-title-size-line);
        color: var(--base-color-white);
        font-weight: 600;
    }

}

.section_7_box:hover h5 {
    left: 15px;
    color: var(--signature-color);
}


/* ################################### footer ################################### */

footer {
    position: relative;
    width: 100%;
    background-color: var(--background-color-gray);
    padding: clamp(60px, 3.6vw, 80px) 0 clamp(40px, 4vw, 60px);
}

.footer_wrap {
    width: 100%;
    padding: 0;
}

.footer_section {
    width: var(--max-width);
    max-width: 100%;
    padding: 0 clamp(30px, 4vw, 80px);
    margin: 0 auto;
}

.footer_info {
    display: flex;
    gap: clamp(40px, 6vw, 120px);
    margin-bottom: clamp(40px, 4vw, 60px);
}

.footer_office h4 {
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 600;
    color: var(--base-color-black);
    margin-bottom: clamp(16px, 1.5vw, 24px);
    letter-spacing: 0.02em;
}

.footer_office ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_office li {
    font-size: var(--text-font-size);
    color: var(--base-color-black);
    line-height: 1.9;
    font-weight: 300;
}

.footer_office li span {
    color: var(--base-color-black);
    margin-right: 4px;
    font-weight: 400;
}

.footer_copyright {
    text-align: right;
}

.footer_copyright p {
    font-size: clamp(11px, 0.8vw, 13px);
    color: var(--base-color-black);
    font-weight: 300;
    letter-spacing: 0.05em;
}



/* ################################### 반응형 ################################### */


/* 모바일 - 태블릿 */
@media all and (max-width: 1024px) {

    /* header */
    .header_wrap {
        justify-content: center;
    }

    .header_sns {
        position: absolute;
        left: clamp(20px, 2.6042vw, 50px);
        top: 50%;
        transform: translateY(-50%);
    }

    #gnb {
        display: none;
    }

    .ham_wrap {
        display: flex;
        position: absolute;
        right: clamp(20px, 2.6042vw, 50px);
        top: 50%;
        transform: translateY(-50%);
    }

    #logo {
        position: static;
        transform: none;
    }

    /* section_1 */
    .scroll_down {
        display: none;
    }

    /* section_3 */
    .section_3 {
        flex-direction: column-reverse;
    }

    .section_3_left {
        width: 100%;
        margin-top: 30px;
    }
    .section_3_right {
        width: 100%;
        height: 40vh;
    }

    .section_3_left > p {
        padding: 30px 0;
    }

    .arrow {
        margin-bottom: 30px;
        width: 25px;
        height: 25px;
    }

    .slick-slide img {
    padding-left: 0;
    }

    .slide_text {
        width: 100% !important;
    }

    /* section_4 */

    .section_4_box {
        width: 80%;
        flex-direction: column;
        top: -10px;
    }

    .section_4_box > img {
        width: 100%;
    }

    .section_4_box > .section_4_text {
        width: 100%;
        align-items: center;
        margin: 30px 0;
    }

    .section_4_btn {
        display: flex;
        flex-direction: column;
    }

    .section_4_btn > button {
        width: 200px;
        margin-top: 15px;
    }

    .section_4_btn > button:first-child {
        margin-right: 0;
    }


    /* section_5 */

    .section_5 .slide_btn > .arrow {
        width: 20px;
        margin: 20px 15px;
    }

    /* section_7 */

    .section_7 {
        height: 100vh;
    }

    .section_7_text {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .section_7_text > div {
        padding: 20% 0;
    }


    /* full-screen menu */
    .gnb_all {
        overflow-y: auto;
    }

    .gnb_all_inner {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100%;
    }

    .gnb_all_logo_col {
        border-right: none;
        border-bottom: 1px solid rgba(53, 45, 40, 0.15);
        padding: 20px clamp(20px, 4vw, 40px);
    }

    .gnb_all_menu_col {
        height: auto;
    }

    .gnb_al_ul {
        grid-template-columns: 1fr;
    }

    .gnb_al_li {
        border-left: none;
        border-bottom: 1px solid rgba(53, 45, 40, 0.15);
        padding: 25px clamp(20px, 4vw, 40px);
    }

    .gnb_al_li:last-child {
        border-bottom: none;
    }

    .gnb_all_deco {
        font-size: clamp(30px, 10vw, 60px);
    }

    /* footer */

    .footer_info {
        flex-direction: column;
        gap: 30px;
    }

    .footer_copyright {
        text-align: left;
    }


}
