/* ============================
   GLOBAL RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-light:    #f7f9fc;
  --bg-white:    #ffffff;
  --bg-section:  #eef2f8;
  --bg-card:     #ffffff;
  --accent-main: #2563eb;       /* ブライトブルー */
  --accent-sub:  #06b6d4;       /* シアン */
  --accent-hot:  #f43f5e;       /* コーラルレッド */
  --accent-gold: #f59e0b;       /* アンバー */
  --text-main:   #1a202c;
  --text-muted:  #64748b;
  --border:      rgba(0,0,0,0.08);
  --radius:      16px;
  --shadow-sm:   0 2px 12px rgba(37,99,235,0.08);
  --shadow-md:   0 8px 32px rgba(37,99,235,0.12);
  --shadow-lg:   0 16px 48px rgba(37,99,235,0.18);
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ============================
   SCROLL FADE-IN
   ============================ */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--accent-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 8px 28px rgba(37,99,235,0.45); }

.btn-secondary {
  background: #fff;
  border-color: var(--accent-main);
  color: var(--accent-main);
}
.btn-secondary:hover { background: #eff6ff; }

.btn-plan {
  width: 100%;
  background: #f1f5f9;
  border: 2px solid var(--border);
  color: var(--text-main);
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
}
.btn-plan:hover { background: #e2e8f0; border-color: var(--accent-main); color: var(--accent-main); }

.btn-plan-featured {
  width: 100%;
  background: var(--accent-main);
  color: #fff;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.btn-plan-featured:hover { background: #1d4ed8; box-shadow: 0 8px 28px rgba(37,99,235,0.45); }

.btn-cta {
  background: linear-gradient(135deg, var(--accent-main), var(--accent-sub));
  color: #fff;
  font-size: 1.05rem;
  padding: 16px 48px;
  box-shadow: 0 4px 24px rgba(37,99,235,0.35);
}
.btn-cta:hover { box-shadow: 0 8px 36px rgba(37,99,235,0.5); }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--accent-main);
}
.navbar.scrolled .nav-logo { color: var(--accent-main); }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a:hover { color: var(--accent-main); }
.nav-cta {
  background: #fff !important;
  color: var(--accent-main) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(255,255,255,0.3);
  transition: background 0.2s !important;
}
.navbar.scrolled .nav-cta {
  background: var(--accent-main) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(37,99,235,0.3);
}
.nav-cta:hover { opacity: 0.9; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--text-main); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 35%, #06b6d4 70%, #67e8f9 100%);
}
#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* 装飾ブロブ */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -100px; left: -80px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 32px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 18px;
}
.hero-tagline .accent {
  background: rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 0 8px;
  color: #fff;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.stat-item {
  text-align: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 16px 28px;
  border: 1px solid rgba(255,255,255,0.25);
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
}
.stat-unit {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8));
  animation: scrollLine 1.8s ease-in-out infinite;
}
.hero-scroll-hint p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.8);
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================
   SECTIONS COMMON
   ============================ */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent-main);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--text-main);
}
.section-desc {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1rem;
}

/* ============================
   ABOUT
   ============================ */
.about { background: var(--bg-white); }
.story-quote {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
  position: relative;
  padding: 32px 40px;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border-radius: 20px;
  border-left: 4px solid var(--accent-main);
}
.story-quote .fa-quote-left,
.story-quote .fa-quote-right {
  font-size: 1.8rem;
  color: var(--accent-main);
  opacity: 0.4;
}
.story-quote .fa-quote-left { margin-bottom: 12px; display: block; }
.story-quote .fa-quote-right { margin-top: 12px; display: block; }
.story-quote p {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-main);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.value-icon i { font-size: 1.5rem; color: var(--accent-main); }
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.value-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; }

/* ============================
   PROBLEM
   ============================ */
.problem { background: var(--bg-section); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.problem-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.problem-icon i { font-size: 1.4rem; color: var(--accent-hot); }
.problem-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.problem-card strong { color: var(--text-main); font-weight: 700; }

/* ============================
   SOLUTION
   ============================ */
.solution { background: var(--bg-white); }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.solution-card {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.solution-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(37,99,235,0.06);
  position: absolute;
  top: 8px; right: 20px;
  line-height: 1;
}
.solution-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-main), var(--accent-sub));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.solution-icon i { font-size: 1.5rem; color: #fff; }
.solution-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; color: var(--text-main); }
.solution-card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.9; }

/* ============================
   PLANS
   ============================ */
.plans { background: var(--bg-section); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.plan-featured {
  border: 2px solid var(--accent-main);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #eff6ff 0%, #fff 60%);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-main), var(--accent-sub));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}
.plan-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--accent-sub);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 700;
}
.plan-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-main);
}
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent-main);
}
.price-note { font-size: 0.8rem; color: var(--text-muted); }

.plan-features { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.plan-features .fa-check-circle { color: var(--accent-sub); flex-shrink: 0; margin-top: 4px; }
.plan-featured .plan-features .fa-check-circle { color: var(--accent-main); }

/* ============================
   TARGET
   ============================ */
.target { background: var(--bg-white); }
.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.target-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.target-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.target-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.target-icon i { font-size: 1.4rem; color: var(--accent-gold); }
.target-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.target-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; }

/* ============================
   CTA
   ============================ */
.cta {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 40%, #06b6d4 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.cta-title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.3;
  color: #fff;
}
.cta-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 2;
}
.btn-cta {
  background: #fff;
  color: var(--accent-main);
  font-size: 1.05rem;
  padding: 16px 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.btn-cta:hover { background: #f8fafc; box-shadow: 0 8px 36px rgba(0,0,0,0.2); }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #1e293b;
  padding: 48px 24px;
  text-align: center;
  border-top: none;
}
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 8px;
}
.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; color: var(--text-main) !important; }
  .nav-links a:hover { color: var(--accent-main) !important; }
  .hamburger { display: flex; z-index: 1000; }

  .hero-stats { gap: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .section { padding: 70px 0; }

  .plans-grid,
  .solution-grid,
  .about-values,
  .problem-grid,
  .target-grid {
    grid-template-columns: 1fr;
  }

  .plan-featured { margin-top: 20px; }
  .story-quote { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 3.8rem; }
  .section-title { font-size: 1.6rem; }
  .btn { padding: 12px 28px; font-size: 0.9rem; }
  .stat-item { padding: 12px 18px; }
}
