/* Professional Business Design System (Visasq-inspired) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Colors - Light Professional Theme */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  /* Light Grey for sections */
  --color-text-main: #333333;
  --color-text-secondary: #666666;
  --color-primary: #0056D2;
  /* Visasq-like Blue */
  --color-primary-dark: #0044A5;
  --color-accent: #EBA800;
  /* Gold/Orange for emphasis */
  --color-border: #E0E0E0;

  /* Layout */
  --spacing-container: 1100px;
  --spacing-section: 80px;
  --header-height: 80px;

  /* Typography */
  --font-main: "Inter", "Noto Sans JP", sans-serif;

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  padding-top: var(--header-height);
  /* For fixed header */
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Utilities */
.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.section {
  padding: var(--spacing-section) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}


/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 4px;
  /* More corporate square-ish */
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: rgba(0, 86, 210, 0.05);
}

/* Header / Nav */
.site-header {
  height: var(--header-height);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Typography Helpers */
.heading-section {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.heading-sub {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section (Top) */
.hero-top {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  background-color: #f0f4f8;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-left: 20px;
  /* Offset */
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #333 0%, #0056D2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.hero-tags {
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-tags .tag {
  background: rgba(0, 86, 210, 0.05);
  border: 1px solid rgba(0, 86, 210, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-cta {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Page Hero (Subpages) */
.page-hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Readable text */
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
  border: 1px solid var(--color-border);
}

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

.card-icon {
  font-size: 40px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.card-text {
  color: var(--color-text-secondary);
}

/* Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  position: relative;
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--shadow-hover);
}

.pricing-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  text-transform: uppercase;
  font-weight: 700;
}

.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-text-main);
  margin: 20px 0;
}

.price-unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  color: var(--color-text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Case Studies */
.case-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.case-image {
  width: 100%;
  height: 200px;
  background-color: #eee;
  object-fit: cover;
}

.case-content {
  padding: 30px;
}

.case-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tag {
  background: #eef4ff;
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.case-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-effect {
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}

/* Contact Section (Shared) */
.contact-section-shared {
  background-color: var(--color-bg-alt);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.contact-box {
  background: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
}

.form-textarea {
  height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 60px 0 20px;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: #888;
}

/* Responsive */
@media (max-width: 991px) {
  :root {
    --spacing-container: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --spacing-section: 60px;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-container {
    padding: 0 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  /* Hamburger Animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-top {
    flex-direction: column;
    height: auto;
    padding-top: 0;
  }

  .hero-bg-image {
    position: relative;
    width: 100%;
    height: 250px;
    clip-path: none;
  }

  .hero-content {
    margin: -40px 15px 40px;
    max-width: none;
    padding: 30px 20px;
    text-align: center;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .hero-tags {
    justify-content: center;
    margin-bottom: 15px;
    gap: 6px;
  }

  .hero-tags .tag {
    padding: 4px 12px;
    font-size: 12px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .heading-section {
    font-size: 28px;
  }

  .heading-sub {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .section {
    padding: var(--spacing-section) 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-box {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .pricing-card.featured {
    transform: scale(1);
    margin: 10px 0;
  }
}

/* =========================================
   New Styles for Sanbou Brain Concept
   ========================================= */

/* Urgency Grid */
.urgency-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Single column */
  gap: 40px;
  max-width: 800px;
  /* Limit width for readability */
  margin: 0 auto 40px auto;
  /* Center the grid */
}

@media (max-width: 768px) {
  .urgency-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Styles */
.faq-item {
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
}

/* Case Effect */
.case-effect {
  font-size: 1.1em;
  margin-top: 10px;
  font-weight: bold;
  color: var(--color-accent);
}