@charset "UTF-8";


/* 레이아웃, 디자인 공통 */
.layout {
    width: 94%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    display: table;
}

section {
    position: relative
}

section img {
    width: 100%
}

.fc-purple {
    color: #5024af
}

.fc-grey{
    color:#37393b
}

.fc-blue {
    color: #007aff;

}

.fc-red {
    color: #f75b5d
}

.gray-bg {
    background-color: #f7f8f9
}

.fw-b{
    font-weight:700
}


/* Header */
header {
    width: 100%;
    height: 90px;
    position: absolute;
    top: 0;
    background: transparent;
    z-index: 2;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;

}

.header-inner{
    width:96%;
    max-width:1200px;
    height:100%;
    margin:0 auto;
    position: relative;
}


.subheader {
    background: #5e48aa;
}

.sticky {
    position: fixed;
    height: 70px;
    background-color: #5e48aa
}

header h1.logo {
    left:20px
}

nav {
    display: table;
    right:20px
}

nav ul {
    display: table-cell;
    vertical-align: middle
}

nav li {
    float: left;
    text-align: center;
    line-height: .6;
    margin: 0 1.500rem 0
}

nav li:last-child {
    margin-right: 0
}

nav a {
    color: #fff;
    font-size: 0.833rem;
    letter-spacing: -0.017rem;
    font-weight: normal
}

nav li:first-child a{
    font-weight: 700;
}

.subheader nav li:first-child a{
    font-weight: normal;
}

.mobile-sheader{
    display: none;
}

/*login*/
.user {
    float: right;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 0.056rem 0 0 4.111rem;
}

.logout{
    float:right;
    display: inline-block;
    width: 70px;
    height: 27px;
    background-color: rgba( 255, 255, 255, 0.2);
    border-radius: 13.5px;
    margin:0.111rem 0 0 2.167rem;
}

.logout a{
    font-size: 12px;
    font-weight: 500;
    letter-spacing:-0.24px;
    color:#fff;
    display: block;
    text-align: center;
    line-height: 26px;
}

.user img {
    max-width: 100%
}

/*login popup*/
.memberpop{
    display: none
} 

.popupjoin .memberpop{
    display: block
}

.popup-inner {
    position: absolute;
    width: 100%;
    max-width: 408px;
    height: 476px;
    top: 63px;
    right: 0;
    padding: 0 0 1.833px;
    background-color: #f7f8f9;
    -webkit-box-shadow: 3px 3px 1.667rem rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 1.667rem rgba(0, 0, 0, 0.2)
}

.user-hd {
    position: relative;
    height: 80px;
    padding: 1.389rem 0;
    text-align: center;
    background: #fff
}

.user-hd::after {
    content: "";
    width: 360px;
    height: 1px;
    background: #f4f5f6;
    position: absolute;
    bottom: -1px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

.user-hd p {
    font-size: 0.944rem;
    font-weight: 700;
    letter-spacing: 0.018rem;
    color: #37393b;
}

.popup-close {
    right: 24px;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor:pointer
}

.popup-close:hover{
    opacity:0.6
}

.memberpop .user-form {
    padding: 1.111rem 2.556rem 1.889rem;
}

.login .user-form{
    padding:1.056rem 0.278rem 0
}


.memberpop .form-row {
    margin-bottom:1.111rem;
}

.login .form-row:first-of-type {
    margin-bottom:1.111rem;
}

.login .form-row:last-of-type {
    margin:0.889rem 0 1.444rem;
}


.memberpop .form-row input[type=text],
.login .form-row input[type=text],
.form-row input[type=password]{    
    width: 100%;
    padding:0.667rem 0.944rem;
    height: 50px;
    font-size: 0.778rem;
    border: 1px solid #DDDFE2;    
}

.memberpop .form-row:hover:not(:last-of-type)::after,
.login .form-row:hover:not(:last-of-type)::after{
    content:"";
    width: 100%;
    height:1px;
    background: #5e48aa;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index:1 
}

.form-row.remeber{
    margin-bottom:1.667rem;
    line-height:0.2rem
}

.form-row.remember input[type=checkbox] {
    width: 21px;
    height: 21px;
    border: 1px solid #cdcfd2;
    border-radius: 2px;
    cursor: pointer;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    background: #fff
}


.form-row.remember input[type=checkbox]:checked::before{
    content: "";
    width: 11px;
    height: 18px;
    background: center / contain url("/static/images/ic-checkbox-f9636ea58f050148485cd005b0941942.svg") no-repeat;
    display: block;
    margin: auto
}

.form-row.remember input[type=checkbox]:hover{
    border:1px solid #5e48aa
}

.form-row.remember label{
    font-size: 0.778rem;
    font-weight: 500;
    letter-spacing: -0.014rem;
    margin-left:0.278rem;
    line-height: 1.2;
    color: #9b9fa6;
    cursor:pointer
}

.user-form .btn-submit, 
.user-form .btn-join{
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.833rem;
    font-weight: 500;
    letter-spacing: -0.016rem;
    line-height: 49px;
}

.user-form .btn-join{
    margin: 0.556rem 0 1.444rem;
}


.login .user-form .btn-join{
    margin: 0.556rem 0 1.611rem;
}

.fg-area{
    display: block;
    font-size: 0.722rem;
    letter-spacing: -0.013rem;
    color: #9b9fa6;
    margin:auto;
    font-weight: 500;
}

@media screen and (max-width:1000px) {
    .sub-wrap header, 
    .sub-wrap footer{
        display: none
    }

    .sub-wrap{
        background: #f7f8f9;
    }
}


    /* Header 미디어쿼리*/
@media all and (max-width:786px) {
    .header-inner{
        width:100%;
    }

    nav{
        display: none
    }

    header {
        height: 80px;
    }

    header h1.logo {
        width: 60px;
        left:17px
    }

    header h1.logo img {
        width: 100%
    }

    .sticky {
        height: 80px;
    }

    .sticky h1 {
        width: 48px;
        left: 20px
    }

    /*mobile sub header*/
    .subheader{
        background:#fff;
        border-bottom:1px solid #f4f5f6
    }

    .subheader .logo{display: none;}

    .subheader .mobile-menu .ic-home{
        position: absolute;
        left:16px;
        top:50%;
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .subheader .mobile-menu h2{
        font-size: 0.944rem;
        font-weight: 700;
        letter-spacing: 0.018rem;
    }

    .subheader .mobile-menu .txt{
        color: #37393b
    }
}

/* Footer */
footer {
    height: 70px;
    background-color: #f8f8f8;
    position: relative;
    border-top:1px solid #e6e7e8;
}

footer a,
footer .copyright {
    font-size: 0.667rem;
    letter-spacing: -0.24px;
}

footer a {
    left: 50px;
    color:#48484a;
    font-weight: 500;
}

footer a:hover {
    opacity:0.7;
    font-weight: 500;
}

footer .copyright {
    right: 50px;
    color:#9b9fa6
}

/* Footer 미디어쿼리 */
@media screen and (max-width:640px) {
    footer {
        text-align: center;
        height: 97px;
        padding: 21px 0 1.200rem 0.889rem
    }

    footer a {
        display: block;
        margin: 0 auto 4px;
        left: auto
    }    

    footer a,
    footer .copyright {
        position: relative !important;
        text-align: left !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        -moz-transform: translateY(0) !important;
        -webkit-transform: translateY(0) !important;
        transform: translateY(0) !important
    }
}


