#container{
    margin-top: 0;
    border-top: 0;
    /* position: relative;
    z-index: 1; */
}

#contents{
    padding-bottom: 0;
    min-height: 0;
}

.sub_content{
    width: auto !important;
    padding-top: 0 !important;
}

.scroll_wrap{
    width: 100%;
    display: none;
}

/* Page Layout */

.page-common {
    padding-top: 172px;
}

@media (max-width: 767px) {
    .page-common {
        padding-top: 50px;
    }

    /* 모바일에서 상단 title-section이 노출되는 페이지의 상단 패딩 */
    .page-mo-navi {
        padding-top: 140px;
    }
}

/* Header */
#header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 30px;
    padding-bottom: 0;
    z-index: 200;
}

#header .header-inner {
    position: relative;
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    background: rgba(255, 255, 255, 0.9);
    max-width: 1380px;
    margin: 0 auto;
}

#header .sub-navi .subject p,
#header .sub-navi .content-item p,
#header .main-navi .subject p,
#header .main-navi .content a,
#header .main-navi .content-item p {
    font-size: var(--h3-font-size);
}

#header .main-navi .content a {
    transition: background-color 0.3s;
    color: #000;
}

#header .main-navi .content a:hover {
    background-color: var(--blue-0);
}

#header .sub-navi .subject,
#header .main-navi .subject {
    display: flex;
    justify-content: center;
    height: 100%;
}

#header .sub-navi .subject p,
#header .main-navi .subject p,
#header .main-navi .subject > a {
    line-height: 35px;
}

#header .sub-navi .subject p{
    color: #000;
}

#header .main-navi .subject p,
#header .main-navi .subject > a {
    width: 100%;
}

#header .sub-navi {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

#header .sub-navi .logo-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .sub-navi .logo-wrap .logo {
    height: 33px;
}

#header .sub-navi .navi-list {
    position: relative;
    width: 230px;
    z-index: 1;
}

#header .sub-navi .navi-item {
    display: block;
    /* padding: 6px 0; */
    height: 35px;
    text-align: center;
    border-bottom: 1px solid var(--black);
}

#header .sub-navi .navi-item:last-child {
    border-bottom: 0;
}

#header .main-navi {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--black);
}

#header .main-navi .navi-item {
    position: relative;
    flex: 1;
    text-align: center;
}

#header .main-navi .navi-item .subject {
    height: 35px;
    cursor: pointer;
}

#header .main-navi .navi-item .content {
    display: none;
    position: absolute;
    /* left: -1px;
    right: -1px; */
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--black);
}

#header .main-navi .content-item {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid var(--black);
}

#header .logo-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .mobile-navi {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* justify-content: flex-end; */
}

#header .mobile-navi .user-menu{
    display: none;
}

@media (max-width: 767px){
    #header .mobile-navi {
        margin-bottom: 4px;
    }
}

#header .mobile-navi .btn-main-navi {
    position: relative;
    display: none;
    font-size: 15px;
    line-height: 39px;
    height: 39px;
    padding: 0 10px;
    z-index: 1;
    color: var(--black);
}

#header .mobile-navi .logo-wrap {
    display: none;
}

#header .mobile-navi .logo-wrap .logo {
    height: 19px;
    /* margin-top: -3px; */
}

@media (max-width: 767px) {
    #header {
        border: none;
        padding: 10px;
        padding-bottom: 0;
    }

    #header.opacity-1 .header-inner{
        background: rgba(255, 255, 255, 1);
    }  

    #header .header-inner {
        border: none;
        height: 100%;
        height: 40px;
    }

    #header .navi-wrap {
        display: none;
    }

    #header .sub-navi .subject p,
    #header .sub-navi .content-item p,
    #header .main-navi .subject p,
    #header .main-navi .content a,
    #header .main-navi .content-item p {
        font-size: var(--body-font-size);
    }

    #header .sub-navi .subject p.kr{
        color: var(--gray-cool-6);
        display: block !important;
    }

    #header .sub-navi .subject p.gray-sm-cool-6{
        color: var(--gray-cool-6);
    }

    #header .sub-navi .subject,
    #header .main-navi .subject {
        justify-content: start;
    }

    #header .sub-navi .subject p,
    #header .main-navi .subject p,
    #header .main-navi .subject > a {
        line-height: 20px;
    }

    #header .main-navi .subject p,
    #header .main-navi .subject > a {
        width: auto;
    }

    #header .main-navi .subject > a {
        pointer-events: none;
    }

    #header .sub-navi .subject .en,
    #header .main-navi .subject .en {
        margin-right: 4px;
    }

    #header .sub-navi .logo-wrap {
        display: none;
    }

    #header .sub-navi .navi-list {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    #header .sub-navi .navi-item {
        text-align: left;
        padding: 11px 0;
        height: auto;
    }

    #header .sub-navi .navi-item:last-child {
        border-bottom: 1px solid var(--black);
    }

    #header .main-navi .navi-item {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid var(--black);
        font-size: var(--body-font-size);
    }
    
    #header .main-navi .navi-item .subject {
        width: 100%;
        height: 100%;
        padding: 11px 0;
        text-align: left;
        pointer-events: none;
    }

    #header .main-navi .navi-item .subject .kr,
    #header .main-navi .navi-item .subject .en {
        display: inline-block !important;
        font-size: var(--body-font-size);
    }

    #header .main-navi .navi-item .subject .kr {
        color: var(--gray-cool-6);
    }

    #header .main-navi .navi-item .content {
        width: 50%;
        display: none;
        position: static;
        border: none;
    }

    #header .main-navi .content-item {
        padding: 11px 0;
    }

    #header .main-navi .content-item:last-child {
        border-bottom: 0;
    }

    #header .main-navi .navi-item.active .subject {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
    }

    #header .main-navi .navi-item.active .subject .en,
    #header .main-navi .navi-item.active .subject .kr {
        color: var(--blue-5);
    }

    #header .main-navi .navi-item.active .content {
        display: block;
    }

    #header .mobile-navi .btn-main-navi {
        display: flex;
        align-items: center;
    }

    #header .mobile-navi .btn-main-navi .close{
        filter: invert(100);
        display: none;
    }

    #header.active .mobile-navi .btn-main-navi img{
        display: none;
    }

    #header.active .mobile-navi .btn-main-navi .close{
        display: block;
        transform: translateX(-10px);
    }
    
    #header .mobile-navi .logo-wrap {
        display: flex;
    }

    #header .mobile-navi .user-menu {
        display: flex;
        position: relative;
        padding-right: 10px;
    }

    #header .mobile-navi .user-menu a{
        display: flex;
        align-items: center;
    }

    #header .mobile-navi .user-menu img{
        height: 18px;
        width: auto;
        margin-left: 14px;
    }

    #header .mobile-navi .user-menu .cart img{
        height: 20px;
    }

    .welcome-modal{
        display: none;
    }

    .body-index .welcome-modal{
        display: block;
    }

    #header .mobile-navi .user-menu .welcome-modal{
        position: absolute;
        width: 50px;
        top: calc(100% - 5px);
        left: -1px;
    }

    #header .mobile-navi .user-menu .welcome-modal img{
        margin: 0;
        width: 50px;
        height: auto;
    }

    #header.active {
        padding: 0;
        bottom: 0;
    }

    #header.active .header-inner {
        width: 100%;
        height: 100%;
        padding: 10px;
        background: rgba(255, 255, 255, 1);
    }

    #header.active .navi-wrap {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
}

#header .sub-navi .search-item .subject {
    cursor: pointer;
}

#header .sub-navi .search-item .search-bar-box {
    display: none;
}

#header .sub-navi .search-item.active .subject {
    display: none;
}

#header .sub-navi .search-item.active .search-bar-box {
    display: block;
}

#header .top_search legend {
    display: none;
}

#header .top_text_cont {
    position: relative;
}

#header .top_text_cont #search_form {
    width: 100%;
    height: 35px;
    line-height: 35px;
    background-color: transparent;
    padding: 0;
}

#header .top_text_cont #search_form::placeholder {
    color: var(--blue-1);
}

#header .top_text_cont .btn_top_search {
    display: none;
}

#header .search_cont {
    display: none !important;
}

#header .btn_top_search_close {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    background-image: url('../images/icon_header_search_delete.svg');
    background-size: 100%;
    background-repeat: no-repeat;
}

#header .btn_top_search {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: var(--body-font-size);
    line-height: var(--body-line-height);
    height: 36px;
    text-align: center;
    background-color: transparent;
    border: none;
    color: var(--blue-5);
}

@media (max-width: 767px) {
    #header .top_text_cont {
        display: flex;
        flex-wrap: wrap;
    }

    #header .top_text_cont #search_form {
        flex: 1;
        background-color: var(--gray-light-1);
        padding: 8px;
    }

    #header .top_text_cont #search_form::placeholder {
        text-align: center;
        text-transform: uppercase;
    }

    #header .search-bar-box {
        padding: 19px 0;
    }

    #header .top_text_cont .btn_top_search {
        width: 120px;
        display: block;
    }

    #header .btn_top_search_close {
        display: none;
    }
}

.search-modal {
    position: absolute;
    width: 100%;
    height: 700px;
    background-color: rgba(255, 255, 255, 0.9);
    overflow-x: hidden;
    overflow-y: auto;
}

.search-modal.active {
    display: block;
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
}

.search-modal .item_custom_type {
    padding: 30px;
}

.search-modal .item_custom_type .goods_list_item {
    width: 25%;
}

.search-modal.searching .custom-loader {
    opacity: 1;
}

.search-modal .no-data-wrap {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.custom-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(#0000 10%,#4986A0);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 0);
    animation: s3 1s infinite linear;
    opacity: 0;
    /* transition: opacity 0.3s; */
}
@keyframes s3 {to{transform: rotate(1turn)}}


@media(max-width: 767px) {
    .search-modal {
        top: 280px;
        left: 0;
        height: calc(100% - 280px);
        z-index: 100;
        padding: 0 10px;
        border-top: none;
        pointer-events: none;
        background-color: var(--white);
    }

    .search-modal.active {
        pointer-events: auto;
        border-top: none;
        border-bottom: none;
    }

    .search-modal .no-data-wrap {
        align-items: flex-start;
        padding-top: 20px;
    }

    .search-modal .item_custom_type {
        padding: 20px 0;
    }

    .custom-loader {
        top: 0;
        width: 48px;
        height: 48px;
        margin-top: 20px;
        margin-left: -24px;
    }
}


/* Footer */
/* #footer_wrap{
    z-index: -1;
} */

#footer .btn-footer-top{
    line-height: 1;
}

#footer .footer-inner {
    border-top: 1px solid var(--black);
    padding-top: 30px;
    padding-bottom: 30px;
    z-index: -1;
}

#footer .footer-inner .info,
#footer .footer-inner .info li,
#footer .footer-inner .info a {
    font-size: var(--body-font-size);
    line-height: var(--body-line-height);
    color: var(--gray-cool-6);
}

#footer .footer-inner .line {
    color: var(--gray-cool-4);
    margin: 0 8px;
}

#footer .brand {
    font-size: var(--h3-font-size);
    line-height: var(--h3-line-height);
    color: var(--gray-cool-6);
}

#footer .info-company {
    margin-top: 22px;
}

#footer .info-term {
    margin-top: 30px;
}

#footer .info-service p,
#footer .info-service a {
    font-size: var(--body-font-size);
    line-height: var(--body-line-height);
    color: var(--gray-cool-6);
}

#footer .info-service .title {
    font-weight: 700;
    margin-bottom: 20px;
}

#footer .info-service .content {
    padding-right: 10px;
}

#footer .info-service .link {
    text-decoration: underline !important;
    color: var(--gray-cool-6);
}

#footer .info-service .community{
    display: flex;
    flex-direction: column;
}

#footer .info-service .sns{
    display: flex;
    margin-top: auto;
}

#footer .info-service .sns > a{
    width: 1.4rem;
    margin-right: 0.8rem;
}

#footer .info-service .sns > a img{
    width: 100%;
}

@media (max-width: 767px) {

    #footer .info-service .sns{
        margin-top: 20px;
    }

    #footer .brand {
        font-size: var(--body-font-size);
        line-height: var(--body-line-height);
        font-weight: 500;
    }

    #footer .info-company {
        margin-bottom: 18px;
    }
    
    #footer .info-service,
    #footer .info-term {
        margin-top: 20px;
    }

    #footer .info-service {
        position: relative;
        flex-direction: column;
    }

    #footer .info-service .business {
        position: absolute;
        top: 0;
        left: 50%;
    }

    #footer .info-service .community {
        padding-top: 20px;
    }

    #footer .info-service .title {
        margin-bottom: 0;
    }
}

/* 검색 화면 */
.sub_search_box {
    display: none !important;
}

/* 목록 더보기 버튼 */
.more_btn {
    width: auto !important;
    background-color: #F0F0F0 !important;
    border: 0 !important;
    font-size: var(--caption-font-size);
    padding: 20px 82px;
    margin-top: 120px;
}

@media (max-width: 767px) {
    .more_btn {
        width: 100% !important;
        text-align: center;
    }
}

/* 띠배너 top banner */
.top_banner{
    width: 100%;
    top: 0;
    left: 0;
    height: 35px;
    background-color: #e6e6e6;
    color: #000;
    z-index: 201;
    position: fixed;
    display: flex;
    display: none;
    align-items: center;
    justify-content: center;
}

.top_banner *{
    color: #000;
    font-size: var(--body-font-size);
    font-weight: normal;
}

.top_banner a{
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_banner .close_btn{
    position: absolute;
    right: 30px;
    cursor: pointer;
    filter: invert(100);
}

body.with_top_banner{
    margin-top: 35px;
}

#header.with_top_banner{
    margin-top: 35px;
}

@media (max-width: 767px) {
    .top_banner{
        height: 30px;
    }

    .top_banner .close_btn{
        right: 10px;
    }

    body.with_top_banner{
        margin-top: 30px;
    }

    #header.with_top_banner{
        margin-top: 30px;
    }

    body.with_top_banner .title-section{
        top: 80px;
    }
    
    body.with_top_banner .page-common .mo-page-header > div{
        top: 79px;
    }

    body.with_top_banner .common-menu{
        top: 150px;
    }
}

/* 스크롤 다운 버튼 - 홈화면, 구독 메인 페이지 */
@keyframes bounce{
    0% { transform: translateY(0); }
    /* 20%{ transform: translateY(-20px); }
    30%{ transform: translateY(0); } */
    50%{ transform: translateY(15px); }
    /* 70%{ transform: translateY(-15px);}
    80% { transform: translateY(0); } */
    100%{ transform: translateY(0); }
}

@media (max-width: 767px){
    @keyframes bounce{
        0% { transform: translateY(0); }
        50%{ transform: translateY(-10px); }
        100%{ transform: translateY(0); }
    }
}

.btn-move-down {
    position: absolute;
    bottom: 30px;
    width: 50px;
    height: 50px;
    left: 50%;
    margin-left: -25px;
    background-image: url('../images/icon_index_move_down.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 10;
    -moz-animation: bounce 1s infinite;
    -webkit-animation: bounce 1s infinite;
    animation: bounce 1s infinite;
}

#kakao-talk-channel-chat-button{
    position: fixed;
    z-index: 10;
    overflow: visible;
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    background: transparent;
    bottom: 30px;
    right: 30px;
}