@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Playfair+Display:ital,wght@0,400;1,500&display=swap');

:root {
  --bg-color: #fdfaf7;
  --main-text: #332f2d;
  --accent-color: #b88a5d;
  --sub-text: #8e8581;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Serif JP', serif;
  background-color: var(--bg-color);
  color: var(--main-text);
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Header: 最初は自然に配置、スクロールで上部に固定される --- */
header {
  background-color: var(--bg-color);
  padding: 20px 0;
  position: sticky; /* スクロールすると固定される魔法のプロパティ */
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(184, 138, 93, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  letter-spacing: 0.15em;
  color: var(--accent-color);
}

nav ul { display: flex; gap: 30px; }
nav ul li a { 
  font-size: 13px; 
  font-weight: bold; 
  letter-spacing: 0.1em;
  color: var(--main-text);
}

nav ul li a:hover { color: var(--accent-color); }

/* --- Hero Section: 画像の大きさを画面の半分くらいに調整 --- */
.hero {
  height: 60vh; /* 画面の高さの60%に制限 */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* 文字を見やすくするため少し暗く */
  z-index: -1;
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

/* --- Section Common --- */
.section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 40px; color: var(--accent-color); font-weight: 400; }
.section-title span { display: block; font-size: 13px; color: var(--sub-text); margin-top: 10px; letter-spacing: 0.2em; }

/* --- Menu Page: 画像付きカードデザイン --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.menu-item-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: 0.3s;
}

.menu-item-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

.menu-item-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.menu-item-card:hover .menu-item-img img { transform: scale(1.1); }

.menu-item-info { padding: 25px; }

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.menu-item-name { font-weight: 700; font-size: 18px; }
.menu-item-price { font-family: 'Playfair Display', serif; color: var(--accent-color); font-weight: 500; }

.menu-item-desc { font-size: 14px; color: var(--sub-text); line-height: 1.6; }

/* --- Footer --- */
footer { padding: 60px 0; background: #332f2d; color: var(--white); text-align: center; font-size: 12px; }

/* --- Page Header (Individual Pages) --- */
.page-header {
  height: 40vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

/* --- 前回のCSSに以下を上書き・追記してください --- */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Playfair+Display:ital,wght@0,400;1,500&family=Great+Vibes&display=swap');

/* ... (既存の変数はそのまま) ... */

/* 背景パララックス用の設定 */
.parallax-bg {
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.parallax-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.2); /* 画像を少し暗くして文字を見やすく */
}

/* 筆記体デコレーション */
.section-title {
  position: relative;
  padding-top: 20px;
}
.section-title .deco-text {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Great Vibes', cursive;
  font-size: 80px;
  color: rgba(212, 163, 115, 0.1); /* 薄いアクセントカラー */
  white-space: nowrap;
  z-index: -1;
}

/* スクロールを促すマウスアイコン（Heroに追加） */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-down::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--white);
  position: absolute;
  top: 25px;
  left: 50%;
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Menu Digest Section --- */
.menu-digest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin: 50px 0;
}

.menu-digest-item {
  text-align: center;
}

.menu-digest-circle {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(184, 138, 93, 0.15);
  transition: 0.5s;
}

.menu-digest-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.menu-digest-item:hover .menu-digest-circle {
  transform: translateY(-10px);
}

.menu-digest-item:hover .menu-digest-circle img {
  transform: scale(1.1);
}

.menu-digest-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.menu-digest-price {
  font-family: 'Playfair Display', serif;
  color: var(--accent-color);
  font-size: 14px;
}

/* ボタンのデザイン調整 */
.btn-outline {
  display: inline-block;
  margin-top: 20px;
  border: 1px solid var(--accent-color);
  padding: 15px 50px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  background: transparent;
  transition: 0.4s;
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--white);
}