:root {
  --primary: #1A365D;
  --primary-dark: #0F233D;
  --primary-light: #2B6CB0;
  --accent: #C05621;
  --accent-hover: #9C4221;
  --accent-soft: #FEEBC8;
  --bg-main: #F7FAFC;
  --bg-card: #FFFFFF;
  --text-main: #2D3748;
  --text-muted: #718096;
  --border-color: #E2E8F0;
  --success: #2F855A;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.12);
  --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@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;
  }
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 9999;
  border-radius: 4px;
  transition: top 0.2s ease;
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

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

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

/* Header */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

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

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

.nav-menu a {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
}

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

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.btn-header {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn-header:hover {
  background: var(--accent) !important;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  z-index: 999;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-list a {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, #0F233D 0%, #1A365D 60%, #2A4365 100%);
  color: #FFFFFF;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(192, 86, 33, 0.25);
  color: #FEEBC8;
  border: 1px solid #C05621;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 38px;
  line-height: 1.35;
  font-weight: 900;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #E2E8F0;
  margin-bottom: 34px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #FFFFFF;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(192, 86, 33, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

/* Stats */
.stats-section {
  background: #FFFFFF;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 85px 0;
}

.section-alt {
  background-color: #EDF2F7;
}

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

.section-subtitle {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 16px;
  color: var(--text-muted);
}

/* Workflow Steps */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.workflow-card {
  background: #FFFFFF;
  padding: 32px 24px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.workflow-step {
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-soft);
  position: absolute;
  top: 16px;
  right: 20px;
}

.workflow-icon {
  width: 50px;
  height: 50px;
  background: rgba(26, 54, 93, 0.08);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.workflow-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.workflow-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.service-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

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

/* Trust Pillar */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-box {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.trust-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-box h3 i {
  color: var(--primary);
}

.trust-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.pricing-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.pricing-plan {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 38px;
}

.pricing-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
}

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

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

.pricing-features li {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.pricing-features li i {
  color: var(--success);
  font-size: 14px;
}

.btn-pricing {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-pricing:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.pricing-card.featured .btn-pricing {
  background: var(--accent);
}

.pricing-card.featured .btn-pricing:hover {
  background: var(--accent-hover);
}

/* Form Section */
.form-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-main);
  padding: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: #FFFFFF;
  color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-check input {
  margin-top: 4px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

.faq-question i {
  transition: transform 0.2s ease;
  color: var(--accent);
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  display: none;
}

.faq-answer.show {
  display: block;
}

/* Trust Layer Banner */
.trust-layer {
  background: #1A202C;
  color: #A0AEC0;
  padding: 30px 0;
  font-size: 13px;
  line-height: 1.7;
  border-top: 1px solid #2D3748;
}

.trust-layer h4 {
  color: #E2E8F0;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 700;
}

.trust-layer a {
  color: #ED8936;
}

/* Footer */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px;
  font-size: 14px;
}

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

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.7;
  font-size: 13px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #94A3B8;
  font-size: 13px;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #64748B;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1A202C;
  color: #FFFFFF;
  padding: 18px 24px;
  z-index: 10000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
  display: none;
}

.cookie-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.6;
  max-width: 780px;
}

.cookie-text a {
  color: #ED8936;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-deny {
  background: transparent;
  color: #CBD5E0;
  border: 1px solid #4A5568;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

/* Legal Pages Styling */
.legal-page-header {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 50px 0;
  text-align: center;
}

.legal-content {
  background: #FFFFFF;
  padding: 50px 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin: 40px 0 60px;
}

.legal-content h2 {
  font-size: 22px;
  color: var(--primary);
  margin: 32px 0 14px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p, .legal-content ul {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
}

.legal-table th, .legal-table td {
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  font-size: 14px;
  text-align: left;
  line-height: 1.7;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media img {
    height: 320px;
  }
  .workflow-grid, .cards-grid, .pricing-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    display: none;
  }
  .burger-btn {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 28px;
  }
  .stats-grid, .footer-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .form-wrapper {
    padding: 24px 18px;
  }
}