/*

Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/

*/
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html, body {
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    font-feature-settings: "palt" 1;
    letter-spacing: 0.05em;
}

#root, #__next {
    isolation: isolate;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    line-height: 1.5;
    color: #3F312B;
    background-color: #FEFDF9;

    .page-main {
        min-height: 100vh;
    }
}

a {
    color: inherit;
    text-decoration: none;
}
.text-left {
    text-align: left;
}
.is-pc {
    display: none;
    @media (min-width: 768px) {
        display: block;
    }
}
.is-sp {
    display: block;
    @media (min-width: 768px) {
        display: none;
    }
}

.section-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 90px 30px 80px;

    @media (min-width: 768px) {
        padding: 200px 20px;
    }
    
    @media screen and (min-width: 1024px) {
        width: 100%;
        max-width: calc(1200 / 1280 * 100vw);
    }
    @media screen and (min-width: 1280px) {
        width: 100%;
        max-width: 1280px;
        padding: 290px 40px 130px;
    }
}

.section-bg-soft {
    background-color: #F1EEE9;
    background-image: url('../images/bg1.jpg');
    background-repeat: repeat;
    background-position: center;
    background-size: auto;
}

/* Header & navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    .site-header-inner {
        /* max-width: 1280px; */
        margin: 0 auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;

        .menu-toggle {
            position: relative;
            width: 35px;
            height: 16px;
            padding: 0;
            margin-top: 27px;
            margin-right: 22px;
            border: none;
            background: transparent;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-end;
            z-index: 1001;
            @media (min-width: 768px) {
                width: 70px;
                height: 33px;
                margin-top: 54px;
                margin-right: 45px;
            }

            .menu-toggle-bar {
                width: 100%;
                height: 1px;
                background-color: #3F312B;
                transition: transform 0.2s ease, opacity 0.2s ease;
                @media (min-width: 768px) {
                    height: 2px;
                }
            }

            .menu-toggle-label {
                position: absolute;
                top: 120%;
                left: 50%;
                transform: translateX(-50%);
                color: #3F312B;
                font-size: 12px;
                letter-spacing: 0.08em;
                @media (min-width: 768px) {
                    font-size: 14px;
                }
            }

            &.is-active {
                .menu-toggle-bar:nth-child(1) {
                    transform: translateY(6px) rotate(45deg);
                    @media (min-width: 768px) {
                        transform: translateY(10px) rotate(45deg);
                    }
                }

                .menu-toggle-bar:nth-child(2) {
                    opacity: 0;
                }

                .menu-toggle-bar:nth-child(3) {
                    transform: translateY(-9px) rotate(-45deg);
                    @media (min-width: 768px) {
                        transform: translateY(-22px) rotate(-45deg);
                    }
                }
            }
        }
    }
}

.global-nav {
    position: fixed;
    z-index: 900;
    top: 0;
    right: -100%;
    width: 60%;
    background-color: rgba(255, 255, 255, 0.96);
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    @media (min-width: 768px) {
        max-width: 300px;
    }

    &.is-open {
        right: 0;
    }

    .global-nav-list {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 80px 24px 54px;
        padding: 20px 0 0 0;
        @media (min-width: 768px) {
            margin: 130px 40px 50px;
        }

        .global-nav-item {
            padding: 12px;
            border-top: solid 1px #DAC26B;
        }
        .global-nav-item:last-child {
            border-bottom: solid 1px #DAC26B;
        }

        .global-nav-link {
            font-size: 16px;
            letter-spacing: 0.08em;
            @media (min-width: 768px) {
                font-size: 18px;
            }
        }
    }
}


/* MV */
.mv-section {
    position: relative;

    .mv-image-wrap {
        width: 100%;
    }

    .mv-image {
        width: 100%;
        object-fit: cover;
    }

    .mv-logo {
        position: absolute;
        left: 25px;
        top: 25px;
        max-width: 100px;
        @media (min-width: 768px) {
            left: 40px;
            top: 47px;
            max-width: 204px;
        }
    }
}

/* Section headings */
.section-heading-vertical {
    writing-mode: vertical-rl;
    /* text-orientation: upright; */
    margin: auto;

    @media (min-width: 768px) and (max-width: 1199px) {
        position: absolute;
        right: 4%;
        top: 35px;
    }
    @media (min-width: 1200px) {
        position: absolute;
        right: 10%;
        top: 120px;
        margin: initial;
    }
    .section-title,
    .section-subtitle {
        margin: 0;
    }

    .section-title {
        font-size: 30px;
        font-weight: normal;
        @media (min-width: 768px) {
            font-size: 33px;
            letter-spacing: 0.08em;
        }
    }
    .section-subtitle {
        font-size: 12px;
        letter-spacing: 0.08em;
        margin-right: -26px;
        @media (min-width: 768px) {
            font-size: 14px;
            margin: 0;
        }
    }

}

/* News section */
.news-section {
    position: relative;

    .news-list-wrap {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-top: 60px;
        @media (min-width: 768px) {
            flex-direction: row;
            justify-content: center;
            gap: 60px;
            margin-top: 0;
        }

        .news-item {
            flex: 1;
            max-width: 360px;
            .news-image-wrap {
                margin-bottom: 12px;
            }

            .news-title {
                font-weight: normal;
                font-size: 20px;
            }
            .news-text {
                margin: 4px 0 0 0;
                font-size: 15px;
                text-align: justify;
            }
        }

        @media (min-width: 768px) {
            .news-item-step-1 {
                margin-top: -90px;
            }

            .news-item-step-2 {
                margin-top: 0;
            }

            .news-item-step-3 {
                margin-top: 90px;
            }
        }
    }
}

/* Concept & commitment  */

.concept-section,
.concept-section{
    position: relative;
}

.commitment-section {
    @media (min-width: 768px) {
        margin-top: 20px;
    }
}
.concept-layout,
.commitment-layout {
    position: relative;
    @media (min-width: 768px) {
        align-items: center;
        padding: 200px 0 50px;
    }

    .vertical-text-block {
        position: relative;
        margin: 60px auto 0;
        @media (min-width: 768px) {
            margin: auto;
        }
        p {
            margin-left: 26px;
            font-size: 15px;
            line-height: 2.5em;
            white-space: nowrap;
            @media (min-width: 768px) {
                margin: 0;
                font-size: 20px;
            }
            span {
                display: block;
                border-top: solid 1px #DAC26B;
                @media (min-width: 768px) {
                    border-top: none;
                    border-right: solid 1px #DAC26B;
                }
            }
            span:last-child {
                border-bottom: solid 1px #DAC26B;
                @media (min-width: 768px) {
                    border-bottom: none;
                    border-left: solid 1px #DAC26B;
                }
            }
        }
    }

    @media (min-width: 768px) {
        .vertical-text-block {
            writing-mode: vertical-rl;
            /* text-orientation: upright;
            padding-right: 10%; */
        }
    }
}

.photo-section {
    .photo-item {
        height: auto;
        margin-top: -15px;
        @media (min-width: 768px) {
            width: calc(896 / 1280 * 100%);
            margin-top: 50px;
        }
        img {
            width: 100%;
        }
    }
    .photo-item-right {
        margin-left: auto;
        @media (min-width: 768px) {
            margin-top: 30px;
        }
    }
}

/* Lunch section */
.lunch-section {
    position: relative;
    @media (min-width: 768px) {
        margin-top: 140px;
    }
    .lunch-list {
        display: grid;
        gap: 40px;
        margin-top: 60px;
        @media (min-width: 768px) {
            grid-template-columns: repeat(3, 1fr);
            gap: 20px 60px;
            margin-top: 0;
        }

        .lunch-item {
            text-align: center;

            .lunch-image-wrap {
                margin-bottom: 12px;
            }

            .lunch-name {
                margin: 0 0 4px;
                font-size: 20px;
                font-weight: normal;
                @media (min-width: 768px) {
                    font-size: 22px;
                }
            }

            .lunch-text {
                margin: 0;
                font-size: 13px;
                line-height: 1.7em;
                @media (min-width: 768px) {
                    font-size: 14px;
                    line-height: 1.8em;
                }
            }
        }
        .lunch-item-annotation {
            position: relative;
            .lunch-image-wrap {
                position: absolute;
                z-index: 1;
                top: 50%;
                right: 0;
                transform: translateY(-50%);
                max-width: 110px;
                @media (min-width: 768px) {
                    position: relative;
                    top: initial;
                    right: initial;
                    transform: initial;
                    max-width: 100%;
                }
                
            }
            .lunch-body {
                position: relative;
                z-index: 2;
            }
        }

        @media (min-width: 768px) {
            .lunch-item-step-1 {
                margin-top: -90px;
            }

            .lunch-item-step-2 {
                margin-top: 0;
            }

            .lunch-item-step-3 {
                margin-top: 90px;
            }
        }
    }
}

/* Shop section */
.shop-section {
    position: relative;

    .shop-layout {
        position: relative;
        display: block;
        padding-top: 95px;
        @media (min-width: 768px) {
            display: grid;
            grid-template-columns: calc(706 / 1280 * 100%) 1fr;
            column-gap: 40px;
            align-items: center;
            padding-top: 120px;
            padding-left: 0;
        }
        .shop-photo-item {
            margin: 55px 0 0 -30px;
            @media (min-width: 768px) {
                margin: 0;
                order: 1;
            }
        }
        .shop-text-block {
            margin-top: 60px;
            font-size: 14px;
            line-height: 1.8em;
            @media (min-width: 768px) {
                order: 2;
                writing-mode: vertical-rl;
                text-orientation: upright;
                padding: 0;
                margin: 140px 120px 0 0;
                font-size: 16px;
            }
        }
    }
}

/* Map */
.map-section {
    max-height: 375px;
    background-color: #ffffff;
    @media (min-width: 768px) {
        max-height: initial;
    }
    .map-frame-wrap iframe {
        display: block;
    }
}

/* Footer */
.site-footer {
    position: relative;
    padding: 30px 0 16px;
    border-top: solid 4px #C6A732;
    @media (min-width: 768px) {
        padding: 30px 0 40px;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
        max-width: 1280px;
        margin: 0 auto;
        text-align: center;
        @media (min-width: 768px) {
            flex-direction: row;
            gap: 0;
            padding-left: 80px;
            text-align: initial;
        }
        @media (min-width: 1024px) {
            padding-left: 120px;
        }

        .footer-logo-image {
            width: 84px;
            margin: auto;
            @media (min-width: 768px) {
                width: 120px;
                margin: initial;
            }
        }

        .footer-info {
            @media (min-width: 768px) {
                margin-left: 30px;
            }
            @media (min-width: 1024px) {
                margin-left: 90px;
            }
            p {
                line-height: 1.6em;
            }
        }
        .footer-shop-name {
            margin: 2px 0 0;
            font-size: 24px;
            @media (min-width: 768px) {
                margin: 20px 0 0;
            }
        }

        .footer-address {
            margin: 0;
        }
        .footer-copy {
            margin-top: 14px;
            font-size: 10px;
            @media (min-width: 768px) {
                margin-top: 40px;
                font-size: 12px;
            }
        }

        .footer-nav-list {
            list-style: none;
            padding: 0;
            @media (min-width: 768px) {
                margin: 20px 0 0 30px;
            }
            @media (min-width: 1024px) {
                margin: 20px 0 0 190px;
            }

            .footer-nav-item + .footer-nav-item {
                margin-top: 14px;
            }

            .footer-nav-link {
                font-size: 16px;
            }
        }
    }
}

/* トップへ戻るボタン */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #C6A732;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid #C6A732;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    z-index: 1002;
    @media (min-width: 768px) {
        right: 40px;
        bottom: 50px;
        width: 40px;
        height: 40px;
    }

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);

    .arrow {
        border-top: solid 1px white;
        border-right: solid 1px white;
        width: 12px;
        height: 12px;
        transform: rotate(-45deg);
        margin-top: 6px;
    }
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}