/* Hero Section */
.hero-section {
  background-image: url("../images/backgrounds/fvback.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 70vh;
  padding: 120px 0 var(--spacing-lg) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  padding: 0 var(--spacing-sm);
  gap: var(--spacing-lg);
}

.hero-text {
  flex: 1;
  color: var(--color-white);
}

.hero-title {
  font-family: "Inter-ExtraBold", Helvetica;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: "Inter-Bold", Helvetica;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
}

.hero-brand {
  margin-bottom: var(--spacing-md);
}

.orion-logo {
  max-width: 400px;
  height: auto;
  display: block;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.demo-image {
  border-radius: 0;
  box-shadow: none !important;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: 0;
}

/* Responsive design for hero section */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 70vh;
    padding: 150px 0 50px 0;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: 20px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 0 30px;
  }

  .orion-logo {
    max-width: clamp(200px, 25vw, 300px);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
    padding: 130px 0 40px 0;
  }

  .hero-content {
    padding: 0 20px;
    gap: 30px;
  }

  .orion-logo {
    max-width: 80vw;
    margin: 0 auto;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .cta-buttons .button {
    padding: 15px 40px;
    font-size: 18px;
    min-width: 200px;
    min-height: 44px;
  }

  .hero-actions {
    width: 100%; /* Ensure it takes full width */
    padding: 0 20px; /* Add padding to prevent cutoff */
    box-sizing: border-box; /* Include padding in width calculation */
    flex-direction: column; /* Ensure buttons stack vertically */
    align-items: center; /* Center buttons horizontally */
    gap: var(--spacing-sm); /* Add vertical spacing between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap if needed */
  }
  .hero-actions .btn.btn-large { /* More specific selector */
    width: 100% !important; /* Ensure buttons take full width of their container */
    box-sizing: border-box;
    min-width: 0 !important; /* Override min-width from base.css for smaller screens */
    max-width: 100% !important; /* Ensure it doesn't exceed parent width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center; /* Center text within the button */
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 50vh;
    padding: 110px 0 30px 0;
  }

  .hero-content {
    padding: 0 15px;
    gap: 25px;
  }

  .orion-logo {
    max-width: 80vw;
    margin: 0 auto;
  }

  .cta-buttons .button {
    padding: 12px 30px;
    font-size: 16px;
    min-height: 44px;
  }
}

/* Thanks Hero Section - 感謝ページ専用スタイル */
.thanks-hero {
  background-image: url("../images/backgrounds/thanks.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 80vh;
  padding: 120px 0 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thanks-hero .hero-content {
  max-width: 800px;
  width: 100%;
  padding: 0 40px;
  text-align: center;
}

.thanks-hero .hero-text {
  color: var(--color-white);
}

.thanks-hero .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  color: var(--color-white);
}

.thanks-hero .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-white);
  margin-bottom: 0;
  opacity: 0.9;
}

/* Thanks Hero Responsive Design */
@media (max-width: 1024px) {
  .thanks-hero {
    min-height: 70vh;
    padding: 100px 0 60px 0;
  }
  
  .thanks-hero .hero-content {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .thanks-hero {
    min-height: 65vh;
    padding: 90px 0 50px 0;
  }
  
  .thanks-hero .hero-content {
    padding: 0 20px;
  }
  
  .thanks-hero .hero-title {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .thanks-hero {
    min-height: 60vh;
    padding: 80px 0 40px 0;
  }
  
  .thanks-hero .hero-content {
    padding: 0 16px;
  }
  
  .thanks-hero .hero-title {
    margin-bottom: 16px;
  }
}