@charset "utf-8";
@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&family=Noto+Serif+KR:wght@200..900&display=swap');
/* font-family: "Noto Sans KR", sans-serif; */
/* font-family: "Noto Serif KR", serif; */

:root {
    --color-text: #382107;
    --color-white: #f3f3f3;
    --color-black: #222222;
    --color-point: #66aca8;
    --color-point-text: #278782;

    --font-main: "Noto Serif KR", serif;
    --font-sub: "Noto Sans KR";

    --h1-size: clamp(2rem, 4vw, 50px);
    --h1-weight: 700;
    --h1-line: 222%;

    --body1-size: clamp(18px, 2vw, 22px);
    --body1-weight: 600;
    --body1-line: 218%;

    /* 모바일용 */
    --h1-size-m: 24px;
    --h1-line-m: 42px;

    --body1-size-m: 16px;
    --body1-line-m: 30px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
}

h2 {
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    line-height: var(--h1-line);
    word-break: keep-all;
}

p {
    font-size: var(--body1-size);
    font-weight: var(--body1-weight);
    line-height: var(--body1-line);
}

/* 이벤트 배너 ############# */
.event-banner {
    width: 100%;
    height: 40px;
    background-color: #fff;
    color: var(--color-black);
    font-family: var(--font-sub);
    text-align: center;
    overflow: hidden;
    position: relative;
    top: 0;
    z-index: 100;
}

.event-banner .banner-text {
    display: flex;
    flex-direction: column;
    animation: bannerUp 10s linear infinite;
}

.event-banner .banner-text p {
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
}

.event-banner .banner-text strong {
    color: #E21818;
    font-weight: 700;
}

@keyframes bannerUp {

    0%,
    30% {
        transform: translateY(0);
    }

    35%,
    65% {
        transform: translateY(-40px);
    }

    70%,
    95% {
        transform: translateY(-80px);
    }


    100% {
        transform: translateY(0);
    }
}


/* 헤더 ############# */
.header .mobile {
    display: none;
}

.header {
    width: 100%;
    font-family: var(--font-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.header.scrolled {
    position: fixed;
    top: 30px;
}

/* 로고 위치 수정 */
.logo {
    height: 50px;
    position: absolute;
    top: 0;
    left: 40px;
    z-index: 999;
}

.logo a {
    display: block;
    height: 100%;
}

.logo a img {
    display: block;
    height: 100%;
}

.nav.pc {
    width: 604px;
    height: 50px;
    background-color: rgba(243, 243, 243, 0.8);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav.pc .gnb {
    display: flex;
    gap: 25px;
}

.nav.pc .gnb>li {
    position: relative;
}

.nav.pc .gnb>li .depth-01 {
    height: 50px;
    line-height: 50px;
    display: block;
    padding: 0 8px;
    transition: all 0.3s ease;
}

.nav.pc .gnb>li .depth-01:hover {
    font-weight: 700;
}

.nav.pc .gnb>li .depth-01.active {
    font-weight: 700;
}

.nav.pc .gnb>li .depth-02 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 8px 5px 15px;
    background-color: rgba(243, 243, 243, 0.8);
    border-radius: 0 0 20px 20px;
    display: none;
    /* 안보이게 */
}

.nav.pc .gnb>li .depth-02 li a {
    display: block;
    font-size: 15px;
    padding: 4px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.nav.pc .gnb>li .depth-02 li:last-child a {
    margin-bottom: 0;
}

.nav.pc .gnb>li .depth-02 li a:hover {
    color: var(--color-point-text);
}

/* 고정 버튼 ############# */
.fixed_btn {
    position: fixed;
    right: 40px;
    bottom: 50px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fixed_btn img {
    display: block;
    width: 35px;
}

.fixed_btn .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fixed_btn .btn.main {
    background-color: var(--color-point);
}

.fixed_btn .btn.top {
    background-color: var(--color-white);
}

.fixed_btn .btn.kakao {
    background-color: #EBC83A;
}

.fixed_btn .sub_btns {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: absolute;
    bottom: 60px;
}

.fixed_btn .sub_btns .btn {
    opacity: 0;
    transform: translateY(10px);
}

.fixed_btn.active .sub_btns .btn {
    opacity: 1;
    transform: translateY(0);
}

.fixed_btn.active .btn.main {
    transform: rotate(45deg);
}


/* 푸터 ############# */
.footer {
    font-family: var(--font-sub);
    color: var(--color-white);
    background-color: #55422E;
    font-size: 16px;
}

.footer .inner {
    width: 88.54%;
    margin: 0 auto;
    display: flex;
    gap: 56px;
    padding: 20px 0;
}

.footer .inner .info ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}