@charset "utf-8";

header {position: sticky; top: 0; width: 100%; height: 80px; z-index: 99999; background-color: #fff; border-bottom: 1px solid var(--color-border);}
header .inner {height: 100%; display: flex; align-items: center; justify-content: space-between;}
header .logo {position: relative; z-index: 1; font-size: 24px; font-weight: 800; color: var(--color-primary);}
header .nav {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; display: flex; justify-content: center; align-items: center; column-gap: 60px;}
header .nav a {font-size: 18px; font-weight: 500; word-break: keep-all; transition: all 0.3s;}
header .nav a.active,
header .nav a:hover {color: var(--color-primary);}
header .nav a:nth-of-type(1) {color: var(--color-primary);}
header .kakao-btn {position: relative; z-index: 1; display: flex; column-gap: 4px; padding: 8px 10px; border-radius: 60px; background: linear-gradient(135deg, #FFE45C 0%, #FFD43B 50%, #FFDC72 100%); font-weight: 600; font-size: 12px; color: var(--color-text-main);}

header .mo-nav {display: none; align-items: center;}
header .mo-nav a {width: calc(100% / 4); height: 48px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--color-border); transition: all 0.3s; word-break: keep-all;}
header .mo-nav a.active,
header .mo-nav a:hover {color: var(--color-primary); border-bottom: 1px solid var(--color-primary);}

footer {padding: 70px 0; background-color: var(--color-bg);}
footer .logo {display: block; color: var(--color-primary); font-size: 24px; font-weight: 700; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--color-border);}
footer .footer-info {display: flex; flex-direction: column; row-gap: 20px;}
footer .footer-info ul {width: 100%; max-width: 650px; display: flex; flex-wrap: wrap; column-gap: 33px; row-gap: 8px;}
footer .footer-info ul li {position: relative; color: var(--color-text-gray);}
footer .footer-info ul li:not(:nth-of-type(2n))::after {position: absolute; width: 1px; height: 14px; top: 50%; right: -16px; transform: translateY(-50%); background-color: var(--color-text-lightgray); display: block; content: '';}
footer .footer-info p:not(.copyright) {font-size: 14px; line-height: 1.8;}
footer .footer-info p:not(.copyright) b {display: block; font-size: 16px; font-weight: 600;}
footer .footer-info p.copyright {font-size: 14px; color: var(--color-text-gray);}
footer .footer-info p .mo-br {display: none;}


/* 반응형 */
@media screen and (max-width: 1520px) {
    
}
@media screen and (max-width: 1440px) {
    
}
@media screen and (max-width: 1280px) {
    header .nav {column-gap: 40px;}
}
@media screen and (max-width: 1024px) {
    header .nav a {font-size: 16px;}
}
@media screen and (max-width: 768px) {
    header {height: auto; border-bottom: 0;}
    header .inner {height: 64px;}
    header .nav {display: none;}
    header .mo-nav {display: flex;}
}
@media screen and (max-width: 600px) {
    
}
@media screen and (max-width: 500px) {
    
    header .inner {height: 58px;}
    header .mo-nav a {height: 40px; font-size: 14px;}
    
    footer {padding: 60px 0;}
    footer .logo {font-size: 20px;}
    footer .footer-info p .mo-br {display: block;}
    footer .footer-info ul {flex-direction: column; row-gap: 6px;}
    footer .footer-info ul li,
    footer .footer-info p:not(.copyright) b {font-size: 15px;}
    footer .footer-info ul li::after {display: none !important;}
    footer .footer-info p:not(.copyright),
    footer .footer-info p.copyright {font-size: 12px;}
}
@media screen and (max-width: 375px) {
    header .mo-nav a {font-size: 12px;}
}

/*********/
/*********/
/*********/
/*********/
/*********/
/*********/
/*********/
/*********/