/* 新卒クエスト v1 — 本編以外の画面を新版のトンマナに（代表 11-02「全体のトンマナ合わせて欲しい。ご意見ボタンとか、ちょっと遊ぶとか違うわ」）
   Everything here is scoped under html.v1-title (set by js/v1/engine.js when the new version is on), so the old version is unchanged.
   The v1 look (js/v1/v1.css): cream ground with a faint dot grid, navy ink, white rounded cards with a soft drop shadow,
   yellow pill buttons with a darker yellow lip, pink accent, M PLUS Rounded 1c headings. Pixel-art characters, the title
   illustration and the gacha machine stay as they are; only the frames, boards, buttons, type and dialogs around them change. */
html.v1-title{
  /* 紺・桃・判定の色・影（--v1-ink・--v1-pink…・--v1-shadow・--v1-shadow-lg）は v1.css の :root にまとめた */
  --v1-bg:#FBF6EE; --v1-dot:#F0E6D6; --v1-sub:#555B78; --v1-sub2:#3F4A75; --v1-card:#FFFFFF; --v1-line:#ECE3D4;
  --v1-soft:#F4EEE4; --v1-navy-soft:#E9ECF6;
  --v1-round:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN","BIZ UDPGothic",system-ui,sans-serif;
}

/* ---------- 1. shared tokens for every overlay the title opens (研修・30秒・用語テスト・診断・ガチャ・図鑑・規約・ご意見) ----------
   The old screens read --paper/--surface/--ink… (index.html, share.js, training.js, tips.js); skin.js re-pointed them to the
   wooden palette. Re-point them once more to v1, so most components recolor without per-class rules. */
html.v1-title :is(.fx,.tr,.tp,.rl,.rl-card,.tp-sheet,.tp-sheet-box,.tp-toast,#pcLand,#titleScreen){
  --paper:var(--v1-bg); --surface:#FFFFFF; --ink:var(--v1-ink); --muted:var(--v1-sub); --line:var(--v1-line); --ribbon:var(--v1-soft);
  --accent:var(--v1-pink-ink); --accent-ink:#FFFFFF; --accent-soft:var(--v1-pink-soft); --scrim:rgba(46,58,110,.42);
  --good:var(--v1-ok); --warn:var(--v1-warn); --crit:var(--v1-ng);
  --shadow:var(--v1-shadow); --f-display:var(--v1-round);
  --tr-bg:var(--v1-bg); --tr-panel:var(--v1-ink); --tr-panel-ink:#FFFFFF; --tr-panel-mut:#C9D0EA; --tr-hot:var(--v1-yel); --tr-soft:#EFE7DA;
  --tp-panel:var(--v1-ink); --tp-panel-ink:#FFFFFF; --tp-panel-mut:#C9D0EA; --tp-hot:var(--v1-yel);
  --gs-font:var(--v1-round);
  font-family:"BIZ UDPGothic","Hiragino Sans","Noto Sans JP",system-ui,sans-serif;
}
/* full-screen overlays: the cream dot ground of the title and the story */
html.v1-title :is(.fx,.tr,.tp),html.v1-title .fx.sd2{background:var(--v1-bg) radial-gradient(var(--v1-dot) 1.5px,transparent 2px) 0 0/22px 22px!important;color:var(--v1-ink)!important}
/* no scanlines, no straight-edge rule from skin.js */
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box) :is(.tr-res-top,.tr-hud,.tr-in-head,.tr-hero,.fx-panel,.tp-know)::after{content:none!important}

/* ---------- 2. overlay header bar（もどる・タイトル・名前） ----------
   v1.css clears every <header> on the title (html.v1-title header{background:transparent}); skin.js had painted these with
   paper-on-ink, so the back button and the logo became cream on cream. Now: a white rounded bar like the story HUD. */
html.v1-title :is(.fx-top,.tr-top,.tp-top){background:#FFFFFF!important;color:var(--v1-ink)!important;box-shadow:var(--v1-shadow)!important;border:0!important;border-radius:20px!important;
  margin:0 0 16px!important;padding:8px 14px!important;min-height:60px;display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:6}
html.v1-title :is(.fx-top,.tr-top,.tp-top) :is(b,h2,span,.fx-logo,.tr-logo){color:var(--v1-ink)!important;font-family:var(--v1-round)!important;font-weight:800!important;letter-spacing:.02em}
html.v1-title :is(.fx-top,.tr-top,.tp-top) :is(.fx-who,.tr-who){color:var(--v1-sub)!important;font-family:inherit!important;font-weight:700!important;font-size:13px}
html.v1-title :is(.fx-top,.tr-top,.tp-top) button{background:var(--v1-soft)!important;color:var(--v1-ink)!important;border:0!important;border-radius:999px!important;box-shadow:none!important;
  min-height:44px;padding:6px 16px!important;font-weight:800;font-family:var(--v1-round)}
html.v1-title :is(.fx-top,.tr-top,.tp-top) button:hover{background:var(--v1-navy-soft)!important}
html.v1-title :is(.fx-top,.tr-top,.tp-top) button *{color:inherit!important}
html.v1-title :is(.fx-top,.tr-top,.tp-top) .tr-logo .tr-logo-k,html.v1-title .tr-logo-k{background:var(--v1-pink-ink)!important;color:#FFFFFF!important;border-radius:999px!important;padding:0 10px!important;margin-right:4px;font-size:.8em}
html.v1-title .fx-logo{font-size:18px!important}

/* ---------- 3. buttons ---------- */
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) button.primary,
html.v1-title :is(.fx,.tr,.tp,.rl-card) .sh-main,html.v1-title .rv-send{
  background:var(--v1-yel)!important;color:var(--v1-ink)!important;border:0!important;border-radius:999px!important;box-shadow:0 5px 0 var(--v1-yel-lip)!important;
  font-family:var(--v1-round)!important;font-weight:900!important;letter-spacing:.02em;min-height:46px;padding:10px 24px;transition:transform .08s,box-shadow .08s}
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) button.primary:hover{filter:brightness(1.03);transform:translateY(-1px)}
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) button.primary:active{transform:translateY(3px);box-shadow:0 2px 0 var(--v1-yel-lip)!important}
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) button.primary:disabled{background:#EFE7DA!important;color:#6B6F86!important;box-shadow:0 4px 0 #DCD2C2!important;opacity:1!important;transform:none;filter:none}
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) button.primary small{color:inherit!important;opacity:.7}
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) button.ghost,html.v1-title .rl-card .sh-b,html.v1-title :is(.fx,.tr) .sh-b{
  background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:999px!important;box-shadow:var(--v1-shadow),inset 0 0 0 2px var(--v1-line)!important;
  font-weight:800!important;min-height:44px;padding:8px 18px}
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) button.ghost:hover{background:var(--v1-navy-soft)!important}
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) :focus-visible{outline:3px solid var(--v1-pink)!important;outline-offset:3px}

/* ---------- 4. 研修の画面（30秒だけ遊ぶ・用語テスト・研修モード）: js/training.js ---------- */
html.v1-title .tr-wrap{max-width:980px}
html.v1-title .tr :is(h2,h3,.tr-eyebrow,.tr-total-n,.tr-rank span,.tr-rank small,.tr-tm,.tr-sc b,.tr-sc small,.tr-total small,kbd){font-family:var(--v1-round)!important}
html.v1-title .tr h2{font-weight:800}
html.v1-title .tr-eyebrow{color:var(--v1-pink-text)!important;font-weight:800;letter-spacing:.04em}
html.v1-title .tr-foot,html.v1-title .tr-keys{color:var(--v1-sub)!important}
/* chooser cards */
html.v1-title .tr-qgrid{gap:14px}
html.v1-title .tr :is(.tr-qb,.tr-card,.tr-entry,.trh){background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:20px!important;box-shadow:var(--v1-shadow)!important;padding:16px 18px;transition:transform .12s}
html.v1-title .tr :is(.tr-qb,.tr-card):hover{transform:translateY(-2px);box-shadow:var(--v1-shadow)!important}
html.v1-title .tr-card{border-top:0!important;box-shadow:inset 0 5px 0 var(--ac,var(--v1-pink)),var(--v1-shadow)!important}
html.v1-title .tr-qb kbd,html.v1-title .tr-opt kbd,html.v1-title .tp-qo kbd{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 6px;background:var(--v1-navy-soft)!important;color:var(--v1-ink)!important;border:0!important;border-radius:999px!important;font-size:13px;font-weight:800;line-height:1}
html.v1-title .tr-qb{align-content:start!important;gap:8px!important}
html.v1-title .tr-qb b{font-family:var(--v1-round);font-weight:800}
html.v1-title .tr-qb small,html.v1-title .tr-card small,html.v1-title .tr-card-a{color:var(--v1-sub)!important}
/* intro */
html.v1-title .tr-in-head{background:#FFFFFF!important;color:var(--v1-ink)!important;border-radius:24px!important;border-left:0!important;box-shadow:inset 6px 0 0 var(--ac,var(--v1-pink)),var(--v1-shadow)!important;padding:20px 24px!important}
html.v1-title .tr-in-head h2{color:var(--v1-ink)!important;font-weight:800!important}
html.v1-title .tr-in-head p,html.v1-title .tr-in-rec,html.v1-title .tr-in-rec span{color:var(--v1-sub)!important}
html.v1-title .tr-in-rec b{color:var(--v1-ink)!important;font-family:var(--v1-round)}
html.v1-title .tr-area{border-radius:999px!important;font-weight:800;padding:2px 12px!important;background:var(--v1-pink-ink)!important;color:#FFFFFF!important}
html.v1-title .tr-how{background:#FFFFFF;border-radius:20px;box-shadow:var(--v1-shadow);padding:14px 18px 14px 2.2em!important}
html.v1-title .tr-learn{background:var(--v1-soft)!important;border:0!important;border-radius:16px!important;color:var(--v1-sub)!important;padding:12px 16px}
html.v1-title .tr-learn b{color:var(--v1-ink)!important}
html.v1-title .tr-go{font-size:20px!important;padding:12px 40px!important;letter-spacing:.06em}
/* play: HUD (navy band, like the story's 「正解の考え方」), task, choices */
html.v1-title .tr-hud{background:var(--v1-ink)!important;color:#FFFFFF!important;border-radius:18px!important;padding:10px 16px!important;box-shadow:var(--v1-shadow)}
html.v1-title .tr-hud :is(.tr-hud-n,.tr-tm){color:#FFFFFF!important}
html.v1-title .tr-hud-n i{border-radius:999px!important;background:var(--v1-pink-ink)!important;color:#FFFFFF!important}
html.v1-title .tr-hud .tr-sc small{color:#C9D0EA!important}
html.v1-title .tr-hud .tr-sc b{color:var(--v1-yel)!important;font-weight:800}
html.v1-title .tr-quit{border:0!important;background:rgba(255,255,255,.14)!important;color:#FFFFFF!important;border-radius:999px!important;min-height:40px;font-weight:700}
html.v1-title .tr-bar,html.v1-title .tk2-t{height:10px!important;border-radius:999px!important;background:#EFE7DA!important;overflow:hidden}
html.v1-title .tr-bar i,html.v1-title .tk2-t i{border-radius:999px!important}
html.v1-title .tr-task{background:#FFFFFF!important;border:0!important;border-radius:20px!important;box-shadow:var(--v1-shadow);padding:14px 18px!important}
html.v1-title .tr-task>span:first-child,html.v1-title .tr-task .tr-chip,html.v1-title .tr-task i{border-radius:999px!important}
html.v1-title .tr-chip{justify-self:start;align-self:center;width:max-content;max-width:100%;padding:2px 12px!important;font-weight:800}
html.v1-title .tr-opt,html.v1-title .tp-qo,html.v1-title .gc-vo{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:18px!important;box-shadow:var(--v1-shadow),inset 0 0 0 2px transparent!important;padding:12px 16px!important;font-weight:700;display:flex;gap:12px;align-items:center}
html.v1-title .tr-opt:hover:not(:disabled),html.v1-title .tr-opt:focus-visible,html.v1-title .tp-qo:hover:not(:disabled),html.v1-title .gc-vo:hover{box-shadow:var(--v1-shadow),inset 0 0 0 3px var(--ac,var(--v1-pink))!important}
html.v1-title .tr-opt.ok,html.v1-title .tp-qo.ok{background:var(--v1-ok-bg)!important;box-shadow:var(--v1-shadow),inset 0 0 0 3px var(--v1-ok-fill)!important}
html.v1-title .tr-opt.ng,html.v1-title .tp-qo.ng{background:var(--v1-ng-bg)!important;box-shadow:var(--v1-shadow),inset 0 0 0 3px var(--v1-ng-fill)!important}
html.v1-title .tk2-why{border-radius:18px!important;border:0!important;box-shadow:var(--v1-shadow)}
html.v1-title .tk2-why.ok{background:var(--v1-ok-bg)!important}html.v1-title .tk2-why.ng{background:var(--v1-ng-bg)!important}
html.v1-title .tk2-paused{color:var(--v1-sub)!important}
/* the 関数 drill: formula bar + chips (the sheet itself keeps its spreadsheet look) */
html.v1-title .tx-fx{background:#FFFFFF!important;border:0!important;border-radius:18px!important;box-shadow:var(--v1-shadow);padding:8px 10px!important}
html.v1-title .tx-in{background:var(--v1-bg)!important;border:2px solid var(--v1-line)!important;border-radius:12px!important;color:var(--v1-ink)!important;min-height:44px}
html.v1-title .tx-in:focus{border-color:var(--v1-pink)!important;outline:0}
html.v1-title .tx-chip{background:#FFFFFF!important;border:0!important;border-radius:999px!important;box-shadow:var(--v1-shadow),inset 0 0 0 2px var(--v1-line)!important;color:var(--v1-ink)!important;min-height:44px;min-width:44px;font-weight:700}
html.v1-title .tx-grid{border-radius:14px!important;box-shadow:var(--v1-shadow)}
/* result */
html.v1-title .tr-res-top{background:var(--v1-ink)!important;color:#FFFFFF!important;border-radius:24px!important;box-shadow:var(--v1-shadow);padding:20px 24px!important}
html.v1-title .tr-res-top h2{color:#FFFFFF!important;font-weight:800}
html.v1-title .tr-res-top .tr-area{background:var(--v1-pink)!important;color:var(--v1-ink)!important}
html.v1-title .tr-total small{color:#C9D0EA!important}
html.v1-title .tr-total-n{color:var(--v1-yel)!important;font-weight:800!important}
html.v1-title .tr-rank{border-radius:50%!important;background:rgba(255,255,255,.08);--tr-rC:#C9D0EA;--tr-rB:#9FD8B8;--tr-rA:#FFB9C8;--tr-rS:var(--v1-yel)}
html.v1-title .tr-rank span,html.v1-title .tr-rank small{color:var(--rc)!important;font-weight:800}
html.v1-title .tr :is(.tr-fb,.tr-coach,.tr-good,.tr-fix,.tr-share,.tr-sec,.tr-stats,.tr-rows,.tr-gist){background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:20px!important;box-shadow:var(--v1-shadow)!important}
html.v1-title .tr-fb{padding:14px 18px}
html.v1-title .tr .one-move{background:transparent!important;border:0!important}
html.v1-title .tr .om-k{background:var(--v1-pink-ink)!important;color:#FFFFFF!important;border:0!important;border-radius:999px!important;padding:2px 12px!important;font-weight:800}
html.v1-title .tr .om-h{color:var(--v1-ink)!important;font-family:var(--v1-round);font-weight:800}
html.v1-title .tr-btnrow{gap:12px}
/* 研修モードの入口（新版のPCでは入口がない。スマホの「ふりかえりに」や図鑑から開いたとき用） */
html.v1-title .tr-hero{background:var(--v1-ink)!important;color:#FFFFFF!important;border-radius:24px!important;box-shadow:var(--v1-shadow)!important}
html.v1-title .tr-hero :is(h2,b){color:#FFFFFF!important}
html.v1-title .tr-meter span{border-radius:999px!important}
html.v1-title .tr-recs{border:2px dashed var(--v1-line)!important;border-radius:18px!important}
html.v1-title .tr :is(.tr-chip,.tr-daily-tag,.tr-badges span){border-radius:999px!important}

/* ---------- 5. 社会人ジョブ診断: js/shindan.js（夜の地 → クリームの地。ジョブの色とドット絵はそのまま） ---------- */
html.v1-title .fx.sd2{--sdi:var(--v1-ink);--sdp:#FFFFFF;--sdpan:#FFFFFF;--sde:var(--v1-line);--sda:var(--v1-pink-ink);--sdw:rgba(46,58,110,.14);--sds:var(--v1-sub)}
html.v1-title .fx.sd2 .fx-note{color:var(--v1-sub)!important}
html.v1-title .fx.sd2 .fx-top{box-shadow:var(--v1-shadow)!important}
html.v1-title .sd-hero2{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow)!important;padding:26px 28px!important}
html.v1-title .sd-hero2 h2,html.v1-title .sd-q h2,html.v1-title .sd-roll,html.v1-title .sd-dex h3,html.v1-title .sd-sharebox h3{color:var(--v1-ink)!important;font-family:var(--v1-round);font-weight:800!important}
html.v1-title .sd-hero2 p{color:var(--v1-sub)!important}
html.v1-title .sd-k{color:var(--v1-pink-text)!important;font-weight:800}
html.v1-title .sd-tease span{background:var(--v1-bg)!important;color:var(--v1-ink)!important;border-left:0!important;border-radius:999px!important;padding:4px 12px 4px 10px!important;display:inline-flex;align-items:center;gap:6px}
html.v1-title .sd-tease span::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--c,var(--v1-pink));flex:none}
html.v1-title .sd-tease span.got{background:var(--v1-navy-soft)!important}
html.v1-title .sd-prog{height:12px!important;background:#EFE7DA!important;border:0!important;border-radius:999px!important;overflow:hidden}
html.v1-title .sd-prog i{background:var(--v1-pink)!important;border-radius:999px}
html.v1-title .sd-qn{color:var(--v1-pink-text)!important;font-family:var(--v1-round)!important;font-weight:800}
html.v1-title .sd-qn small{color:var(--v1-sub)!important}
html.v1-title .sd-o{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:18px!important;box-shadow:var(--v1-shadow)!important;font-weight:700;padding:14px 18px!important}
html.v1-title .sd-o kbd{background:var(--v1-navy-soft)!important;color:var(--v1-ink)!important;border-radius:999px!important;min-width:28px;height:28px;display:inline-grid;place-items:center;font-family:var(--v1-round)!important;font-weight:800}
html.v1-title .sd-o:hover,html.v1-title .sd-o:focus-visible{box-shadow:var(--v1-shadow),inset 0 0 0 3px var(--v1-pink)!important;outline:0!important}
html.v1-title .sd-o.on{background:var(--v1-yel)!important;color:var(--v1-ink)!important;box-shadow:0 2px 0 var(--v1-yel-lip)!important;transform:translateY(2px)}
html.v1-title .sd-judge{color:var(--v1-sub)!important}
html.v1-title .sd-roll.hit{background:#FFFFFF!important;border-radius:18px;box-shadow:var(--v1-shadow)}
html.v1-title .sd-judge.hit{background:radial-gradient(circle,rgba(255,211,110,.35),transparent 60%)!important}
/* the job card */
html.v1-title .sd-card{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow-lg)!important;overflow:hidden}
html.v1-title .sd-band{border-radius:0!important}
html.v1-title .sd-pv{border:0!important;border-radius:18px!important;box-shadow:0 0 0 3px #FFFFFF,0 0 0 5px var(--c,var(--v1-line))}
html.v1-title .sd-name{font-family:var(--v1-round);font-weight:800!important}
html.v1-title .sd-hd small,html.v1-title .sd-en,html.v1-title .sd-sec h3{color:var(--v1-sub)!important}
html.v1-title .sd-new{background:var(--v1-yel)!important;color:var(--v1-ink)!important;border-radius:999px!important;padding:1px 8px!important}
html.v1-title .sd-catch{font-family:var(--v1-round);font-weight:800!important;border-left-width:6px!important;border-radius:0}
html.v1-title .sd-st i b{background:#EFE7DA!important;border-radius:999px!important}
html.v1-title .sd-st i b.on{background:var(--c)!important}
html.v1-title :is(.sd-trio .sd-sec,.sd-pinch,.sd-pj){background:var(--v1-bg)!important;border:0!important;border-radius:16px!important;box-shadow:none!important}
html.v1-title .sd-pinch,html.v1-title .sd-pj{box-shadow:inset 5px 0 0 var(--c)!important;padding-left:16px!important}
html.v1-title .sd-pj small{color:var(--v1-sub)!important}
html.v1-title .sd-aru li::before{border-radius:50%}
html.v1-title .sd-move b,html.v1-title .sd-vs-row span{border-radius:999px!important}
html.v1-title .sd-vs-row span{border-radius:14px!important}
html.v1-title .sd-vs{background:var(--v1-ink)!important;color:#FFFFFF!important;border-radius:18px!important}
html.v1-title .sd-vs h3,html.v1-title .sd-vs-row>b{color:var(--v1-yel)!important}
html.v1-title .sd-vs-banner{border:0!important;border-radius:20px!important;box-shadow:var(--v1-shadow)!important}
html.v1-title .sd-sharebox{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow)!important;padding:20px 22px!important}
html.v1-title .sd-sharebox p{color:var(--v1-sub)!important}
html.v1-title .sd-sb{background:var(--v1-ink)!important;color:#FFFFFF!important;border:0!important;border-radius:999px!important;box-shadow:0 4px 0 var(--v1-ink-deep)}
html.v1-title .sd-st-msg{color:var(--v1-ink)}
html.v1-title .sd-wall>span,html.v1-title .sd-wj{border-radius:12px!important;border:2px dashed #DDD3C3!important;color:var(--v1-sub)!important;background:transparent!important}
html.v1-title .sd-wall>span.got,html.v1-title .sd-wj.got{border:0!important;background:#FFFFFF!important;color:var(--v1-ink)!important;box-shadow:inset 5px 0 0 var(--c),var(--v1-shadow)!important}
html.v1-title .sd-wj.me{outline:3px solid var(--v1-pink)!important}
html.v1-title .sd-wi{border-radius:6px!important;border:0!important}
html.v1-title .sd-diff{border-top:2px solid var(--v1-line)!important}

/* ---------- 6. 配属ガチャ: js/gacha.js（ガチャの機械と配属通知の紙はそのまま、まわりの枠だけ） ---------- */
html.v1-title .gc-stage{background:#FFFFFF!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow)!important;padding:22px!important}
html.v1-title .gc-free{background:var(--v1-ok-bg)!important;border:0!important;color:var(--v1-ok)!important;font-weight:700;padding:4px 14px!important;border-radius:999px!important}
html.v1-title .gc-free b{color:var(--v1-ok)!important;font-family:var(--v1-round)}
html.v1-title .gc-lead{color:var(--v1-ink);font-family:var(--v1-round);font-weight:800!important;font-size:16px}
html.v1-title .gc-go{font-size:20px!important;padding:12px 40px!important}
html.v1-title .gc-col-h{color:var(--v1-sub)!important}
html.v1-title .gc-col span:not(.gc-col-h){border:2px dashed #DDD3C3!important;border-radius:999px!important;color:var(--v1-sub)!important;background:transparent;min-height:28px;display:inline-flex;align-items:center}
html.v1-title .gc-col span.on{border:0!important;background:#FFFFFF!important;color:var(--v1-ink)!important;font-weight:700;box-shadow:0 2px 0 rgba(46,58,110,.14)}
html.v1-title .gc-notice{border-radius:20px!important;box-shadow:var(--v1-shadow-lg)!important;border:0!important}
html.v1-title .gc-notice::before{border-radius:14px!important}
html.v1-title :is(.gc-row,.gc-job,.gc-tip,.gc-drillres){border-radius:14px!important}
html.v1-title .gc-pv{border-radius:12px!important}
html.v1-title .gc-tip i{border-radius:999px!important;padding:0 8px!important}
html.v1-title .gc-vg{background:#FFFFFF!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow)!important}
html.v1-title .gc-vg-k{border-radius:999px!important;background:var(--v1-pink-ink)!important;padding:1px 10px!important}
html.v1-title .gc-vo kbd{border:0!important;background:var(--v1-navy-soft);color:var(--v1-ink);border-radius:999px!important;opacity:1!important;min-width:26px;text-align:center}
html.v1-title .gc-stamp{border-radius:12px!important}

/* ---------- 7. みんなの提案・認定などの黒板（.fx-panel）→ 白いカード ---------- */
html.v1-title .fx-panel{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow)!important;padding:22px 24px!important}
html.v1-title .fx-panel :is(.fx-h,h2){color:var(--v1-ink)!important;font-family:var(--v1-round)!important;font-weight:800!important}
html.v1-title .fx-panel .fx-eyebrow,html.v1-title .fx-eyebrow{color:var(--v1-pink-text)!important;font-family:var(--v1-round)!important;font-weight:800}
html.v1-title .fx-panel :is(.fx-lead,p){color:var(--v1-sub)!important}
html.v1-title .bd-hero .fx-h{color:var(--v1-ink)!important}
html.v1-title .fx .fx-card,html.v1-title .fx .fx-eb,html.v1-title .bd-it{background:#FFFFFF!important;border:0!important;border-radius:20px!important;box-shadow:var(--v1-shadow)!important}
html.v1-title .bd-empty{background:#FFFFFF!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow)!important;padding:24px!important}
html.v1-title .bd-empty b{font-family:var(--v1-round);font-weight:800}
html.v1-title .bd-empty p{color:var(--v1-sub)}
html.v1-title .bd-legend span,html.v1-title .bd-st,html.v1-title .bd-cat{border-radius:999px!important;padding:2px 12px!important}
html.v1-title .bd-legend span{color:#FFFFFF!important;border:0!important;font-weight:700}
html.v1-title .bd-like{background:#FFFFFF!important;border:0!important;box-shadow:inset 0 0 0 2px var(--v1-line)!important;color:var(--v1-ink)!important;min-height:44px}
html.v1-title .bd-cm,html.v1-title .bd-admin{border-radius:14px!important}
html.v1-title .fx-note{color:var(--v1-sub)!important}

/* ---------- 8. 仕事のコツ図鑑・知ってた？クイズ: js/tips.js ---------- */
html.v1-title .tp :is(h2,h3,.tp-logo){font-family:var(--v1-round)!important;font-weight:800}
html.v1-title .tp .tp-it{background:#FFFFFF!important;border:0!important;border-radius:18px!important;box-shadow:inset 5px 0 0 var(--tc,var(--v1-pink)),var(--v1-shadow)!important;padding:12px 14px 12px 18px!important}
html.v1-title .tp .tp-it.off{background:transparent!important;box-shadow:inset 0 0 0 2px #E2D8C8!important}
html.v1-title .tp-cats button,html.v1-title .tp :is(.tp-cat,.tp-chip,.tp-tab,.tp-f){border-radius:999px!important}
html.v1-title .tp-cats button{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;box-shadow:inset 0 0 0 2px var(--v1-line)!important;min-height:40px;padding:4px 14px;font-weight:700}
html.v1-title .tp-cats button[aria-pressed="true"],html.v1-title .tp-cats button.on{background:var(--v1-ink)!important;color:#FFFFFF!important;box-shadow:none!important}
html.v1-title .tp input[type="search"],html.v1-title .tp input[type="text"]{background:#FFFFFF!important;border:2px solid var(--v1-line)!important;border-radius:999px!important;color:var(--v1-ink)!important;min-height:44px;padding:6px 16px}
html.v1-title .tp-know{background:var(--v1-ink)!important;border:0!important;border-radius:20px!important;box-shadow:var(--v1-shadow)!important}
html.v1-title .tp-know-k{border-radius:999px!important}
html.v1-title .tp-sheet{background:rgba(46,58,110,.42)!important}
html.v1-title .tp-sheet-box{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow-lg)!important;padding:20px 22px!important}
html.v1-title .tp-quiz-q{font-family:var(--v1-round);font-weight:800!important;font-size:18px!important}
html.v1-title .tp-quiz-tip{background:var(--v1-bg)!important;border-radius:16px!important}
html.v1-title .tp-toast{background:var(--v1-ink)!important;color:#FFFFFF!important;border:0!important;border-radius:999px!important;box-shadow:var(--v1-shadow-lg)!important}
html.v1-title .tp-toast.big{border-radius:20px!important}

/* ---------- 9. シート（同意・規約・プライバシー・配信ガイドライン・クレジット・設定・お問い合わせ・ご意見）: js/release.js ---------- */
html.v1-title .rl{background:rgba(46,58,110,.42)!important}
html.v1-title .rl-card{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow-lg)!important;overflow:hidden}
html.v1-title .rl-head{background:#FFFFFF!important;color:var(--v1-ink)!important;box-shadow:none!important;border-bottom:2px solid var(--v1-soft)!important;margin:0!important;padding:16px 18px 12px 22px!important}
html.v1-title .rl-head h2{color:var(--v1-ink)!important;font-family:var(--v1-round)!important;font-weight:800!important;font-size:19px!important}
html.v1-title .rl-x{background:var(--v1-soft)!important;color:var(--v1-ink)!important;border:0!important;border-radius:50%!important;width:44px;height:44px;min-width:44px;box-shadow:none!important;font-weight:800}
html.v1-title .rl-x:hover{background:var(--v1-navy-soft)!important}
html.v1-title .rl-body{padding:14px 22px 18px!important;color:var(--v1-ink)}
html.v1-title .rl-body h3{font-family:var(--v1-round);font-weight:800;color:var(--v1-ink)}
html.v1-title .rl-body a{color:var(--v1-pink-text)!important}
html.v1-title .rl-foot{background:var(--v1-bg)!important;border-top:0!important;padding:14px 22px!important}
html.v1-title .rl-foot :is(span,small,.rl-note){color:var(--v1-sub)!important}
html.v1-title .rl-box{background:var(--v1-bg)!important;border:0!important;border-radius:16px!important;padding:12px 16px!important}
html.v1-title .rl-check{background:#FFFFFF!important;border:0!important;border-radius:16px!important;box-shadow:inset 0 0 0 2px var(--v1-line)!important;padding:12px 14px!important;min-height:44px}
html.v1-title .rl-check.req{box-shadow:inset 0 0 0 2px var(--v1-pink)!important}
html.v1-title .rl-check:has(input:checked){background:#FFF6DA!important;box-shadow:inset 0 0 0 2px var(--v1-yel-lip)!important}
html.v1-title .rl-check input,html.v1-title .rl-row input[type="checkbox"]{accent-color:var(--v1-ink)}
html.v1-title .rl-check small,html.v1-title .rl-note,html.v1-title .rl-dl dt{color:var(--v1-sub)!important}
html.v1-title .rl-row{border-bottom:2px solid var(--v1-soft)!important}
html.v1-title .rl-row label{border-radius:999px!important;border:0!important;box-shadow:inset 0 0 0 2px var(--v1-line)!important;background:#FFFFFF!important;min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:4px 14px}
html.v1-title .rl-row input[type="range"]{accent-color:var(--v1-pink-ink);min-height:44px}
html.v1-title .rl-warn{color:var(--v1-warn)!important}
html.v1-title .rl-links{gap:10px}
html.v1-title .fb-tag{background:#FFFFFF!important;border:0!important;border-radius:999px!important;box-shadow:inset 0 0 0 2px var(--v1-line)!important;color:var(--v1-ink)!important;min-height:44px;padding:6px 14px!important;font-weight:700}
html.v1-title .fb-tag[aria-pressed="true"]{background:var(--v1-ink)!important;color:#FFFFFF!important;box-shadow:none!important}
html.v1-title .fb-field label{color:var(--v1-sub)!important;font-weight:700}
html.v1-title .fb-field :is(input,select,textarea){background:var(--v1-bg)!important;border:2px solid var(--v1-line)!important;border-radius:14px!important;color:var(--v1-ink)!important;min-height:44px}
html.v1-title .fb-field :is(input,select,textarea):focus{border-color:var(--v1-pink)!important;outline:0}
html.v1-title .fb-ctx code{border-radius:12px!important}
html.v1-title .fb-status.ok{color:var(--v1-ok)!important}

/* ---------- 10. 💬 ご意見ボタン・トースト ---------- */
html.v1-title .fb-fab{width:auto!important;height:44px!important;min-width:44px;padding:0 16px 0 12px!important;border:0!important;border-radius:999px!important;background:#FFFFFF!important;color:var(--v1-ink)!important;
  box-shadow:var(--v1-shadow-lg)!important;opacity:1!important;display:inline-flex;align-items:center;gap:6px;font-size:18px!important;line-height:1}
html.v1-title .fb-fab::after{content:"ご意見";font-family:var(--v1-round);font-weight:800;font-size:14px;color:var(--v1-ink)}
html.v1-title .fb-fab:hover,html.v1-title .fb-fab:focus-visible{background:var(--v1-yel)!important;outline:0}
html.v1-title #toast,html.v1-title .toast{background:var(--v1-ink)!important;color:#FFFFFF!important;border:0!important;border-radius:999px!important;box-shadow:var(--v1-shadow-lg)!important;font-weight:700;padding:10px 20px!important;font-family:var(--v1-round)}
html.v1-title .tr-toast,html.v1-title .tr-pop{border-radius:18px!important}

/* ---------- 11. タイトル ----------
   ロゴは1つに：PCでは大きいワードマーク（ヒーロー内）だけ、スマホ幅ではヒーロー内のワードマークが消える（skin.js）ので上の帯だけ。 */
@media (min-width:761px){ html.v1-title body[data-scr="titleScreen"] header.top{display:none} }
html.v1-title header.top{box-shadow:none!important;border:0!important}
html.v1-title header.top .brand{font-family:var(--v1-round)!important;font-weight:800!important;letter-spacing:.04em;font-size:20px}
html.v1-title header.top .brand .tag,html.v1-title #brandTag{background:var(--v1-ink)!important;color:#FFFFFF!important;border:0!important;border-radius:999px!important;padding:2px 10px!important;font-family:inherit;font-weight:700;font-size:12px;letter-spacing:.02em}
html.v1-title #titleScreen .wordmark{padding-right:96px}
html.v1-title #titleScreen .wordmark .wm-ja{font-family:var(--v1-round)!important;font-weight:800!important}
html.v1-title #titleScreen .test-badge{border-radius:999px!important;padding:2px 12px!important;font-weight:700}
html.v1-title #titleScreen .hero h1{font-family:var(--v1-round)!important;font-weight:800!important}
html.v1-title #titleScreen .sm-cam{background:#FFFFFF!important;border:0!important;box-shadow:var(--v1-shadow)!important;color:var(--v1-ink)!important}
html.v1-title #titleScreen .sm-cam small{color:var(--v1-ink)!important;font-weight:700}
html.v1-title #titleScreen .p3b-pk{border:0!important;background:var(--v1-pink-ink)!important;color:#FFFFFF!important;border-radius:999px!important;padding:1px 10px!important;font-weight:800}
html.v1-title #titleScreen .hero-more summary{color:var(--v1-sub2)!important}
/* the title picture keeps its pixels; the wooden frame becomes a rounded card */
html.v1-title .gs-hero-art{border:0!important;border-radius:24px!important;overflow:hidden;box-shadow:var(--v1-shadow)!important;background:#B8D7E0!important}
/* mode cards: 本編 / ちょっと遊ぶ / 🔒 ガチ研修 */
html.v1-title #titleScreen .lt-m{opacity:1!important;padding:16px 20px!important;transition:transform .12s,box-shadow .12s}
html.v1-title #titleScreen .lt-m:not(.lt-lock):hover{transform:translateY(-2px);box-shadow:var(--v1-shadow)!important}
html.v1-title #titleScreen .lt-m b,html.v1-title #titleScreen .lt-card b{font-family:var(--v1-round)!important;font-weight:800!important}
html.v1-title #titleScreen .lt-m small,html.v1-title #titleScreen .lt-card small{color:var(--v1-sub2)!important;opacity:1!important}
html.v1-title #titleScreen .lt-m.on{outline:3px solid var(--v1-ink)!important;outline-offset:0!important;box-shadow:0 5px 0 var(--v1-ink)!important}
html.v1-title #titleScreen .lt-m.lt-lock{background:var(--v1-soft)!important;background-image:repeating-linear-gradient(135deg,transparent 0 12px,rgba(46,58,110,.035) 12px 24px)!important;
  box-shadow:inset 0 0 0 2px #DDD3C3!important;filter:none!important;opacity:1!important;cursor:not-allowed}
html.v1-title #titleScreen .lt-m.lt-lock .lt-mk{background:var(--v1-sub)!important;color:#FFFFFF!important}
html.v1-title #titleScreen .lt-m.lt-lock b{color:var(--v1-sub)!important}
html.v1-title #titleScreen .lt-m.lt-lock small{color:var(--v1-sub)!important}
/* ガチ研修モード（11-05 から本物）：白いカードに紺の帯。ストーリー・ちょっと遊ぶ と同じ大きさ */
html.v1-title #titleScreen .lt-m.lt-gachi{background:#FFFFFF!important;box-shadow:inset 0 5px 0 var(--v1-ink),var(--v1-shadow)!important;cursor:pointer}
html.v1-title #titleScreen .lt-m.lt-gachi .lt-mk{background:var(--v1-ink)!important;color:#FFFFFF!important}
/* ちょっと遊ぶ panel */
html.v1-title #titleScreen .lt-grid{gap:16px}
html.v1-title #titleScreen .lt-card{padding:16px 18px!important}
html.v1-title #titleScreen .lt-card:is(button):hover{transform:translateY(-2px);box-shadow:var(--v1-shadow)!important}
html.v1-title #titleScreen .lt-card .k{background:var(--v1-pink-ink)!important;color:#FFFFFF!important;border-radius:999px!important;padding:1px 10px!important;font-family:inherit!important;font-weight:800;font-size:12px;letter-spacing:0}
html.v1-title #titleScreen .fx-eb.quick{border-left:0!important;background:#FFFFFF!important}
html.v1-title #titleScreen .lt-go{display:inline-flex;align-items:center;min-height:40px;padding:4px 18px;margin-top:8px;border-radius:999px;background:var(--v1-yel);color:var(--v1-ink)!important;box-shadow:0 4px 0 var(--v1-yel-lip);font-family:var(--v1-round);font-weight:900}
html.v1-title #titleScreen .lt-pv img{border:0!important;border-radius:14px;box-shadow:var(--v1-shadow)}
html.v1-title #titleScreen .lt-pv small{color:var(--v1-ink)!important;font-weight:700}
html.v1-title #titleScreen .lt-yb .ghost{min-height:44px!important;padding:6px 16px!important;font-weight:800!important}
html.v1-title #titleScreen .title-foot,html.v1-title #titleScreen .seo-about{border-top:2px solid var(--v1-line)!important}
html.v1-title #titleScreen .co-card{border-radius:20px!important}

/* ---------- 12. スマホの入口（pconly.js の #pcLand：本物のスマホだけ。本編はPCで、の案内つき） ---------- */
html.v1-title .pc-land{color:var(--v1-ink)}
html.v1-title .pc-land h2,html.v1-title .pc-land h3,html.v1-title .pc-land b{font-family:var(--v1-round);font-weight:800;color:var(--v1-ink)}
html.v1-title .pc-land h3{border-top:0!important;padding-top:6px!important;margin:22px 0 10px!important;font-size:17px!important}
html.v1-title .pc-land p,html.v1-title .pc-land small{color:var(--v1-sub)!important}
html.v1-title .pc-hero{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:24px!important;box-shadow:var(--v1-shadow)!important;padding:18px!important;gap:10px!important}
html.v1-title .pc-hero .pc-k{background:var(--v1-pink-ink);color:#FFFFFF;border-radius:999px;padding:2px 12px;letter-spacing:0!important;font-size:12px!important}
html.v1-title .pc-hero b{font-size:21px!important}
html.v1-title .pc-types i{background:var(--v1-bg)!important;color:var(--v1-ink)!important;border-left:0!important;border-radius:999px;padding:4px 10px 4px 8px!important;display:inline-flex;align-items:center;gap:5px}
html.v1-title .pc-types i::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c,var(--v1-pink));flex:none}
html.v1-title .pc-types i.more{background:transparent!important;color:var(--v1-sub)!important}
html.v1-title .pc-types i.more::before{content:none}
html.v1-title .pc-go{background:var(--v1-yel)!important;color:var(--v1-ink)!important;border-radius:999px;box-shadow:0 5px 0 var(--v1-yel-lip);font-family:var(--v1-round);letter-spacing:.04em!important;margin:6px 0 4px!important}
html.v1-title .pc-hero:active{transform:translateY(2px)}
html.v1-title .pc-g{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;border-radius:20px!important;box-shadow:var(--v1-shadow)!important;padding:14px 16px!important}
html.v1-title .pc-g:active{transform:translateY(2px);box-shadow:0 2px 0 rgba(46,58,110,.14)!important}
html.v1-title .pc-g small{color:var(--v1-sub)!important}
html.v1-title .pc-gacha{margin-bottom:0!important}
html.v1-title .pc-tell{background:#FFFFFF;border-radius:24px;box-shadow:var(--v1-shadow);padding:4px 16px 2px;margin-top:14px}
html.v1-title .pc-tell h3{margin-top:12px!important}
html.v1-title .pc-sb{background:var(--v1-ink)!important;color:#FFFFFF!important;border:0!important;border-radius:999px;box-shadow:0 4px 0 var(--v1-ink-deep)}
html.v1-title .pc-row button{min-height:44px!important}
html.v1-title .pc-pc{background:var(--v1-soft);border:0!important;border-radius:24px;box-shadow:inset 0 0 0 2px #E2D8C8;padding:16px!important}
html.v1-title .pc-url{background:#FFFFFF!important;color:var(--v1-ink)!important;border:2px solid var(--v1-line)!important;border-radius:12px!important;min-height:44px}
html.v1-title .pc-land .pc-msg{color:var(--v1-ink)!important}
html.v1-title .pc-g:focus-visible,html.v1-title .pc-send button:focus-visible{outline:3px solid var(--v1-pink)!important}
/* 新版のスマホ：ガチ研修モード（準備中）も鍵つきで見せる（js/pconly.js が .pc-lock を足す） */
html.v1-title .pc-lock{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;text-align:left;margin-top:12px;padding:14px 16px;border:0;border-radius:20px;font:inherit;cursor:not-allowed;
  background:var(--v1-soft) repeating-linear-gradient(135deg,transparent 0 12px,rgba(46,58,110,.035) 12px 24px);box-shadow:inset 0 0 0 2px #DDD3C3;color:var(--v1-sub)}
html.v1-title .pc-lock .pc-lk{background:var(--v1-sub);color:#FFFFFF;border-radius:999px;padding:1px 10px;font-size:12px;font-weight:800}
html.v1-title .pc-lock b{color:var(--v1-sub)!important;font-size:16px}
html.v1-title .pc-lock.shake{animation:ltshake .35s}
html.v1-title .pc-lock.pc-gachi{cursor:pointer;background:#FFFFFF;box-shadow:inset 0 4px 0 var(--v1-ink),var(--v1-shadow);color:var(--v1-ink)}
html.v1-title .pc-lock.pc-gachi .pc-lk{background:var(--v1-ink)}
html.v1-title .pc-lock.pc-gachi b{color:var(--v1-ink)!important}
@keyframes ltshake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}

/* ---------- 13. スマホ幅（〜600px）: カードは1列、💬はアイコンだけの丸（本文に重なりにくく） ---------- */
@media (max-width:600px){
  html.v1-title #titleScreen .lt-mode,html.v1-title #titleScreen .lt-mode.lt-has-lock{grid-template-columns:minmax(0,1fr)!important;gap:12px;margin:10px 0 12px}
  html.v1-title #titleScreen .lt-m{padding:12px 16px!important}
  html.v1-title #titleScreen .lt-m b{font-size:18px}
  html.v1-title #titleScreen .lt-grid{grid-template-columns:minmax(0,1fr)!important}
  html.v1-title #titleScreen .lt-big{grid-column:auto!important}
  html.v1-title #titleScreen .lt-pv{width:72px}html.v1-title #titleScreen .lt-pv img{width:60px;height:60px}
  html.v1-title #titleScreen .wordmark{padding-right:0}
  html.v1-title .fb-fab{width:44px!important;padding:0!important;justify-content:center}
  html.v1-title .fb-fab::after{content:none}
  html.v1-title :is(.fx-top,.tr-top,.tp-top){padding:6px 10px!important;gap:8px;min-height:56px}
  html.v1-title :is(.fx-top,.tr-top,.tp-top) button{padding:6px 12px!important}
  html.v1-title .rl-body{padding:12px 16px 16px!important}html.v1-title .rl-foot{padding:12px 16px!important}html.v1-title .rl-head{padding:12px 12px 10px 16px!important}
  html.v1-title .sd-hero2,html.v1-title .fx-panel{padding:20px 18px!important}
  html.v1-title .tr-res-top{padding:16px!important}
}

/* ---------- 14. タップしやすさ（44px） ---------- */
html.v1-title .tr-quit{min-height:44px!important;min-width:44px}
html.v1-title .tp-x{min-width:44px!important;min-height:44px!important;border-radius:50%!important;background:var(--v1-soft)!important;border:0!important;color:var(--v1-ink)!important}
html.v1-title .tp :is(.tp-cb,#tpFav,#tpLk,.tp-back){min-height:44px!important;border-radius:999px!important}
html.v1-title .tp .tp-cb{background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;box-shadow:inset 0 0 0 2px var(--v1-line)!important;font-weight:700}
html.v1-title .tp .tp-cb[aria-pressed="true"],html.v1-title .tp .tp-cb.on{background:var(--v1-ink)!important;color:#FFFFFF!important;box-shadow:none!important}
html.v1-title .tp .tp-cb[aria-pressed="true"] *,html.v1-title .tp .tp-cb.on *{color:#FFFFFF!important}
html.v1-title .tp :is(#tpFav,#tpLk){background:#FFFFFF!important;color:var(--v1-ink)!important;border:0!important;box-shadow:inset 0 0 0 2px var(--v1-line)!important;font-weight:700}
html.v1-title .tp :is(#tpFav,#tpLk)[aria-pressed="true"]{background:var(--v1-ink)!important;color:#FFFFFF!important;box-shadow:none!important}
html.v1-title #tpQ{min-height:44px!important;border-radius:999px!important;background:#FFFFFF!important;border:2px solid var(--v1-line)!important;color:var(--v1-ink)!important}
html.v1-title .sd-wj{min-height:44px!important}
html.v1-title :is(#titleScreen,.rl-card,.tr,.tp,.fx) summary{min-height:44px;padding-block:10px;box-sizing:border-box}
html.v1-title .fb-field select{min-height:44px!important}
html.v1-title .rl-row input[type="range"]{height:44px}

/* ---------- 15. 見やすさの手直し（tests/contrast_tm.js） ---------- */
html.v1-title :is(.bd-legend span,.bd-st){background:color-mix(in srgb,var(--c) 78%,#000)!important;color:#FFFFFF!important}
html.v1-title .tp-star{color:#9A6B00!important;min-width:44px!important;min-height:44px!important}
html.v1-title .sd-pj b{color:var(--v1-ink)!important}
html.v1-title :is(.sd-band,.sd-move b,.sd-vs-row span,.sd-vs-banner){background:color-mix(in srgb,var(--c) 72%,var(--v1-ink-deep))!important}
html.v1-title #titleScreen .p3b-pk{opacity:1!important}
html.v1-title :is(.fx,.tr,.tp,.rl-card,.tp-sheet-box,#pcLand) button.primary small{opacity:1!important}
html.v1-title .tr-res-top .tr-area{background:var(--v1-yel)!important;color:var(--v1-ink)!important}
html.v1-title .tr-chip{background:color-mix(in srgb,var(--ac,var(--v1-pink-ink)) 78%,var(--v1-ink-deep))!important;color:#FFFFFF!important}
html.v1-title .tr-eyebrow,html.v1-title .sd-k,html.v1-title .sd-qn,html.v1-title .fx-eyebrow,html.v1-title .fx-panel .fx-eyebrow{color:var(--v1-pink-text)!important}
html.v1-title #titleScreen .tf-links .link-btn{min-width:44px;padding-inline:6px}
html.v1-title .sm-chip{min-height:44px!important;min-width:44px;border-radius:999px!important}
html.v1-title .tp .tp-search{background:transparent!important;border:0!important}
html.v1-title .tp .tp-logo-k{border-radius:999px!important;padding:0 10px!important;margin-right:4px;font-size:.8em}
html.v1-title .tp .tp-lockt{border-radius:999px!important;border-style:dashed}
html.v1-title .tp .tp-new{border-radius:999px!important;padding:0 8px!important}

/* ---------- 16. スマホの最初の画面を整える（代表 11-04「少しズレてたり」「最初の画面もすこしへんなズレ」） ----------
   ・左右の余白は 18px でそろえる（上の帯・絵・見出し・カード）
   ・🎥配信 と 🔈 は、上の帯（新卒クエスト テスト公開版）の右に同じ大きさの丸ボタンで並べる（見出しや説明文に重ねない）
   ・絵とカードは同じ幅・同じ角丸・同じ影。カードの間は 14px でそろえる */
@media (max-width:760px){
  html.v1-title body{margin-left:0;margin-right:0;padding-left:max(18px,env(safe-area-inset-left,0px));padding-right:max(18px,env(safe-area-inset-right,0px));padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
  html.v1-title header.top{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin:0 0 14px}
  html.v1-title header.top .brand{display:flex;align-items:center;gap:8px;white-space:nowrap;min-width:0;line-height:1}
  html.v1-title header.top .brand .tag,html.v1-title #brandTag{margin:0!important;line-height:18px}
  /* 🎥配信・🔈：上の帯の右に、同じ高さの小さな丸ボタン（js/pconly.js が .ph-tools に移す） */
  html.v1-title header.top .ph-tools{display:flex;align-items:center;gap:6px;flex:none;margin-left:auto}
  html.v1-title header.top .ph-tools :is(#smCam,.snd-title){position:relative;inset:auto;box-sizing:border-box;height:36px;min-height:36px;min-width:36px;margin:0;padding:0 10px;
    display:inline-flex;align-items:center;justify-content:center;gap:4px;border-radius:999px!important;background:#FFFFFF!important;border:0!important;box-shadow:0 2px 0 rgba(46,58,110,.14)!important;color:var(--v1-ink)!important;font-size:16px;line-height:1;transform:none}
  html.v1-title header.top .ph-tools :is(#smCam,.snd-title)::before{content:"";position:absolute;inset:-4px -3px}
  html.v1-title header.top .ph-tools .snd-title{width:36px;padding:0}
  html.v1-title header.top .ph-tools #smCam small{font-size:13px;font-weight:700}
  html.v1-title #titleScreen .gs-hero{position:relative;margin:0 0 4px;gap:14px}
  html.v1-title #titleScreen .hero{position:static}
  html.v1-title #titleScreen .hero h1{font-size:26px;line-height:1.35;letter-spacing:.02em;margin:0}
  html.v1-title #titleScreen .hero p.hero-sum{margin:8px 0 0;font-size:14px;line-height:1.75}
  html.v1-title .gs-hero-art{position:relative;border-radius:20px!important;box-shadow:var(--v1-shadow)!important}
}
@media (max-width:400px){ html.v1-title header.top .brand{font-size:18px!important} }
@media (max-width:374px){ html.v1-title header.top .ph-tools #smCam{width:36px;padding:0}html.v1-title header.top .ph-tools #smCam small{display:none} }
@media (max-width:339px){ html.v1-title header.top .brand{font-size:16px!important;gap:6px}html.v1-title header.top .brand .tag{font-size:12px!important;padding:2px 8px!important} }
/* スマホ入口のカード：幅・角丸・影・余白・間隔をそろえる */
html.v1-title .pc-land{margin:0 0 24px}
html.v1-title .pc-land > :is(.pc-hero,.qt-entry,.kd-entry,.pc-gacha,.pc-tell,.pc-pc,.pc-lock),html.v1-title .pc-games > .pc-g{box-sizing:border-box;width:100%;margin:0 0 14px!important;border-radius:20px!important;padding:16px 18px!important}
html.v1-title .pc-games{gap:14px}
html.v1-title .pc-games > .pc-g{margin:0!important}
html.v1-title .pc-land > :is(.pc-hero,.qt-entry,.pc-gacha,.pc-tell),html.v1-title .pc-games > .pc-g{box-shadow:var(--v1-shadow)!important;border:0!important}
html.v1-title .pc-land .kd-entry{border:0!important;box-shadow:var(--v1-shadow)!important}
html.v1-title .pc-tell h3{margin:0 0 12px!important;padding:0!important}
html.v1-title .pc-tell .pc-msg:empty,html.v1-title .pc-land .pc-msg:empty{display:none}
html.v1-title .pc-tell .pc-msg{margin:10px 0 0!important}
html.v1-title .pc-types{gap:8px}
html.v1-title .pc-types i{min-height:30px;box-sizing:border-box}
/* 本編はPCで：最初の画面の、見出しのすぐ下のお知らせ */
html.v1-title .pc-land .pc-pc{background:var(--v1-ink)!important;box-shadow:0 4px 0 var(--v1-ink-deep)!important;color:#FFFFFF;padding:14px 16px!important}
html.v1-title .pc-land .pc-pc h2{display:flex;align-items:center;gap:8px;margin:0 0 6px!important;font-size:min(17px,calc((100vw - 104px) / 17.4))!important;line-height:1.4;color:#FFFFFF!important;white-space:nowrap}
html.v1-title .pc-land .pc-pc .pc-ico{font-size:22px;line-height:1;flex:none}
html.v1-title .pc-land .pc-pc p{color:#E4E7F5!important;font-size:13px!important;line-height:1.65;margin:0 0 12px!important}
html.v1-title .pc-land .pc-pc .pc-send{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8px;margin:0}
html.v1-title .pc-land .pc-pc .pc-send button{white-space:nowrap}
@media (max-width:374px){ html.v1-title .pc-land .pc-pc .pc-send button{font-size:13px!important;padding:6px 4px!important} }
@media (max-width:339px){ html.v1-title .pc-land .pc-pc .pc-send{grid-template-columns:1fr} }
html.v1-title .pc-land .pc-pc .pc-send button{min-height:44px;padding:6px 8px!important;font-size:14px!important;font-weight:800;border-radius:999px!important;border:0!important;line-height:1.3}
html.v1-title .pc-land .pc-pc #pcShare{background:var(--v1-yel)!important;color:var(--v1-ink)!important;box-shadow:0 4px 0 var(--v1-yel-lip)!important}
html.v1-title .pc-land .pc-pc #pcCopy{background:#FFFFFF!important;color:var(--v1-ink)!important;box-shadow:0 4px 0 rgba(0,0,0,.25)!important}
html.v1-title .pc-land .pc-pc .pc-url{margin-top:12px}
html.v1-title .pc-land .pc-pc .pc-msg{color:#FFFFFF!important;margin:10px 0 0!important}
/* 怖い話のカード：タイトルは1回だけ（ロゴを見出しとして見せ、同じ文字の見出しは読み上げ用に残す）。「全5話」はラベルにあるので重ねない */
html.v1-title .pc-land .kd-entry .kd-eart{display:block;line-height:0}
html.v1-title .pc-land .kd-entry .kd-eart .kd-lime{display:none}
html.v1-title .pc-land .kd-entry .kd-logo{display:block;font:900 28px/1.25 "Hiragino Maru Gothic ProN","M PLUS Rounded 1c","Kosugi Maru",var(--v1-round)!important;color:#F4A6AE!important;letter-spacing:.04em;white-space:normal;transform:none!important;text-shadow:none}
html.v1-title .pc-land .kd-entry > b{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html.v1-title .pc-land .kd-entry{position:relative;gap:10px}
html.v1-title .pc-land .kd-entry small{color:#D6D0DE!important}
/* 💬ご意見：スマホでは本文に重ねない。いちばん下のリンクの並びに置く（js/release.js） */
html.v1-title .title-foot .fb-fab{position:static!important;display:inline-flex!important;width:auto!important;height:44px!important;padding:0 14px 0 10px!important;box-shadow:inset 0 0 0 2px var(--v1-line)!important}
html.v1-title .title-foot .fb-fab::after{content:"ご意見"!important}
html.v1-title .title-foot .tf-links{align-items:center}
html.v1-title .title-foot .tf-copy{padding-left:6px}
/* 絵のキャラ（WQ.chars があるときだけ）：絵の右下に1人、診断・ガチャのカードの右に小さく。文字には重ねない */
html.v1-title .ph-ch{position:absolute;pointer-events:none;line-height:0;z-index:1}
html.v1-title .ph-ch :is(img,svg){display:block;height:100%;width:auto;max-width:none}
html.v1-title .ph-ch img{filter:var(--wq-ill-finish,saturate(1))}   /* 立ち絵の仕上げ（案C・js/v1/chars.js） */
html.v1-title .ph-ch-hero{right:3%;bottom:7%;height:64%}
html.v1-title .pc-land :is(.pc-hero,.pc-gacha){position:relative}
html.v1-title .pc-land .pc-hero .ph-ch-card{right:14px;top:14px;height:72px}
html.v1-title .pc-land .pc-hero:has(.ph-ch-card) > :is(.pc-k,b){margin-right:70px}
html.v1-title .pc-land .pc-gacha .ph-ch-card{right:14px;top:50%;transform:translateY(-50%);height:64px}
html.v1-title .pc-land .pc-gacha:has(.ph-ch-card){padding-right:84px!important}
/* 見出しは「、」のところで折り返す（「どのジョ／ブ？」のような切れ方をしない） */
html.v1-title .pc-land :is(.pc-hero > b,.qt-entry b,.pc-g > b){word-break:keep-all;overflow-wrap:anywhere}
html.v1-title .pc-games{margin-bottom:14px}
html.v1-title .pc-land .pc-lock{margin-top:0!important}
/* 友だちに教える：3つのボタンを1行に（LINE だけ次の行に落ちない） */
html.v1-title .pc-tell .pc-sharebtns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:8px}
html.v1-title .pc-tell .pc-sharebtns > *{min-width:0;padding-inline:6px!important;white-space:nowrap}
.gc-lead{word-break:keep-all;overflow-wrap:anywhere}
/* スマホ：見出しは「、」「。」のところで折り返す（1文字だけ次の行に落ちない）。戻るボタンは1行 */
html.shq-phone :is(h1,h2,h3,h4,.tp-it b){word-break:keep-all;overflow-wrap:anywhere}
html.shq-phone .tp-back{white-space:nowrap;flex:none;min-height:44px}
@media (max-width:374px){ html.v1-title .pc-land .ph-ch-card{display:none} html.v1-title .pc-land .pc-hero:has(.ph-ch-card) > :is(.pc-k,b){margin-right:0} html.v1-title .pc-land .pc-gacha:has(.ph-ch-card){padding-right:18px!important} }
