@charset "UTF-8";

/* 診断結果画面専用。PC・モバイルの既存CSSの後で共通に読み込む。 */
.result-page {
  --result-blue: #2f6eef;
  --result-ink: #1f2937;
  --result-muted: #4b5568;
  --result-booking-gap: 40px;
  min-height: 100vh;
  overflow: hidden;
  background: #dbe7fc;
  color: var(--result-ink);
  font-family: "Noto Sans JP", sans-serif;
}
.result-page *, .result-page *::before, .result-page *::after { box-sizing: border-box; }
.result-page [hidden] { display: none !important; }
.result-main { width: calc(100% - 160px); max-width: 1120px; margin: 0 auto; padding: 18px 0 0; }
.is-unlocked .result-main { padding-bottom: var(--result-booking-gap); }
.result-page .result-breadcrumb { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 20px; color: #4b5563; }
.result-breadcrumb li + li { border-left: 1px solid #8590a2; padding-left: 14px; }
.result-page .result-breadcrumb a { color: inherit; text-decoration: none; }
.result-page .result-hero { display: flex; align-items: center; gap: 32px; margin-top: 40px; min-height: 244px; padding: 32px 40px; background: #fff; border-radius: 24px; }
.result-illustration { display: flex; align-items: center; justify-content: center; flex: 0 0 150px; width: 150px; height: 170px; border-radius: 16px; background: #edf3fc; }
.result-illustration img { display: block; width: auto; max-width: 120px; height: 146px; object-fit: contain; }
.result-heading { flex: 1; min-width: 0; }
.result-badge { display: inline-block; padding: 5px 18px; border-radius: 999px; background: #dbe7fc; color: #1753c6; font-size: 14px; font-weight: 700; line-height: 20px; }
.result-heading h1 { margin: 12px 0; font-size: 32px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.5; }
.result-heading p { margin: 0; color: var(--result-muted); font-size: 14px; line-height: 24px; }
.result-total { display: flex; flex: 0 0 180px; width: 180px; height: 180px; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--result-blue); color: #fff; }
.result-total > span { font-size: 14px; font-weight: 700; line-height: 22px; }
.result-total p { display: flex; align-items: baseline; gap: 5px; margin: 0; font-family: "Manrope", sans-serif; line-height: 1; }
.result-total strong { font-size: 76px; font-weight: 800; }
.result-total p span { font-size: 24px; font-weight: 700; color: #dbe7fc; }
.result-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.result-page .result-overview, .result-page .result-feedback { padding: 0; }
.result-panel { min-width: 0; min-height: 460px; padding: 32px; background: #fff; border-radius: 24px; }
.result-panel h2 { margin: 0; font-size: 20px; font-weight: 800; line-height: 30px; }
.result-radar { display: block; width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.result-radar text { font-family: "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 700; fill: #4b5563; }
.result-page .result-scores ul { display: grid; gap: 22px; margin-top: 22px; }
.result-scores li p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 16px; line-height: 22px; color: #39445a; }
.result-scores li p span { color: #1753c6; font-family: "Manrope", sans-serif; font-weight: 700; white-space: nowrap; }
.result-score-track { height: 10px; overflow: hidden; border-radius: 999px; background: #e4e6eb; }
.result-score-track > div { height: 100%; border-radius: inherit; background: var(--result-blue); }
.result-feedback { margin-top: 40px; }
.is-locked .result-feedback { margin-top: 64px; }
.result-feedback > h2 { margin: 0; font-size: 34px; font-weight: 800; line-height: 48px; }
.result-feedback-gate { position: relative; margin-top: 24px; }
.result-page .category-details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 32px; }
.result-page .category-detail-card { min-width: 0; overflow: hidden; border-radius: 24px; background: #fff; }
.result-page .category-detail-card-header { margin: 0; padding: 16px 28px; background: var(--result-blue); color: #fff; font-size: 18px; font-weight: 700; line-height: 28px; }
.result-page .category-detail-card-body { display: grid; gap: 24px; padding: 28px; }
.result-page .detail-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font-size: 20px; font-weight: 800; line-height: 28px; }
.result-page .detail-icon { display: inline-block; flex: 0 0 30px; width: 30px; height: 30px; background: url("../img/recruitment-assessment/result/icon-batsu.svg") center / contain no-repeat; font-size: 0; }
.result-page .detail-icon.success { background-image: url("../img/recruitment-assessment/result/icon-maru.svg"); }
.result-page .detail-description { margin: 8px 0 0; color: #6b7280; font-size: 14px; line-height: 28px; overflow-wrap: anywhere; }
.is-locked .result-feedback-gate { min-height: 884px; padding-top: 180px; }
.is-locked .category-details-grid { position: absolute; inset: 0 0 auto; max-height: 300px; overflow: hidden; pointer-events: none; user-select: none; }
.is-locked .category-detail-card-body { filter: blur(0.6px); }
.is-locked .result-feedback-gate::before { content: ""; position: absolute; z-index: 1; top: -36px; bottom: -96px; left: 50%; width: 100vw; transform: translateX(-50%); background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.65) 150px, #fff 270px); pointer-events: none; }
.result-unlock-card { position: relative; z-index: 2; width: 620px; max-width: 100%; margin: 0 auto; padding: 36px; border: 3px solid #3272ff; border-radius: 24px; background: #fff; box-shadow: 0 24px 36px rgba(42, 80, 160, 0.18); text-align: center; }
.result-lock-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: #dbe7fc; color: #1854cf; }
.result-lock-icon svg { display: block; width: 24px; height: 24px; }
.result-unlock-card h2 { margin: 8px 0 0; font-size: 28px; font-weight: 800; line-height: 40px; }
.result-unlock-description { margin: 8px 0 0; font-size: 14px; line-height: 22px; color: var(--result-muted); }
.result-unlock-form { margin-top: 20px; }
.result-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; text-align: left; }
.result-form-field label { display: block; font-size: 14px; font-weight: 700; line-height: 22px; }
.result-form-field label span { color: #ef4444; }
.result-form-field input { display: block; width: 100%; height: 48px; margin-top: 6px; padding: 0 14px; border: 1px solid #c2ccdf; border-radius: 10px; background: #f8fafc; color: var(--result-ink); font-size: 14px; line-height: normal; }
.result-form-field input::placeholder { color: #98a2b3; opacity: 1; }
.result-page input:focus-visible, .result-page button:focus-visible, .result-page a:focus-visible { outline: 3px solid #9abafa; outline-offset: 3px; }
.result-form-policy { margin-top: 16px; color: #39445a; }
.result-form-policy label { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 14px; line-height: 22px; }
.result-form-policy input { appearance: auto; -webkit-appearance: auto; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--result-blue); }
.result-page .result-form-policy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.result-unlock-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; margin-top: 14px; padding: 14px 20px; border-radius: 999px; background: var(--result-blue); color: #fff; box-shadow: 0 6px 12px rgba(47, 110, 239, 0.25); font-size: 18px; font-weight: 700; line-height: 28px; }
.result-unlock-button:hover { background: #245ed2; }
.result-form-field.error input { border-color: #e5484d; }
.result-field-error { display: block; margin-top: 4px; color: #c63036; font-size: 12px; line-height: 20px; }
.result-page .result-booking { display: flex; align-items: center; gap: 24px; margin-top: var(--result-booking-gap); padding: 40px 48px; border-radius: 32px; background: var(--result-blue); color: #fff; box-shadow: 0 14px 24px rgba(42, 80, 160, 0.2); }
.result-booking-copy { flex: 1; min-width: 0; }
.result-booking-badge { display: inline-block; padding: 3px 20px; border-radius: 999px; background: #fff; color: #255eca; font-size: 14px; font-weight: 700; line-height: 22px; }
.result-booking-copy h2 { margin: 12px 0; font-size: 28px; font-weight: 700; line-height: 44px; }
.result-booking-copy p { margin: 0; font-size: 14px; line-height: 28px; color: #dbe7fc; }
.result-page .result-booking-copy ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 22px; }
.result-booking-action { display: flex; flex: 0 0 340px; flex-direction: column; align-items: center; gap: 16px; }
.result-booking-action > img { display: block; width: 132px; height: auto; }
.result-page .result-booking-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 64px; padding: 14px 24px; border: 2px solid #2857a2; border-radius: 14px; background: #fff13b; color: #254576; font-size: 18px; font-weight: 800; line-height: 28px; text-decoration: none; }
.result-booking-button[href]:hover { background: #ffe923; }
.result-page .result-footer { position: relative; z-index: 2; font-family: YakuHanJP, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; }
.result-page .result-footer *, .result-page .result-footer *::before, .result-page .result-footer *::after { box-sizing: content-box; }
.result-page .result-footer::before { content: ""; position: absolute; z-index: -1; top: calc(-1 * var(--mvalue-80)); bottom: 0; left: 0; right: 0; background: var(--col-blue1); }

@media (max-width: 1199px) {
  .result-main { width: calc(100% - 64px); }
  .result-page .result-hero { gap: 24px; padding: 28px; }
  .result-illustration { flex-basis: 120px; width: 120px; }
  .result-heading h1 { font-size: 28px; }
  .result-total { flex-basis: 150px; width: 150px; height: 150px; }
  .result-total strong { font-size: 64px; }
  .result-overview { gap: 24px; }
  .result-panel { min-height: 400px; padding: 28px; }
  .result-page .category-details-grid { gap: 24px; }
  .result-page .category-detail-card-header { padding-left: 24px; padding-right: 24px; }
  .result-page .category-detail-card-body { padding: 24px; }
  .result-page .result-booking { padding: 32px; }
  .result-booking-copy h2 { font-size: 24px; line-height: 38px; }
  .result-booking-action { flex-basis: 300px; }
  .result-page .result-booking-button { padding-left: 18px; padding-right: 18px; font-size: 16px; }
}
@media (max-width: 980px) {
  .result-page .result-hero { flex-wrap: wrap; }
  .result-heading { flex-basis: calc(100% - 180px); }
  .result-total { margin: 0 auto; }
  .result-overview { grid-template-columns: minmax(0, 1fr); }
  .result-panel { min-height: auto; padding: 28px; }
  .result-radar { max-width: 480px; margin-left: auto; margin-right: auto; }
  .result-page .result-scores ul { margin-bottom: 12px; }
  .result-page .category-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-page .result-booking { align-items: flex-start; flex-direction: column; }
  .result-booking-action { flex-basis: auto; width: 100%; flex-direction: row; }
  .result-booking-action > img { width: 100px; }
  .result-page .result-booking-button { max-width: 340px; margin-left: auto; }
}
@media (max-width: 600px) {
  .result-page { --result-booking-gap: 28px; }
  .result-main { width: calc(100% - 32px); padding: 16px 0 0; }
  .result-page .result-breadcrumb { font-size: 12px; }
  .result-page .result-hero { gap: 20px; min-height: 0; margin-top: 24px; padding: 24px 20px; border-radius: 20px; }
  .result-illustration { flex-basis: 88px; width: 88px; height: 120px; border-radius: 12px; }
  .result-illustration img { max-width: 76px; height: 106px; }
  .result-heading { flex-basis: calc(100% - 108px); }
  .result-badge { padding: 4px 12px; font-size: 12px; line-height: 18px; }
  .result-heading h1 { margin: 8px 0; font-size: 22px; line-height: 1.5; }
  .result-heading p { font-size: 12px; line-height: 20px; }
  .result-total { flex-basis: 144px; width: 144px; height: 144px; }
  .result-total strong { font-size: 62px; }
  .result-total p span { font-size: 20px; }
  .result-overview { gap: 20px; margin-top: 24px; }
  .result-panel { padding: 24px 20px; border-radius: 20px; }
  .result-panel h2 { font-size: 18px; line-height: 28px; }
  .result-radar { margin-top: 8px; }
  .result-scores li p { font-size: 14px; }
  .result-feedback, .is-locked .result-feedback { margin-top: 32px; }
  .result-feedback > h2 { font-size: 26px; line-height: 40px; }
  .result-feedback-gate { margin-top: 20px; }
  .result-page .category-details-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .result-page .category-detail-card { border-radius: 20px; }
  .result-page .category-detail-card-header { padding: 14px 24px; font-size: 18px; }
  .result-page .detail-label { font-size: 18px; }
  .is-locked .result-feedback-gate { min-height: 920px; padding-top: 180px; }
  .is-locked .result-feedback-gate::before { bottom: -48px; }
  .result-unlock-card { padding: 28px 20px; border-radius: 20px; }
  .result-unlock-card h2 { margin-top: 12px; font-size: 22px; line-height: 32px; }
  .result-unlock-description { font-size: 13px; line-height: 22px; }
  .result-form-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .result-form-field input { font-size: 16px; }
  .result-form-policy label { gap: 6px; font-size: 12px; line-height: 20px; }
  .result-unlock-button { padding: 12px; font-size: 16px; line-height: 24px; }
  .result-page .result-booking { gap: 20px; padding: 28px 24px; border-radius: 20px; }
  .result-booking-badge { padding: 3px 12px; font-size: 12px; }
  .result-booking-copy h2 { font-size: 22px; line-height: 34px; }
  .result-booking-copy p { font-size: 13px; line-height: 24px; }
  .result-page .result-booking-copy ul { gap: 6px 12px; font-size: 12px; }
  .result-booking-action { flex-direction: column; gap: 12px; }
  .result-booking-action > img { width: 112px; }
  .result-page .result-booking-button { max-width: none; margin: 0; padding: 12px; font-size: 15px; }
}
