@charset "utf-8";

/* ========================
   FOOTER
======================== */
.site-footer {
    background: var(--blue-bg);
    padding: 40px 20px 50px;
    font-size: 14px;
    position: relative;
    width: 100%;
}

.site-footer .footer-inner {
    max-width: 1340px;
    margin: 0 auto;
}

.site-footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: 50px;
	padding: 0;
}

.site-footer .footer-links {
    display: flex;
    gap: 36px;
    padding: 15px 20px 15px 64px;
    border-radius: 999px;
}
.site-footer .footer-links a {
    text-decoration: none;
    color: #333;
    font-size: clamp(16px, 2vw, 18px);
    position: relative;
}
.site-footer .footer-links a:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    background-color: var(--border-dark);
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    border-radius: 50%;
}
.site-footer .footer-links .privacy {
	font-weight: 700;
}

.site-footer .footer-family {
	/* padding-right: 64px; */
}
.site-footer .footer-family-btn {
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    color: var(--text-body);
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.site-footer .footer-logo {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'PyeongchangPeace';
    color: var(--blue-dark);
}
.site-footer .footer-logo .red {
	color: var(--red-accent);
}
.site-footer .footer-logo .blue {
    color: var(--blue-main);
    margin-left: 4px;
}

.site-footer .footer-info {
    line-height: 1.6;
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.site-footer .footer-info .info {
	color: var(--text-body);
}

.site-footer .footer-copy {
    font-size: 16px;
    color: var(--text-body);
}

.footer-dropdown{
    position: relative;
    width: 215px;
}
.footer-dropdown-btn {
    display: inline-flex;
    padding: 13px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background: #333;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.footer-dropdown-btn:hover {
    background: #4a4a4a;
    transform: translateY(-2px);
}

.footer-dropdown-btn svg {
    transition: transform 0.3s ease;
}

.footer-dropdown.active .footer-dropdown-btn svg {
    transform: rotate(180deg);
}

.footer-dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
    z-index: 100;
}

.footer-dropdown.active .footer-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 300px;
}

.footer-dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.footer-dropdown-menu li:last-child {
    border-bottom: none;
}

.footer-dropdown-menu a {
    display: block;
    padding: 14px 20px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.footer-dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(51, 51, 51, 0.05) 0%, transparent 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.footer-dropdown-menu a:hover {
    color: #333;
    font-weight: 700;
    padding-left: 28px;
}

.footer-dropdown-menu a:hover::before {
    width: 100%;
}

.footer-dropdown-menu li:first-child a {
    border-radius: 10px 10px 0 0;
}

.footer-dropdown-menu li:last-child a {
    border-radius: 0 0 10px 10px;
}

.footer-info p.footer-info-pc {
    display: block;
}

.footer-info p.footer-info-mobile {
    display: none;
}

.footer-mascot img {
    width: 100%;
    max-width: 100px;
}

.btn-top{
    position: fixed;
    bottom: 27px;
    right: 20px;
    width: 54px;
    height: 54px;
    background: #10488C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
}

.btn-top i{
    font-size: 24px;
    color: #fff;
}

@media all and (max-width: 768px) {
    .btn-top{
        right: 30px;
    }
}
@media screen and (max-width: 767px) {
    .site-footer .footer-family-btn {
        font-size: 16px;
        width: 180px;
        padding: 12px 20px;
        order: 1;
        margin-bottom: 0;
    }
    .site-footer .footer-mascot img {
        width: 90px;
        height: auto;
    }
}
@media screen and (max-width: 720px) {
    .site-footer .footer-top {
		flex-direction: column;
	}
    .site-footer .footer-links {
		padding: 15px 20px;
	}
}
@media (max-width: 600px) {
    .site-footer .footer-bottom {
		flex-direction: column;
		align-items: baseline;
	}
    .site-footer .footer-mascot {
        align-self: flex-end;
        max-width: 65%;
        display: flex;
        justify-content: end;
    }
    .site-footer .footer-info {
        font-size: 15px;
    }
}
