:root {
  --primary: #0f1b2b;
  --primary-light: #1e3a5f;
  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-soft: rgba(217, 119, 6, 0.12);
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --card-border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(15, 27, 43, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 27, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 27, 43, 0.12);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-base: 'Noto Sans JP', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
}

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

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

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

.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: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.4;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.25rem; font-size: 1.05rem; }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.brand-logo img {
  width: 44px;
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.98rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a1420 0%, #15263d 100%);
  color: #ffffff;
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(rgba(217, 119, 6, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: #fbbf24;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  color: #ffffff;
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.35;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 34px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Stats Section */
.stats-section {
  background: #ffffff;
  padding: 50px 0;
  border-bottom: 1px solid var(--card-border);
}

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

.stat-card {
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 6px;
}

/* Section Common */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: #ffffff;
  padding: 36px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.process-step {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(217, 119, 6, 0.18);
  font-family: var(--font-heading);
}

.process-icon {
  width: 58px;
  height: 58px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 22px;
}

/* Trust Principles Section */
.trust-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.trust-item {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--primary-light);
}

.trust-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 1.2rem;
}

.trust-item h3 i {
  color: var(--accent);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.05);
}

.service-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* Feature Row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.feature-list li i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 4px;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
  background: #ffffff;
  z-index: 2;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  padding: 4px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pricing-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
}

.pricing-features li i {
  color: #10b981;
}

/* Form Section */
.form-section {
  background: linear-gradient(135deg, #0f1b2b 0%, #172a45 100%);
  color: #ffffff;
}

.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--text-main);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-header h2 {
  color: var(--primary);
  font-size: 1.85rem;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--primary);
}

.form-group label .req {
  color: #dc2626;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.15rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-icon {
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 26px 24px;
  max-height: 400px;
}

/* Legal & Trust Layer Box */
.trust-layer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 36px 0;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
}

.trust-layer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.trust-layer h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-layer a {
  color: var(--accent);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
}

/* Legal Page Layout */
.legal-page-header {
  background: linear-gradient(135deg, #0a1420 0%, #15263d 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.legal-page-header h1 {
  color: #ffffff;
  font-size: 2.2rem;
}

.legal-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 24px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.legal-card h2 {
  font-size: 1.45rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.legal-table th, .legal-table td {
  border: 1px solid #e2e8f0;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.95rem;
}

.legal-table th {
  background: #f8fafc;
  color: var(--primary);
  width: 30%;
  font-weight: 700;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  background: #ffffff;
  color: var(--text-main);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--card-border);
  z-index: 99999;
  display: none;
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.btn-cookie-accept {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-decline {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid #cbd5e1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .feature-row, .trust-layer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid, .process-grid, .services-grid, .pricing-grid, .trust-principles-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }
  .burger-btn { display: block; }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.show {
    display: flex;
  }
  .stats-grid, .process-grid, .services-grid, .pricing-grid, .trust-principles-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-wrapper {
    padding: 30px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}