/* ============================================================
   B.E.T Personal Gym — Shared Site Stylesheet
   DNA-compliant / Figma 完全準拠
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --c-bg: #FBFAF7;
  --c-bg-alt: #F0EDE6;
  --c-bg-dark: #2A2A2A;       /* charcoal (matches ad's dark boxes) */
  --c-text: #1A1A1A;
  --c-text-sub: #6E6E6E;
  --c-text-mute: #999999;
  --c-border: #E5E2DA;
  --c-border-light: #F0F0F0;
  --c-accent: #1A1A1A;        /* dark charcoal CTA (was orange) */
  --c-accent-2: #4A4A4A;       /* mid gray (was navy) */
  --c-on-dark: #BFBFBF;        /* light gray text on dark backgrounds */
  --header-h: 80px;
  --header-h-sp: 60px;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, source { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
html { scroll-behavior: smooth; }
section { scroll-margin-top: var(--header-h); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.hero-container { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(251, 250, 247, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--c-border); }
.site-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  width: auto;
  height: auto;
  overflow: visible;
}
.brand-logo {
  display: block;
  width: 112px;
  height: auto;
}
.brand-local {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--c-text);
  white-space: nowrap;
}
/* 旧テキスト型ブランド（フッター等の互換維持） */
.brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--c-text);
}
.brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--c-text-sub);
}
.site-nav { display: flex; align-items: center; gap: 48px; }
.site-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--c-text);
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--header-h);
  padding: 0 22px;
  background: var(--c-accent);
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 500;
}
.nav-cta:hover { opacity: .9; }
.hamburger {
  display: none;
  width: 28px; height: 28px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--c-text);
  transition: transform .25s, opacity .2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 0;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--c-text);
}

@media (max-width: 768px) {
  .site-header { height: var(--header-h-sp); }
  .nav-cta { height: var(--header-h-sp); padding: 0 14px; font-size: 10px; }
  .site-nav { display: none; }
  .hamburger { display: flex; width: 40px; height: 40px; flex-shrink: 0; }
  .brand { width: auto; height: auto; }
  .brand-logo { width: 88px; height: auto; }
  .brand-local { font-size: 9px; letter-spacing: 0.02em; }
  .brand-sub { display: none; }
  .brand-name { font-size: 18px; letter-spacing: 0.24em; }
  .header-actions { gap: 10px; }
  .site-header-inner { padding: 0 14px 0 20px; }
}

/* === HERO (TOP page only) === */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 100vh;
  height: 100vh;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%), url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
}
.hero-content { padding: 0 32px 96px; width: 100%; }
.hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(48px, 6.67vw, 96px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #FFFFFF;
  margin: 0 0 32px;
}
.hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  letter-spacing: 0.32em;
  color: #FFFFFF;
  margin: 0;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #FFFFFF;
}
.hero-scroll-line { width: 1px; height: 56px; background: rgba(255, 255, 255, 0.5); }
@media (max-width: 768px) {
  .hero-content { padding: 0 24px 64px; }
  .hero-sub { font-size: 14px; letter-spacing: 0.24em; }
}

/* === PAGE HERO (sub pages) === */
.page-hero {
  padding: calc(var(--header-h) + 96px) 0 96px;
  background: var(--c-bg);
  text-align: center;
}
.page-hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-accent);
  margin: 0 0 16px;
  font-weight: 500;
}
.page-hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--c-text);
  margin: 0 0 24px;
}
.page-hero-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--c-text-sub);
  margin: 0;
}
.page-hero-img {
  margin-top: 64px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .page-hero { padding: calc(var(--header-h-sp) + 64px) 0 64px; }
  .page-hero-img { margin-top: 48px; aspect-ratio: 4/3; }
}

/* === NEWS STRIP === */
.news-strip {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 24px 0;
}
.news-strip-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.news-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-accent);
  font-weight: 600;
  flex-shrink: 0;
}
.news-text { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: var(--c-text); }
@media (max-width: 768px) {
  .news-strip-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* === SECTION TEMPLATE === */
.section { padding: clamp(96px, 11.11vw, 160px) 0; }
.section.bg-alt { background: var(--c-bg-alt); }
.section-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.section-pair-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.section-eyebrow {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-text-sub);
  margin: 0 0 16px;
  font-weight: 400;
}
.section-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.33vw, 48px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.1;
  color: var(--c-text);
  margin: 0 0 24px;
}
.section-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text-sub);
  margin: 0 0 40px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 54px;
  border: 1px solid var(--c-text);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-text);
}
.btn-outline:hover { background: var(--c-text); color: #FFFFFF; opacity: 1; }
.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 40px;
  background: var(--c-accent);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}
.btn-fill:hover { opacity: .9; color: #FFFFFF; }
@media (max-width: 900px) {
  .section-pair { grid-template-columns: 1fr; gap: 48px; }
  .section-pair-img img { aspect-ratio: 16/10; }
}

/* === STATS === */
.stats-section { background: var(--c-bg-alt); padding: 96px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 32px 16px; border-right: 1px solid var(--c-border); }
.stat:last-child { border-right: 0; }
.stat-value {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.44vw, 64px);
  font-weight: 500;
  color: var(--c-text);
  margin: 0 0 12px;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-text-sub);
  margin: 0 0 6px;
}
.stat-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-text-mute);
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-right: 1px solid var(--c-border); }
  .stat:nth-child(even) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--c-border); }
}

/* === CENTERED HEADERS === */
.center-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.center-header .section-eyebrow,
.center-header .section-headline,
.center-header .section-body { text-align: center; }
.center-header .section-body { margin-bottom: 0; }

/* === 3-CARD GRID === */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.program-card-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin: 0 0 24px; }
.program-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-text);
  margin: 0 0 6px;
}
.program-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--c-text-sub);
  margin: 0 0 14px;
}
.program-price-wrap { border-top: 1px solid var(--c-border-light); padding-top: 14px; }
.program-price {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--c-text);
  margin: 0 0 12px;
}
.program-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.9;
  color: var(--c-text-sub);
  margin: 0;
}
.center-cta { text-align: center; margin-top: 64px; }
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; gap: 56px; }
  .program-card-img { aspect-ratio: 16/11; }
}

/* === VOICE / BLOG === */
.voice-card-img,
.blog-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0 0 20px; }
.voice-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-text-mute);
  margin: 0 0 8px;
}
.voice-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--c-text);
  margin: 0;
}

/* === TRAINER === */
.trainer-role {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-text-mute);
  margin: 0 0 6px;
}
.trainer-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-text);
  margin: 0 0 4px;
}
.trainer-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--c-text-sub);
}

/* === STUDIO === */
.studio-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.access-list { margin: 0 0 40px; }
.access-item { padding: 20px 0; border-bottom: 1px solid var(--c-border); }
.access-item:first-child { padding-top: 0; }
.access-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-text-mute);
  margin: 0 0 8px;
}
.access-value {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-text);
  margin: 0;
  white-space: pre-line;
}

/* === BOTTOM CTA === */
.cta-section { background: var(--c-bg-dark); padding: clamp(96px, 11.11vw, 160px) 0; }
.cta-inner { max-width: 720px; margin: 0 auto; padding: 0 32px; text-align: center; }
.cta-eyebrow {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-on-dark);
  margin: 0 0 16px;
}
.cta-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #FFFFFF;
  margin: 0 0 24px;
}
.cta-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 48px;
}
.cta-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  background: #FFFFFF;
  color: var(--c-text) !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
}
.btn-white:hover { background: var(--c-accent); color: #FFFFFF !important; opacity: 1; }
.cta-secondary {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 4px;
}
@media (max-width: 640px) {
  .cta-actions { flex-direction: column; }
}

/* === FOOTER === */
.site-footer { background: var(--c-bg-dark); padding: 96px 0 32px; }
.footer-brand-block { margin-bottom: 56px; }
.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: #FFFFFF;
  margin: 0 0 8px;
}
.footer-brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.5);
}
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #FFFFFF;
  font-weight: 500;
  margin: 0 0 16px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 12px; }
.footer-col-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-divider { height: 1px; background: rgba(255, 255, 255, 0.12); margin-bottom: 32px; }
.footer-info {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal-links a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
