/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ボディの基本設定 */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}
/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #6f4f37;
    color: white;
}

header .logo h1 {
    font-size: 2rem;
}

header .navbar {
    display: flex;
}

header .navbar ul {
    list-style: none;
    display: flex;
}

header .navbar ul li {
    margin: 0 15px;
}

header .navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

header .hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
}

/* メニューセクション */
.menu-hero {
  background-color: #f8c88c; /* キャラメル色 */
  padding: 50px 10%;
  text-align: center;
}

.menu-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.menu-hero p {
  font-size: 1.2rem;
}

/* メニューアイテム */
.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 50px 10%;
  background-color: white;
}

.menu-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
}

.menu-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.menu-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.menu-item p {
  font-size: 1rem;
  color: #777;
}
/* サブタイトルスタイル */
.subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    position: relative;
}

.subtitle-title {
    font-size: 2rem;
    font-weight: bold;
    color: #6f4f37; /* カフェブラウン */
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.subtitle-title::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #f8c88c; /* キャラメルカラー */
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3.subtitle-title.food::after {
    content: '🍽️'; /* フードアイコン */
    position: absolute;
    font-size: 1.5rem;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
h3.subtitle-title.drink::after {
    content: "🥤"; 
    position: absolute;
    font-size: 1.5rem;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}


/* フッター */
footer {
  text-align: center;
  padding: 20px;
  background-color: #6f4f37;
  color: white;
}
/* モバイル向けのレスポンシブ設定 */
@media screen and (max-width: 768px) {
    header .navbar {
        display: none;
    }

    header .hamburger {
        display: flex;
    }

    .navbar.active {
        display: block;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #6f4f37;
        padding: 20px;
        border-radius: 8px;
    }

    .navbar.active ul {
        flex-direction: column;
    }

    .navbar.active ul li {
        margin: 10px 0;
    }

    .navbar.active ul li a {
        font-size: 1.2rem;
        color: white;
    }
}