body.subpage-hero-page {
  --subpage-hero-content: 1120px;
  --subpage-hero-pad: clamp(16px, 4vw, 32px);
}

body.subpage-hero-page section.subpage-hero .subpage-hero__visual {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 60vh;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

body.subpage-hero-page section.subpage-hero .subpage-hero__visual > .subpage-hero__wordmark {
  position: absolute;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: calc(36% + 50px);
  left: max(var(--subpage-hero-pad), calc((100vw - var(--subpage-hero-content)) / 2));
  width: clamp(240px, 27vw, 350px);
  min-width: 0;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none;
  text-shadow: none;
}

body.subpage-hero-page section.subpage-hero .subpage-hero__wordmark > img {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 30%));
}

body.subpage-hero-page section.subpage-hero .subpage-hero__visual > .subpage-hero__title {
  position: absolute;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: 36%;
  left: max(var(--subpage-hero-pad), calc((100vw - var(--subpage-hero-content)) / 2));
  width: auto;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(15px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .12em;
  text-shadow: 0 1px 5px rgb(0 0 0 / 35%);
  transform: none;
}

@media (max-width: 767px) {
  body.subpage-hero-page section.subpage-hero .subpage-hero__visual > .subpage-hero__wordmark {
    bottom: calc(28% + 48px);
    left: 20px;
    width: min(72vw, 300px);
  }

  body.subpage-hero-page section.subpage-hero .subpage-hero__visual > .subpage-hero__title {
    bottom: 28%;
    left: 20px;
    font-size: clamp(18px, 5.3vw, 22px);
    letter-spacing: .1em;
  }
}
