:root {
  --navy: #0f3d5a;
  --navy-dark: #092f49;
  --ink: #333333;
  --muted: #5e6470;
  --gold: #bf8d25;
  --gold-dark: #a97813;
  --cream: #fffaf0;
  --paper: #fffdf8;
  --line: #e4d7bf;
  --sage: #7f8f74;
  --shadow: 0 12px 28px rgba(63, 48, 25, .14);
  --radius: 8px;
  --content-width: 760px;
  --form-label-width: 220px;
  --section-heading-space-top: 32px;
  --section-heading-space-bottom: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

p {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
p,
li,
a,
small,
label {
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.sortable-sections {
  display: flex;
  flex-direction: column;
}

.lp-section {
  order: var(--section-order);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(206, 183, 139, .45);
  background: rgba(255, 253, 247, .96);
  backdrop-filter: blur(10px);
}

.nav {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 174px;
  align-items: center;
  width: min(100% - 40px, var(--content-width));
  min-height: 58px;
  margin: 0 auto;
  gap: 18px;
}

.brand img {
  width: 180px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: #333333;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #d4a239, var(--gold-dark));
  box-shadow: 0 9px 18px rgba(154, 105, 16, .22);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.nav-cta {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
}

.gold-button::after {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--gold-dark);
  content: "+";
  font-size: 14px;
  line-height: 1;
}

.nav-cta::after {
  content: none;
}

.hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: #fbf6ea;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(251, 246, 234, 0) 0%, rgba(251, 246, 234, .86) 62%, #fbf6ea 100%);
  content: "";
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("img/hero-phone-mail.png") calc(50% + 60px) calc(50% + 30px) / 1650px auto no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  width: min(100% - 54px, var(--content-width));
  min-height: 480px;
  margin: 0 auto;
  padding: 30px 0 0;
  gap: 18px;
}

.hero-copy {
  position: relative;
  max-width: var(--content-width);
}

.hero-copy::before {
  position: absolute;
  top: -46px;
  right: 240px;
  bottom: -20px;
  left: -64px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(251, 246, 234, 0) 0%, rgba(251, 246, 234, .58) 70px, rgba(251, 246, 234, .5) calc(100% - 140px), rgba(251, 246, 234, 0) 100%);
  content: "";
  pointer-events: none;
}

.hero-catch-image {
  display: block;
  width: 100%;
  margin: 0 0 22px;
}

.hero-catch-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero h1,
.container > h2,
.form-card h2,
.footer p {
  font-family: "Zen Old Mincho", "Noto Serif JP", serif;
}

.hero h1 {
  margin: 0 0 18px;
  color: #333333;
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1.55;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .85);
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero h1 .kana-small,
h2 .kana-small {
  font-size: .9em;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

.form-card .gold-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: cta-glow 3s ease-in-out infinite;
}

.form-card .gold-button:hover,
.form-card .gold-button:focus-visible {
  background: linear-gradient(180deg, #edc45a, #b87405);
  box-shadow: 0 15px 28px rgba(154, 105, 16, .38), 0 0 0 4px rgba(255, 231, 153, .46);
  transform: translateY(-2px) scale(1.012);
}

.form-card .gold-button:active {
  transform: translateY(0) scale(1);
}

@keyframes cta-glow {
  0%,
  68%,
  100% {
    box-shadow: 0 9px 18px rgba(154, 105, 16, .22), 0 0 0 0 rgba(255, 231, 153, 0);
  }

  76% {
    box-shadow: 0 15px 28px rgba(154, 105, 16, .34), 0 0 0 4px rgba(255, 246, 203, .95), 0 0 22px rgba(226, 182, 75, .58);
  }

  88% {
    box-shadow: 0 13px 24px rgba(154, 105, 16, .3), 0 0 0 12px rgba(226, 182, 75, 0), 0 0 30px rgba(226, 182, 75, .22);
  }
}

@media (prefers-reduced-motion: reduce) {
.form-card .gold-button {
    animation: none;
  }
}

.heading-line {
  display: block;
  white-space: nowrap;
}

.mobile-form-title-line {
  display: none;
}

.section-heading {
  word-break: keep-all;
  overflow-wrap: normal;
}

.container {
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
}

.container > h2,
.form-card h2 {
  margin: 0 0 14px;
  color: #333333;
  font-size: 38px;
  line-height: 1.45;
  text-align: center;
}

.items,
.faq {
  padding: 24px 0;
  background: #fffdf8;
}

.items {
  padding: 46px 0 42px;
  background: linear-gradient(180deg, #fffdf8 0%, #fffaf0 100%);
}

.items .container > h2 {
  margin-bottom: 42px;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.item-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 84px 1px 98px 1fr;
  align-items: start;
  min-height: 0;
  padding: 34px 24px 26px;
  border: 1px solid #decdae;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(255, 250, 240, .98));
  box-shadow: 0 10px 28px rgba(80, 58, 30, .08);
  text-align: center;
  gap: 12px;
}

.item-grid article:nth-child(2) {
  border-color: rgba(79, 118, 144, .42);
}

.item-grid article:nth-child(3) {
  border-color: rgba(173, 166, 91, .52);
}

.item-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding-bottom: 2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 253, 248, .95);
  background: linear-gradient(180deg, #d8b54a, #a77d18);
  box-shadow: 0 4px 12px rgba(80, 58, 30, .22);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.item-grid article:nth-child(2) .item-number {
  background: linear-gradient(180deg, #8eacbc, #486f85);
}

.item-grid article:nth-child(3) .item-number {
  background: linear-gradient(180deg, #c7c47a, #8f8b37);
}

.item-grid h3 {
  margin: 0;
  color: #333333;
  font-size: 21px;
  line-height: 1.45;
  align-self: end;
}

.item-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(191, 141, 37, 0), rgba(191, 141, 37, .55), rgba(191, 141, 37, 0));
}

.item-grid article:nth-child(2) .item-divider {
  background: linear-gradient(90deg, rgba(72, 111, 133, 0), rgba(72, 111, 133, .48), rgba(72, 111, 133, 0));
}

.item-grid article:nth-child(3) .item-divider {
  background: linear-gradient(90deg, rgba(143, 139, 55, 0), rgba(143, 139, 55, .48), rgba(143, 139, 55, 0));
}

.item-icon {
  display: grid;
  min-height: 98px;
  place-items: center;
  position: relative;
}

.item-icon img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.item-icon::before {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: rgba(191, 141, 37, .62);
  content: "＋";
  font-size: 28px;
  line-height: 1;
  position: absolute;
}

.item-icon.has-image::before {
  content: none;
}

.item-grid article:nth-child(2) .item-icon::before {
  color: rgba(72, 111, 133, .58);
}

.item-grid article:nth-child(3) .item-icon::before {
  color: rgba(143, 139, 55, .58);
}

.item-grid p,
.item-grid small {
  display: block;
  margin: 0;
  color: #333333;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
}

.small-note {
  margin: 12px 0 0;
  color: #333333;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.form-band {
  margin-top: -1px;
  padding: 34px 0 44px;
  background:
    linear-gradient(180deg, #fbf6ea 0%, #fbf6ea 16%, #fffaf0 58%, #fcf7eb 100%);
}

.form-shell {
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
}

.form-shell > .section-heading {
  margin-bottom: 20px;
}

.form-section-heading {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #333333;
  font-size: clamp(28px, 3.25vw, 38px);
  line-height: 1.35;
  text-align: center;
}

.form-section-heading .kana-small {
  font-size: .82em;
}

.form-title-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.form-title-eyebrow::before,
.form-title-eyebrow::after {
  display: block;
  width: 76px;
  height: 1px;
  content: "";
}

.form-title-eyebrow::before {
  background: linear-gradient(90deg, rgba(191, 141, 37, 0), rgba(191, 141, 37, .84));
}

.form-title-eyebrow::after {
  background: linear-gradient(90deg, rgba(191, 141, 37, .84), rgba(191, 141, 37, 0));
}

.form-title-lead {
  margin-top: 12px;
  color: #4d463b;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.form-card {
  overflow: hidden;
  border: 1px solid rgba(177, 137, 67, .78);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 14px 34px rgba(16, 35, 51, .22);
}

.form-card h2 {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  overflow: hidden;
  margin: 0;
  padding: 30px 24px 42px;
  border-bottom: 2px solid rgba(198, 154, 73, .82);
  background: url("../img/form-header-bg.png") center / cover no-repeat;
  color: #fff3d2;
  font-size: 26px;
  line-height: 1.45;
}

.form-card form {
  display: grid;
  gap: 16px;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 38px 44px 38px;
}

.form-card label {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 6px;
  color: #333333;
  font-size: 13px;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-row label {
  grid-template-columns: 1fr;
  gap: 6px;
}

.form-full-field {
  grid-template-columns: 1fr;
  gap: 6px;
}

.form-pair-field {
  display: grid;
  gap: 6px;
  color: #333333;
  font-size: 13px;
  font-weight: 800;
}

.form-pair-label {
  display: block;
}

.form-row-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-fieldset {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: #333333;
}

.form-fieldset legend {
  display: contents;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.form-fieldset legend span {
  display: block;
}

.form-date-row {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr;
  gap: 8px;
}

.form-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(191, 141, 37, .28);
  border-radius: 6px;
  background: rgba(255, 246, 223, .86);
  color: #333333;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 2px solid #d8cdbb;
  border-radius: 5px;
  background: #fffdf8;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
}

input::placeholder {
  color: #b4aa9d;
  font-weight: 400;
}

select:invalid {
  color: #b4aa9d;
}

select option {
  color: #333333;
}

.required-mark {
  margin-left: 3px;
  color: #d43f33;
  font-weight: 800;
}

.form-label-text {
  display: inline-flex;
  align-items: center;
}

.privacy {
  margin: 0;
  color: #333333;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}

@media (min-width: 981px) {
.form-card form {
    width: min(100%, 860px);
    gap: 14px;
    padding: 36px 56px 38px;
  }

.form-card label,
.form-pair-label,
.form-fieldset legend {
    font-size: 16px;
  }

.form-card input,
.form-card select {
    min-height: 54px;
    font-size: 15px;
  }

.form-card form > label,
.form-full-field {
    grid-template-columns: var(--form-label-width) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }

.form-row {
    gap: 10px;
  }

.form-row:not(.form-row-compact) label {
    grid-template-columns: var(--form-label-width) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }

.form-pair-field {
    grid-template-columns: var(--form-label-width) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }

.form-row-compact {
    gap: 18px;
  }

.form-fieldset {
    grid-template-columns: var(--form-label-width) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }

.form-date-row {
    gap: 10px;
  }

.form-date-row select {
    min-width: 0;
  }
}

.form-card .gold-button {
  min-height: 58px;
  width: min(100%, 560px);
  margin: 12px auto 0;
  font-size: 22px;
}

.faq {
  padding: 26px 0 30px;
  background: #fffaf0;
}

.faq .container > h2 {
  margin-bottom: 22px;
  font-size: 38px;
}

.items,
.faq {
  padding-top: var(--section-heading-space-top);
}

.items .container > h2,
.faq .container > h2 {
  margin-top: 0;
  margin-bottom: var(--section-heading-space-bottom);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.faq-grid details {
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(216, 205, 187, .78);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 2px 10px rgba(80, 58, 30, .035);
}

.faq-grid summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 17px 48px 17px 34px;
  color: #333333;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
  position: relative;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  position: absolute;
  top: 18px;
  right: 26px;
  color: var(--gold);
  content: "+";
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.faq-grid details[open] summary {
  padding-bottom: 12px;
}

.faq-grid details[open] summary::after {
  content: "−";
}

.faq-grid p {
  margin: 0;
  padding: 0 34px 18px;
  color: #333333;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.faq-grid p strong {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  color: #333333;
  font-weight: 800;
}

.faq-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 4px;
  background: #1f4564;
  color: #fff;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding-bottom: 2px;
}

.faq-label-answer {
  background: var(--gold);
}

.footer {
  background:
    linear-gradient(180deg, rgba(10, 26, 53, .08), rgba(10, 26, 53, .72)),
    url("../img/footer-mountains.png") center bottom / cover no-repeat;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  width: min(100% - 40px, var(--content-width));
  min-height: 136px;
  margin: 0 auto;
  gap: 20px;
  padding: 22px 0 18px;
}

.footer img {
  width: 210px;
  filter:
    brightness(1.55)
    drop-shadow(0 1px 2px rgba(8, 20, 42, .38))
    drop-shadow(0 0 8px rgba(255, 246, 205, .22));
}

.footer p {
  margin: 0;
  color: #fff5dc;
  font-size: 16px;
  line-height: 1.6;
}

.footer nav {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 700;
}

.footer small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  text-align: center;
}

.modal-open {
  overflow: hidden;
}

.thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.thanks-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.thanks-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 45, .62);
  backdrop-filter: blur(6px);
}

.thanks-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  padding: 38px 42px 34px;
  border: 1px solid rgba(196, 150, 52, .46);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(255, 250, 240, .98)),
    var(--paper);
  box-shadow: 0 28px 70px rgba(8, 22, 45, .28);
  color: var(--ink);
  text-align: center;
  transform: translateY(12px) scale(.98);
  transition: transform .24s ease;
}

.thanks-modal.is-open .thanks-modal__dialog {
  transform: translateY(0) scale(1);
}

.thanks-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(196, 150, 52, .34);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
}

.thanks-modal__close::before,
.thanks-modal__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-dark);
  content: "";
}

.thanks-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.thanks-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.thanks-modal__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border: 2px solid rgba(196, 150, 52, .48);
  border-radius: 50%;
  background: linear-gradient(180deg, #d8a83d, var(--gold-dark));
  box-shadow: 0 12px 26px rgba(154, 105, 16, .22);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.thanks-modal__eyebrow {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.thanks-modal h2 {
  margin: 0;
  color: var(--navy-dark);
  font-family: "Zen Old Mincho", "Noto Serif JP", serif;
  font-size: 25px;
  line-height: 1.55;
}

.thanks-modal__lead {
  margin: 18px 0 0;
  color: #334155;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  text-align: left;
}

.thanks-modal__note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(231, 76, 60, .16);
  border-radius: 6px;
  background: rgba(255, 245, 241, .8);
  color: #c95040;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-align: left;
}

.thanks-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 44px;
  margin-top: 24px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #d4a239, var(--gold-dark));
  box-shadow: 0 9px 18px rgba(154, 105, 16, .22);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 980px) {
.site-header {
    position: static;
  }

.nav {
    grid-template-columns: 160px 1fr;
    min-height: auto;
    padding: 10px 14px;
  }

.brand img {
    width: 150px;
  }

.nav-links {
    display: none;
  }

.nav-cta {
    justify-self: end;
  }

.hero-inner {
    grid-template-columns: 1fr;
    width: min(100% - 28px, var(--content-width));
    min-height: 0;
    padding: 24px 0 30px;
  }

.hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 250, 240, .98) 0%, rgba(255, 250, 240, .9) 48%, rgba(255, 250, 240, .98) 100%),
      url("img/hero-phone-mail.png") 61% center / auto 54% no-repeat;
  }

.hero-copy {
    max-width: 100%;
    padding-bottom: 0;
  }

.item-grid,
.form-shell,
.faq-grid,
.footer-inner {
    grid-template-columns: 1fr;
  }

.form-card {
    border-radius: 8px;
  }

.footer nav {
    grid-column: auto;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
.site-header {
    display: none;
  }

.hero {
    min-height: 0;
  }

.nav {
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(100% - 24px, var(--content-width));
    padding: 6px 0 7px;
    gap: 0;
  }

.brand img {
    width: 128px;
  }

.nav-cta {
    display: none;
  }

.hero h1 {
    font-size: 29px;
    line-height: 1.5;
  }

.hero-catch-image {
    margin-bottom: 14px;
  }

.sp-only {
    display: inline;
  }

.form-section-heading {
    gap: 5px;
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.42;
  }

.form-title-eyebrow {
    gap: 8px;
    font-size: 13px;
  }

.form-title-eyebrow::before,
.form-title-eyebrow::after {
    width: 44px;
  }

.form-title-lead {
    font-size: 12px;
    line-height: 1.7;
  }

.form-card .gold-button {
    min-height: 56px;
    font-size: 18px;
  }

.hero-copy {
    padding-bottom: 0;
  }

.hero-bg {
    background: linear-gradient(180deg, rgba(255, 250, 240, .98) 0%, rgba(255, 250, 240, .9) 50%, rgba(255, 250, 240, .98) 100%);
  }

.container,
.form-shell {
    width: min(calc(100% - 24px), var(--content-width));
    margin-left: auto;
    margin-right: auto;
  }

.hero-inner {
    width: min(calc(100% - 28px), var(--content-width));
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0px;
  }

.container > h2,
.form-card h2 {
    font-size: 30px;
    line-height: 1.55;
    word-break: break-all;
  }

.section-heading {
    word-break: keep-all;
    overflow-wrap: normal;
  }

.container > h2.section-heading {
    font-size: clamp(20px, 6vw, 30px);
  }

@media (max-width: 360px) {
.container > h2.section-heading {
      font-size: 20px;
    }
}

.faq .container > h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

.items,
.faq {
    padding-top: 24px;
  }

.items .container > h2,
.faq .container > h2 {
    margin-bottom: 20px;
  }

.form-card h2 {
    padding: 24px 16px 34px;
    word-break: keep-all;
  }

.faq-grid p {
    word-break: break-all;
  }

.item-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

.item-grid article {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 18px 16px;
    gap: 12px;
  }

.item-grid span {
    width: 24px;
    height: 24px;
    margin-top: 1px;
    padding-bottom: 1px;
    font-size: 13px;
  }

.item-grid h3 {
    font-size: 17px;
    line-height: 1.55;
  }

.item-grid p,
.item-grid small {
    font-size: 14px;
    line-height: 1.85;
  }

.form-card form {
    padding: 22px 18px;
  }

.faq-grid article {
    padding: 17px 18px;
  }

.form-card label,
.form-row {
    grid-template-columns: 1fr;
  }

.form-row-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.form-date-row {
    grid-template-columns: 1.15fr .85fr .85fr;
  }

.footer-inner {
    justify-items: center;
    text-align: center;
  }

.thanks-modal {
    padding: 16px;
  }

.thanks-modal__dialog {
    padding: 32px 20px 26px;
  }

.thanks-modal h2 {
    font-size: 21px;
  }

.thanks-modal__lead {
    font-size: 14px;
  }
}

/* Referral-card landing page overrides */
.card-showcase,
.flow {
  padding: 56px 0;
  background: #fffdf8;
}

.section-lead {
  margin: -6px auto 26px;
  color: #536272;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

.mock-card-carousel {
  position: relative;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.mock-card-carousel::before,
.mock-card-carousel::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 34px;
  content: "";
  pointer-events: none;
}

.mock-card-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #fffdf8 0%, rgba(255, 253, 248, .86) 34%, rgba(255, 253, 248, 0) 100%);
}

.mock-card-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #fffdf8 0%, rgba(255, 253, 248, .86) 34%, rgba(255, 253, 248, 0) 100%);
}

.mock-card-row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: card-conveyor 58s linear infinite;
  --card-start-x: 0px;
  --card-end-x: calc(-50% - 8px);
  will-change: transform;
}

.mock-card-row.is-paused {
  animation: none;
  transform: translateX(var(--card-drag-x, 0px));
}

.mock-card-carousel.is-dragging {
  cursor: grabbing;
}

.diagnosis-mock-card {
  position: relative;
  flex: 0 0 340px;
  width: 340px;
  margin: 0;
  border: 1px solid #dbcaa5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(78, 58, 29, .12);
  overflow: hidden;
}

.diagnosis-mock-card::before {
  content: none;
}

.diagnosis-mock-card img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

@keyframes card-conveyor {
  from {
    transform: translateX(var(--card-start-x));
  }

  to {
    transform: translateX(var(--card-end-x));
  }
}

@media (prefers-reduced-motion: reduce) {
.mock-card-row {
    animation: none;
    overflow-x: auto;
    scrollbar-width: none;
  }
}

.items {
  padding: 64px 0;
}

.item-grid {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  gap: 18px;
}

.item-grid article {
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 28px 34px;
}

.item-grid span {
  width: 46px;
  height: 46px;
  font-size: 18px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.flow-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid #decdae;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(80, 58, 30, .06);
}

.flow-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.flow-grid h3 {
  margin: 0 0 8px;
  color: #333;
  font-size: 17px;
  line-height: 1.55;
}

.flow-grid p {
  margin: 0;
  color: #4c5662;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

@media (max-width: 900px) {
.diagnosis-mock-card {
    flex-basis: min(82vw, 360px);
    width: min(82vw, 360px);
  }

.flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
.card-showcase,
.flow,
.items {
    padding: 42px 0;
  }

.card-showcase .heading-line,
.items .heading-line,
.flow .heading-line {
    display: inline;
    white-space: normal;
  }

.card-showcase .section-heading,
.items .section-heading,
.flow .section-heading {
    max-width: 100%;
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.55;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

.section-lead {
    margin-top: 8px;
    font-size: 14px;
  }

.diagnosis-mock-card {
    flex-basis: min(86vw, 360px);
    width: min(86vw, 360px);
  }

.item-grid article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 22px 18px;
  }

.item-grid span {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

.flow-grid article {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 22px 18px;
  }
}

.item-grid article {
  grid-template-columns: 1fr;
  grid-template-rows: 84px 1px 98px 1fr;
}

.item-grid .item-number {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: 0;
  transform: translateX(-50%);
}

.item-grid h3 {
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
}

.item-icon img[hidden] {
  display: none;
}

@media (max-width: 980px) {
.item-grid article {
    grid-template-columns: 1fr;
    grid-template-rows: 96px 1px 104px 1fr;
    padding: 34px 24px 26px;
  }
}

@media (max-width: 560px) {
.item-grid .item-number {
    width: 38px;
    height: 38px;
  }

.items .container > h2 {
    margin-bottom: 50px;
  }

.item-grid h3 {
    font-size: 23px;
  }
}

.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 980px);
  margin: 0 auto;
  gap: 26px;
}

.flow-grid::before {
  position: absolute;
  top: 78px;
  bottom: 78px;
  left: 69px;
  width: 12px;
  background: rgba(223, 211, 190, .5);
  content: "";
}

.flow-grid article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  min-height: 118px;
  padding: 24px 34px;
  border: 1px solid rgba(216, 205, 187, .9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(80, 58, 30, .06);
}

.flow-grid span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 50%;
  background: #d3ad5d;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.flow-grid h3 {
  margin: 0 0 8px;
  color: #092f49;
  font-size: 20px;
  line-height: 1.45;
}

.flow-grid p {
  margin: 0;
  color: #5e6470;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

@media (max-width: 980px) {
.item-grid {
    gap: 34px;
  }

.flow-grid {
    gap: 18px;
  }

.flow-grid::before {
    left: 45px;
  }

.flow-grid article {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 116px;
    padding: 24px 22px;
  }

.flow-grid span {
    width: 52px;
    height: 52px;
    font-size: 15px;
  }

.flow-grid h3 {
    font-size: 18px;
  }

.flow-grid p {
    font-size: 13px;
  }
}

@media (max-width: 560px) {
.item-grid {
    gap: 42px;
  }

.flow-grid::before {
    left: 38px;
  }

.flow-grid article {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 22px 18px;
  }

.flow-grid span {
    width: 48px;
    height: 48px;
    font-size: 14px;
  }

.flow-grid h3 {
    font-size: 17px;
    line-height: 1.45;
  }

.flow-grid p {
    font-size: 12px;
    line-height: 1.65;
  }

.faq-grid summary {
    padding: 15px 44px 15px 22px;
    font-size: 15px;
    line-height: 1.55;
  }

.faq-grid summary::after {
    top: 16px;
    right: 20px;
    font-size: 21px;
  }
}

.item-grid article p {
  justify-self: stretch;
  width: 100%;
  text-align: left;
}

.item-grid article {
  grid-template-columns: 1fr;
  grid-template-rows: 92px 1px 104px auto;
  align-items: start;
  gap: 12px;
}

.item-grid h3 {
  display: grid;
  min-height: 92px;
  place-items: end center;
}

.item-divider {
  align-self: start;
}

.item-icon {
  height: 104px;
  min-height: 104px;
  align-self: start;
}

.item-icon.has-image::before {
  display: none;
  content: "";
}

.item-grid p,
.item-grid small {
  justify-self: stretch;
  width: 100%;
  text-align: left;
}

@media (max-width: 980px) {
.item-grid article {
    grid-template-rows: 104px 1px 110px auto;
  }

.item-grid h3 {
    min-height: 104px;
  }

.item-icon {
    height: 110px;
    min-height: 110px;
  }
}

.form-fieldset legend span,
.form-pair-label,
.form-label-text {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.items {
  background: #fff;
}

.card-showcase {
  background: #fffaf0;
}

.card-showcase .mock-card-carousel::before {
  background: linear-gradient(90deg, #fffaf0 0%, rgba(255, 250, 240, .86) 34%, rgba(255, 250, 240, 0) 100%);
}

.card-showcase .mock-card-carousel::after {
  background: linear-gradient(270deg, #fffaf0 0%, rgba(255, 250, 240, .86) 34%, rgba(255, 250, 240, 0) 100%);
}

.flow-grid::before {
  left: 56px;
}

.flow {
  background: #fff;
}

.card-showcase .section-heading {
  margin-bottom: 18px;
}

.card-showcase .section-lead {
  margin-top: 30px;
  margin-bottom: 34px;
}

.flow .section-heading {
  margin-bottom: 34px;
}

.items .container > h2 {
  margin-bottom: 58px;
}

.form-card form {
  padding-bottom: 24px;
  background: #fff;
}

.form-card {
  box-shadow: 0 7px 17px rgba(16, 35, 51, .11);
}

.form-note {
  margin-bottom: 10px;
  background: #fff7df;
}

#submitBtn {
  margin-top: 26px;
}

.marker-line {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 .04em;
}

.marker-line::after {
  position: absolute;
  left: -.04em;
  right: -.04em;
  bottom: .08em;
  z-index: -1;
  height: .34em;
  border-radius: 999px 40% 999px 46%;
  background: linear-gradient(90deg, rgba(225, 184, 68, .18), rgba(225, 184, 68, .58) 18%, rgba(225, 184, 68, .48) 72%, rgba(225, 184, 68, .14));
  content: "";
  transform: rotate(-1deg);
}

.hero {
  min-height: 420px;
}

.hero-inner {
  min-height: 420px;
}

.hero::after {
  height: 46px;
  background: linear-gradient(180deg, rgba(251, 246, 234, 0) 0%, rgba(251, 246, 234, .64) 68%, #fbf6ea 100%);
}

.form-band {
  padding-top: 18px;
}

h2.section-heading,
.container > h2.section-heading,
.card-showcase .section-heading,
.items .section-heading,
.flow .section-heading,
.faq .section-heading {
  font-size: clamp(28px, 3.1vw, 34px);
}

.form-section-heading {
  font-size: clamp(25px, 2.9vw, 34px);
}

.form-title-eyebrow {
  min-height: 38px;
  margin-bottom: 14px;
  padding: 7px 18px 8px;
  border: 1px solid rgba(216, 181, 94, .92);
  border-radius: 999px;
  background: #0f334f;
  box-shadow: 0 7px 16px rgba(15, 51, 79, .12);
  color: #fffdf8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.form-title-eyebrow::before,
.form-title-eyebrow::after {
  display: none;
}

.form-title-lead {
  margin-top: 30px;
  margin-bottom: 16px;
}

#submitBtn::after {
  display: none;
  content: none;
}

.item-grid article {
  grid-template-rows: 76px 1px 104px auto;
}

.item-grid h3 {
  min-height: 76px;
}

h2 .kana-small,
.form-section-heading .kana-small,
.thanks-modal h2 .kana-small {
  font-size: .84em;
}

.flow-grid article {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
}

@media (max-width: 980px) {
.flow-grid::before {
    left: 42px;
  }

.flow-grid article {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 560px) {
.items .container > h2 {
    margin-bottom: 56px;
  }

.form-card form {
    padding-bottom: 20px;
  }

#submitBtn {
    margin-top: 22px;
  }

.hero,
.hero-inner {
    min-height: clamp(540px, 150vw, 760px);
  }

.form-band {
    padding-top: 0px;
  }

h2.section-heading,
.container > h2.section-heading,
.card-showcase .section-heading,
.items .section-heading,
.flow .section-heading,
.faq .section-heading {
    font-size: clamp(22px, 6vw, 27px);
  }

.form-section-heading {
    font-size: clamp(22px, 5.8vw, 27px);
  }

.form-title-eyebrow {
    min-height: 36px;
    padding: 7px 14px 8px;
    font-size: 12px;
  }

.form-title-lead {
    margin-top: 10px;
    margin-bottom: 16px;
  }

.pc-only {
    display: none;
  }

.form-section-heading .heading-line {
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.45;
  }

.form-section-heading .heading-line:nth-of-type(3) {
    font-size: clamp(20px, 5.9vw, 25px);
  }

.form-title-lead {
    font-size: 12px;
    line-height: 1.8;
  }

.item-grid h3 br {
    display: none;
  }

.item-grid article {
    grid-template-rows: 64px 1px 110px auto;
  }

.item-grid h3 {
    min-height: 64px;
    font-size: 20px;
  }

.form-card .gold-button {
    padding-inline: 16px;
    font-size: 19px;
    line-height: 1.35;
    white-space: normal;
  }

.flow-grid h3 {
    font-size: 15px;
  }

.faq-grid summary {
    gap: 8px;
    padding: 14px 42px 14px 22px;
    font-size: 13px;
  }

.faq-grid p {
    padding: 0 22px 16px;
    font-size: 13px;
  }

.faq-grid p strong {
    gap: 8px;
    font-weight: 400;
  }

.flow-grid::before {
    left: 35px;
  }

.flow-grid article {
    grid-template-columns: 58px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
.hero,
.hero-inner {
    min-height: 0;
  }

.hero-inner {
    width: 100%;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

.hero-copy {
    width: 100%;
    max-width: none;
  }

.hero-catch-image {
    width: 100vw;
    margin-left: 50%;
    margin-bottom: 0px;
    transform: translateX(-50%);
  }

.hero-bg {
    display: none;
  }

.hero-copy::before {
    display: none;
  }

.hero::after {
    display: block;
    height: 0px;
    background: linear-gradient(180deg, rgba(251, 246, 234, 0) 0%, rgba(251, 246, 234, .14) 26%, rgba(251, 246, 234, .62) 64%, #fbf6ea 100%);
  }

.form-shell > .section-heading {
    margin-bottom: 10px;
  }

.form-title-lead {
    margin-bottom: 8px;
  }

.item-grid article {
    grid-template-columns: 68px minmax(0, 1fr);
    grid-template-rows: auto 1px auto;
    column-gap: 16px;
    row-gap: 12px;
    padding: 36px 20px 20px 18px;
    text-align: left;
  }

.desktop-form-title-line {
    display: none;
  }

.mobile-form-title-line {
    display: block;
  }

.item-grid h3 {
    grid-column: 1 / -1;
    min-height: 0;
    font-size: 18px;
    line-height: 1.55;
    place-items: center;
    text-align: center;
  }

.item-divider {
    grid-column: 1 / -1;
  }

.item-icon {
    grid-column: 1;
    height: auto;
    min-height: 0;
    align-self: start;
    justify-self: start;
  }

.item-icon img,
.item-icon::before {
    width: 66px;
    height: 66px;
  }

.item-grid p,
.item-grid small {
    grid-column: 2;
    align-self: center;
    font-size: 13px;
    line-height: 1.75;
  }

.form-card .gold-button {
    font-size: 16px;
    line-height: 1.45;
  }

.faq-grid summary {
    align-items: center;
  }

.faq-grid summary .faq-label {
    margin-top: 0;
  }
}
