/* hero.css - Hero section component */

.hero {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  height: 550px;
  padding: 0 0 10rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: -20px;
  left: 40%;
  z-index: -1;
  width: 2200px;
  opacity: 1;
}

.hero__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.hero__content {
  flex: 0 0 calc((100% - var(--space-lg)) * 0.45);
}

.hero__image {
  flex: 0 0 calc((100% - var(--space-lg)) * 0.55);
  display: flex;
  align-items: center;
}

.hero__title {
  margin: 0 0 var(--space-md);
  font-size: var(--fz-5xl);
  line-height: 1.25;
  color: var(--color-text);
}

.hero__title span {
  display: block;
  margin-bottom: var(--space-md);
  font-size: var(--fz-lg);
}

.hero__desc {
  max-width: 58ch;
  margin: 0;
  font-size: var(--fz-md);
  color: var(--color-text-light);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 35px 0 0;
}

.hero__badge img {
  width: auto;
  height: 68px;
}

.badge {
  display: flex;
  gap: var(--space-sm);
  font-weight: 700;
  color: var(--color-text);
  align-items: flex-end;
  line-height: 1;
}

.badge__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
}

.badge__content {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-xs);
}

.badge__num {
  font-family: "Noto Sans", sans-serif;
  font-size: 5rem;
  letter-spacing: 0;
}

.badge__num span {
  font-size: 2.4rem;
}

.badge span.comma {
  font-size: 3rem;
}

.badge__title {
  font-size: var(--fz-lg);
  text-align: center;
}

.badge__unit {
  font-size: var(--fz-md);
  letter-spacing: 0;
}

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

.page-hero {
  height: 220px;
  margin: 0;
  padding: 0;
  background: var(--color-bg-alt);
}

.page-hero h1 {
  font-size: var(--fz-3xl);
  line-height: 1;
  text-align: center;
}

@media (max-width: 767px) {
  .hero {
    height: 450px;
  }

  .page-hero {
    height: 120px;
  }

  .page-hero h1 {
    font-size: var(--fz-xl);
    line-height: 1.5;
  }

  .hero__title {
    text-align: center;
  }

  .hero__title span {
    font-size: var(--fz-lg);
  }

  .hero__desc {
    display: none;
  }

  .hero__inner {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .hero__badge {
    margin: 25px 0 0;
    justify-content: center;
  }

  .hero__badge img {
    height: 50px;
  }

  .hero__bg {
    top: 35%;
    left: 10%;
    width: 1000px;
  }

  /* Badge フォントサイズ調整（スマホ） */
  .badge__num {
    font-size: 3.2rem;
  }

  .badge__num span {
    font-size: 1.8rem;
  }

  .badge span.comma {
    font-size: 2.0rem;
  }

  .badge__title {
    font-size: var(--fz-sm);
  }

  .badge__unit {
    font-size: var(--fz-xs);
  }
}