@charset "UTF-8";

body {position: relative;}

.wrap {width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 20px;}

@media(max-width: 768px) {
    .wrap {padding: 0 15px;}
}

:root {--tsmcs-primary: var(--color-primary, #0064FF);}

@keyframes header-in {
    from {transform: translateY(-100%); opacity: 0;}
    to   {transform: translateY(0); opacity: 1;}
}

#header {position: fixed; top: 0; left: 0; width: 100%; height: 110px; z-index: 1200; display: flex; align-items: flex-end; justify-content: center; color: #fff; transition: color 0.2s ease-out; animation: header-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;}
#header * {color: inherit;}

#header::before {content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 90px; background-color: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); opacity: 0; pointer-events: none; transition: opacity 0.3s ease-out; z-index: -1;}
#header.scroll-on::before,
#header:hover::before {opacity: 1;}

#header .header-inner {position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; width: calc(100% - 40px); max-width: 1700px; height: 90px; margin: 0 auto; padding: 0 34px; border-radius: 10px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18); transform: translateY(0); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.3s ease, text-shadow 0.2s ease-out;}
#header .header-inner::before {content: ''; position: absolute; inset: 0; border-radius: inherit; background-color: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); transition: opacity 0.2s ease-out; pointer-events: none; z-index: -1;}
#header.scroll-on .header-inner,
#header:hover .header-inner {transform: translateY(-20px); border-radius: 0; text-shadow: 0 0 0 rgba(0, 0, 0, 0);}
#header.scroll-on .header-inner::before,
#header:hover .header-inner::before {opacity: 0;}
#header.scroll-on,
#header:hover {color: #1a1a1a;}

#header .logo {flex-shrink: 0; margin: 0;}
#header .logo a {display: block; width: clamp(190px, 12.5vw + 110px, 260px); height: auto; overflow: hidden;}
#header .logo img {display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; font-size: 11px;}
#header .logo .logo-c {display: none;}
#header.scroll-on .logo .logo-w,
#header:hover .logo .logo-w {display: none;}
#header.scroll-on .logo .logo-c,
#header:hover .logo .logo-c {display: block;}

#header .gnb {flex: 1; height: 100%;}
#header .gnb-list {display: flex; align-items: center; justify-content: center; height: 100%; gap: 4px; margin: 0; padding: 0; list-style: none;}
#header .gnb-list > li {height: 100%; position: relative;}
#header .gnb-list > li > a {display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 21px; font-weight: 500; white-space: nowrap; transition: color 0.2s ease-out;}
#header .gnb-list > li:hover > a,
#header .gnb-list > li:focus-within > a {color: var(--tsmcs-primary);}

#header .gnb-list > li > .submenu {
    opacity: 0; visibility: hidden; z-index: -1;
    position: absolute; top: calc(100% - 2px); left: 50%;
    width: 190px; margin: 0; padding: 24px 0;
    list-style: none; text-align: center;
    background-color: var(--tsmcs-primary);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
#header .gnb-list > li > .submenu::before {
    content: ''; display: block; width: 14px; height: 14px;
    position: absolute; top: -4px; left: 50%;
    background-color: var(--tsmcs-primary); border-radius: 3px;
    transform: translateX(-50%) rotate(45deg);
}
#header .gnb-list > li:hover > .submenu,
#header .gnb-list > li:focus-within > .submenu {
    opacity: 1; visibility: visible; z-index: 10;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
#header .gnb-list > li > .submenu li + li {margin-top: 13px;}
#header .gnb-list > li > .submenu a {display: block; font-size: 18px; font-weight: 400; line-height: 2; color: #fff; word-break: keep-all; transition: font-weight 0.15s ease;}
#header .gnb-list > li > .submenu li:hover a,
#header .gnb-list > li > .submenu a:focus {font-weight: 700;}

#header .header-right {display: flex; align-items: center; gap: 20px; flex-shrink: 0;}
#header .header-util {display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 500;}
#header .header-util a {display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color 0.2s ease-out;}
#header .header-util a:hover {color: var(--tsmcs-primary);}
#header .header-util .bi {font-size: 24px; transition: color 0.2s ease-out;}
#header .header-util .bar {width: 1px; height: 14px; background: currentColor; opacity: 0.35;}

#header .sitemap {display: flex; flex-direction: column; justify-content: space-between; width: 28px; height: 22px; flex-shrink: 0; padding: 0; border: 0; background: none; cursor: pointer;}
#header .sitemap .line-menu {display: block; width: 100%; height: 2px; border-radius: 5px; background-color: currentColor; transform-origin: center; transition: transform 330ms cubic-bezier(0.4, 0, 0.2, 1), width 330ms cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease-out, background-color 0.2s ease-out;}
#header .sitemap .line-menu.half {width: 50%;}
#header .sitemap .line-menu.end {align-self: flex-end;}

#header .sitemap.is-open .line-menu {width: 100%;}
#header .sitemap.is-open .line-menu:not(.half) {opacity: 0;}
#header .sitemap.is-open .line-menu.start {transform: translateY(10px) rotate(45deg);}
#header .sitemap.is-open .line-menu.end {transform: translateY(-10px) rotate(-45deg);}

@media (max-width: 1600px) {
    #header .header-util a {font-size: 0; gap: 0;}
    #header .gnb-list > li > a {font-size: 19px; padding: 0 14px;}
}
@media (max-width: 1300px) {
    #header {height: 96px;}
    #header::before {height: 80px;}
    #header .header-inner {width: calc(100% - 32px); height: 80px; padding: 0 26px;}
    #header.scroll-on .header-inner,
    #header:hover .header-inner {transform: translateY(-12px);}
    #header .gnb {display: none;}
    #header .header-util {display: none;}
    #header .logo a {width: 240px;}
}
@media (max-width: 768px) {
    #header {height: 80px;}
    #header::before {height: 70px;}
    #header .header-inner {width: calc(100% - 24px); height: 70px; padding: 0 16px;}
    #header.scroll-on .header-inner,
    #header:hover .header-inner {transform: translateY(-10px);}
    #header .header-right {gap: 12px;}
    #header .logo a {width: 230px;}
}
@media (max-width: 480px) {
    #header .header-inner {width: calc(100% - 16px); padding: 0 12px;}
}


html.sitemap-lock, body.sitemap-lock{overflow: hidden;}

#header.so-open, #header.mo-open {color: var(--color-primary);}
#header.so-open .logo, #header.so-open .gnb, #header.so-open .header-util,
#header.mo-open .logo, #header.mo-open .gnb, #header.mo-open .header-util {opacity: 0; visibility: hidden; pointer-events: none;}
#header.so-open .header-inner::before, #header.mo-open .header-inner::before {opacity: 0;}
#header.so-open::before, #header.mo-open::before {opacity: 0;}
#header.so-open .header-inner, #header.mo-open .header-inner {text-shadow: none; transform: translateY(0);}

@media (max-width: 1300px) {
    #header.mo-open .logo {position: absolute;}
    #header.mo-open .header-right {margin-left: auto;}
    #header.mo-open .header-util {display: flex; gap: 10px; opacity: 1; visibility: visible; pointer-events: auto;}
    #header.mo-open .header-util a {flex-direction: column; gap: 4px; font-size: 11px; font-weight: 500; line-height: 1; color: var(--color-ink);}
    #header.mo-open .header-util .bi {font-size: 20px; color: var(--color-ink);}
    #header.mo-open .header-util .login .bi {transform: translateX(-2px);}
    #header.mo-open .header-util .txt {display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border: 1px solid #d5dae3; border-radius: 100px; transition: background 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;}
    #header.mo-open .header-util a:hover .txt {background: var(--color-ink); border-color: var(--color-ink); color: #fff;}
    #header.mo-open .header-util .bar {display: none;}
    #header.mo-open .header-util a {animation: moUtilIn 0.35s cubic-bezier(.4,0,.2,1) both;}
    #header.mo-open .header-util .login {animation-delay: 0.7s;}
    #header.mo-open .header-util .join {animation-delay: 0.85s;}
}
@keyframes moUtilIn {
    from {opacity: 0; transform: translateX(14px);}
    to {opacity: 1; transform: translateX(0);}
}
@media (prefers-reduced-motion: reduce) {
    #header.mo-open .header-util a {animation: none;}
}

#sitemap{display: flex; visibility: hidden; pointer-events: none; position: fixed; inset: 0; z-index: 1000; transform: translateX(100%); transition: transform 0.5s cubic-bezier(.4,0,.2,1), visibility 0s linear 0.5s;}
#sitemap.is-open{visibility: visible; pointer-events: auto; transform: translateX(0); transition: transform 0.5s cubic-bezier(.4,0,.2,1);}

#sitemap .bg{position: absolute; inset: 0; z-index: -1; background: rgba(3, 10, 30, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; transition: opacity 0.5s ease-in-out;}
#sitemap.is-open .bg{opacity: 1;}

#sitemap .inner{display: flex; flex-direction: row-reverse; width: 100%; height: 100%;}

#sitemap .fl{flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 90px 90px; overflow-y: auto; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(16px) brightness(1.35); backdrop-filter: blur(16px) brightness(1.35); box-shadow: -24px 0 60px -22px rgba(3, 10, 30, 0.28);}
#sitemap .fl .menu{display: flex; flex-direction: column; align-items: flex-start; gap: 22px;}
#sitemap .fl .menu .menu-item{display: flex; flex-direction: column; align-items: flex-start;}
#sitemap .fl .menu .menu-item > a{display: block; overflow: hidden; height: 42px; text-align: left;}
#sitemap .fl .menu .menu-item > a p{margin: 0; height: 42px; line-height: 42px; font-size: 28px; font-weight: 700; color: var(--color-ink); white-space: nowrap; transition: margin-top 0.3s ease-in-out, color 0.3s ease-in-out;}
#sitemap .fl .menu .menu-item:hover > a p:first-child{margin-top: -42px; color: var(--color-primary);}
#sitemap .fl .menu .menu-item:hover > a p:last-child{color: var(--color-primary);}
#sitemap .fl .menu .menu-item .depth02{display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 24px; margin-top: 10px; opacity: 1;}
#sitemap .fl .menu .menu-item .depth02 li a{font-size: 22px; font-weight: 400; color: #5a6172; transition: 0.2s ease-in-out;}
#sitemap .fl .menu .menu-item .depth02 li a:hover{color: var(--color-primary);}

#sitemap .fr{flex: 0 0 520px; width: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 50px; background: var(--color-primary);}
#sitemap .fr .logo{display: flex; justify-content: center; width: 100%; margin-bottom: 22px;}
#sitemap .fr .logo img{display: block; width: 270px; height: auto;}
#sitemap .fr .tagline{display: flex; flex-direction: column; align-items: center; font-size: 16px; line-height: 1.7; letter-spacing: 0.04em; text-align: center; text-transform: uppercase; margin-bottom: 28px; word-break: keep-all;}
#sitemap .fr .tagline .line{display: block; color: rgba(255, 255, 255, 0.85); opacity: 0; position: relative;}
@keyframes tagline-fade {
    from {opacity: 0;}
    to {opacity: 1;}
}
#sitemap.is-open .fr .tagline .line{animation: tagline-fade 0.5s ease-in-out forwards;}
#sitemap.is-open .fr .tagline .line:nth-child(2){animation-delay: 0.1s;}
#sitemap .fr .fb{padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.2);}
#sitemap .fr .fb .info{display: grid; gap: 18px;}
#sitemap .fr .fb .info p{display: grid; gap: 4px;}
#sitemap .fr .fb .info p b{font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.6);}
#sitemap .fr .fb .info p b font{padding: 0 4px; font-weight: 300; color: rgba(255,255,255,0.4);}
#sitemap .fr .fb .info p span{font-size: 16px; font-weight: 400; color: #fff; line-height: 1.5; word-break: keep-all;}

@media (max-width: 1400px) {
    #sitemap .fl{padding: 70px 60px;}
    #sitemap .fl .menu .menu-item > a{height: 38px;}
    #sitemap .fl .menu .menu-item > a p{height: 38px; line-height: 38px; font-size: 26px;}
    #sitemap .fl .menu .menu-item:hover > a p:first-child{margin-top: -38px;}
    #sitemap .fl .menu .menu-item .depth02 li a{font-size: 21px;}
    #sitemap .fr{flex-basis: 420px; width: 420px; padding: 40px;}
    #sitemap .fr .tagline{font-size: 15px;}
}
@media (max-width: 1200px) {
    #sitemap .inner{ flex-direction: column; overflow-y: auto; }

    #sitemap .fl{ flex: none; align-items: flex-start; justify-content: flex-start; padding: 100px 30px 40px; }
    #sitemap .fl .menu{ align-items: flex-start; gap: 20px; }
    #sitemap .fl .menu .menu-item{ align-items: flex-start; }
    #sitemap .fl .menu .menu-item > a{ height: 36px; text-align: left; }
    #sitemap .fl .menu .menu-item > a p{ height: 36px; line-height: 36px; font-size: 23px; }
    #sitemap .fl .menu .menu-item:hover > a p:first-child{ margin-top: -36px; }
    #sitemap .fl .menu .menu-item .depth02{ gap: 6px 18px; margin-top: 8px; }
    #sitemap .fl .menu .menu-item .depth02 li a{ font-size: 20px; }

    #sitemap .fr{ flex: none; width: 100%; padding: 40px 30px; }
    #sitemap .fr .logo{ margin-bottom: 16px; }
    #sitemap .fr .logo img{ width: 200px; }
    #sitemap .fr .tagline{ font-size: 15px; margin-bottom: 20px; }
    #sitemap .fr .fb{ padding-top: 20px; }
    #sitemap .fr .fb .info{ gap: 14px; }
    #sitemap .fr .fb .info p b{ font-size: 15px; }
    #sitemap .fr .fb .info p span{ font-size: 14px; }
}
@media (max-width: 768px) {
    #sitemap .fl{ padding: 90px 20px 30px; }
    #sitemap .fl .menu .menu-item > a{ height: 34px; }
    #sitemap .fl .menu .menu-item > a p{ height: 34px; line-height: 34px; font-size: 21px; }
    #sitemap .fl .menu .menu-item:hover > a p:first-child{ margin-top: -34px; }
    #sitemap .fl .menu .menu-item .depth02 li a{ font-size: 18px; }

    #sitemap .fr{ padding: 30px 20px; }
    #sitemap .fr .logo img{ width: 160px; }
    #sitemap .fr .tagline{ font-size: 14px; margin-bottom: 16px; }
}
@media (max-width: 500px) {
    #sitemap .fl{ padding: 80px 16px 30px; }
    #sitemap .fl .menu .menu-item > a{ height: 32px; }
    #sitemap .fl .menu .menu-item > a p{ height: 32px; line-height: 32px; font-size: 19px; }
    #sitemap .fl .menu .menu-item:hover > a p:first-child{ margin-top: -32px; }

    #sitemap .fr{ padding: 24px 16px; }
    #sitemap .fr .logo img{ width: 140px; }
    #sitemap .fr .fb .info p b{ font-size: 14px; }
    #sitemap .fr .fb .info p span{ font-size: 13px; }
}


.gnb-dim {display: none; position: fixed; inset: 0; background: rgba(3, 10, 30, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.5s ease-in-out; z-index: 1090;}
.gnb-dim.is-open {opacity: 1; visibility: visible; pointer-events: auto;}

#gnb-mo {display: none; position: fixed; inset: 0; z-index: 1095; width: 100%; height: 100%; transform: translateX(100%); transition: transform 0.5s cubic-bezier(.4,0,.2,1);}
#gnb-mo.is-open {transform: translateX(0);}

#gnb-mo .inner{display: flex; flex-direction: column; width: 100%; height: 100%; overflow-y: auto; background: #fff;}

#gnb-mo .fl{flex: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 100px 30px 40px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(16px) brightness(1.35); backdrop-filter: blur(16px) brightness(1.35);}
#gnb-mo .fl .menu{display: flex; flex-direction: column; align-items: flex-start; gap: 20px;}
#gnb-mo .fl .menu .menu-item{display: flex; flex-direction: column; align-items: flex-start;}
#gnb-mo .fl .menu .menu-item > a{display: block; overflow: hidden; height: 36px; text-align: left;}
#gnb-mo .fl .menu .menu-item > a p{margin: 0; height: 36px; line-height: 36px; font-size: 23px; font-weight: 700; color: var(--color-ink); white-space: nowrap; transition: margin-top 0.3s ease-in-out, color 0.3s ease-in-out;}
#gnb-mo .fl .menu .menu-item.is-open > a p:first-child{margin-top: -36px; color: var(--color-primary);}
#gnb-mo .fl .menu .menu-item.is-open > a p:last-child{color: var(--color-primary);}
#gnb-mo .fl .menu .menu-item .depth02{display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 20px; max-height: 0; opacity: 0; overflow: hidden; transition: 0.3s ease-in-out;}
#gnb-mo .fl .menu .menu-item.is-open .depth02{max-height: 220px; opacity: 1; margin-top: 8px; margin-bottom: 8px;}
#gnb-mo .fl .menu .menu-item .depth02 li a{font-size: 20px; font-weight: 400; color: #5a6172; transition: 0.2s ease-in-out;}
#gnb-mo .fl .menu .menu-item .depth02 li a:hover{color: var(--color-primary);}

#gnb-mo .fr{flex: none; width: 100%; display: flex; flex-direction: column; padding: 40px 30px; background: var(--color-primary);}
#gnb-mo .fr .logo{display: flex; margin-bottom: 16px;}
#gnb-mo .fr .logo img{display: block; width: 200px; height: auto;}
#gnb-mo .fr .tagline{font-size: 15px; line-height: 1.8; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; word-break: keep-all;}
#gnb-mo .fr .tagline .line{display: block; color: rgba(255,255,255,0.7);}
#gnb-mo .fr .fb{padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2);}
#gnb-mo .fr .fb .info{display: grid; gap: 14px;}
#gnb-mo .fr .fb .info p{display: grid; gap: 4px;}
#gnb-mo .fr .fb .info p b{font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.6);}
#gnb-mo .fr .fb .info p b font{padding: 0 4px; font-weight: 300; color: rgba(255,255,255,0.4);}
#gnb-mo .fr .fb .info p span{font-size: 14px; font-weight: 400; color: #fff; line-height: 1.5; word-break: keep-all;}

@media (max-width: 1300px) {
    .gnb-dim{display:block;}

    #gnb-mo{display:block; transform: translateX(100%);}
    #gnb-mo.is-open{transform: translateX(0);}
}
@media (max-width: 768px) {
    #gnb-mo .fl{ padding: 90px 20px 30px; }
    #gnb-mo .fl .menu{ gap: 18px; }
    #gnb-mo .fl .menu .menu-item > a{ height: 34px; }
    #gnb-mo .fl .menu .menu-item > a p{ height: 34px; line-height: 34px; font-size: 21px; }
    #gnb-mo .fl .menu .menu-item.is-open > a p:first-child{ margin-top: -34px; }
    #gnb-mo .fl .menu .menu-item .depth02 li a{ font-size: 18px; }

    #gnb-mo .fr{ padding: 30px 20px; }
    #gnb-mo .fr .logo img{ width: 180px; }
    #gnb-mo .fr .tagline{ font-size: 14px; margin-bottom: 16px; }
}
@media (max-width: 500px) {
    #gnb-mo .fl{ padding: 80px 16px 30px; }
    #gnb-mo .fl .menu .menu-item > a{ height: 32px; }
    #gnb-mo .fl .menu .menu-item > a p{ height: 32px; line-height: 32px; font-size: 19px; }
    #gnb-mo .fl .menu .menu-item.is-open > a p:first-child{ margin-top: -32px; }

    #gnb-mo .fr{ padding: 24px 16px; }
    #gnb-mo .fr .logo img{ width: 170px; }
    #gnb-mo .fr .fb .info p b{ font-size: 14px; }
    #gnb-mo .fr .fb .info p span{ font-size: 13px; }
}


footer {position: relative; z-index: 120;}

.footer {position: relative; overflow: hidden; margin: 0; background-color: #000A1F; border-radius: 0; -webkit-mask-image: url(#footerMask); mask-image: url(#footerMask); padding: 56px 0 60px;}
.footer-mask-def {position: absolute; width: 0; height: 0; overflow: hidden;}

.footer-inner {display: flex; flex-direction: column;}

.footer-links {display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0 0 34px; padding: 0; list-style: none;}
.footer-links li {position: relative; padding: 0 22px;}
.footer-links li::after {content: ''; position: absolute; top: 50%; right: 0; width: 1px; height: 11px; background: rgba(255, 255, 255, 0.22); transform: translateY(-50%);}
.footer-links li:last-child {padding-right: 0;}
.footer-links li:last-child::after {display: none;}
.footer-links a {font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.82); transition: color 0.2s ease;}
.footer-links a:hover {color: #fff;}
.footer-links a.is-highlight {color: #4DA3FF; font-weight: 700;}
.footer-links a.is-highlight:hover {color: #7dbcff;}

.footer-body {display: flex; align-items: flex-end; justify-content: space-between; gap: 30px 50px; flex-wrap: wrap;}

.footer-info {min-width: 0;}
.footer-info-list {display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 32px; margin: 0 0 8px; padding: 0; list-style: none;}
.footer-info-list + .footer-info-list {margin-bottom: 18px;}
.footer-info-list li {display: flex; align-items: baseline; gap: 8px;}
.footer-info-list li b {font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.5); flex-shrink: 0;}
.footer-info-list li b::after {content: ':'; padding-left: 5px;}
.footer-info-list li span {font-size: 15px; color: rgba(255, 255, 255, 0.82); line-height: 1.5; word-break: keep-all;}
.footer-copyright {font-size: 13px; color: rgba(255, 255, 255, 0.38); letter-spacing: 0.01em;}

.footer-brand {flex-shrink: 0; opacity: 0.5;}
.footer-brand img {display: block; width: 260px; max-width: 100%; height: auto;}

.footer-modal {position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px;}
.footer-modal.is-open {display: flex;}
.footer-modal .fm-dim {position: absolute; inset: 0; background: rgba(3, 10, 30, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);}
.footer-modal .fm-panel {position: relative; width: 100%; max-width: 640px; max-height: 82vh; display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(3, 10, 30, 0.5); overflow: hidden; animation: fmIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;}
@keyframes fmIn {from {opacity: 0; transform: translateY(16px);} to {opacity: 1; transform: translateY(0);}}
.footer-modal .fm-head {display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #eef1f6;}
.footer-modal .fm-title {font-size: 20px; font-weight: 700; color: var(--color-ink);}
.footer-modal .fm-close {position: relative; width: 34px; height: 34px; flex-shrink: 0; border: 0; background: none; cursor: pointer;}
.footer-modal .fm-close::before, .footer-modal .fm-close::after {content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; border-radius: 2px; background: #333;}
.footer-modal .fm-close::before {transform: translate(-50%, -50%) rotate(45deg);}
.footer-modal .fm-close::after {transform: translate(-50%, -50%) rotate(-45deg);}
.footer-modal .fm-body {padding: 24px; overflow-y: auto; font-size: 15px; line-height: 1.7; color: #444;}
.footer-modal .fm-desc {margin: 0 0 10px; color: #222;}
.footer-modal .fm-law {margin: 0 0 18px; font-weight: 700; color: var(--color-primary);}
.footer-modal .fm-subtit {margin: 22px 0 10px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--color-ink);}
.footer-modal .fm-subtit-desc {margin-left: 6px; font-size: 14px; font-weight: 500; color: #777;}
.footer-modal .fm-num-list {list-style: decimal; margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px;}
.footer-modal .fm-bullet-list {list-style: disc; margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px;}
.footer-modal .fm-num-list li,
.footer-modal .fm-bullet-list li {font-size: 14px; line-height: 1.7; color: #555; word-break: keep-all;}

.footer-modal .fm-p {margin: 0 0 12px; color: #444;}
.footer-modal .fm-p:last-child {margin-bottom: 0;}

.footer-modal .fm-table-wrap {margin: 0 0 16px; overflow-x: auto; border: 1px solid #eee; border-radius: 10px;}
.footer-modal .fm-table {width: 100%; min-width: 480px; border-collapse: collapse;}
.footer-modal .fm-table th,
.footer-modal .fm-table td {padding: 8px 10px; border-bottom: 1px solid #eee; font-size: 14px; line-height: 1.55; text-align: left; word-break: keep-all;}
.footer-modal .fm-table th {background: #F7F9FC; font-weight: 700; color: #333; white-space: nowrap;}
.footer-modal .fm-table td {color: #555;}
.footer-modal .fm-table tr:last-child td {border-bottom: 0;}

@media (max-width: 1200px) {
    .footer {padding: 50px 0 54px;}
    .footer-brand img {width: 220px;}
}
@media (max-width: 1024px) {
    .footer {margin: 0;}
    .footer-body {align-items: flex-start;}
}
@media (max-width: 768px) {
    .footer {margin: 0; padding: 40px 0 44px; -webkit-mask-image: none; mask-image: none;}

    .footer-links {flex-wrap: nowrap; justify-content: flex-start; margin-bottom: 24px;}
    .footer-links li {padding: 0 8px;}
    .footer-links li:first-child {padding-left: 0;}
    .footer-links a {font-size: 13px; white-space: nowrap;}
    .footer-body {flex-direction: column; align-items: flex-start; gap: 22px;}
    .footer-info-list {gap: 4px 18px;}
    .footer-info-list li {gap: 6px;}
    .footer-info-list li b, .footer-info-list li span {font-size: 13px;}
    .footer-copyright {font-size: 11px;}
    .footer-brand {align-self: center;}
    .footer-brand img {width: 190px;}
}
@media (max-width: 400px) {
    .footer-links li {padding: 0 5px;}
    .footer-links a {font-size: 12px;}
}


.floating {position: fixed; inset: 0 0 auto auto; width: 0; height: 0; pointer-events: none; z-index: 500; opacity: 0; visibility: hidden; transition: 0.3s ease-in-out;}
.floating.is-show {opacity: 1; visibility: visible;}

.floating .go-top {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 76px; height: 128px; padding: 16px 0 18px; border: 0; border-radius: 999px; background: #006dff; box-shadow: 0 18px 34px -10px rgba(10, 40, 200, 0.42), 0 6px 16px rgba(0, 0, 0, 0.12); position: fixed; right: 50px; bottom: 40px; pointer-events: auto; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; transform: translateY(24px); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;}
.floating.is-show .go-top {transform: translateY(0);}
.floating .go-top:hover {box-shadow: 0 22px 40px -10px rgba(10, 40, 200, 0.52), 0 8px 18px rgba(0, 0, 0, 0.16);}

.floating .go-top .go-top-core {position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: #0A0F33;}

.floating .go-top .go-top-core::before,
.floating .go-top .go-top-core::after {content: ''; position: absolute; left: 50%; top: 50%; z-index: 0; width: 100%; height: 100%; border-radius: 50%; background: #0A0F33; transform: translate(-50%, -50%) scale(1); opacity: 0; pointer-events: none;}
.floating .go-top:hover .go-top-core::before {animation: goTopSpread 1.6s ease-out infinite;}
.floating .go-top:hover .go-top-core::after {animation: goTopSpread 1.6s ease-out 0.8s infinite;}
@keyframes goTopSpread {
    0%   {transform: translate(-50%, -50%) scale(1);   opacity: 0.55;}
    100% {transform: translate(-50%, -50%) scale(2.3); opacity: 0;}
}

.floating .go-top .go-top-arrow {position: relative; z-index: 1; width: 20px; height: 20px;}

.floating .go-top .go-top-label {position: relative; z-index: 1; font-size: 15px; font-weight: 800; letter-spacing: 0.1em; line-height: 1; color: #fff;}

@media (prefers-reduced-motion: reduce) {
    .floating .go-top:hover .go-top-core::before,
    .floating .go-top:hover .go-top-core::after {animation: none;}
}

@media (max-width: 768px) {
    .floating .go-top {width: 62px; height: 104px; gap: 7px; padding: 12px 0 14px; right: 20px; bottom: 24px;}
    .floating .go-top .go-top-core {width: 42px; height: 42px;}
    .floating .go-top .go-top-arrow {width: 16px; height: 16px;}
    .floating .go-top .go-top-label {font-size: 12px;}
}