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

:root {
  --red:    #c0392b;
  --dark:   #1a1a1a;
  --gold:   #d4a017;
  --bg:     #faf8f5;
  --card:   #ffffff;
  --text:   #333333;
  --muted:  #777777;
  --border: #e8e0d5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ヘッダー ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--red);
  transition: box-shadow 0.3s;
}

#header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #fff;
}
.logo-jp   { font-size: 13px; color: #aaa; letter-spacing: 0.1em; }
.logo-main { font-size: 26px; font-weight: 900; color: var(--gold); letter-spacing: 0.05em; }
.logo-sub  { font-size: 11px; letter-spacing: 0.2em; color: #888; }

nav ul {
  display: flex;
  gap: 32px;
}
nav a {
  color: #ddd;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
nav a:hover { color: var(--gold); }
nav a:hover::after { transform: scaleX(1); }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 0 clamp(24px, 6vw, 100px);
  background: var(--dark);
  overflow: hidden;
}

/* 背景グラデーション（写真の代わり） */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192,57,43,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(212,160,23,0.15) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
}

/* 大きな漢字の背景装飾（龍SVGがあるので非表示） */
.hero::after { content: none; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: left;
  flex: 1;
  max-width: 520px;
}

/* ===== ドラゴンロゴ ===== */
.hero-dragon-img {
  position: relative;
  flex: 0 0 auto;
  width: clamp(200px, 28vw, 340px);
  opacity: 0.93;
  z-index: 1;
  animation: dragonFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(212,160,23,0.55))
          drop-shadow(0 0 8px rgba(192,57,43,0.35));
  pointer-events: none;
}

@keyframes dragonFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero-tagline {
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-content h1 {
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-desc {
  margin-top: 20px;
  font-size: 15px;
  color: #ccc;
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.btn-hero {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 40px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 3px;
  border: 2px solid var(--red);
  transition: background 0.2s, color 0.2s;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.btn-hero:hover {
  background: transparent;
  color: var(--red);
}

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

/* ===== セクション共通 ===== */
.section { padding: 96px 0; }
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 56px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 0;
}

/* ===== 店舗紹介 ===== */
.about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--dark);
}
.about-text p { margin-bottom: 16px; color: #555; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.feature-icon { font-size: 32px; margin-bottom: 10px; }
.feature h4   { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.feature p    { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ===== メニュー ===== */
.menu { background: var(--bg); }

.menu-category { margin-bottom: 56px; }
.category-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  border-left: 4px solid var(--red);
  padding-left: 14px;
  margin-bottom: 28px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-card {
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.menu-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}

/* 各ラーメンの背景色 */
.ramen-tonkotsu { background: linear-gradient(135deg, #5c3317 0%, #8b4513 100%); }
.ramen-shoyu    { background: linear-gradient(135deg, #3d2b1f 0%, #6b4226 100%); }
.ramen-miso     { background: linear-gradient(135deg, #7a5c00 0%, #b8860b 100%); }
.ramen-shio     { background: linear-gradient(135deg, #1a3a4a 0%, #2e6b8a 100%); }
.ramen-spicy    { background: linear-gradient(135deg, #7a0000 0%, #c0392b 100%); }
.ramen-tsukemen { background: linear-gradient(135deg, #2d3a1f 0%, #4a6741 100%); }

.ramen-tonkotsu::before { content: '🍜'; }
.ramen-shoyu::before    { content: '🍜'; }
.ramen-miso::before     { content: '🍜'; }
.ramen-shio::before     { content: '🍜'; }
.ramen-spicy::before    { content: '🌶️'; font-size: 60px; }
.ramen-tsukemen::before { content: '🍝'; }

.menu-card-body { padding: 20px; }

.menu-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.menu-card-header h4 { font-size: 16px; font-weight: 700; }

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-popular { background: var(--red);  color: #fff; }
.badge-new     { background: var(--gold); color: #fff; }
.badge-spicy   { background: #ff4500;     color: #fff; }

.menu-card-body p { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.7; }

.price-tag {
  font-size: 26px;
  font-weight: 900;
  color: var(--red);
}
.price-tag span { font-size: 14px; font-weight: 400; margin-left: 2px; }

/* サイドメニュー */
.menu-grid-side {
  grid-template-columns: repeat(4, 1fr);
}
.menu-card-side {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.menu-card-side h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.menu-card-side p  { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }

/* トッピング */
.topping-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.topping-item {
  background: var(--card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 14px;
}
.topping-item span:last-child { font-weight: 700; color: var(--red); }

/* ===== 料金表 ===== */
.price-section { background: var(--dark); color: #fff; }
.price-section .section-title { color: #fff; }

.price-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.price-table thead tr {
  background: var(--red);
  color: #fff;
}
.price-table th, .price-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.price-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.price-table td:nth-child(2),
.price-table td:nth-child(3) { font-weight: 700; color: var(--gold); }

.price-note {
  font-size: 13px;
  color: #aaa;
  line-height: 1.8;
}

/* ===== 営業情報 ===== */
.info-section { background: #fff; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.info-block h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

.info-table { width: 100%; font-size: 14px; border-collapse: collapse; margin-bottom: 10px; }
.info-table td { padding: 8px 4px; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table td:first-child { width: 80px; color: var(--muted); font-weight: 700; }
.info-table .closed td { color: var(--red); }

.info-note { font-size: 12px; color: var(--muted); }

.info-block p { font-size: 14px; margin-bottom: 10px; color: #555; line-height: 1.8; }

.payment-list li { font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--border); }

/* ===== フッター ===== */
.footer {
  background: var(--dark);
  color: #aaa;
  text-align: center;
  padding: 40px 0;
}
.footer-logo {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.footer .logo-main { font-size: 22px; color: var(--gold); }
.footer .logo-jp   { font-size: 12px; color: #888; }
.footer p { font-size: 13px; margin-bottom: 6px; }
.footer-copy { font-size: 12px; color: #555; margin-top: 12px; }

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

  /* モバイル: ドラゴンをテキストの下に縦並び */
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 24px 48px;
    height: auto;
    min-height: 100vh;
  }
  .hero-content {
    text-align: center;
    max-width: 100%;
    order: 1;
  }
  .hero-dragon-img {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(82vw, 360px);
    margin-top: 36px;
    order: 2;
    animation: dragonFloatMobile 7s ease-in-out infinite;
  }
  @keyframes dragonFloatMobile {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
  }
}

@media (max-width: 600px) {
  nav ul { gap: 16px; }
  nav a  { font-size: 12px; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-grid-side { grid-template-columns: 1fr; }
  .topping-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}
