footer.ft {
    --u: calc(min(100vw, 2560px) / 1920);
    --pad: max(48px, calc(var(--u) * 165 + max(0px, (100vw - 2560px) / 2)));
    --cl-mint: #76c5af;
    --cl-ease: cubic-bezier(.19, 1, .22, 1);
    --cl-en: 'Jost', 'Noto Sans TC', sans-serif;
    --cl-tc: 'Noto Sans TC', 'Jost', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0;
    padding: 0 var(--pad);
    background: #343434;
    color: #e1e1e1;
    font-family: var(--cl-en);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: normal;
    text-align: left;
    text-transform: none;
}
footer.ft *, footer.ft *::before, footer.ft *::after { box-sizing: border-box; }
footer.ft :where(h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
footer.ft a { color: inherit; text-decoration: none; }
footer.ft a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

footer.ft .ft-top {
    --bp: max(4px, calc(var(--u) * 5));
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    margin: 0 auto;
    padding: 0;
    font: 400 max(10.5px, calc(var(--u) * 14))/1 var(--cl-en);
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
}
footer.ft .ft-top i {
    position: relative;
    display: block;
    width: max(20px, calc(var(--u) * 34));
    height: calc(max(14px, calc(var(--u) * 34)) + max(5px, calc(var(--u) * 11)) + var(--bp) * 2 + 2px);
    margin: 0 0 calc(var(--u) * 18);
}
footer.ft .ft-top i::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: auto;
    width: 1px;
    height: max(14px, calc(var(--u) * 34));
    margin-left: -.5px;
    background: rgba(255, 255, 255, .2);
    transform-origin: 50% 0;
    transition: transform .6s var(--cl-ease);
}
footer.ft .ft-top i::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: calc(var(--bp) * 2 + 2px);
    translate: none;
    border: 0;
    background:
        linear-gradient(#fff, #fff) 50% 0 / max(6px, calc(var(--u) * 9)) 2px no-repeat,
        linear-gradient(#fff, #fff) 50% var(--bp) / max(11px, calc(var(--u) * 16)) 2px no-repeat,
        linear-gradient(#fff, #fff) 50% calc(var(--bp) * 2) / 100% 2px no-repeat;
    transition: transform .6s var(--cl-ease);
}
footer.ft .ft-top span { display: block; transition: letter-spacing .6s var(--cl-ease), color .3s; }

footer.ft .ft-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    align-content: start;
    margin-top: calc(var(--u) * 31);
    min-height: calc(var(--u) * 296);
    padding-bottom: calc(var(--u) * 24);
}
footer.ft .ft-col { padding-top: calc(var(--u) * 13); }
footer.ft .ft-h {
    position: relative;
    margin: 0 0 calc(var(--u) * 38.9);
    padding: 0 0 calc(var(--u) * 16.4);
    font: 500 max(16px, calc(var(--u) * 26))/1.1 var(--cl-en);
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
}
footer.ft .ft-h::after {
    content: '';
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    width: calc(var(--u) * 400);
    max-width: 100%;
    height: 1px;
    translate: none;
    background: #92d3c1;
}
footer.ft .ft-contact { text-align: right; }
footer.ft .ft-contact .ft-h::after { left: auto; right: 0; }
footer.ft .ft-col p {
    font: 400 max(11px, calc(var(--u) * 16)) var(--cl-tc);
    line-height: 1.75;
    letter-spacing: 0;
    color: #e1e1e1;
}
footer.ft .ft-address span { font-family: var(--cl-en); font-weight: 500; letter-spacing: 0; line-height: 0; }
footer.ft .ft-mail { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: .75em; padding-top: calc(var(--u) * 1); }
footer.ft .ft-mail a + a { margin-left: 0; }
footer.ft .ft-mail a { display: block; font-family: var(--cl-en); font-weight: 500; letter-spacing: 0; overflow-wrap: anywhere; }
footer.ft .ft-social { display: flex; justify-content: flex-end; align-items: center; margin-top: calc(var(--u) * 5.9); }
footer.ft .ft-social a {
    position: relative;
    display: block;
    padding: 0 calc(var(--u) * 21.5);
    font: 500 max(10px, calc(var(--u) * 14))/1.8 var(--cl-en);
    letter-spacing: 0;
    color: #fff;
}
footer.ft .ft-social a:first-child { padding-left: 0; }
footer.ft .ft-social a:last-child { padding-right: 0; }
footer.ft .ft-social a + a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: max(8px, calc(var(--u) * 11));
    background: rgba(255, 255, 255, .2);
    transform: translateY(-50%);
}

footer.ft .ft-center { display: flex; flex-direction: column; align-items: center; padding: 0; }
footer.ft .ft-logo { position: relative; display: block; width: calc(var(--u) * 80.6); aspect-ratio: 291 / 266; }
footer.ft .ft-logo svg { display: block; width: 100%; height: 100%; }
footer.ft .ft-logo-r { fill: #5e5d5d; }
footer.ft .ft-logo-m { fill: #5eddb9; }
footer.ft .ft-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em 1.6em; margin-top: calc(var(--u) * 58); font-size: max(11px, calc(var(--u) * 14)); }
footer.ft .ft-nav a {
    position: relative;
    font: 400 1em/1.6 var(--cl-tc);
    letter-spacing: .1em;
    color: #fff;
    transition: color .3s;
}
footer.ft .ft-nav a::before { content: ''; position: absolute; inset: -.2em -.8em; }

footer.ft .ft-copy {
    margin: auto calc(var(--pad) * -1) 0;
    padding: calc(var(--u) * 19.8) var(--pad) calc(var(--u) * 27.8);
    border-top: 1px solid rgba(255, 255, 255, .2);
    text-align: center;
    font: 400 max(10px, calc(var(--u) * 14))/1.6 var(--cl-en);
    letter-spacing: 0;
    color: #aeaeae;
}
footer.ft .ft-copy span { color: #686868; }
footer.ft .ft-copy { position: relative; }
footer.ft .ft-copy .ft-legal { position: absolute; right: var(--pad); top: calc(var(--u) * 19.8); display: inline-flex; align-items: center; white-space: nowrap; font-size: .92em; line-height: 1.6; }
footer.ft .ft-copy .ft-legal-i { color: #8c8c8c; text-decoration: none; transition: color .3s ease; }
footer.ft .ft-copy .ft-legal-sep { flex: none; display: block; width: 2px; height: 1.15em; margin: 0 1.25em; background: var(--cl-mint); }
@media (hover: hover) and (pointer: fine) { footer.ft .ft-copy a.ft-legal-i:hover { color: #fff; } }
footer.ft .ft-copy a.ft-legal-i:focus-visible { color: #fff; outline: 1px solid currentColor; outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
    footer.ft .ft-nav a::after, footer.ft .ft-mail a::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 1px;
        background: var(--cl-mint);
        transform: scaleX(0);
        transform-origin: 100% 50%;
        transition: transform .45s var(--cl-ease);
    }
    footer.ft .ft-mail a { position: relative; }
    footer.ft .ft-nav a:hover, footer.ft .ft-mail a:hover, footer.ft .ft-social a:hover { color: var(--cl-mint); }
    footer.ft .ft-nav a:hover::after, footer.ft .ft-mail a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
    footer.ft .ft-social a { transition: color .3s, transform .45s var(--cl-ease); }
    footer.ft .ft-social a:hover { transform: translateY(-2px); }
    footer.ft .ft-top:hover i::before { transform: scaleY(.45); }
    footer.ft .ft-top:hover i::after { transform: translateY(calc(var(--u) * -18.7)); }
    footer.ft .ft-top:hover span { letter-spacing: .12em; color: var(--cl-mint); }
}
@media (prefers-reduced-motion: reduce) {
    footer.ft .ft-top i::before, footer.ft .ft-top i::after, footer.ft .ft-top span,
    footer.ft .ft-nav a, footer.ft .ft-nav a::after, footer.ft .ft-mail a::after, footer.ft .ft-social a { transition: none; }
}

@media (max-width: 1100px) {
    footer.ft { --u: calc(100vw / 1543); --pad: 5.9vw; }
    footer.ft .ft-copy .ft-legal { position: static; display: flex; justify-content: center; margin-top: 4px; }
}

@media (max-width: 900px) {
    footer.ft { --u: min(calc(100vw / 510), .86px); --pad: 22px; padding: 0 22px; }
    footer.ft .ft-top { font-size: 10.5px; }
    footer.ft .ft-top i { width: 24px; height: 52px; margin-bottom: 12px; --bp: 4px; }
    footer.ft .ft-top i::before { height: 30px; }
    footer.ft .ft-top i::after {
        background:
            linear-gradient(#fff, #fff) 50% 0 / 8px 2px no-repeat,
            linear-gradient(#fff, #fff) 50% 4px / 14px 2px no-repeat,
            linear-gradient(#fff, #fff) 50% 8px / 24px 2px no-repeat;
    }
    footer.ft .ft-top:hover i::after { transform: translateY(-16px); }
    footer.ft .ft-grid { flex: none; grid-template-columns: 1fr; grid-auto-rows: max-content; gap: 34px; margin-top: 26px; min-height: 0; padding-bottom: 40px; text-align: center; }
    footer.ft .ft-col { padding-top: 0; }
    footer.ft .ft-center { order: -1; }
    footer.ft .ft-logo { width: 56px; }
    footer.ft .ft-nav { margin-top: 22px; max-width: 290px; }
    footer.ft .ft-h { margin-bottom: 18px; padding-bottom: 12px; }
    footer.ft .ft-h::after, footer.ft .ft-contact .ft-h::after { left: 50%; right: auto; width: 180px; translate: -50% 0; }
    footer.ft .ft-contact { text-align: center; }
    footer.ft .ft-col p { line-height: 1.8; }
    footer.ft .ft-mail { flex-direction: column; align-items: center; row-gap: 0; }
    footer.ft .ft-social { justify-content: center; margin-top: 6px; }
    footer.ft .ft-social a { padding: 0 16px; }
    footer.ft .ft-copy { margin: auto -22px 0; padding: 16px 22px 20px; }
}

footer.ft .ft-legal-m { display: none; }
@media (max-width: 900px) {
    footer.ft .ft-copy .ft-legal { display: none; }
    footer.ft .ft-legal-m { display: flex; justify-content: center; margin: 6px 0 0; }
    footer.ft .ft-legal-m .ft-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; font: 400 13px/1.4 var(--cl-tc); letter-spacing: .06em; }
    footer.ft .ft-legal-m .ft-legal-i { display: flex; align-items: center; min-height: 44px; padding: 0 6px; color: #aeaeae; text-decoration: none; transition: color .3s ease; }
    footer.ft .ft-legal-m .ft-legal-sep { flex: none; display: block; width: 2px; height: 1.1em; margin: 0 12px; background: var(--cl-mint); }
    footer.ft .ft-legal-m a.ft-legal-i:focus-visible { color: #fff; outline: 1px solid currentColor; outline-offset: -6px; }
}
@media (max-width: 900px) and (hover: hover) and (pointer: fine) { footer.ft .ft-legal-m a.ft-legal-i:hover { color: #fff; } }
@media (prefers-reduced-motion: reduce) { footer.ft .ft-legal-m .ft-legal-i { transition: none; } }

@media print { footer.ft .ft-top { display: none !important; } }
