/* =========================================================
   1. FONT FACE
   ========================================================= */

@font-face {
  font-family: "CAT Noto Sans JP";
  src: url("../fonts/NotoSansJP-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CAT Noto Sans JP";
  src: url("../fonts/NotoSansJP-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CAT Noto Sans JP";
  src: url("../fonts/NotoSansJP-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CAT Noto Sans JP";
  src: url("../fonts/NotoSansJP-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   2. ROOT APP WRAPPER
   ========================================================= */

#cat-app {
  width: 100%;
  height: 100%;
  background: radial-gradient(rgb(86 225 207), rgb(107 255 207));
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-family:
    "CAT Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  box-sizing: border-box;
  overflow: hidden;
}

#cat-app *,
#cat-app *::before,
#cat-app *::after {
  box-sizing: inherit;
}

#cat-app h1,
#cat-app h2,
#cat-app h3,
#cat-app h4,
#cat-app h5,
#cat-app h6,
#cat-app p,
#cat-app ul,
#cat-app ol,
#cat-app li {
  margin: 0;
  padding: 0;
  font-family:
    "CAT Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

#cat-app button {
  appearance: auto;
  -webkit-appearance: button;
  cursor: pointer;
  pointer-events: auto;
}

#cat-app .cat-app-wrap {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding-top: var(--cat-app-wrap-pt-desktop, 120px);
  padding-bottom: var(--cat-app-wrap-pb-desktop, 120px);
}

#cat-app .cat-app-wrap.cat-is-loading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* =========================================================
   3. PROGRESS BAR
   ========================================================= */

#cat-app .cat-progress {
  margin-top: 100px;
  width: 100%;
  max-width: 700px;
  position: relative;
}

#cat-app #cat-progress-bar {
  position: relative;
  width: 100%;
  height: 15px;
  border: 1px solid #0074ff;
}

#cat-app #cat-progress-fill {
  width: 0%;
  height: 100%;
  background: #0074ff;
}

#cat-app #cat-progress-bubble {
  transition: left 200ms ease;
}

#cat-app #cat-progress-bubble.cat-progress-meta {
  position: absolute;
  top: -49px;
  left: 0;
  font-size: 13px;
  margin-bottom: 6px;
  text-align: right;
  padding: 10px 14px;
  border: 1px solid #0074ff;
  background: #fff;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}

#cat-app .cat-progress-meta::after {
  content: "";
  position: absolute;
  left: 26%;
  bottom: -9px;
  width: 11px;
  height: 14px;
  background: #fff;
  border-right: 1px solid #0074ff;
  transform: translateX(-50%) rotate(45deg);
}

#cat-app #cat-progress-text {
  color: #0074ff;
}

/* =========================================================
   4. START SCREEN
   ========================================================= */
#cat-app #cat-start {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;

  opacity: 0;
  visibility: hidden;
}

#cat-app .cat-start-scene {
  position: relative;
  width: 100%;
  max-width: 685px;
  aspect-ratio: 671 / 698;
  margin: 0 auto;
}

#cat-app .cat-start-bg-lines {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

#cat-app .cat-start-obj {
  position: absolute;
  height: auto;
  object-fit: contain;
  z-index: 1;
}

#cat-app .cat-start-obj--magnifier {
  top: 14.5%;
  right: 45.2%;
  width: 6em;
}

#cat-app .cat-start-obj--squiggle-1 {
  top: 9%;
  left: 83%;
  width: 5em;
}

#cat-app .cat-start-obj--squiggle-2 {
  bottom: 37%;
  left: -10%;
  width: 6em;
}

#cat-app .cat-start-obj--star {
  top: 13.5%;
  left: 3%;
  width: 2.8em;
}

#cat-app .cat-start-obj--flower {
  bottom: 14.5%;
  right: 2.8%;
  width: 2.5em;
}

#cat-app .cat-start-icon__wrap {
  position: absolute;
  width: 95px;
  height: 95px;
  object-fit: contain;
  z-index: 1;
  background-color: white;
  border: #1542ff 1px solid;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cat-app .cat-start-icon__wrap-illust {
  top: 13%;
  right: 20%;
}

#cat-app .cat-start-icon__wrap-mic {
  top: 27.5%;
  right: -13.2%;
}

#cat-app .cat-start-icon__wrap-play {
  bottom: 18.5%;
  right: -9.2%;
}

#cat-app .cat-start-icon__wrap-employee {
  bottom: 15.5%;
  left: 0;
}

#cat-app .cat-start-icon__wrap-movie {
  top: 33%;
  left: -13.5%;
}

#cat-app .cat-start-icon__wrap-music {
  top: 20%;
  left: 13.8%;
}

#cat-app .cat-start-icon {
  object-fit: contain;
  object-position: center;
}

#cat-app .cat-start-icon--illust {
  width: 70%;
}

#cat-app .cat-start-icon--mic {
  width: 75%;
}

#cat-app .cat-start-icon--play {
  width: 75%;
}

#cat-app .cat-start-icon--employee {
  position: relative;
  width: 75%;
  top: 5%;
  right: 1%;
}

#cat-app .cat-start-icon--movie {
  width: 70%;
}

#cat-app .cat-start-icon--music {
  width: 75%;
}

#cat-app .cat-start-title {
  position: absolute;
  top: 52%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 68%;
}

#cat-app .cat-start-title img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#cat-app .cat-start-title p {
  margin-top: 10px;
  color: #1542ff;
  font-size: 1.35em;
  font-weight: 600;
  text-align: center;
  text-wrap: nowrap;
}

#cat-app #cat-start-btn {
  position: absolute;
  top: 84.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50px;
  border: 0;
  background-color: #1542ff;
  color: #fff;
  font-size: 2em;
  height: 80px;
  width: 360px;
}

#cat-app .btn-start-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 10px;
}

#cat-app .btn-start-text {
  font-weight: 600;
}

#cat-app #cat-start-btn .btn-start-arrow {
  border-radius: 50%;
  background-color: #fff;
  color: #1542ff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 49px;
  width: 49px;
  position: relative;
  left: 4%;
}

/* =========================================================
   5. QUESTION FLOW
   ========================================================= */

#cat-app #cat-questions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(26.25em, 53.118vw + 0.787em, 40.625em);
  position: relative;
  color: #000;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#cat-app .cat-questions-wrap {
  background-color: #fff;
  border: 30px solid #0074ff;
  border-radius: 50px;
  width: 100%;
  min-height: clamp(22.5em, 46.296vw + 0.278em, 35em);
  background-image: url("../img/question-screen/question-bg-desktop.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px 0;
}

#cat-app #cat-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

#cat-app .cat-question {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#cat-app .cat-question-number--wrap {
  border: 2px solid #1542ff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
}

#cat-app .cat-question-number {
  font-size: 1.5em;
  color: #1542ff;
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-weight: 700;
}

#cat-app .cat-question-number::after {
  content: none;
}

#cat-app .cat-question p {
  margin-top: 40px;
  font-size: 1.2em;
  max-width: 650px;
  font-weight: 600;
  text-wrap: wrap;
  height: 56px;
  text-align: center;
}

#cat-app .cat-answer-wrap.cat-profile-answer {
  margin-block: 30px 10px;
}

#cat-app .cat-answer-wrap {
  margin-top: 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

#cat-app .cat-profile-answer .cat-answer {
  border-radius: 50px;
  border: 0;
  background-color: #1542ff;
  color: #fff;
  padding: 10px;
  width: 180px;
  font-size: 1em;
  text-align: center;
  font-weight: 600;
}

#cat-app .cat-scored-answer .cat-answer {
  position: relative;
  width: 55px;
  height: 55px;
  border-radius: 999px;
  border: none;
  color: #fff;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
}

#cat-app .cat-answer[data-answer="yes"],
#cat-app .cat-answer[data-answer="no"] {
  background: #1542ff;
}
#cat-app .cat-answer[data-answer="rather_yes"],
#cat-app .cat-answer[data-answer="rather_no"] {
  width: 45px;
  height: 45px;
  background: #78a3e5;
}

#cat-app .cat-answer[data-answer="neither"] {
  width: 40px;
  height: 40px;
  background: #BAC4D0;
}

#cat-app .cat-scored-answer .cat-answer::before {
  content: "";
  font-size: 24px;
  width: 8px;
  height: 11px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%) rotate(45deg);
}

#cat-app .cat-answer .cat-answer-label {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 700;
  color: #1542ff;
  white-space: nowrap;
}

#cat-app .cat-answer[data-answer="neither"] .cat-answer-label {
  top: calc(100% + 18px);
  left: 50%;
}

#cat-app .cat-answer[data-answer="rather_yes"] .cat-answer-label,
#cat-app .cat-answer[data-answer="rather_no"] .cat-answer-label {
  display: none;
}

#cat-app .cat-answer.is-selected {
  box-shadow: 0 0 0 4px rgba(21, 66, 255, 0.2);
  transform: translateY(-1px);
}

#cat-app .cat-controls {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 100%;
}

#cat-app .cat-controls button {
  border-radius: 50px;
  border: 1px solid #0374fa;
  background-color: transparent;
  color: #0374fa;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  width: 265px;
  padding: 10px;
  margin: 0 !important;
  position: relative;
  text-align: center;
}

#cat-app #cat-back-btn,
#cat-app #cat-reset-btn,
#cat-app #cat-submit {
  margin-top: 20px;
}

#cat-app #cat-submit {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cat-app .cat-submit-spacing {
  height: 56px;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
  visibility: hidden;
}

#cat-app .cat-submit-btn-wrap {
  height: 56px;
  width: 100%;
}

#cat-app #cat-submit-btn {
  border-radius: 50px;
  border: 0;
  background-color: #1542ff;
  border: 1px solid #1542ff;
  color: #fff;
  padding: 10px;
  font-size: 1em;
  cursor: pointer;
  width: 100%;
  max-width: 265px;
  position: relative;
  text-align: center;
  margin: auto;
}

#cat-app #cat-submit-btn p {
  font-weight: 600;
}

#cat-app .btn-submit-arrow {
  border-radius: 50%;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  position: absolute;
  top: 50%;
  left: 85%;
  transform: translate(-50%, -50%);
}

#cat-app .btn-reset-arrow,
#cat-app .btn-back-arrow {
  border-radius: 50%;
  color: #0374fa;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translate(-50%, -50%);
}

#cat-app .btn-arrow__single::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  left: 45%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

#cat-app .cat-result-jobs__arrow.btn-arrow__single::after {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
}

#cat-app .cat-result-top__arrow.btn-arrow__single::after {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
}

#cat-app .btn-back-arrow.btn-arrow__single::after {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
}

#cat-app .btn-submit-arrow.btn-arrow__single::after {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
}

#cat-app .btn-arrow__double::before,
#cat-app .btn-arrow__double::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

#cat-app .btn-arrow__double::before {
  left: 40%;
}
#cat-app .btn-arrow__double::after {
  left: 55%;
}

/* =========================================================
   5A. BUTTON HOVER / ACTIVE
   ========================================================= */

#cat-app #cat-start-btn,
#cat-app .cat-profile-answer .cat-answer,
#cat-app .cat-scored-answer .cat-answer,
#cat-app .cat-controls button,
#cat-app #cat-submit-btn,
#cat-app #cat-reset-btn.cat-btn__result {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

#cat-app .cat-result-entry__link,
#cat-app .cat-result-jobs__link,
#cat-app #cat-top-btn-result,
#cat-app .cat-result-top__arrow.btn-arrow__single::after {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    filter 0.25s ease;
}

#cat-app #cat-start-btn:hover,
#cat-app #cat-start-btn:active {
  background-color: #fff;
  color: #1542ff;
  border: 1px solid #1542ff;
}

#cat-app #cat-start-btn:hover .btn-start-arrow,
#cat-app #cat-start-btn:active .btn-start-arrow {
  background-color: #1542ff;
  color: #fff;
}

#cat-app .cat-profile-answer .cat-answer:hover,
#cat-app .cat-profile-answer .cat-answer:active {
  background-color: #fff;
  color: #1542ff;
  border: 1px solid #1542ff;
  transform: scale(1.1);
}

#cat-app .cat-scored-answer .cat-answer:hover,
#cat-app .cat-scored-answer .cat-answer:active {
  color: #1542ff;
  transform: scale(1.1);
}

#cat-app .cat-answer.is-selected {
  box-shadow: 0 0 0 4px rgba(21, 66, 255, 0.2);
  transform: scale(1.1);
}

#cat-app .cat-controls button:hover,
#cat-app .cat-controls button:active {
  background-color: #0374fa;
  color: #fff;
}

#cat-app .cat-controls button:hover .btn-reset-arrow,
#cat-app .cat-controls button:hover .btn-back-arrow,
#cat-app .cat-controls button:active .btn-reset-arrow,
#cat-app .cat-controls button:active .btn-back-arrow {
  color: #fff;
}

#cat-app #cat-submit-btn:hover,
#cat-app #cat-submit-btn:active {
  background-color: #fff;
  color: #1542ff;
  border: 1px solid #1542ff;
}

#cat-app #cat-submit-btn:hover .btn-submit-arrow,
#cat-app #cat-submit-btn:active .btn-submit-arrow {
  color: #1542ff;
}

#cat-app
  #cat-result-card.cat-result__card.cat-result--creator
  #cat-reset-btn.cat-btn__result:hover,
#cat-app
  #cat-result-card.cat-result__card.cat-result--director
  #cat-reset-btn.cat-btn__result:hover,
#cat-app
  #cat-result-card.cat-result__card.cat-result--sales
  #cat-reset-btn.cat-btn__result:hover,
#cat-app
  #cat-result-card.cat-result__card.cat-result--marketer
  #cat-reset-btn.cat-btn__result:hover,
#cat-app
  #cat-result-card.cat-result__card.cat-result--backoffice
  #cat-reset-btn.cat-btn__result:hover,
#cat-app
  #cat-result-card.cat-result__card.cat-result--creator
  #cat-reset-btn.cat-btn__result:active,
#cat-app
  #cat-result-card.cat-result__card.cat-result--director
  #cat-reset-btn.cat-btn__result:active,
#cat-app
  #cat-result-card.cat-result__card.cat-result--sales
  #cat-reset-btn.cat-btn__result:active,
#cat-app
  #cat-result-card.cat-result__card.cat-result--marketer
  #cat-reset-btn.cat-btn__result:active,
#cat-app
  #cat-result-card.cat-result__card.cat-result--backoffice
  #cat-reset-btn.cat-btn__result:active {
  background-color: #fff;
  color: var(--cat-result-accent);
  border-color: var(--cat-result-accent);
}

#cat-app .cat-result-entry__link:hover,
#cat-app .cat-result-entry__link:active {
  background-color: #fff;
  color: #89d385;
  border: 1px solid #89d385;
}

#cat-app .cat-result-entry__link:hover .cat-result-entry__arrow,
#cat-app .cat-result-entry__link:active .cat-result-entry__arrow {
  color: #89d385;
}

#cat-app .cat-result-jobs__link:hover,
#cat-app .cat-result-jobs__link:active {
  color: #89d385ad;
  border-bottom: 2px solid #89d385ad;
}

#cat-app
  .cat-result-jobs__link:hover
  .cat-result-jobs__arrow.btn-arrow__single::after,
#cat-app
  .cat-result-jobs__link:active
  .cat-result-jobs__arrow.btn-arrow__single::after {
  color: #89d385ad;
  border-right: 2px solid #89d385ad;
  border-top: 2px solid #89d385ad;
}

#cat-app #cat-top-btn-result:hover,
#cat-app #cat-top-btn-result:active {
  color: #333333ad;
  border-bottom: 2px solid #333333ad;
}

#cat-app
  #cat-top-btn-result:hover
  .cat-result-top__arrow.btn-arrow__single::after,
#cat-app
  #cat-top-btn-result:active
  .cat-result-top__arrow.btn-arrow__single::after {
  color: #333333ad;
  border-right: 2px solid #333333ad;
  border-top: 2px solid #333333ad;
}

/* =========================================================
   6. RESULT CARD – BASE
   ========================================================= */

#cat-app #cat-result {
  width: 100%;
  margin: 0 auto;
}

#cat-app #cat-result-card,
#cat-app .cat-result__card {
  background-color: #fff;
  border-radius: 50px;
  border: 30px solid transparent;
  width: 100%;
  margin: 0 auto;
  min-height: clamp(22.5em, 46.296vw + 0.278em, 35em);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#cat-app #cat-result-card.cat-result__card.cat-result--creator {
  border-color: #f97279;
  --cat-result-accent: #f97279;
}
#cat-app #cat-result-card.cat-result__card.cat-result--director {
  border-color: #4747ff;
  --cat-result-accent: #4747ff;
}
#cat-app #cat-result-card.cat-result__card.cat-result--sales {
  border-color: #ffd41d;
  --cat-result-accent: #ffd41d;
}
#cat-app #cat-result-card.cat-result__card.cat-result--marketer {
  border-color: #fe6c25;
  --cat-result-accent: #fe6c25;
}
#cat-app #cat-result-card.cat-result__card.cat-result--backoffice {
  border-color: #b276c8;
  --cat-result-accent: #b276c8;
}

#cat-app
  #cat-result-card.cat-result__card.cat-result--creator
  #cat-result__title-sub-accent,
#cat-app
  #cat-result-card.cat-result__card.cat-result--director
  #cat-result__title-sub-accent,
#cat-app
  #cat-result-card.cat-result__card.cat-result--sales
  #cat-result__title-sub-accent,
#cat-app
  #cat-result-card.cat-result__card.cat-result--marketer
  #cat-result__title-sub-accent,
#cat-app
  #cat-result-card.cat-result__card.cat-result--backoffice
  #cat-result__title-sub-accent {
  color: var(--cat-result-accent);
}

#cat-app
  #cat-result-card.cat-result__card.cat-result--creator
  .cat-result__label,
#cat-app
  #cat-result-card.cat-result__card.cat-result--creator
  .cat-result__description-visual,
#cat-app
  #cat-result-card.cat-result__card.cat-result--director
  .cat-result__label,
#cat-app
  #cat-result-card.cat-result__card.cat-result--director
  .cat-result__description-visual,
#cat-app #cat-result-card.cat-result__card.cat-result--sales .cat-result__label,
#cat-app
  #cat-result-card.cat-result__card.cat-result--sales
  .cat-result__description-visual,
#cat-app
  #cat-result-card.cat-result__card.cat-result--marketer
  .cat-result__label,
#cat-app
  #cat-result-card.cat-result__card.cat-result--marketer
  .cat-result__description-visual,
#cat-app
  #cat-result-card.cat-result__card.cat-result--backoffice
  .cat-result__label,
#cat-app
  #cat-result-card.cat-result__card.cat-result--backoffice
  .cat-result__description-visual {
  background-color: var(--cat-result-accent);
}

#cat-app
  #cat-result-card.cat-result__card.cat-result--creator
  #cat-reset-btn.cat-btn__result,
#cat-app
  #cat-result-card.cat-result__card.cat-result--director
  #cat-reset-btn.cat-btn__result,
#cat-app
  #cat-result-card.cat-result__card.cat-result--sales
  #cat-reset-btn.cat-btn__result,
#cat-app
  #cat-result-card.cat-result__card.cat-result--marketer
  #cat-reset-btn.cat-btn__result,
#cat-app
  #cat-result-card.cat-result__card.cat-result--backoffice
  #cat-reset-btn.cat-btn__result {
  border-color: var(--cat-result-accent);
  background-color: var(--cat-result-accent);
}

/* =========================================================
   7. RESULT – HEADER AREA
   ========================================================= */

#cat-app .cat-result__header {
  background-color: #f7f4f1;
  border-radius: 25px;
  margin: 50px auto;
  width: 90%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  position: relative;
}

#cat-app .cat-result__header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 25px;
  height: 25px;
  background: #f7f4f1;
  transform: translateX(-50%) rotate(45deg);
}

#cat-app .cat-result__label {
  width: fit-content;
  margin: 0 auto;
  padding: 10px 15px;
  background-color: #f97279;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 1em;
}

#cat-app .cat-result__title {
  font-size: 2.5em;
  font-weight: 800;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  font-family: "toppan-bunkyu-midashi-go-std", sans-serif;
  font-weight: 900;
}

#cat-app #cat-result-title-main,
#cat-app #cat-result__title-sub-main {
  color: #333;
}

#cat-app #cat-result-title-sub {
  color: #f97279;
}

#cat-app #cat-reset-btn.cat-btn__result {
  border-radius: 50px;
  border: 1px solid #f97279;
  background-color: #f97279;
  color: #fff;
  padding: 10px;
  font-size: 1em;
  cursor: pointer;
  width: 245px;
  text-align: center;
  font-weight: 600;
}

#cat-app .cat-result__description {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cat-app #cat-result-lead {
  color: #333;
  font-weight: 600;
}

#cat-app .cat-result__description-visual {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  margin-left: 50px;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

#cat-app #cat-result__avatar {
  position: absolute;
  width: 161px;
  height: 161px;
  object-fit: contain;
  object-position: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* =========================================================
   8. RESULT – RECOMMENDED TAGS SECTION
   ========================================================= */

#cat-app .cat-result-section {
  width: 90%;
  margin-bottom: 50px;
}

#cat-app .cat-result-section.cat-result-section--recommended {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 2px dotted #89d385;
  padding-bottom: 35px;
}

#cat-app .cat-result-section__eyebrow {
  color: #92e926;
  text-align: center;
  font-size: 0.8em;
  font-weight: 800;
}

#cat-app .cat-result-section__title {
  color: #333;
  text-align: center;
  font-size: 1em;
  font-weight: 800;
}

#cat-app .cat-result-section__title br {
  display: none;
}

#cat-app #cat-result-tags {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #333;
}

#cat-app .cat-result-tag {
  border: 1px solid #89d385;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.8em;
}

/* =========================================================
   9. RESULT – ENTRY JOBS & ALL JOBS
   ========================================================= */

#cat-app .cat-result-section.cat-result-section--entry {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cat-app #cat-result-entry {
  margin-top: 35px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: center;
}

#cat-app .cat-result-entry__link {
  box-sizing: border-box;
  border-radius: 50px;
  background-color: #89d385;
  border: 1px solid #89d385;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  margin: 0 auto;
  width: 100%;
  text-decoration: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

#cat-app #cat-result-entry .cat-result-entry__link:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 300px;
}

#cat-app .cat-result-entry__text {
  width: fit-content;
  margin: 0 auto;
}

#cat-app .cat-result-entry__arrow {
  border-radius: 50%;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translate(-50%, -50%);
}

#cat-app .cat-result-jobs {
  margin-top: 35px;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 600;
}

#cat-app .cat-result-jobs__link {
  box-sizing: border-box;
  background-color: transparent;
  color: #89d385;
  font-size: 1em;
  cursor: pointer;
  margin: 0 !important;
  text-decoration: none;
  border-bottom: 2px solid #89d385;
  position: relative;
}

#cat-app .cat-result-jobs__text {
  width: fit-content;
  padding-right: 25px;
}

#cat-app .cat-result-jobs__arrow {
  border-radius: 50%;
  color: #89d385;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 55%;
  left: 97%;
  transform: translate(-50%, -50%);
}

/* =========================================================
   10. RESULT – BOTTOM CHARACTERS + CTA + FOOTER
   ========================================================= */

#cat-app .cat-result__bottom {
  width: 90%;
  padding: 0 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

#cat-app .cat-result__character-wrap {
  width: fit-content;
}

#cat-app .cat-result__character {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#cat-app .cat-result__cta {
  margin: 0 auto 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  position: relative;
}

#cat-app #cat-top-btn-result {
  box-sizing: border-box;
  background-color: transparent;
  color: #333;
  font-size: 1em;
  font-weight: 800;
  cursor: pointer;
  margin: 0 !important;
  padding: 0;
  width: fit-content;
  text-decoration: none;
  border-bottom: 2px solid #333;
  position: relative;
}

#cat-app .cat-result-top__text {
  width: fit-content;
  padding-right: 25px;
}

#cat-app .cat-result-top__arrow {
  border-radius: 50%;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 55%;
  left: 90%;
  transform: translate(-50%, -50%);
}

#cat-app .cat-result__footer {
  width: 90%;
  padding: 0 60px;
  margin-bottom: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#cat-app .cat-result__note {
  color: #333;
  font-size: 0.8em;
}

#cat-app .cat-result__note br {
  display: none;
}

#cat-app #cat-result__title br {
  display: inline;
}

/* =========================================================
   11. RESPONSIVE – TABLET (≤ 1024px)
   ========================================================= */

@media (max-width: 1024px) {
  #cat-app .cat-app-wrap {
    padding-top: var(--cat-app-wrap-pt-mobile, 140px);
    padding-bottom: var(--cat-app-wrap-pb-mobile, 80px);
    padding-left: 16px;
    padding-right: 16px;
  }

  #cat-app .cat-questions-wrap {
    border-width: 24px;
    border-radius: 40px;
  }

  #cat-app .cat-result__header {
    padding: 40px;
    margin: 40px auto;
  }

  #cat-app .cat-result__title {
    font-size: 2em;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #cat-app .cat-result__bottom {
    padding: 0 40px;
  }

  #cat-app .cat-result__footer {
    padding: 0 40px;
  }
}

/* =========================================================
   12. RESPONSIVE – MOBILE (≤ 767px)
   ========================================================= */

@media (max-width: 767px) {
  #cat-app {
    font-size: 14px;
  }

  #cat-app #cat-start {
    background-size: cover;
    min-height: clamp(24.375em, 40.767vw + 15.457em, 35em);
  }

  #cat-app .cat-start-scene {
    width: 80%;
  }

  #cat-app .cat-start-obj--magnifier {
    top: 14.5%;
    right: 45.2%;
    width: 13%;
  }

  #cat-app .cat-start-obj--squiggle-1 {
    top: 9%;
    left: 83%;
    width: 13.5%;
  }

  #cat-app .cat-start-obj--squiggle-2 {
    bottom: 37%;
    left: -10%;
    width: 16.7%;
  }

  #cat-app .cat-start-obj--star {
    top: 13.5%;
    left: 3%;
    width: 7.5%;
  }

  #cat-app .cat-start-obj--flower {
    bottom: 14.5%;
    right: 2.8%;
    width: 7%;
  }

  #cat-app .cat-start-icon__wrap {
    position: absolute;
    width: clamp(2.813em, 11.99vw + 0.19em, 5.938em);
    height: clamp(2.813em, 11.99vw + 0.19em, 5.938em);
    object-fit: contain;
    z-index: 1;
    background-color: white;
    border: #355dd0 1px solid;
    border-radius: 50%;
    overflow: hidden;
  }

  #cat-app .cat-start-icon__wrap-illust {
    top: 13%;
    right: 20%;
  }

  #cat-app .cat-start-icon__wrap-mic {
    top: 27.5%;
    right: -13.2%;
  }

  #cat-app .cat-start-icon__wrap-play {
    bottom: 18.5%;
    right: -9.2%;
  }

  #cat-app .cat-start-icon__wrap-employee {
    bottom: 15.5%;
    left: 0;
  }

  #cat-app .cat-start-icon__wrap-movie {
    top: 33%;
    left: -13.5%;
  }

  #cat-app .cat-start-icon__wrap-music {
    top: 20%;
    left: 13.8%;
  }

  #cat-app .cat-start-icon {
    object-fit: contain;
    object-position: center;
  }

  #cat-app .cat-start-icon--illust {
    width: 70%;
  }

  #cat-app .cat-start-icon--mic {
    width: 75%;
  }

  #cat-app .cat-start-icon--play {
    width: 75%;
  }

  #cat-app .cat-start-icon--employee {
    width: 77%;
  }

  #cat-app .cat-start-icon--movie {
    width: 70%;
  }

  #cat-app .cat-start-icon--music {
    width: 75%;
  }

  #cat-app .cat-start-title p {
    font-size: 1.5em;
    text-wrap: wrap;
  }

  #cat-app #cat-start-btn {
    width: 250px;
    height: 60px;
    font-size: 1.4em;
  }

  #cat-app #cat-start-btn .btn-start-arrow {
    height: 30px;
    width: 30px;
  }

  #cat-app .btn-arrow__single::after {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
  }

  #cat-app .cat-questions-wrap {
    border-width: 20px;
    border-radius: 30px;
    padding: 40px 15px;
    background-image: url("../img/question-screen/question-bg-sp.png");
    background-size: contain;
    background-repeat: repeat;
    background-position: left;
  }

  #cat-app .cat-question-number--wrap {
    width: 5.25em;
    height: 5.25em;
    font-size: 0.9em;
  }

  #cat-app .cat-question-number {
    font-size: 1.3em;
  }

  #cat-app .cat-question p {
    font-size: 1em;
    max-width: 100%;
  }

  #cat-app .cat-answer-wrap {
    justify-content: space-between;
    gap: 10px;
    max-width: 350px;
  }

  #cat-app .cat-profile-answer .cat-answer {
    width: 45%;
    max-width: 280px;
  }

  #cat-app .cat-scored-answer .cat-answer {
    width: 50px;
    height: 50px;
  }

  #cat-app .cat-answer[data-answer="rather_yes"],
  #cat-app .cat-answer[data-answer="rather_no"] {
    width: 38px;
    height: 38px;
  }

  #cat-app .cat-answer[data-answer="neither"] {
    width: 32px;
    height: 32px;
  }

  #cat-app .cat-answer .cat-answer-label {
    font-size: 12px;
  }

  #cat-app .cat-scored-answer .cat-answer::before {
    font-size: 15px;
  }

  #cat-app .cat-controls {
    gap: 16px;
    margin-top: 30px;
  }

  #cat-app .cat-controls button,
  #cat-app #cat-submit-btn {
    width: 100%;
    max-width: 280px;
  }

  #cat-app .btn-reset-arrow,
  #cat-app .btn-back-arrow,
  #cat-app .btn-submit-arrow {
    left: 88%;
  }

  #cat-app .cat-progress {
    margin-top: 75px;
    max-width: 100%;
  }

  #cat-app #cat-progress-bar {
    height: 10px;
  }

  #cat-app #cat-progress-bubble.cat-progress-meta {
    font-size: 11px;
    padding: 8px 10px;
    top: -40px;
  }

  #cat-app #cat-result-card,
  #cat-app .cat-result__card {
    border-width: 20px;
    border-radius: 30px;
  }

  #cat-app .cat-result__header {
    padding: 32px 20px;
    margin: 32px auto;
  }

  #cat-app .cat-result__title {
    font-size: 1.5em;
    display: inline-block;
  }

  #cat-app .cat-result__description {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 20px;
  }

  #cat-app .cat-result__description-visual {
    margin-left: 0;
    margin-top: 20px;
    width: 130px;
    height: 130px;
  }

  #cat-app #cat-result__avatar {
    width: 131px;
    height: 131px;
  }

  #cat-app #cat-result-tags {
    justify-content: center;
  }

  #cat-app .cat-result-tag {
    font-size: 0.75em;
    padding: 4px 8px;
  }

  #cat-app #cat-result-entry {
    grid-template-columns: 1fr;
  }

  #cat-app .cat-result-entry__link {
    width: 100%;
    max-width: 350px;
  }

  #cat-app #cat-result-entry .cat-result-entry__link:only-child {
    max-width: 350px;
  }

  #cat-app .cat-result-jobs {
    margin-top: 24px;
    margin-left: 0;
    justify-content: center;
  }

  #cat-app .cat-result__bottom {
    padding: 0 20px;
    margin-top: 20px;
    gap: 24px;
    justify-content: center;
  }

  #cat-app .cat-result__character-wrap {
    position: absolute;
    bottom: 0;
    height: clamp(9.375em, 23.981vw + 4.129em, 15.625em);
  }

  #cat-app .cat-result__character--right-wrap {
    right: -10px;
  }

  #cat-app .cat-result__character--left-wrap {
    left: -10px;
  }

  #cat-app .cat-result__cta {
    margin-bottom: 30px;
  }

  #cat-app #cat-reset-btn.cat-btn__result {
    width: clamp(10.625em, 11.99vw + 8.002em, 13.75em);
  }

  #cat-app .cat-result__footer {
    padding: 0 20px;
    margin-bottom: 60px;
    text-align: center;
  }
  #cat-app .cat-result__note {
    margin-top: 20px;
  }

  #cat-app #cat-result__title br {
    display: none;
  }
}

@media (max-width: 600px) {
  #cat-app #cat-start {
    background-size: cover;
    min-height: fit-content;
  }

  #cat-app .cat-start-scene {
    width: 90%;
  }

  #cat-app .cat-start-title {
    top: 52%;
    left: 51%;
    max-width: 85%;
  }
  #cat-app .cat-start-title p {
    font-size: 1em;
    text-wrap: wrap;
    margin-top: 0;
  }

  #cat-app #cat-start {
    margin-bottom: 125px;
  }

  #cat-app .cat-start-obj--magnifier {
    top: 17.5%;
    right: 45.2%;
    width: 11%;
  }

  #cat-app .cat-start-obj--squiggle-1 {
    top: 9.5%;
    left: unset;
    right: 17%;
    width: 8.5%;
  }

  #cat-app .cat-start-obj--squiggle-2 {
    bottom: 22%;
    left: 0%;
    width: 11%;
  }

  #cat-app .cat-start-obj--star {
    top: 7.5%;
    left: 28%;
    width: 5.5%;
  }

  #cat-app .cat-start-obj--flower {
    bottom: 8.5%;
    right: 26.8%;
    width: 5.5%;
  }

  #cat-app .cat-start-icon__wrap-illust {
    top: 2%;
    right: 31%;
  }

  #cat-app .cat-start-icon__wrap-mic {
    top: 22.5%;
    right: -2%;
  }

  #cat-app .cat-start-icon__wrap-play {
    bottom: 15.5%;
    right: 1.5%;
  }

  #cat-app .cat-start-icon__wrap-employee {
    bottom: 9%;
    left: 12.5%;
  }

  #cat-app .cat-start-icon__wrap-movie {
    top: unset;
    bottom: 9%;
    left: 48%;
  }

  #cat-app .cat-start-icon__wrap-music {
    top: 14.5%;
    left: 2.5%;
  }

  #cat-app .cat-start-icon__wrap {
    width: clamp(2.5em, 10.667vw - 0.5em, 3.5em);
    height: clamp(2.5em, 10.667vw - 0.5em, 3.5em);
  }

  #cat-app #cat-start-btn {
    top: 110%;
  }
}

@media (max-width: 500px) {
  #cat-app .cat-result-section__title br {
    display: inline;
  }

  #cat-app .cat-result__note br {
    display: inline;
  }
}
@media (max-width: 465px) {
  #cat-app .cat-app-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  #cat-app .cat-start-title {
    top: 53%;
    left: 50%;
    max-width: 90%;
  }

  #cat-app .cat-start-scene {
    width: 100%;
  }

  #cat-app .cat-questions-wrap {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  #cat-app .cat-start-title p {
    text-wrap: wrap;
  }

  #cat-app #cat-start-btn {
    width: 200px;
    height: 45px;
    font-size: 1.1em;
  }

  #cat-app .cat-controls {
    flex-direction: column-reverse;
  }

  #cat-app .cat-result-entry__arrow {
  left: 93%;
}
}
