@charset "utf-8";

:root {
    --main-color: #C9B392;
    --main-color2: #5F4D23;
    --sub-color: #D73865;
    --font-en: "Nanum Myeongjo", serif;

    /*font-size*/
    --f10: 0.63rem;
    --f12: 0.75rem;
    --f14: 0.88rem;
    --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;
}

html {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

body {
    color: var(--black);
    min-width: 1200px;
    font-size: 1rem;
}

.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: 60px;
    background-color: #FAFAFA;
    border: 0;
    padding: 0 16px;
}

input::placeholder {
    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;
}

.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: 80px;
    z-index: 90;
}

header.pc .nav-area {
    position: relative;
    height: 100%;
    background: #fff;
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.03);
}

header .top-left {
    position: absolute;
    top: 50%;
    left: 35px;
    transform: translateY(-50%);
    z-index: 5;
    /*width: 200px;*/
    height: 57px;
}

header .weather-area {
    display: flex;
    align-items: center;
    color: #434343;
    height: 100%;
    width: max-content;
}

header .weather-area em {
    width: 10px;
}

header .logo-area img {
    width: 95px;
}

header.pc .logo-area,
header.pc .weather-area {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease-in-out, visibility 0.1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

header.pc .logo-area.active,
header.pc .weather-area.active {
    opacity: 1;
    visibility: visible;
}

header .top-right {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 5;
}

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;
}

header.pc .nav-menu::after {
    content: '';
    display: block;
    clear: both;
}

.gnb {
    text-align: center;
    position: relative;
    flex-basis: 120px;
}

.gnb a {
    display: block;
    color: #525252;
    line-height: 80px;
    transition: 0.1s color ease-in-out;
    position: relative;
}

.gnb:hover a {
    color: #353434;
    font-weight: 500;
}

header.pc .lnb {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
    display: none;
    padding-top: 7px;
}

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: #BC955C;
    border: 1px solid #BC955C;
    color: #fff;

}

.lnb-box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0 90px;
    text-align: center;
}

.lnb-box ul li h3 {
    font-size: var(--f20);
    font-weight: 500;
    padding-bottom: 16px;
}

.lnb-box ul li a {
    padding: 9px 0;
    line-height: inherit;
    display: block;
    transition: 0.2s all ease;
    font-weight: 300;
    color: #424242;
}

.lnb-box ul li a:hover {
    font-weight: 700;
}

.menu-bg {
    width: 100%;
    height: 0;
    background: rgba(248, 248, 248, 1);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
}

.menu-bg.open {
    height: 460px;
    opacity: 1;
}

/* header-mobile */
header.mobile {
    position: fixed;
    inset: 0;
    height: 66px;
    background-color: #FFF;
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.03);
    z-index: 90;
    display: none;
}

header.mobile .logo-area,
header.mobile .weather-area {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

header.mobile .logo-area.active,
header.mobile .weather-area.active {
    opacity: 1;
    visibility: visible;
}

header.mobile .top-left {
    left: 20px;
    height: 40px;
}

header.mobile .logo-area img {
    width: 70px;
}

header.mobile .top-right {
    right: 56px;
}

.toggle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background-color: #555;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.toggle-btn span {
    display: block;
    background: #fff;
    width: 20px;
    height: 2px;
    border-radius: 3px;
    transition: 0.1s margin 0.1s, 0.1s transform;
}

.toggle-btn span:nth-of-type(1) {
    margin-bottom: 4px;
}

.toggle-btn span:nth-of-type(2) {
}

.toggle-btn span:nth-of-type(3) {
    margin-top: 4px;
}

#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: #F0F0F0FA;
    position: fixed;
    inset: 0;
    width: 100% !important;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

.nav-box {
    height: 100%;
}

.nav-header {
    width: 100%;
    height: 134px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-header .menu-login {
    margin-top: 20px;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-header .menu-login a {
    flex: 1;
    text-align: center;
    line-height: 34px;
    background-color: #fff;
    color: #484848;
    font-size: var(--f14);
}

.nav-header .menu-login a.login {
    background-color: var(--sub-color);
    color: #fff;
}

.nav-header .menu-login a.mypage {
    background-color: var(--main-color);
    color: #fff;
}

.menu-list {
    position: relative;
    transition: all 0.3s ease-in-out;
    height: calc(100% - 124px);
    overflow-y: auto;
    margin-top: 10px;
}

.menu-list li a {
    height: 80px;
    color: #292929;
    position: relative;
    font-weight: 400;
    display: flex;
    align-items: center;
    padding-left: 30px;
    /*border-bottom: 1px solid #cbcbcb;*/
}

.menu-list li a p {
    font-size: var(--f24);
    text-align: left;
}

.menu-list li a p span {
    font-family: var(--font-en);
    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: 60px;
    color: #292929;
}

.menu-list li a b span {
    position: relative;
    width: 15px;
    height: 15px;
    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: 11px;
    height: 1px;
    background-color: #292929;
    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: 35px;
    font-size: var(--f14);
    position: relative;
    padding-left: 30px;
}

.menu-list .lnb a::before {
    content: '·';
    margin-right: 8px;
}

/* header-main pc&mobile */
header.pc.main,
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 .weather-area,
header.mobile.main .weather-area {
    color: #fff;
}

header.pc.main .weather-area img,
header.mobile.main .weather-area img {
    filter: brightness(0) invert(1);
}

header.pc.main .gnb a {
    color: #fff;
}

/* footer */
footer {
    width: 100%;
    padding: 60px 140px;
    color: #9b9b9b;
    font-size: var(--f14);
    position: relative;
    border-top: 1px solid #DEDEDE;
}

footer h1 {
    background: url("/images/logo_bottom.svg") center center no-repeat;
    display: block;
    width: 90px;
    height: 50px;
    font-size: 0;
}

footer .phone {
    font-size: var(--f24);
    margin: 20px 0 15px;
}

address {
    letter-spacing: -0.7px;
    line-height: 1.7em;
}

.sns-box {
    margin: 30px 0 40px;
    display: flex;
    align-items: center;
    gap: 0 10px;
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-top: 1px solid #dedede;
    padding-top: 10px;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    align-items: center;
    font-size: var(--f16);
    gap: 0 30px;
}

.footer-bottom .scroll-top {
    position: absolute;
    top: -75px;
    right: 0;
}

.footer-bottom .scroll-top a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    align-items: center;
}

aside .footer-menu { /* pc에서 보이게 + 역방향 */
    display: inline-flex;
    flex-direction: column-reverse;
    border: 1px solid #EDEDED;
}

footer .footer-menu { /* mobile 숨김 */
    display: none;
}

.footer-menu { /* pc & mobile 공통 */
    width: 72px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.12);
    font-size: var(--f12);
    position: fixed;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 90;
}

.footer-menu a {
    flex: 1;
    flex-basis: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #f3f3f3;
}

.footer-menu a:first-child {
    border-bottom: 0;
}

.footer-menu a img {
    height: 23px;
}


/* 1200px 이하일 때 적용되는 스타일 */
@media (max-width: 1200px) {
    body {
        min-width: 320px;
    }

    header.pc {
        display: none;
    }

    header.mobile {
        display: block;
    }

    footer {
        padding: 25px;
        font-size: var(--f12);
    }

    footer h1 {
        width: 72px;
        height: 40px;
        background-size: 72px 40px;
    }

    footer .phone {
        font-size: var(--f20);
        margin: 16px 0 14px;
    }

    address {
        line-height: 1.5em;
    }

    .sns-box {
        margin: 16px 0 26px;
    }

    .sns-box img {
        width: 27px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 14px;
        margin-top: 24px;
        letter-spacing: -0.7px;
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: var(--f12);
    }

    .footer-bottom .scroll-top {
        display: none;
    }

    aside .footer-menu { /* pc에서 숨김 */
        display: none;
    }

    footer .footer-menu { /* mobile에서 보이게 */
        display: inline-flex;
    }

    .footer-menu {
        width: 100%;
        height: 70px;
        border-radius: 10px 10px 0 0;
        box-shadow: 0 -4px 4px 0 rgba(0, 0, 0, 0.04);
        position: absolute;
        inset: -36px 0 0;
        z-index: 5;
    }

    .footer-menu a {
        flex-basis: auto;
        border-bottom: 0;
        border-right: 1px solid #f3f3f3;
    }

    .footer-menu a:last-child {
        border-right: 0;
    }

    .footer-menu a img {
        height: 23px;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes scaleDown {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}



@media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    [data-aos]{ transition:none !important; animation:none !important; }
}