

/* ==========================================================
   header
========================================================== */


header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}
header .header_wrap {
    display: flex;
    align-items: center;
    max-width: 171rem;
    padding: 0 4rem;
    height: 7.2rem;
    margin: 0 auto;
    transition: 0.35s;
}
@media (max-width: 480px){
    header .header_wrap{
        padding: 0 2rem;
    }
}
header .logo {
    width: 14.9rem;
    height: 2.4rem;
    transition: 0.35s;
    background: url(../image/logo_b.svg) no-repeat left center;
    background-size: 14.9rem 2.4rem;
    transition: all 0.3s ease-in-out;
}
.is_sub header .logo {
    background-image: url(../image/logo_w.svg);
}
header .logo a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 100%;
    width: 100%;
}

header .menu {
    display: flex;
    align-items: center;
    margin-left: 6rem;
    height: 100%;
}
header .menu .gnb_depth1 {
    display: flex;
    height: 100%;
    gap: 4rem;
}

header .menu .gnb_depth1 li {
    height: 100%;
    position: relative;
}
header .menu .gnb_depth1 li a {
    font-size: 1.5rem;
    font-weight: 700;
    height: 100%;
    display: flex;
    align-items: center;
    transition: 0.35s;
    position: relative;
    white-space: nowrap;
}
header .menu .gnb_depth1 li a.header_link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
header .menu .gnb_depth1 li a.header_link::after {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    background: url('../image/icon_blank.svg') no-repeat center/contain;
}
.is_sub header .menu .gnb_depth1 li a.header_link::after {
    background-image: url('../image/icon_blank_w.svg')
}
.is_sub header.scroll_on .menu .gnb_depth1 li a.header_link::after {
    background-image: url('../image/icon_blank.svg')
}






header .menu .gnb_depth1 .depth2_list {
    display: none;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding: 2rem;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
    background: #FFF;
    border-radius: 0.8rem;
    border: 1px solid var(--line-color);
}

header .menu .gnb_depth1 .depth2_list li {
    height: auto;
    width: 100%;
    text-align: center;
}
header .menu .gnb_depth1 .depth2_list li a {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--black-color);
    height: auto;
    display: inline-block;
    transition: none;
}
.is_sub header .menu .gnb_depth1 .depth2_list li a {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--black-color);
    height: auto;
    display: inline-block;
    transition: none;
}

header .menu .gnb_depth1 .depth2_list li a:hover {
    color: var(--main-color);
    transition: none;
}

header .menu .gnb_depth1 li.hover .depth2_list {
    display: flex;
}

header .right_menu {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 4rem;
}
header .right_menu .payment_history_btn {
    color: #666;
    font-size: 1.5rem;
    font-weight: 400;
    transition: 0.35s;
}
header .right_menu .full_menu {
    width: 5rem;
    height: 5rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    cursor: pointer;
}
header .right_menu .full_menu span {
    width: 2rem;
    height: 2px;
    background-color: #000;
}

/* 스크롤 시 헤더 축소 */
header.scroll_on .header_wrap { height: 5rem; }
header.scroll_on .logo { 
    background-size: 12.4rem 2rem; 

}

header .header_bg {
    display: none; 
}

/* ─── 태블릿 반응형 ─── */
@media (max-width: 1024px) {
    header .menu { display: none; }
    header .right_menu { gap: 2rem; }
    header .right_menu .full_menu { display: flex; }
}

/* ─── 모바일 반응형 ─── */
@media (max-width: 480px) {
    header .right_menu .payment_history_btn { display: none; }
}


.is_sub header {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.is_sub header.scroll_on {
    background: #FFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.is_sub header.scroll_on .logo{
    background-image: url('../image/logo_b.svg');
    background-size: 12.4rem 2rem;
    width: 14.9rem;
}


.is_sub header .menu .gnb_depth1 li a{
    color: #FFF;
}
.is_sub header .right_menu .payment_history_btn{
    color: #FFF;
}
.is_sub header .right_menu .full_menu span {
    background-color: #FFF;
}

.is_sub header.scroll_on .menu .gnb_depth1 li a{
    color: var(--black-color);
}
.is_sub header.scroll_on .right_menu .payment_history_btn{
    color: var(--black-color);
}
.is_sub header.scroll_on .right_menu .full_menu span {
    background-color: var(--black-color);
}

/* ==========================================================
   fulldown (모바일 전체 메뉴)
========================================================== */
html.scroll_lock,
body.scroll_lock {
    overflow: hidden !important;
}


.fulldown {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s ease-out;
    visibility: hidden;
}

@media (min-width: 1024px) {
    .fulldown { display: none; }
}
.fulldown .header_wrap {
    height: 7.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #fff;
    padding: 0 0.6rem 0 2rem;
}
.fulldown .header_wrap .logo { width: 10rem; }

.fulldown .scroll_area {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 2rem;
}
.fulldown .bottom_area {
    flex-shrink: 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
}
.fulldown .bottom_area .payment_history_btn {
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    display: flex;
    padding: 2rem;
    justify-content: space-between;
    align-items: center;
    margin: 0 2rem;
    border-radius: 1.6rem;
    background: var(--buttonBg, var(--buttonBg-color));
}
.fulldown .bottom_area .payment_history_btn svg {
    width: 1.2rem;
    height: 2.1rem;
}

/* sitemap */
.sitemap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 128rem;
    margin: 0 2rem;
}
.sitemap .cate h3 {
    font-size: 2.4rem;
    font-weight: 700;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sitemap .cate_list {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    transition: max-height 0.3s ease-out;
}
.sitemap .cate.on .cate_list {
    max-height: 80rem;
}
.sitemap .cate h3 img {
  transition: transform 0.3s;
}
.sitemap .cate.on h3 img {
    transform: rotate(180deg);
}




.sitemap .cate .cate_list .list_item {
    font-size: 1.8rem;
    font-weight: 500;
    transition: color 0.2s ease-out;
    padding: 1.4rem 0;
}
.sitemap .cate .cate_list .list_item a{
    display: block;
    width: 100%;
}

.fulldown.is_open { 
    right: 0;
    visibility: visible;
}

.fulldown .btn_close {
    width: 5rem;
    height: 5rem;
}
.fulldown .btn_close svg {
    width: 1.6rem;
    height: 1.6rem;
}


/* ==========================================================
   common
========================================================== */
.contain_wrap {
    width: var(--pc-width);
    max-width: 132rem;
    margin: 0 auto;
}
#wrap { padding-top: 9.2rem; }

@media (max-width: 480px) {
    .contain_wrap { width: var(--mo-width); }
}
/* END - common */



/* ==========================================================
   footer
========================================================== */
footer {
    background: var(--black-color);
    color: #fff;
    padding: 10rem 0;
    margin: 24rem 1rem 0;
    border-radius: 1.6rem 1.6rem 0 0;
}

footer .footer_wrap {
    max-width: 171rem;
    padding: 0 4rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
footer .logo {
    display: flex;
    width: 100%;
    margin-bottom: 7rem;
}
footer .logo img { width: 14.9rem; }

footer .footer_info {
    max-width: 94rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-weight: 400;
    line-height: 1.6;
}
footer .footer_info .info {
    width: 100%;
    color: #FFF;
    font-weight: 400;
    font-size: 1.5rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
}
footer .footer_info .customer{
    display: flex;
    gap: 2rem;
}
footer .footer_info .tel,
footer .footer_info .time {
    font-size: 1.7rem;
}


footer .footer_info .info img{
    width: 4.8rem;
    height: auto;
    flex-shrink: 0;
}
@media (max-width: 620px){
    footer .footer_info .info{
        flex-direction: column;
        align-items: flex-start;
    }
    footer .footer_info .info img{
        width: 8rem;
    }
}
@media (max-width: 768px){
    footer .footer_info .customer{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}
footer .footer_info .addr {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}
footer .footer_info .addr span{
    display: inline-flex;
    align-items: center;
    color: var(--light-grey-color);
    font-weight: 400;
    font-size: 1.5rem;
    margin-right: 1rem;
    gap: 0;
}


footer .footer_info .addr span::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
}
footer .footer_info .addr span:last-of-type::after {
    display: none;
}
@media (max-width: 480px){
    footer .footer_info .addr span{
        display: block;
    }
    footer .footer_info .info{
        margin-bottom: 2rem;
    }
    footer .footer_info .addr span::after {
        display: none;
    }
    footer .footer_info .addr{
        flex-direction: column;
        gap: 0.4rem;
        line-height: 1.2;
    }
}


footer .footer_etc { margin-left: auto; }
footer .footer_etc ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
footer .footer_etc ul li a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}
footer .footer_etc ul li a:hover {
    text-decoration: underline;
}
footer .footer_etc ul li.point a { 
    color: var(--placeholder); 
}

footer .copyright {
    color: var(--grey-color);
    width: 100%;
    font-size: 1.5rem;
    margin-top: 2rem;
}
@media (max-width: 768px){
    footer .copyright{
        border-bottom: 0;
        padding-bottom: 0;
    }
    footer{
        padding: 10rem 0 15rem;
    }
}

@media (max-width: 1280px) {
    footer .footer_wrap { 
        padding: 0 2.5rem;
        flex-direction: column;
    }
    footer .footer_etc{
        margin-left: unset;
    }
    footer .footer_info{
        margin-bottom: 3rem;
    }
    footer .footer_etc ul {
        flex-direction: row;
        gap: 2rem;
    }
}




@media (max-width: 480px) {
    footer {
        margin: 24rem 0 0;
    }
    footer .footer_etc ul {
        flex-direction: column;
    }
    footer .footer_info{
        flex-direction: column;
        gap: 0;
    }
    footer .footer_info .time{
        margin-bottom: 3rem;
    }
}
/* END - footer */




.contain_inner{
    width: var(--pc-width);
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width:480px) {
    .contain_inner{
        width: var(--mo-width);
    }
}

.btn_wrap{
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8rem;
}
.btn_primary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--buttonBg-color);
    color: var(--main-color);
    font-size: 1.7rem;
    padding: 2rem 4rem;
    border-radius: 2rem;
    font-weight: 700;
    transition: background 0.1s, color 0.1s;
}
.btn_primary:hover {
    background: var(--main-color);
    color: #FFF;
}
.btn_primary.is_active {
    background: var(--main-color);
    color: #FFF;
}
.btn_primary:disabled {
    background: var(--buttonBg-color);
    color: var(--placeholder);
}
.btn_primary.others {
    background: #FFF;
    color: var(--black-color);
    border: 1px solid var(--line-color);
}
.btn_primary.others:hover {
    background: var(--buttonBg-color);
}
.btn_primary.insert_icon {
    gap: 2rem;
}
.btn_primary.insert_icon svg {
    width: 2.3rem;
    height: 1.6rem;
}
.btn_primary.insert_icon svg use{
    stroke: var(--main-color);
}
.btn_primary:hover.insert_icon svg use{
    stroke: #FFF;
}
.btn_primary:disabled.insert_icon svg use{
    stroke: var(--placeholder);
}







.overlay{
    width: 54rem;
    max-height: 70rem;
    min-height: 20rem;
    border-radius: 1.6rem;
    background: #FFF;
    z-index: 102;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 0 2rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.overlay.is_active{
    opacity: 1;
    visibility: visible;
}
@media (max-width: 640px){
    .overlay{
        width: 100%;
        top: unset;
        left: 0;
        bottom: -100%;
        max-height: 70vh;
        transform: translate(0, 0);
        border-radius: 1.6rem 1.6rem 0 0;
    }
    .overlay.is_active{
        bottom: 0;
    }
}

.overlay_header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 2rem;
    background: #FFF;
    flex-shrink: 0;
}
.overlay_body{
    overflow-y: auto;
    flex: 1;
    padding: 1rem 2rem 3rem;
    font-size: 1.4rem;
    line-height: 1.6;
}
.overlay_body p{
    margin-bottom: 1.4rem;
}

.overlay .title{
    flex: 1;
    width: 100%;
    font-size: 2rem;
    font-weight: 700;
}

.overlay .btn_close{
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
}
.overlay .btn_close svg {
    width: 1.6rem;
    height: 1.6rem;
}
.dim{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.dim.is_active{
    opacity: 1;
    visibility: visible;
}

.no_data{
    margin: 15rem 0;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}
.no_data.is_active{
    display: flex;
}
.img_no_data{
    width: 10rem;
}
.no_data .title{
    font-size: 2rem;
    color: var(--grey-color);
    text-align: center;
}


.footer_cate{
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
    margin: 5rem auto 0;
    border-top: 1px solid var(--grey-color);
    padding-top: 3rem;
}
.footer_cate a{
    font-size: 1.7rem;
    font-weight: 500;
    color: #FFF;
}
@media (max-width: 768px){
    .footer_cate{
        display: none;
    }    
}




