.nd-service-document .hero-banner {
  isolation: isolate;
  overflow: hidden;
}

.nd-service-document .hero-banner .hero-image {
  position: relative;
  z-index: 0;
}

.nd-service-document .hero-banner::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(250, 249, 247, .58);
  content: '';
  pointer-events: none;
}

.nd-service-document .hero-banner::after {
  z-index: 2;
}

.nd-service-document .service-hero-title {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: min(900px, 88%);
  margin: auto;
  padding: 44px 24px 80px;
  color: #302b28;
  text-align: center;
  text-shadow: 0 1px 10px rgba(255, 255, 255, .75);
  pointer-events: none;
}

.nd-service-document .service-hero-title__lead {
  margin: 0;
  color: inherit;
}

.nd-service-document .service-hero-title__ja {
  margin: 0;
  color: inherit;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .12em;
}

.nd-service-document .service-hero-title__lead {
  margin-top: 18px;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .06em;
}

@media (max-width: 800px) {
  .nd-service-document .hero-banner::before {
    background: rgba(250, 249, 247, .55);
  }

  .nd-service-document .service-hero-title {
    width: 94%;
    padding: 28px 12px 54px;
  }

  .nd-service-document .service-hero-title__ja {
    max-width: 100%;
    font-size: clamp(23px, 7vw, 28px);
    line-height: 1.55;
    letter-spacing: .07em;
  }

  .nd-service-document .service-hero-title__lead {
    max-width: 310px;
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.8;
  }
}
