/* BASIC css start */
/* === Footer °øÅë ½ºÅ¸ÀÏ === */
.site-footer {
    border-top: 1px solid #EDEDED;
    padding: 30px 16px;
    font-size: 12px;
    color: var(--color-text-body);
    background-color: #fff;
    line-height: 18px;
    margin-top: 60px;
}

/* Á¦¸ñ ½ºÅ¸ÀÏ (°í°´¼¾ÅÍ, °èÁÂÁ¤º¸ µî) */
.site-footer h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: 6px;
    line-height: 18px;
}

/* °­Á¶ ÅØ½ºÆ® */
.cs-center .phone {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-heading);
}

.cs-center .desc,
.bank-info p {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-body);
    margin-top: 4px;
}

/* === ¸ð¹ÙÀÏ (Mobile) ½ºÅ¸ÀÏ === */
/* Flexbox·Î ¼öÁ÷ Á¤·Ä ¹× ¼ø¼­ º¯°æ */
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ±¸Á¶ ±ú±â: display contents¸¦ »ç¿ëÇÏ¿© col-left/right¶ó´Â ºÎ¸ðÀÇ Á¦¾àÀ» ¹þ¾î³ª ÀÚ½ÄµéÀ» Àç¹èÄ¡ */
.col-left,
.col-right {
    display: contents;
}

/* ¼ø¼­ Àç¹èÄ¡ (order ¼Ó¼º »ç¿ë) */
/* 1. ¸Þ´º (Nav) */
.footer-nav {
    order: 1;
    display: flex;
    gap: 20px;
}

@media (max-width: 400px) {
    .footer-nav {
        display: flex;
        justify-content: space-between;
        gap: 0;
    }
}

.footer-nav li {}

.footer-nav li a {
    color: var(--color-text-body);
    font-size: 13px;
    font-weight: 400;
}

/* 2. °í°´¼¾ÅÍ */
.cs-center {
    order: 2;
}

/* 3. °èÁÂÁ¤º¸ */
.bank-info {
    order: 3;
}

/* 4. »ç¾÷ÀÚÁ¤º¸ (¸Ç ¾Æ·¡) */
.biz-info {
    order: 4;
    margin-top: 10px;
}

/* ¸ð¹ÙÀÏ ·Î°í ¼û±è */
.footer-logo {
    display: none;
} 

/* »ç¾÷ÀÚ Á¤º¸ Åä±Û ½ºÅ¸ÀÏ (¸ð¹ÙÀÏ µðÀÚÀÎ) */
.biz-toggle-title {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-bottom: 2px;
}

.biz-toggle-title .arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(225deg);
    margin-left: 8px;
    margin-bottom: -3px;
    transition: transform 0.3s;
}

.biz-toggle-title.active .arrow {
    transform: rotate(45deg);
    margin-bottom: 3px;
}

.biz-content p {
    margin-bottom: 4px;
    word-break: keep-all;
    color: var(--color-text-body);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.biz-content p a {
    word-break: keep-all;
    color: var(--color-text-body);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.biz-content .copyright {
    margin-top: 4px;
    color: var(--color-text-light);
}


/* === PC (Desktop) ½ºÅ¸ÀÏ: 1024px ÀÌ»ó === */
@media (min-width: 1024px) {

    .site-footer {
        padding: 40px 0 60px;
    }

    .footer-inner {
        flex-direction: row; 
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
        padding: 0 var(--layout-side-padding);
        max-width: calc(var(--layout-max-width) + (var(--layout-side-padding) * 2));
        width: 100%;
        margin: 0 auto;
    }

    /* display: contents ÇØÁ¦ÇÏ°í ´Ù½Ã ºí·Ï ÇüÅÂ·Î Àâ±â */
    .col-left {
        display: block;
        width: 65%;
    }

    .col-right {
        display: flex;
        width: 35%;
        gap: 100px;
        justify-content: flex-end;
    }

    /* ¼ø¼­ ¹× ¹èÄ¡ ¸®¼Â */
    .footer-nav,
    .cs-center,
    .bank-info,
    .biz-info {
        order: 0;
    }

    /* 1. ·Î°í ³ëÃâ */
    .footer-logo {
        font-size: 25px;
        color: var(--color-text-heading);
        display: block;
        margin-bottom: 20px;
    }

    .footer-logo img {
        max-height: 80px;
        display: block;
    }

    /* 2. ¸Þ´º ½ºÅ¸ÀÏ º¯°æ */
    .footer-nav {
        margin-bottom: 20px;
        gap: 32px;
        line-height: 20px;
    }

    /* 3. »ç¾÷ÀÚ Á¤º¸ ½ºÅ¸ÀÏ */
    .biz-info {
        margin-top: 0;
    }

    .biz-toggle-title { 
        display: none;
    }

    .biz-content {
        display: block;
    }

    .biz-content p {
        display: inline-block;
        margin-bottom: 5px;
        line-height: 18px;
        float: left;
    }

    .biz-content p::after {
        content: "";
        display: inline-block;
        margin-left: 10px;
    }

    .biz-content .copyright {
        display: block;
        margin-top: 5px;
    }

    .biz-content p:nth-child(3) {
        clear: left;
    }

    /* 4. °í°´¼¾ÅÍ & °èÁÂÁ¤º¸ */
    .cs-center,
    .bank-info {
        margin-top: 0;
    }

    .site-footer h3 {
        margin-bottom: 10px;
    }

    .cs-center .phone {
        font-size: 14px;
        line-height: 20px;
    }
} 
/* BASIC css end */

