/* ==========================================
   CSS変数・リセット
   ========================================== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #f59e0b;
  --text: #1e293b;
  --text-sub: #64748b;
  --bg: #ffffff;
  --bg-gray: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; }

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

/* ==========================================
   ナビゲーション
   ========================================== */
#nav {
  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: 16px 0;
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--primary-dark); }

/* ==========================================
   ボタン
   ========================================== */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ==========================================
   セクション共通
   ========================================== */
section { padding: 80px 0; }

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ==========================================
   ヒーロー
   ========================================== */
#hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

#hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* ==========================================
   課題提起
   ========================================== */
#problem { background: var(--bg-gray); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

.card-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
}

/* ==========================================
   サービス概要
   ========================================== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 32px;
}

.feature-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-sub);
  font-size: 15px;
}

/* ==========================================
   料金
   ========================================== */
#pricing { background: var(--bg-gray); }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
  padding-top: 48px;
}

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}

.plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.plan-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-sub);
}

.plan-monthly {
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
}

.plan-features li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 20px;
  position: relative;
  color: var(--text-sub);
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================
   導入の流れ
   ========================================== */
.flow-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.flow-list li:last-child { border-bottom: none; }

.flow-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-list strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.flow-list p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ==========================================
   お問い合わせ
   ========================================== */
#contact { background: var(--bg-gray); }

.contact-sub {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 40px;
}

#contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
}

.required {
  background: #fee2e2;
  color: #dc2626;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

#form-status {
  text-align: center;
  font-size: 14px;
  color: var(--primary);
  min-height: 20px;
}

/* ==========================================
   フッター
   ========================================== */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}

footer a { color: #93c5fd; }

.footer-copy {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.5;
}

/* ==========================================
   レスポンシブ
   ========================================== */
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .section-title { font-size: 22px; }
  #hero { padding: 60px 0; }
  #hero h1 { font-size: 26px; }
  .feature { flex-direction: column; }
  .pricing-cards { grid-template-columns: 1fr; }
  .btn-primary { padding: 14px 28px; }
}
