/* =====================================================================
   style.css — サイトのデザイン
   ※ 色を変えたいときは下の「色の設定」の値だけ変更してください。
   ===================================================================== */

:root {
  /* ---------- 色の設定（ここを変えるとサイト全体の色が変わります） ---------- */
  --color-bg: #faf6f0;         /* ページ背景（クリーム） */
  --color-text: #3d3229;       /* 基本の文字色（こげ茶） */
  --color-main: #6f4e37;       /* メインカラー（コーヒーブラウン） */
  --color-accent: #c47a4a;     /* アクセント（テラコッタ） */
  --color-white: #ffffff;
  --color-line: #e5dccf;       /* 罫線 */

  /* ---------- フォント ---------- */
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

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

/* =====================================================
   ヘッダー
   ===================================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
#site-header.is-scrolled {
  background: rgba(250, 246, 240, 0.94);
  box-shadow: 0 1px 12px rgba(61, 50, 41, 0.08);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.logo-en {
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--color-main);
}
#site-header:not(.is-scrolled) .logo-en { color: var(--color-white); text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.logo-ja {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--color-main);
}
#site-header:not(.is-scrolled) .logo-ja { color: var(--color-white); text-shadow: 0 1px 8px rgba(0,0,0,0.35); }

#global-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
#global-nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-main);
  padding: 6px 2px;
  position: relative;
}
#site-header:not(.is-scrolled) #global-nav a { color: var(--color-white); text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
#global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.25s;
}
#global-nav a:hover::after { transform: scaleX(1); }

#nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 110;
}
#nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--color-main);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
#site-header:not(.is-scrolled) #nav-toggle span { background: var(--color-white); }
body.nav-open #nav-toggle span { background: var(--color-main); }
body.nav-open #nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open #nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open #nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================================================
   ヒーロー（トップ）
   ===================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(40, 28, 18, 0.25), rgba(40, 28, 18, 0.45));
}
.hero-text {
  position: relative;
  text-align: center;
  color: var(--color-white);
  padding: 0 24px;
  animation: heroIn 1.4s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-catch {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.14em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  width: 1px; height: 44px;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%; height: 100%;
  background: var(--color-white);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* =====================================================
   セクション共通
   ===================================================== */
.section { padding: 96px 0; }
.section:nth-of-type(odd) { background: var(--color-white); }
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-en {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--color-accent);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-top: 6px;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px; height: 2px;
  background: var(--color-accent);
  margin: 18px auto 0;
}

/* スクロールで表示されるアニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   一押しメニュー / 物販 のカード
   ===================================================== */
.recommend-grid, .goods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.recommend-card, .goods-card {
  background: var(--color-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(61, 50, 41, 0.08);
  transition: opacity 0.8s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.section:nth-of-type(even) .recommend-card,
.section:nth-of-type(even) .goods-card { background: var(--color-white); }
.recommend-card:hover, .goods-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(61, 50, 41, 0.14);
}
.card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.recommend-card:hover .card-photo img,
.goods-card:hover .card-photo img { transform: scale(1.06); }
.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
}
.card-body { padding: 22px 22px 26px; }
.card-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.card-price {
  color: var(--color-accent);
  font-weight: 700;
  margin-top: 4px;
}
.card-desc {
  font-size: 13.5px;
  margin-top: 10px;
  color: #5f5347;
}

/* =====================================================
   メニュー
   ===================================================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.menu-category-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-main);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.menu-list { list-style: none; }
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--color-line);
  font-size: 15px;
}
.menu-dots { flex: 1; }
.menu-price { font-weight: 500; white-space: nowrap; }
.menu-note {
  margin-top: 40px;
  font-size: 12.5px;
  color: #8a7c6d;
  text-align: center;
}

/* =====================================================
   店内の様子（ギャラリー）
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 6px 20px rgba(61, 50, 41, 0.08);
}
.gallery-item img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  font-size: 12.5px;
  padding: 10px 14px;
  color: #6b5d4f;
}

/* =====================================================
   店舗のご案内（アクセス）
   ===================================================== */
.access-wrap { display: grid; gap: 40px; }
.access-mode-both { grid-template-columns: 1fr 1fr; align-items: start; }
.access-table { display: block; }
.access-table > div {
  display: flex;
  border-bottom: 1px solid var(--color-line);
  padding: 13px 4px;
  font-size: 14.5px;
}
.access-table dt {
  flex: 0 0 96px;
  font-weight: 700;
  color: var(--color-main);
}
.access-table dd { flex: 1; }
.access-embed iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(61, 50, 41, 0.1);
  background: var(--color-white);
}

/* =====================================================
   物販
   ===================================================== */
.goods-lead {
  text-align: center;
  margin: -24px 0 48px;
  font-size: 15px;
}
.goods-button-wrap { text-align: center; margin-top: 52px; }
.goods-button {
  display: inline-block;
  background: var(--color-main);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 16px 56px;
  border-radius: 999px;
  transition: background 0.3s, transform 0.3s;
}
.goods-button:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

/* =====================================================
   フッター
   ===================================================== */
#site-footer {
  background: var(--color-main);
  color: rgba(255, 255, 255, 0.9);
  padding: 56px 24px 40px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-en);
  font-size: 24px;
  letter-spacing: 0.22em;
}
.footer-sns {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.footer-sns a {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}
.footer-sns a:hover { color: var(--color-white); border-color: var(--color-white); }
.footer-copy {
  margin-top: 28px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   スマートフォン対応
   ===================================================== */
@media (max-width: 900px) {
  .recommend-grid, .goods-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .access-mode-both { grid-template-columns: 1fr; }
}

/* ナビゲーションはこの幅からハンバーガーメニューに切り替わる */
@media (max-width: 960px) {
  #nav-toggle { display: flex; }
  #global-nav {
    position: fixed;
    inset: 0;
    background: rgba(250, 246, 240, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  body.nav-open #global-nav { opacity: 1; visibility: visible; }
  #global-nav ul { flex-direction: column; text-align: center; gap: 20px; }
  #global-nav a { font-size: 18px; color: var(--color-main) !important; text-shadow: none !important; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .recommend-grid, .goods-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; gap: 32px; }
  .access-table dt { flex-basis: 82px; }
}
