@charset "utf-8";
@import url('unable/board.css');
@import url('unable/board_renew.css');
@import url('custom_board.css');

/*
 * layout.css
 * 레이아웃 공통요소들 작업요소에 맞게 수정하시면됩니다.
 *
 * 1) root 설정
 * 2) 폰트설정
 * 3) open-control
 * 4) 언어선택
 * 5) 준비중
 * 6) 관련사이트-목록열기형
 * 7) 레이아웃설정
 *
 */

.inr {
    position: relative;
    margin: auto;
    max-width: 1500rem;
    width: 92%;
}

.inr-wide {
    position: relative;
    margin: auto;
    max-width: 1700rem;
    width: 94%;
}

.inr-narrow {
    position: relative;
    margin: auto;
    max-width: 1200rem;
    width: 92%;
}

/* 애니메이션 */
[data-motion="blur"] {
    filter: blur(10px);
    opacity: 0;
    transform: scale(1.1);
    transition: 1s ease 0s;
}

[data-motion="blur"].motion_in {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

[data-motion="slide-up"] {
    opacity: 0;
    transform: translateY(50rem);
    transition: 1s ease 0s;
}

[data-motion="slide-up"].motion_in {
    opacity: 1;
    transform: translateY(0);
}

[data-motion="slide-left"] {
    opacity: 0;
    transform: translateX(50rem);
    transition: 1s ease 0s;
}

[data-motion="slide-left"].motion_in {
    opacity: 1;
    transform: translateX(0);
}

[data-motion="slide-right"] {
    opacity: 0;
    transform: translateX(-50rem);
    transition: 1s ease 0s;
}

[data-motion="slide-right"].motion_in {
    opacity: 1;
    transform: translateX(0);
}

[data-motion="slide_show_right"] {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path var(--aniTime, 1.5s) var(--aniEase, ease) 0s;
}

[data-motion="slide_show_right"].motion_in {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition-delay: var(--aniDelay, 0.2s);
}

[data-motion="slide_show_left"] {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: clip-path var(--aniTime, 1.5s) var(--aniEase, ease) 0s;
}

[data-motion="slide_show_left"].motion_in {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition-delay: var(--aniDelay, 0.1s);
}

[data-motion="slide_show_down"] {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path var(--aniTime, 1.5s) var(--aniEase, ease) 0s;
}

[data-motion="slide_show_down"].motion_in {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition-delay: var(--aniDelay, 0.1s);
}

[data-motion="slide_show_up"] {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transition: clip-path var(--aniTime, 1.5s) var(--aniEase, ease) 0s;
}

[data-motion="slide_show_up"].motion_in {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition-delay: var(--aniDelay, 0.1s);
}

/* 1) root 설정  */
:root {
    --color-base: #222;
    /* 선언이 안되면 #333 기본컬러로 적용됨 */
    --color-primary: #007DC5;
    --color-primary2: #00A5DB;
    --color-secondary: #62BC46;
    --color-secondary2: #9DD58B;
    --color-white: #fff;
    --color-black: #000;
    --font-base: 16rem;

    --font-eng: 'Play', Sans-serif;
    --font-combine: 'Play', 'Pretendard', Sans-serif;
    --trans-ani: 0.3s ease 0s;

    --header-height: clamp(60rem, 7.84vw, 100rem);
}

/* 2) 폰트설정 */
body {
    font-size: var(--font-base, 16rem);
}

@media (min-width:1921px) {
    html {
        font-size: 0.052vw;
    }
}

@media (max-width:1300px) {
    html {
        font-size: 0.077vw;
    }
}

@media (max-width:1024px) {
    html {
        font-size: 0.098vw;
    }
}

@media (max-width:768px) {
    html {
        font-size: 0.130vw;
    }
}

@media (max-width:480px) {
    html {
        font-size: 1px;
    }
}

@media (max-width:374px) {
    html {
        font-size: 0.271vw;
    }
}

/* 3) open-control */
/* div.open-control
 *     button.open-control__btn
 *     div.list or ul.list
 * */
.open-control {
    position: relative;
}

.open-control .list {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    padding: 15rem;
    background-color: #fff;
    border: 1rem solid #eee;
}

.open-control .list a {
    display: inline-block;
}

/* 4) 언어선택 */
.lang-area {
    position: relative;
    min-width: 120rem;
}

.lang-area .open-control__btn {
    display: flex;
    align-items: center;
    gap: 10rem;
    background-color: transparent;
    font-size: 17rem;
    font-weight: 500;
}

.lang-area .list ul {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    font-size: 15rem;
}

.lang-area .list a {
    opacity: 0.5;
    font-weight: 600;
    transition: 0.3s ease;
}

.lang-area .list a:hover {
    opacity: 1;
}

/* 5) 준비중 */
.ready-page {
    padding: 120rem 0;
    text-align: center;
}

.ready-page strong {
    display: block;
    font-size: 35rem;
}

.ready-page strong i {
    opacity: 0.2;
    display: block;
    margin-bottom: 10rem;
    font-size: 45rem;
}

.ready-page p {
    margin-top: 20rem;
    font-size: 18rem;
    line-height: 1.4;
}

@media (max-width:480px) {
    .ready-page {
        padding: 80rem 0;
    }

    .ready-page strong {
        font-size: 30rem;
    }

    .ready-page p {
        font-size: 16rem;
        word-break: keep-all;
    }

    .ready-page p br {
        display: none;
    }
}

/* 6) 관련사이트-목록열기형 */
.relate-site {
    position: relative;
    max-width: 260rem;
}

.relate-site .open-control__btn {
    position: relative;
    width: 100%;
    height: 55rem;
    box-sizing: border-box;
    padding: 0 30rem 0 20rem;
    background-color: transparent;
    border: 1rem solid rgba(14, 14, 14, 0.15);
    font-size: 15rem;
    font-weight: 600;
    text-align: left;
    color: #333;
    transition: 0.3s ease;
}

.relate-site .open-control__btn .xi-plus-min {
    position: absolute;
    right: 20rem;
    top: 50%;
    margin-top: -10rem;
    font-size: 20rem;
    transition: transform 0.3s;
}

.relate-site .open-control__btn.active {
    border-color: #111;
}

.relate-site .open-control__btn.active .xi-plus-min {
    transform: rotate(45deg);
}

.relate-site .list {
    display: none;
    position: absolute;
    bottom: 100%;
    top: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 35rem 20rem;
    background: #fff;
    border: 1rem solid #111;
    border-bottom: 0;
}

.relate-site .list ul>li {
    margin-top: 10rem;
}

.relate-site .list ul>li:first-child {
    margin-top: 0;
}

.relate-site .list a {
    opacity: 0.5;
    display: inline-block;
    font-size: 14rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.relate-site .list a:hover {
    opacity: 1;
}

@media (max-width:480px) {
    .relate-site {
        max-width: 100%;
    }
}

/* 7) 레이아웃설정 */
#header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 90;
    width: 100%;
    height: var(--header-height);
    transition: .3s ease;

    &:before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: var(--header-height);
        background: #fff;
        opacity: 0;
        transition: .3s ease;
        z-index: -1;
    }

    &:after {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, .2);
        transition: .3s ease;
    }

    .hdInr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: auto;
        max-width: 1700rem;
        width: 94%;
        height: 100%;
    }

    h1 {
        a {
            display: block;
            position: relative;
            height: clamp(28rem, 3.43vw, 48rem);
        }

        img {
            display: block;
            height: 100%;
            transition: .3s ease;
        }

        img.basic {
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
        }
    }

    nav {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        height: var(--header-height);

        .gnb {
            display: flex;
            align-items: center;
            gap: 10rem;
            height: 100%;
        }

        .gnb li a {
            display: block;
            word-break: keep-all;
        }

        .gnb>li {
            position: relative;
            height: 100%;
        }

        .gnb>li>a {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 clamp(20rem, 2.94vw, 40rem);
            height: 100%;
            font-size: var(--fs18);
            font-weight: bold;
            color: #fff;
            transition: .3s ease;
        }

        .gnb>li .box {
            position: absolute;
            left: 50%;
            transform: translate(-50%, -30rem);
            width: 100%;
            opacity: 0;
            transition: .3s ease;
            visibility: hidden;
        }

        .gnb>li .box ul {
            display: flex;
            flex-direction: column;
            gap: 5rem;
            padding: clamp(20rem, 2.45vw, 30rem) 0;
        }

        .gnb>li .box a {
            display: block;
            text-align: center;
            font-size: var(--fs16);
            color: rgba(0, 0, 0, .87);

            span {
                display: inline-flex;
                justify-content: center;
                padding: 10rem 0;
                position: relative;
            }

            span:after {
                content: '';
                display: block;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                width: calc(100% + 10rem);
                height: 2px;
                background: var(--color-primary2);
                opacity: 0;
                transition: .3s ease;
            }

            &:hover {
                color: #000;
            }

            &:hover span:after {
                opacity: 1;
            }
        }
    }

    .util-area {
        display: flex;
        align-items: center;
        gap: 48rem;

        .log {
            display: flex;
            gap: 16rem;

            a {
                font-size: var(--fs16);
                font-weight: 300;
                line-height: 1;
                color: #fff;
            }
        }

        .lang {
            display: flex;
            gap: 16rem;

            a {
                display: block;
                position: relative;
                padding: 5rem 0;
                font-size: var(--fs16);
                font-weight: 300;
                line-height: 1;
                color: #fff;
            }

            a.on {
                font-weight: bold;
            }

            a.on:after {
                content: '';
                display: block;
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 1px;
                background: var(--color-primary2);
            }
        }

        .menu-btn {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
            gap: 6rem;
            width: 50rem;
            aspect-ratio: 1/1;
            background: none;

            span {
                display: block;
                width: 100%;
                height: 2rem;
                border-radius: 2rem;
                background: #fff;
            }

            span:first-child {
                width: 30rem;
            }
        }

        .mega-menu__btn {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
            gap: 6rem;
            width: 50rem;
            aspect-ratio: 1/1;
            background: none;

            span {
                display: block;
                width: 100%;
                height: 2rem;
                border-radius: 2rem;
                background: #fff;
            }

            span:first-child {
                width: 30rem;
            }
        }
    }

    .mega-menu {
        opacity: 0;
        visibility: hidden;
        display: flex;
        align-items: stretch;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        transition: 0.3s ease;
        transition-property: opacity, visibility;

        &.active {
            opacity: 1;
            visibility: visible;
        }

        .gnb-mob {
            overflow-y: auto;
            width: 80%;
            background-color: #fff;

            .log {
                display: none;
                gap: 14rem;
                padding: 30rem;
                background: #f5f5f5;

                a {
                    font-size: var(--fs16);
                    line-height: 1;
                    color: #222;
                }
            }

            .gnb {
                padding: 30rem;
            }

            .gnb>li {
                position: relative;
                border-bottom: 1rem solid rgba(0, 0, 0, 0.1);
            }

            .gnb>li>a {
                display: flex;
                align-items: center;
                padding: 20rem 10rem;
                font-size: var(--fs25);
                font-weight: 500;
                color: #111;
            }

            .gnb>li .open {
                position: absolute;
                top: 25rem;
                right: 10rem;
                width: 20rem;
                height: 20rem;
                background-color: transparent;
                font-size: 0;
            }

            .gnb>li .open:before {
                content: '\e913';
                display: block;
                font-family: xeicon !important;
                font-size: 20rem;
            }

            .gnb>li>a.active~.open:before {
                content: '\e91a';
            }

            .gnb>li>a.on {
                color: var(--color-primary);
            }

            .box {
                display: none;
                padding: 30rem;
                background-color: #f3f3f3;
            }

            .box ul {
                display: flex;
                flex-direction: column;
                gap: 10rem;
            }

            .box a {
                display: block;
                font-size: var(--fs20);
                color: #555;
            }

            .box a span {
                line-height: 1.4;
                background: linear-gradient(90deg, #222, #222);
                background-size: 0 2rem;
                background-repeat: no-repeat;
                background-position: 0 100%;
                transition: 0.5s;
            }

            .box a.on span {
                background-size: 100% 2rem;
                font-weight: 700;
            }
        }

        .mega-menu__close {
            flex: auto;
            width: auto;
            height: auto;
            padding: 20rem;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);

            i {
                display: block;
                color: #fff;
                font-size: 30rem;
            }
        }
    }

    @media(min-width:1601px) {
        @media(hover:hover) {
            &:hover {
                &:before {
                    height: calc(var(--header-height) + 363rem);
                }
            }
        }
    }

    @media(min-width:1025px) {
        @media(hover:hover) {
            &:hover {
                &:after {
                    background: rgba(34, 34, 34, 0.12);
                }

                &:before {
                    opacity: 1;
                    height: calc(var(--header-height) + 382rem);
                }

                h1 {
                    img.basic {
                        opacity: 1;
                    }

                    img.white {
                        opacity: 0;
                    }
                }

                nav {
                    .gnb>li>a {
                        color: #222;
                    }

                    .gnb>li .box {
                        transform: translate(-50%, 0);
                        opacity: 1;
                        visibility: visible;
                    }
                }

                .util-area {
                    .log {
                        a {
                            color: #222;
                        }
                    }

                    .lang {
                        a {
                            color: #222;
                        }
                    }

                    .menu-btn {
                        span {
                            background: #222;
                        }
                    }

                    .mega-menu__btn {
                        span {
                            background: #222;
                        }
                    }
                }
            }
        }
    }

    @media(max-width:1600px) {
        nav {
            .gnb>li>a {
                padding: 0 clamp(20rem, 2.94vw, 25rem);
            }
        }

        .util-area {
            gap: 35rem;
        }
    }

    @media(max-width:1400px) {
        nav {
            left: 47%;
        }
    }

    @media(max-width:1024px) {
        nav {
            display: none;
        }

        .util-area {
            .menu-btn {
                display: none;
            }

            .mega-menu__btn {
                display: flex;
            }
        }
    }

    @media(max-width:768px) {
        .util-area {
            .mega-menu__btn {
                width: 40rem;

                span:first-child {
                    width: 26rem;
                }
            }
        }
    }

    @media(max-width:480px) {
        .util-area {
            gap: 25rem;

            .log {
                display: none;
            }
        }

        .mega-menu {
            .gnb-mob {
                .log {
                    display: flex;
                }

                .gnb>li>a {
                    padding: 20rem 0;
                }

                .gnb>li .open {
                    top: 22rem;
                    right: 0;
                }

                .gnb>li .open:before {
                    font-size: 16rem;
                }
            }

            .mega-menu__close {
                i {
                    font-size: 25rem;
                }
            }
        }
    }
}

.isScrolled #header {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);

    &:after {
        background: rgba(34, 34, 34, 0.12);
    }

    h1 {
        img.basic {
            opacity: 1;
        }

        img.white {
            opacity: 0;
        }
    }

    nav {
        .gnb>li>a {
            color: #222;
        }
    }

    .util-area {
        .log {
            a {
                color: #222;
            }
        }

        .lang {
            a {
                color: #222;
            }
        }

        .menu-btn {
            span {
                background: #222;
            }
        }

        .mega-menu__btn {
            span {
                background: #222;
            }
        }
    }
}


#footer {
    background: #001A29;

    .inr {
        padding: clamp(40rem, 5.39vw, 64rem) 0 clamp(50rem, 7.84vw, 95rem);
        border-top: 1px solid rgba(34, 34, 34, .2);

        span.line {
            display: block;
            width: 100%;
            height: 1px;
            background: rgb(255 255 255 / 20%);
            margin-block: 50rem;
        }

        .logo-footer {
            display: block;
            margin-bottom: clamp(15rem, 1.96vw, 40rem);
        }
    }

    .info {

        address {
            font-size: var(--fs16);
            line-height: 1.4;
            color: #d9d9d9;

            span {
                display: inline-block;
                margin-right: 30rem;
                margin-bottom: 15rem;
            }

            b {
                text-transform: capitalize;
                font-weight: 600;
                color: #fff;
            }
        }

        .copy {
            display: block;
            margin-top: clamp(15rem, 1.96vw, 25rem);
            font-size: var(--fs16);
            line-height: 1.4;
            color: #fff;
        }
    }

    .top-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: clamp(40rem, 5.39vw, 64rem);
        width: clamp(40rem, 5.88vw, 60rem);
        aspect-ratio: 1/1;
        border-radius: 50%;
        background: linear-gradient(to top, var(--color-primary), var(--color-secondary));

        img {
            display: block;
            height: 43.33%;
        }
    }

    .quickMenu {
        position: fixed;
        right: 10rem;
        top: 65%;
        transform: translateY(-50%);
        width: clamp(50rem, 7.84vw, 100rem);
        overflow: hidden;
        z-index: 99;

        &>span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 54rem;
            font-size: var(--fs14);
            font-weight: 600;
            line-height: 1.3;
            color: #fff;
            background: #222;
            border-radius: 8rem 8rem 0 0;
        }

        ul {
            width: 100%;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 0 0 8rem 8rem;

            li {
                padding: 0 10rem;
                aspect-ratio: 1/1;
            }

            li+li a {
                border-top: 1px solid #ddd;
            }

            a {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 10rem;
                width: 100%;
                height: 100%;
            }

            span {
                display: flex;
                align-items: center;
                justify-content: center;
                width: clamp(30rem, 3.92vw, 40rem);
                aspect-ratio: 1/1;
                border-radius: 50%;

                img {
                    display: block;
                    width: 45%;
                }
            }

            em {
                display: block;
                font-size: var(--fs14);
                font-weight: 600;
                color: #000;
                line-height: 1;
            }

            li.faq {
                span {
                    background: var(--color-secondary);
                }
            }

            li.linkedIn {
                span {
                    background: #0274B3;
                }
            }

            li.youtube {
                span {
                    background: #FF0000;
                }
            }
        }
    }

    @media(max-width:768px) {
        .info {
            padding-right: 10%;

            address {
                br {
                    display: none;
                }
            }
        }

        .quickMenu {
            ul {
                a {
                    gap: 5rem;
                }
            }
        }
    }

    @media(max-width:480px) {
        .info {
            address {
                span {
                    margin-right: 20rem;
                    margin-bottom: 10rem;
                }
            }
        }

        .top-btn {
            img {
                height: 50%;
            }
        }

        .quickMenu {
            &>span {
                height: 46rem;
            }

            ul {
                li {
                    aspect-ratio: 1/1.3;
                }

                a {
                    gap: 5rem;
                }

                em {
                    font-size: 11rem;
                }
            }
        }
    }
}

.area-subVisual {
    position: relative;
    width: 100%;
    height: 500rem;
    background: url(/assets/images/content/bg-sub.jpg) no-repeat center/cover;

    .subTitle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .subTitle h2[data-subTitle="current"] {
        text-align: center;
        margin-bottom: 50rem;
        font-size: var(--fs64);
        color: #fff;
    }

    .wrap-subVisual {
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        gap: 16rem;
        padding: 12rem 32rem;
        border-radius: 99rem;
        background: rgba(255, 255, 255, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: #fff;
    }

    .wrap-subVisual a {
        font-size: var(--fs20);
    }

    .wrap-subVisual h2 {
        font-size: var(--fs18);
        text-wrap: nowrap;
    }

    .wrap-subVisual h2[data-subtitle="depth01"] {
        font-weight: 300;
    }
}