:root {
    --footer-bg-color: #fff;
    --footer-logo-size: var(--gnb-logo-size);
    --footer-padding: 60px 0 80px;
}

#footerBasic {
    background-color: var(--footer-bg-color);
    border-top: 1px solid #e5e5e5;
}

#footerBasic .container {
    padding: var(--footer-padding);
}

#footerBasic .footer-logo {
    width: var(--footer-logo-size);
}

#footerBasic .footer-nav {
    display: flex;
    align-items: center;
    column-gap: 35px;
    margin: 30px 0 25px;
}

#footerBasic .footer-nav li a {
    font-size: var(--f16);
    font-weight: 600;
}

#footerBasic .footer-contents {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#footerBasic .footer-info span {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.01em;
    color: var(--color-mute);
}

#footerBasic .footer-info span~span::before {
    content: '|';
    margin: 0 8px;
}

#footerBasic .copyright {
    margin-top: 35px;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-mute);
}

#footerBasic .copyright a {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

#footerBasic .footer-sns {
    display: flex;
    column-gap: 12px;
}

#footerBasic .footer-sns a {
    width: 35px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #999;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.family-site {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin-top: 25px;
}

.family-site .family-toggle {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--color-text);
    height: 50px;
    padding: 0 20px;
    border-radius: 50px;
}

.family-site .family-toggle p {
    font-size: 16px;
    font-weight: 500;
}

.family-site .family-toggle .controller {
    width: 12px;
    height: 12px;
    position: relative;
}

.family-site .family-toggle .controller::before,
.family-site .family-toggle .controller::after {
    content: "";
    position: absolute;
    background-color: var(--color-text);
    transition: transform 0.3s ease-out;
    will-change: transform;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.family-site .family-toggle .controller::before {
    width: 1px;
    height: 100%;
}

.family-site .family-toggle .controller::after {
    width: 100%;
    height: 1px;
}

.family-site .family-toggle.active .controller::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.family-site .family-toggle.active .controller::after {
    transform: translate(-50%, -50%) rotate(180deg);
}

.family-site .link-list {
    display: none;
    padding: 20px 25px;
    background-color: #fff;
    border: 1px solid var(--color-text);
    border-radius: 20px;
    width: inherit;
    position: absolute;
    top: 1px;
    transform: translateY(-100%);
    z-index: 2;
    max-height: 250px;
    overflow: hidden;
    overflow-y: auto;
}

.family-site .link-list::-webkit-scrollbar {
    width: 5px;
}

.family-site .link-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 40px;
}

.family-site .link-list li~li {
    margin-top: 12px;
}

.family-site .link-list li a {
    font-size: 0.85em;
}

.family-site .link-list li a::after {
    content: '';
    display: inline-block;
    margin-left: 4px;
    width: 12px;
    height: auto;
    aspect-ratio: 1/1;
    background-image: url(/assets/images/public/icon_link.svg);
}

/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {}

/* Laptop ( 1024px ~ 1440px)*/
@media all and (min-width: 1024px) and (max-width: 1440px) {}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {
    #footerBasic .footer-contents {flex-direction: column; gap: 40px 0;}
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
    #footerBasic .footer-contents {flex-direction: column; gap: 40px 0;}
    #footerBasic .footer-info span, .family-site .family-toggle p, .family-site .link-list li a {font-size: clamp(12px, 4vw, 16px);}
    #footerBasic .footer-info span.address {width: 100%;}
    #footerBasic .footer-info span.tel:before {margin-left: 0;}
}

@media all and (max-width: 480px) {
    #footerBasic .footer-nav {gap: 0 clamp(10px, 3vw, 20px);}
    #footerBasic .footer-nav li a {font-size: clamp(12px, 4vw, 16px);}
    #footerBasic .copyright {font-size: 12px;}
}