/**
 * Hero Section Block Frontend Styles
 */

.will-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0 !important;
}

.will-hero-section__background {
  position: absolute;
  inset: 0;
}

.will-hero-section__background--solid {
  background: linear-gradient(to bottom right, #101828, #1e293b, #0f172a);
}

.will-hero-section__background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.will-hero-section__background-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      rgba(16, 24, 40, 0.9),
      rgba(30, 41, 59, 0.85),
      rgba(15, 23, 42, 0.9));
}

.will-hero-section__container {
  position: relative;
  z-index: 10;
  width: 100%;
  margin: 0 auto;
  padding: 8rem 3rem;
  text-align: center;
}

.will-hero-section__container--4xl {
  max-width: 56rem;
}

.will-hero-section__container--5xl {
  max-width: 64rem;
}

.will-hero-section__container--6xl {
  max-width: 72rem;
}

.will-hero-section__container--7xl {
  max-width: 80rem;
}

.will-hero-section__logo {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.will-hero-section__logo-image {
  height: 216px;
  width: auto;
}

.will-hero-section__heading {
  font-family: 'Noto Serif Japanese', serif;
  font-size: 1.875rem;
  margin-bottom: 2rem;
  font-weight: 400;
  white-space: nowrap;
}

.will-hero-section__description {
  font-size: calc(20px / 16px * 1rem);
  color: #f3f4f6;
  margin-bottom: 3rem;
  text-align: left;
}

.will-hero-section__cta {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  word-break: break-word;
}

.will-hero-section__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
}

.will-hero-section__cta-button--primary {
  background-color: #e17100;
  color: #ffffff;
}

.will-hero-section__cta-button--primary:hover {
  background-color: #c96100;
}

.will-hero-section__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.will-hero-section__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.will-hero-section__cta-button--ghost {
  background-color: transparent;
  color: #ffffff;
}

.will-hero-section__cta-button--ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.will-hero-section__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.will-hero-section__badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .will-hero-section__logo-image {
    height: 288px;
  }

  .will-hero-section__cta-button {
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .will-hero-section__heading {
    font-size: 2.25rem;
  }

  .will-hero-section__description {
    font-size: calc(24px / 16px * 1rem);
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .will-hero-section__container {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .will-hero-section__logo-image {
    height: 360px;
  }

  .will-hero-section__heading {
    font-size: 3rem;
  }

  .will-hero-section__cta {
    flex-direction: row;
  }

  .will-hero-section__cta-button {
    width: auto;
    padding: 1rem 2rem;
  }
}

@media (min-width: 1280px) {
  .will-hero-section__container {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .will-hero-section__heading {
    font-size: 3.75rem;
  }
}

@media (max-width: 1023px) {
  .will-hero-section__heading {
    white-space: normal;
  }
}
