/* =============================================
   RIOT BOXING GYM — Street × Graffiti
   Black × Acid Green × Neon Yellow
============================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }

:root {
  --bg: #0a0a0a;
  --bg-2: #161616;
  --bg-3: #1f1f1f;
  --acid: #00ff88;
  --neon: #fff200;
  --white: #ffffff;
  --gray: #999;
  --gray-d: #555;
  --red: #ff2244;
  --line: rgba(255,255,255,.08);
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,255,136,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,242,0,.03) 0%, transparent 50%);
}

/* ノイズテクスチャ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 9999;
  opacity: .8;
  mix-blend-mode: overlay;
}

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

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

.font-display { font-family: 'Bebas Neue', 'Anton', sans-serif; letter-spacing: .04em; }
.font-graffiti { font-family: 'Permanent Marker', 'Bebas Neue', cursive; }

/* ===== Demo Bar ===== */
.demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--neon); color: #000;
  font-family: 'Bebas Neue', sans-serif;
  text-align: center; padding: 8px 16px;
  font-size: 13px; letter-spacing: .15em;
  border-bottom: 2px solid #000;
}
.demo-bar a { text-decoration: underline; font-weight: bold; }

/* ===== Header ===== */
header.site-header {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; max-width: 1280px; margin: 0 auto; }
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: .15em; color: var(--white); }
.logo span { color: var(--acid); }
.nav-list { display: flex; gap: 32px; list-style: none; }
.nav-list a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: .15em;
  position: relative; transition: color .2s;
}
.nav-list a:hover { color: var(--acid); }
.nav-list a::before {
  content: "//"; color: var(--acid); margin-right: 6px; opacity: 0;
  transition: opacity .2s;
}
.nav-list a:hover::before { opacity: 1; }
.nav-cta {
  padding: 10px 22px;
  background: var(--acid); color: #000;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: .15em;
  transition: all .2s;
  border: 2px solid var(--acid);
}
.nav-cta:hover { background: transparent; color: var(--acid); }

/* モバイルナビ */
.mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }
@media (max-width: 900px) {
  .nav-list, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 200px 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 60%, rgba(10,10,10,.5) 100%), url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "RIOT";
  position: absolute;
  top: 50%; left: -5%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42vw;
  color: rgba(255,255,255,.04);
  font-weight: 900;
  letter-spacing: -.05em;
  pointer-events: none;
  white-space: nowrap;
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--acid); color: #000;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: .2em;
  margin-bottom: 28px;
  transform: skew(-12deg);
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 11vw, 180px);
  line-height: .85;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}
.hero h1 .accent { color: var(--acid); position: relative; }
.hero h1 .accent::after {
  content: "";
  position: absolute; bottom: 8%; left: 0; right: 0; height: 3px;
  background: var(--neon);
}
.hero h1 .strike { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 8px; }
.hero p.lead {
  font-size: clamp(16px, 1.6vw, 22px);
  max-width: 640px;
  color: rgba(255,255,255,.72);
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px; letter-spacing: .2em;
  border: 2px solid;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary { background: var(--acid); color: #000; border-color: var(--acid); }
.btn-primary:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--neon); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: #000; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: .3em;
  color: var(--gray);
  writing-mode: vertical-rl;
}

/* ===== Section共通 ===== */
section { padding: 120px 0; position: relative; }
.sec-tag {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: .25em;
  color: var(--acid);
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--acid);
}
.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1; margin-bottom: 24px;
}
.sec-lead { color: var(--gray); max-width: 600px; margin-bottom: 64px; font-size: 17px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
  aspect-ratio: 4/5;
  background-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 100%), url("../images/about.jpg");
  background-size: cover;
  background-position: center;
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.about-visual::after {
  content: "EST. 2018"; position: absolute; bottom: 24px; left: 24px;
  font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .25em; color: var(--acid);
  background: rgba(0,0,0,.6); padding: 6px 12px;
}
.about-text h3 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; margin: 16px 0 24px; line-height: 1.15; }
.about-text p { color: rgba(255,255,255,.75); margin-bottom: 16px; }
.about-text .stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--acid); line-height: 1; }
.stat-label { font-size: 12px; letter-spacing: .12em; color: var(--gray); margin-top: 6px; text-transform: uppercase; }

@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== Class ===== */
.class-section { background: var(--bg-2); }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.class-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 36px 28px;
  position: relative;
  transition: all .25s;
}
.class-card:hover { border-color: var(--acid); transform: translateY(-4px); }
.class-card .num {
  font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: .2em;
  color: var(--gray); margin-bottom: 16px;
}
.class-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; margin-bottom: 16px; line-height: 1.1; }
.class-card .desc { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 24px; }
.class-card .price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px; color: var(--acid);
}
.class-card .price small { font-size: 13px; color: var(--gray); margin-left: 4px; }

@media (max-width: 800px) { .class-grid { grid-template-columns: 1fr; } }

/* ===== Trainer ===== */
.trainer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trainer-card {
  position: relative; aspect-ratio: 3/4;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .3s;
}
.trainer-card:hover { transform: translateY(-6px); border-color: var(--acid); }
.trainer-card img.trainer-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(.2) contrast(1.05);
  transition: transform .4s;
}
.trainer-card:hover img.trainer-photo { transform: scale(1.04); filter: grayscale(0) contrast(1.1); }
.trainer-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,.95) 30%, transparent); z-index: 2; }
.trainer-info .pos { font-family: 'Bebas Neue', sans-serif; font-size: 12px; color: var(--acid); letter-spacing: .2em; }
.trainer-info h4 { font-family: 'Bebas Neue', sans-serif; font-size: 26px; margin: 4px 0; }
.trainer-info p { font-size: 12px; color: var(--gray); }

@media (max-width: 900px) { .trainer-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Fighter ===== */
.fighter-section { background: var(--bg-2); }
.fighter-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fighter-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); padding: 20px 28px;
  transition: all .2s;
}
.fighter-row:hover { border-color: var(--acid); }
.fighter-num { font-family: 'Bebas Neue', sans-serif; font-size: 38px; color: var(--acid); width: 60px; }
.fighter-row h4 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; }
.fighter-row .belt { font-size: 12px; color: var(--gray); letter-spacing: .1em; }
.fighter-row .record { font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--neon); }

@media (max-width: 800px) { .fighter-list { grid-template-columns: 1fr; } }

/* ===== Access / CTA ===== */
.access-section { background: var(--bg); position: relative; overflow: hidden; }
.access-section::before {
  content: "FIGHT.";
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Bebas Neue', sans-serif; font-size: 32vw;
  color: rgba(0,255,136,.04); white-space: nowrap; pointer-events: none;
}
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; position: relative; }
.access-info ul { list-style: none; margin-top: 32px; }
.access-info li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 100px 1fr; gap: 24px; }
.access-info li span { color: var(--gray); font-size: 12px; letter-spacing: .15em; }
.access-info li b { font-weight: 500; }

.access-map {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--bg-3) 0%, #2a2a2a 100%);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-family: 'Bebas Neue', sans-serif; letter-spacing: .2em;
}

@media (max-width: 800px) { .access-grid { grid-template-columns: 1fr; } }

/* ===== News ===== */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: grid; grid-template-columns: 120px 100px 1fr;
  gap: 24px; padding: 18px 24px;
  border: 1px solid var(--line);
  transition: all .2s;
  align-items: center;
}
.news-item:hover { border-color: var(--acid); background: var(--bg-2); }
.news-date { font-family: 'Bebas Neue', sans-serif; color: var(--gray); font-size: 14px; letter-spacing: .1em; }
.news-cat { font-family: 'Bebas Neue', sans-serif; font-size: 11px; padding: 4px 10px; background: var(--acid); color: #000; text-align: center; letter-spacing: .15em; }
.news-cat.event { background: var(--neon); }
.news-cat.fight { background: var(--red); color: white; }
.news-title { font-size: 15px; }

@media (max-width: 700px) { .news-item { grid-template-columns: 1fr; gap: 8px; } }

/* ===== CTA ===== */
.cta-block {
  background: var(--acid); color: #000; padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../images/gym-detail.jpg");
  background-size: cover; background-position: center;
  opacity: .12; mix-blend-mode: multiply;
}
.cta-block h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 6vw, 80px); line-height: 1; margin-bottom: 16px; }
.cta-block p { margin-bottom: 32px; max-width: 600px; }
.cta-block .btn-outline { color: #000; border-color: #000; }
.cta-block .btn-outline:hover { background: #000; color: var(--acid); }

/* ===== Footer ===== */
footer.site-footer {
  background: var(--bg);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { display: block; margin-bottom: 16px; }
.footer-brand p { color: var(--gray); font-size: 14px; max-width: 280px; }
.footer-col h5 { font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .2em; margin-bottom: 18px; color: var(--acid); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: var(--acid); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom small { color: var(--gray); font-size: 12px; letter-spacing: .1em; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 16px; }

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ===== Subpage ===== */
.page-hero {
  padding: 200px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,255,136,.04) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px, 8vw, 100px); line-height: .9; }
.page-hero .breadcrumb { font-family: 'Bebas Neue', sans-serif; font-size: 12px; color: var(--acid); letter-spacing: .25em; margin-bottom: 24px; }
.page-hero .breadcrumb a { color: var(--gray); }

.page-hero-sub { padding: 180px 0 60px; border-bottom: 1px solid var(--line); }
.page-hero-sub h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 6vw, 72px); line-height: .95; }

.content-section { padding: 80px 0; }
.content-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 48px 0 24px;
  position: relative;
  padding-left: 24px;
}
.content-section h2::before {
  content: ""; position: absolute; left: 0; top: 16%; width: 6px; height: 70%;
  background: var(--acid);
}
.content-section h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; margin: 32px 0 12px;
  color: var(--acid);
}
.content-section p { color: rgba(255,255,255,.78); margin-bottom: 16px; max-width: 760px; }
.content-section ul { margin: 16px 0 24px 24px; }
.content-section li { margin-bottom: 8px; color: rgba(255,255,255,.78); }

.price-table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { font-family: 'Bebas Neue', sans-serif; letter-spacing: .15em; color: var(--acid); font-size: 14px; }
.price-table td:last-child { font-family: 'Bebas Neue', sans-serif; color: var(--neon); }

.faq-list { margin: 32px 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-q { font-weight: 600; cursor: pointer; padding-left: 36px; position: relative; }
.faq-q::before { content: "Q."; position: absolute; left: 0; color: var(--acid); font-family: 'Bebas Neue', sans-serif; font-size: 20px; }
.faq-a { padding: 12px 0 0 36px; color: rgba(255,255,255,.7); font-size: 15px; }
.faq-a::before { content: "A. "; color: var(--neon); font-family: 'Bebas Neue', sans-serif; }

.contact-form { display: grid; gap: 18px; max-width: 640px; margin: 32px 0; }
.contact-form label { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: .2em; color: var(--gray); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 18px;
  background: var(--bg-2); border: 1px solid var(--line); color: white;
  font-family: inherit; font-size: 15px;
  transition: border-color .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--acid); }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* article */
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; font-family: 'Bebas Neue', sans-serif; font-size: 13px; color: var(--gray); letter-spacing: .15em; }
.article-meta .cat { padding: 4px 10px; background: var(--acid); color: #000; }
.article-body p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.article-body blockquote {
  margin: 32px 0; padding: 24px 32px;
  border-left: 4px solid var(--acid);
  background: var(--bg-2);
  font-style: italic; color: rgba(255,255,255,.85);
}

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.show { opacity: 1; transform: translateY(0); }
