/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, sans-serif;
  color: #1a1a2e; background: #fafbfe; line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== UTILITY ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  color: #6366f1; background: #eef2ff; padding: 4px 14px;
  border-radius: 20px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 1.9rem; font-weight: 900; line-height: 1.4;
  margin-bottom: 12px; color: #1a1a2e;
}
.section-subtitle { color: #6b7280; font-size: 0.95rem; margin-bottom: 48px; }
.text-center { text-align: center; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3px;
}
.badge-step { background: #6366f1; color: #fff; }
.badge-new { background: #fee2e2; color: #dc2626; }
.badge-popular { background: #dbeafe; color: #2563eb; }
.badge-beginner { background: #d1fae5; color: #059669; }
.badge-important { background: #fef3c7; color: #d97706; }

/* ===== HEADER ===== */
.header {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1080px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 900; font-size: 0.85rem;
}
.logo-text { font-size: 1.15rem; font-weight: 900; color: #1a1a2e; }
.logo-text span { color: #6366f1; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { font-size: 0.88rem; font-weight: 500; color: #4b5563; }
.nav a:hover { color: #6366f1; }
.nav-cta {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff !important; padding: 8px 20px; border-radius: 8px;
  font-weight: 700; font-size: 0.85rem;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99,102,241,0.3); }
.hamburger { display: none; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #1a1a2e; margin: 5px 0; transition: 0.3s; border-radius: 2px; }
.mobile-menu {
  display: none; position: fixed; top: 66px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid #e5e7eb;
  padding: 20px 24px; z-index: 99; box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.mobile-menu.active { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; color: #1a1a2e; border-bottom: 1px solid #f3f4f6; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 40%, #312e81 100%);
  padding: 72px 24px 56px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(168,85,247,0.12) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 1; max-width: 1080px;
  margin: 0 auto; display: flex; align-items: center; gap: 48px;
}
.hero-text { flex: 1; }
.hero-card {
  flex: 0 0 340px; background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px; text-align: center;
}
.hero-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  margin: 0 auto 16px; display: flex; align-items: center;
  justify-content: center; font-size: 2.2rem;
}
.hero-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.hero-card p { color: #a5b4fc; font-size: 0.85rem; line-height: 1.6; margin-bottom: 20px; }
.hero-card-stats { display: flex; justify-content: center; gap: 24px; }
.hero-card-stat { text-align: center; }
.hero-card-stat .val { color: #fff; font-weight: 700; font-size: 1rem; }
.hero-card-stat .lbl { color: #818cf8; font-size: 0.7rem; margin-top: 2px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
  font-size: 0.78rem; color: #c7d2fe; border: 1px solid rgba(255,255,255,0.08);
}
.hero-label .dot { width: 7px; height: 7px; background: #34d399; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:0.4 } }
.hero h1 {
  font-size: 2.4rem; font-weight: 900; color: #fff;
  line-height: 1.45; margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { color: #c7d2fe; font-size: 0.95rem; line-height: 1.9; margin-bottom: 28px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; font-weight: 700;
  font-size: 0.92rem; transition: all 0.25s ease; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; box-shadow: 0 4px 14px rgba(245,158,11,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.35); }
.btn-secondary {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #e2e8f0;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }
.btn-accent {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff; box-shadow: 0 4px 14px rgba(99,102,241,0.25);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.35); }
.btn-outline {
  background: transparent; border: 2px solid #6366f1; color: #6366f1;
}
.btn-outline:hover { background: #6366f1; color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: #fff; border-bottom: 1px solid #f1f5f9; padding: 20px 0;
}
.trust-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #6b7280; }
.trust-item .icon { font-size: 1.2rem; }

/* ===== REASON CARDS ===== */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason-card {
  background: #fff; border-radius: 16px; padding: 32px 28px;
  border: 1px solid #e5e7eb; transition: all 0.3s ease; position: relative;
}
.reason-card::before {
  content: attr(data-num); position: absolute; top: -12px; left: 24px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff; width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.reason-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); border-color: #6366f1; }
.reason-icon { font-size: 2rem; margin-bottom: 16px; }
.reason-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.reason-card p { font-size: 0.88rem; color: #6b7280; line-height: 1.7; }

/* ===== ARTICLE CARDS ===== */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.article-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #e5e7eb; transition: all 0.3s ease;
  display: flex;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.07); }
.article-thumb {
  flex: 0 0 160px; display: flex; align-items: center;
  justify-content: center; font-size: 2.5rem;
}
.article-thumb.c1 { background: linear-gradient(135deg, #eef2ff, #dbeafe); }
.article-thumb.c2 { background: linear-gradient(135deg, #faf5ff, #f3e8ff); }
.article-thumb.c3 { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.article-thumb.c4 { background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.article-body { padding: 24px; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.article-date { font-size: 0.78rem; color: #9ca3af; }
.article-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.article-body p { font-size: 0.84rem; color: #6b7280; line-height: 1.7; }
.article-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.84rem; font-weight: 600; color: #6366f1; margin-top: 12px;
}
.article-link:hover { gap: 8px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(160deg, #0f172a, #1e1b4b);
  padding: 72px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99,102,241,0.15), transparent 70%);
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 14px; line-height: 1.5; }
.cta-section > .cta-content > p { color: #a5b4fc; margin-bottom: 28px; font-size: 0.95rem; }
.cta-benefits { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.cta-benefit { display: flex; align-items: center; gap: 6px; color: #e0e7ff; font-size: 0.88rem; }
.cta-benefit .check { color: #34d399; font-weight: 700; }
.cta-note { font-size: 0.78rem; color: #6b7280; margin-top: 14px; }

/* ===== COMPARISON TABLE ===== */
.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.comp-table {
  width: 100%; border-collapse: separate; border-spacing: 0; min-width: 600px;
}
.comp-table th {
  background: #1e1b4b; color: #fff; padding: 14px 18px;
  font-size: 0.84rem; font-weight: 600; text-align: left;
}
.comp-table th.hl { background: #6366f1; }
.comp-table td {
  padding: 13px 18px; font-size: 0.88rem; border-bottom: 1px solid #f1f5f9; background: #fff;
}
.comp-table td.hl { background: #eef2ff; font-weight: 600; color: #4338ca; }
.comp-table tr:last-child td { border-bottom: none; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e5e7eb; border-radius: 12px;
  margin-bottom: 10px; overflow: hidden; background: #fff;
}
.faq-q {
  padding: 18px 22px; display: flex; justify-content: space-between;
  align-items: center; font-weight: 600; font-size: 0.94rem; cursor: pointer;
}
.faq-q:hover { background: #fafafe; }
.faq-arrow { transition: transform 0.3s; color: #9ca3af; font-size: 0.9rem; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px; font-size: 0.88rem; color: #4b5563; line-height: 1.8;
}
.faq-item.active .faq-a { max-height: 400px; padding: 0 22px 18px; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }

/* ===== PROFILE ===== */
.profile-card {
  background: #fff; border-radius: 20px; padding: 48px; max-width: 720px;
  margin: 0 auto; border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.profile-top { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  flex-shrink: 0;
}
.profile-info h3 { font-size: 1.2rem; font-weight: 700; }
.profile-info p { font-size: 0.85rem; color: #6b7280; }
.profile-bio { font-size: 0.92rem; color: #374151; line-height: 2; }
.profile-links { display: flex; gap: 12px; margin-top: 20px; }

/* ===== STEP LIST (for articles) ===== */
.step-list { counter-reset: step; }
.step-item {
  background: #fff; border-radius: 14px; padding: 28px 28px 28px 80px;
  border: 1px solid #e5e7eb; margin-bottom: 16px; position: relative;
}
.step-item::before {
  counter-increment: step; content: "STEP " counter(step);
  position: absolute; left: 24px; top: 28px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 6px; letter-spacing: 0.5px;
}
.step-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 0.88rem; color: #4b5563; line-height: 1.8; }

/* ===== ARTICLE PAGE ===== */
.article-header {
  background: linear-gradient(160deg, #0f172a, #1e1b4b);
  padding: 56px 24px 40px; text-align: center;
}
.article-header h1 { font-size: 1.8rem; font-weight: 900; color: #fff; line-height: 1.5; margin-bottom: 12px; }
.article-header .meta { color: #a5b4fc; font-size: 0.85rem; }
.article-content {
  max-width: 760px; margin: -24px auto 0; padding: 40px 36px;
  background: #fff; border-radius: 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.article-content h2 {
  font-size: 1.3rem; font-weight: 800; margin: 40px 0 16px;
  padding-bottom: 8px; border-bottom: 3px solid #6366f1;
  color: #1a1a2e;
}
.article-content h3 {
  font-size: 1.1rem; font-weight: 700; margin: 28px 0 12px; color: #312e81;
}
.article-content p { margin-bottom: 16px; font-size: 0.92rem; line-height: 2; color: #374151; }
.article-content ul {
  margin: 12px 0 20px 20px; list-style: none;
}
.article-content ul li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: 0.9rem; color: #374151; line-height: 1.8;
}
.article-content ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; background: #6366f1; border-radius: 50%;
}
.callout {
  background: #eef2ff; border-left: 4px solid #6366f1;
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 24px 0;
  font-size: 0.9rem; line-height: 1.8; color: #312e81;
}
.callout-warn {
  background: #fffbeb; border-left-color: #f59e0b; color: #92400e;
}
.inline-cta {
  background: linear-gradient(135deg, #faf5ff, #eef2ff);
  border: 2px solid #c4b5fd; border-radius: 16px;
  padding: 28px; text-align: center; margin: 32px 0;
}
.inline-cta h4 { font-size: 1.05rem; font-weight: 700; color: #4338ca; margin-bottom: 8px; }
.inline-cta p { font-size: 0.85rem; color: #6b7280; margin-bottom: 16px; }

/* ===== FOOTER ===== */
.footer { background: #0f172a; color: #94a3b8; padding: 56px 24px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.7; margin-top: 12px; }
.footer h4 { color: #e2e8f0; font-size: 0.88rem; margin-bottom: 14px; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 0.84rem; color: #94a3b8; }
.footer ul a:hover { color: #818cf8; }
.footer-disclaimer {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 16px 20px; margin-bottom: 20px;
  font-size: 0.72rem; line-height: 1.9; color: #64748b;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; text-align: center; font-size: 0.78rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 56px 20px 40px; }
  .hero-content { flex-direction: column; gap: 32px; }
  .hero-card { flex: none; width: 100%; }
  .reason-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { flex-direction: column; }
  .article-thumb { flex: none; height: 120px; }
  .trust-items { gap: 20px; }
  .comp-table { font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-card { padding: 28px; }
  .profile-top { flex-direction: column; text-align: center; }
  .article-content { padding: 28px 20px; margin: -16px 12px 0; }
  .article-header h1 { font-size: 1.4rem; }
  .step-item { padding-left: 24px; padding-top: 48px; }
  .step-item::before { left: 20px; top: 16px; }
  .cta-benefits { flex-direction: column; align-items: center; gap: 10px; }
}
