@charset "UTF-8";

/* ==============================

    스타일 초기화

 ============================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
    vertical-align: top;
}

*, *::before, *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ==============================

    유틸

 ============================== */

.u-hidden {
    overflow: hidden;
    border: 0;
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%)
}

@media (min-width: 721px) {
    .u-hidden\@lg {
        overflow: hidden;
        border: 0;
        position: absolute;
        width: 1px;
        height: 1px;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%)
    }
}

@media (max-width: 720px) {
    .u-hidden\@sm {
        overflow: hidden;
        border: 0;
        position: absolute;
        width: 1px;
        height: 1px;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%)
    }
}

/* ==============================

    레이아웃

 ============================== */

body {
    background: url('../img/bg.jpg') repeat center;
    -webkit-background-size: cover;
    background-size: cover;
}

@media (max-width: 720px) {
    body {
        background-image: url('../img/m_bg.jpg');
    }
}

html, body, .main {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.head {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
    overflow: hidden;
}

@media (max-width: 750px) {
    .head {
        /*flex: 0 0 37.5%;*/
        flex: 0 0 20%;
    }

    .head__logo img {
        width: 33%;
    }
}

.container {
    flex: 1;
}

.child {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50%;
    overflow: hidden;
}

.child__item {
    position: relative;
    flex: 1;
    text-align: center;
}

@media (max-width: 720px) {
    .child {
        flex-direction: column;
        height: 60%;
    }

    .child:nth-child(2) {
        height: 40%;
    }

    .child--half {
        height: 20.833334%;
    }

    .child__item {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex: 1;
    }

    .child--half .child__item {
        height: 100%;
    }
}

.animation-depth-wrapper {
    transition: transform .6s ease-in-out;
}

.depth1 {
    display: inline-block;
    cursor: pointer;
}

.depth2-list {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    padding-top: 20px;
}

.depth2-list__item {
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translate(0, -100%);
    transition: all .6s ease-in-out;
}

.depth2-list__item:first-child {
    margin-top: 0;
}

.depth2-list__item.is-show {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

.depth2-list__item > a {
    display: inline-block;
}

img.logo-ledo {
    width: 100%;
    max-width: 150px;
}

@media (max-width: 720px) {
    .depth1 img {
        width: 53%;
    }

    .depth2-list img {
        width: 70%;
    }

    .depth2-list {
        padding-top: 10px;
    }
}

/* ==============================

    초기 애니메이션

 ============================== */

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translate(0, 5%);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.fade-in-up-el {
    animation: fade-in-up .8s ease-in-out both;
}

.fade-in-up-el--delay {
    animation-delay: .4s;
}

.fade-in-up-el--delay2 {
    animation-delay: .8s;
}

/* ==============================

    라인 애니메이션

 ============================== */

@keyframes left-to-right {
    100% {
        transform: translate(100%, 0);
    }
}

@keyframes right-to-left {
    100% {
        transform: translate(-100%, 0);
    }
}

.bottom-line-box {
    position: relative;
}

.bottom-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.bottom-line:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4d4d4, transparent);
    transform: translate(-100%, 0);
    animation: left-to-right 2s ease-out infinite;
    animation-delay: .4s;
}

.bottom-line--reverse:after {
    transform: translate(100%, 0);
    animation: right-to-left 2s ease-out infinite;
    animation-delay: .8s;
}

@media (max-width: 720px) {
    .bottom-line:after {
        height: 1px;
    }
}

/* ==============================

    로고 마우스오버 애니메이션

 ============================== */

.logo-animation {
    display: block;
    transition: transform .6s ease-out;
}

.logo-animation:hover {
    transform: scale(1.1);
}
