/* =========================================
   Gravity Scan LP — Clean Design
   Gravity Coaching と同一のデザイン言語
   ========================================= */

:root {
  --text: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --accent: #1e40af;
  --accent-hover: #1e3a8a;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 4px 10px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
  --shadow-accent: 0 12px 30px -10px rgba(30, 64, 175, 0.35);
  --max-w: 840px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; font-feature-settings: "palt"; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container-narrow { width: min(var(--max-w), 90%); margin: 0 auto; }
.sp-only { display: none; }

/* --- Skip link --- */
.skip-link {
  position: absolute; top: -40px; left: 16px; background: var(--text); color: #fff;
  padding: 8px 12px; border-radius: 4px; z-index: 10000; font-size: 14px;
}
.skip-link:focus { top: 16px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px; font-weight: 700; font-size: 16px;
  border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); letter-spacing: 0.02em;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 35px -10px rgba(30, 64, 175, 0.4); }
.btn-sm { padding: 10px 24px; font-size: 14px; box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2); }
.btn-lg { padding: 22px 48px; font-size: 18px; }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 14px 24px; }
.header-right { display: flex; align-items: center; gap: 32px; }
.logo { font-size: 20px; font-weight: 900; letter-spacing: 0.02em; color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 700; color: var(--text-muted); }
.nav a { position: relative; padding: 4px 0; }
.nav a:hover { color: var(--accent); }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: 0.3s ease; }
.nav a:hover::after { width: 100%; }
.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; gap: 5px; flex-direction: column; padding: 4px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.mobile-nav { display: none; flex-direction: column; gap: 16px; padding: 24px; border-top: 1px solid var(--border); background: #fff; font-size: 15px; font-weight: 700; }
.mobile-nav.open { display: flex; }

/* ==========================================
   Hero
   ========================================== */
.hero {
  padding: 140px 0 160px; text-align: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(15,23,42,0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(15,23,42,0.03) 0%, transparent 40%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 32px 32px; opacity: 0.4; pointer-events: none;
}
.hero .container-narrow { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(34px, 5vw, 52px); line-height: 1.4; margin-bottom: 28px;
  font-weight: 900; letter-spacing: -0.03em; text-wrap: balance;
}
.hero-vp {
  font-size: 16px; color: var(--text-muted); line-height: 2.1;
  margin: 0 auto 52px; max-width: 580px; font-weight: 500;
}

/* ==========================================
   Sections common
   ========================================== */
section { padding: 120px 0; }
section h2 {
  font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px;
  font-weight: 800; line-height: 1.5; letter-spacing: -0.02em; text-align: center;
}
.section-lead {
  font-size: 15px; font-weight: 500; color: var(--text-muted);
  line-height: 2; text-align: center; margin-bottom: 48px;
}

/* ==========================================
   Difference section
   ========================================== */
.difference { background: var(--bg-alt); }

.diff-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.diff-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: all 0.3s ease;
}
.diff-card:hover { box-shadow: var(--shadow); }

.diff-card--scan {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.diff-card--scan:hover { box-shadow: var(--shadow-accent); }

.diff-card-label {
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px; opacity: 0.5;
}
.diff-card--scan .diff-card-label { opacity: 0.6; }

.diff-card-focus {
  font-size: 22px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border); line-height: 1.4;
}
.diff-card--scan .diff-card-focus { border-bottom-color: rgba(255,255,255,0.15); }

.diff-card-list {
  display: flex; flex-direction: column; gap: 16px;
}
.diff-card-list li {
  font-size: 15px; font-weight: 600; line-height: 1.7; color: var(--text);
}
.diff-card--scan .diff-card-list li { color: rgba(255,255,255,0.9); }

.diff-card-key {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 2px;
}
.diff-card--scan .diff-card-key { color: rgba(255,255,255,0.45); }

/* ==========================================
   Deliverable
   ========================================== */
.deliverable-section { background: var(--bg); }

.deliverable-list {
  display: flex; flex-direction: column; gap: 0;
}

.deliverable-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.deliverable-item:last-child { border-bottom: none; }

.deliverable-num {
  flex-shrink: 0; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; border-radius: 50%;
  font-size: 13px; font-weight: 800; margin-top: 2px;
}

.deliverable-item strong {
  display: block; font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 4px;
}

.deliverable-item p {
  font-size: 14px; font-weight: 500; color: var(--text-muted); line-height: 1.8;
}

/* ==========================================
   Fitness routing (06 推奨判定)
   ========================================== */
.fitness-routing {
  margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border);
}
.fitness-routing-title {
  font-size: 16px; font-weight: 800; color: var(--text); text-align: center;
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.fitness-cards {
  display: flex; flex-direction: column; gap: 12px;
}
.fitness-card {
  padding: 24px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  position: relative;
}
.fitness-card--a {
  border-color: var(--accent); background: rgba(30,64,175,0.02);
}
.fitness-card--c {
  border-color: #94a3b8; opacity: 0.7;
}
.fitness-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: 4px; text-transform: uppercase;
}
.fitness-badge--a { background: var(--accent); color: #fff; }
.fitness-badge--b { background: #475569; color: #fff; }
.fitness-badge--c { background: #cbd5e1; color: #475569; }
.fitness-card h4 {
  margin: 0 0 8px; font-size: 16px; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
}
.fitness-card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 0;
}
.fitness-action {
  margin-top: 8px !important; font-weight: 700 !important; color: var(--text) !important;
}

/* ==========================================
   Roadmap / Process
   ========================================== */
.service-details { background: var(--bg-alt); }

.roadmap-steps {
  display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto;
  position: relative;
}

.roadmap-steps::before {
  content: ''; position: absolute; left: 55px; top: 40px; bottom: 40px;
  width: 2px; background: var(--border); z-index: 0;
}

.rm-step {
  display: flex; align-items: flex-start; gap: 28px; padding: 32px 0;
  position: relative; z-index: 1;
}

.rm-month {
  flex-shrink: 0; width: 110px; text-align: center;
  font-weight: 800; color: var(--text); font-size: 14px;
}

.rm-content { flex-grow: 1; padding-top: 4px; }

.rm-phase {
  font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -0.02em;
}

.rm-desc {
  font-size: 15px; font-weight: 500; color: var(--text-muted); line-height: 1.9;
}

/* ==========================================
   Pricing
   ========================================== */
.pricing-section { background: var(--bg); }

.pricing-block {
  text-align: center; margin: 0 auto; padding: 56px 48px;
  background: var(--accent); color: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.pricing-block::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 50%);
}
.price-main { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 16px; position: relative; }
.price-value { font-size: 46px; font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.price-unit { font-size: 16px; opacity: 0.8; font-weight: 700; }
.price-detail { font-size: 15px; opacity: 0.65; line-height: 1.8; position: relative; }
.price-gravity-note {
  font-size: 14px; opacity: 0.6; line-height: 1.8; margin-top: 20px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); position: relative;
}

/* ==========================================
   Trial / CTA
   ========================================== */
.trial { background: var(--bg-alt); }

.trial-agenda {
  margin: 0 auto 48px; padding: 36px;
  background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.trial-agenda-lead { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 24px; text-align: center; }

.trial-agenda-list {
  list-style: none; counter-reset: agenda; display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px;
}
.trial-agenda-list li { counter-increment: agenda; position: relative; padding-left: 44px; }
.trial-agenda-list li::before {
  content: counter(agenda); position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; background: var(--accent); color: #fff; border-radius: 50%;
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.trial-agenda-list li strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.7; }

.trial-agenda-note {
  font-size: 14px; color: var(--text-muted); line-height: 2; font-weight: 500;
  padding-top: 20px; border-top: 1px solid var(--border); text-align: center;
}

/* --- Form --- */
.form-container {
  margin: 0 auto; background: var(--bg); padding: 36px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: left; border: 1px solid var(--border);
}
.form-container form { display: flex; flex-direction: column; gap: 24px; }
.form-container label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.form-required { color: #dc2626; font-size: 13px; font-weight: 700; margin-left: 4px; }
.form-container input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-container input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12); }
.form-container .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 8px; line-height: 1.8; }

/* ==========================================
   Footer
   ========================================== */
.site-footer { background: #020617; color: #94a3b8; padding: 64px 0 32px; font-size: 14px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  max-width: 1080px; margin: 0 auto; padding: 0 24px 48px; gap: 32px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 32px;
}
.footer-brand .logo { color: #fff; font-size: 20px; font-weight: 900; letter-spacing: 0.02em; }
.footer-byline { font-size: 13px; color: #737373; margin-top: 4px; }
.footer-links { display: flex; gap: 32px; font-size: 14px; font-weight: 700; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #fff; }
.copyright { text-align: center; font-size: 13px; color: #737373; }

/* ==========================================
   Reveal animation
   ========================================== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 900px) {
  .sp-only { display: inline; }

  .header-inner { padding: 16px 20px; }
  .nav, .header-inner .btn { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 100px 0 80px; }
  .hero h1 { font-size: 26px; line-height: 1.5; }
  .hero-vp { font-size: 15px; }

  section { padding: 80px 0; }
  section h2 { font-size: 20px; margin-bottom: 16px; }

  .diff-cards { grid-template-columns: 1fr; gap: 16px; }
  .diff-card { padding: 28px 24px; }
  .diff-card-focus { font-size: 20px; margin-bottom: 20px; padding-bottom: 16px; }

  .section-lead { font-size: 14px; margin-bottom: 32px; }

  .deliverable-item { gap: 16px; }
  .deliverable-item strong { font-size: 15px; }
  .deliverable-item p { font-size: 13px; }

  .roadmap-steps::before { left: 24px; top: 32px; bottom: 32px; }
  .rm-step { gap: 20px; padding: 24px 0; }
  .rm-month { width: 50px; font-size: 12px; }
  .rm-phase { font-size: 16px; }
  .rm-desc { font-size: 14px; }

  .fitness-routing { margin-top: 32px; padding-top: 32px; }
  .fitness-card { padding: 20px 22px; }
  .fitness-badge { top: 16px; right: 16px; }

  .pricing-block { padding: 40px 28px; }
  .price-value { font-size: 36px; }

  .trial-agenda { padding: 28px 24px; }
  .trial-agenda-list li { padding-left: 40px; }
  .form-container { padding: 28px 24px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 16px; }
}
