.footer {
    --footer-paper: #f6f8fb;
    --footer-paper-strong: #ffffff;
    --footer-paper-soft: #eef2f7;
    --footer-ink: #17191f;
    --footer-muted: #667085;
    --footer-line: #dfe4ea;
    --footer-line-strong: #cfd6df;
    --footer-accent: #2864dc;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    border-top: 1px solid var(--footer-line);
    color: var(--footer-ink);
    background: var(--footer-paper);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer::before {
    display: none;
}

.footer,
.footer * {
    box-sizing: border-box;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:focus-visible {
    outline: 2px solid var(--footer-accent);
    outline-offset: 3px;
}

.footer .footer-shell {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.footer .footer-band {
    display: none;
}

.footer .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr) minmax(0, 1fr);
    gap: 52px;
    padding: 46px 0 34px;
}

.footer .footer-main > section {
    min-width: 0;
}

.footer .footer-kicker,
.footer .footer-link-title,
.footer .footer-notice__eyebrow {
    margin: 0;
    color: var(--footer-accent);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: none;
}

.footer .company-name {
    margin: 9px 0 0;
    color: var(--footer-ink);
    font-family: inherit;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.footer .footer-summary {
    max-width: 470px;
    margin: 14px 0 0;
    color: #586474;
    font-size: 14px;
    line-height: 1.68;
}

.footer .footer-address {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 24px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--footer-line);
    font-style: normal;
}

.footer .footer-address p {
    margin: 0;
    color: var(--footer-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.footer .footer-address p:nth-child(4),
.footer .footer-address p:nth-child(5) {
    grid-column: 1 / -1;
}

.footer .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    align-content: start;
}

.footer .footer-link-group {
    padding: 0;
    border-top: 0;
}

.footer .footer-link-title {
    padding-bottom: 11px;
    color: var(--footer-ink);
    border-bottom: 1px solid var(--footer-line);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer .footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 12px;
}

.footer .footer-link-list a,
.footer .footer-bottom-links a {
    color: var(--footer-muted);
    font-size: 13px;
    transition: color 160ms ease;
}

.footer .footer-link-list a:hover,
.footer .footer-bottom-links a:hover {
    color: var(--footer-accent);
}

.footer .footer-link-list .is-emphasis {
    color: #2457c5;
    font-weight: 750;
}

.footer .footer-notices {
    display: block;
    border-top: 1px solid var(--footer-line-strong);
}

.footer .footer-notice,
.footer .ai-notice {
    padding: 20px 0 22px;
    border: 0;
    border-bottom: 1px solid var(--footer-line);
    color: var(--footer-ink);
    background: transparent;
}

.footer .footer-notice__body {
    margin-top: 9px;
}

.footer .footer-notice__body strong {
    display: block;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.48;
}

.footer .footer-notice__body p,
.footer .ai-notice .footer-notice__body p {
    margin: 7px 0 0;
    color: var(--footer-muted);
    font-size: 12.5px;
    line-height: 1.65;
}

.footer .public-data-source-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
    padding-top: 0;
    border-top: 0;
}

.footer .public-data-source-inline span {
    color: var(--footer-muted);
    font-size: 11px;
    font-weight: 700;
}

.footer .source-mark-inline {
    height: 23px;
    width: auto;
    object-fit: contain;
}

.footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0 22px;
    border-top: 1px solid var(--footer-line);
}

.footer .copyright {
    margin: 0;
    color: #7a8492;
    font-size: 12px;
    line-height: 1.5;
}

.footer .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
}

@media (max-width: 1120px) {
    .footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 42px;
    }

    .footer .footer-brand {
        grid-column: 1 / -1;
    }

    .footer .footer-summary {
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    .footer .footer-shell {
        width: calc(100% - 28px);
    }

    .footer .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding: 32px 0 24px;
    }

    .footer .footer-brand {
        grid-column: auto;
    }

    .footer .company-name {
        font-size: 27px;
    }

    .footer .footer-summary {
        max-width: none;
        font-size: 13.5px;
    }

    .footer .footer-address {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .footer .footer-address p:nth-child(4),
    .footer .footer-address p:nth-child(5) {
        grid-column: auto;
    }

    .footer .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }

    .footer .footer-link-list {
        gap: 0;
    }

    .footer .footer-link-list a,
    .footer .footer-bottom-links a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }

    .footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer .footer-bottom-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer a {
        transition: none;
    }
}

@media (forced-colors: active) {
    .footer,
    .footer .footer-notice {
        border-color: CanvasText;
    }
}
