/* ============================================================
   Real Wagyu Club for Business — Landing Page
   Dark, premium, photo-first. Mobile-first responsive.
   ============================================================ */

:root {
  --bg: #131311;
  --bg-alt: #1b1a18;
  --surface: #22211e;
  --ink: #f1ece3;
  --muted: #b3aca0;
  --accent: #9d2933;        /* deep sashi red */
  --accent-strong: #b8323d;
  --line: rgba(241, 236, 227, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

h1 { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.9rem;
}

.lead { color: var(--muted); max-width: 46em; margin-bottom: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-lg { font-size: 1.05rem; padding: 1.05rem 2.2rem; }
.btn-sm { font-size: 0.85rem; padding: 0.5rem 1.1rem; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.85rem 1.8rem;
}
.btn-outline:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

.text-link {
  color: var(--accent-strong);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: var(--accent-strong); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(rgba(19, 19, 17, 0.85), rgba(19, 19, 17, 0.55));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(19, 19, 17, 0.96);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { font-style: italic; font-size: 0.85em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}
.nav a:not(.btn):hover { opacity: 1; color: var(--accent-strong); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(19, 19, 17, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 20px 1.2rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 0.8rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; }
  .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 ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,19,17,0.55) 0%, rgba(19,19,17,0.35) 45%, rgba(19,19,17,0.88) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 72px;
  max-width: 800px;
  margin-left: max(calc((100% - 1120px) / 2), 0px);
}
.hero .eyebrow { color: var(--ink); opacity: 0.8; }
.hero-sub {
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  color: var(--ink);
  opacity: 0.9;
  margin: 1.2rem 0 2.2rem;
  max-width: 36em;
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trustbar-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  padding: 1.1rem 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.trust-item:last-child { border-bottom: none; }
.trust-item:hover { color: var(--ink); }

@media (min-width: 720px) {
  .trustbar-inner { grid-template-columns: repeat(3, 1fr); }
  .trust-item { border-bottom: none; border-right: 1px solid var(--line); justify-content: center; padding: 1.2rem 1rem; }
  .trust-item:last-child { border-right: none; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-cta { margin-top: 2rem; }

@media (min-width: 820px) {
  .section { padding: 104px 0; }
}

/* ---------- Placeholders (image slots pending) ---------- */
.ph {
  position: relative;
  background: repeating-linear-gradient(45deg, #2a2a28, #2a2a28 12px, #262624 12px, #262624 24px);
  border: 1px dashed rgba(241, 236, 227, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  width: 100%;
  height: 100%;
}
.ph span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(241, 236, 227, 0.45);
  text-transform: uppercase;
}
.ph-tall { min-height: 320px; }

/* ---------- Store cards (section 3) ---------- */
.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 820px) {
  .store-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.store-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.store-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  aspect-ratio: 3 / 1.1;
}
.store-strip img, .store-strip .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.store-strip .strip-cell { overflow: hidden; min-height: 0; }
.store-strip .strip-cell.zoom img { transform: scale(1.4); }
/* 被写体が左上に寄っている写真の位置補正（画像を右下へシフト） */
.store-strip .strip-cell.zoom-recenter-a img { transform: scale(1.4) translate(5%, 6%); }
.store-strip .strip-cell.zoom-recenter-b img { transform: scale(1.4) translate(3%, 6%); }
.store-strip .strip-cell.zoom-recenter-c img { transform: scale(1.2) translate(-2%, -5%); }
.store-body { padding: 1.4rem 1.5rem 1.6rem; }
.store-loc { font-family: var(--sans); font-size: 0.75em; color: var(--muted); font-weight: 400; }
.store-body p { color: var(--muted); font-size: 0.95rem; margin: 0.4rem 0 0.9rem; }

.note {
  margin-top: 1.8rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Tabs (section 4) ---------- */
.tabs {
  display: flex;
  gap: 0.4rem;
  margin: 2rem 0 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab {
  flex: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--accent-strong); }

.tab-panel { display: none; padding-top: 2.2rem; }
.tab-panel.is-active { display: block; }

.panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}
@media (min-width: 820px) {
  .panel-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
}
.panel-media img, .panel-media .ph { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.panel-text dl dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-top: 1.1rem;
}
.panel-text dl dd { color: var(--muted); margin-top: 0.2rem; }

/* ---------- Cuts grid (section 5) ---------- */
.cuts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 820px) {
  .cuts-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem; }
}
.cut-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cut-card .ph, .cut-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; min-height: 0; }
.cut-body { padding: 1rem 1.1rem 1.2rem; }
.cut-sub { font-family: var(--sans); font-size: 0.72em; color: var(--muted); font-weight: 400; }
.cut-grade {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.cut-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- 3 / 4 columns ---------- */
.col3, .col4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 2.2rem;
}
@media (min-width: 720px) {
  .col3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .col4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (min-width: 1000px) {
  .col4 { grid-template-columns: repeat(4, 1fr); }
}
.col-item p, .supply-item p { color: var(--muted); font-size: 0.95rem; }
.col-item h3 { margin-top: 0.3rem; }

.supply-item {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.supply-item h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }

/* ---------- Producer (section 8) ---------- */
.producer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 1.5rem;
}
@media (min-width: 820px) {
  .producer-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
}
.producer-text p { color: var(--muted); }
.producer-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.producer-media .ph,
.producer-media img { aspect-ratio: 4 / 3; min-height: 0; width: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---------- FAQ accordion (section 10) ---------- */
.accordion { margin-top: 2rem; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.2rem 0.2rem;
  cursor: pointer;
}
.acc-trigger:hover { color: var(--accent-strong); }
.acc-chevron { width: 18px; height: 18px; flex: none; transition: transform 0.25s ease; }
.acc-trigger[aria-expanded="true"] .acc-chevron { transform: rotate(180deg); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.acc-panel > p {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0 0.2rem;
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-item.is-open .acc-panel > p { padding-bottom: 1.3rem; }

/* ---------- Final CTA (section 11) ---------- */
.section-cta-final {
  background:
    linear-gradient(rgba(19,19,17,0.92), rgba(19,19,17,0.92)),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  text-align: center;
}
.section-cta-final .lead { margin: 1rem auto 2rem; }
.contact-email {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.contact-email .js-email-text { user-select: all; color: var(--ink); }
.copy-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.copy-btn:hover { color: var(--ink); border-color: var(--ink); }
.copy-btn.is-copied { color: var(--accent-strong); border-color: var(--accent-strong); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0e0e0c;
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.footer-name { font-family: var(--serif); font-size: 1.05rem; }
.footer-addr { font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 0.8rem; color: var(--muted); }

@media (min-width: 820px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
