/* ===== リセット・ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f5f7fa;
  --bg-2: #ffffff;
  --border: #e2e8f0;
  --text: #1a202c;
  --text-muted: #64748b;
  --accent: #4693f5;
  --accent-dark: #2563eb;
  --font: 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* ===== ヘッダー ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo img { height: 34px; width: auto; display: block; }

nav { display: flex; align-items: center; gap: 28px; }

nav a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
nav a:hover { color: var(--accent); }

.btn-nav {
  padding: 8px 20px;
  background: var(--accent);
  border-radius: 6px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--accent-dark) !important; }

/* ===== ボタン ===== */
.btn-primary {
  display: inline-block; padding: 13px 28px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-primary-dark {
  display: inline-block; padding: 13px 28px;
  background: #fff; color: var(--accent-dark);
  border-radius: 8px;
  font-size: 15px; font-weight: 700;
  transition: transform 0.15s;
}
.btn-primary-dark:hover { transform: translateY(-1px); }

/* ===== ヒーロー ===== */
.hero {
  position: relative; height: 70vh; min-height: 480px; max-height: 680px;
  display: flex; align-items: center;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(15,35,80,0.78) 0%, rgba(30,60,130,0.58) 100%);
}

.hero-content { position: relative; z-index: 1; color: #fff; padding-top: 64px; }

.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 18px; font-weight: 500;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800; line-height: 1.25;
  margin-bottom: 22px; letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 16px; line-height: 1.8;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px; max-width: 480px;
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.45); font-size: 10px; letter-spacing: 0.12em;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== 数字で信頼 ===== */
.trust {
  background: var(--accent-dark);
  padding: 36px 0;
}

.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}

.trust-item {
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.trust-item:last-child { border-right: none; }

.trust-item strong {
  display: block; font-size: 26px; font-weight: 800;
  color: #fff; letter-spacing: -0.02em; line-height: 1.2;
}

.trust-item span {
  display: block; font-size: 12px; color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

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

.section-label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 8px;
}

.section-heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700; margin-bottom: 44px;
  letter-spacing: -0.01em;
}

/* ===== 強み ===== */
.strengths { background: var(--bg-2); }

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

.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 8px 28px rgba(70,147,245,0.14);
  transform: translateY(-4px);
}

.card-icon { font-size: 28px; margin-bottom: 14px; }

.card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }

.card p { font-size: 13px; color: var(--text-muted); line-height: 1.75; }

/* ===== スキル ===== */
.skills { background: var(--bg); }

.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
}

.skill-group h3 {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px; font-weight: 700;
}

.skill-group ul { list-style: none; }

.skill-group li {
  font-size: 14px; padding: 8px 0;
  border-bottom: 1px solid var(--border); color: var(--text);
}
.skill-group li:last-child { border-bottom: none; }

/* ===== プロフィール ===== */
.profile { background: var(--bg-2); }

.profile-body { display: flex; flex-direction: column; gap: 28px; max-width: 640px; }

.profile-text p { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; }

.profile-tags { display: flex; gap: 10px; flex-wrap: wrap; }

.tag {
  display: inline-block; padding: 7px 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; font-size: 13px; color: var(--text-muted);
}

/* ===== 料金プラン ===== */
.pricing { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(70,147,245,0.15);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.plan-badge--soldout {
  background: #94a3b8;
}

.pricing-card--soldout {
  opacity: 0.6;
  border-color: var(--border);
  box-shadow: none;
}

.btn-disabled {
  background: #94a3b8 !important;
  cursor: not-allowed;
  pointer-events: none;
}

.plan-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-commitment {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

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

.btn-outline {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  transition: border-color 0.2s;
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== CTAバナー ===== */
.cta-banner {
  background: var(--accent);
  text-align: center; padding: 72px 24px;
}

.cta-banner h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700; color: #fff; margin-bottom: 12px;
}

.cta-banner p {
  font-size: 15px; color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* ===== コンタクト ===== */
.contact { background: var(--bg); }

.contact-sub {
  font-size: 15px; color: var(--text-muted);
  margin-top: -28px; margin-bottom: 36px;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.contact-form input,
.contact-form textarea {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px;
  color: var(--text); font-size: 14px; font-family: var(--font);
  outline: none; width: 100%; transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(70,147,245,0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #b0bac6; }

/* ===== フッター ===== */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer .container {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

.footer-links {
  display: flex; gap: 20px;
}

.footer-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted);
  transition: color 0.2s;
}

.footer-link:hover { color: var(--accent); }

.footer-logo { height: 26px; width: auto; opacity: 0.5; }

.footer p { font-size: 12px; color: var(--text-muted); }

.footer-legal {
  display: flex; gap: 16px;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px; margin-top: 4px;
}
.footer-legal a { font-size: 12px; color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }

/* ===== ハンバーガー ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; height: 2px; background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .trust-item:nth-child(2n) { border-right: none; }

  .hamburger { display: flex; }

  nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
  }
  nav.is-open { display: flex; }
  nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
  nav a:last-child { border-bottom: none; margin-top: 8px; }
  nav .btn-nav { text-align: center; }
}
