/* reset */
* {
    margin: 0;
    padding: 0;
    word-break: keep-all;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

b,
strong {
    font-weight: inherit;
}

i,
em,
address {
    font-style: inherit;
}

img {
    max-width: 100%;
}


/* common */
html {
    /* scroll-behavior: smooth; */
    font-family: "Paperlogy", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-weight: 400;
    font-size: 10px;
    background: #fff;
    color: #000;
    line-height: 1.5;
    letter-spacing: -1px;
}

html *.Paperlogy {
    font-family: 'Paperlogy';
}

.container {
    max-width: 1520px;
    width: 95%;
    margin: 0 auto;
}

.page {
    overflow: hidden;
    width: 100%;
}

.innertop {
    padding-top: 150px;
}

.innerbottom {
    padding-bottom: 150px;
}

b {
    font-weight: 700;
}

p {
    font-size: 20px;
}

*.m50 {
    margin-bottom: 5rem;
}

*.m20 {
    margin-bottom: 2rem;
}

*.m10 {
    margin-bottom: 1rem;
}

/* header */

#top_btn {
    cursor: pointer;
}

/* popup */
.popups {
    position: absolute;
    z-index: 9999999;
}

#popup_10 {
    z-index: 999999101;
}

#popup_9 {
    z-index: 999999102;
}

#popup_8 {
    z-index: 999999103;
}

#popup_7 {
    z-index: 999999104;
}

#popup_6 {
    z-index: 999999105;
}

#popup_5 {
    z-index: 999999106;
}

#popup_4 {
    z-index: 999999107;
}

#popup_3 {
    z-index: 999999108;
}

#popup_2 {
    z-index: 999999109;
}

#popup_1 {
    z-index: 999999110;
}

.popup_wrap {
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.popup_foot {
    padding: 10px;
    font-size: 1.5rem;
}

.popup_foot>div {
    display: flex;
    justify-content: space-between;
}

.popup_foot label span {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.popup_close {
    cursor: pointer;
}

.popup_wrap.introani {
    animation: introanimation .8s forwards ease;
}

/*  */
footer {
    background: #F6F6F6;
    color: #464646;
    font-size: 14px;
}

/* .f_top ul li{flex-grow: 1;} */
.f_top ul a {
    border: 1px solid #fff;
    border-radius: 3rem;
    display: inline-block;
    padding: .8rem 3rem;
    line-height: 1;
}

.f_bot .container {
    padding: 5rem 0;
    font-weight: 400;
}

.f_logo {
    max-width: 140px;
    margin-bottom: 10px;
}

.f_bot ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 600px;
}

.f_bot ul li {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.f_bot ul.copy_menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    color: #333;
    font-weight: 500;
    font-size: 13px;
}

.copy {
    display: flex;
    justify-content: space-between;
    color: #7D7D7D;
    font-size: 12px;
    border-top: 1px solid #2F3133;
    margin-top: 10px;
    padding-top: 10px;
}

#quick-placeholder {
    position: fixed;
    z-index: 999;
    right: 2vw;
    bottom: 2vw;

}

#quick-placeholder a {
    position: relative;
    display: block;
    max-width: 140px;
    animation: quick_bounce 1.6s infinite;
    transform-origin: center bottom;
}
#quick-placeholder:hover .contact_txt {
    transform: translate(-50%, -100%)scale(1);
    opacity: 1;
}
.contact_txt {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%)scale(0);
    transition: .3s;
    opacity: 0;
    transform-origin: bottom center;
    width: 120%;
    /* aspect-ratio: 2/1;
    background: url('../img/contact_txt.png') no-repeat 50% 50% / contain; */
}

.contact_txt span {
    width: 100%;
    font-size: 18px;
    text-align: center;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes quick_bounce {

    0%,
    100%,
    20%,
    53%,
    80% {
        -webkit-transition-timing-function:
            cubic-bezier(0.215, .61, .355, 1);
        transition-timing-function:
            cubic-bezier(0.215, .61, .355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        -webkit-transition-timing-function:
            cubic-bezier(0.755, .050, .855, .060);
        transition-timing-function:
            cubic-bezier(0.755, .050, .855, .060);
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }

    70% {
        -webkit-transition-timing-function:
            cubic-bezier(0.755, .050, .855, .060);
        transition-timing-function:
            cubic-bezier(0.755, .050, .855, .060);
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}


@media (min-width:0px) and (max-width:1280px) {
    .innertop {
        padding-top: 120px;
    }

    .innerbottom {
        padding-bottom: 120px;
    }

    .f_logo {
        width: 250px;
        margin-bottom: 1.5rem;
    }

    .f_bot {
        flex-direction: column;
        gap: 1rem;
    }


}

@media (min-width:0px) and (max-width:900px) {

    /* popup */
    .popup_wrap {
        top: 65px !important;
        left: 0 !important;
    }


    .innertop {
        padding-top: 100px;
    }

    .innerbottom {
        padding-bottom: 100px;
    }

    .f_logo {
        display: none;
    }

    .f_top ul {
        gap: 1rem;
    }

    .f_top ul a {
        padding: 0.6rem 2rem;
    }
}

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



    /* common */
    .innertop {
        padding-top: 5rem;
    }

    .innerbottom {
        padding-bottom: 5rem;
    }

    /* popup */

    /* footer */
    .f_top ul {
        /* flex-direction: column; */
        /* gap: 1rem 1rem; */
        flex-wrap: wrap;
        justify-content: center;
    }

    .f_bot ul {
        gap: .3rem 2rem;
    }

    .copy {
        /* text-align: center; */
        flex-direction: column;
    }

    #quick-placeholder a {
        max-width: 24vw;
    }

    .contact_txt {
        width: 110%;
        /* aspect-ratio: 2/1;
    background: url('../img/contact_txt.png') no-repeat 50% 50% / contain; */
    }

    .contact_txt span {
        width: 100%;
        font-size: 15px;
        text-align: center;
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}