@charset "utf-8";

:root {
    --header-h: 100px;
    --header-h-mo: 65px;
}

html,body {
    font-family: "Noto Serif KR", serif;
    font-weight: 400;
    font-size: 16px;
    color: #222;
}

body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body.overflow-y {
    overflow: hidden;
}

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

table {
    table-layout: fixed;
}

input[type="text"], input[type="number"], input[type="password"] {
    width: 100%;
    height: 56px;
    background-color: #FAFAFA;
    padding: 0 16px;
    font-size: var(--f18);
    border: 0;
}

input::placeholder,
textarea::placeholder {
    color: #cbcbcb;
    font-size: 16px;
}

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);
}

.hidden {
    display: 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,
.full-menu--pc,
.header-mo,
.full-menu--mo {
    display: none;
}

@media (min-width: 1025px) {
    .header-pc {
        display: block;
    }

    .full-menu--pc {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .header-mo {
        display: block;
    }

    .full-menu--mo {
        display: flex;
    }
}

/* =========================================
   header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 100;
    transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   header - scroll
========================================= */
#headerWrap.is-scrolled .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
/*    border-bottom: 1px solid rgba(0, 0, 0, 0.18);*/
}

#headerWrap.is-scrolled .header__reservation-text,
#headerWrap.is-scrolled .header__menu-label,
#headerWrap.is-scrolled .header__reservation-text,
#headerWrap.is-scrolled .header__menu-label {
    color: #151515;
}

#headerWrap.is-scrolled .header__logo a {
    background: url("/images/header_logo.svg") no-repeat center center / cover;
}

#headerWrap.is-scrolled .hamburger {
    background: var(--main-color);
}

#headerWrap.is-scrolled .hamburger span {
    background: #fff;
}

#headerWrap.is-scrolled .circle-icon--main {
    background: #C7AC7A;
}


/* 메뉴 오픈 시 */
body.is-menu-open .header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    margin: 0 auto;
}

.circle-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-icon img {
    width: 20px;
    height: 20px;
}

.circle-icon--sm {
    width: 36px;
    height: 36px;
}

.circle-icon--main {
    background: var(--main-color);
    width: 50px;
    height: 50px;
}

body.is-menu-open .header .circle-icon--main {
    background: #C7AC7A;
}

.circle-icon--gold {
    background: #C7AC7A;
}

.hamburger {
    background: #fff;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 16px;
    height: 1px;
    background: #4A4A4A;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.is-menu-open .hamburger {
    background: var(--main-color);
}

body.is-menu-open .hamburger span {
    background: #fff;
}

body.is-menu-open .js-menu-toggle .hamburger span:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
}

body.is-menu-open .js-menu-toggle .hamburger span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

/* 로고 */
.header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.header__logo a {
    display: block;
    width: 96px;
    height: 56px;
    background: url("/images/header_logo_wh.svg") no-repeat center center / cover;
    transition: background-image 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.is-menu-open .header__logo a {
    background-image: url("/images/header_logo.svg");
}

/* Reservation / Menu */
.header__reservation {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__reservation-text,
.header__menu-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #fff;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.is-menu-open .header__reservation-text,
body.is-menu-open .header__menu-label {
    color: #000;
}

.header__menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
   PC Header
========================================= */
.header-pc {
    height: 100px;
}

.header-pc .header__inner {
    padding: 0 32px;
}

/* =========================================
   공통 : 전체화면 메뉴
========================================= */
.full-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: #F8F8F8;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.45s;
    overflow-y: auto;
}

.full-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.full-menu__inner {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.full-menu__close {
    position: absolute;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: red;
}

.full-menu__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1.5px;
    background: #fff;
}

.full-menu__close span:nth-child(1) {
    transform: translate(-50%, -50%)
    rotate(45deg);
}

.full-menu__close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.full-menu__auth {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 34px;
    padding: 0 16px;
    font-size: var(--f13);
}

.btn--primary {
    background: var(--main-color);
    color: #fff;
}

.btn--outline {
    border: 1px solid #939393;
    color: #484848;
    background: #fff;
}

.full-menu__sns {
    display: flex;
    gap: 14px;
    margin-top: auto;
}

.full-menu__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
}

.full-menu__sns img {
    width: 26px; height: 26px;
    object-fit: contain;
}

/* =========================================
   PC 전체메뉴
========================================= */

.full-menu--pc .full-menu__inner {
    padding: calc(100px + 42px) 40px 60px;
}

.full-menu--pc .full-menu__auth {
    margin-bottom: 48px;
}

.full-menu--pc .full-menu__sns {
    padding-top: 80px;
}

.full-menu--pc .full-menu__nav {
    width: 100%;
    max-width: 1100px;
}

.gnb-pc {
    display: flex;
    justify-content: center;
    gap: clamp(28px, 4vw, 70px);
}

.gnb-pc__item {
    text-align: center;
}

.gnb-pc__title {
    display: inline-block;
    font-size: var(--f20);
    font-weight: 600;
    color: #383838;
    padding-bottom: 8px;
    margin-bottom: 18px;
}

.gnb-pc__title--serif {
    font-weight: 400;
    letter-spacing: 0.05em;
}

.gnb-pc__sub {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.gnb-pc__sub li + li {
    margin-top: 4px;
}

.gnb-pc__sub a {
    display: inline-block;
    padding: 6px 4px;
    font-size: var(--f15);
    color: #424242;
}

.gnb-pc__sub a:hover {
    color: var(--main-color);
    font-weight: 600;
}

/* PC 메뉴 오픈 시 순차 등장 */
.full-menu--pc .gnb-pc__item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.full-menu--pc.is-open .gnb-pc__item {
    opacity: 1;
    transform: translateY(0);
}

.full-menu--pc.is-open .gnb-pc__item:nth-child(1) { transition-delay: 0.10s; }
.full-menu--pc.is-open .gnb-pc__item:nth-child(2) { transition-delay: 0.16s; }
.full-menu--pc.is-open .gnb-pc__item:nth-child(3) { transition-delay: 0.22s; }
.full-menu--pc.is-open .gnb-pc__item:nth-child(4) { transition-delay: 0.28s; }
.full-menu--pc.is-open .gnb-pc__item:nth-child(5) { transition-delay: 0.34s; }
.full-menu--pc.is-open .gnb-pc__item:nth-child(6) { transition-delay: 0.40s; }
.full-menu--pc.is-open .gnb-pc__item:nth-child(7) { transition-delay: 0.46s; }


/* =========================================
   header - content
========================================= */
body.content .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

body.content .header__reservation-text,
body.content .header__menu-label,
body.content .header__reservation-text,
body.content .header__menu-label {
    color: #151515;
}

body.content .header__logo a {
    background: url("/images/header_logo.svg") no-repeat center center / cover;
}

body.content .hamburger {
    background: var(--main-color);
}

body.content .hamburger span {
    background: #fff;
}

body.content .circle-icon--main {
    background: #C7AC7A;
}

/* =========================================
   공통 유틸
========================================= */
body.is-menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .full-menu,
    .full-menu--pc .gnb-pc__item { transition: none; }
}


/* =========================================
   footer
========================================= */
.footer {
    background-color: #4E4E4E;
    color: #fff;
}

.footer__inner {
    width: 100%;
}

.footer__top {
    display: flex;
    align-items: flex-start;
    padding: 80px 120px 60px;
}

.footer__logo {
    flex-shrink: 0;
    width: 100px;
    margin-top: 30px;
    margin-right: 100px;
}

.footer__logo img {
    display: block;
    width: 100%;
}

.footer__info {
    font-size: var(--f14);
    line-height: 1.85;
}

.footer__info span:not(:last-child) {
    margin-right: 26px;
}

.footer__util {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.footer__links {
    display: flex;
    gap: 30px;
}

.footer__links a {
    font-size: var(--f16);
}

.footer__sns {
    display: flex;
    gap: 10px;
}

.footer__sns a {
    display: block;
}

.footer__sns img {
    display: block;
    width: 34px;
    height: 34px;
}

.footer__family {
    width: 190px;
    margin-top: 56px;
}

.family {
    position: relative;
}

.family summary {
    position: relative;
    height: 38px;
    padding: 0 30px 0 14px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    line-height: 38px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.family summary::-webkit-details-marker {
    display: none;
}

.family summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #fff;
    transition: transform .2s;
}

.family[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.family__list {
    position: absolute;
    left: 0;
    bottom: 39px;
    width: 100%;
    max-height: 200px;
    background: #4E4E4E;
    border: 1px solid #fff;
    border-bottom: none;
    overflow-y: auto;
}

.family__list a {
    display: block;
    padding: 9px 14px;
    color: #fff;
    font-size: 16px;
    transition: background .2s;
}

.family__list a:hover {
    background: #555;
    color: #fff;
}

.footer__bottom {
    padding: 18px 0;
    text-align: center;
    position: relative;
}

.footer__bottom::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.47);
}

.footer__copy {
    font-size: 12px;
    letter-spacing: .3px;
    text-transform: uppercase;
}



/* alert 팝업 */
.alert-pop {
    width: 100%;
    position: fixed;
    inset: 0;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: rgba(0, 0, 0, 0.8);
}

.alert-inner {
    width: 80%;
    max-height: 70%;
    max-width: 440px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 16px;
    padding: 40px 36px 20px;
}

.alert-pop p {
    text-align: center;
    line-height: 1.3em;
    padding-bottom: 30px;
}


/* mobile */
@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 main
    ========================================= */
    header.header-mo {
        height: var(--header-h-mo);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: transparent;
        z-index: 100;
        transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    header.header-mo .header__inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        max-width: 100%;
        width: 100%;
        margin: auto;
        padding: 8px 16px;
        box-sizing: border-box;
    }

    header.header-mo .circle-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        color: #fff;
        transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    header.header-mo .circle-icon img {
        width: 16px;
        height: 16px;
    }

    header.header-mo .circle-icon--sm {
        width: 30px;
        height: 30px;
    }

    header.header-mo .circle-icon--main {
        background: var(--main-color);
    }

    header.header-mo .header__logo a {
        width: 75px;
        height: 44px;
    }

    header.header-mo .hamburger {
        background: #fff;
        gap: 4px;
    }

    header.header-mo .hamburger span {
        display: block;
        width: 16px;
        height: 1px;
        background: #4A4A4A;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    header.header-mo .header__reservation {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    header.header-mo .header__menu-label {
        font-size: 12px;
        letter-spacing: 0.08em;
        color: #fff;
        transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* =========================================
       header - content
    ========================================= */
    body.content header.header-mo .hamburger {
        background: var(--main-color);
    }

    body.content header.header-mo .hamburger span {
        background: #fff;
    }

    body.content header.header-mo .circle-icon--main {
        background: #C7AC7A;
    }

    /* nav */
    .full-menu--mo {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        z-index: 1000;
        background: #FBF8F5;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
    }

    .full-menu--mo.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    body.is-menu-open {
        overflow: hidden;
    }

    .full-menu__close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        background: #E6DDD3;
        border: 0;
        border-radius: 50%;
        cursor: pointer;
    }

    .full-menu__close::before,
    .full-menu__close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 14px;
        height: 1px;
        background: #fff;
    }

    .full-menu__close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .full-menu__close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .full-menu--mo .full-menu__top {
        width: 100%;
        height: 150px;
        padding-top: 35px;
    }

    .full-menu--mo .full-menu__top .full-menu__top-logo {
        background: url("/images/header_logo.svg") no-repeat center center / cover;
        width: 95px;
        height: 55px;
        margin: 0 auto;
        display: block;
    }

    .full-menu--mo .full-menu__top .login-box {
        display: flex;
        align-items: center;
        margin-top: 20px;
    }

    .full-menu--mo .full-menu__top .login-box a {
        display: block;
        width: 50%;
        background: var(--main-color);
        color: #fff;
        padding: 10px 0;
        text-align: center;
    }

    .full-menu--mo .full-menu__top .login-box a.mypage {
        background: #C9B392;
    }

    .gnb-mo__sub {
        height: 0;
        overflow: hidden;
        box-sizing: border-box;
        transition: height .3s ease;
    }

    .gnb-mo__item.is-open .gnb-mo__sub {
        border-top: 1px dashed #E9E9E9;
        border-bottom: 1px dashed #E9E9E9;
    }

    .full-menu--mo .full-menu__nav {
        width: 100%;
        padding: 50px 25px 30px 25px;
    }

    .gnb-mo__title {
        font-size: 20px;
        position: relative;
        display: flex;
        justify-content: space-between;
        padding: 20px 0;
        color: #414141;
    }

    .gnb-mo__item.is-open .gnb-mo__title {
        font-weight: 600;
    }

    .gnb-mo__title.js-acc-toggle::before,
    .gnb-mo__title.js-acc-toggle::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 4px;
        width: 14px;
        height: 1px;
        background: #333;
        transition: transform .3s ease;
    }

    .gnb-mo__title.js-acc-toggle::before {
        transform: translateY(-50%);
    }

    .gnb-mo__title.js-acc-toggle::after {
        transform: translateY(-50%) rotate(90deg);
    }

    .gnb-mo__item.is-open > .gnb-mo__title.js-acc-toggle::after {
        transform: translateY(-50%) rotate(0deg);
    }

    .gnb-mo__sub li a {
        font-size: 15px;
        position: relative;
        color: #414141;
        margin-left: 25px;
        padding: 20px 0;
        display: block;
    }

    .gnb-mo__sub li a::before {
        content: "";
        position: absolute;
        left: -20px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        background: #414141;
        border-radius: 50%;
    }


    /* =========================================
       footer
    ========================================= */

    .footer__inner {
        padding: 35px 20px 0;
    }

    .footer__top {
        flex-direction: column;
        gap: 24px;
        padding: 0 0 28px 0;
    }

    .footer__logo {
        width: 90px;
        margin-top: 0;
    }

    .footer__info {
        font-size: 12px;
    }

    .footer__info span {
        display: block;
        margin-right: 0;
    }

    .footer__util {
        width: 100%;
        margin-left: 0;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 14px 20px;
        order: 2;
    }

    .footer__links a {
        font-size: 13px;
    }

    .footer__sns {
        order: 1;
    }

    .footer__family {
        width: 100%;
        max-width: 260px;
        order: 3;
    }

    .footer__copy {
        font-size: 11px;
        line-height: 1.6;
        padding: 0 4px;
    }
}
