/* HEADER柔軟化 */
header {
    padding: 1rem 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

}

.logo img {
    height: clamp(40px, 5vw, 60px)
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 3vw, 30px);
    list-style: none;
    padding: 0;
    margin: 0;
}

nav a {
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 400;
    color: black;
    text-decoration: none;
}

nav a:hover {
    color: blue;
    text-decoration: underline;
}

@media screen and (max-width: 500px) {
    header {
        display: none;
    }
}


.hero {
    color: #fff;
    text-align: center;
    height: clamp(400px, 80vh, 650px);
    background-image: url(../img/図3.png);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 700;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 400;
    margin-top: 1rem;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

.main-section {
    padding: 80px 0 100px;

    .heading-group {
        text-align: center;
        margin: 0 0 60px;

        h2 {
            color: #8B7452;
            font-size: 14px;
            font-weight: 700;
        }

        span {
            color: #222;
            font-size: 14px;
            font-weight: 400;
            letter-spacing: 0.08em;
            display: block;
            margin-top: 10px;
        }

        &::after {
            content: "";
            display: block;
            width: 40px;
            height: 4px;
            background-color: #6A9631;
            background-repeat: 4px;
            margin: 30px auto 0;
        }
    }
}

.about .layout,
.shop .layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 60px);
}

.about {

    background-color: #F3F1EE;


    .layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 60px;
    }

    .image {
        border-radius: 40px;
        overflow: hidden;

        img {
            width: 100%;
            aspect-ratio: 5 / 4;
            object-fit: cover;
        }
    }

    .text {
        img {
            height: 60px;
        }

        h3 {
            font-size: 28px;
            font-weight: 700;
            margin-top: 20px;
        }

        p {
            margin-top: 20px;
        }
    }
}


.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

p,
.card__text_02,
.card__text2_02 {
    font-size: clamp(12px, 2vw, 16px);
}

/* カードの横幅調整 */
.l-wrapper_02 {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}


.card-radius_02 {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
}

.card_02 {
    background-color: #fff;
    box-shadow: 0 0 0px rgba(0, 0, 0, .16);
    color: #212121;
    text-decoration: none;
}

.card__header_02 {
    display: flex;
    flex-wrap: wrap;
}

.card__title_02 {
    padding: 1rem 1.5rem 0;
    font-size: 1.6rem;
    order: 1;
    font-weight: bold;
    text-decoration: none;
    /*線の種類（実線） 太さ 色*/
    border-bottom: solid 3px black;

}

.card__thumbnail_02 {
    margin: 0;
    order: 0;
}

.card__image_02 {
    width: 100%;

}

.card__body_02 {
    padding: 0 1.5rem;
}

.card__text_02 {
    font-size: .8rem;
    text-align: center;
    text-decoration: none;
}

.card__text2_02 {
    font-size: .7rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.card-link_06 {
    text-align: center;
    border-top: 1px solid #eee;
    padding: 20px;
}

.card-link_06 a {
    text-decoration: none;
    color: #4f96f6;
    margin: 0 10px;
}

.card-link_06 a:hover {
    color: #6bb6ff;
}


.menu {
    background-color: #F3F1EE;
}

.menu-card {
    padding: 10px;
    background-color: #fff;
    border-radius: 20px;
    display: grid;
    gap: 5px;

    img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: 12px;
    }

    .name {
        font-size: 14px;
    }

    .price {
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0;
        text-align: right;
    }
}


.menu-list {
    display: grid;
    list-style: none;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    justify-content: center;
    /* 追加：カードを中央寄せに */
    padding: 0;
}

.menu-card {
    max-width: 220px;
    /* カード幅の上限を指定 */
    margin: 0 auto;
    /* カード自体も中央揃えに */
}

@media (max-width: 600px) {
    .menu-list {
        grid-template-columns: repeat(2, 1fr);
    }
}




.shop {
    .layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 60px;
    }


    .text {
        h3 {
            text-align: center;
            font-size: 20px;
            font-weight: 700;
            margin: 0 0 20px;
            display: flex;
            align-items: baseline;
            gap: 1em;

            span {
                font-size: 0.6em;
            }
        }
    }
}




dl {
    display: grid;
    grid-template-columns: 100px 1fr;

    dt,
    dd {
        font-size: 14px;
        padding: 10px;
        border-top: 1px solid #ccc;
    }
}

.layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.text {
    max-width: 700px;
}

.heading-group h2 {
    font-size: 2rem;
    font-weight: bold;
}

.heading-group h2 span {
    display: block;
    font-size: 1.2rem;
    color: #555;
    margin-top: 0.5rem;
}

.map {
    border-radius: 50px;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
}

.map iframe {
    width: 100%;
    aspect-ratio: 5/4;
    height: auto;
    max-height: 500px;
}

.contact {
    text-align: center;
    background-color: #F3F1EE;


}




.number {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;

    img {
        width: 1em;
    }
}



footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #8B7452;


    .logo {
        display: block;

        img {
            display: block;
            height: 60px;
        }
    }

    nav {
        ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 20px;
            list-style: none;
            padding: 0;
            margin: 0 0 20px;
        }
    }

    a {
        color: #FFF;
        font-size: 14px;
        font-weight: 400;

        &:hover {
            color: #F6F7F8;
            text-decoration: underline;

        }
    }

    .copyright {
        color: #FFF;
    }


}

.Lower-main {
    padding: 80px 0 100px;
    background-color: #F3F1EE;
}

.Lower-heading-group {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 20px;
    margin: 0 0 40px;

    h2 {
        font-size: 40px;
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    /* ここを header nav ul に限定するのがポイント */
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }


    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .about .layout,
    .shop .layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .map iframe {
        height: 300px;
    }
}


.snsbtniti {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    max-width: 350px;
    margin: 0 auto;
    padding: 0 !important;
    list-style-type: none !important;
}

.snsbtniti li {
    flex: 0 0 33%;
    text-align: center !important;
}

.flowbtn2 {
    font-family: 'Noto Sans Japanese', sans-serif;
    position: relative;
    display: inline-block;
    width: 75px;
    height: 65px;
    font-size: 30px;
    border-radius: 4px;
    transition: .5s;
    text-decoration: none;
    margin-bottom: 10px;
    color: #fff;
    /* テキストは白 */
}

.flowbtn2 i {
    position: relative;
    top: 5px;
}

.flowbtn2 div {
    font-size: 12px;
    font-weight: bold;
}

/* Instagram 常にカラー背景 */
.my_instagram2 {
    background: linear-gradient(45deg, rgba(254, 212, 117, 1) 0%, rgba(229, 61, 93, 1) 50%, rgba(194, 49, 134, 1) 70%, rgba(156, 56, 187, 1) 100%);
    border: solid 1px #c6529a;
}

/* LINE 常にカラー背景 */
.my_line2 {
    background-color: #00b900;
    border: solid 1px #00b900;
}

.snsbtniti {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    /* ここが「1fr」的な役割になります */
    max-width: 350px;
    margin: 0 auto;
    padding: 0 !important;
    list-style-type: none !important;
}

.snsbtniti li {
    text-align: center !important;
}