/* ============================================================
   観戦居酒屋あっちゃん家 スタイルシート
   カラーはロゴ準拠：赤・黄・紺・クリーム
   ============================================================ */

:root {
  --red: #d7263d;
  --yellow: #f9c22e;
  --navy: #17255a;
  --navy-dark: #101b40;
  --cream: #fff8ec;
  --white: #ffffff;
  --text: #2b2b2b;
  --font-head: "Mochiy Pop One", sans-serif;
  --font-body: "Zen Maru Gothic", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
}

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

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

.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 4px 12px rgba(215,38,61,0.4); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-insta {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(220,39,67,0.35);
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 16px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.header-logo { display: flex; align-items: center; gap: 8px; }
.logo-mark { font-size: 1.3rem; }
.logo-text { font-family: var(--font-head); font-size: 1rem; color: var(--navy); }

.nav { display: flex; gap: 24px; align-items: center; }
.nav a { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.nav a:hover { color: var(--red); }
.nav-reserve {
  background: var(--red); color: var(--white) !important;
  padding: 8px 20px; border-radius: 999px;
}
.nav-toggle { display: none; }

@media (max-width: 767px) {
  .logo-text { font-size: 0.85rem; }
  .nav {
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 14px 20px; width: 100%; text-align: center; border-top: 1px solid #eee; }
  .nav-reserve { border-radius: 0; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 8px; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; transition: 0.3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden;
  margin-top: 60px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(249,194,46,0.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(215,38,61,0.3) 0%, transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  background-size: cover; background-position: center;
}
.hero-bg.has-photo::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(16,27,64,0.55);
}
.hero-content { position: relative; padding: 60px 20px; }
.hero-badge {
  display: inline-block; background: var(--yellow); color: var(--navy);
  font-weight: 700; padding: 6px 20px; border-radius: 999px; margin-bottom: 24px;
}
.hero-title-sub {
  display: block; font-family: var(--font-head);
  font-size: clamp(1.1rem, 3.5vw, 1.6rem); color: var(--yellow); margin-bottom: 8px;
}
.hero-title-main {
  display: block; font-family: var(--font-head);
  font-size: clamp(2.6rem, 9vw, 5rem); line-height: 1.2;
  text-shadow: 4px 4px 0 var(--red);
}
.hero-catch { margin: 24px 0 36px; font-size: clamp(1rem, 3vw, 1.25rem); font-weight: 500; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 0.75rem; letter-spacing: 2px; opacity: 0.7;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }

/* ---------- セクション共通 ---------- */
.section { padding: 72px 0; }
.section-title {
  font-family: var(--font-head); font-size: clamp(1.5rem, 5vw, 2rem);
  text-align: center; color: var(--navy); margin-bottom: 40px;
}
.section-en {
  display: block; font-size: 0.8rem; letter-spacing: 3px;
  color: var(--red); margin-bottom: 4px;
}

/* ---------- お店について ---------- */
.about-lead { text-align: center; font-size: 1.05rem; margin-bottom: 48px; }
.about-lead strong { color: var(--red); }
.feature-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.feature-card {
  background: var(--white); border-radius: 16px; padding: 28px 22px;
  box-shadow: 0 4px 14px rgba(23,37,90,0.08);
  border-top: 4px solid var(--yellow);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 12px; }
.feature-title { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.feature-text { font-size: 0.92rem; text-wrap: pretty; }

/* ---------- ギャラリー ---------- */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder {
  aspect-ratio: 1; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--cream), #ffe9c2);
  border: 2px dashed var(--yellow);
}
.gallery-note { grid-column: 1 / -1; text-align: center; color: #888; font-size: 0.9rem; }

/* ---------- メニュー ---------- */
.menu-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.menu-card {
  background: var(--white); border-radius: 16px; padding: 26px 26px 16px;
  box-shadow: 0 4px 14px rgba(23,37,90,0.08);
  height: 400px; display: flex; flex-direction: column;
}
.menu-items-wrap { flex: 1; overflow-y: auto; padding-right: 8px; min-height: 0; }
/* スクロールバーを常時見せて「続きがある」ことを伝える */
.menu-items-wrap::-webkit-scrollbar { width: 6px; }
.menu-items-wrap::-webkit-scrollbar-track { background: #f1ece0; border-radius: 3px; }
.menu-items-wrap::-webkit-scrollbar-thumb { background: #c9c2b2; border-radius: 3px; }
.menu-scroll-hint { font-size: 0.72rem; color: #aaa; text-align: right; padding-top: 6px; }
.menu-category {
  font-family: var(--font-head); font-size: 1.15rem; color: var(--white);
  background: var(--red); display: inline-block; align-self: flex-start;
  padding: 4px 18px; border-radius: 999px; margin-bottom: 6px;
}
.menu-cat-note { font-size: 0.82rem; color: #888; margin-bottom: 12px; }
.menu-items { list-style: none; }
.menu-items li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-bottom: 1px dashed #ddd; font-size: 0.95rem;
}
.menu-items li:last-child { border-bottom: none; }
.menu-item-sub { display: block; font-size: 0.78rem; color: #999; line-height: 1.4; }
.menu-items li.menu-subheading {
  display: block; border-bottom: 2px solid var(--yellow);
  font-family: var(--font-head); font-size: 0.85rem; color: var(--navy);
  padding: 12px 0 2px;
}
.menu-items li.menu-subheading:first-child { padding-top: 0; }
.menu-price { font-weight: 700; color: var(--navy); white-space: nowrap; margin-left: 12px; }
.menu-note {
  text-align: center; margin-top: 28px; color: #888;
  white-space: nowrap; font-size: clamp(0.6rem, 3.2vw, 0.85rem);
}

/* ---------- お知らせ ---------- */
.news { background: var(--navy); color: var(--white); }
.news .section-title { color: var(--white); }
.news .section-en { color: var(--yellow); }
.news-list { list-style: none; max-width: 720px; margin: 0 auto 48px; }
.news-item {
  background: rgba(255,255,255,0.07); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 14px;
  border-left: 4px solid var(--yellow);
}
.news-date { font-size: 0.8rem; color: var(--yellow); font-weight: 700; }
.news-title { font-weight: 700; font-size: 1.02rem; margin: 2px 0 4px; }
.news-text { font-size: 0.9rem; opacity: 0.9; }
.insta-block { text-align: center; }
.insta-lead { margin-bottom: 20px; font-weight: 500; }
.insta-embeds {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  margin-bottom: 24px;
}
.insta-embeds blockquote { min-width: 300px; max-width: 400px; }

/* ---------- 店舗情報 ---------- */
.info-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .info-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 14px 8px; border-bottom: 1px solid #e5dcc8; text-align: left; vertical-align: top; }
.info-table th { width: 100px; color: var(--red); font-family: var(--font-head); font-weight: 400; font-size: 0.92rem; white-space: nowrap; }
.info-table td { font-size: 0.95rem; }
.info-table a { color: var(--navy); text-decoration: underline; }
.info-map { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(23,37,90,0.12); }
.map-link {
  display: block; text-align: center; padding: 12px;
  background: var(--white); color: var(--navy);
  font-weight: 700; font-size: 0.92rem;
}
.map-link:hover { color: var(--red); }

/* ---------- 予約 ---------- */
.reserve {
  background: linear-gradient(160deg, var(--red) 0%, #a81b2e 100%);
  color: var(--white); text-align: center;
}
.reserve-title { color: var(--white); }
.reserve .section-en { color: var(--yellow); }
.reserve-lead {
  margin-bottom: 24px; white-space: nowrap;
  font-size: clamp(0.78rem, 3.9vw, 1.05rem);
}
.reserve-tel {
  display: inline-block; font-family: var(--font-head);
  font-size: clamp(1.4rem, 5.5vw, 2.8rem);
  white-space: nowrap;
  background: var(--white); color: var(--red);
  padding: 16px clamp(20px, 6vw, 40px); border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.reserve-tel:hover { transform: scale(1.03); }
.reserve-note {
  margin-top: 18px; opacity: 0.9;
  white-space: nowrap; font-size: clamp(0.6rem, 3.3vw, 0.88rem);
}
/* スマホ幅だけ有効な改行 */
@media (min-width: 768px) { .sp-only { display: none; } }

/* ---------- フッター ---------- */
.footer { background: var(--navy-dark); color: var(--white); text-align: center; padding: 36px 20px 90px; }
.footer-logo { font-family: var(--font-head); margin-bottom: 8px; }
.footer-roman { color: var(--yellow); font-size: 0.85rem; margin-left: 8px; }
.footer-copy { font-size: 0.78rem; opacity: 0.6; }
@media (min-width: 768px) { .footer { padding-bottom: 36px; } }

/* ---------- スマホ固定電話バー ---------- */
.fixed-tel {
  position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 90;
  background: var(--red); color: var(--white); text-align: center;
  font-family: var(--font-head); font-size: 1.05rem;
  padding: 14px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(215,38,61,0.5);
}
@media (min-width: 768px) { .fixed-tel { display: none; } }
