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

:root {
  --primary: #6c8fe8;
  --primary-dark: #4a6fd4;
  --dark: #1a1a2e;
  --text: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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;
  color: var(--dark);
  letter-spacing: -.02em;
  flex: 1;
}
.logo span { color: var(--primary); }
.header-nav { display: flex; gap: 10px; }
.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 { opacity: .88; }

/* ---- ヒーロー ---- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%);
  padding: 40px 24px;
}
.hero-inner {
  max-width: 1080px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text { text-align: left; }
.hero-catch {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.25;
  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;
}
.hero-image img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { margin: 0 auto; }
}

/* ---- セクション共通タイトル ---- */
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 48px;
}

/* ---- 料金プラン ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  background: #fff;
}
.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(108,143,232,0.15);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.plan-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}
.plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ---- 特徴 ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  padding: 20px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
}
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---- 導入支援・代行 ---- */
.support-section { background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%); }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 12px rgba(108,143,232,0.08);
}
.support-icon { font-size: 36px; margin-bottom: 16px; }
.support-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.support-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---- 導入ステップ ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: steps;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---- FAQ ---- */
.faq-list { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---- コンテンツセクション枠 ---- */
.section {
  padding: 80px 24px 48px;
}
@media (max-width: 768px) {
  .section { padding: 48px 16px 32px; }
}
.section--white { background: #fff; }
.btn-block { width: 100%; justify-content: center; }
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section-placeholder {
  border: 2px dashed #e2e6f0;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  color: #c0c8d8;
  font-size: 13px;
}

/* ---- フッター ---- */
footer {
  background: var(--dark);
  color: #8892a4;
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.footer-logo span { color: var(--primary); }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: 12px;
  border-top: 1px solid #2e3251;
  padding-top: 20px;
}
