﻿:root {
  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --primary-dark: #0f172a;
  --accent: #ef4444;
  --accent-blue: #2563eb;
  --accent-light: #eff6ff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 14px 28px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Noto Sans JP', sans-serif;
  --container-w: 1200px;
}

*, *::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-page);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand-logo {
  display: flex;
  align-items: center;
  height: 52px;
}
.brand-logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}
.nav-link:hover {
  color: var(--accent-blue);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.btn-outline:hover {
  background: var(--accent-light);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0b132b 100%);
  color: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #ffffff;
}
.hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.08rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-media {
  position: relative;
}
.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-img-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.hero-floating-card {
  position: absolute;
  bottom: -24px;
  left: -20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-lg);
}
.hero-floating-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 4px;
}
.hero-floating-card h4 {
  font-size: 1.1rem;
  color: #38bdf8;
  font-weight: 700;
}

.trust-strip {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-item svg {
  width: 28px;
  height: 28px;
  fill: #60a5fa;
  flex-shrink: 0;
}
.trust-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* Sections */
.section {
  padding: 90px 0;
}
.section-light {
  background-color: #ffffff;
}
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.35;
}
.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
}

/* Value Props / Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.benefit-card {
  background: var(--bg-card);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}
.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.benefit-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-blue);
}
.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}
.benefit-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: #ffffff;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #bfdbfe;
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Services */
.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(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.service-thumb {
  height: 220px;
  width: 100%;
  overflow: hidden;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-thumb img {
  transform: scale(1.05);
}
.service-body {
  padding: 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-features {
  list-style: none;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.service-features li {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.service-features li::before {
  content: "✓";
  color: var(--accent-blue);
  font-weight: bold;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
}
.testimonial-author h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}
.testimonial-author p {
  font-size: 0.82rem;
  color: #64748b;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-blue);
  transition: transform 0.3s;
}
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.35;
}
.about-text p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.8;
}
.transparency-callout {
  background: #eff6ff;
  border-left: 4px solid var(--accent-blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 24px;
}
.transparency-callout h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.transparency-callout p {
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Form Section */
.form-section {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 90px 0;
}
.form-card {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid #cbd5e1;
}
.form-header {
  text-align: center;
  margin-bottom: 32px;
}
.form-header h2 {
  font-size: 1.95rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}
.form-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}
.form-group label .req {
  color: var(--accent);
  margin-left: 4px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #ffffff;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.05rem;
}
.form-reassurance {
  margin-top: 18px;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
}
.form-feedback {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
  text-align: center;
}
.form-feedback.success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}
.form-feedback.error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 30px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-about h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.footer-about p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-blue);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.82rem;
  color: #64748b;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #f8fafc;
  padding: 18px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  z-index: 1000;
  border-top: 1px solid #334155;
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #cbd5e1;
  flex: 1;
  min-width: 280px;
}
.cookie-text a {
  color: #60a5fa;
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
}
.btn-cookie-accept {
  background: var(--accent-blue);
  color: #ffffff;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
}
.btn-cookie-decline {
  background: transparent;
  color: #94a3b8;
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid #475569;
  cursor: pointer;
}
.btn-cookie-decline:hover {
  color: #ffffff;
  border-color: #cbd5e1;
}

/* Legal Page Layout */
.legal-page {
  padding: 60px 0 90px;
  background: #ffffff;
}
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}
.legal-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 36px;
}
.legal-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 0.85rem;
  color: #64748b;
}
.legal-body section {
  margin-bottom: 36px;
}
.legal-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  border-left: 4px solid var(--accent-blue);
  padding-left: 12px;
}
.legal-body p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-body ul, .legal-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-body li {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 8px;
  line-height: 1.7;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  text-align: left;
}
.legal-table th {
  background: #f1f5f9;
  font-weight: 700;
  width: 28%;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .benefits-grid, .services-grid, .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: none;
    border-bottom: 1px solid var(--border-color);
  }
  .main-nav.active {
    display: flex;
  }
  .hero-title {
    font-size: 2rem;
  }
  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .benefits-grid, .services-grid, .testimonials-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card {
    padding: 28px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
