/* 메뉴클릭 시 */
.inner {
    max-width: 680px;
    padding: 0 20px;
    margin: 0 auto;
}

body.click {
    overflow: hidden;
    transition: all 0.3s;
}

body.click .menu {
    transform: translateX(0);
}

body::before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #00000080;
    position: absolute;
    z-index: 99;
    display: none;
}

body.click::before {
    display: block;
}

/* header */
#header {
    background: #fff;
}

body.sub #header {
    border-bottom: 1px solid#F5F5F5;
}

#header>.inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 0 auto;
    padding: 25px 20px 25px;
    max-width: 680px;
    height: 72px;
}

#header .logo img {
    width: 130px;
}

#header .main-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#header .main-logo .logo2 {
    vertical-align: middle;
    width: 111px;
    display: block;
}

body.login #header .main-logo {
    top: 250%;
}

body.sub #header .main-logo .logo2 {
    display: none;
}

#header .main-logo .logo1 {
    width: 119px;
}

body.sub.login #header .logo .logo1 {
    width: 225px;
}

#header .login img {
    width: 26.5px;
    vertical-align: bottom;
}

#header .ham {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    height: 26.33px;
    cursor: pointer;
}

#header .ham span {
    width: 27px;
    background: #6C6C6C;
    height: 4px;
}

#header .prev img {
    width: 16px;
    vertical-align: bottom;
    position: relative;
    top: 5px;
}

#header .prev {
    display: none;
}

body.sub #header .prev {
    display: block;
}

.menu .inner {
    padding: 0;
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    width: 650px;
    height: 100vh;
    transform: translateX(650px);
    transition: all .3s;
    z-index: 100;
}

.menu .del {
    position: absolute;
    right: 45px;
    top: 46px;
    padding: 12px;
    cursor: pointer;
}

.menu .del span {
    width: 28.2842712474619px;
    background: #6C6C6C;
    height: 2px;
    position: absolute;
}

.menu .del span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu .del span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.menu .top {
    background: #FBF5F5;
    padding: 39px 44px 48px;
}

.menu .top.pt_50 {
    padding: 90px 44px 48px;
}

.menu .user {
    background: #fff;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    padding: 8px 11px;
    margin-bottom: 38px;
}

.menu .user .user-img {
    border-radius: 50%;
    background: #FF7373;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.menu .user .user-img img {
    width: 14px;
}

.menu .nser {
    font-size: 18px;
}

.menu .log {
    text-align: center;
    background: #D6D6D6;
    color: #393939;
    display: block;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 500;
    padding: 14px 0;
}

.menu .nav ul {
    display: grid;
    gap: 13px;
    padding: 30px 44px;
    font-size: 18px;
    font-weight: 500;
}

.menu .nav ul li a {
    display: block;
    width: 100%;
    padding: 19px 0;
    position: relative;
}

.menu .nav ul li a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%);
    width: 8px;
    height: 14px;
    background-image: url(../images/main/right.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#footer.none {
    display: none;
}

#footer {
    background: #FBF5F5;
}

#footer.no-bg {
    background: none;
}

#footer .con {
    border-top: 1px solid #D6D6D6;
    padding: 23px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
}

#footer .con .right ul {
    display: grid;
    gap: 18px;
}

#footer .con .right ul li {
    color: #575757;
    font-size: 18px;
}

#footer .con .right ul li p {
    margin-bottom: 8px;
    font-weight: 500;
}

#footer .con .right ul li span {
    font-weight: 400;
    line-height: 150%;
}

/* body.sub .bottom-icon{
    bottom: calc(100% + 23px);
} */
body.sub #footer {
    padding-top: 211px;
}

body.sub #footer.right-none {
    background: none;
}

body.sub #footer.right-none .right {
    display: none;
}

body.sub #footer.right-none .bottom-icon {
    bottom: 20px;
    right: 0;
}

body.sub #footer.right-none {
    padding-top: 0;
}

body.sub #footer.right-none .con {
    border-top: 0;
}

.bottom-icon {
    position: fixed;
    bottom: 10px;
    right: 20px;
}

.bottom-icon ul {
    display: grid;
    gap: 30px;
}

.bottom-icon li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-icon .img-circle {
    border-radius: 50%;
    width: 55px;
    height: 55px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 8px #0000004a;
}

.bottom-icon .img-circle img {
    width: 39px;
}

.bottom-icon .circle-txt {
    font-size: 13px;
    font-weight: 500;
    border-radius: 30px;
    padding: 4px 8px;
    transform: translateY(-7px);
}

.bottom-icon li:nth-child(1) .circle-txt {
    background: #FF7373;
    color: #fff;
}

.bottom-icon li:nth-child(2) .circle-txt {
    background: #FFC107;
    color: #393939;

}

@media(max-width: 700px) {
    .menu {
        width: 580px;
    }
}

@media(max-width: 650px) {
    .menu {
        width: 500px;
    }
}

@media(max-width: 550px) {
    .menu {
        width: 400px;
    }
}

@media(max-width: 480px) {
    .inner {
        max-width: 400px;
        padding: 0 18px;
    }

    #header>.inner {
        padding: 20px 18px 20px;
        max-width: 400px;
    }

    #header .logo img {
        width: 117px;
    }

    #header .main-logo .logo2 {
        width: 83px;
    }

    #header .main-logo .logo1 {
        width: 93px;
    }

    body.sub.login #header .main-logo .logo1 {
        width: 183px;
    }

    #header .login img {
        width: 22.5px;
    }

    #header .ham {
        height: 21.33px;
    }

    #header .ham span {
        width: 24px;
        height: 3px;
    }

    #header .prev img {
        width: 13px;
    }

    .menu .inner {
        padding: 0;
    }

    .menu {
        width: 330px;
        transform: translateX(330px);
    }

    .menu .del {
        right: 19px;
        top: 71px;
    }

    .menu .del span {
        width: 28.2842712474619px;
        height: 2px;
        position: absolute;
    }

    .menu .top {
        background: #FBF5F5;
        padding: 62px 15px 32px;
    }

    .menu .user {
        padding: 8px 11px;
        margin-bottom: 30px;
    }

    .menu .user .user-img {
        width: 26px;
        height: 26px;
        margin-right: 10px;
    }

    .menu .user .user-img img {
        width: 14px;
    }

    .menu .nser {
        font-size: 16px;
    }

    .menu .log {
        font-size: 16px;
        padding: 14px 0;
    }

    .menu .nav ul {
        gap: 13px;
        padding: 30px 0;
        font-size: 16px;
    }

    .menu .nav ul li a {
        padding: 15px;
    }

    .menu .nav ul li a::before {
        width: 8px;
        height: 14px;
    }

    #footer .con {
        padding: 23px 0;
    }

    #footer .con .right ul {
        gap: 14px;
    }

    #footer .con .right ul li {
        font-size: 16px;
    }

    #footer .con .right ul li p {
        margin-bottom: 8px;
    }

    #footer .con .right ul li span {
        line-height: 150%;
    }

    .bottom-icon ul {
        gap: 15px;
    }

    /* body.sub .bottom-icon{
        bottom: calc(100% + 18px);
    } */
    body.sub #footer {
        padding-top: 177px;
    }
}

@media(max-width: 365px) {
    #header .logo img {
        width: 107px;
    }

    #header .main-logo .logo2 {
        width: 79px;
    }

    #header .login img {
        width: 21.5px;
    }

    #header .ham {
        height: 20.33px;
    }

    #header .ham span {
        width: 20px;
    }
}