@charset "UTF-8";

/* Scope every rule to the replacement first view. The existing page is kept. */
.pageTop .next-hero {
  margin: 0;
  padding: 0;
  background: #edf2f7;
  color: #102d50;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0;
  line-height: 1.4;
  font-feature-settings: normal;
}

.next-hero *,
.next-hero *::before,
.next-hero *::after {
  box-sizing: border-box;
}

.next-hero .next-hero__inner {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
}

.next-hero .next-hero__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Reuse the approved artwork without changing its pixels. Only the branding,
   headline, photograph and service row are shown. Price and phone CTA below
   are live HTML, so the call-tracking provider can replace the phone number. */
.next-hero .next-hero__art {
  position: relative;
  height: 0;
  padding-bottom: 115.1898734177%; /* original artwork: 948 x 1092 visible */
  overflow: hidden;
  background: #fff;
}

.next-hero .next-hero__art img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

.next-hero p {
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  line-height: 1.4;
}

.next-hero .next-hero__offer {
  padding: 10px 5.5% 12px;
  background: #13385e;
  color: #fff;
}

.next-hero .next-hero__price-label {
  font-size: clamp(1.6rem, 4.8vw, 2.4rem);
  font-weight: 900;
}

.next-hero .next-hero__price-label > span {
  font-size: .7em;
  font-weight: 600;
}

.next-hero .next-hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 .03em;
  margin: 0;
  font-size: clamp(6.4rem, 23vw, 11rem);
  line-height: 1.03;
}

.next-hero .next-hero__price strong {
  color: #fff000;
  font-family: "Arial Black", "Noto Sans JP", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.03;
}

.next-hero .next-hero__price > span {
  font-size: .43em;
  font-weight: 900;
  white-space: nowrap;
}

.next-hero .next-hero__price-note {
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}

.next-hero .next-hero__contact {
  padding: 10px 3% 16px;
  background: #fff;
}

.next-hero .next-hero__contact-note {
  margin: 0 0 8px;
  color: #102d50;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
}

.pageTop .next-hero a.next-hero__call {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  min-height: 76px;
  margin: 0;
  padding: 10px 14px 13px;
  border: 1px solid #d64d06;
  border-radius: 13px;
  background: linear-gradient(180deg, #ff7627 0%, #f55b08 100%);
  box-shadow: inset 0 -4px 0 #d54c07, 0 3px 5px rgb(16 45 80 / 15%);
  color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transform: none;
  opacity: 1;
  transition: background-color .15s ease;
  touch-action: manipulation;
}

.pageTop .next-hero a.next-hero__call::before,
.pageTop .next-hero a.next-hero__call::after {
  content: none;
}

.pageTop .next-hero a.next-hero__call:focus-visible {
  outline: 3px solid #102d50;
  outline-offset: 4px;
}

.pageTop .next-hero a.next-hero__call:hover {
  background: #e95709;
  opacity: 1;
}

.next-hero .next-hero__phone-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.next-hero .next-hero__arrow {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.next-hero .next-hero__call-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.next-hero .next-hero__call-label {
  display: block;
  font-size: clamp(2rem, 6.15vw, 2.9rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .01em;
}

.next-hero .next-hero__number {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .025em;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Avoid covering the new phone CTA with the existing floating phone bar.
   The floating bar returns as soon as the hero CTA leaves the viewport. */
.pageTop.next-hero-call-visible .reserve-btn {
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .pageTop .next-hero a.next-hero__call {
    transition: none;
  }
}
