@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-muted: #475569;
  --accent: #d97706;
  --accent-hover: #b45309;
  --primary: #1e293b;
  --primary-light: #334155;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-area img { width: 36px; height: 36px; }

.nav-menu { display: flex; gap: 24px; align-items: center; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-primary); }

/* Hero */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 2.5rem; line-height: 1.3; margin-bottom: 20px; font-weight: 700; }
.hero-content p { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 30px; }
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }

/* Stats */
.stats-section { padding: 40px 0; background: #ffffff; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); }

/* Sections */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 16px; color: var(--text-primary); }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 50px auto; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.step-card { background: var(--bg-card); padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; }
.step-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 15px; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 12px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.price-card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); padding: 36px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.badge { position: absolute; top: -14px; right: 20px; background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.price-amount { font-size: 2.5rem; font-weight: 700; margin: 20px 0; color: var(--primary); }

/* Form Section */
.form-section { background: #ffffff; border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); box-shadow: var(--shadow); max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 1rem; }
.form-control:focus { outline: none; border-color: var(--accent); }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }

/* FAQ Accordion */
.faq-item { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.faq-question { width: 100%; padding: 20px; text-align: left; background: none; border: none; font-size: 1.1rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--text-primary); }
.faq-answer { padding: 0 20px 20px 20px; color: var(--text-muted); display: none; }
.faq-item.active .faq-answer { display: block; }

/* Trust Layer */
.trust-layer { background: var(--primary); color: #ffffff; padding: 40px 0; margin-top: 60px; font-size: 0.9rem; }
.trust-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.trust-disclaimer { color: #94a3b8; font-size: 0.8rem; margin-top: 15px; }

/* Footer */
.site-footer { background: #0f172a; color: #94a3b8; padding: 40px 0 20px 0; border-top: 1px solid #334155; font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 20px; right: 20px; left: 20px; max-width: 500px; background: #ffffff; border: 1px solid var(--border); box-shadow: var(--shadow); padding: 20px; border-radius: var(--radius); z-index: 1000; display: none; }
.cookie-banner p { font-size: 0.85rem; margin-bottom: 15px; color: var(--text-muted); }
.cookie-actions { display: flex; gap: 10px; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 6px; cursor: pointer; border: none; }
.btn-accept { background: var(--accent); color: #fff; }
.btn-reject { background: #e2e8f0; color: var(--text-primary); }

@media (max-width: 900px) {
  .hero-grid, .pricing-grid, .trust-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #ffffff; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}