/* 採用案：3行の診断タイトル① → フロー → 開始。 */
.flow-max { font-size: .75rem; font-weight: 700; margin-right: .15em; }
#screen-intro .flow-num { align-items: center; white-space: nowrap; }
.intro-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin: 0 0 .65rem; font-size: .7rem; }
.intro-preview > span { color: var(--muted); margin-right: .2rem; }
.intro-preview a { color: var(--text-2); padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.intro-preview a[aria-current="page"] { color: var(--accent-text); border-color: #ba6a92; background: #301c30; }
#screen-intro .intro { display: flex; flex-direction: column; align-items: stretch; overflow: hidden; }
#screen-intro .eyebrow { align-self: center; order: 0; }

/* 色・書体・構成は共通。サイズの階層だけを比較する。393px幅での概算値：
   ① 声優名32 / 診断名20 / タグ11px
   ② 声優名18 / 診断名26 / タグ11px
   ③ 声優名24 / 診断名23 / タグ14px */
[data-title-type="1"] { --title-voice: clamp(1.75rem, 8.15vw, 3rem); --title-name: clamp(1.125rem, 5.1vw, 1.75rem); --title-tag: .6875rem; }
[data-title-type="2"] { --title-voice: clamp(1rem, 4.6vw, 1.4rem); --title-name: clamp(1.25rem, 6.6vw, 2rem); --title-tag: .6875rem; }
[data-title-type="3"] { --title-voice: clamp(1.25rem, 6.1vw, 2rem); --title-name: clamp(1.125rem, 5.85vw, 1.75rem); --title-tag: .875rem; }
.intro-heading { order: 1; display: grid; gap: .35rem; margin: .25rem 0 1.25rem; text-align: center; font-family: var(--font); font-weight: 800; }
.intro-heading > span { display: block; white-space: nowrap; }
.intro-heading-voice { font-size: var(--title-voice); line-height: 1.35; letter-spacing: .04em; color: #ddc9dc; }
.intro-heading-title { font-size: var(--title-name); line-height: 1.5; letter-spacing: .015em; color: var(--text); }
.intro-heading-tag { font-size: var(--title-tag); line-height: 1.6; letter-spacing: .06em; color: var(--accent-text); font-weight: 700; margin-top: .15rem; }

#screen-intro .flow { order: 3; width: 100%; margin-top: 1rem; margin-bottom: .65rem; padding: .6rem; }
#screen-intro .flow-step { padding: .3rem .2rem; background: transparent; gap: .2rem; }
#screen-intro .flow-num b { font-size: 1.125rem; }
#screen-intro .flow-num { min-height: 1.4rem; }
#screen-intro .flow-icon svg { width: 1.4rem; height: 1.4rem; }
#screen-intro .intro-list { display: none; }
.intro-short { order: 4; color: var(--text-2); text-align: center; font-size: .8rem; line-height: 1.8; margin: .35rem 0 1rem; }
.intro-actions { order: 5; display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.intro-actions #btn-start { min-width: 16rem; }
#intro-note { order: 6; text-align: center; margin-top: .6rem; }

@media (max-width: 640px) {
  #screen-intro { padding-top: .8rem; }
  #screen-intro .intro { padding: 1rem; margin-bottom: .7rem; }
  #screen-intro .eyebrow { font-size: .65rem; margin-bottom: .65rem; }
  .intro-heading { gap: .3rem; margin: .15rem 0 1rem; }
  #screen-intro .flow { padding: .35rem; margin-top: .75rem; margin-bottom: .35rem; gap: .2rem; }
  #screen-intro .flow-step { padding: .2rem .1rem; border-radius: .65rem; gap: .25rem; min-width: 0; }
  #screen-intro .flow-num { font-size: .8rem; min-height: 1.5rem; }
  #screen-intro .flow-max { font-size: .7rem; }
  #screen-intro .flow-label { font-size: .68rem; white-space: nowrap; }
  #screen-intro .flow-icon svg { width: 1.5rem; height: 1.5rem; }
  #screen-intro .flow-arrow { flex-basis: .45rem; height: .45rem; border-width: 2px; margin-inline: 0; }
  .intro-short { font-size: .75rem; line-height: 1.7; margin: .35rem 0 .75rem; }
  #screen-intro .intro-actions #btn-start { width: 100%; min-width: 0; min-height: 3.1rem; font-size: 1rem; padding: .7rem 1rem; }
  #screen-intro #intro-note { font-size: .7rem; line-height: 1.65; }
}

