@charset "utf-8";

/*root*/
:root {
    --font-basic: "Pretendard";
    --font-num: "SUIT";
    --font-serif: "Nanum Myeongjo", serif;
    --color-basic: #000;
    --color-main: #D79A2B;
    --color-main-light: #FFC557;
    --red: #E0062D;
    --blue: #00A3FF;
    --normal-radius: 5px;
}

/*basic*/
html {
    font-family: var(--font-basic);
    font-weight: 500;
    scroll-behavior: smooth;
}

body {
    min-width: 1280px;
    color: var(--color-basic);
    overflow-x: hidden;
}

.btn {
    cursor: pointer;
}

.bold {
    font-weight: 700 !important;
}

.strong {
    font-weight: 600 !important;
}

table {
    table-layout: fixed;
}

input[type="text"], input[type="number"], input[type="password"] {
    width: 100%;
    height: 48px;
    background-color: #fff;
    padding: 0 16px;
}

input[type="text"].center::-webkit-input-placeholder {
    text-align: center;
    color: #CBCBCB;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

*:focus {
    outline: none;
}

textarea {
    resize: none;
}

/*header*/
header {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #CBCBCB;
    width: 100%;
    min-height: 90px;
    z-index: 100;
    transition: .2s all ease-in-out;
    min-width: 1280px;
}

header .logo {
    position: absolute;
    left: clamp(2.1875rem, -4.6875rem + 8.5938vw, 5.625rem); /*35-90*/
    top: 50%;
    transform: translateY(-50%);
}

header .logo a {
    background: url('/pc/images/logo.svg') center center no-repeat;
    display: block;
    font-size: 0;
    width: 120px;
    height: 67px;
    filter: brightness(0) invert(1);
}

nav {
    position: absolute;
    width: 100%;
    left: 0;
}

nav .gnb {
    position: absolute;
    left: clamp(11.875rem, -9.375rem + 26.5625vw, 22.5rem); /*360-190*/
    top: 0;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0 clamp(0rem, -5rem + 6.25vw, 2.5rem); /* 40-0*/
}

nav .gnb li {
    position: relative;
    z-index: 100;
    text-align: center;
    width: 120px;
    font-size: 18px;
}

nav .gnb li a {
    color: #fff;
    padding: 36px 0;
    display: block;
}

nav .gnb li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    z-index: 10;
    height: 1px;
    background-color: #000;
    transition: .2s all ease-in-out;
}

nav .gnb li:hover::after {
    content: '';
    width: 100%;
}

nav .gnb li:hover a {
    font-weight: 600;
    transition: .2s all ease-in-out;
}

nav .gnb li .lnb {
    position: absolute;
    left: 0;
    top: 90px;
    padding: 0 1000em;
    margin: 0 -1000em;
    z-index: 101;
    visibility: hidden;
    opacity: 0;
    transition: .2s all ease-in-out;
    background-color: #fff;
    display: flex;
    justify-content: flex-start;
    gap: 0 40px;
}

nav .gnb li .lnb li {
    padding: 0;
    font-size: 16px;
    width: auto;
    /*line-height: 60px;*/
}

nav .gnb li .lnb li a {
    color: #707070;
    display: block;
    transition: .2s all ease-in-out;
    padding: 22px 0;
}

nav .gnb li .lnb li a:hover {
    color: var(--color-main);
    font-weight: 600;
}

nav .gnb li:hover .lnb {
    visibility: visible;
    opacity: 1;
    transition: 0.2s all ease-in-out;
}

.btn-top-box {
    position: absolute;
    right: clamp(1.25rem, -7.5rem + 10.9375vw, 5.625rem); /*90-20*/
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0 20px;
    align-items: center;
}

.btn-top-box a {
    display: block;
    width: 100px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    background-color: transparent;
    border-radius: 5px;
    border: 1px solid #fff;
}

/*scroll & over*/
header.on {
    background-color: #fff;
}

header.on .logo a {
    filter: invert(0);
}

header.on nav .gnb li:hover a {
    color: #000;
    font-weight: 600;
}

header.on nav .gnb li a {
    color: #707070;
}

header.on nav .gnb li:hover .lnb li a {
    color: #707070;
    padding: 22px 0;
}

header.on nav .gnb li:hover .lnb li:hover a {
    color: var(--color-main);
    font-weight: 600;
}

header.on nav .gnb li:hover .lnb li::after {
    content: '';
    display: none;
}

header.on .btn-top-box a {
    background-color: #424242;
    position: relative;
    /*transition: .2s all ease-in-out;*/
}

header.on .btn-top-box a:hover {
    background-color: var(--color-main);
    text-decoration: underline;
}


/*footer*/
footer {
    background-color: #000;
    padding: 65px 90px 80px;
    color: #fff;
    min-width: 1280px;
    position: relative;
    font-weight: 600;
}

footer::after {
    content: '';
    background: url('/pc/images/logo_footer.svg') center center no-repeat;
    width: 200px;
    height: 42px;
    position: absolute;
    right: 90px;
    top: 50px;
}

.footer-link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0 50px;
}

footer h3 {
    padding: 60px 0 25px;
    font-size: 18px;
}

footer p {
    font-weight: 400;
    color: #707070;
    line-height: 1.5em;
    padding-top: 60px;
    /*padding-bottom: 50px;*/
}

footer p span {
    font-family: var(--font-num);
    font-weight: 300;
    line-height: 1.7em;
    font-size: 14px;
}

footer .btn-up {
    position: absolute;
    width: 46px;
    height: 46px;
    right: 98px;
    bottom: 100px;
}

/*popup-bg*/
.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
}