/* ===== Design tokens ===== */
:root {
  --color-bg: #fbf7f0;
  --color-bg-alt: #f3ebdd;
  --color-text: #3a3027;
  --color-muted: #8a7d6e;
  --color-brand: #a9744f;
  --color-brand-dark: #8a5a3a;
  --color-accent: #6f8f6a;
  --color-white: #ffffff;
  --shadow: 0 14px 40px rgba(80, 56, 36, 0.12);
  --radius: 14px;
  --max: 1120px;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
}

/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 90%; max-width: var(--max); margin: 0 auto; }

.section { padding: 96px 0; }

.section-label {
  font-family: var(--sans);
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-desc { color: var(--color-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--color-brand);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(169, 116, 79, 0.35);
}
.btn-primary:hover { background: var(--color-brand-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(251, 247, 240, 0.95);
  box-shadow: 0 4px 20px rgba(80, 56, 36, 0.08);
  padding: 12px 0;
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color 0.3s ease;
}
.logo span { color: #ffd9a8; }
.scrolled .logo { color: var(--color-text); }
.scrolled .logo span { color: var(--color-brand); }

.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color 0.2s ease;
}
.nav a:hover { color: #ffd9a8; }
.scrolled .nav a { color: var(--color-text); }
.scrolled .nav a:hover { color: var(--color-brand); }
.nav-cta {
  border: 1.5px solid currentColor;
  padding: 8px 18px;
  border-radius: 999px;
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.scrolled .nav-toggle span { background: var(--color-text); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  background: url("https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat fixed;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,48,39,0.45) 0%, rgba(58,48,39,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-sub {
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0.9;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.hero-lead { font-size: 1.02rem; margin-bottom: 36px; opacity: 0.95; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-down {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  font-size: 0.9rem;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text p { color: var(--color-muted); margin-bottom: 16px; }
.feature-list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.feature-list li {
  display: flex; align-items: center; gap: 14px;
  font-weight: 600; color: var(--color-text);
}
.feature-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--color-bg-alt);
  color: var(--color-brand);
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 700;
}

/* ===== Menu ===== */
.menu { background: var(--color-bg-alt); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.menu-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(80,56,36,0.18); }
.menu-img { height: 190px; background-size: cover; background-position: center; }
.menu-body { padding: 22px 24px 26px; }
.menu-body h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
}
.price { color: var(--color-brand); font-size: 1rem; font-weight: 700; white-space: nowrap; }
.menu-body p { color: var(--color-muted); font-size: 0.9rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* ===== Info ===== */
.info { background: var(--color-bg-alt); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.info-list { margin-top: 28px; }
.info-list > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(138,125,110,0.25);
}
.info-list dt { font-weight: 700; color: var(--color-brand); }
.info-list dd { color: var(--color-text); }
.info-map iframe {
  width: 100%; height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Contact ===== */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.92rem; }
.req {
  font-size: 0.7rem;
  background: var(--color-brand);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e3d8c6;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(169,116,79,0.15);
}
.form-row.invalid input, .form-row.invalid textarea { border-color: #d9534f; }
.error { color: #d9534f; font-size: 0.82rem; margin-top: 6px; min-height: 1em; }
.form-success {
  margin-top: 18px;
  padding: 14px 16px;
  background: #eef4ec;
  color: var(--color-accent);
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer { background: #3a3027; color: #e9ddcc; padding: 50px 0 30px; text-align: center; }
.footer-logo { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 14px; }
.footer-logo span { color: #ffd9a8; }
.footer-note { font-size: 0.82rem; opacity: 0.7; margin-bottom: 10px; }
.copyright { font-size: 0.78rem; opacity: 0.55; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(76%, 320px);
    background: var(--color-bg);
    box-shadow: -10px 0 40px rgba(80,56,36,0.18);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    align-items: center;
    padding: 40px;
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; gap: 26px; width: 100%; align-items: flex-start; }
  .nav a, .scrolled .nav a { color: var(--color-text); font-size: 1.05rem; }
  .nav-toggle.open span { background: var(--color-text); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { background-attachment: scroll; }
  .about-grid, .info-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { order: -1; }
  .menu-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}
