:root {
    --primary-color: #ffbc0d;
    --accent-color: #db0007;
}

body { font-family: sans-serif; margin: 0; background: #f8f8f8; }

header { background: #fff; text-align: center; padding: 20px; border-bottom: 3px solid var(--primary-color); }

.badge { display: inline-block; padding: 6px 16px; border-radius: 20px; color: #fff; font-weight: bold; margin-top: 10px; }
.lunch-mode { background-color: var(--accent-color); }
.dinner-mode { background-color: #2c3e50; }

.category-nav { display: flex; justify-content: center; gap: 10px; padding: 20px; }
.tab-btn { border: none; padding: 10px 25px; border-radius: 30px; cursor: pointer; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.tab-btn.active { background: var(--primary-color); font-weight: bold; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding: 20px; max-width: 1100px; margin: 0 auto; }

.menu-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: opacity 0.3s; }

/* JavaScriptで制御する非表示クラス */
.menu-card.hidden { display: none; }

.card-img-wrapper { width: 100%; height: 160px; background: #eee; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.card-content { padding: 15px; }
.card-title { font-size: 1.1rem; margin: 0 0 8px; color: #333; }
.card-desc { font-size: 0.85rem; color: #666; line-height: 1.5; margin-bottom: 15px; height: 3em; overflow: hidden; }
.card-price { font-weight: bold; font-size: 1.2rem; color: var(--accent-color); }
.card-price span { font-size: 0.8rem; color: var(--accent-color); }