
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--secondary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.nav-logo{
    text-decoration: none;
}

.nav-logo h2 {
    color: var(--black);
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 10px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: var(--transition);
}

.nav-container > .cta-button{
    padding: 15px 20px;
    margin-right: 10px;
}
/* Hero Section */
.hero {
    padding: 120px 0 80px;
    /* background: linear-gradient(135deg, #ffffff 0%, var(--secondary-color) 100%); */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    background-color: #f7f2e2;
    font-family: "Space Grotesk", sans-serif;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.insert-back{
    position: absolute;
    font-size: 15rem;
    color: transparent;
    z-index: -1;
    writing-mode: vertical-rl;
    /* right: 20px; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-text-stroke: 7px white;
}

.hero-content h1 {
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--gray-dark);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.hero-quote {
    background-color: var(--primary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    max-width: 300px;
}

.hero-quote blockquote {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.hero-quote cite {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: -1;
    border-radius: 50% 20% 50% 20%;
    border: #fff solid 8px;
    aspect-ratio: 9 / 16;
    max-height: 600px;
    object-fit: cover;
}


/* categories */
.category{
    padding: 60px 3%;
    background-color: #fff;
}
.titles > span{
    font-size: 1.5rem;
    color: #FF5722;
    font-weight: 900;
}
.titles > h3{
    font-size: 5rem;
    color: #1a1a1a;
    /* margin-top: 10px; */
}
.titles > h3 > span{
    color: #FF5722;
}
.titles{
    text-align: left;
}
.categories{
    display: flex;
}
.category-list{
    background-color: #f7f2e2;
    padding: 20px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
}
.category-list > img{
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    box-shadow: var(--shadow-md);
}
.category-list > h4{
    font-size: 1.5rem;
    margin-top: 20px;
    text-align: center;
}
.category-list > p{
    font-size: 1.2rem;
    text-align: center;
}


/* about^-us */
.about-us{
    padding: 50px 3%;
    background-color: #f7f2e2;
    display: flex;
    justify-content: space-around;
}
.about-us > img{
    width: 40%;
    aspect-ratio: 9/16;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    position: relative;
}
.about-us-right{
    width: 45%;
    height: fit-content;
    margin: auto 0;
}
.about-us-description{
    margin: 20px 0;
}
.about-us-right > a{
    color: #fff;
    background-color: #FF5722;
    border-bottom: 5px solid #ec8b3b;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    width: fit-content;
    margin: 20px auto;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    font-weight: 900;
    font-size: 1.2rem;
}
.about-us-right > a:hover{
    margin-top: 23px;
    color: #fff;
    background: #FF5722;
    border-bottom: 2px solid #ec8b3b;
}
.about-us > img::after{
    content: "";
    background-image: url(../images/category-drink.jpg);
    object-fit: cover;
    position: absolute;
    background-size: cover;
    background-position: center;
    top: 10px;
    display: block;
    width: 90%;
    height: 100%;
    background-color: #db8d59;
    /* background-image: linear-gradient(0deg, rgba(253, 219, 146, 1), rgba(209, 253, 254, 1)); */
    rotate: -10deg;
    z-index: 0;
    border-radius: 20px;
    opacity: .8;
}

.about-us-images {
    width: 30%;
    position: relative;
}

.about-us-images .main-image {
    width: 100%;
    aspect-ratio: 9/16;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    rotate: 8deg;
    margin-left: 60px;
    border: #fff solid 3px;
}

.about-us-images .background-image {
    position: absolute;
    top: 10px;
    left: 0;
    width: 90%;
    height: 100%;
    background-size: cover;
    background-position: center;
    rotate: -10deg;
    z-index: 1;
    border-radius: 20px;
    opacity: .8;
    background-image: url(../images/category-drink.jpg);

}
.about-us-images .main-image,
.about-us-images .background-image {
    transition: all 0.5s ease-in-out;
}
.about-us-right > .titles {
    text-align: left;
}
.about-us-right > .titles > h3{
    font-size: 4rem;
}


/* menu */

.menus{
    padding: 50px 0;
}
.menus > .titles{
    padding: 0 3%;
    max-width: 800px;
}
.menu-content{
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.menu-category-image{
    width: 30%;
    display: flex; /* 追加 */
    flex-shrink: 0;
}

.menu-categories {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #f0f0f0;
    overflow-x: scroll;
}

.menu-tab {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: capitalize;
    font-weight: 500;
}

.menu-tab:hover {
    background-color: #f8f8f8;
}

.menu-tab.active {
    border-bottom-color: #ff6b35;
    color: #ff6b35;
    background-color: #fff5f2;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: calc(30vw * 16/9);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-details {
    flex: 1;
}

.menu-item-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.menu-item-description {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.menu-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    margin-left: 20px;
}

.menu-category-image img {
    width: 100%;
    /* height: 300px; */
    aspect-ratio: 9/16;
    object-fit: cover;
    /* border-radius: 8px; */
    transition: all 0.5s ease-in-out;
    flex: 1; /* 追加：親の高さに合わせて伸縮 */
}
.menu-content-main{
    width: 70%;
    padding: 0 20px;
    flex: 1; /* 残りのスペースを占有 */
    min-height: 0; /* flexの高さ計算を正常化 */
}

/* gallery */
.gallery{
    padding: 50px 3%;
    background-color: #f8f8f8;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 4rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


/* cta */
.cta{
    padding: 30px 3%;
    background-color: #3f9065;
    color: #fff;
    display: flex;
    justify-content: space-around;
}
.cta-container{
    max-width: 700px;
    /* margin: 0 auto; */
    width: 75%;
    height: fit-content;
    margin: auto;
}
.cta-container > h3{
    font-size: 4rem;
    max-width: 700px;
}
.cta-container > h3 > span{
    color: yellow;
}
.cta-links{
    margin: 20px 0;
    display: flex;
}
.cta-links > a{
    background-color: #79a78e;
    /* color: #3f9065; */
    padding: 10px 30px;
    width: fit-content;
    /* display: block; */
    display: inline-block;
    margin-right: 20px;
    font-size: 1.2rem;
    font-weight: 900;
    position: relative;
    z-index: 2;
}
.cta-links > a::after{
    position: absolute;
    /* top: 0; */
    height: 100%;
    width: 100%;
    content: "";
    /* left: 0; */
    /* bottom: -5px; */
    /* right: -5px; */
    top: -5px;
    left: -5px;
    background-color: #fff;
    z-index: -1;
    transition: all 0.3s ease;
}
.cta-links > a > span{
    color: #3f9065;
    z-index: 3;
    margin-bottom: 10px;
    margin-right: 10px;
    display: block;
}
.sns-contents{
    width: 25%;
}
.sns-links{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
}
.sns-link{
    margin: 10px 0;
}
.sns-link > a{
    display: block;
}
.sns-link > a > span{
    display: block;
}
.sns-link > a > i{
    font-size: 3rem;
}
.sns-content{
    height: fit-content;
    margin: auto 0;
    padding-left: 40px;
    border-left: dotted 2px #Fff;
}



/* hours-store-info */
.hours{
    width: 100%;
    position: relative;
    padding: 60px 0;
    z-index: 1;
    overflow-y: hidden;
}
.store-info{
    width: 100%;
    background-color: #f7f2e2;
    position: relative;
    padding: 60px 0;
    z-index: 1;
    overflow-y: hidden;
}
.hours > .titles > h3{
    font-size: 5rem;
}
.store-info > .titles > h3{
    font-size: 5rem;
}
.hours-container > .titles > h3 > span{
    display: block;
    line-height: .9;
}
.store-container > .titles > h3 > span{
    display: block;
    line-height: .9;
}
.hours-lists{
    margin: 30px 0;
}
.hours-lists > li{
    margin: 10px 0;
    border-bottom: 1px solid #666;
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    padding: 10px 0;
}
.hours-lists > li > .hours-wod{
    font-weight: 600;
    color: #FF5722;
}
.hours-lists > li > .opening-time{
    color: #666;
}
.store-info-contents{
    margin: 20px 0;
}
.store-info-contents > li{
    margin: 10px 0;
    font-size: 1.2rem;
}
.store-info-contents > li > span{
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}
.store-info-container-contents{
    display: flex;
}


.hours-container{
    max-width: 800px;
    margin: 0 auto;
}
.store-container{
    max-width: 800px;
    margin: 0 auto;
}
.back-letters{
    position: absolute;
    font-size: 10rem;
    color: transparent;
    z-index: -1;
    writing-mode: vertical-rl;
    /* right: 20px; */
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    /* -webkit-text-stroke: 7px #f7f2e2; */
    color: #f7f2e2;
    font-weight: 700;
}
.store-container > .back-letters{
    left: auto;
    right: -5%;
    color: #fff;
    z-index: 0;
}


/* map */
.map > iframe{
    width: 100vw;
    height: 40vh;
    max-height: 500px;
    display: block;
}




/* Footer */
.footer {
    background: #111;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

section{
    scroll-margin-top: 90px;
}

/* Responsive Design */
@media (max-width: 860px) {
    .about-us{
        flex-direction: column-reverse;
    }
    .about-us-images{
        width: 70%;
        margin: 50px auto;
    }
    .about-us-right{
        width: 100%;
        max-width: 600px;
    }
    .about-us-right > a{
        margin: 20px 0;
    }

    /* menu */

    .menu-content{
        gap: 0;
    }
    .hours{
        padding: 60px 20px;
    }
    .store-info{
        padding: 60px 20px;
    }
    .store-container > .back-letters{
        z-index: -1;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 2rem;
        padding: 2rem 0;
        transition: var(--transition);
        /* box-shadow: var(--shadow-lg); */
        z-index: 999;
        display: none;
    }
    .navbar{
        background-color: #fff;
    }
    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .nav-menu.active{
        display: flex;
        margin-left: 0;
    }


    /* hero */
    .hero-container{
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    .hero-container{
        gap: 0;
    }
    .hero-image img{
        /* aspect-ratio: 13/16; */
        aspect-ratio: 1/1;
        max-height: 500px;
    }
    .hero-buttons{
        margin-bottom: 1rem;
    }
    .secondary-button{
        background-color: #fff;
    }
    .insert-back{
        transform: none;
        bottom: -10%;
        top: auto;
        left: -10%;
    }
}
@media (max-width: 480px) {
    /* nav header */
    .nav-menu{
        /* top: 95px; */
    }

    /* about-us */
    .titles > h3{
        font-size: 3.5rem;
    }
    .about-us-images .main-image{
        margin-left: 0;
    }
    .about-us-images{
        width: 80%;
    }
    .menu-content{
        flex-direction: column;
    }
    .menu-category-image{
        width: 100%;
        aspect-ratio: 16/9 !important;
        height: auto !important;
    }
    .menu-category-image img{
        height: auto !important;
        aspect-ratio: 16/9 !important;
    }
    .menu-content-main{
        width: 100%;
        margin: 30px 0;
    }

    /* .cta */
    .cta{
        flex-direction: column;
        padding: 30px 5%;
    }
    .sns-content{
        border-left: none;
        padding-left: 0;
    }
    .sns-links{
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
    }
    .cta-container{
        width: 100%;
    }
    .cta-links{
        flex-wrap: wrap;
    }
    .cta-links > a{
        display: block;
        margin-bottom: 20px;
    }

    .gallery-item{
        aspect-ratio: 2/1;
    }

    .store-info-container-contents{
        flex-direction: column;
    }
}


/* Buy Hover */
/*  */
/* Delete this when you make website */
/*  */
.buy-hover{
    position: fixed;
    bottom: 0;
    background-color: #fff;
    width: 100%;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    text-align: center;
    z-index: 999;
    display: flex;
    justify-content: center;
    color: #1a1a1a;
    font-family: 'Open Sans', sans-serif;
    flex-direction: column;
}
.buy-hover > span{
    display: block;
    margin: auto 0;
}
.buy-hover-btns{
    display: flex;
    width: fit-content;
    margin: 20px auto 10px;
}
.buy-hover-btns > a{
    background-color: #e3fc03;
    color: #1a1a1a;
    font-size: .9rem;
    display: block;
    padding: 10px 40px 10px 30px;
    width: fit-content;
    text-align: center;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    /* min-width: 160px; */
    position: relative;
    margin: auto 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}
.buy-hover-btns > a::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 4px solid #000000;
    border-right: 4px solid rgb(0, 0, 0);
}
.buy-hover-btns > a:hover{
    background-color: #d4ed02;
    transform: translateY(-2px);
    transition: all .3s ease-in;
}
.buy-hover-btns > a.buy-hover-btns-back{
    background-color: #333;
    color: #fff;
    /* border: #1a1a1a 1px solid; */
}
.buy-hover-btns > a.buy-hover-btns-back::after{
    border-color: #fff;
}
@media (max-width: 600px) {
    .buy-hover{
        flex-direction: column;
    }
    .buy-hover > a{
        margin: 20px auto 0;
    }
    .buy-hover > span{
        font-size: .85rem;
    }
}