@charset "utf-8";

:root {
    --main-color: #50177F;
    --main-color2: #189EC4;
    --sub-color: #E40073;
    --font-type2: "Noto Serif", serif;

    /*font-size*/
    --f10: 0.63rem;
    --f11: 0.69rem;
    --f12: 0.75rem;
    --f13: 0.81rem;
    --f14: 0.88rem;
    --f15: 0.94rem;
    --f16: 1rem;
    --f18: 1.13rem;
    --f20: 1.25rem;
    --f22: 1.38rem;
    --f24: 1.5rem;
    --f28: 1.75rem;
    --f32: 2rem;
    --f36: 2.25rem;
    --f40: 2.5rem;
    --f48: 3rem;
    --f64: 4rem;
}

html {
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #222;
}

body {
    color: var(--black);
    min-width: 1200px;
}

.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: 56px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0 16px;
    font-size: var(--f18);
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="text"]:disabled,
select:disabled {
    background-color: #f9f9f9;
}

*:focus {
    outline: none;
}

textarea {
    resize: none;
    font-size: var(--f18);
}

/*.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    !*background-color: rgba(0, 0, 0, 0.8);*!
    z-index: 100;
}*/

/* header */
header.pc {
    position: fixed;
    inset: 0;
    height: 88px;
    z-index: 90;
    background-color: #fff;
}

header.pc .nav-area {
    position: relative;
    height: 100%;
}

header .top-left {
    position: absolute;
    top: 50%;
    left: clamp(32px, calc(32px + (100vw - 1200px) * (128 / 720)), 160px);
    transform: translateY(-50%);
    z-index: 5;
    height: 80px;
}

header .logo-area {
    display: flex;
    height: 100%;
    align-items: center;
}

header .logo-area img {
    height: 34px;
}

header.pc .logo-area {
    transition: opacity 0.1s ease-in-out, visibility 0.1s ease-in-out;
    /*filter: brightness(0) invert(1);*/
    position: absolute;
    top: 0;
    left: 0;
}

header.pc .logo-area.active {
    filter: none;
}

header .top-right {
    position: absolute;
    top: 50%;
    right: clamp(32px, calc(32px + (100vw - 1200px) * (128 / 720)), 160px);
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    gap: 9px;
}

header .top-right a {
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    padding: 0 16px;
    border-radius: 60px;
    line-height: 40px;
    color: #222;
}

header .top-right a.login {
    background-color: transparent;
    border: 1px solid #222;
}

header.pc nav {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 10;
}

header.pc .nav-menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gnb {
    text-align: center;
    position: relative;
    flex-basis: clamp(115px, calc(115px + (100vw - 1200px) * (15 / 720)), 130px);
}

.gnb a {
    display: block;
    color: #222;
    line-height: 88px;
    position: relative;
    font-size: var(--f18);
    font-weight: 500;
}

header.pc .lnb {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: 112px;
    display: none;
    /*padding-top: 24px;*/
    /*background-color: #f9f9f9;*/
}

header.pc .lnb.show {
    display: block;
}

.lnb-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 45px;
    width: 100%;
    /*height: 380px;*/
}

.btn-lnb-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 18px;
}

.btn-lnb-area a {
    width: 100px;
    line-height: 34px;
    text-align: center;
    border: 1px solid #939393;
    background-color: #fff;
    border-radius: 5px;
    font-size: var(--f14);
    font-weight: 500;
    color: #484848;
}

.btn-lnb-area a.on {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
}

.lnb-box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    text-align: center;
}

.lnb-box ul {
    width: clamp(115px, calc(115px + (100vw - 1200px) * (15 / 720)), 130px);
}

.lnb-box ul li a {
    padding: 9px 0;
    line-height: inherit;
    display: block;
    transition: 0.2s all ease;
    font-weight: 400;
    color: #222;
}

.lnb-box ul li a:hover {
    color: var(--sub-color);
    font-weight: 500;
}

.menu-bg {
    width: 100%;
    height: 0;
    background: #F9f9f9;
    position: absolute;
    left: 0;
    top: 88px;
    z-index: -1;
    opacity: 0;
}

.menu-bg.open {
    height: 258px;
    opacity: 1;
}

/* header-mobile */
header.mobile {
    position: fixed;
    inset: 0;
    height: 66px;
    z-index: 90;
    display: none;
    background-color: #fff;
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.03);
    transition: .2s all ease;
}

header.mobile .logo-area {
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

header.mobile .top-left {
    left: 16px;
}

header.mobile .logo-area img {
    width: 157px;
}

.toggle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
}

.toggle-btn span {
    display: block;
    background: #333;
    width: 26px;
    height: 1px;
    border-radius: 3px;
    transition: 0.1s margin 0.1s, 0.1s transform;
}

.toggle-btn span:nth-of-type(1) {
    margin-bottom: 6px;
}

.toggle-btn span:nth-of-type(2) {
}

.toggle-btn span:nth-of-type(3) {
    margin-top: 6px;
}

header.mobile.scroll {
    background-color: #fff;
}

header.mobile.scroll span {
    background: #222;
}

#toggleNav {
    display: none;
}

#toggleNav:checked + label.toggle-btn span {
    background-color: #fff;
    transition: 0.1s margin, 0.1s transform 0.1s;
}

#toggleNav:checked + label.toggle-btn span:nth-of-type(1) {
    margin-bottom: -1px;
    transform: rotate(45deg);
}

#toggleNav:checked + label.toggle-btn span:nth-of-type(2) {
    transform: rotate(45deg);
    display: none;
}

#toggleNav:checked + label.toggle-btn span:nth-of-type(3) {
    margin-top: -1px;
    transform: rotate(135deg);
}

#toggleNav:checked ~ nav {
    opacity: 1;
    visibility: visible;
    z-index: 90;
}

#toggleNav:checked ~ nav ul li {
    transform: translateY(0);
    opacity: 1;
}

header.mobile nav {
    background-color: #f9f9f9;
    position: fixed;
    inset: 0;
    width: 100% !important;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 10;
}

.nav-box {
    height: 100%;
}

.nav-header {
    width: 100%;
    height: 224px;
    background-color: var(--main-color);
}

.nav-header .logo-wrap{
    height: 66px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-header .logo{
    filter: brightness(0) invert(1);
    margin: 20px 16px;
    width: 157px;
}

.nav-header .menu-login a.login {
    background-color: var(--sub-color);
    color: #fff;
}

.nav-header-text{
    padding: 30px 16px;
    color: #fff;
}

.nav-header-text h2{
    font-size: var(--f20);
    padding-bottom: 10px;
}

.nav-header-text p{
    font-size: var(--f14);
}

.nav-login-area {
    margin-top: 20px;
    display: flex;
    gap: 8px;
}

.nav-login-area a{
    color: #fff;
    background-color: #6E2989;
    border-radius: 4px;
    line-height: 32px;
    font-size: var(--f14);
    width: 104px;
    text-align: center;
    display: inline-block;
}

.nav-login-area a.login{
    background-color: transparent;
    border: 1px solid #fff;
}

.menu-list {
    position: relative;
    transition: all 0.3s ease-in-out;
    height: calc(100% - 224px);
    overflow-y: auto;
}

.menu-list li a {
    height: 72px;
    color: #292929;
    position: relative;
    font-weight: 400;
    display: flex;
    align-items: center;
    padding-left: 16px;
    /*border-bottom: 1px solid #cbcbcb;*/
}

.menu-list li a p {
    font-size: var(--f18);
    text-align: left;
    font-weight: 500;
}

.menu-list li a p span {
    font-size: var(--f12);
    color: #A9A9A9;
    display: block;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.menu-list li a b {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 36px;
    color: #292929;
}

.menu-list li a b span {
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-block;
}

.menu-list li a b span::before,
.menu-list li a b span::after {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    width: 16px;
    height: 2px;
    background-color: var(--main-color);
    transition: 0.2s ease;
}

.menu-list li a b span::before {
    transform: rotate(0deg);
}

.menu-list li a b span::after {
    transform: rotate(90deg);
}

.menu-list li a b span.click::after {
    display: none;
}

/* 기본적으로 숨김 */
.menu-list .lnb {
    display: none;
    background: #fff;
    padding: 10px 0;
}

.menu-list .lnb a {
    height: 48px;
    font-size: var(--f16);
    position: relative;
    padding-left: 24px;
}

/* header-main pc&mobile */
header.pc.main{
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 68.27%);
    transition: background-color 0.1s ease;
    box-shadow: none;
}

header.mobile.main {
    background-color: transparent;
    transition: background-color 0.1s ease;
    box-shadow: none;
}

header.pc.main .nav-area,
header.mobile.main .nav-area {
    background-color: transparent;
    box-shadow: none;
}

header.pc.main .gnb a {
    color: #fff;
}

header.pc.main .logo-area,
header.mobile.main .logo-area {
    filter: brightness(0) invert(1);
}

header.mobile.main .toggle-btn span{
    background-color: #fff;
}

header.pc.main .logo-area.active {
    filter: none;
}

header.pc.main .top-right a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

header.pc.main .top-right a.login {
    background-color: transparent;
    border: 1px solid #fff;
}

header.pc.type2 {
    background-color: transparent;
}

header.pc.type2 .gnb a {
    color: #222;
}

/*header.pc.type2 .top-right a{
    background-color: transparent;
    border: 1px solid #222;
}*/

header.pc.type2 .top-right a.login {
    background-color: transparent;
    border: 1px solid #222;
}

/* 메인 메뉴 hover 했을때*/

header.pc.main.hovering,
header.pc.type2.hovering {
    background-color: #fff;
}

header.pc.main.hovering .gnb a,
header.pc.type2.hovering .gnb a {
    color: #222;
}

header.pc.main.hovering .top-right a,
header.pc.type2.hovering .top-right a {
    color: #222;
    background-color: rgba(0, 0, 0, 0.04);
}

header.pc.main.hovering .top-right a.login,
header.pc.type2.hovering .top-right a.login {
    background-color: transparent;
    border: 1px solid #222;
}

header .top-right a {
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    padding: 0 16px;
    border-radius: 60px;
    line-height: 40px;
    color: #222;
}

/* footer */
footer {
    width: 100%;
    background-color: #222;
    color: #ddd;
    position: relative;
}

.f-head-area {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #666;
    gap: 50px;
}

.f-head-area a {
    position: relative;
    font-size: var(--f18);
    padding: 20px 0;
}

.f-head-area a.f-red {
    color: #FF3D40;
    font-weight: 600;
}

.f-head-area a::after {
    content: '';
    width: 1px;
    height: 10px;
    background-color: #fff;
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
}

.f-head-area a:last-child::after {
    display: none;
}

.f-con-area {
    padding: 30px 0 66px;
    text-align: center;
}

.f-con-area h1 {
    margin-bottom: 30px;
}

address {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: var(--f16);
}

address ul li {
    display: flex;
    gap: 34px;
    justify-content: center;
    align-items: center;
}

address ul li span {
    position: relative;;
}

address ul li span::after {
    content: '';
    width: 1px;
    height: 10px;
    top: 50%;
    right: -17px;
    transform: translateY(-50%);
    background-color: #ddd;
    display: block;
    position: absolute;
}

address ul li span:last-child::after {
    display: none;
}

address ul li span b {
    font-weight: 700;
}

.f-con-area p {
    margin-top: 33px;
    font-size: var(--f12);
    color: #999;
}

/* 1280px 이하일 때 적용되는 스타일 */
@media (max-width: 1280px) {
    input[type="text"], input[type="number"], input[type="password"] {
        font-size: var(--f16);
    }

    textarea{
        font-size: var(--f16);
    }

    body {
        min-width: 320px;
    }

    header.pc {
        display: none;
    }

    header.mobile {
        display: block;
    }

    footer {
        padding: 20px 0;
        font-size: var(--f12);
    }

    .f-head-area{
        flex-wrap: wrap;
        gap: 0 18px;
        padding-bottom: 20px;
    }

    .f-head-area a{
        padding: 8px 0;
        font-size: var(--f14);
    }

    .f-head-area a::after{
        right: -9px;
    }

    address{
        padding: 0 14px;
    }

    address ul li{
        flex-wrap: wrap;
        font-size: var(--f14);
        gap: 16px;
    }

    .f-con-area{
        padding-bottom: 7px;
    }

    .f-con-area p{
        font-size: var(--f10);
    }

    address ul li span::after{
        right: -8px;
    }
}
