/* Root variables for theme colors */
:root {
  --primary: #194B8f;
  --secondary: #2e7bcb;
  --accent: #0ea5e9;
  --ink: #0f172a;
  --surface: #f6f8fb;
  --white: #ffffff;
  --grey-light: #e5eaf4;
  --grey: #a0aec0;
}

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

html,
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--surface);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  z-index: 1000;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.site-nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.3s ease;
}
.site-nav a:hover {
  color: var(--primary);
}

/* Section wrapper */
.section {
  padding: 80px 0;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 90vh;
  color: var(--white);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6));
  z-index: 0;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-img.active {
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90vh;
}
.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 640px;
}
.kpi-list {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.kpi-list li {
  list-style: none;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.btn img {
  margin-right: 0.4rem;
  width: 1.2rem;
  height: 1.2rem;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  /* Slightly darker shade for hover */
  background: #163e7b;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-line {
  background: #00b900;
  color: var(--white);
}
.btn-line:hover {
  background: #009a00;
  transform: translateY(-2px);
}

/* Issues / Solutions */
.issues-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.issues,
.solutions {
  flex: 1 1 280px;
}
.issues ul li,
.solutions ul li {
  margin-bottom: 1rem;
}
.issues ul li strong,
.solutions ul li strong {
  color: var(--primary);
  font-weight: 700;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-weight: 600;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--ink);
}

/* Pricing */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.5rem;
}
.pricing-table th,
.pricing-table td {
  padding: 0.8rem 1rem;
  border: 1px solid var(--grey-light);
  text-align: left;
}
.pricing-table thead th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}
.pricing-table tbody tr:nth-child(even) {
  background: var(--grey-light);
}
.note {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 0.4rem;
  text-align: right;
}

/* Proof */
.proof-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.proof-item {
  flex: 1 1 250px;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  text-align: center;
  padding: 1.2rem;
}
.proof-item h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.proof-item p {
  font-size: 1rem;
  font-weight: 600;
}
.proof-note {
  font-size: 0.85rem;
  color: var(--grey);
  text-align: center;
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.case-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.case-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.case-body {
  padding: 1rem;
}
.case-body h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.case-body p {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.comment {
  font-style: italic;
  color: var(--secondary);
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.roadmap-item {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}
.roadmap-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--grey-light);
  border-radius: 9999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.6rem;
  display: inline-block;
}
.roadmap-item p {
  font-size: 0.9rem;
}

/* FAQ */
.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--grey-light);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 0;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.faq-question.active::after {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 0.8rem 0;
  font-size: 0.9rem;
  color: var(--ink);
}
.faq-answer p {
  margin-bottom: 0.6rem;
}

/* CV / Forms */
.cv-section {
  background: var(--grey-light);
  padding-top: 80px;
  padding-bottom: 100px;
}
.cv-section p {
  text-align: center;
  margin-bottom: 1.5rem;
}
.cv-form {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.form-step {
  flex-direction: column;
  gap: 0.8rem;
}
.form-step1 {
  display: flex;
}
.form-step2 {
  display: none;
}
.form-step input,
.form-step textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  font-size: 0.95rem;
}
.form-step textarea {
  resize: vertical;
  min-height: 100px;
}
.form-step button {
  margin-top: 0.4rem;
  width: 100%;
}
.cv-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cv-links .btn {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1000;
}
.sticky-btn {
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-btn.line {
  background: #00b900;
}
.sticky-btn img {
  width: 1.2rem;
  height: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-nav ul {
    gap: 0.8rem;
    font-size: 0.85rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-lead {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .kpi-list {
    gap: 0.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    flex-direction: column;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .sticky-cta {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}