/* =========================================================
   HEADER
========================================================= */

.c-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;

    width: 100%;
}

.c-header__fixed {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 100px;
}


/* =========================================================
   MENU BUTTON
========================================================= */

.c-menu-button {
    position: absolute;
    top: 25px;
    left: 33px;
    z-index: 4;

    display: flex;
    align-items: center;

    height: 50px;

    cursor: pointer;
}

.c-menu-button__icon {
    position: relative;

    display: block;

    width: 32px;
    height: 50px;
}

.c-menu-button__icon span {
    position: absolute;
    left: 50%;

    width: 22px;
    height: 1px;

    background: #fff;

    transition:
        transform 0.3s ease,
        top 0.3s ease,
        background 0.3s ease;
}

.c-menu-button__icon span:first-child {
    top: 21px;

    transform: translateX(-50%);
}

.c-menu-button__icon span:last-child {
    top: 28px;

    transform: translateX(-50%);
}

.c-menu-button__text {
    margin-left: 14px;

    color: #fff;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.06em;

    transition: color 0.3s ease;
}


/* =========================================================
   FIXED RESERVE
========================================================= */

.c-header__reserve {
    position: absolute;
    top: 35px;
    right: 45px;

    color: #fff;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.06em;

    transition:
        color 0.3s ease,
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* =========================================================
   HEADER CENTER LOGO
========================================================= */

.c-header__logo {
    position: fixed;
    z-index: 1001;

    top: 28px;
    left: 50%;

    display: block;

    width: 175px;

    transform: translate(-50%, -6px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        visibility 0.6s ease;
}

.c-header__logo.is-visible {
    transform: translate(-50%, 0);

    opacity: 1;
    visibility: visible;
}

.c-header__logo-image {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   SCROLLED HEADER
========================================================= */

.c-header.is-scrolled .c-menu-button__icon span {
    background: #222;
}

.c-header.is-scrolled .c-menu-button__text,
.c-header.is-scrolled .c-header__reserve {
    color: #222;
}


/* =========================================================
   OVERLAY MENU
========================================================= */

.c-header__panel {
    position: fixed;
    inset: 0;
    z-index: 2;

    width: 100%;
    height: 100vh;

    visibility: hidden;
    opacity: 0;

    background: #f7f5f0;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}

.c-header__panel.is-active {
    visibility: visible;
    opacity: 1;
}

.c-header__panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;

    width: 100%;
    height: 100%;
}


/* =========================================================
   NAVIGATION
========================================================= */

.c-nav {
    display: flex;

    width: 100%;
    height: 100%;

    padding:
        105px
        clamp(60px, 6.5vw, 100px)
        40px;
}

.c-nav__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;
    height: 100%;
    max-width: 500px;
}


/* =========================================================
   PRIMARY NAVIGATION
========================================================= */

.c-nav__primary {
    width: 100%;

    margin: auto 0 0;
    padding: 0;

    list-style: none;
}

.c-nav__primary li {
    margin: 0 0 22px;
}

.c-nav__primary li:last-child {
    margin-bottom: 0;
}

.c-nav__primary a {
    display: flex;
    align-items: center;

    width: max-content;

    color: #292824;

    font-family:
        "shippori-mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        "Yu Mincho",
        serif;

    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.1em;

    text-decoration: none;
}

.c-nav__primary a::before {
    content: "";

    display: block;
    flex: 0 0 auto;

    width: 0;
    height: 1px;

    margin-right: 0;

    opacity: 0;

    background: rgba(41, 40, 36, 0.5);

    transition:
        width 0.35s ease,
        margin-right 0.35s ease,
        opacity 0.35s ease;
}

.c-nav__primary a > span {
    display: block;
}

.c-nav__primary a:hover {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {

    .c-nav__primary a:hover::before {
        width: 32px;
        margin-right: 18px;

        opacity: 1;
    }

}


/* =========================================================
   SECONDARY NAVIGATION
========================================================= */

.c-nav__secondary {
    display: flex;
    align-items: center;

    gap: 42px;

    width: 100%;

    margin-top: 60px;
}

.c-nav__secondary a {
    color: #5f5e5c;

    font-family:
        "shippori-mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        "Yu Mincho",
        serif;

    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.1em;

    text-decoration: none;
}

.c-nav__contact {
    display: inline-flex;
    align-items: center;

    transition: opacity 0.3s ease;
}

.c-nav__contact:hover {
    opacity: 0.5;
}


/* =========================================================
   RESERVATION LINK
========================================================= */

.c-nav__reserve {
    display: inline-flex;
    align-items: center;

    gap: 14px;

    width: auto;
    min-height: 0;

    margin: 0;
    padding: 0;

    border: 0;

    color: #5f5e5c;
}

.c-nav__reserve-arrow {
    display: inline-block;

    font-family:
        "Times New Roman",
        serif;

    font-size: 1.25rem;
    line-height: 1;

    transition: transform 0.3s ease;
}

.c-nav__reserve:hover {
    opacity: 0.55;

    color: #5f5e5c;
    background: transparent;
}

.c-nav__reserve:hover .c-nav__reserve-arrow {
    transform: translateX(5px);
}


/* =========================================================
   SOCIAL / COPYRIGHT
========================================================= */

.c-nav__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    width: 100%;

    margin-top: auto;
    padding-top: 35px;
}

.c-nav__social {
    display: flex;
    align-items: center;

    gap: 15px;
}

.c-nav__social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.c-nav__social-link:hover {
    opacity: 0.5;

    transform: translateY(-2px);
}

.c-nav__social-link img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter: brightness(0) saturate(100%) invert(35%);
}

.c-nav__copyright {
    margin: 0;

    color: #77736c;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.055em;

    white-space: nowrap;
}


/* =========================================================
   MENU VISUAL
========================================================= */

.c-header__visual {
    width: 100%;
    height: 100%;

    overflow: hidden;
}

.c-header__visual-image {
    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.05)
        ),
        url("../../../../uploads/2026/10/メニュー横画像DSC03075.jpg")
        center center / cover no-repeat;
}


/* =========================================================
   MENU OPEN
========================================================= */

body.is-menu-open .c-menu-button__icon span {
    background: #222;
}

body.is-menu-open .c-menu-button__icon span:first-child {
    top: 25px;

    transform: translateX(-50%) rotate(45deg);
}

body.is-menu-open .c-menu-button__icon span:last-child {
    top: 25px;

    transform: translateX(-50%) rotate(-45deg);
}

body.is-menu-open .c-menu-button__text {
    color: #222;
}

body.is-menu-open .c-header__fixed > .c-header__reserve {
    visibility: hidden;
    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   MOBILE HEADER
   BRAND BREAKPOINT: 834px
========================================================= */

@media screen and (max-width: 834px) {

    /* HEADER */

    .c-header__fixed {
        height: 70px;
    }


    /* MENU BUTTON */

    .c-menu-button {
        top: 35px;
        left: 8px;

        height: 50px;

        transform: translateY(-50%);
    }

    .c-menu-button__icon {
        width: 45px;
        height: 50px;
    }

    .c-menu-button__icon span {
        width: 18px;
    }

    .c-menu-button__text {
        display: none;
    }


    /* CENTER LOGO */

    .c-header__logo {
        top: 35px;

        width: 132px;

        transform: translate(-50%, calc(-50% - 6px));
    }

    .c-header__logo.is-visible {
        transform: translate(-50%, -50%);
    }


    /* RESERVE */

    .c-header__reserve {
        top: 35px;
        right: 25px;

        display: flex;
        align-items: center;

        height: 50px;

        font-size: 1.4rem;

        transform: translateY(-50%);
    }


    /* OVERLAY MENU */

    .c-header__panel {
        height: 100dvh;

        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .c-header__panel-inner {
        display: block;
        height: auto;
        min-height: 100%;
    }

    .c-nav {
        align-items: center;

        min-height: 100dvh;
        height: auto;

        padding:
            90px
            25px
            30px;
    }

    .c-nav__inner {
        max-width: none;
        height: auto;

        justify-content: center;
    }


    /* PRIMARY NAVIGATION */

    .c-nav__primary {
        margin: 0;
    }

    .c-nav__primary li {
        margin-bottom: 18px;
    }

    .c-nav__primary a {
        max-width: 280px;

        font-size: 2.5rem;
        letter-spacing: 0.09em;
    }


    /* SECONDARY NAVIGATION */

    .c-nav__secondary {
        gap: 32px;

        margin-top: 30px;
    }

    .c-nav__secondary a {
        font-size: 1.05rem;
    }


    /* SOCIAL / COPYRIGHT */

.c-nav__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    margin-top: 25px;
    padding-top: 0;
}

.c-nav__copyright {
    align-self: flex-start;

    margin-top: clamp(50px, 10vh, 100px);

    text-align: left;
    font-size: 0.82rem;
}

.c-nav__social {
    gap: 0;
}

.c-nav__social-link {
    width: 40px;
    height: 40px;
}

.c-nav__social-link img {
    width: 20px;
    height: 20px;
}

    .c-nav__copyright {
        font-size: 0.82rem;
    }


    /* HIDE PC VISUAL */

    .c-header__visual {
        display: none;
    }

}