/* =========================================================
   BODYMAX GYM — site.css
   ブランド色や余白は下の CSS変数 を変えるだけで全ページに反映されます
   ========================================================= */
:root {
  --brand: #ff6600;          /* メインのオレンジ(旧サイト踏襲) */
  --brand-dark: #cc4e00;
  --bg: #121212;             /* ページ背景 */
  --bg-raised: #1c1c1c;      /* カード背景 */
  --bg-deep: #0a0a0a;        /* ヘッダー/フッター */
  --text: #f2f0ec;
  --text-dim: #b5b0a8;
  --line: #2c2c2c;
  --radius: 10px;
  --maxw: 1080px;
  --font-display: "Fjalla One", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { opacity: .85; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 60px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: .06em; color: #fff;
}
.logo span { color: var(--brand); }
.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--text-dim); font-size: .9rem; font-weight: 600;
  padding: 8px 12px; border-radius: 6px; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--bg-raised); opacity: 1; }
.nav .nav-cta { color: var(--brand); }

/* mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
  background: #fff; transition: .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line);
    padding: 8px 12px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- hero (top) ---------- */
.hero { position: relative; height: min(72vh, 560px); overflow: hidden; background: #000; }
.hero .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
}
.hero .slide.active { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.hero-copy {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 36px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
}
.hero-copy .en {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: .04em; line-height: 1.1;
}
.hero-copy .en span { color: var(--brand); }
.hero-copy .ja { color: var(--text); font-weight: 700; margin-top: 8px; font-size: clamp(.95rem, 2.6vw, 1.15rem); }
.hero-copy .badge {
  display: inline-block; background: var(--brand); color: #fff; font-weight: 700;
  font-size: .8rem; padding: 3px 12px; border-radius: 99px; margin-bottom: 12px; letter-spacing: .05em;
}

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: .05em; color: #fff;
  margin-bottom: 6px;
}
.section-sub { color: var(--brand); font-weight: 700; font-size: .85rem; letter-spacing: .12em; margin-bottom: 28px; }
.page-title-wrap { background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.page-title-wrap .section { padding: 40px 20px 32px; }

.lead p { margin-bottom: .6em; }
.lead .accent { color: var(--brand); font-weight: 700; }
.lead .em { font-weight: 700; }

.notice-box {
  margin-top: 20px; padding: 18px 20px;
  background: var(--bg-raised); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 700;
}
.notice-box small { display: block; color: var(--text-dim); font-weight: 400; }

/* ---------- cards / tables ---------- */
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.card .price { font-family: var(--font-display); font-size: 1.8rem; color: var(--brand); margin: 4px 0 10px; }
.card .price small { font-size: .9rem; color: var(--text-dim); font-family: var(--font-body); }
.card p { font-size: .92rem; color: var(--text-dim); }
.card .strong { color: var(--text); font-weight: 700; }
.card.recommend { border-color: var(--brand); position: relative; }
.card.recommend::before {
  content: "おすすめ"; position: absolute; top: -11px; left: 16px;
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 2px 10px; border-radius: 99px;
}
.card-photo { border-radius: 8px; margin-bottom: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.table-detail { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-detail th, .table-detail td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-detail th { width: 8.5em; color: var(--text-dim); font-weight: 600; white-space: nowrap; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.gallery a { display: block; border-radius: 8px; overflow: hidden; background: var(--bg-raised); }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 6px; }
.lightbox .close {
  position: absolute; top: 14px; right: 18px; font-size: 2rem; color: #fff;
  background: none; border: 0; cursor: pointer; line-height: 1;
}

/* ---------- news list ---------- */
.news-list { list-style: none; }
.news-list li { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.news-list time { color: var(--brand); font-family: var(--font-display); margin-right: 16px; font-size: .9rem; }
.news-list .title { font-weight: 700; color: var(--text); }
.news-list p { color: var(--text-dim); font-size: .92rem; margin-top: 4px; }

/* ---------- staff ---------- */
.staff-card { display: grid; gap: 6px; align-content: start; }
.staff-card .role { color: var(--brand); font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.staff-card h3 { font-size: 1.3rem; color: #fff; }
.staff-card .bio { color: var(--text-dim); font-size: .95rem; }
.staff-card .results { margin-top: 10px; font-size: .88rem; color: var(--text-dim); }
.staff-card .results dt { color: var(--text); font-weight: 700; margin-bottom: 4px; }
.staff-card .results li { margin-left: 1.2em; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  text-align: center;
}
.cta-band .section { padding: 44px 20px; }
.cta-band h2 { font-size: clamp(1.15rem, 3.4vw, 1.5rem); color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: .95rem; margin-bottom: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 700; border-radius: 99px; padding: 14px 30px; font-size: 1.05rem;
}
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-outline { border: 2px solid var(--line); color: var(--text); padding: 12px 26px; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); opacity: 1; }

/* mobile fixed bottom bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--bg-deep); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 700; font-size: .95rem; border-radius: 8px; padding: 12px 0;
}
.mobile-cta .call { background: var(--brand); color: #fff; }
.mobile-cta .insta { border: 1px solid var(--line); color: var(--text); }
@media (max-width: 820px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 74px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 20px; }
.footer-inner .logo { font-size: 1.15rem; }
.footer-info { color: var(--text-dim); font-size: .88rem; margin-top: 12px; line-height: 2; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; font-size: .88rem; }
.footer-nav a { color: var(--text-dim); }
.copyright { color: #6c675f; font-size: .78rem; margin-top: 24px; }

/* map */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.2); }

/* util */
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.text-dim { color: var(--text-dim); }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -0.18em; }
