@charset "UTF-8";

:root {
  --c-bg: #FCF1FB;
  --c-grid: #FFFFFF;
  --c-text: #202F6D;
  --c-pink: #FF73D5;
  --c-cyan: #1ED2F3;
  --c-cyan-pale: #CFF8FF;
  --c-divider: #BCC1D3;
  --c-lavender: #939BDF;
  --c-white: #FFFFFF;

  --f-jp: "M PLUS Rounded 1c", "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-en: "Montserrat", sans-serif;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out-back-st: cubic-bezier(0.175, 0.885, 0.32, 1.8);
  --ease-out-back-02: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
  --ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
  --opacity-hover: 0.6;
  --opacity-transition: opacity 0.3s ease;

  --l-content: 1200px;
  --l-gutter: 2rem;

  --grid-pitch: calc(48px * var(--l-scale, 1));
  --grid-line: calc(2px * var(--l-scale, 1));

  --l-footer-scale: max(calc(12 / 14), min(1, (100vw - 64px) / 1200px));
}

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

html {
  font-size: 100%;
  -webkit-tap-highlight-color: transparent;
}

body,
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

button:disabled { cursor: default; }

a { color: inherit; }

[hidden] { display: none !important; }

body {
  min-height: 100svh;
  margin: 0;
  font-family: var(--f-jp);
  font-weight: 500;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    repeating-linear-gradient(to right,  var(--c-grid) 0 var(--grid-line), transparent var(--grid-line) var(--grid-pitch)),
    repeating-linear-gradient(to bottom, var(--c-grid) 0 var(--grid-line), transparent var(--grid-line) var(--grid-pitch));
  background-position: 0 0;
  overflow-x: hidden;
}

:focus-visible {
  outline: 3px solid var(--c-pink);
  outline-offset: 2px;
}

.l-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.l-main { flex: 1 0 auto; }

.l-container {
  width: min(var(--l-content), 100% - var(--l-gutter) * 2);
  margin-inline: auto;
}

@media screen and (min-width: 769px) {
  .l-container {
    width: var(--l-content);
    zoom: var(--l-scale, min(1, (100vw - 64px) / 1200px));
  }

  .c-policy,
  .c-copyright {
    zoom: var(--l-footer-scale);
  }
}

.c-header { display: none; }

.l-page:has(#screen-question:not([hidden])) .c-header,
.l-page:has(#screen-result:not([hidden])) .c-header {
  display: block;
}

.c-header .l-container {
  padding-top: 2.5rem;
}

.c-header__logo {
  width: 825px;
  height: auto;
  margin-inline: auto;
}

.l-footer {
  flex-shrink: 0;
}

.c-policy {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
}

.c-policy__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-right: 1.5em;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--c-text);
  text-decoration: none;
}

.c-policy__link + .c-policy__link {
  margin-left: 1.12em;
}

.c-policy__link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(14em / 12);
  height: calc(8em / 12);
  margin-block: auto;
  background: url("../assets/images/common/icon_external.svg") no-repeat top center / contain;
  content: "";
}

.c-copyright {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  height: 32px;
  background-color: var(--c-cyan);
}

.c-copyright__text {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  color: var(--c-white);
}

.c-banner {
  display: flex;
  gap: 35.32px;
  width: 100%;
}

.c-banner__item {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  aspect-ratio: 4 / 1;
}

.c-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  text-decoration: none;
  background-color: transparent;
  border-style: solid;
  border-color: transparent;
  border-image-repeat: stretch;
}

.c-choice {
  position: relative;
  width: 100%;
  height: 80px;
  padding-inline: 44px;
  border-width: 0 20px;
  border-image-source: url("../assets/images/common/btn_choice.svg");
  border-image-slice: 0 20 fill;
  border-image-width: 0 20px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-text);
}

.c-capsule--start {
  width: 456px;
  height: 97px;
  border-width: 0 20px;
  border-image-source: url("../assets/images/common/btn_start.svg");
  border-image-slice: 0 20 fill;
  border-image-width: 0 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
}

.c-capsule--share {
  width: 252.34px;
  height: 56px;
  border-width: 0 12px;
  border-image-source: url("../assets/images/common/btn_share.svg");
  border-image-slice: 0 12 fill;
  border-image-width: 0 12px;
  font-family: var(--f-en);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--c-white);
}

@media screen and (min-width: 769px) {
  .c-choice,
  .c-capsule--start,
  .c-capsule--share {
    border-image-source: none;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .c-choice        { background-image: url("../assets/images/common/btn_choice.svg"); }
  .c-capsule--start { background-image: url("../assets/images/common/btn_start.svg"); }
  .c-capsule--share { background-image: url("../assets/images/common/btn_share.svg"); }
}

.c-wave {
  width: 459px;
  height: auto;
}

.c-noscript {
  padding: 1rem var(--l-gutter);
  font-size: 1rem;
  text-align: center;
  color: var(--c-text);
  background-color: var(--c-white);
}

.p-screen { display: block; }

.p-screen {
  transform: translateY(0);
  transition: transform 0.6s var(--ease-out-expo);
}

.p-screen.is-screen-entering:not(.is-active) {
  transform: translateY(1rem);
}

.p-top .l-container {
  padding-bottom: 3.5rem;
}

.p-top__hero {
  display: flex;
  align-items: flex-start;
  gap: 27px;
  padding-top: 4rem;
}

.p-top__intro {
  flex: 0 1 459px;
  min-width: 0;
  padding-top: 3.5rem;
}

.p-top__logo {
  width: min(440px, calc(100% - 5px));
  height: auto;
  margin-left: 5px;
}

.p-top__logo--sp { display: none; }

.p-top__wave {
  width: 100%;
  height: auto;
}

.p-top__wave--sp { display: none; }

.p-top__wave--top {
  aspect-ratio: 459 / 22;
  margin-top: 3.75rem;
}

.p-top__wave--bottom {
  aspect-ratio: 459 / 24;
  margin-top: 3.1875rem;
}

.p-top__title {
  width: min(456px, 100%);
  margin-top: 2.3125rem;
}

.p-top__title img {
  width: 100%;
  height: auto;
}

.p-top__title-text { display: none; }

.p-top__lead {
  width: min(456px, 100%);
  margin-top: 1.5625rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: var(--c-text);
}

.p-top__lead-line { display: block; }

.p-top__start {
  display: flex;
  width: min(456px, 100%);
  margin-top: 32.40625px;
}

.p-top__visual {
  flex: 0 1 714px;
  min-width: 0;
  aspect-ratio: 714 / 999;
  padding: 12px;
  border-radius: 10px;
  background-color: var(--c-cyan);
}

.p-top__visual-inner {
  position: relative;
  height: 100%;
  border-radius: 3px;
  overflow: hidden;
}

.p-top__visual-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid var(--c-white);
  border-radius: 3px;
  pointer-events: none;
}

.p-top__mv {
  position: absolute;
  top: -5.29%;
  left: -5.27%;
  width: 110.53%;
  height: 110.58%;
  max-width: none;
  object-fit: cover;
}

.p-top__banner {
  margin-top: 4rem;
  margin-left: -1px;
}

.p-question__inner {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.p-question__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.p-question__progress {
  position: relative;
  height: 35.271px;
  margin-top: 13.364px;
}

.p-question__progress-track {
  position: absolute;
  top: 19.636px;
  left: 0;
  width: calc(100% - 50px);
  height: 1px;
  border-radius: 999px;
  background-color: var(--c-pink);
}

.p-question__progress-fill {
  position: absolute;
  top: -3px;
  left: 0;
  width: var(--progress);
  height: 5px;
  border-radius: 999px;
  background-color: var(--c-cyan);
  transition: width 0.6s var(--ease-out-expo);
}

.p-question__progress-ufo {
  position: absolute;
  top: -14.2px;
  left: var(--progress);
  width: 52px;
  height: 30px;
  max-width: none;
  margin-left: -52px;
  transform: rotate(-6deg);
  transform-origin: left top;
  transition: left 0.6s var(--ease-out-expo);
}

.p-question__progress-count {
  position: absolute;
  top: 3.636px;
  right: 0;
  width: 34px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  color: var(--c-pink);
}

.p-question__progress-count strong {
  font-size: 1.5rem;
  font-weight: 700;
}

.p-question__progress-count span {
  font-size: 1rem;
  font-weight: 700;
}

.p-question__prompt {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  min-height: 80px;
  margin-top: 29.365px;
  margin-left: 2px;
}

.p-question__badge {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-white);
}

.p-question__badge::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.5px;
  background: url("../assets/images/common/icon_q_badge.svg") center / 100% 100% no-repeat;
}

.p-question__text {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
}

.p-question__choices {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.p-question__choice-text {
  position: relative;
  top: 0;
  z-index: 1;
  transition: top 0.1s ease-out;
}

.p-question__choice::after {
  content: "";
  position: absolute;
  inset: 4px -16.34px;
  background-color: rgb(30 210 243 / 10%);
  opacity: 0;
  transition: opacity 0.2s ease;
  clip-path: polygon(
    10.98px 0,
    calc(100% - 10.98px) 0,
    calc(100% - 10.98px) 5.09px,
    calc(100% - 5.49px) 5.09px,
    calc(100% - 5.49px) 10.54px,
    100% 10.54px,
    100% calc(100% - 10.54px),
    calc(100% - 5.49px) calc(100% - 10.54px),
    calc(100% - 5.49px) calc(100% - 5.09px),
    calc(100% - 10.98px) calc(100% - 5.09px),
    calc(100% - 10.98px) 100%,
    10.98px 100%,
    10.98px calc(100% - 5.09px),
    5.49px calc(100% - 5.09px),
    5.49px calc(100% - 10.54px),
    0 calc(100% - 10.54px),
    0 10.54px,
    5.49px 10.54px,
    5.49px 5.09px,
    10.98px 5.09px
  );
  pointer-events: none;
}

.p-question__choice[aria-pressed="true"]::after { opacity: 1; }

.p-question__actions {
  display: flex;
  justify-content: center;
  gap: 160px;
  height: 56px;
  margin-top: 3.5rem;
}

.p-question__nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
  width: 120px;
  height: 56px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.p-question__nav--result { width: 240px; }

.p-question__nav-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  max-width: none;
  margin: -1px;
  scale: var(--nav-flip, 1) 1;
  transition: scale 0.18s var(--ease-out-back-02);
}

.p-question__nav--back {
  --nav-flip: -1;
}

.p-result__inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.p-result__stage {
  position: relative;
  width: 100%;
  height: 975px;
}

.p-result__card {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 5px solid var(--c-cyan);
  border-radius: 25px;
  background-color: var(--c-white);
  background-image: radial-gradient(circle at 1px 1px, var(--c-cyan-pale) 0 1px, transparent 1.5px);
  background-position: 8px 53px;
  background-size: 18px 18px;
}

.p-result__card-bar {
  position: absolute;
  top: -5px;
  left: -5px;
  display: flex;
  gap: 8px;
  width: calc(100% + 10px);
  height: 48px;
  padding: 16px 20px;
  border-radius: 25px 25px 0 0;
  background-color: var(--c-cyan);
}

.p-result__card-bar span {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--c-white);
}

.p-result__chara {
  position: absolute;
  z-index: 2;
  top: 88px;
  left: 80px;
  width: 419px;
  height: 815px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

[data-result-slug="sarasa"] .p-result__chara {
  object-fit: cover;
  object-position: 100% 50%;
}

[data-result-slug="alien"] .p-result__chara {
  scale: 1.0839;
  translate: 10.34%;
}

.p-result__copy {
  position: absolute;
  z-index: 2;
  top: 168px;
  left: 555px;
  width: 565px;
  height: 400px;
}

.p-result__lead {
  margin-left: 4px;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.6;
}

.p-result__title {
  position: absolute;
  top: 45px;
  left: 0;
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.p-result__name {
  font-size: 4rem;
  color: var(--c-pink);
}

.p-result__type {
  font-size: 2.5rem;
  color: var(--c-text);
}

.p-result__divider {
  position: absolute;
  top: 160px;
  left: 0;
  width: 565px;
  height: 1px;
  max-width: none;
}

.p-result__description {
  position: absolute;
  top: 184px;
  left: 0;
  width: 565px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--c-text);
  word-break: break-word;
}

.p-result__share {
  position: absolute;
  z-index: 2;
  top: 767px;
  left: 868px;
  gap: 1rem;
}

.p-result__share img {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  max-width: none;
}

.p-result__retry {
  display: flex;
  margin-top: 3.5rem;
  margin-inline: auto;
}

.p-result__banner { margin-top: 6rem; }

.diagnosing-layout {
  position: relative;
  z-index: 31;
  display: grid;
  place-content: center;
  gap: 1rem;
  width: min(100% - 4rem, 456px);
  min-height: calc(100svh - 143px - 88px * var(--l-footer-scale));
  margin-inline: auto;
  padding-block: 3rem;
  text-align: center;
}

.diagnosing-layout h1 {
  font-size: 2rem;
  font-weight: 700;
}

.diagnosing-layout p {
  font-size: 1.25rem;
  line-height: 1.8;
}

.diagnosing-mark {
  font-size: 2rem;
  letter-spacing: 0.3em;
  color: var(--c-pink);
  animation: flash 1.2s infinite ease-in-out;
}

@media screen and (max-width: 768px) {
  :root {
    --l-content: 350px;
    --l-gutter: 1.25rem;
    --grid-pitch: 32px;
    --grid-line: 2px;
  }

  body {
    background-image:
      linear-gradient(to right, var(--c-grid) 0 var(--grid-line), transparent var(--grid-line)),
      linear-gradient(to bottom, var(--c-grid) 0 var(--grid-line), transparent var(--grid-line));
    background-size: var(--grid-pitch) var(--grid-pitch);
    background-position: calc(50% - 176px) 0, 0 2px;
  }

  .c-header .l-container {
    padding-top: 1.25rem;
  }

  .c-header__logo {
    width: min(348px, 100%);
    height: auto;
    aspect-ratio: 348 / 45.5368;
    margin-inline: auto;
  }

  .c-policy {
    height: 48px;
  }

  .c-policy__link {
    min-height: 44px;
    font-size: 0.75rem;
  }

  .c-copyright { height: 28px; }

  .c-copyright__text { font-size: 0.75rem; }

  .c-banner {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 350px;
    margin-inline: auto;
  }

  .c-banner__item {
    flex: 0 0 auto;
    width: 100%;
  }

  .c-capsule--start {
    width: 100%;
    max-width: 350px;
    height: 65px;
    border-width: 0 10px;
    border-image-source: url("../assets/images/common/btn_start_sp.svg");
    border-image-slice: 0 10 fill;
    border-image-width: 0 10px;
    font-size: 1.125rem;
  }

  .c-capsule--share {
    width: min(290px, 100%);
    height: 48px;
    gap: 0.75rem;
    font-size: 1.25rem;
  }

  .p-top .l-container { padding-bottom: 4rem; }

  .p-top__hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 1.25rem;
  }

  .p-top__intro { display: contents; }

  .p-top__logo--pc { display: none; }

  .p-top__logo--sp {
    display: block;
    order: 1;
    width: min(351.102px, calc(100vw - 38.898px));
    max-width: none;
    height: auto;
    margin-left: 0;
  }

  .p-top__title {
    order: 2;
    isolation: isolate;
    width: 224px;
    height: 42px;
    margin: 10.1315px auto 0;
  }

  .p-top__title-image { display: none; }

  .p-top__title-text {
    position: relative;
    display: block;
    width: 224px;
    height: 42px;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    color: var(--c-white);
  }

  .p-top__title-text::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    color: transparent;
    background: linear-gradient(180deg, #FE73D5 0%, var(--c-lavender) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 6px transparent;
  }

  .p-top__visual {
    order: 3;
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 350 / 488;
    margin: 1rem auto 0;
    padding: 8px;
    border-radius: 10px;
  }

  .p-top__visual-inner { border-radius: 2px; }

  .p-top__visual-inner::after {
    border-width: 4px;
    border-radius: 2px;
  }

  .p-top__wave {
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .p-top__wave--pc { display: none; }

  .p-top__wave--sp {
    display: block;
    aspect-ratio: 350 / 16;
  }

  .p-top__wave--top {
    order: 4;
    margin-top: 2rem;
  }

  .p-top__lead {
    order: 5;
    width: 100%;
    margin: 1.25rem auto 0;
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: left;
  }

  .p-top__start {
    order: 6;
    margin: 1rem auto 0;
  }

  .p-top__wave--bottom {
    order: 7;
    margin-top: 1.75rem;
  }

  .p-top__banner {
    margin: 3rem auto 0;
  }

  .p-question__inner {
    padding-top: 24px;
    padding-bottom: 62px;
  }

  .p-question__image {
    width: 100%;
    height: auto;
    aspect-ratio: 350 / 197;
    object-fit: cover;
  }

  .p-question__progress {
    height: 23.4632px;
    margin-top: 12px;
  }

  .p-question__progress-track {
    top: 12.4632px;
    width: 315px;
    max-width: calc(100% - 35px);
  }

  .p-question__progress-fill {
    top: -2px;
    width: min(calc(var(--progress) - 3px), calc(100% - 14px));
    height: 3px;
  }

  .p-question__progress-ufo {
    top: -10.594px;
    width: 27.733px;
    height: 16px;
    margin-left: -26.24px;
    transform-origin: center;
  }

  .p-question__progress-count {
    top: 0;
    right: -1px;
    width: auto;
  }

  .p-question__progress-count strong { font-size: 1.125rem; }

  .p-question__progress-count span { font-size: 0.875rem; }

  .p-question__prompt {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 8px;
    min-height: 56px;
    margin-top: 20px;
    margin-left: 0;
  }

  .p-question__badge {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .p-question__badge::before { inset: -1px; }

  .p-question__text {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .p-question__choices {
    gap: 8px;
    margin-top: 20px;
  }

  .c-choice {
    height: 76px;
    padding: 0;
    justify-content: flex-start;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
  }

  .p-question__choice-text {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
  }

  .p-question__actions {
    justify-content: space-between;
    gap: 10px;
    height: 44px;
    min-height: 44px;
    margin-top: 46px;
  }

  .p-question__nav,
  .p-question__nav--result {
    width: auto;
    max-width: 100%;
    height: 44px;
    gap: 10px;
    font-size: 1.125rem;
    line-height: normal;
  }

  .p-question__nav:only-child { margin-left: auto; }

  .p-question__nav-icon {
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .diagnosing-layout {
    width: min(100% - 2.5rem, 456px);
    min-height: calc(100svh - 175px);
    padding-block: 2rem;
  }

  .diagnosing-layout h1 { font-size: 1.5rem; }

  .diagnosing-layout p {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .p-result__inner {
    padding-top: 24.4632px;
    padding-bottom: 4rem;
  }

  .p-result__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
    padding: 40px 0 48px;
  }

  .p-result__card {
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-width: 3px;
    border-radius: 16px;
    background-position: 9px 32px;
    background-size: 12px 12px;
  }

  .p-result__card-bar {
    top: -3px;
    left: -3px;
    gap: 5px;
    width: calc(100% + 6px);
    height: 28px;
    padding: 11px 12px;
    border-radius: 16px 16px 0 0;
  }

  .p-result__card-bar span {
    width: 6px;
    height: 6px;
  }

  .p-result__chara {
    position: relative;
    z-index: 2;
    order: 1;
    top: auto;
    left: auto;
    display: block;
    width: 228px;
    max-width: 100%;
    height: 444px;
    margin-inline: auto;
  }

  .p-result__copy {
    position: relative;
    z-index: 2;
    order: 2;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin-top: 10px;
    padding-top: 103px;
    text-align: left;
  }

  .p-result__lead {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    margin-left: 0;
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .p-result__title {
    position: absolute;
    top: 28px;
    right: 24px;
    left: 24px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 6px;
    white-space: normal;
  }

  .p-result__name { font-size: 2.25rem; }

  .p-result__type { font-size: 1.25rem; }

  .p-result__divider {
    top: 91px;
    left: 28px;
    width: calc(100% - 56px);
    max-width: none;
  }

  .p-result__description {
    position: static;
    width: calc(100% - 60px);
    margin: 0 0 0 30px;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
  }

  .p-result__share {
    position: relative;
    z-index: 2;
    order: 3;
    top: auto;
    left: auto;
    width: calc(100% - 60px);
    margin: 24px 0 0 30px;
  }

  .p-result__share img {
    width: 32px;
    height: 32px;
  }

  .p-result__retry { margin-top: 40px; }

  .p-result__banner { margin: 48px auto 0; }
}

@keyframes bounceScaleLg {
  0% { scale: 1; }
  50% { scale: 0.8; }
  100% { scale: 1; }
}

@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes logoWiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0); }
  75% { transform: rotate(-5deg); }
}

.is-motion-enabled :where(.js-scrap-in) {
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s var(--ease-out-back-st);
  transition-delay: var(--an-delay, 0s);
}

.is-motion-enabled :where(.js-scrap-in.is-scrap-visible) {
  opacity: 1;
  transform: translateY(0);
}

.is-grid-hold body { background-image: none; }

.is-opening .p-top {
  opacity: 0;
  pointer-events: none;
}

@media (any-hover: hover) {
  a {
    transition: var(--opacity-transition);
  }

  a:hover:not(.c-capsule--share) {
    opacity: var(--opacity-hover);
  }

  .c-capsule--start:not(:disabled):hover,
  .c-capsule--share:hover {
    animation: bounceScaleLg 0.14s 2 ease-out;
  }

  .p-question__choice:hover::after { opacity: 0.5; }

  .p-question__choice[aria-pressed="true"]:hover::after { opacity: 1; }

  .p-question__nav:not(:disabled):hover .p-question__nav-icon {
    scale: calc(var(--nav-flip, 1) * 1.06) 1.06;
  }
}

.p-question__choice:active::after,
.p-question__choice.is-pressed::after { opacity: 1; }

.p-question__choice:active .p-question__choice-text,
.p-question__choice.is-pressed .p-question__choice-text { top: 2px; }

.p-question__nav:not(:disabled):active,
.p-question__nav:not(:disabled).is-pressed {
  scale: 0.96;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
