:root {
  --bg-primary: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --text-main: #111827;
  --text-muted: #4b5563;
  --brand-navy: #0f2942;
  --brand-blue: #1e40af;
  --brand-accent: #c83232;
  --brand-light: #eff6ff;
  --border-subtle: #e5e7eb;
  --border-strong: #d1d5db;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(15, 41, 66, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 41, 66, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container-max: 1180px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
}

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

body {
  font-family: var(--font-stack);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--brand-navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 10px;
}

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

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

/* Header */
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}
.brand-logo svg {
  width: 32px;
  height: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-link:hover, .nav-link.active {
  color: var(--brand-navy);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--brand-navy);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.header-cta:hover {
  background-color: var(--brand-blue);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}
.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-navy);
}

/* Hero Section */
.hero-section {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-blue);
  background-color: var(--brand-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-graphic {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background-color: var(--brand-navy);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
}
.btn-secondary {
  background-color: #ffffff;
  color: var(--brand-navy);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background-color: #f3f4f6;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 72px 0;
}
.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Feature & Service Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-navy);
}
.card-icon svg {
  width: 28px;
  height: 28px;
}
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step-counter;
}
.step-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}
.step-number {
  counter-increment: step-counter;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-blue);
  opacity: 0.25;
  margin-bottom: 8px;
}
.step-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Pricing Card */
.pricing-wrapper {
  max-width: 560px;
  margin: 0 auto;
}
.pricing-card {
  background: #ffffff;
  border: 2px solid var(--brand-navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.pricing-plan {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}
.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
  margin: 16px 0 8px;
}
.pricing-currency {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 12px;
}
.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-blue);
  transition: transform 0.2s;
}
details[open] .faq-question::after {
  content: "–";
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Content Pages */
.page-header {
  padding: 48px 0 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}
.content-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  margin-bottom: 40px;
}
.content-box h2 {
  font-size: 1.4rem;
  color: var(--brand-navy);
  margin: 28px 0 12px;
}
.content-box h2:first-child {
  margin-top: 0;
}
.content-box p {
  margin-bottom: 16px;
  color: var(--text-muted);
}
.content-box ul {
  margin-bottom: 16px;
  padding-left: 20px;
  color: var(--text-muted);
}
.content-box li {
  margin-bottom: 6px;
}

/* Contact Details */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.contact-info-list {
  list-style: none;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand-navy);
}
.contact-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: var(--brand-navy);
  color: #e2e8f0;
  padding: 60px 0 24px;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 12px;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  max-width: 380px;
  line-height: 1.7;
}
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cookie Consent Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 99999;
}
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cookie-banner a {
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open {
    display: flex;
  }
}

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