/* ============================================
   DESIGN SYSTEM — 採用 × SNS サービスLP
   v2: プロフェッショナル・ライトテーマ
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fff7ed;
  --text-900: #111827;
  --text-700: #374151;
  --text-500: #6b7280;
  --text-400: #9ca3af;
  --bg-white: #ffffff;
  --bg-gray: #f8fafc;
  --bg-gray-warm: #faf9f7;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --success: #059669;
  --danger: #dc2626;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.08);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;

  --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-white);
  color: var(--text-700);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 24px;
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-500);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-900);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

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

.section {
  padding: 100px 0;
}

.section-white {
  background: var(--bg-white);
}

.section-gray {
  background: var(--bg-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-900);
  line-height: 1.4;
  margin-bottom: 12px;
}

.section-header h2 .accent {
  color: var(--accent);
}

.section-header p {
  color: var(--text-500);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Hero --- */
.hero {
  padding: 130px 0 80px;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-white) 100%);
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  color: var(--text-900);
  line-height: 1.35;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero .hero-sub {
  font-size: 1rem;
  color: var(--text-500);
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-image {
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-700);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid var(--border-light);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .label {
  font-size: 0.8rem;
  color: var(--text-500);
  font-weight: 500;
}

/* --- Pain Cards --- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.pain-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 4px 12px rgba(220,38,38,0.06);
  transform: translateY(-3px);
}

.pain-card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.pain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.85rem;
  color: var(--text-500);
  line-height: 1.7;
}

/* --- Feature Cards --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.8;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(249,115,22,0.1);
}

.pricing-card.popular::before {
  content: 'おすすめ';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card .plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-500);
  margin-bottom: 4px;
}

.pricing-card .price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-900);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .price-sub {
  font-size: 0.8rem;
  color: var(--text-400);
  margin-bottom: 24px;
}

.pricing-card .divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-card ul li {
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* --- Comparison Table --- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table thead th {
  font-weight: 700;
  color: var(--text-700);
  font-size: 0.82rem;
  background: var(--bg-gray);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-900);
}

.comparison-table .ours {
  background: rgba(37,99,235,0.04);
}

.comparison-table .ours-head {
  background: var(--primary);
  color: #fff;
}

.comparison-table .highlight {
  color: var(--primary);
  font-weight: 700;
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 28px 16px;
  position: relative;
  counter-increment: step;
}

.step-card::before {
  content: 'STEP ' counter(step);
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-card .step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-500);
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-900);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-400);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '−';
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  color: var(--text-500);
  font-size: 0.9rem;
  line-height: 1.8;
  padding-bottom: 20px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-section .btn-group {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-400);
  background: var(--bg-white);
}

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

@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero {
    padding: 100px 0 60px;
  }

  .hero::before { display: none; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .btn-group {
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-bottom: 1px solid var(--border-light);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
}
