@charset "UTF-8";

/* ===========================================================
   気持ちを整理する3つの質問（/career/restaurant-quit-guide/）
   career-guide.css と併用する。すべて qc- 接頭辞で定義する。

   既定（JavaScript無効）: 設問と選択肢が並んだ読み物として成立させる。
   qc-ready が付いたときだけ、1問ずつ切り替えるUIになる。
   =========================================================== */

/* 記事本文から独立した「道具」として見えるよう、帯で囲ってカードを浮かせる */
.qc {
  position: relative;
  overflow: hidden;
  /* ファーストビューのCTAと目次から #quit-check へ飛ぶため、固定ヘッダー分ずらす */
  scroll-margin-top: 80px;
  padding: 56px 0 60px;
  background: linear-gradient(180deg, #fff3e6 0%, #fff8f2 45%, #ffffff 100%);
}
.qc::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.18) 0%, rgba(255, 106, 0, 0) 70%);
  pointer-events: none;
}
.qc::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 11, 78, 0.09) 0%, rgba(5, 11, 78, 0) 70%);
  pointer-events: none;
}
.qc .cg-inner {
  position: relative;
  z-index: 1;
}
.qc-card {
  position: relative;
  overflow: hidden;
  padding: 40px 38px 36px;
  border: none;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(5, 11, 78, 0.16);
}
/* カード上端のアクセント */
.qc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--lp-orange-2, #ff6a00) 0%, #ffab5e 60%, var(--lp-navy-2, #050b4e) 100%);
}
.qc-eyebrow {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lp-orange-2, #ff6a00);
  margin: 0 0 8px;
}
.qc-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--lp-navy-2, #050b4e);
  margin: 0 0 14px;
}
.qc-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--lp-orange-2, #ff6a00);
}
.qc-lead {
  font-size: 14px;
  line-height: 1.95;
  color: #444;
  margin: 0 0 16px;
}
/* 不安を減らすための前提条件。目立たせすぎない */
.qc-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.qc-note {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #4b5468;
  background: #fff;
  border: 1px solid #ffd9bd;
  border-radius: 999px;
  padding: 7px 12px 7px 26px;
}
.qc-note::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--lp-orange-2, #ff6a00);
}

/* ----- 開始 ----- */

/* ----- 進捗 ----- */
.qc-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}
.qc-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}
.qc-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 26px;
}
/* ステップ間をつなぐ線 */
.qc-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #e2e6ef;
}
.qc-step:last-child {
  padding-right: 0;
}
.qc-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #dfe4f0;
  background: #fff;
  color: #9aa3b8;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 900;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.qc-step-label {
  font-size: 12px;
  font-weight: 700;
  color: #9aa3b8;
  transition: color 0.25s ease;
}
.qc-step.is-current .qc-step-num {
  background: var(--lp-orange-2, #ff6a00);
  border-color: var(--lp-orange-2, #ff6a00);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.35);
}
.qc-step.is-current .qc-step-label {
  color: var(--lp-navy-2, #050b4e);
}
.qc-step.is-done .qc-step-num {
  background: var(--lp-navy-2, #050b4e);
  border-color: var(--lp-navy-2, #050b4e);
  color: #fff;
}
.qc-step.is-done .qc-step-label {
  color: #5a6172;
}
.qc-progress-text {
  flex: 0 0 auto;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: var(--lp-navy-2, #050b4e);
}

/* ----- 設問 ----- */
.qc-stage {
  /* 回答のたびに高さが大きく変わって操作ボタンが飛ばないよう、下限を持たせる */
  min-height: 200px;
}
.qc-question {
  border: none;
  margin: 0;
  padding: 0;
}
.qc-question + .qc-question {
  margin-top: 28px;
}
.qc-question-text {
  display: block;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--lp-navy-2, #050b4e);
  margin-bottom: 8px;
}
.qc-question-note {
  font-size: 13px;
  line-height: 1.8;
  color: #5a6172;
  margin: 0 0 16px;
}
.qc-options {
  display: grid;
  gap: 10px;
}
/* 選択肢は全体を押せるようにする。
   枠と丸印は自前の要素で描き、:checked の兄弟セレクタで状態を切り替える
   （:has に依存せず、どのブラウザでも選択状態が分かるようにする） */
.qc-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  cursor: pointer;
}
.qc-option-face {
  position: absolute;
  inset: 0;
  border: 2px solid #e4e8f2;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.qc-option:hover .qc-option-face {
  border-color: #ffc79b;
  box-shadow: 0 6px 18px rgba(5, 11, 78, 0.08);
  transform: translateY(-1px);
}
/* ネイティブのradioは丸印に重ねて残す（キーボード操作と読み上げのため） */
.qc-option-input {
  position: absolute;
  left: 20px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0;
  opacity: 0;
  cursor: pointer;
}
.qc-option-mark {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 2px solid #ccd3e4;
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease;
}
/* 選択時のチェック。線を2本組み合わせて描く */
.qc-option-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0.6);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.qc-option-label {
  position: relative;
  font-size: 15.5px;
  line-height: 1.7;
  color: #333;
  transition: color 0.18s ease;
}
.qc-option-input:checked ~ .qc-option-face {
  border-color: var(--lp-orange-2, #ff6a00);
  background: #fff7f1;
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.2);
}
.qc-option-input:checked ~ .qc-option-mark {
  border-color: var(--lp-orange-2, #ff6a00);
  background: var(--lp-orange-2, #ff6a00);
}
.qc-option-input:checked ~ .qc-option-mark::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.qc-option-input:checked ~ .qc-option-label {
  font-weight: 700;
  color: var(--lp-navy-2, #050b4e);
}
/* キーボード操作時のフォーカス表示 */
.qc-option-input:focus-visible ~ .qc-option-face {
  outline: 3px solid #1f5fd0;
  outline-offset: 3px;
}

/* ----- 操作 ----- */
.qc-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.qc-back,
.qc-next {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  cursor: pointer;
  border-radius: 999px;
}
.qc-back {
  padding: 12px 18px;
  border: 1.5px solid #ccd3e4;
  background: #fff;
  color: #4b5468;
  font-size: 14px;
}
.qc-back:hover:not(:disabled) {
  background: #f2f5fb;
}
.qc-back:disabled {
  opacity: 0.45;
  cursor: default;
}
.qc-next {
  flex: 1 1 auto;
  max-width: 340px;
  padding: 14px 24px;
  border: none;
  background: var(--lp-orange-2, #ff6a00);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.26);
}
.qc-next:hover {
  transform: translateY(-1px);
}
.qc-back:focus-visible,
.qc-next:focus-visible,
.qc-retry:focus-visible {
  outline: 3px solid #1f5fd0;
  outline-offset: 2px;
}

/* ----- 結果 ----- */
/* 「診断結果」であることを示す見出し */
.qc-result-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 22px;
}
.qc-result-title-label {
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--lp-orange-2, #ff6a00);
  padding: 9px 20px 9px 18px;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.28);
}
/* ラベルから本文へつなぐ小さな三角 */
.qc-result-title-label::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  margin-top: -6px;
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--lp-orange-2, #ff6a00);
}
.qc-result-title-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-navy-2, #050b4e);
}

/* ----- 結果の主役。ここだけ大きく見せて視線を集める ----- */
.qc-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
  padding: 30px 32px;
  border-radius: 16px;
  background: var(--lp-navy-2, #050b4e);
}
/* 右上の光。情報を持たないため読み上げ対象にしない */
.qc-hero-deco {
  position: absolute;
  top: -120px;
  right: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.42) 0%, rgba(255, 106, 0, 0) 68%);
  pointer-events: none;
}
.qc-hero-label {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffb779;
  margin: 0;
}
.qc-hero-value {
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
  margin: 10px 0 0;
  padding: 0;
  border: none;
}
.qc-hero-value::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 16px;
  border-radius: 2px;
  background: var(--lp-orange-2, #ff6a00);
}
.qc-hero-value:focus {
  outline: none;
}
/* 記事Aは見出しが長いため一段小さく */
/* 記事Aは見出し要素をそのまま主役に使うため、本文用の装飾を打ち消す */
.qc-hero .qc-hero-value {
  font-size: 34px;
  color: #fff;
  border-left: none;
  padding-left: 0;
  margin: 10px 0 0;
}
.qc-hero-compact .qc-hero-value {
  font-size: 26px;
  line-height: 1.5;
}
/* 記事Aは見出しが長いため、イラストの幅を抑えて文字幅を確保する */
.qc-hero-compact.qc-hero-with-figure .qc-hero-figure {
  width: 196px;
}
.qc-hero-compact.qc-hero-with-figure .qc-hero-value {
  font-size: 23px;
}
.qc-hero-sub {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.qc-hero-sub-label {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}
.qc-hero-sub-value {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}

/* ----- 職種イラストを添える形（記事B） -----
   イラストの背景がパネルと同じ紺のベタ塗りなので、そのまま並べて置ける */
.qc-hero-with-figure {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
}
.qc-hero-body {
  flex: 1 1 auto;
  min-width: 0;
}
.qc-hero-figure {
  flex: 0 0 auto;
  width: 240px;
  line-height: 0;
}
.qc-hero-figure img {
  width: 100%;
  height: auto;
  display: block;
}
/* display指定はhidden属性より強いので、明示的に打ち消す */
.qc-hero-figure img[hidden] {
  display: none;
}
/* イラストが視線を受け持つので、右上の光は重ねない */
.qc-hero-with-figure .qc-hero-deco {
  display: none;
}

.qc-result-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.55;
  color: var(--lp-navy-2, #050b4e);
  margin: 26px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--lp-orange-2, #ff6a00);
}
.qc-result-heading:focus {
  outline: none;
}
.qc-result-body {
  font-size: 15px;
  line-height: 1.95;
  color: #333;
  margin: 0 0 12px;
}
/* ----- 結果冒頭の振り返り -----
   箱を重ねると読みにくくなるため、背景は敷かず罫線だけで区切る */
.qc-recap {
  margin: 0 0 8px;
  padding: 0;
  border: none;
  background: none;
}
.qc-recap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 12px 0;
  border-bottom: 1px solid #e7ebf5;
}
.qc-recap-row:first-child {
  padding-top: 0;
}
.qc-recap-title {
  flex: 0 0 190px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7285;
  margin: 0;
  padding-top: 2px;
}
.qc-recap-text {
  flex: 1 1 240px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--lp-navy-2, #050b4e);
  margin: 0;
}
.qc-recap-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: #5a6172;
}

/* ----- ケアメッセージ -----
   警告色は使わず、落ち着いた色で「休んでよい」と伝える */
.qc-care {
  display: none;
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #eef4fb;
  border-left: 5px solid #6b8fc7;
  font-size: 14.5px;
  line-height: 1.9;
  color: #2f3b52;
}
.qc-ready .qc-care.is-active {
  display: block;
}
.qc-result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.qc-cta-primary,
.qc-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.qc-cta-primary {
  min-width: 280px;
  background: var(--lp-orange-2, #ff6a00);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.28);
}
.qc-cta-primary:hover {
  transform: translateY(-2px);
}
.qc-cta-secondary {
  min-width: 240px;
  border: 2px solid var(--lp-navy-2, #050b4e);
  color: var(--lp-navy-2, #050b4e);
}
.qc-cta-secondary:hover {
  background: rgba(5, 11, 78, 0.06);
}
.qc-result-note {
  font-size: 13px;
  line-height: 1.8;
  color: #5a6172;
  margin: 12px 0 0;
}
.qc-retry {
  margin-top: 22px;
  padding: 11px 18px;
  border: 1.5px solid #ccd3e4;
  border-radius: 999px;
  background: #fff;
  color: #4b5468;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.qc-retry:hover {
  background: #f2f5fb;
}

/* -----------------------------------------------------------
   表示制御
   既定は「設問が並んだ読み物」。JavaScriptが動いたときだけ切り替えUIにする
   ----------------------------------------------------------- */
.qc-progress,
.qc-nav,
.qc-results {
  display: none;
}
.qc-ready .qc-stage {
  display: none;
}
.qc-ready .qc-question {
  display: none;
  margin-top: 0;
}
.qc-ready.is-started .qc-progress {
  display: flex;
}
.qc-ready.is-started .qc-stage {
  display: block;
}
.qc-ready.is-started .qc-nav {
  display: flex;
}
.qc-ready .qc-question.is-active {
  display: block;
}
/* 未回答の設問では「次へ」を出さない */
.qc-ready.is-started:not(.is-answered) .qc-nav .qc-next {
  visibility: hidden;
}
.qc-ready.is-result .qc-progress,
.qc-ready.is-result .qc-stage,
.qc-ready.is-result .qc-nav {
  display: none;
}
/* 結果表示中は、設問を始める前の案内文を出さない */
.qc-ready.is-result .qc-eyebrow,
.qc-ready.is-result .qc-title,
.qc-ready.is-result .qc-lead,
.qc-ready.is-result .qc-notes {
  display: none;
}
.qc-ready.is-result .qc-results {
  display: block;
}
.qc-result {
  display: none;
}
.qc-ready .qc-result.is-active {
  display: block;
}

/* 切り替わりが分かる程度の控えめなフェード。動きを減らす設定は尊重する */
@keyframes qc-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.qc-ready .qc-question.is-active,
.qc-ready .qc-result.is-active {
  animation: qc-fade-in 0.28s ease both;
}
@media (prefers-reduced-motion: reduce) {
  .qc-ready .qc-question.is-active,
  .qc-ready .qc-result.is-active {
    animation: none;
  }
  .qc-option-face,
  .qc-option-mark,
  .qc-option-mark::after {
    transition: none;
  }
}

/* ----- スマートフォン ----- */
@media screen and (max-width: 767px) {
  .qc {
    padding: 8px 0 32px;
  }
  .qc {
    padding: 36px 0 40px;
  }
  .qc-card {
    padding: 28px 18px 24px;
    border-radius: 18px;
  }
  .qc-title {
    font-size: 20px;
  }
  .qc-step-label {
    display: none;
  }
  .qc-step {
    padding-right: 20px;
  }
  .qc-result-head {
    margin: 0 -18px 20px;
    padding: 20px 18px 18px;
  }
  .qc-result-heading {
    font-size: 18px;
  }
  .qc-question-text {
    font-size: 16px;
  }
  .qc-option {
    padding: 14px 14px;
  }
  .qc-option-label {
    font-size: 14px;
  }
  .qc-stage {
    min-height: 240px;
  }
  .qc-next {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .qc-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .qc-back {
    width: 100%;
  }
  .qc-cta-primary,
  .qc-cta-secondary {
    width: 100%;
    min-width: 0;
  }
  .qc-recap {
    padding: 18px 16px;
  }
  .qc-recap-text {
    font-size: 16px;
  }
  .qc-care {
    padding: 16px 16px;
    font-size: 13.5px;
  }
}

/* ----- AI面接の練習への導線 -----
   求人・診断より優先度を下げるため、ボタンではなく文中リンクにする */
.qc-practice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f5f7fb;
}
.qc-practice-label {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: #6b8fc7;
  border-radius: 999px;
  padding: 4px 10px;
}
.qc-practice-text {
  flex: 1 1 240px;
  font-size: 13.5px;
  line-height: 1.9;
  color: #2f3b52;
}
.qc-practice-text a {
  color: var(--lp-orange, #ff5a09);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qc-practice-text a:hover {
  text-decoration: none;
}
.qc-practice-text a:focus-visible {
  outline: 3px solid #1f5fd0;
  outline-offset: 2px;
}
/* ログインが必要なことを、押す前に分かるようにする */
.qc-practice-note {
  color: #5a6172;
  font-size: 12.5px;
}

@media screen and (max-width: 767px) {
  .qc-practice-text {
    flex-basis: 100%;
    font-size: 13px;
  }
}

@media screen and (max-width: 767px) {
  .qc-result-title {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }
  .qc-result-title-label {
    font-size: 16px;
    padding: 8px 16px;
  }
  .qc-result-title-text {
    font-size: 13px;
  }
  .qc-hero {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .qc-hero .qc-hero-value {
    font-size: 25px;
  }
  .qc-hero-compact .qc-hero-value {
    font-size: 20px;
  }
  .qc-hero-sub-value {
    font-size: 15px;
  }
  /* 横に並べると職種名が読みにくくなるため、イラストは上に置く */
  .qc-hero-with-figure {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 4px;
    padding: 18px 18px 22px;
  }
  .qc-hero-figure {
    width: 180px;
    margin: 0 auto;
  }
  .qc-hero-compact.qc-hero-with-figure .qc-hero-figure {
    width: 160px;
  }
  .qc-hero-compact.qc-hero-with-figure .qc-hero-value {
    font-size: 20px;
  }
  .qc-recap-title {
    flex: 0 0 100%;
    font-size: 12px;
  }
  .qc-recap-text {
    flex: 0 0 100%;
    font-size: 16px;
  }
  .qc-recap-row {
    padding: 11px 0;
  }
}

/* 求人への導線。記事本文の職種カード（.cg-route）をそのまま使う。
   結果の中は幅が狭いので、2列ではなく1列に積む */
.qc-result-routes {
  grid-template-columns: 1fr;
  margin: 24px 0 0;
}

/* 適職診断とAI面接練習のバナー */
.qc-result-banner {
  display: block;
  margin: 22px 0 0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qc-result-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(5, 11, 78, 0.18);
}
.qc-result-banner:focus-visible {
  outline: 3px solid #ffd9bd;
  outline-offset: 3px;
}
.qc-result-banner img {
  width: 100%;
  height: auto;
  display: block;
}
/* 押す前にログインが必要なことを伝える */
.qc-result-banner-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #6b7285;
}

/* 記事内の該当箇所へ戻すリンク */
.qc-result-link {
  margin: 16px 0 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.8;
}
.qc-result-link a {
  color: var(--lp-navy-2, #050b4e);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.qc-result-link a:hover {
  color: var(--lp-orange-2, #ff6a00);
}
