/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  background: #0F1629;
  color: #E8E8E8;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --navy: #0F1629;
  --navy-light: #151E38;
  --navy-mid: #1A2545;
  --coral: #FF6B6B;
  --coral-light: #FF8E8E;
  --coral-dark: #E05555;
  --white: #F0F0F0;
  --gray: #8899BB;
  --line-green: #06C755;
  --border: rgba(255,107,107,0.2);
  --card-bg: rgba(255,255,255,0.04);
  --radius: 12px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== ANIMATIONS ===== */
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px);} to{opacity:1;transform:translateY(0);} }
@keyframes countGlow { from{text-shadow:0 0 0 transparent;} to{text-shadow:0 0 20px rgba(255,107,107,0.5);} }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,22,41,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-size: 1.4rem; font-weight: 900; letter-spacing: 0.02em; color: var(--white); }
.nav-logo span { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 0.88rem; color: var(--gray); transition: color 0.2s; }
.nav-links a:hover { color: var(--coral); }
.btn-nav {
  background: var(--coral); color: #fff !important;
  padding: 8px 20px; border-radius: 6px; font-weight: 700;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--coral-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 0 60px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,107,107,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 90% 80%, rgba(255,107,107,0.04) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }

/* Social Proof Bar */
.social-proof-bar {
  display: inline-flex; align-items: center; gap: 0;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 50px; padding: 10px 20px; margin-bottom: 28px;
  flex-wrap: wrap; justify-content: center; gap: 12px;
}
.proof-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--gray); }
.proof-num { color: var(--coral); font-weight: 900; font-size: 1.1rem; font-family: 'Inter', sans-serif; }
.proof-dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 1.5s infinite; }
.proof-dot.new { background: #4ade80; }
.proof-dot.match { background: var(--coral); }
.proof-divider { width: 1px; height: 20px; background: var(--border); }

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 900;
  line-height: 1.3; margin-bottom: 16px;
}
.coral { color: var(--coral); }
.hero-sub { font-size: 1.05rem; color: var(--gray); margin-bottom: 32px; }

/* Member Counter */
.member-counter {
  display: inline-block; text-align: center; margin-bottom: 32px;
  background: rgba(255,107,107,0.08); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 40px;
}
.counter-main { display: flex; align-items: baseline; gap: 6px; justify-content: center; }
.counter-num { font-size: 3.5rem; font-weight: 900; color: var(--coral); font-family: 'Inter', sans-serif; }
.counter-unit { font-size: 1.4rem; font-weight: 700; color: var(--coral); }
.counter-label { font-size: 0.85rem; color: var(--gray); margin-top: 4px; }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-primary {
  background: var(--coral); color: #fff;
  padding: 14px 32px; border-radius: 8px; font-weight: 800; font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--coral-light); transform: translateY(-2px); }
.btn-line {
  background: var(--line-green); color: #fff;
  padding: 14px 24px; border-radius: 8px; font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.btn-line:hover { background: #05b34b; transform: translateY(-2px); }
.hero-note { font-size: 0.82rem; color: var(--gray); }

/* ===== SECTION BASE ===== */
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900;
  text-align: center; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--white), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-sub { text-align: center; color: var(--gray); margin-bottom: 48px; }

/* ===== FEATURES ===== */
.features { background: var(--navy-light); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: var(--coral); transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.84rem; color: var(--gray); }

/* ===== COMPARE ===== */
.compare { background: var(--navy); }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 14px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.compare-table th { background: var(--navy-mid); font-weight: 700; color: var(--gray); font-size: 0.85rem; }
.compare-table th.highlight { background: rgba(255,107,107,0.12); color: var(--coral); }
.compare-table td.highlight { background: rgba(255,107,107,0.05); font-weight: 600; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.check { color: var(--coral); font-weight: 700; margin-right: 4px; }
.compare-table td:first-child { text-align: left; color: var(--gray); font-size: 0.85rem; }

/* ===== EVENTS ===== */
.events { background: var(--navy-light); }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.event-card {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 24px; position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.event-card:hover { border-color: var(--coral); transform: translateY(-3px); }
.event-tag {
  display: inline-block; background: rgba(255,107,107,0.15); color: var(--coral);
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px;
  margin-bottom: 10px;
}
.popular-tag { background: var(--coral) !important; color: #fff !important; }
.event-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.event-meta { font-size: 0.82rem; color: var(--gray); margin-bottom: 8px; }
.event-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; }
.event-footer { display: flex; justify-content: space-between; align-items: center; }
.event-count { font-size: 0.82rem; color: var(--gray); }
.event-count strong { color: var(--coral); }
.btn-event {
  background: var(--coral); color: #fff;
  padding: 8px 18px; border-radius: 6px; font-size: 0.82rem; font-weight: 700;
  transition: background 0.2s;
}
.btn-event:hover { background: var(--coral-light); }

/* ===== SAFETY ===== */
.safety { background: var(--navy); }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.safety-card {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 28px 24px;
}
.safety-icon { font-size: 2.4rem; margin-bottom: 14px; }
.safety-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--coral); }
.safety-card p { font-size: 0.84rem; color: var(--gray); }
.safety-line { text-align: center; }
.btn-line-safety {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--line-green); color: #fff;
  padding: 14px 28px; border-radius: 8px; font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.btn-line-safety:hover { background: #05b34b; transform: translateY(-2px); }

/* ===== FAQ ===== */
.faq { background: var(--navy-light); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: var(--card-bg);
  padding: 18px 24px; font-size: 0.95rem; font-weight: 600; color: var(--white);
  border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--coral); transition: transform 0.3s; }
.faq-question.open::after { transform: rotate(45deg); }
.faq-question:hover { background: rgba(255,107,107,0.04); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-answer.open { max-height: 300px; padding: 16px 24px 20px; }
.faq-answer p { font-size: 0.9rem; color: var(--gray); }
.faq-answer strong { color: var(--white); }

/* ===== REGISTER ===== */
.register { background: var(--navy); }
.register-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; }
.required { color: var(--coral); }
.form-group input, .form-group select {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 12px 16px; color: var(--white); font-size: 0.95rem;
  font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--coral); }
.form-group select option { background: var(--navy-mid); }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkbox-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--gray); cursor: pointer;
  padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, background 0.2s;
}
.checkbox-label:hover { border-color: var(--coral); background: rgba(255,107,107,0.05); }
.checkbox-label input[type="checkbox"] { accent-color: var(--coral); }
.checkbox-label.agree { border: none; padding: 0; }
.text-coral { color: var(--coral); }
.btn-submit {
  background: var(--coral); color: #fff;
  border: none; padding: 16px; border-radius: 8px; font-size: 1rem; font-weight: 800;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--coral-light); transform: translateY(-2px); }
.form-note { font-size: 0.8rem; color: var(--gray); text-align: center; }
.thanks-message {
  display: none; text-align: center; padding: 60px 40px; max-width: 560px; margin: 0 auto;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
}
.thanks-icon { font-size: 3rem; margin-bottom: 16px; }
.thanks-message h3 { font-size: 1.4rem; margin-bottom: 12px; color: var(--coral); }
.thanks-message p { color: var(--gray); margin-bottom: 24px; }
.btn-line-reg {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--line-green); color: #fff;
  padding: 12px 24px; border-radius: 8px; font-weight: 700;
  transition: background 0.2s;
}
.btn-line-reg:hover { background: #05b34b; }

/* ===== FOOTER ===== */
.footer { background: #080d1a; border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; gap: 24px; }
.footer-brand p { font-size: 0.85rem; color: var(--gray); margin-top: 8px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--gray); transition: color 0.2s; }
.footer-links a:hover { color: var(--coral); }
.footer-copy { text-align: center; font-size: 0.78rem; color: var(--gray); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.4s;
  transform: translateY(20px);
}
.floating-cta.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.floating-btn-main {
  display: block; background: var(--coral); color: #fff;
  padding: 14px 28px; border-radius: 50px; font-weight: 800; font-size: 1rem;
  box-shadow: 0 8px 24px rgba(255,107,107,0.4);
  transition: transform 0.2s, background 0.2s;
}
.floating-btn-main:hover { background: var(--coral-light); transform: scale(1.05); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy-mid); padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-line { width: 100%; justify-content: center; }
  .social-proof-bar { flex-direction: column; gap: 8px; }
  .proof-divider { width: 100%; height: 1px; }
}
