/* ========================================
   FOOTER - BASE
======================================== */
#footer {position: relative; width: 100%;}
#footer .footer-inner {width: calc(100% - 40px); max-width: 1640px; margin: 0 auto; padding: 60px 0; border-top: 1px solid #ddd; display: flex; justify-content: space-between; align-items: flex-start; gap: 50px; box-sizing: border-box;}
#footer .footer-inner * {font-family: 'Pretendard' !important;}
#footer .footer-left {flex: 1 1 auto; min-width: 0;}
#footer .footer-brand {display: flex; align-items: center; margin-bottom: 40px;}
#footer .footer-logo {display: flex; align-items: center; flex-shrink: 0;}
#footer .footer-logo img {display: block; width: auto; max-width: 135px; height: auto;}
#footer .footer-slogan {position: relative; margin-left: 40px; padding-left: 40px;}
#footer .footer-slogan::before {content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 64px; background: #ddd; transform: translateY(-50%);}
#footer .footer-slogan p {margin: 0 0 5px; color: #444; font-size: 16px; font-weight: 500; line-height: 1.45; word-break: keep-all;}
#footer .footer-slogan strong {display: block; color: #000; font-size: 16px; font-weight: 700; line-height: 1.45; word-break: keep-all;}
#footer .footer-info {color: #666; font-size: 16px; font-weight: 500;}
#footer .footer-info-row {display: flex; align-items: center; min-height: 28px; margin-top: 5px;}
#footer .footer-info-row:first-child {margin-top: 0;}
#footer .footer-info-title {width: 67px; flex-shrink: 0; color: #666; font-size: 16px; font-weight: 500;}
#footer .footer-info-row p {margin: 0; color: #666; font-size: 16px; font-weight: 500; line-height: 1.6;}
#footer .footer-info-row p strong {color: #666; font-weight: 600;}
#footer .footer-info-line {display: block; width: 1px; height: 13px; margin: 0 25px; background: #ddd; flex-shrink: 0;}
#footer .footer-email-title {width: auto; margin-right: 27px;}

#footer .footer-right {width: 720px; flex: 0 0 720px;}
#footer .footer-menu {display: flex; align-items: stretch; gap: 6px; justify-content: flex-end;}
#footer .footer-menu > a, #footer .footer-family-btn {height: 50px; border: 1px solid #ddd; color: #666; font-size: 16px; font-weight: 500; text-decoration: none; box-sizing: border-box;}
#footer .footer-menu > a {width: 194px; flex: 0 0 194px; display: flex; align-items: center; justify-content: center; text-align: center; background: #f0f0f0; transition: background .2s ease, color .2s ease; border-radius: 5px;}
#footer .footer-menu > a:hover {background: #284a94; color: #fff;}

#footer .footer-family {position: relative; flex: 0 0 230px; min-width: 230px;}
#footer .footer-family-btn {position: relative; width: 100%; padding: 0 52px 0 25px; display: flex; align-items: center; justify-content: flex-start; background: #fff; cursor: pointer; text-align: left; border-radius: 2px; transition: background .2s ease, color .2s ease;}
#footer .footer-family-btn:hover {background: #fafafa; color: #444;}
#footer .footer-family-btn i {position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-top: 3px solid #000; border-left: 3px solid #000; transform: translateY(-30%) rotate(45deg); transition: transform .25s ease; box-sizing: border-box;}
#footer .footer-family.open .footer-family-btn i {transform: translateY(-70%) rotate(225deg);}
#footer .footer-family-list {display: none; position: absolute; left: 0; right: 0; bottom: calc(100% + 5px); z-index: 20; border: 1px solid #ddd; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.08);}
#footer .footer-family-list a {display: block; padding: 13px 18px; border-bottom: 1px solid #eee; color: #666; font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background .2s ease, color .2s ease;}
#footer .footer-family-list a:last-child {border-bottom: 0;}
#footer .footer-family-list a:hover {background: #f5f5f5; color: #222;}

#footer .footer-copy {margin-top: 50px; text-align: right;}
#footer .footer-copy p {margin: 0; color: #777; font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: 0.7px;}

#top {position: fixed; right: 30px; bottom: 30px; z-index: 9999; display: block; width: 56px; height: 56px; border-radius: 50%; background: #284a94; box-shadow: 0 4px 15px rgba(0,0,0,.15); cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;}
#top.show {opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);}
#top:hover {background: #072158;}
#top span {position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translate(-50%, -30%) rotate(45deg); box-sizing: border-box;}


@media (max-width: 1480px) {
	#footer .footer-inner {width: 100%; padding-left: 20px; padding-right: 20px;}
    #footer .footer-right {width: 550px; flex: 0 0 550px;}
}
@media (max-width: 1300px) {
	#footer .footer-menu > a {width: 150px; flex: 0 0 150px;}
    #footer .footer-family {width: 200px; flex: 0 0 200px;}
    #footer .footer-logo img {width: 280px;}
    #footer .footer-slogan {margin-left: 10px; padding-left: 20px;}
    #footer .footer-slogan::before {height: 50px;}
}
@media (max-width: 1200px) {
	#footer .footer-inner {display: block; padding: 45px 20px;}
	#footer .footer-left, #footer .footer-right {width: 100%;}
	#footer .footer-right {width: 100%; flex: none; margin-top: 40px;}
	#footer .footer-menu {width: 720px; max-width: 100%; justify-content: flex-start;}
	#footer .footer-menu > a {width: 194px; flex: 0 0 194px;}
	#footer .footer-copy {width: 720px; max-width: 100%; margin-top: 40px;}
    #footer .footer-copy p {text-align: left;}
    #footer .footer-copy p br {display: none;}
    #footer .footer-brand {margin-bottom: 30px;}
    #footer .footer-right {margin-top: 30px;}
}
@media (max-width: 1024px) {
	#footer .footer-inner {padding-top: 35px; padding-bottom: 35px;}
	#footer .footer-slogan {margin-left: 25px; padding-left: 25px;}
	#footer .footer-brand {margin-bottom: 28px;}
	#footer .footer-right {margin-top: 32px;}
	#footer .footer-copy {margin-top: 18px;}
}
@media (max-width: 768px) {
	#footer .footer-inner {padding-top: 30px; padding-bottom: 30px;}
	#footer .footer-brand {display: block; margin-bottom: 25px;}
	#footer .footer-logo img {max-width: 100%; width: auto; max-height: 55px;}
	#footer .footer-slogan {margin: 20px 0 0; padding: 18px 0 0;}
	#footer .footer-slogan::before {display: none;}
	#footer .footer-slogan p, #footer .footer-slogan strong {font-size: 15px;}
	#footer .footer-info {font-size: 15px;}
	#footer .footer-info-row {align-items: flex-start; flex-wrap: wrap; min-height: 0; margin-top: 10px;}
	#footer .footer-info-title {width: 55px; font-size: 15px; line-height: 1.6;}
	#footer .footer-info-row p {width: calc(100% - 55px); font-size: 15px; line-height: 1.6;}
	#footer .footer-info-line {display: none;}
	#footer .footer-email-title {width: 55px; margin: 8px 0 0;}
	#footer .footer-info-row .footer-email-title + p {margin-top: 8px;}
	#footer .footer-right {margin-top: 28px;}
	#footer .footer-menu {width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: none;}
	#footer .footer-menu > a {width: 100%; height: 45px; flex: none; font-size: 14px;}
	#footer .footer-family {grid-column: 1 / 3; width: 100%;}
	#footer .footer-family-btn {height: 45px; font-size: 15px;}
	#footer .footer-copy {width: 100%; margin-top: 18px; text-align: left;}
	#footer .footer-copy p {font-size: 14px;}
	#top {right: 20px; bottom: 20px; width: 50px; height: 50px;}
}
@media (max-width: 480px) {
	#footer .footer-menu {display: block;}
	#footer .footer-menu > a, #footer .footer-family {width: 100%; margin-top: 6px;}
	#footer .footer-menu > a:first-child {margin-top: 0;}
	#footer .footer-family {margin-top: 6px;}
	#top {right: 15px; bottom: 15px; width: 46px; height: 46px;}
}


#footer{font-family:Pretendard,Arial,sans-serif;text-align:left;background:#fff;color:#666;line-height:1.5}#footer *,#footer *:before,#footer *:after{box-sizing:border-box}
