/* ===== CSS変数 ===== */
:root {
  --bg: #f5f0e8;
  --bg-sub: #ede5d8;
  --bg-card: #faf7f2;
  --bg-dark: #2c1f10;
  --text: #1e140a;
  --text-muted: #7a6248;
  --text-light: #f5f0e8;
  --accent: #c0392b;
  --gold: #8c6e2f;
  --border: #c8b89a;
  --border-light: #ddd0bc;
  --nav-height: 68px;
  --font-body: "Noto Sans JP", sans-serif;
  --font-display: "Yuji Syuku", serif;
}

/* ===== リセット & 基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scrollbar-gutter: stable;
  font-size: 16px;
  line-height: 1.8;
}

/* ===== ナビ ===== */
nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  background: #2c1f10;
  border-bottom: 2px solid var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 100;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: #f5f0e8;
  text-decoration: none;
}

.logo .emblem {
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 700;
}

/* ===== ハンバーガーボタン ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f5f0e8;
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: #c8a87a;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-menu a:hover { color: #f5f0e8; }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: #f5f0e8; }

/* ===== モバイル対応 ===== */
@media (max-width: 760px) {
  nav { padding: 0 16px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #2c1f10;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--gold);
    z-index: 99;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(200,168,122,0.2);
  }
  .nav-menu a::after { display: none; }

  .logo { font-size: 1.1rem; }
  .logo .emblem { font-size: 1.6rem; }
  .ink { font-size: 28px; }
  .page-hero h1 { font-size: 1.6rem; }
  main { padding: 32px 16px 60px; }
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  height: 68vh;
  margin-top: var(--nav-height);
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 0, 0.5);
}

.slogan {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slogan svg { width: 92%; max-width: 960px; }

.ink {
  font-family: var(--font-display);
  fill: #f5f0e8;
  font-size: 50px;
  letter-spacing: 0.06em;
}

/* ===== 商品スクロール ===== */
.product-scroll {
  background: var(--bg-sub);
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 60s linear infinite;
}

.product-track:hover { animation-play-state: paused; }

.product-item {
  width: 260px;
  height: 170px;
  margin: 0 10px;
  background: var(--border);
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 2px;
}

.product-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== ページ内ヒーロー（サブページ用） ===== */
.page-hero {
  margin-top: var(--nav-height);
  padding: 56px 20px 36px;
  background: #2c1f10;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: #f5f0e8;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.page-hero p {
  color: #8c7a5a;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
}

/* ===== メインコンテンツ ===== */
main {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 40px 80px;
  box-sizing: border-box;
}

/* ===== テーブル ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

th, td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 1rem;
  text-align: left;
  color: var(--text);
}

th {
  width: 32%;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  background: var(--bg-sub);
}

/* ===== マップ ===== */
.map-wrap {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ===== 準備中 ===== */
.coming-soon {
  text-align: center;
  padding: 80px 20px;
}

.coming-soon .cs-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  opacity: 0.25;
}

.coming-soon h2 {
  font-size: 1.5rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.coming-soon p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== フッター ===== */
footer {
  background: #2c1f10;
  color: #7a6248;
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  padding: 36px 20px;
  border-top: 2px solid var(--gold);
}

footer a { color: #8c7a5a; text-decoration: none; }

/* ===== フェードイン ===== */
.fade-in { animation: fadeIn 0.5s ease both; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


