@charset "UTF-8";

html {
    font-size: 100%;
}

/* フォントを決める */
body {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", sans-serif;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* デザイン */
header,
footer {
    background-color: #6EDBC8;
}

.h_container,
.world_bf {
    width: 80%;
    margin: 0 auto;
}





/* メニュー */
.world_bf {
    margin: 50px auto 150px;
    padding: 50px 0;
    text-align: center;
    background-color: #f7f1e6;
    border-radius: 12px;

}

.title-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px;
}

.menu {
    /* グリッドレイアウト */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1046px;
    margin: 0 auto;
    padding: 0 20px;
}

.item {
    /* 各メニューアイテム */
    background-color: #fff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.item img {
    width: 100%;
    height: auto;
    display: block;
}

.item p {
    width: 86%;
    margin: 15px auto 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4C453F;
    text-align: left;
}

.chef {
    position: absolute;
    top: 20px;
    bottom: 10px;
    right: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 90%;
    height: auto;
    z-index: 2;
}

.item:hover .chef {
    opacity: 1;
}

/* メニューここまで */


/* フッター */
footer ul {
    display: flex;
    justify-content: center;
    gap: 36px;
}

footer img {
    object-fit: contain;
}

footer ul li {
    margin-top: 35px;
}

footer small {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    padding: 30px 0;
    color: #fff;
}

/* レスポンシブ */
/* PC用 */
@media(min-width:769px) {
    .sp-only {
        display: none;
    }
}

/* スマホ用 */
@media(max-width:768px) {
    .pc-only {
        display: none;
    }

    /* ハンバーガーメニュー */
    /* 閉じているとき */
    header nav {
        background-color: #6EDBC8;
        position: fixed;
        top: 47px;
        bottom: 0;
        right: -100%;
        left: 100%;
        transition: transform 0.3s ease-in-out;
    }

    /* 開いているとき */
    body.open nav {
        transform: translateX(-100%);
    }

    nav ul {
        background-color: #6EDBC8;
        font-size: 1.3rem;
        list-style: none;
        height: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    nav ul a {
        color: #fff;
    }

    nav ul a:hover {
        color: #f2d6a3;
    }

    .pc_nav {
        z-index: 10000;
    }

    /* ハンバーガーボタン */
    .hum-button {
        width: 50px;
        height: 50px;
        /* border: 1px solid currentColor; */
        margin-top: 24px;
    }

    .hum-button-line {
        display: flex;
        height: 1px;
        width: 30px;
        background-color: currentColor;
        margin: auto;
        position: relative;
        /* ポジション基準 */
    }

    .hum-button-line::before,
    .hum-button-line::after {
        display: block;
        content: '';
        height: 100%;
        width: 100%;
        background-color: currentColor;
        position: absolute;
        /* ポジション動かしたい方 */
    }

    .hum-button-line::before {
        top: -8px;
    }

    .hum-button-line::after {
        top: 8px;
    }

    /* ↓メニューが開いている状態のとき */
    body.open .hum-button-line {
        background-color: transparent;
        /* ↑背景が透明ということ */
    }

    body.open .hum-button-line::before {
        transform: rotate(45deg);
        top: 0;
    }

    body.open .hum-button-line::after {
        transform: rotate(-45deg);
        top: 0;
    }





    body {
        font-size: 0.875rem;
    }

    /* デザイン */
    .h_container,
    .world_bf {
        width: 90%;
        margin: 0 auto;
    }

    /* メニュー */

    .menu {
        grid-template-columns: 1fr;
        padding: 20px;
    }


    .item {
        padding: 10px;
        width: 80%;
        margin: 0 auto;
    }

    .item p {
        font-size: 0.8rem;
        width: 95%;
    }

    .chef img {
        width: 95%;
    }



    .world_bf {
        width: 90%;
        margin: 0 auto;
    }

    .world_bf {
        margin: 20px auto 80px;
        padding: 30px 10px;
        text-align: center;
    }

    /* メニューここまで */
}