.hero-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #d8d2c4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-visual--height-short {
  min-height: 420px;
}

.hero-visual--height-medium {
  min-height: 560px;
}

.hero-visual--height-tall {
  min-height: 680px;
}

.hero-visual__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-visual__scrim {
  position: absolute;
  inset: 0;
}

.hero-visual--overlay-light .hero-visual__scrim {
  background: rgba(20, 16, 12, 0.12);
}

.hero-visual--overlay-medium .hero-visual__scrim {
  background: rgba(20, 16, 12, 0.22);
}

.hero-visual--overlay-strong .hero-visual__scrim {
  background: rgba(20, 16, 12, 0.34);
}

.hero-visual__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: 64px 24px;
}

.hero-visual--align-left .hero-visual__inner {
  justify-content: flex-start;
  text-align: left;
}

.hero-visual--align-center .hero-visual__inner {
  justify-content: center;
  text-align: center;
}

.hero-visual__content {
  max-width: 840px;
}

.hero-visual__eyebrow {
  margin: 0 0 14px;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual__title {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.12;
  font-weight: 700;
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.hero-visual__lead {
  margin: 0 0 30px;
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.95;
}

.hero-visual--align-center .hero-visual__lead {
  margin-left: auto;
  margin-right: auto;
}

/* 文字色 */
.hero-visual--text-white .hero-visual__eyebrow,
.hero-visual--text-white .hero-visual__title,
.hero-visual--text-white .hero-visual__lead {
  color: #ffffff !important;
}

.hero-visual--text-black .hero-visual__eyebrow,
.hero-visual--text-black .hero-visual__title,
.hero-visual--text-black .hero-visual__lead {
  color: #1f1a16 !important;
}

.hero-visual--text-cream .hero-visual__eyebrow,
.hero-visual--text-cream .hero-visual__title,
.hero-visual--text-cream .hero-visual__lead {
  color: #fff7e8 !important;
}

/* シャドウ */
.hero-visual--shadow-none .hero-visual__eyebrow,
.hero-visual--shadow-none .hero-visual__title,
.hero-visual--shadow-none .hero-visual__lead {
  text-shadow: none !important;
}

.hero-visual--shadow-soft .hero-visual__eyebrow,
.hero-visual--shadow-soft .hero-visual__title,
.hero-visual--shadow-soft .hero-visual__lead {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
}

.hero-visual--shadow-strong .hero-visual__eyebrow,
.hero-visual--shadow-strong .hero-visual__title,
.hero-visual--shadow-strong .hero-visual__lead {
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.68),
    0 0 2px rgba(0, 0, 0, 0.55) !important;
}

.hero-visual__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-visual--align-center .hero-visual__actions {
  justify-content: center;
}

.hero-visual__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.hero-visual__button:hover {
  transform: translateY(-1px);
  opacity: 0.97;
}

/* ボタンは両方とも白で統一 */
.hero-visual__button--primary,
.hero-visual__button--secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #2b241d;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-visual__button--primary:hover,
.hero-visual__button--secondary:hover {
  background: #ffffff;
  color: #2b241d;
}

@media (max-width: 820px) {
  .hero-visual--height-short,
  .hero-visual--height-medium,
  .hero-visual--height-tall {
    min-height: 520px;
  }

  .hero-visual__inner {
    padding: 48px 18px;
  }

  .hero-visual__title {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  .hero-visual__lead {
    max-width: 100%;
    font-size: 0.96rem;
  }
}

@media (max-width: 560px) {
  .hero-visual--height-short,
  .hero-visual--height-medium,
  .hero-visual--height-tall {
    min-height: 460px;
  }

  .hero-visual__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual__button {
    width: 100%;
  }
}