/* =========================================================
   HEADER / GNB
========================================================= */

.hd {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 90000;

    width: 100%;

    transition: background .5s ease, box-shadow .5s ease;
}


.hd.is-fixed {
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .06);

    backdrop-filter: blur(6px);
}


.hd-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: 100px;

    padding: 0 3.2%;
}


.hd-logo {
    display: block;
    flex: 0 0 auto;
}


.hd-logo img {
    display: block;
    height: 66px;
    width: auto;
}


.hd-right {
    display: flex;
    align-items: center;

    flex: 0 0 auto;
    gap: 28px;
}


.hd-tel {
    display: flex;
    align-items: center;
    gap: 9px;

    text-decoration: none;
}


.hd-tel img {
    display: block;

    width: auto;
}


.hd-tel span {
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 22px;
    letter-spacing: -.01em;

    color: #05205f;
}


.hd-menu {
    display: block;

    width: 34px;
    height: 34px;
    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}


.hd-menu img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   GNB
========================================================= */

.gnb {
    position: fixed;
    inset: 0;
    z-index: 95000;

    visibility: hidden;
    pointer-events: none;

    /*
       닫힐 때 패널이 오른쪽으로 되돌아가는 모습을 보여주려면
       visibility 를 트랜지션이 끝난 뒤에 꺼야 한다.
    */
    transition: visibility 0s linear .9s;
}


.gnb.is-open {
    visibility: visible;
    pointer-events: auto;

    transition: visibility 0s linear 0s;
}


.gnb-dim {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .35);

    opacity: 0;

    /* 닫힐 때는 패널을 따라 천천히 사라진다 */
    transition: opacity .8s ease .1s;
}


.gnb.is-open .gnb-dim {
    opacity: 1;
    transition: opacity .6s ease 0s;
}





.gnb-panel {
    position: absolute;
    right: 0;
    top: 0;

    display: flex;
    align-items: center;

    width: 55%;
    max-width: 1000px;
    height: 100%;

    padding: 0 6%;

    background: #111 url("../img/head/menu_bg.jpg") no-repeat center center;
    background-size: cover;

    transform: translateX(100%);

    /* 닫힐 때 : 가속하며 오른쪽으로 빠져나간다 */
    transition: transform .85s cubic-bezier(.65, 0, .35, 1);

    will-change: transform;
}


.gnb.is-open .gnb-panel {
    transform: translateX(0);

    /* 열릴 때 : 감속하며 부드럽게 자리잡는다 */
    transition: transform .9s cubic-bezier(.19, 1, .22, 1);
}


.gnb-close {
    position: absolute;
    right: 5%;
    top: 34px;

    opacity: 0;

    transition: opacity .3s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}


.gnb.is-open .gnb-close {
    opacity: 1;

    transition: opacity .5s ease .5s, transform .5s cubic-bezier(.22, 1, .36, 1);
}


.gnb-close:hover {
    transform: rotate(90deg);
}


.gnb-close img {
    display: block;

    width: 100%;
    height: auto;
}


/* ---------- NAV ---------- */

.gnb-nav {
    width: 100%;
}


.gnb-nav ul {
    margin: 0;
    padding: 0;

    list-style: none;
}





/* 열릴 때 : 위에서 아래로 순차 */
.gnb.is-open .gnb-nav > ul > li:nth-child(1) { transition-delay: .28s; }
.gnb.is-open .gnb-nav > ul > li:nth-child(2) { transition-delay: .40s; }
.gnb.is-open .gnb-nav > ul > li:nth-child(3) { transition-delay: .52s; }
.gnb.is-open .gnb-nav > ul > li:nth-child(4) { transition-delay: .64s; }


/* 닫힐 때 : 아래에서 위로 역순 */
.gnb-nav > ul > li:nth-child(4) { transition-delay: 0s; }
.gnb-nav > ul > li:nth-child(3) { transition-delay: .06s; }
.gnb-nav > ul > li:nth-child(2) { transition-delay: .12s; }
.gnb-nav > ul > li:nth-child(1) { transition-delay: .18s; }



.gnb-nav > ul > li {
    opacity: 0;
    transform: translateX(40px);

    transition: opacity .45s ease, transform .5s cubic-bezier(.65, 0, .35, 1);
}


.gnb.is-open .gnb-nav > ul > li {
    opacity: 1;
    transform: translateX(0);

    transition: opacity .8s ease, transform .9s cubic-bezier(.19, 1, .22, 1);
}


.gnb-nav a {
    display: flex;
    align-items: center;

    padding: 34px 0;

    text-decoration: none;
}

.gnb-nav a.is-ready {
    cursor: default;
}


.gnb-num {
    flex: 0 0 auto;
    width: 82px;

    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 31px;
    letter-spacing: .02em;

    color: rgba(255, 255, 255, .3);

    transition: color .45s ease;
}


.gnb-txt {
    display: flex;
    align-items: baseline;

    flex: 1 1 auto;
    gap: 14px;

    min-width: 0;
}


.gnb-txt em {
    flex: 0 0 auto;

    font-family: 'Pretendard-Regular', sans-serif;
    font-size: 20px;
    font-style: normal;
    letter-spacing: .06em;

    color: rgba(255, 255, 255, .3);

    transition: color .45s ease, letter-spacing .6s cubic-bezier(.22, 1, .36, 1);
}


.gnb-txt strong {
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 22px;
    letter-spacing: -.02em;

    color: rgba(255, 255, 255, .3);

    transition: color .45s ease;
}


.gnb-dot {
    flex: 0 0 auto;

    width: 7px;
    height: 7px;

    margin-left: 16px;

    border-radius: 50%;
    background: #2f7fe0;

    opacity: 0;
    transform: scale(0);

    transition: opacity .45s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
}


/* 활성 / 호버 */

.gnb-nav a:hover .gnb-num {
    color: #fff;
}
.gnb-nav li strong {
    position: relative;
}

.gnb-nav li:hover strong::after {
    position: absolute;
    content: '';
    display: inline-block;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);

    width: 12px;
    height: 12px;

    border-radius: 50%;
    background: #2f7fe0;
}



.gnb-nav a:hover .gnb-txt em {
    color: rgba(255, 255, 255, .9);
    letter-spacing: .12em;
}


.gnb-nav a:hover .gnb-txt strong {
    color: #fff;
}


.gnb-nav li.is-on .gnb-dot {
    opacity: 1;
    transform: scale(1);
    display: none;
}



/* =========================================================
   GNB SUB (PR CENTER)
========================================================= */

.gnb-nav .gnb-has-sub > a {
    padding-bottom: 12px;
}


.gnb-nav .gnb-sub {
    padding-left: 82px;          /* .gnb-num 과 동일 폭 */
    padding-bottom: 34px;
}


.gnb-nav .gnb-sub > li {
    opacity: 1;
    transform: none;
    transition: none;
}


.gnb-nav .gnb-sub > li > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 0;

    font-family: 'Pretendard-Regular', sans-serif;
    font-size: 17px;
    letter-spacing: -.02em;

    color: rgba(255, 255, 255, .35);

    transition: color .45s ease;
}


.gnb-nav .gnb-sub > li > a::before {
    content: '';

    display: block;
    width: 10px;
    height: 1px;

    background: currentColor;
}


.gnb-nav .gnb-sub > li > a:hover,
.gnb-nav .gnb-sub > li.is-on > a {
    color: #fff;
}




/* =========================================================
   MOBILE (viewport width=750)
========================================================= */

@media screen and (max-width: 991px) {

    .hd-inner {
        height: 132px;
        padding: 0 42px;
    }

    .hd-logo img {
    }

    .hd-right {
        gap: 34px;
    }

    .hd-tel img {
        height: 42px;
    }

    .hd-menu {
        width: 48px;
        height: 48px;
    }


    /* ---------- GNB ---------- */

    .gnb-panel {
        width: 74%;
        max-width: none;

        padding: 0 56px;

        background-image: url("../img/head/menu_bg_mo.jpg");
    }

    .gnb-close {
        right: 56px;
        top: 46px;

        width: 44px;
        height: 44px;
    }

    .gnb-nav a {
        display: block;
        padding: 46px 0;
    }

    .gnb-num {
        display: block;
        width: auto;

        margin-bottom: 16px;

        font-size: 30px;
        color: #ffffff;
    }

    .gnb-txt {
        display: block;
    }

    .gnb-txt em {
        display: block;
        margin-bottom: 10px;

        font-size: 24px;
        color: #ffffff;
    }

    .gnb-txt strong {
        display: inline-block;
        font-size: 30px;
        color: #ffffff;
    }

    .gnb-dot {
        display: inline-block;

        width: 12px;
        height: 12px;

        margin-left: 12px;

        vertical-align: middle;

        position: absolute;
        right: 100px;
        bottom: 60px;
    }


    .gnb-nav > ul > li > a {
        padding: 36px 0;
    }

    .gnb-nav .gnb-has-sub > a {
        padding-bottom: 14px;
    }

    .gnb-nav .gnb-sub {
        padding-left: 0;
        padding-bottom: 36px;
    }

    .gnb-nav .gnb-sub > li > a {
        gap: 16px;
        padding: 10px 0;
        font-size: 26px;
        color: rgba(255, 255, 255, .6);
    }

    .gnb-nav .gnb-sub > li > a::before {
        width: 18px;
        height: 2px;
    }

}




















/* =========================================================
   FOOTER
========================================================= */

.ft {
    position: relative;
    z-index: 3;

    width: 100%;

    padding: clamp(50px, 5vw, 90px) 0 clamp(46px, 4.6vw, 84px);

    background: #111;
}


.ft-inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 0 5%;

    text-align: center;
}


.ft-logo {
    margin-bottom: clamp(26px, 2.6vw, 46px);
}


.ft-logo img {
    display: block;

    width: auto;
    height: 55px;

    margin: 0 auto;
}


/* ---------- COMPANY ---------- */

.ft-company {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    margin-bottom: clamp(16px, 1.6vw, 28px);
}


.ft-com-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;

    white-space: nowrap;
}


.ft-com-item span {
    font-family: 'Pretendard-Light', sans-serif;
    font-size: clamp(11px, .82vw, 15px);
    letter-spacing: -.02em;

    color: rgba(255, 255, 255, .5);
}


.ft-com-item strong {
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: clamp(12px, .92vw, 17px);
    letter-spacing: -.02em;

    color: #fff;
}


.ft-bar {
    display: inline-block;

    width: 1px;
    height: 11px;

    margin: 0 clamp(14px, 1.4vw, 26px);

    background: rgba(255, 255, 255, .2);
}


/* ---------- INFORMATION ---------- */

.ft-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    margin-bottom: clamp(20px, 2vw, 36px);
}


.ft-info-item {
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: clamp(11px, .86vw, 16px);
    letter-spacing: -.02em;
    white-space: nowrap;

    color: #fff;
}


/* ---------- NOTICE ---------- */

.ft-notice p {
    margin: 0 0 6px;

    font-family: 'Pretendard-Light', sans-serif;
    font-size: clamp(10px, .76vw, 14px);
    line-height: 1.7;
    letter-spacing: -.02em;

    color: rgba(255, 255, 255, .42);
}


.ft-notice p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MOBILE FIXED BUTTON (COMING SOON / 사전고객등록)
========================================================= */

.m_fixed_wrap {
    display: none;
}


@media screen and (max-width: 991px) {

    /* ---------- FOOTER ---------- */

    .ft {
        padding: 80px 0 180px;
    }

    .ft-inner {
        max-width: none;
        padding: 0;
    }

    .ft-logo {
        margin-bottom: 44px;
    }

    .ft-logo img {
        height: 78px;
    }

    .ft-company {
        margin-bottom: 34px;
    }

    .ft-com-item {
        gap: 12px;
    }

    .ft-com-item span {
        font-size: 20px;
    }

    .ft-com-item strong {
        font-size: 22px;
    }

    .ft-bar {
        height: 16px;
        margin: 0 22px;
    }

    .ft-info {
        display: block;
        margin-bottom: 40px;
    }

    .ft-info .ft-bar {
        display: none;
    }

    .ft-info-item {
        display: block;
        margin-bottom: 12px;

        font-size: 22px;
        white-space: normal;
    }

    .ft-info-item:last-child {
        margin-bottom: 0;
    }

    .ft-notice p {
        margin-bottom: 12px;
        font-size: 18px;
        line-height: 1.2;
    }


    /* ---------- 하단 고정 버튼 ---------- */

    .m_fixed_wrap {
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 88000;

        display: block;

        width: 100%;

        transform: translateY(100%);

        transition: transform .7s cubic-bezier(.19, 1, .22, 1);

        will-change: transform;
    }

    .m_fixed_wrap.is-show {
        transform: translateY(0);
    }

    .m_fixed {
        display: flex;

        width: 100%;
        margin: 0;
        padding: 0;

        list-style: none;
    }

    .m_fixed li {
        flex: 1 1 50%;
    }

    .m_fixed a {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        height: 100px;

        font-family: 'Pretendard-Bold', sans-serif;
        font-size: 30px;
        letter-spacing: .02em;

        text-decoration: none;
        color: #fff;
    }

    .m_fixed .open a {
        background: #0066b3;
        color: #fff;
        font-family:'FuturaCyrillicDemi';
    }

    .m_fixed .regi a {
        background: #fff;
        color: #05205f;
    }

}