/* ============================================================
   Flippable – Global Stylesheet
   Font: LINESeedJP (fallback: Noto Sans JP)
   Theme: #E82A57 on dark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');

@font-face {
  font-family: 'LINESeedJP';
  src: local('LINESeedJP'), local('LINE Seed JP');
}

/* ---- TOKENS ---- */
:root {
  --red:        #E82A57;
  --red-dim:    rgba(232, 42, 87, 0.15);
  --red-border: rgba(232, 42, 87, 0.35);
  --dark:       #0D0D0F;
  --surface:    #141417;
  --surface2:   #1A1A1E;
  --border:     rgba(255, 255, 255, 0.07);
  --muted:      rgba(255, 255, 255, 0.45);
  --font:       'LINESeedJP', 'Noto Sans JP', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: #fff;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(13, 13, 15, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 30px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex; gap: 32px;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.87; transform: translateY(-1px); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 24px 96px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 860px; height: 860px;
  background: radial-gradient(circle, rgba(232,42,87,0.16) 0%, transparent 68%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-dim);
  border: 1px solid var(--red-border);
  color: var(--red);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeUp 0.55s ease both;
}

.hero h1 {
  font-size: clamp(38px, 7.5vw, 88px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 820px;
  animation: fadeUp 0.55s 0.1s ease both;
}
.hero h1 span { color: var(--red); }

.hero p {
  margin-top: 22px;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
  animation: fadeUp 0.55s 0.2s ease both;
}

.hero-actions {
  margin-top: 40px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.55s 0.3s ease both;
}

.btn-primary {
  background: var(--red);
  color: #fff; text-decoration: none;
  padding: 13px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.87; transform: translateY(-2px); }

.btn-ghost {
  color: rgba(255,255,255,0.8); text-decoration: none;
  padding: 13px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

.hero-stats {
  margin-top: 72px;
  display: flex; gap: 56px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.55s 0.4s ease both;
}
.stat { text-align: center; }
.stat-num {
  font-size: 38px; font-weight: 900;
  letter-spacing: -0.02em; color: #fff;
}
.stat-num span { color: var(--red); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; letter-spacing: 0.01em; }

/* ---- DIVIDER ---- */
.divider { width: 100%; height: 1px; background: var(--border); }

/* ---- SHARED SECTION ---- */
.section-container {
  padding: 96px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 540px;
}

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  transition: border-color 0.25s, transform 0.2s;
}
.step-card:hover { border-color: var(--red-border); transform: translateY(-4px); }
.step-num {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--red-dim);
  border: 1px solid var(--red-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: var(--red);
  margin-bottom: 18px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---- CATEGORIES ---- */
.categories-section {
  background: var(--surface);
  max-width: 100% !important;
  padding: 96px 24px;
}
.categories-section .section-label,
.categories-section .section-title {
  max-width: 1140px;
  margin-left: auto; margin-right: auto;
  display: block;
}
.categories-grid {
  max-width: 1140px;
  margin: 44px auto 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.cat-chip {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}
.cat-chip:hover { border-color: var(--red); color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ---- WHY FLIPPABLE ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s, transform 0.2s;
}
.why-card:hover { border-color: var(--red-border); transform: translateY(-3px); }
.why-icon { font-size: 26px; margin-bottom: 14px; }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---- CTA BANNER ---- */
.cta-wrap {
  padding: 0 24px 96px;
  max-width: 1188px;
  margin: 0 auto;
}
.cta-banner {
  background: var(--red);
  border-radius: 20px;
  padding: 68px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 50%, rgba(255,255,255,0.12), transparent 60%);
}
.cta-banner h2 {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 900; letter-spacing: -0.025em;
  position: relative;
}
.cta-banner p {
  margin-top: 10px; font-size: 17px;
  opacity: 0.82; position: relative;
}
.btn-white {
  display: inline-block;
  background: #fff; color: var(--red);
  text-decoration: none;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 900;
  margin-top: 32px; position: relative;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-white:hover { opacity: 0.92; transform: translateY(-2px); }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
footer img {
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ---- PRIVACY PAGE ---- */
.privacy-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 24px 96px;
}
.privacy-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.privacy-header h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 12px;
  line-height: 1.08;
}
.privacy-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.privacy-intro {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}
.privacy-body {
  display: flex; flex-direction: column; gap: 48px;
}
.privacy-section h2 {
  font-size: 20px; font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: #fff;
}
.privacy-section h3 {
  font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-top: 18px; margin-bottom: 8px;
}
.privacy-section p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 12px;
}
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section ul {
  margin: 12px 0 12px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.privacy-section li {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.privacy-section li strong { color: rgba(255,255,255,0.85); }
.contact-box {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 15px; color: rgba(255,255,255,0.7);
}
.contact-box strong { color: #fff; }
.contact-box a { color: var(--red); text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .cta-wrap { padding: 0 16px 64px; }
  .cta-banner { padding: 48px 24px; }
  .hero-stats { gap: 32px; }
  .privacy-main { padding: 100px 20px 72px; }
}