.home-hero {
  --home-hero-primary-bg: #e48955;
  --home-hero-phone-bg: #0051a3;
  --home-hero-mincho: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif CJK JP", "MS PMincho", serif;
  --home-hero-gothic: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  position: relative;
  isolation: isolate;
  color: #fff;
  background-color: #0c3155;
}

.home-hero,
.home-hero * {
  box-sizing: border-box;
}

.home-hero__media,
.home-hero__media::after,
.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__media {
  z-index: -1;
  overflow: hidden;
}

.home-hero__media::after {
  content: "";
  background: linear-gradient(90deg, rgba(2, 31, 63, .74), rgba(2, 36, 68, .46) 39%, rgba(3, 30, 56, .04) 70%);
}

.home-hero__media img {
  display: block;
  object-fit: cover;
  object-position: 76% 54%;
}

.home-hero__layout {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100rem;
  min-height: clamp(25rem, 32.5vw, 32.5rem);
  margin-inline: auto;
  padding: clamp(2.25rem, 3vw, 3rem) clamp(1.25rem, 2.8125vw, 2.8125rem);
}

.home-hero__content {
  min-width: 0;
  width: 100%;
}

.home-hero__title,
.home-hero__lead,
.home-hero__tagline {
  margin: 0;
  color: inherit;
  font-family: var(--home-hero-mincho);
  line-break: strict;
  overflow-wrap: anywhere;
  paint-order: stroke fill;
  text-shadow:
    -3px -3px 7px #004d98,
     3px -3px 7px #004d98,
    -3px  3px 7px #004d98,
     3px  3px 7px #004d98,
     0 0 14px #004d98,
     0 0 26px #004d98;
}

.home-hero__title,
.home-hero__lead {
  -webkit-text-stroke: 4px #004c97;
}

.home-hero__title {
  font-size: clamp(2.15rem, 3.75vw, 3.75rem);
  font-weight: 400;
  line-height: 1.333;
  letter-spacing: .075em;
}

.home-hero__lead {
  max-width: 47rem;
  margin-top: clamp(1.15rem, 2.3vw, 2.3rem);
  font-size: clamp(1.2rem, 1.875vw, 1.875rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .075em;
}

.home-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 2.625vw, 2.625rem);
  max-width: 41rem;
  margin-top: clamp(1.25rem, 1.75vw, 1.75rem);
}

.home-hero .home-hero__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.5rem, .875vw, .875rem);
  min-width: 0;
  min-height: clamp(4.375rem, 6.4375vw, 6.4375rem);
  padding: .625rem .75rem;
  border: 1px solid #fff;
  border-radius: 0;
  background-color: var(--home-hero-action-bg);
  color: #fff;
  font-family: var(--home-hero-gothic);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}

.home-hero .home-hero__action--primary {
  --home-hero-action-bg: var(--home-hero-primary-bg);
  font-size: clamp(1.2rem, 1.76vw, 1.76rem);
}

.home-hero .home-hero__action--phone {
  --home-hero-action-bg: var(--home-hero-phone-bg);
  position: relative;
  text-align: left;
}

.home-hero .home-hero__action--primary:hover {
  --home-hero-primary-bg: #a74b24;
}

.home-hero .home-hero__action--phone:has(.home-hero__phone-number > a[href^="tel:"]:hover) {
  --home-hero-phone-bg: #003f7d;
}

.home-hero .home-hero__action:focus-visible,
.home-hero .home-hero__phone-number > a[href^="tel:"]:focus-visible::after {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px #082948;
}

.home-hero__icon {
  display: block;
  flex: 0 0 auto;
  width: clamp(1.5rem, 2.625vw, 2.625rem);
  height: auto;
}

.home-hero__phone-details {
  display: grid;
  gap: .15rem;
  min-width: 0;
  font-size: clamp(.75rem, 1vw, 1rem);
}

.home-hero__phone-number {
  font-family: system-ui, sans-serif;
  font-size: clamp(1.25rem, 1.875vw, 1.875rem);
}

.home-hero .home-hero__phone-number > a[href^="tel:"] {
  position: static;
  display: inline;
  overflow: visible;
  color: inherit;
  text-decoration: none;
  vertical-align: baseline;
}

.home-hero .home-hero__phone-number > a[href^="tel:"]::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  background: none;
  cursor: pointer;
  transform: none;
  transition: none;
}

.home-hero__tagline {
  display: none;
}

@media (min-width: 64rem) {
  .home-hero__layout--tagline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) fit-content(30%);
    column-gap: clamp(1rem, 2vw, 2rem);
  }

  .home-hero__actions {
    width: clamp(30rem, 41.053125vw, 41rem);
    max-width: 100%;
  }

  .home-hero__tagline {
    align-self: end;
    display: block;
    margin-right: clamp(1.912rem, 2.9875vw, 2.9875rem);
    margin-bottom: clamp(0rem, calc(3.4vw - 3rem), .4rem);
    font-size: clamp(1.6rem, 2.45vw, 2.45rem);
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: .06em;
    -webkit-text-stroke: 4px #132f4b;
  }
}

@media (max-width: 47.99rem) {
  .home-hero__media img {
    object-position: 76% 66%;
  }

  .home-hero__media::after {
    background: linear-gradient(180deg, rgba(1, 22, 45, .76), rgba(1, 25, 50, .64) 48%, rgba(1, 22, 45, .82));
  }

  .home-hero__layout {
    min-height: clamp(22rem, 73vw, 26rem);
  }

  .home-hero__title {
    font-size: clamp(1.5rem, 6.45vw, 2.75rem);
    letter-spacing: .035em;
  }

  .home-hero__lead {
    font-size: clamp(1rem, 3.7vw, 1.375rem);
    line-height: 1.6;
    letter-spacing: .02em;
    word-break: auto-phrase;
  }

  .home-hero__lead br {
    display: none;
  }
}

@media (max-width: 35.99rem) {
  .home-hero__actions {
    grid-template-columns: minmax(0, 1fr);
    max-width: 24rem;
  }

  .home-hero .home-hero__action {
    min-height: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .home-hero__action {
    transition: none;
  }
}
