/* =========================================================
   医療職のための転職サービス診断 スタイルシート
   ---------------------------------------------------------
   ・色やサイズは :root の変数にまとめています。
     配色を変えたいときは、まず :root を編集してください。
   ・配色はサムネイル画像(クリーム × ミント × ピンク × ブラウン)をもとにしています。
   ========================================================= */

/* ---------- 1. 変数(配色・サイズ) ---------- */
:root {
  /* 背景・面 */
  --color-bg: #FEF9F0;          /* クリーム(ページ背景) */
  --color-surface: #FFFFFF;     /* カードの背景 */
  --color-border: #F0E5D8;      /* カードの枠線 */

  /* 文字 */
  --color-text: #3E2A20;        /* ブラウン(本文)。白背景とのコントラスト比 約13.5 */
  --color-text-sub: #5C4438;    /* ブラウン淡(補足文)。白背景とのコントラスト比 約9.0 */
  --color-logo: #1A1A1A;        /* ロゴ「HIRAQU」(黒) */

  /* ミント(メインカラー) */
  --color-mint: #8CC5A8;
  --color-mint-light: #E3F0E4;
  --color-mint-pale: #F2F8F3;
  --color-mint-deep: #33765C;   /* 白文字を載せても読みやすい濃いミント */

  /* ピンク(アクセント・CTA) */
  --color-pink: #E89AA0;
  --color-pink-light: #FBE8E5;
  --color-cta: #B44E5B;         /* CTAボタン(白文字でも読みやすい濃さ) */
  --color-cta-hover: #9E4350;

  /* 角丸・影 */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(90, 61, 48, 0.07);
  --shadow-btn: 0 6px 16px rgba(196, 87, 100, 0.25);

  /* フォント */
  --font-base: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;

  /* アニメーション速度 */
  --duration-fast: 0.2s;
  --duration-base: 0.35s;
}

/* ---------- 2. リセット・基本 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 500;             /* 丸ゴシックの細さでぼやけて見えないよう、標準より少し太く */
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* 日本語を文節単位で改行し、単語の途中で折り返さないようにする(対応ブラウザのみ) */
  word-break: auto-phrase;
  /* ただし文節が長すぎて画面幅に収まらないときは、途中で折り返す */
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

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

button {
  font-family: inherit;
  color: inherit;
}

a {
  color: inherit;
}

/* キーボード操作時のフォーカス表示 */
:focus-visible {
  outline: 3px solid var(--color-mint-deep);
  outline-offset: 3px;
}

/* PCのときだけ改行させる */
.pc-only {
  display: none;
}

/* ---------- 3. 背景装飾 ---------- */
.bg-deco {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-deco__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
}

.bg-deco__blob--mint {
  width: 320px;
  height: 320px;
  top: -140px;
  left: -120px;
  background: var(--color-mint-light);
}

.bg-deco__blob--pink {
  width: 280px;
  height: 280px;
  right: -110px;
  bottom: -120px;
  background: var(--color-pink-light);
}

/* ---------- 4. レイアウト ---------- */
.app {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 32px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
}

/* ---------- 5. 画面切り替え ---------- */
.screen {
  display: none;
}

.screen.is-active {
  display: block;
  animation: screen-in var(--duration-base) ease-out both;
}

@keyframes screen-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 6. ボタン共通 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-mint-deep);
  color: #fff;
  box-shadow: 0 6px 16px rgba(59, 132, 103, 0.25);
}

.btn--primary:hover {
  background: #2A6650;
}

.btn--large {
  width: 100%;
  min-height: 60px;
  font-size: 18px;
}

.btn--ghost {
  background: var(--color-surface);
  color: var(--color-mint-deep);
  border: 2px solid var(--color-mint);
}

.btn--ghost:hover {
  background: var(--color-mint-pale);
}

.btn--back {
  margin-top: 20px;
  padding: 10px 12px;
  min-height: 44px;
  background: transparent;
  color: var(--color-text-sub);
  font-weight: 500;
  font-size: 14px;
}

.btn--back:hover {
  color: var(--color-text);
}

/* ---------- 7. スタート画面 ---------- */
.start {
  text-align: center;
  padding: 36px 20px 28px;
}

.start__badge {
  display: inline-block;
  padding: 4px 18px;
  margin-bottom: 16px;
  background: var(--color-mint-light);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-logo);
}

.start__title {
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.start__title-line {
  display: block;
}

/* 2行目にピンクの下線(サムネイルの手書き線をイメージ) */
.start__title-line:last-child {
  display: inline;
  background: linear-gradient(transparent 70%, var(--color-pink-light) 70%);
  padding: 0 4px;
}

/* ロゴ(HIRAQU) */
.start__logo {
  margin-bottom: 4px;
  font-family: "Poppins", var(--font-base);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--color-logo);
}

/* サブタイトル(医師・薬剤師・看護師の適職診断) */
.start__logo + .start__title-line {
  margin-top: 6px;
  font-size: clamp(19px, 6.4vw, 30px);
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-wrap: balance;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 「医師・薬剤師・看護師の」「適職診断」を塊にして、折り返しを文節の切れ目に限定 */
.start__title-part {
  display: inline-block;
}

.start__catch {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
  text-wrap: balance;
}

/* 文節ごとに塊にして、折り返しが文節の切れ目になるようにする */
.start__catch-part {
  display: inline-block;
}

.start__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 28px;
}

.start__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-bg);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}

.start__meta-icon {
  color: var(--color-mint-deep);
}

/* ---------- 8. 質問画面 ---------- */
.progress {
  margin-bottom: 24px;
}

.progress__label {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text-sub);
}

.progress__current {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-mint-deep);
}

.progress__bar {
  height: 8px;
  background: var(--color-mint-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 0;
  background: var(--color-mint);
  border-radius: var(--radius-pill);
  transition: width var(--duration-base) ease-out;
}

.question__number {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-cta);
  letter-spacing: 0.08em;
}

.question__text {
  margin: 4px 0 20px;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

/* 質問の切り替えアニメーション */
.question__body.is-leaving {
  animation: question-out var(--duration-fast) ease-in forwards;
}
.question__body.is-entering {
  animation: question-in var(--duration-base) ease-out both;
}
.question__body.is-entering-back {
  animation: question-in-back var(--duration-base) ease-out both;
}

@keyframes question-out {
  to { opacity: 0; transform: translateX(-16px); }
}
@keyframes question-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes question-in-back {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 選択肢 */
.options {
  display: grid;
  gap: 12px;
}

.option {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;           /* タッチエリア 44px 以上を確保 */
  padding: 14px 48px 14px 18px;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--duration-fast), background-color var(--duration-fast), transform var(--duration-fast);
  -webkit-tap-highlight-color: transparent;
}

/* 右端の丸(選択されるとチェックになる) */
.option::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transition: background-color var(--duration-fast), border-color var(--duration-fast);
}

@media (hover: hover) {
  .option:hover {
    border-color: var(--color-mint);
    background: var(--color-mint-pale);
  }
}

/* 選択中(クリック直後・戻ったときの復元) */
.option.is-selected {
  border-color: var(--color-mint-deep);
  background: var(--color-mint-light);
  transform: scale(0.99);
}

.option.is-selected::after {
  border-color: var(--color-mint-deep);
  background: var(--color-mint-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- 9. 結果画面 ---------- */
.result {
  display: grid;
  grid-template-columns: minmax(0, 1fr);  /* 中身が長くても画面幅をはみ出さない */
  gap: 16px;
}

.result__hero {
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(180deg, var(--color-mint-pale) 0%, var(--color-surface) 100%);
}

.result__lead {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.result__job {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 14px;
  background: var(--color-pink-light);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
}

.result__type-name {
  margin-top: 12px;
  font-size: clamp(19px, 6vw, 28px);
  /* 折り返すときは「〇〇」と「タイプ」の間(script.js で <wbr> を入れている)や「・」で区切る。
     それでも収まらないときだけ途中で折り返す */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-mint-deep);
}

.result__catch {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
}

.result__heading {
  position: relative;
  margin-bottom: 14px;
  padding-left: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.result__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 5px;
  border-radius: 3px;
  background: var(--color-mint);
}

.result__features p + p {
  margin-top: 6px;
}

.result__text {
  font-size: 15px;
}

/* 向いている人(チェックリスト) */
.check-list li,
.merit-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
}

.check-list li + li,
.merit-list li + li {
  margin-top: 10px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-mint-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%2333765C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* メリット(ピンクの丸) */
.merit-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-pink);
}

/* 迷っている人への一言 */
.result__message-card {
  background: var(--color-pink-light);
  border-color: transparent;
}

.result__message-card .result__heading::before {
  background: var(--color-pink);
}

.result__message {
  font-size: 15px;
}

/* 次にやること(ステップ) */
.step-list {
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding-left: 44px;
  min-height: 32px;
  font-size: 15px;
  counter-increment: step;
}

.step-list li + li {
  margin-top: 14px;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-mint-deep);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}

/* ---------- 10. CTA ---------- */
.cta {
  padding: 24px 20px;
  background: var(--color-surface);
  border: 2px solid var(--color-pink-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta__lead {
  font-size: 14px;
  color: var(--color-text-sub);
}

.cta__service {
  margin: 4px 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.btn--cta {
  width: 100%;
  min-height: 60px;
  padding: 14px 24px;
  background: var(--color-cta);
  color: #fff;
  font-size: 17px;
  box-shadow: var(--shadow-btn);
}

.btn--cta:hover {
  background: var(--color-cta-hover);
  box-shadow: 0 8px 20px rgba(196, 87, 100, 0.3);
}

/* 文字はボタン中央に揃え、矢印は右端に固定(折り返し時も左右バランスを保つ) */
.btn--cta {
  position: relative;
  padding-left: 44px;
  padding-right: 44px;
  text-align: center;
  line-height: 1.5;
  word-break: keep-all;
}

.btn--cta .btn__label-part {
  display: inline-block;
}

/* 改行位置を指定したサービス(ctaLines)は、行ごとに1行で表示する */
.btn--cta .btn__label-line {
  display: block;
}

/* 幅の狭いスマホでは余白と文字を少し詰めて、「サービス名に」を1行に収める */
@media (max-width: 340px) {
  .btn--cta {
    padding-left: 28px;
    padding-right: 34px;
    font-size: 15px;
  }

  .btn--cta .btn__arrow {
    right: 14px;
  }
}

.btn--cta .btn__arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  margin-top: -0.75em;
  line-height: 1.5;
  transition: transform var(--duration-fast);
}

.btn--cta:hover .btn__arrow {
  transform: translateX(3px);
}

.cta__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-sub);
}

/* サービス紹介カード(結果画面) */
.service-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.service-card {
  padding: 22px 18px;
  background: var(--color-surface);
  border: 2px solid var(--color-pink-light);
  border-radius: var(--radius-lg);
}

.service-card__name {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: #1F5A44;
  background: #F2F8F3;
  padding: 8px 12px;
  border-radius: 12px;
  line-height: 1.4;
  font-feature-settings: "palt";
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.service-card__name-line {
  display: block;
}

@media (max-width: 380px) {
  .service-card__name {
    font-size: 19px;
    padding: 8px 10px;
  }
}

.service-card__operator {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-sub);
}

.service-card__summary {
  margin-top: 12px;
  font-size: 15px;
}

.service-card__points {
  margin: 14px 0 18px;
}

.service-card .cta__note {
  text-align: center;
}

.service-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--color-text-sub);
}

/* 5段階で答える質問(選択肢の高さを少しだけ詰める) */
.options--likert {
  gap: 10px;
}

.options--likert .option {
  min-height: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 志向のバランス(横棒グラフ) */
.traits {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.trait {
  display: grid;
  grid-template-columns: 8.5em 1fr 3em;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.trait__label {
  color: var(--color-text-sub);
  white-space: nowrap;
}

.trait__bar {
  height: 12px;
  background: var(--color-mint-pale);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.trait__fill {
  display: block;
  height: 100%;
  background: var(--color-mint);
  border-radius: var(--radius-pill);
}

.trait__value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-sub);
}

.trait.is-top .trait__label,
.trait.is-top .trait__value {
  color: var(--color-mint-deep);
  font-weight: 700;
}

.trait.is-top .trait__fill {
  background: var(--color-mint-deep);
}

.traits__note {
  margin-top: 14px;
}

/* 気をつけたいこと */
.watch {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--color-pink-light);
  border-radius: var(--radius-md);
}

.watch__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-cta);
}

.watch__text {
  margin-top: 4px;
  font-size: 15px;
}

/* 資格を活かせる仕事 */
.job-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.job-card {
  padding: 16px 18px;
  background: var(--color-mint-pale);
  border-left: 4px solid var(--color-mint);
  border-radius: var(--radius-md);
}

.job-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-mint-deep);
}

.job-card__desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
}

.job-sub__heading {
  margin-top: 24px;
  font-size: 15px;
  font-weight: 700;
}

.job-list--sub .job-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-left: 4px solid var(--color-pink);
}

.job-list--sub .job-card__title {
  color: var(--color-text);
}

/* X(Twitter)シェアボタン */
.btn--x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  background: #000;
  color: #fff;
}

.btn--x:hover {
  background: #333;
}

.btn--x__logo {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.result__share {
  text-align: center;
}

.result__share-lead {
  font-size: 14px;
  color: var(--color-text-sub);
}

.result__share .btn--x {
  margin-top: 10px;
  min-width: 240px;
}

/* ---------- 11. その他 ---------- */
.result__retry {
  text-align: center;
  margin-top: 8px;
}

.result__retry .btn {
  min-width: 240px;
}

.pr-notice,
.disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.start .pr-notice {
  margin-top: 16px;
}

.footer {
  padding: 8px 16px 32px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-sub);
}

.footer__links {
  margin: 0 0 6px;
}

.footer__links a {
  color: var(--color-text-sub);
}

/* プライバシーポリシーのページ */
.policy h1 {
  font-size: 22px;
  margin: 0 0 16px;
}

.policy h2 {
  font-size: 16px;
  margin: 24px 0 8px;
}

.policy p,
.policy li {
  font-size: 14px;
  line-height: 1.9;
}

.policy__back {
  margin-top: 24px;
  font-size: 14px;
}

/* ---------- 11-2. S-17 トップのキャラ一覧(見るだけ) ---------- */
/* ・リンク/ボタンにしない：カーソル・hover・影の変化なし。帯は角を落とさない四角い「名札」にして、丸いCTAボタンと形を変える
   ・帯・枠の色はキャラ別(data/site/2026-11-10_characters.md「帯・枠の色」)。タイプ名は #5C4438 */
.cast {
  margin-top: 28px;
  padding: 0 4px;
  text-align: center;
}

.cast__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.cast__lead {
  margin: 6px 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.cast__lead-s { display: block; }

@media (max-width: 380px) {
  .cast__lead { font-size: 12px; }
}

.cast__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cast__item {
  --band: #ccc;
  --band-text: #3E2A20;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 3px solid var(--band);
  border-radius: 14px;
  overflow: hidden;
  cursor: default;
}

.cast__item--care     { --band: #E89AA0; --band-text: #3E2A20; }
.cast__item--research { --band: #665785; --band-text: #FFFFFF; }
.cast__item--system   { --band: #2673C8; --band-text: #FFFFFF; }
.cast__item--business { --band: #E8853F; --band-text: #3E2A20; }
.cast__item--teach    { --band: #F2C14E; --band-text: #3E2A20; }
.cast__item--balance  { --band: #8DC26F; --band-text: #3E2A20; } /* 案C */

.cast__img {
  display: block;
  width: 100%;
  max-width: 120px;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 6px auto 4px;
  padding: 0 6px;
  box-sizing: border-box;
}

.cast__name {
  margin: 0;
  padding: 3px 2px;
  background: var(--band);
  color: var(--band-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.cast__type {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 3em;
  margin: 0;
  padding: 4px 4px 6px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #5C4438;
}

/* 文節ごとに塊にして、単語の途中で折り返さない */
.cast__type span {
  display: inline-block;
}

.cast__type {
  flex-wrap: wrap;
  align-content: center;
}

.cast__note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--color-text-sub);
}

@media (max-width: 340px) {
  .cast__name { font-size: 10px; letter-spacing: -0.04em; }
}

@media (min-width: 600px) {
  .cast { margin-top: 36px; }
  .cast__title { font-size: 22px; }
  .cast__lead { font-size: 14px; }
  .cast__list { gap: 14px; }
  .cast__name { font-size: 14px; padding: 4px; letter-spacing: 0; }
  .cast__type { font-size: 12px; }
}

/* ---------- 12. レスポンシブ(タブレット・PC) ---------- */
@media (min-width: 600px) {
  .app {
    padding: 48px 24px 48px;
  }

  .card {
    padding: 36px 40px;
  }

  .start {
    padding: 48px 48px 36px;
  }

  .start__title {
    font-size: 38px;
  }

  .start__catch {
    font-size: 20px;
  }

  .pc-only {
    display: inline;
  }

  .btn--large {
    width: auto;
    min-width: 320px;
  }

  .question__text {
    font-size: 22px;
  }

  .result__hero {
    padding: 44px 40px;
  }

  .result__type-name {
    font-size: 34px;
  }

  .cta {
    padding: 32px 40px;
  }

  .btn--cta {
    width: auto;
    min-width: 360px;
  }

  .bg-deco__blob--mint {
    width: 520px;
    height: 520px;
    top: -220px;
    left: -200px;
  }

  .bg-deco__blob--pink {
    width: 460px;
    height: 460px;
    right: -180px;
    bottom: -200px;
  }
}

/* ---------- 13. 動きを減らす設定のユーザー向け ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- S-12 結果画面のキャラ ---------- */
.result__char { margin: 8px 0 4px; text-align: center; }
.result__char-img { display: block; width: 160px; height: 160px; margin: 0 auto; }
.result__char-name { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--color-text); }
.result__char-line { margin: 2px 0 0; font-size: 13px; color: var(--color-text-sub); }
