@charset "UTF-8";

/* ====================================
   メニューリスト用スタイル（共通・スマホ）
   ==================================== */

/* コンテナ全体の幅と中央寄せ */
.menu_container {
    width: 100%;
    max-width: 1000px; /* PCでの最大幅（サイトに合わせて調整可） */
    margin: 0 auto;
    padding: 20px 10px; /* 全体の内側余白 */
    box-sizing: border-box;
}

/* リスト全体の設定（Flexboxで横並びにする） */
.menu_list {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */
    padding: 0;
    margin: 0;
    list-style: none; /* ・を消す */
}

/* 各メニュー（スマホ版：2列） */
.menu_list li {
    width: 48%;           /* スマホは横幅の約半分 */
    margin-right: 4%;     /* 右の余白 */
    margin-bottom: 30px;  /* 下の余白 */
    box-sizing: border-box;
}

/* スマホ：2個ごとの右余白をゼロにする（綺麗に揃えるため） */
.menu_list li:nth-child(2n) {
    margin-right: 0;
}

/* --- 中身のデザイン --- */

/* 写真部分 */
.menu_list .photo {
    width: 100%;
    margin-bottom: 10px;
}

.menu_list .photo img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    border-radius: 8px; /* 写真の角を少し丸くする */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* ほんのり影をつける */
}

/* 料理名 */
.menu_list .name {
    font-size: 16px;       /* 文字サイズ */
    font-weight: bold;     /* 太字 */
    color: #333;           /* 文字色 */
    margin: 0 0 5px 0;     /* 余白調整 */
    text-align: center;    /* 中央揃え */
    line-height: 1.4;
}

/* 料金 */
.menu_list .price {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

/* 税込価格（小さく表示） */
.menu_list .price span {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-left: 5px;
}


/* ====================================
   PC用レイアウト（画面幅750px以上）
   ==================================== */
@media screen and (min-width: 750px) {

    .menu_list li {
        width: 32%;   
        margin-right: 2%; /* 余白を少し狭める */
        margin-bottom: 40px;
    }

    /* スマホ用の「2個ごとの余白なし」設定をリセット */
    .menu_list li:nth-child(2n) {
        margin-right: 2%;
    }

    /* PC：4個ごとの右余白をゼロにする */
    .menu_list li:nth-child(3n) {
        margin-right: 0;
    }

    /* PC：文字サイズを少し大きく調整 */
    .menu_list .name {
        font-size: 18px;
    }
}

/* ====================================
   写真2枚＋文章レイアウト（menu_double）
   ==================================== */

/* --- 共通・スマホ用設定 --- */

/* リストアイテム自体は縦積み（1行に1メニュー）にする */
.menu_double li {
    width: 100%;          /* 幅いっぱい */
    margin-right: 0;      /* 横並びリストの余白設定をリセット */
    margin-bottom: 50px;  /* 下のメニューとの間隔 */
    
    display: flex;        /* 中身を横並びにする */
    flex-wrap: wrap;      /* 折り返しを許可（これが重要！） */
    justify-content: space-between; /* 両端揃えで間隔を自動調整 */
}

/* 写真の設定（スマホでは2列） */
.menu_double .photo {
    width: 48%;           /* 2枚並ぶように48%に設定 */
    margin-bottom: 15px;  /* 文章との間隔 */
}

/* 共通の写真スタイル（以前のものと同じでOKならそのままで） */
.menu_double .photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 文章エリア（スマホでは下に落ちて幅いっぱい） */
.menu_double .text_area {
    width: 100%;          /* スマホでは幅100%で下に表示 */
    padding: 0 5px;       /* 少し内側に余白 */
    box-sizing: border-box;
}

/* 文章内のスタイル調整 */
.menu_double .name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;     /* 左揃えに変更（お好みで） */
}

.menu_double .desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555;
}

.menu_double .price {
    text-align: right;    /* 価格は右寄せなどお好みで */
    font-size: 18px;
}


/* --- PC用レイアウト（画面幅750px以上） --- */
@media screen and (min-width: 750px) {

    /* PCでは写真2枚と文章を横一列に並べる */
    .menu_double li {
        justify-content: flex-start; 
    }

    .menu_double .photo {
        width: 30%;  
        margin-right: 3%;     
        margin-bottom: 0; 
    }

    .menu_double .text_area {
        width: 34%;       
        padding-left: 0; /* 写真との間隔を空ける */
        display: flex;      /* 文章エリア内を縦中央揃えにするためのFlex */
        flex-direction: column;
        justify-content: center; /* 垂直方向の中央揃え */
    }
}

/* ====================================
   ドリンクメニュー（点線リスト）
   ==================================== */

/* リスト全体の枠 */
.drink_list {
    display: flex;
    flex-wrap: wrap;       /* 折り返しあり */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 各メニューの行設定 */
.drink_list li {
    width: 100%;           /* スマホは横幅いっぱい（1列） */
    margin-bottom: 20px;   /* 下の行との間隔 */
    padding-bottom: 5px;   /* 文字と点線の間の余白 */
    
    /* 文字の並び設定 */
    display: flex;
    justify-content: space-between; /* 名前と価格を左右端に配置 */
    align-items: flex-end;          /* 文字の下揃え */
    
    /* 下の点線設定 */
    border-bottom: 1px dotted #093f86; /* 指定の色で点線 */
}

/* ドリンク名 */
.drink_list .name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* 価格 */
.drink_list .price {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    letter-spacing: 1px; /* 数字を見やすく少し広げる */
}

/* --- PC用レイアウト（画面幅750px以上） --- */
@media screen and (min-width: 750px) {

    /* PCは2列にする */
    .drink_list li {
        width: 46%;          /* 2つ並ぶ幅（余白分を引く） */
        margin-right: 8%;    /* 真ん中の余白 */
        margin-bottom: 30px; /* PCでの行間 */
    }

    /* 2個目（右側）の右余白をゼロにする */
    .drink_list li:nth-child(2n) {
        margin-right: 0;
    }
}