/*
 * 適職診断（japan-ems.jp /tekishoku/）
 * テーマの assets/css/tekishoku.css に置く。すべて #tekishoku 配下にスコープ。
 * 注意: テーマは html が 62.5%（1rem=10px）・body が text-align:center / line-height:2 / letter-spacing:.5px
 *       なので、ここでは px 指定で書き、.tks の先頭で打ち消している。
 */

#tekishoku .tks {
	--tks-blue: #01A0E9;      /* 1.png〜6.png から採取 */
	--tks-green: #9ECA4F;     /* 8.png から採取 */
	--tks-orange: #FF751F;    /* 10.png から採取 */
	--tks-green-tx: #8EC322;  /* 設問の「B」の文字色（4.svg より） */
	--tks-pale: #6BCDFF;      /* 薄い青（進捗のピル）*/
	--tks-ink: #111;
	--tks-line: #dcdcdc;
	--tks-star: #FFBD59;
	--tks-font-round: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
	--tks-bg: var(--tks-blue);

	background: var(--tks-bg);
	padding: 40px 0 88px;
	text-align: left;
	line-height: 1.7;
	letter-spacing: 0;
	font-size: 16px;
	font-feature-settings: normal;
	color: var(--tks-ink);
	transition: background-color .35s ease;
}
#tekishoku .tks[data-theme="a"] { --tks-bg: var(--tks-blue); }
#tekishoku .tks[data-theme="b"] { --tks-bg: var(--tks-green); }
#tekishoku .tks[data-theme="c"] { --tks-bg: var(--tks-orange); }

#tekishoku .tks *,
#tekishoku .tks *::before,
#tekishoku .tks *::after { box-sizing: border-box; }

/* リセットは :where() でspecificity 0 にし、下の個別指定が必ず勝つようにする */
#tekishoku .tks :where(p, h1, h2, h3, h4, ul, li, fieldset) { margin: 0; padding: 0; }
#tekishoku .tks :where(ul) { list-style: none; }
#tekishoku .tks :where(h1, h2, h3, h4) { font-weight: 700; line-height: 1.4; letter-spacing: 0; }
#tekishoku .tks :where(img) { max-width: 100%; height: auto; vertical-align: middle; }
#tekishoku .tks :where(button) { font: inherit; letter-spacing: 0; color: inherit; cursor: pointer; }
#tekishoku .tks [hidden] { display: none !important; }
#tekishoku .tks :focus-visible { outline: 3px solid #111; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
#tekishoku .tks h1:focus, #tekishoku .tks h2:focus, #tekishoku .tks h3:focus { outline: none; }

#tekishoku .tks-sr {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

#tekishoku .tks__inner { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 16px; }

#tekishoku .tks-card {
	width: 100%;
	background: #fff;
	border-radius: 56px;
}

/* ---------- 進捗 ---------- */
#tekishoku .tks-progress {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	margin: 0 0 22px;
	color: #fff;
}
#tekishoku .tks-progress__ttl { font-family: var(--tks-font-round); font-weight: 700; font-size: 26px; line-height: 1.2; }
#tekishoku .tks-progress__pill {
	display: inline-block; min-width: 76px; padding: 3px 20px; text-align: center;
	background: var(--tks-pale); border: 2px solid #fff; border-radius: 999px;
	color: #fff; font-weight: 700; font-size: 20px; line-height: 1.4;
}

/* ---------- 開始画面 ---------- */
#tekishoku .tks-start { position: relative; max-width: 850px; margin: 60px auto 0; border-radius: 52px; }
#tekishoku .tks-start__body { position: relative; padding: 76px 24px 30px; text-align: center; }
#tekishoku .tks-start__bubble {
	position: absolute; left: 36px; top: -52px; width: 240px; margin: 0;
	display: flex; align-items: center; justify-content: center;
	transform: rotate(-2deg);
}
#tekishoku .tks-start__bubble img { display: block; width: 100%; }
#tekishoku .tks-start__bubble span {
	/* 楕円の本体（しっぽを除いた部分）の中心に置く */
	position: absolute; left: 0; right: 4%; top: 44%; transform: translateY(-50%); text-align: center;
	font-family: var(--tks-font-round); font-weight: 700; font-size: 22px; line-height: 1.2; color: #111;
}
#tekishoku .tks-start__bulb { position: absolute; right: 13%; top: 46px; width: 112px; height: auto; }
#tekishoku .tks-start__lead {
	font-family: var(--tks-font-round); font-weight: 700; color: var(--tks-orange);
	font-size: 25px; line-height: 1.45; margin-top: 14px;
}
#tekishoku .tks-start__ttl {
	font-family: var(--tks-font-round); font-weight: 900; color: var(--tks-orange);
	font-size: 88px; line-height: 1.15; letter-spacing: 0; margin: 6px 0 36px;
}
#tekishoku .tks-btn-start {
	display: inline-block; min-width: 372px; padding: 32px 40px;
	background: #0396E0; color: #fff; border: 0; border-radius: 999px;
	font-family: var(--tks-font-round); font-weight: 700; font-size: 38px; line-height: 1.2; letter-spacing: .12em;
	transition: background-color .2s, transform .2s;
}
#tekishoku .tks-btn-start:hover { background: #0284C4; }
#tekishoku .tks-start__logo { margin-top: 22px; line-height: 1; }
#tekishoku .tks-start__logo img { width: 190px; height: auto; }

/* ---------- 画面切り替えの動き ---------- */
#tekishoku .tks-screen { animation: tks-in .28s ease both; }
@keyframes tks-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 質問 ---------- */
#tekishoku .tks-q {
	max-width: 940px; margin: 0 auto;
	padding: 52px 52px 52px 40px;
	display: grid; grid-template-columns: 36% 1fr; gap: 28px; align-items: center;
}
#tekishoku .tks-q__img { text-align: center; }
#tekishoku .tks-q__img img { max-height: 320px; width: auto; max-width: 100%; }
#tekishoku .tks-q__ttl {
	display: flex; gap: .4em; align-items: baseline;
	font-size: 19px; line-height: 1.55; margin: 0 0 26px;
}
#tekishoku .tks-q__no { flex: none; }
/* PCは区切りごとに改行。スマホは区切りの位置でだけ折り返す */
#tekishoku .tks-q__seg { display: block; }
#tekishoku .tks-choices { display: grid; gap: 18px; }
#tekishoku .tks-choice {
	display: flex; align-items: center; gap: 18px; width: 100%; min-height: 66px;
	padding: 10px 26px; text-align: left;
	background: #fff; border: 1.5px solid var(--tks-line); border-radius: 999px;
	font-size: 16px; line-height: 1.5;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
#tekishoku .tks-choice:hover { border-color: #9aa6ad; }
/* 文節の途中で改行しない（改行位置は tekishoku.js の choices の「|」＝<wbr>。1文節が1行に収まらないときだけ途中で折る） */
#tekishoku .tks-choice__txt { word-break: keep-all; overflow-wrap: anywhere; }
#tekishoku .tks-choice__key { flex: none; width: 1.2em; font-size: 30px; line-height: 1; font-weight: 500; text-align: center; }
#tekishoku .tks-key--a { color: var(--tks-blue); }
#tekishoku .tks-key--b { color: var(--tks-green-tx); }
#tekishoku .tks-key--c { color: var(--tks-orange); }
#tekishoku .tks-choice[data-key="a"].is-selected { border-color: var(--tks-blue); background: #E6F6FE; box-shadow: 0 0 0 2px var(--tks-blue) inset; }
#tekishoku .tks-choice[data-key="b"].is-selected { border-color: var(--tks-green-tx); background: #F1F8E2; box-shadow: 0 0 0 2px var(--tks-green-tx) inset; }
#tekishoku .tks-choice[data-key="c"].is-selected { border-color: var(--tks-orange); background: #FFF0E6; box-shadow: 0 0 0 2px var(--tks-orange) inset; }

#tekishoku .tks-nav { max-width: 940px; margin: 20px auto 0; display: flex; justify-content: flex-start; }
#tekishoku .tks-nav--again { justify-content: center; margin-top: 8px; }
#tekishoku .tks-back,
#tekishoku .tks-btn-again {
	min-height: 52px; padding: 10px 34px; background: #fff; color: #111;
	border: 0; border-radius: 999px; font-weight: 700; font-size: 18px; line-height: 1.3;
	transition: transform .15s, box-shadow .15s;
}
#tekishoku .tks-back::before { content: "‹"; display: inline-block; margin-right: .5em; font-size: 1.2em; line-height: 1; }
#tekishoku .tks-back:hover,
#tekishoku .tks-btn-again:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
#tekishoku .tks-btn-again { min-height: 60px; padding: 14px 48px; font-size: 20px; }

/* ---------- Q6 保有資格 ---------- */
#tekishoku .tks-q--held { display: block; padding: 52px 48px 48px; }
#tekishoku .tks-q--held .tks-q__main { max-width: 720px; margin: 0 auto; }
#tekishoku .tks-hint { font-size: 14px; color: #444; margin: -10px 0 20px; line-height: 1.6; }
#tekishoku .tks-held { border: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#tekishoku .tks-check {
	display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px;
	background: #fff; border: 1.5px solid var(--tks-line); border-radius: 999px;
	font-size: 15px; line-height: 1.45; cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
#tekishoku .tks-check:hover { border-color: #9aa6ad; }
#tekishoku .tks-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #0396E0; cursor: pointer; }
#tekishoku .tks-check.is-checked { border-color: var(--tks-blue); background: #E6F6FE; box-shadow: 0 0 0 2px var(--tks-blue) inset; }
#tekishoku .tks-check--none { grid-column: 1 / -1; }
#tekishoku .tks-held__go { margin-top: 30px; text-align: center; }
#tekishoku .tks-btn-go {
	min-width: 280px; min-height: 60px; padding: 14px 40px;
	background: #0396E0; color: #fff; border: 0; border-radius: 999px;
	font-family: var(--tks-font-round); font-weight: 700; font-size: 22px; letter-spacing: .08em;
	transition: background-color .2s;
}
#tekishoku .tks-btn-go:hover:not(:disabled) { background: #0284C4; }
#tekishoku .tks-btn-go:disabled { background: #c3ccd2; color: #fff; cursor: not-allowed; }

/* ---------- 結果 ---------- */
#tekishoku .tks-res {
	--c: var(--tks-blue); --c-tx: var(--tks-blue);
	position: relative; max-width: 1000px; margin: 0 auto 32px; padding: 48px 48px 40px;
	text-align: center; scroll-margin-top: 90px;
}
#tekishoku .tks-res--a { --c: var(--tks-blue); --c-tx: var(--tks-blue); }
#tekishoku .tks-res--b { --c: var(--tks-green); --c-tx: var(--tks-green-tx); }
#tekishoku .tks-res--c { --c: var(--tks-orange); --c-tx: var(--tks-orange); }
#tekishoku .tks-res.is-switched { animation: tks-in .35s ease both; }
#tekishoku .tks-res__h {
	display: inline-block; max-width: 100%; padding: 0 8px 14px; margin: 0;
	border-bottom: 4px solid #111; width: 580px;
	font-family: var(--tks-font-round); font-weight: 700; font-size: 40px; line-height: 1.3;
}
#tekishoku .tks-letter { color: var(--c-tx); font-weight: 700; }
#tekishoku .tks-res__role { margin: 20px 0 8px; font-size: 16px; }
#tekishoku .tks-res__name {
	display: inline-block; max-width: 100%; padding: 4px 40px 8px; border: 6px solid #111;
	font-family: var(--tks-font-round); font-weight: 700; font-size: 56px; line-height: 1.35;
}
#tekishoku .tks-res__chara { margin: 22px 0 18px; }
#tekishoku .tks-res__chara img { height: 290px; width: auto; max-width: 100%; }
#tekishoku .tks-res__catch { margin: 0 0 14px; color: var(--c-tx); font-weight: 700; font-size: 21px; line-height: 1.6; }
#tekishoku .tks-res__desc { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.9; }

#tekishoku .tks-detail { margin-top: 44px; text-align: left; }
#tekishoku .tks-detail__h {
	display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: 22px;
}
#tekishoku .tks-detail__h::before { content: ""; flex: none; width: 12px; height: 56px; border-radius: 8px; background: var(--c); }
#tekishoku .tks-ic { flex: none; color: var(--c); }

/* 見出しを枠の上辺に重ね、見出しの右に続く線＝枠の上辺にする（デザイン 7.png） */
#tekishoku .tks-box {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	margin-top: 14px; padding: 30px 24px 22px;
	border: 2px solid var(--tks-line); border-radius: 18px;
}
#tekishoku .tks-box__label {
	position: absolute; left: -14px; top: 0; transform: translateY(-50%);
	display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 14px 0 0;
	background: #fff; font-size: 16px; line-height: 1.4; letter-spacing: .25em;
}
#tekishoku .tks-box__body { flex: 1; margin: 0; font-size: 15px; line-height: 1.9; }
#tekishoku .tks-box--job .tks-box__body { padding: 0 6px; }
#tekishoku .tks-box__body--c,
#tekishoku .tks-quals { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 70px; }
#tekishoku .tks-note { display: block; margin-top: 2px; font-size: 11px; color: #555; line-height: 1.4; }
#tekishoku .tks-quals li { padding-left: 1em; text-indent: -1em; }
#tekishoku .tks-quals li::before { content: "・"; }
#tekishoku .tks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }

#tekishoku .tks-stars { display: inline-flex; gap: 4px; }
#tekishoku .tks-stars svg { width: 36px; height: 36px; }
#tekishoku .tks-stars .on { fill: var(--tks-star); stroke: var(--tks-star); stroke-width: 1; stroke-linejoin: round; }
#tekishoku .tks-stars .off { fill: #fff; stroke: #333; stroke-width: 1; stroke-linejoin: round; }

#tekishoku .tks-rec { margin-top: 34px; }
#tekishoku .tks-rec__h { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 14px; }
#tekishoku .tks-rec__list { display: flex; flex-wrap: wrap; gap: 14px 18px; }
#tekishoku .tks-rec__list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
#tekishoku .tks-rec__tag {
	display: inline-block; padding: 1px 14px; background: var(--c); color: #111;
	border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.7;
}
#tekishoku .tks-rec__btn {
	position: relative; display: flex; align-items: center; min-height: 58px; height: 100%;
	padding: 10px 52px 10px 28px; background: #fff; color: #111;
	border: 2px solid #111; border-radius: 12px; font-size: 16px; line-height: 1.45;
	transition: box-shadow .15s, transform .15s;
}
#tekishoku .tks-rec__btn::before { content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 28px; margin-top: -14px; border-radius: 3px; background: var(--c); }
#tekishoku .tks-rec__btn::after {
	content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -6px;
	border-top: 2px solid #999; border-right: 2px solid #999; transform: rotate(45deg);
	transition: transform .2s, border-color .2s;
}
#tekishoku .tks-rec__btn:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
#tekishoku .tks-rec__btn:hover::after { transform: translateX(5px) rotate(45deg); border-color: #111; }

/* ---------- 結果の演出 ---------- */
/* 診断中 */
#tekishoku .tks-loading { max-width: 640px; margin: 0 auto; padding: 56px 24px 52px; text-align: center; }
#tekishoku .tks-loading__bulb { width: 96px; height: auto; animation: tks-blink 1.1s ease-in-out both; }
#tekishoku .tks-loading__txt { margin: 14px 0 6px; font-family: var(--tks-font-round); font-weight: 700; font-size: 30px; letter-spacing: .1em; }
#tekishoku .tks-loading__sub { margin: 0; font-size: 15px; color: #444; }
#tekishoku .tks-dots i { font-style: normal; display: inline-block; animation: tks-dot .9s ease-in-out infinite; }
#tekishoku .tks-dots i:nth-child(2) { animation-delay: .15s; }
#tekishoku .tks-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tks-dot { 0%, 100% { transform: none; opacity: .3; } 40% { transform: translateY(-6px); opacity: 1; } }
@keyframes tks-blink {
	0% { opacity: 0; transform: scale(.85); filter: none; }
	35% { opacity: 1; transform: scale(1); }
	55% { filter: drop-shadow(0 0 14px #FFD84D) drop-shadow(0 0 4px #FFD84D); }
	100% { filter: none; }
}

/* タイプ名をスタンプのように押し、キャラを下から出す */
#tekishoku .tks-res.is-intro .tks-res__name { animation: tks-stamp .5s cubic-bezier(.2, 1.3, .4, 1) .15s both; }
#tekishoku .tks-res.is-intro .tks-res__chara img { animation: tks-rise .55s cubic-bezier(.2, 1, .4, 1) .55s both; }
#tekishoku .tks-res.is-intro .tks-res__catch { animation: tks-in .4s ease .9s both; }
@keyframes tks-stamp {
	0% { opacity: 0; transform: scale(1.9) rotate(-8deg); }
	55% { opacity: 1; transform: scale(.94) rotate(0); }
	100% { opacity: 1; transform: none; }
}
@keyframes tks-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

/* 挑戦難易度：★を左から1つずつ点ける */
#tekishoku .tks-stars.tks-anim .on { transition: fill .2s var(--d), stroke .2s var(--d); }
#tekishoku .tks-stars.tks-anim:not(.is-in) .on { fill: #fff; stroke: #333; }
#tekishoku .tks-stars.tks-anim.is-in svg:has(.on) { animation: tks-pop .35s ease var(--d) both; }
@keyframes tks-pop { 0%, 100% { transform: none; } 50% { transform: scale(1.35); } }

/* スマホ：講習会ボタンが画面に入ったら一度だけ光らせる */
@media (hover: none) {
	#tekishoku .tks-rec__list.is-in .tks-rec__btn { animation: tks-glow 1.1s ease .2s 1 both; }
	#tekishoku .tks-rec__list.is-in li:nth-child(2) .tks-rec__btn { animation-delay: .4s; }
	#tekishoku .tks-rec__list.is-in li:nth-child(3) .tks-rec__btn { animation-delay: .6s; }
}
@keyframes tks-glow {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 70%, transparent); }
	100% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--c) 0%, transparent); }
}

#tekishoku .tks-res__more { margin-top: 28px; text-align: right; }
#tekishoku .tks-pill-link {
	display: inline-block; padding: 8px 28px; border: 3px solid #111; border-radius: 999px;
	background: #fff; color: #111; font-weight: 700; font-size: 17px; line-height: 1.5;
}
#tekishoku .tks-pill-link:hover { background: #111; color: #fff; }

/* ---------- 資格を活かせるお仕事一覧 ---------- */
#tekishoku .tks-jobs { max-width: 1000px; margin: 0 auto 28px; padding: 40px 36px 40px; scroll-margin-top: 90px; }
#tekishoku .tks-jobs__ttl { text-align: center; margin: 0 0 30px; }
#tekishoku .tks-jobs__ttl span {
	display: inline-block; padding: 6px 40px; border: 3px solid #111; border-radius: 999px;
	font-family: var(--tks-font-round); font-weight: 700; font-size: 26px; line-height: 1.5;
}
#tekishoku .tks-jobs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#tekishoku .tks-job {
	--c: var(--tks-blue);
	display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%;
	padding: 18px 12px 20px; background: #fff; text-align: center;
	border: 8px solid var(--c); border-radius: 36px;
	transition: transform .2s, box-shadow .2s;
}
#tekishoku .tks-job--a { --c: #5CB6E6; }
#tekishoku .tks-job--b { --c: #9ECA4F; }
#tekishoku .tks-job--c { --c: #FF914D; }
#tekishoku .tks-job:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
#tekishoku .tks-job__role { font-size: 13px; line-height: 1.5; }
#tekishoku .tks-job__own {
	display: inline-block; margin: -4px 0 6px; padding: 2px 14px; border-radius: 999px;
	background: var(--c); color: #fff; font-weight: 700; font-size: 13px; line-height: 1.6;
}
/* いま上に表示しているタイプのカード */
#tekishoku .tks-job[aria-current] { background: color-mix(in srgb, var(--c) 10%, #fff); }
#tekishoku .tks-job__name { margin-top: 6px; font-family: var(--tks-font-round); font-weight: 700; font-size: 28px; line-height: 1.3; }
#tekishoku .tks-job__more { margin-top: 6px; font-size: 14px; font-weight: 500; }
#tekishoku .tks-job__more::after { content: " ›"; }
#tekishoku .tks-job__img { height: 190px; width: auto; margin: 14px 0 14px; }
#tekishoku .tks-job__lv { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 2px; }
#tekishoku .tks-job__lvlabel { display: inline-block; padding: 0 8px; border: 1px solid #333; border-radius: 999px; font-size: 11px; line-height: 1.6; }
#tekishoku .tks-job__lv .tks-stars { gap: 2px; }
#tekishoku .tks-job__lv .tks-stars svg { width: 30px; height: 30px; }

#tekishoku .tks-noscript { max-width: 640px; margin: 24px auto 0; padding: 20px; background: #fff; border-radius: 16px; }

/* ---------- スマホ（〜767px）：こちらで設計 ---------- */
@media screen and (max-width: 767px) {
	#tekishoku .tks { padding: 24px 0 64px; }
	#tekishoku .tks__inner { padding: 0 16px; }
	#tekishoku .tks-card { border-radius: 32px; }

	#tekishoku .tks-progress { margin-bottom: 16px; gap: 10px; }
	#tekishoku .tks-progress__ttl { font-size: 20px; }
	#tekishoku .tks-progress__pill { font-size: 16px; min-width: 64px; padding: 1px 14px; }

	#tekishoku .tks-start { margin-top: 44px; border-radius: 32px; }
	#tekishoku .tks-start__body { padding: 70px 16px 24px; }
	#tekishoku .tks-start__bubble { left: 12px; top: -36px; width: 156px; }
	#tekishoku .tks-start__bubble span { font-size: 14px; }
	#tekishoku .tks-start__bulb { right: 12px; top: 22px; width: 64px; }
	#tekishoku .tks-start__lead { font-size: 17px; margin-top: 18px; }
	#tekishoku .tks-start__ttl { font-size: 56px; margin: 4px 0 26px; }
	#tekishoku .tks-btn-start { display: block; width: 100%; min-width: 0; padding: 20px 16px; font-size: 26px; }
	#tekishoku .tks-start__logo img { width: 160px; }

	#tekishoku .tks-q { display: block; padding: 22px 16px 22px; }
	#tekishoku .tks-q__img { margin-bottom: 12px; }
	#tekishoku .tks-q__img img { height: 120px; width: auto; max-height: none; }
	#tekishoku .tks-q__ttl { font-size: 17px; margin-bottom: 16px; }
	/* 1行に収まらない区切りは文節で折り返す（Chrome系。非対応ブラウザは通常の折り返し） */
	#tekishoku .tks-q__seg { display: inline-block; word-break: auto-phrase; }
	#tekishoku .tks-choices { gap: 12px; }
	#tekishoku .tks-choice { min-height: 56px; padding: 10px 18px; gap: 12px; border-radius: 28px; font-size: 15px; }
	#tekishoku .tks-choice__key { font-size: 26px; }
	#tekishoku .tks-nav { margin-top: 16px; }

	#tekishoku .tks-q--held { padding: 24px 16px 24px; }
	#tekishoku .tks-hint { margin-top: -6px; }
	#tekishoku .tks-held { grid-template-columns: 1fr; gap: 10px; }
	#tekishoku .tks-check { min-height: 52px; border-radius: 28px; padding: 8px 16px; }
	#tekishoku .tks-held__go { margin-top: 22px; }
	#tekishoku .tks-btn-go { width: 100%; min-width: 0; }

		#tekishoku .tks-res { padding: 28px 16px 24px; margin-bottom: 20px; }
	#tekishoku .tks-res__h { font-size: 22px; width: 100%; padding: 0 0 10px; border-bottom-width: 3px; }
	#tekishoku .tks-res__role { margin-top: 16px; font-size: 14px; }
	#tekishoku .tks-res__name { font-size: 30px; border-width: 4px; padding: 2px 16px 6px; }
	#tekishoku .tks-res__chara { margin: 16px 0 12px; }
	#tekishoku .tks-res__chara img { height: 220px; }
	#tekishoku .tks-res__catch { font-size: 17px; }
	#tekishoku .tks-res__desc { font-size: 15px; text-align: left; }
	#tekishoku .tks-br { display: none; }

	#tekishoku .tks-detail { margin-top: 32px; }
	#tekishoku .tks-detail__h { font-size: 19px; margin-bottom: 14px; }
	#tekishoku .tks-detail__h::before { height: 40px; width: 10px; }
	#tekishoku .tks-box { padding: 26px 16px 16px; }
	#tekishoku .tks-box__label { left: -8px; padding-right: 10px; }
	#tekishoku .tks-box--job .tks-box__body { padding: 0; }
	#tekishoku .tks-box__body--c,
	#tekishoku .tks-quals { min-height: 56px; }
	#tekishoku .tks-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 20px; }
	#tekishoku .tks-stars svg { width: 34px; height: 34px; }

	#tekishoku .tks-rec { margin-top: 28px; }
	#tekishoku .tks-rec__list { flex-direction: column; gap: 12px; }
	#tekishoku .tks-rec__list li { align-items: stretch; }
	#tekishoku .tks-rec__tag { align-self: flex-start; }
	#tekishoku .tks-rec__btn { min-height: 56px; }
	#tekishoku .tks-res__more { text-align: center; margin-top: 22px; }

	#tekishoku .tks-jobs { padding: 28px 16px 28px; }
	#tekishoku .tks-jobs__ttl { margin-bottom: 20px; }
	#tekishoku .tks-jobs__ttl span { padding: 4px 18px; font-size: 18px; border-width: 2px; }
	#tekishoku .tks-jobs__list { grid-template-columns: 1fr; gap: 18px; }
	#tekishoku .tks-job { border-width: 6px; border-radius: 28px; padding: 16px 12px 16px; }
	#tekishoku .tks-job__img { height: 150px; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
	#tekishoku .tks,
	#tekishoku .tks * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	#tekishoku .tks-job:hover { transform: none; }
}
