*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #334155;
  --primary-dark: #1e293b;
  --accent:       #334155;
  --dark:         #0f172a;
  --text:         #374151;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --bg:           #f8fafc;
}

body {
  font-family: 'Helvetica Neue', 'Hiragino Sans', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

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

/* ---- ヘッダー ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -.02em;
  flex: 1;
}
.logo span { color: var(--primary); }
.header-nav { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-ghost {
  background: none;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 8px;
}
.btn-block { width: 100%; justify-content: center; }

/* ---- ヒーロー ---- */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 40px 24px;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: #e2e8f0;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-catch {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -.03em;
}
.hero-catch span { color: var(--primary); }
.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- セクション共通 ---- */
.section { padding: 72px 24px; }
.section--white { background: #fff; }
.section--tinted { background: var(--bg); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 48px;
}

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.section--white .feature-card { background: var(--bg); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---- Steps ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.step-card { text-align: center; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---- Pricing ---- */
.pricing-grid { display: flex; justify-content: center; }
.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}
.pricing-card--featured { border-color: var(--primary); }
.plan-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.plan-name { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 32px; line-height: 1.7; }
.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.plan-features li {
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ---- FAQ ---- */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--muted); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---- フッター ---- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.footer-logo span { color: #94a3b8; }
.footer-sister { font-size: 13px; margin-bottom: 20px; }
.footer-sister a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-system { margin-top: 16px; }
.footer-system a { font-size: 11px; color: rgba(255,255,255,0.15); }
.footer-system a:hover { color: rgba(255,255,255,0.4); }

/* ---- レスポンシブ ---- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero-content { text-align: center; }
  .hero-visual { order: -1; }
  .hero-img { max-height: 300px; }
  .hero-cta { justify-content: center; }
}
@media (max-width: 640px) {
  .hero { padding: 24px 16px; }
  .section { padding: 48px 20px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .pricing-card { padding: 32px 24px; }
}
