@charset "utf-8";

:root {
    --address-navy:#0c1c36;
    --address-blue:#3768e5;
    --address-ink:#17243a;
    --address-muted:#66758d;
    --address-line:#e2e8f0;
    --address-surface:#f6f8fc;
    --address-width:1200px;
}

html {scroll-behavior:smooth}
body {min-width:0;background:#fff;color:var(--address-ink);font-family:Pretendard,"Noto Sans KR","Malgun Gothic",sans-serif}
body,button,input,select,textarea {font-family:Pretendard,"Noto Sans KR","Malgun Gothic",sans-serif}
a {transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease}

#hd.address-header {position:relative;z-index:100;border-bottom:1px solid rgba(12,28,54,.08);background:rgba(255,255,255,.97);box-shadow:0 8px 30px rgba(12,28,54,.05)}
.address-header-inner {display:flex;align-items:center;gap:30px;width:min(var(--address-width),calc(100% - 40px));min-height:82px;margin:0 auto}
.address-brand {display:inline-flex;flex:0 0 auto;align-items:baseline;gap:7px;color:var(--address-navy);letter-spacing:-.045em;text-decoration:none}
.address-brand:hover {text-decoration:none}
.address-brand strong {font-size:27px;font-weight:900}
.address-brand span {color:var(--address-blue);font-size:13px;font-weight:800;letter-spacing:-.02em}

.address-navigation {display:flex;align-items:center;gap:4px;min-width:0}
.address-navigation a {padding:10px 11px;border-radius:9px;color:#43516a;font-size:14px;font-weight:700;white-space:nowrap;text-decoration:none}
.address-navigation a:hover,
.address-navigation a:focus,
.address-navigation a[aria-current="page"] {background:#eef3ff;color:var(--address-blue);text-decoration:none}

.address-header-tools {display:flex;align-items:center;gap:16px;margin-left:auto}
.address-search {display:flex;width:190px;height:38px;border:1px solid var(--address-line);border-radius:20px;background:var(--address-surface);overflow:hidden}
.address-search input {min-width:0;width:100%;height:100%;padding:0 4px 0 15px;border:0;background:transparent;color:var(--address-ink);outline:none}
.address-search input:focus {box-shadow:inset 0 0 0 2px rgba(55,104,229,.18)}
.address-search button {flex:0 0 40px;height:100%;border:0;background:transparent;color:var(--address-blue);cursor:pointer}
.address-account {display:flex;align-items:center;gap:10px;white-space:nowrap}
.address-account a {color:#657087;font-size:12px;font-weight:700;text-decoration:none}
.address-account a:hover {color:var(--address-blue)}
.address-account .address-admin-link {padding:7px 10px;border-radius:8px;background:var(--address-navy);color:#fff}
.address-menu-button {display:none;width:42px;height:42px;margin-left:auto;border:1px solid var(--address-line);border-radius:10px;background:#fff;color:var(--address-navy);font-size:18px;cursor:pointer}

#wrapper.address-wrapper {min-height:calc(100vh - 350px);background:#fff}
#container_wr.address-container-wrap {width:min(var(--address-width),calc(100% - 40px));margin:0 auto}
#container.address-container {float:none;width:100%;min-height:520px;margin:0;padding:44px 0 72px;font-size:1em}
#container.address-container:after,
#container_wr.address-container-wrap:after {display:block;clear:both;content:""}
#container_title {margin:0 0 28px;padding-bottom:16px;border-bottom:1px solid var(--address-line);color:var(--address-navy);font-size:25px;letter-spacing:-.035em}
#container_title span {margin:0;line-height:1.4}

#ft.address-footer {position:relative;background:var(--address-navy);color:#c8d3e4;text-align:left}
.address-footer-inner {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:80px;width:min(var(--address-width),calc(100% - 40px));margin:0 auto;padding:54px 0 42px}
.address-footer-brand > a {display:inline-flex;align-items:baseline;gap:7px;color:#fff;text-decoration:none}
.address-footer-brand > a strong {font-size:25px;font-weight:900;letter-spacing:-.045em}
.address-footer-brand > a span {color:#7fa2ff;font-size:13px;font-weight:800}
.address-footer-brand p {max-width:520px;margin:16px 0 0;color:#91a1b9;font-size:14px;line-height:1.8}
.address-footer-nav {display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:50px}
.address-footer-nav div {display:flex;flex-direction:column;gap:10px}
.address-footer-nav strong {margin-bottom:4px;color:#fff;font-size:13px}
.address-footer-nav a {color:#9eacc1;font-size:13px;text-decoration:none}
.address-footer-nav a:hover {color:#fff}
.address-footer-bottom {display:flex;justify-content:space-between;gap:24px;width:min(var(--address-width),calc(100% - 40px));margin:0 auto;padding:22px 0;border-top:1px solid rgba(255,255,255,.1)}
.address-footer-bottom p {margin:0;color:#75869f;font-size:12px;line-height:1.6}

.address-top-button {position:fixed;right:24px;bottom:24px;z-index:90;width:44px;height:44px;border:1px solid #dbe3ef;border-radius:50%;background:#fff;color:var(--address-navy);box-shadow:0 8px 25px rgba(12,28,54,.15);cursor:pointer}
.address-top-button:hover {border-color:var(--address-blue);background:var(--address-blue);color:#fff}

@media (max-width:1100px) {
    .address-header-inner {gap:18px}
    .address-navigation a {padding:9px 7px;font-size:13px}
    .address-search {width:150px}
    .address-account a:not(.address-admin-link) {display:none}
}

@media (max-width:900px) {
    .address-header-inner {position:relative;flex-wrap:wrap;min-height:70px;padding:12px 0}
    .address-brand strong {font-size:24px}
    .address-menu-button {display:block}
    .address-navigation {display:none;order:3;flex-direction:column;align-items:stretch;width:100%;padding:10px;border:1px solid var(--address-line);border-radius:14px;background:#fff;box-shadow:0 16px 35px rgba(12,28,54,.12)}
    .address-navigation.is-open {display:flex}
    .address-navigation a {width:100%;padding:12px 14px;font-size:14px}
    .address-header-tools {margin-left:0}
    .address-search {width:180px}
    #container.address-container {padding-top:32px}
}

@media (max-width:640px) {
    .address-header-inner,
    #container_wr.address-container-wrap,
    .address-footer-inner,
    .address-footer-bottom {width:min(100% - 28px,var(--address-width))}
    .address-header-inner {gap:12px}
    .address-header-tools {display:none;order:4;width:100%}
    .address-navigation.is-open + .address-header-tools {display:flex;align-items:stretch;flex-direction:column}
    .address-search {width:100%;height:42px}
    .address-account {justify-content:flex-end}
    .address-account a:not(.address-admin-link) {display:inline-block}
    #container.address-container {min-height:420px;padding:26px 0 52px}
    #container_title {margin-bottom:22px;font-size:21px}
    .address-footer-inner {grid-template-columns:1fr;gap:34px;padding:42px 0 32px}
    .address-footer-nav {gap:24px}
    .address-footer-bottom {flex-direction:column;gap:5px;padding:18px 0}
    .address-top-button {right:14px;bottom:14px;width:42px;height:42px}
}

@media (max-width:380px) {
    .address-footer-nav {grid-template-columns:1fr}
}
