:root {
  --primary: #0f2744;
  --primary-light: #1e3e6b;
  --accent: #c68a18;
  --accent-hover: #b0750e;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-focus: #2563eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 10px;
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Meiryo", 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);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--accent);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.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);
  white-space: nowrap;
  border: 0;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.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;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.brand-logo img {
  width: 36px;
  height: 36px;
}
.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  font-weight: 400;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
}
.main-nav a.active, .main-nav a:hover {
  color: var(--accent);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

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

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

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.mobile-drawer.open {
  display: flex;
}
.mobile-drawer a {
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0c1a2c 0%, #152c4a 100%);
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(198, 138, 24, 0.18);
  border: 1px solid var(--accent);
  color: #facc15;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.1);
}
.hero-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Stats Bar */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 80px 0;
}
.section-muted {
  background: #f1f5f9;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}
.section-subtitle {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}
.section-header h2 {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #e2e8f0;
}
.process-card .icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.process-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.process-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.service-card {
  background: #ffffff;
  border-radius: var(--radius);
  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: 220px;
  object-fit: cover;
}
.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}
.service-features {
  list-style: none;
  margin-bottom: 20px;
}
.service-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features i {
  color: #10b981;
}

/* Features Block */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.features-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.features-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.features-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.features-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.feature-points {
  list-style: none;
}
.feature-point {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.feature-point .icon-box {
  width: 44px;
  height: 44px;
  background: rgba(198, 138, 24, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.feature-point h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.feature-point p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.pricing-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  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);
  z-index: 10;
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}
.pricing-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}
.pricing-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-list {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}
.pricing-list li {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-list i {
  color: #10b981;
  font-size: 0.85rem;
}

/* Trust / Principles Section */
.trust-block {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
}
.trust-block-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.trust-item h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item h4 i {
  color: var(--accent);
}
.trust-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Form Section */
.form-section {
  background: linear-gradient(135deg, #0c1a2c 0%, #152c4a 100%);
  color: #ffffff;
  padding: 80px 0;
}
.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--text-main);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.form-wrapper h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}
.form-wrapper p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 30px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group.full {
  grid-column: 1 / -1;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-group label .required {
  color: #ef4444;
  margin-left: 4px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--border-focus);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.6;
}
.form-checkbox-label input {
  margin-top: 4px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.faq-question i {
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-question.active i {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  border-top: 1px solid var(--border-color);
}
.faq-answer.open {
  display: block;
}

/* Trust Layer */
.trust-layer {
  background: #0f1f33;
  color: #e2e8f0;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}
.trust-layer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}
.trust-layer h4 {
  color: #facc15;
  font-size: 1rem;
  margin-bottom: 12px;
}
.trust-layer p {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 8px;
}
.trust-layer a {
  color: #facc15;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: #081220;
  color: #94a3b8;
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #94a3b8;
}
.footer-col a:hover {
  color: #ffffff;
}
.footer-legal-notice {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.7;
}

/* Legal Pages Styling */
.legal-content {
  background: #ffffff;
  padding: 50px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin: 40px 0 80px 0;
}
.legal-content h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 24px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
}
.legal-content h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 32px 0 12px 0;
}
.legal-content p, .legal-content li {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.85;
}
.legal-content ul, .legal-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
}
.legal-table th {
  background: #f8fafc;
  color: var(--primary);
  width: 28%;
  font-weight: 700;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  margin: 0 auto;
  background: #0f172a;
  color: #ffffff;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.cookie-banner.show {
  display: block;
}
.cookie-banner p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #cbd5e1;
}
.cookie-banner a {
  color: #facc15;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.cookie-btn-accept {
  background: var(--accent);
  color: #ffffff;
}
.cookie-btn-decline {
  background: #334155;
  color: #e2e8f0;
}

/* Thank you & 404 Pages */
.status-page {
  text-align: center;
  padding: 100px 20px;
}
.status-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.status-page h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.status-page p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px auto;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-split {
    grid-template-columns: 1fr;
  }
  .trust-block-grid {
    grid-template-columns: 1fr;
  }
  .trust-layer-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-content {
    padding: 24px;
  }
  .legal-table th, .legal-table td {
    display: block;
    width: 100%;
  }
}

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