:root {
  --lp-max-width: 750px;
  --color-navy: #061b55;
  --color-pink: #f60755;
  --color-sky: #eaf4ff;
  --color-line: rgba(6, 27, 85, 0.14);
  --focus-ring: rgba(0, 119, 255, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f6f9ff;
}

body {
  margin: 0;
  color: var(--color-navy);
  background:
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 34%, #fff7fa 100%);
  font-family: "Roboto", "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 500;
  font-synthesis-weight: none;
  line-height: 1.6;
  text-size-adjust: 100%;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.desktop-stage {
  display: none;
}

.lp {
  width: min(100%, var(--lp-max-width));
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 36px rgba(6, 27, 85, 0.08);
}

.lp-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.lp-section + .lp-section {
  margin-top: -1px;
}

.lp-section__image {
  display: block;
  width: 100%;
  height: auto;
}

.lp-section--fv {
  padding-top: clamp(34px, 9.4vw, 56px);
  background: #ffffff;
}

.fv-brand-logo {
  position: absolute;
  top: clamp(8px, 2.2vw, 14px);
  left: 4.2%;
  z-index: 2;
  width: 17%;
  max-width: 118px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

.lp-hotspot,
.lp-form-overlay__submit {
  -webkit-tap-highlight-color: rgba(246, 7, 85, 0.18);
}

.lp-hotspot {
  position: absolute;
  left: var(--left);
  top: var(--top);
  width: var(--width);
  height: var(--height);
  display: block;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}

.lp-hotspot:focus-visible,
.diagnosis-widget__start:focus-visible,
.diagnosis-question__choice:focus-visible,
.diagnosis-result__cta:focus-visible,
.faq-accordion__question:focus-visible,
.desktop-frame-form__field:focus-visible,
.desktop-frame-form__submit:focus-visible,
.desktop-frame-menu a:focus-visible,
.thanks-page__line-hotspot:focus-visible,
.lp-form-overlay__field:focus-visible,
.lp-form-overlay__submit:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.lp-section--diagnosis {
  background:
    radial-gradient(circle at 8% 20%, rgba(246, 7, 85, 0.08) 0, rgba(246, 7, 85, 0) 28%),
    radial-gradient(circle at 92% 36%, rgba(48, 133, 255, 0.1) 0, rgba(48, 133, 255, 0) 30%),
    linear-gradient(180deg, #ffffff 0%, #fff8fb 48%, #f4f9ff 100%);
}

.lp-section--diagnosis::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: clamp(46px, 11vw, 78px);
  background: linear-gradient(180deg, rgba(244, 249, 255, 0) 0%, rgba(248, 251, 255, 0.76) 44%, #ffffff 100%);
  pointer-events: none;
}

.lp-section--diagnosis[data-diagnosis-state="answering"]::after,
.lp-section--diagnosis[data-diagnosis-state="complete"]::after {
  height: clamp(58px, 12vw, 92px);
}

.lp-section--empathy {
  background: #ffffff;
}

.diagnosis-widget {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: clamp(-244px, -31.5vw, -118px);
  padding: 0 clamp(16px, 4.6vw, 34px) clamp(46px, 9vw, 70px);
  transition: padding-bottom 180ms ease;
}

.diagnosis-widget.is-open {
  padding-bottom: clamp(52px, 10vw, 76px);
}

.diagnosis-widget.is-complete {
  padding-bottom: clamp(58px, 11vw, 84px);
}

.diagnosis-widget__start {
  position: relative;
  z-index: 5;
  display: block;
  width: min(82%, 610px);
  height: clamp(58px, 13.8vw, 104px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: transparent;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
}

.diagnosis-widget__start:focus,
.diagnosis-widget__start:focus-visible {
  outline: 0;
  box-shadow: none;
}

.diagnosis-widget__start::after {
  content: none;
}

.diagnosis-widget__panel {
  width: min(100%, 660px);
  margin: clamp(28px, 7vw, 52px) auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.diagnosis-widget__panel[hidden],
.diagnosis-result[hidden] {
  display: none !important;
}

.diagnosis-question {
  --question-accent: #f60755;
  --question-accent-end: #ff6b9c;
  --question-accent-soft: rgba(246, 7, 85, 0.1);
  --question-border: rgba(246, 7, 85, 0.22);
  --question-choice-border: rgba(246, 7, 85, 0.72);
  --question-shadow: rgba(246, 7, 85, 0.28);
  margin: 0 0 14px;
  padding: 15px;
  border: 1px solid var(--question-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 10px 24px rgba(6, 27, 85, 0.065),
    inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.diagnosis-question--blue {
  --question-accent: #2f80ed;
  --question-accent-end: #6fb2ff;
  --question-accent-soft: rgba(47, 128, 237, 0.1);
  --question-border: rgba(47, 128, 237, 0.22);
  --question-choice-border: rgba(47, 128, 237, 0.72);
  --question-shadow: rgba(47, 128, 237, 0.28);
}

.diagnosis-question:last-of-type {
  margin-bottom: 0;
}

.diagnosis-question__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(6, 27, 85, 0.1);
}

.diagnosis-question__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--question-accent) 0%, var(--question-accent-end) 100%);
  box-shadow: 0 8px 16px var(--question-shadow);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.diagnosis-question__title {
  min-width: 0;
  margin: 0;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.62;
}

.diagnosis-question__body {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 13px;
}

.diagnosis-question__icon {
  display: block;
  width: 40px;
  height: 40px;
  padding: 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  opacity: 0.78;
}

.diagnosis-question__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

.diagnosis-question__choice {
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid rgba(246, 7, 85, 0.66);
  border-radius: 999px;
  color: var(--color-pink);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.diagnosis-question__choice[data-diagnosis-answer="0"] {
  border-color: rgba(47, 128, 237, 0.66);
  color: #2f80ed;
}

.diagnosis-question__choice.is-selected {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #f60755 0%, #ff2d73 58%, #ff75a2 100%);
  box-shadow: 0 10px 22px rgba(246, 7, 85, 0.28);
}

.diagnosis-question__choice[data-diagnosis-answer="0"].is-selected {
  background: linear-gradient(135deg, #2f80ed 0%, #54a3ff 58%, #8ec8ff 100%);
  box-shadow: 0 10px 22px rgba(47, 128, 237, 0.24);
}

.diagnosis-result {
  margin-top: 18px;
  padding: 18px 16px;
  border: 1px solid rgba(99, 93, 210, 0.18);
  border-radius: 24px;
  color: var(--color-navy);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.76) 100%),
    url("../images/sp/section-02-result-cta-bg.jpg") center / cover no-repeat,
    linear-gradient(135deg, rgba(249, 247, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(255, 247, 251, 0.98) 100%);
  box-shadow:
    0 16px 34px rgba(6, 27, 85, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.diagnosis-transition {
  position: relative;
  z-index: 2;
  height: clamp(48px, 10vw, 76px);
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(246, 250, 255, 0) 0%, rgba(255, 255, 255, 0.74) 54%, #ffffff 100%),
    url("../images/sp/section-02-transition-bg.jpg") center 58% / cover no-repeat;
}

.diagnosis-result.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.diagnosis-result__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  text-align: center;
}

.diagnosis-result__icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.94;
}

.diagnosis-result__body {
  min-width: 0;
}

.diagnosis-result__label {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--color-navy);
  background: rgba(99, 93, 210, 0.12);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.diagnosis-result__score {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.diagnosis-result__score span {
  margin-left: 2px;
  color: var(--color-pink);
  font-size: 38px;
  line-height: 1;
}

.diagnosis-result__score small {
  margin-left: 2px;
  color: var(--color-pink);
  font-size: 18px;
}

.diagnosis-result__title {
  margin: 2px 0 8px;
  color: var(--color-pink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.32;
}

.diagnosis-result__text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  white-space: pre-line;
}

.diagnosis-result__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  margin: 20px auto 0;
  padding: 16px 24px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f60755 0%, #ff2d73 52%, #ff7a94 100%);
  box-shadow:
    0 18px 34px rgba(246, 7, 85, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.diagnosis-result__cta span:first-child {
  flex: 1;
  text-align: center;
}

.diagnosis-result__cta-icon {
  width: 14px;
  height: 14px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  transform: rotate(45deg);
}

.lp-section--comic-scenes {
  background: #0a1126;
}

.comic-scenes__image--second {
  margin-top: clamp(-34px, -4.4vw, -16px);
}

.lp-section--data {
  background: #0a1126;
}

.lp-section--brain-insight,
.lp-section--for-whom,
.lp-section--benefits,
.lp-section--closing-form {
  background: #ffffff;
}

.lp-section--risk-faq {
  background: #fff3f8;
}

.risk-faq__top {
  position: relative;
  background: #ffffff;
}

.risk-faq__heading-image {
  margin-top: -1px;
}

.lp-footer-brand {
  display: flex;
  justify-content: center;
  padding: clamp(18px, 6vw, 42px) 20px clamp(28px, 8vw, 58px);
  background:
    radial-gradient(circle at 18% 0%, rgba(246, 7, 85, 0.08) 0, rgba(246, 7, 85, 0) 28%),
    radial-gradient(circle at 82% 18%, rgba(58, 157, 246, 0.1) 0, rgba(58, 157, 246, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.lp-footer-brand img {
  display: block;
  width: min(28%, 150px);
  height: auto;
}

.risk-faq__bridge {
  position: relative;
  margin-top: -1px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fff3f8 18%, #fff4f8 100%);
}

.risk-faq__bridge::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(34px, 8vw, 62px);
  background: linear-gradient(180deg, rgba(255, 244, 248, 0) 0%, #fff5f9 100%);
  pointer-events: none;
}

.faq-accordion {
  position: relative;
  margin-top: -1px;
  padding: 12px 24px 72px;
  background:
    linear-gradient(180deg, #fff5f9 0%, #fff7fb 70%, #ffffff 100%);
}

.faq-accordion__item {
  width: min(100%, 640px);
  margin: 0 auto 18px;
  border: 1px solid rgba(61, 167, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 11px 24px rgba(13, 40, 106, 0.1);
  overflow: hidden;
}

.faq-accordion__question {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 84px;
  padding: 18px 16px;
  border: 0;
  color: var(--color-navy);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
}

.faq-accordion__label {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.faq-accordion__label--question {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4d92 0%, #f60755 100%);
  box-shadow: inset 0 -3px 8px rgba(166, 24, 79, 0.1);
}

.faq-accordion__label--answer {
  color: #0d286a;
  background: #eaf4ff;
}

.faq-accordion__question-text {
  min-width: 0;
}

.faq-accordion__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(13, 40, 106, 0.14);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 40, 106, 0.08);
}

.faq-accordion__icon::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.faq-accordion__question[aria-expanded="true"] .faq-accordion__icon::before {
  transform: translateY(2px) rotate(225deg);
}

.faq-accordion__answer {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 0 16px 20px;
  color: rgba(13, 40, 106, 0.86);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.faq-accordion__answer[hidden] {
  display: none;
}

.faq-accordion__answer p {
  margin: 0;
  padding-top: 13px;
  border-top: 1px dashed rgba(61, 167, 255, 0.34);
}

.thanks-body {
  background: #ffffff;
}

.thanks-body .lp {
  box-shadow: none;
}

.thanks-page {
  min-height: 100vh;
  background: #ffffff;
}

.thanks-page__section {
  width: 100%;
  padding: 0;
  background: #ffffff;
}

.thanks-page__section picture {
  display: block;
}

.thanks-page__image {
  display: block;
  width: 100%;
  height: auto;
}

.thanks-page__line-hotspot {
  left: var(--left-sp);
  top: var(--top-sp);
  width: var(--width-sp);
  height: var(--height-sp);
  z-index: 3;
  border-radius: 999px;
}

.lp-form-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.closing-form__visual {
  position: relative;
  z-index: 1;
}

.closing-form__interactive {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.lp-form-overlay__field,
.lp-form-overlay__submit {
  position: absolute;
  appearance: none;
}

.lp-form-overlay__label {
  position: absolute;
  left: 10.2%;
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.lp-form-overlay__label--name {
  top: 55.4%;
}

.lp-form-overlay__label--email {
  top: 64.4%;
}

.lp-form-overlay__field {
  left: 9.3%;
  width: 81.4%;
  height: max(44px, 4.7%);
  margin: 0;
  padding: 0 16px;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(6, 27, 85, 0.18);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  box-shadow:
    0 8px 18px rgba(6, 27, 85, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.lp-form-overlay__field::placeholder {
  color: rgba(6, 27, 85, 0.22);
}

.lp-form-overlay__field:focus {
  outline: 0;
  border-color: rgba(47, 128, 237, 0.7);
  box-shadow:
    0 0 0 3px rgba(47, 128, 237, 0.12),
    0 8px 18px rgba(6, 27, 85, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.lp-form-overlay__field:focus-visible {
  outline: 0;
}

.lp-form-overlay__field--name {
  top: 57.55%;
}

.lp-form-overlay__field--email {
  top: 66.55%;
}

.lp-form-overlay__field:user-invalid {
  border-color: rgba(246, 7, 85, 0.72);
  box-shadow: 0 0 0 2px rgba(246, 7, 85, 0.12);
}

.lp-form-overlay__submit {
  left: 8.6%;
  top: 73.1%;
  width: 82.8%;
  height: 7.4%;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.lp-form-overlay__status {
  position: absolute;
  left: 8%;
  top: 83.2%;
  width: 84%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(6, 27, 85, 0.9);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.lp-form-overlay__status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (min-width: 600px) {
  body {
    padding: 24px 0;
  }

  .lp {
    border-radius: 8px;
    overflow: hidden;
  }

  .diagnosis-widget {
    padding-right: 42px;
    padding-bottom: 56px;
    padding-left: 42px;
  }

  .diagnosis-widget__panel {
    padding: 0;
    border-radius: 0;
  }

  .diagnosis-widget__start {
    height: 104px;
  }

  .diagnosis-question {
    padding: 20px;
    border-radius: 22px;
  }

  .diagnosis-question__head {
    gap: 14px;
    padding-bottom: 16px;
  }

  .diagnosis-question__badge {
    width: 50px;
    height: 50px;
    font-size: 19px;
  }

  .diagnosis-question__title {
    font-size: 18px;
  }

  .diagnosis-question__body {
    grid-template-columns: 52px 1fr;
    gap: 18px;
    margin-top: 18px;
  }

  .diagnosis-question__icon {
    width: 50px;
    height: 50px;
  }

  .diagnosis-question__choices {
    gap: 20px;
  }

  .diagnosis-question__choice {
    min-height: 58px;
    font-size: 18px;
  }

  .diagnosis-result {
    padding: 28px;
    border-radius: 26px;
  }

  .diagnosis-result__content {
    grid-template-columns: 108px 1fr;
    gap: 24px;
    align-items: center;
    text-align: left;
  }

  .diagnosis-result__icon {
    width: 108px;
    height: 108px;
    margin: 0;
  }

  .diagnosis-result__label {
    margin-bottom: 12px;
    padding: 7px 18px;
    font-size: 17px;
  }

  .diagnosis-result__score {
    font-size: 26px;
  }

  .diagnosis-result__score span {
    font-size: 56px;
  }

  .diagnosis-result__score small {
    font-size: 24px;
  }

  .diagnosis-result__title {
    font-size: 32px;
  }

  .diagnosis-result__text {
    font-size: 17px;
  }

  .diagnosis-result__cta {
    min-height: 92px;
    margin-top: 28px;
    padding: 22px 34px;
    font-size: 32px;
  }

  .diagnosis-result__cta-icon {
    width: 18px;
    height: 18px;
  }

  .faq-accordion {
    padding-right: 42px;
    padding-bottom: 92px;
    padding-left: 42px;
  }

  .faq-accordion__item {
    margin-bottom: 20px;
    border-radius: 22px;
  }

  .faq-accordion__question {
    grid-template-columns: 54px minmax(0, 1fr) 46px;
    gap: 16px;
    min-height: 104px;
    padding: 24px 22px;
    font-size: 20px;
  }

  .faq-accordion__label {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .faq-accordion__icon {
    width: 44px;
    height: 44px;
  }

  .faq-accordion__answer {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 0 22px 28px;
    font-size: 18px;
  }

  .thanks-body {
    padding: 0;
    background: #ffffff;
  }

  .thanks-body .lp {
    border-radius: 0;
    overflow: visible;
  }

  .lp-form-overlay__field {
    height: max(50px, 4.7%);
    padding: 0 24px;
    border-radius: 16px;
    font-size: 19px;
  }

  .lp-form-overlay__label {
    font-size: 12px;
  }

  .lp-form-overlay__status {
    font-size: 18px;
  }
}

@media (min-width: 900px) {
  body.thanks-body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
  }

  body.thanks-body .lp {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #ffffff;
    box-shadow: none;
  }

  .thanks-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
  }

  .thanks-page__section {
    width: min(100vw, calc(100vh * 1.6));
    margin: 0 auto;
    overflow: visible;
  }

  .thanks-page__image {
    width: 100%;
    max-height: 100vh;
    object-fit: contain;
  }

  .thanks-page__line-hotspot {
    left: var(--left-pc);
    top: var(--top-pc);
    width: var(--width-pc);
    height: var(--height-pc);
  }
}

@media (min-width: 1180px) {
  :root {
    --desktop-bg-width: 1440px;
    --desktop-bg-height: 900px;
    --desktop-bg-scale: max(calc(100vw / var(--desktop-bg-width)), calc(100vh / var(--desktop-bg-height)));
    --desktop-bg-rendered-width: calc(var(--desktop-bg-width) * var(--desktop-bg-scale));
    --desktop-bg-rendered-height: calc(var(--desktop-bg-height) * var(--desktop-bg-scale));
    --desktop-bg-left: calc((100vw - var(--desktop-bg-rendered-width)) / 2);
    --desktop-bg-top: 0px;
    --lp-max-width: calc(372px * var(--desktop-bg-scale));
  }

  html {
    background: #f7fbff;
  }

  body {
    min-height: 100vh;
    padding: 0;
    background: #f7fbff;
  }

  body.thanks-body {
    display: grid;
    background: #ffffff;
  }

  body.thanks-body .lp {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
  }

  .desktop-stage {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
  }

  .desktop-stage__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    image-rendering: auto;
    transform: translateZ(0);
    user-select: none;
  }

  .lp {
    position: relative;
    z-index: 1;
    width: var(--lp-max-width);
    margin-top: 0;
    margin-right: 0;
    margin-left: calc(var(--desktop-bg-left) + (586px * var(--desktop-bg-scale)));
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  .desktop-frame-form {
    position: absolute;
    left: calc(var(--desktop-bg-left) + (162px * var(--desktop-bg-scale)));
    top: calc(var(--desktop-bg-top) + (454px * var(--desktop-bg-scale)));
    z-index: 3;
    width: calc(356px * var(--desktop-bg-scale));
    padding: calc(24px * var(--desktop-bg-scale)) calc(32px * var(--desktop-bg-scale)) calc(28px * var(--desktop-bg-scale));
    pointer-events: auto;
  }

  .desktop-frame-form__label {
    display: block;
    margin: 0 0 calc(7px * var(--desktop-bg-scale));
    color: var(--color-navy);
    font-size: calc(13px * var(--desktop-bg-scale));
    font-weight: 500;
    line-height: 1.35;
  }

  .desktop-frame-form__field {
    display: block;
    width: 100%;
    height: calc(46px * var(--desktop-bg-scale));
    margin: 0 0 calc(12px * var(--desktop-bg-scale));
    padding: 0 calc(15px * var(--desktop-bg-scale));
    border: 1px solid rgba(13, 40, 106, 0.18);
    border-radius: calc(14px * var(--desktop-bg-scale));
    color: var(--color-navy);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    font-size: calc(15px * var(--desktop-bg-scale));
    font-weight: 500;
    line-height: 1;
  }

  .desktop-frame-form__field::placeholder {
    color: rgba(13, 40, 106, 0.36);
  }

  .desktop-frame-form__field:focus {
    outline: 0;
    border-color: rgba(47, 128, 237, 0.7);
    box-shadow:
      0 0 0 3px rgba(47, 128, 237, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  .desktop-frame-form__field:focus-visible {
    outline: 0;
  }

  .desktop-frame-form__field:user-invalid {
    border-color: rgba(246, 7, 85, 0.72);
    box-shadow: 0 0 0 2px rgba(246, 7, 85, 0.12);
  }

  .desktop-frame-form__submit {
    display: block;
    width: 100%;
    height: calc(62px * var(--desktop-bg-scale));
    margin: calc(14px * var(--desktop-bg-scale)) auto 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
  }

  .desktop-frame-form__submit img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
  }

  .desktop-frame-form__status {
    margin: calc(10px * var(--desktop-bg-scale)) 0 0;
    padding: calc(9px * var(--desktop-bg-scale)) calc(12px * var(--desktop-bg-scale));
    border-radius: calc(8px * var(--desktop-bg-scale));
    color: #ffffff;
    background: rgba(6, 27, 85, 0.9);
    font-size: calc(13px * var(--desktop-bg-scale));
    font-weight: 500;
    line-height: 1.55;
    text-align: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
  }

  .desktop-frame-form__status.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .desktop-frame-menu {
    position: absolute;
    left: calc(var(--desktop-bg-left) + (1008px * var(--desktop-bg-scale)));
    top: calc(var(--desktop-bg-top) + (130px * var(--desktop-bg-scale)));
    z-index: 3;
    width: calc(200px * var(--desktop-bg-scale));
    height: calc(400px * var(--desktop-bg-scale));
    pointer-events: none;
  }

  .desktop-frame-menu a {
    position: absolute;
    left: 0;
    width: calc(200px * var(--desktop-bg-scale));
    height: calc(56px * var(--desktop-bg-scale));
    border-radius: calc(14px * var(--desktop-bg-scale));
    pointer-events: auto;
  }

  .desktop-frame-menu a:nth-child(1) {
    top: 0;
  }

  .desktop-frame-menu a:nth-child(2) {
    top: calc(67px * var(--desktop-bg-scale));
  }

  .desktop-frame-menu a:nth-child(3) {
    top: calc(134px * var(--desktop-bg-scale));
  }

  .desktop-frame-menu a:nth-child(4) {
    top: calc(201px * var(--desktop-bg-scale));
  }

  .desktop-frame-menu a:nth-child(5) {
    top: calc(268px * var(--desktop-bg-scale));
  }

  .desktop-frame-menu a:nth-child(6) {
    top: calc(335px * var(--desktop-bg-scale));
  }

  .diagnosis-widget {
    scroll-margin-top: calc(72px * var(--desktop-bg-scale));
    margin-top: calc(-118px * var(--desktop-bg-scale));
    padding-right: calc(16px * var(--desktop-bg-scale));
    padding-bottom: calc(40px * var(--desktop-bg-scale));
    padding-left: calc(16px * var(--desktop-bg-scale));
  }

  .lp-section--diagnosis::after,
  .lp-section--diagnosis[data-diagnosis-state="answering"]::after,
  .lp-section--diagnosis[data-diagnosis-state="complete"]::after {
    height: clamp(16px, 1.8vw, 34px);
  }

  .diagnosis-widget.is-open {
    padding-bottom: calc(50px * var(--desktop-bg-scale));
  }

  .diagnosis-widget.is-complete {
    padding-bottom: calc(58px * var(--desktop-bg-scale));
  }

  .diagnosis-transition {
    height: calc(54px * var(--desktop-bg-scale));
  }

  .diagnosis-widget__panel {
    padding: 0;
    border-radius: 0;
  }

  .diagnosis-question {
    margin-bottom: calc(14px * var(--desktop-bg-scale));
    padding: calc(15px * var(--desktop-bg-scale));
    border-radius: calc(18px * var(--desktop-bg-scale));
  }

  .diagnosis-question__head {
    gap: calc(10px * var(--desktop-bg-scale));
    padding-bottom: calc(12px * var(--desktop-bg-scale));
  }

  .diagnosis-question__badge {
    width: calc(40px * var(--desktop-bg-scale));
    height: calc(40px * var(--desktop-bg-scale));
    font-size: calc(15px * var(--desktop-bg-scale));
  }

  .diagnosis-question__title {
    font-size: calc(14px * var(--desktop-bg-scale));
  }

  .diagnosis-question__body {
    grid-template-columns: calc(40px * var(--desktop-bg-scale)) 1fr;
    gap: calc(12px * var(--desktop-bg-scale));
    margin-top: calc(14px * var(--desktop-bg-scale));
  }

  .diagnosis-question__icon {
    width: calc(40px * var(--desktop-bg-scale));
    height: calc(40px * var(--desktop-bg-scale));
    padding: calc(3px * var(--desktop-bg-scale));
    border-radius: 0;
  }

  .diagnosis-question__choices {
    gap: calc(10px * var(--desktop-bg-scale));
  }

  .diagnosis-question__choice {
    min-height: calc(46px * var(--desktop-bg-scale));
    padding: calc(8px * var(--desktop-bg-scale)) calc(10px * var(--desktop-bg-scale));
    font-size: calc(14px * var(--desktop-bg-scale));
  }

  .diagnosis-result {
    padding: calc(18px * var(--desktop-bg-scale));
    border-radius: calc(22px * var(--desktop-bg-scale));
  }

  .diagnosis-result__content {
    grid-template-columns: 1fr;
    gap: calc(10px * var(--desktop-bg-scale));
    align-items: start;
    text-align: center;
  }

  .diagnosis-result__icon {
    width: calc(62px * var(--desktop-bg-scale));
    height: calc(62px * var(--desktop-bg-scale));
    margin: 0 auto;
  }

  .diagnosis-result__label {
    margin-bottom: calc(8px * var(--desktop-bg-scale));
    padding: calc(5px * var(--desktop-bg-scale)) calc(14px * var(--desktop-bg-scale));
    font-size: calc(12px * var(--desktop-bg-scale));
  }

  .diagnosis-result__score {
    font-size: calc(17px * var(--desktop-bg-scale));
  }

  .diagnosis-result__score span {
    font-size: calc(38px * var(--desktop-bg-scale));
  }

  .diagnosis-result__score small {
    font-size: calc(17px * var(--desktop-bg-scale));
  }

  .diagnosis-result__title {
    font-size: calc(24px * var(--desktop-bg-scale));
  }

  .diagnosis-result__text {
    font-size: calc(14px * var(--desktop-bg-scale));
  }

  .diagnosis-result__cta {
    min-height: calc(60px * var(--desktop-bg-scale));
    margin-top: calc(18px * var(--desktop-bg-scale));
    padding: calc(14px * var(--desktop-bg-scale)) calc(22px * var(--desktop-bg-scale));
    font-size: calc(20px * var(--desktop-bg-scale));
  }

  .diagnosis-result__cta-icon {
    width: calc(13px * var(--desktop-bg-scale));
    height: calc(13px * var(--desktop-bg-scale));
  }

  .lp-form-overlay__field {
    height: max(calc(44px * var(--desktop-bg-scale)), 4.7%);
    padding: 0 calc(16px * var(--desktop-bg-scale));
    border-radius: calc(10px * var(--desktop-bg-scale));
    font-size: calc(15px * var(--desktop-bg-scale));
  }

  .lp-form-overlay__label {
    font-size: calc(12px * var(--desktop-bg-scale));
  }

  .lp-form-overlay__status {
    font-size: calc(14px * var(--desktop-bg-scale));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lp-form-overlay__status,
  .desktop-frame-form__status {
    transition: none;
  }
}
