/* カフェ こもれび — ナチュラル・温かみのあるトーン */
:root {
  --bg: #faf6ef;
  --bg-alt: #f2ead9;
  --ink: #4a3f35;
  --sub: #7c6f61;
  --brown: #8b5e3c;
  --green: #7d9f6e;
  --line: #e5dcc9;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15px;
}

h1, h2, h3, .brand { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; }

img { max-width: 100%; display: block; }
a { color: var(--brown); }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--brown); }
.nav-cta {
  background: var(--brown);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 700;
}
.nav-cta:hover { opacity: 0.88; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ヒーロー */
.hero {
  position: relative;
  padding: 170px 20px 110px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(250, 246, 239, 0.82), rgba(250, 246, 239, 0.66) 55%, var(--bg)),
    url("../images/hero.jpg") center / cover no-repeat;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: #5c7a4f;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(30px, 5.4vw, 48px);
  line-height: 1.5;
  margin-top: 16px;
}
.hero-lead { margin-top: 20px; color: var(--sub); }
.btn {
  display: inline-block;
  margin-top: 32px;
  background: var(--brown);
  color: #fff;
  text-decoration: none;
  padding: 13px 40px;
  border-radius: 99px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(139, 94, 60, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(139, 94, 60, 0.36); }

/* セクション共通 */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--green);
  font-weight: 700;
}
.section-title {
  text-align: center;
  font-size: clamp(22px, 3.6vw, 30px);
  margin-top: 6px;
  margin-bottom: 44px;
}

/* こだわり */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
}
.feature-icon {
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h3 { font-size: 17px; margin-bottom: 10px; }
.feature p { font-size: 13.5px; color: var(--sub); text-align: left; }

/* メニュー */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.menu-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.menu-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* 画像注記（AI生成／サンプル画像・差し替え可能の表示） */
.photo-frame { position: relative; display: block; }
.photo-note {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  background: rgba(10, 8, 6, 0.62);
  color: #fff;
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  padding: 3px 7px;
  border-radius: 3px;
  max-width: calc(100% - 12px);
  text-align: right;
  pointer-events: none;
}
.menu-body { padding: 16px 16px 18px; }
.menu-body h3 { font-size: 15.5px; }
.menu-desc { font-size: 12.5px; color: var(--sub); margin-top: 6px; min-height: 3em; }
.menu-price { margin-top: 8px; font-weight: 700; color: var(--brown); }
.menu-note { margin-top: 24px; text-align: center; font-size: 12.5px; color: var(--sub); }

/* 店舗情報 */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 96px; background: var(--bg-alt); font-weight: 700; white-space: nowrap; }
.map-ph {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--sub);
  min-height: 260px;
  font-size: 14px;
}
.map-ph small { color: #a89b8a; }

/* SNS */
.sns {
  background: var(--green);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.sns-title { font-size: 22px; margin-bottom: 10px; }
.sns p { font-size: 14px; opacity: 0.95; }
.sns-links { margin-top: 24px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--green);
  text-decoration: none;
  padding: 10px 26px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s;
}
.sns-btn:hover { transform: translateY(-2px); }

/* フッター */
.site-footer {
  background: #3e352c;
  color: #d8cfc2;
  text-align: center;
  padding: 36px 0;
}
.footer-brand { font-family: "Zen Maru Gothic", sans-serif; font-size: 18px; font-weight: 700; color: #fff; }
.footer-addr { font-size: 12.5px; margin-top: 8px; }
.footer-copy { font-size: 11.5px; margin-top: 14px; opacity: 0.7; }

/* フェードイン */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* レスポンシブ */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 24px; width: 100%; text-align: center; }
  .nav-cta { width: auto !important; margin: 8px auto 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 120px 20px 70px; }
  .section { padding: 60px 0; }
  .features { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .map-ph { min-height: 200px; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-photo { height: 180px; }
}
