/* システム開発ページ 案C：集めるゲーム・削減シミュレーター・めくれるカード（比較用。案が決まったら、不採用の案とともに整理する） */
.apc { --apc-ink: #003040; --apc-blue: #0599d9; --apc-pink: #e96a8f; --apc-grad: linear-gradient(45deg, #e96a8f, #009ada); }

/* ---- 仕掛け1：集めるゲーム ---- */
.apc-play { position: relative; }
.apc-play__hint { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--apc-blue); text-align: center; }
.apc-field { position: relative; height: 330px; }
.apc-chip { position: absolute; left: var(--x); top: var(--y); padding: 0; border: 0; background: none; cursor: pointer; transition: transform .7s cubic-bezier(.5, 0, .2, 1), opacity .7s ease; will-change: transform; }
.apc-chip > span { display: block; padding: 12px 20px; border-radius: 14px; background: #fff; color: var(--apc-ink); font-size: 15px; font-weight: 700; letter-spacing: .06em; box-shadow: 0 10px 26px rgba(0, 48, 64, .16), 0 0 0 1.5px rgba(5, 153, 217, .25); animation: apc-bob 3.2s ease-in-out var(--d) infinite; transition: box-shadow .3s; }
.apc-chip:nth-child(odd) > span { transform: rotate(-4deg); }
.apc-chip:nth-child(even) > span { transform: rotate(3deg); }
.apc-chip:hover > span, .apc-chip:focus-visible > span { box-shadow: 0 14px 34px rgba(233, 106, 143, .35), 0 0 0 2px var(--apc-pink); }
.apc-chip:focus-visible { outline: 3px solid var(--apc-blue); outline-offset: 4px; border-radius: 16px; }
.apc-chip.is-gone { opacity: 0; pointer-events: none; }
@keyframes apc-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

.apc-win { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 24px 64px rgba(31, 63, 115, .2), 0 0 0 1px rgba(5, 153, 217, .14); }
.apc-win .ap-win__bar { display: flex; align-items: center; gap: 7px; padding: 12px 18px; background: linear-gradient(90deg, #0599d9, #7b61ff); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.apc-win .ap-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.apc-win .ap-win__bar span { margin-left: 8px; }
.apc-win__list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 64px; margin: 0; padding: 16px 18px 6px; list-style: none; }
.apc-win__list:empty::before { content: "ここに、集まります"; width: 100%; padding: 14px 0; border: 2px dashed #cfe3ee; border-radius: 12px; text-align: center; font-size: 13px; letter-spacing: .1em; color: #8aa3ae; }
.apc-win__list li { padding: 7px 14px; border-radius: 40px; background: #eaf6fc; color: #0b4f73; font-size: 13px; font-weight: 700; letter-spacing: .04em; animation: apc-pop .5s cubic-bezier(.2, .9, .3, 1.4) both; }
.apc-win__list li::before { content: "✓ "; color: var(--apc-pink); }
@keyframes apc-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.apc-meter { padding: 6px 18px 18px; }
.apc-meter p { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; }
.apc-meter b { font-size: 30px; line-height: 1; letter-spacing: .02em; }
.apc-meter b small { margin-left: 3px; font-size: 13px; }
.apc-meter__bar { height: 10px; border-radius: 10px; background: #eaf0f4; overflow: hidden; }
.apc-meter__bar i { display: block; width: 100%; height: 100%; border-radius: 10px; background: var(--apc-grad); transform-origin: left; transition: transform .8s cubic-bezier(.3, .8, .3, 1); }
.apc-win__done { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 14px 18px; background: linear-gradient(90deg, rgba(5, 153, 217, .1), rgba(233, 106, 143, .12)); animation: apc-pop .6s ease both; }
.apc-win__done[hidden] { display: none; }
.apc-win__done b { font-size: 15px; letter-spacing: .08em; }
.apc-win__done button { padding: 0; border: 0; background: none; color: var(--apc-blue); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .08em; cursor: pointer; }
.apc-win__done button:hover { text-decoration: underline; }
.apc-win__done button:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 3px; border-radius: 6px; }
.apc-win__done button span { display: inline-block; margin-left: 4px; }

/* ---- 仕掛け2：削減シミュレーター（3つの質問 → 結果） ---- */
.apc-sim { display: grid; grid-template-columns: 5fr 6fr; overflow: hidden; border-radius: 32px; background: #fff; box-shadow: 0 20px 56px rgba(0, 48, 64, .12); }
.apc-sim__in { padding: 40px 38px; background: #f4f9fc; }
.apc-sim__out { padding: 40px 44px 38px; }
.apc-q { margin-bottom: 30px; }
.apc-q__t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 12px; font-size: 16px; font-weight: 700; letter-spacing: .05em; line-height: 1.6; }
.apc-q__t b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--apc-grad); color: #fff; font-size: 14px; }
.apc-q__t small { flex-basis: 100%; padding-left: 38px; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: #6d8089; }
.apc-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.apc-preset { padding: 10px 16px; border: 1.5px solid var(--apc-blue); border-radius: 40px; background: #fff; color: #0b4f73; font: inherit; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: background .3s, color .3s, transform .3s; }
.apc-preset:hover { transform: translateY(-2px); }
.apc-preset.is-on { background: var(--apc-blue); color: #fff; }
/* 人数：－／＋ボタンと直接入力 */
.apc-step { display: inline-flex; align-items: center; gap: 10px; }
.apc-step__b { width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--apc-blue); font: inherit; font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 48, 64, .12), 0 0 0 1.5px rgba(5, 153, 217, .3); transition: transform .2s, background .3s, color .3s; }
.apc-step__b:hover { background: var(--apc-blue); color: #fff; }
.apc-step__b:active { transform: scale(.92); }
.apc-step__v { display: flex; align-items: baseline; justify-content: center; gap: 6px; min-width: 110px; padding: 6px 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px #cfe3ee; font-weight: 700; }
.apc-step__v input { width: 3.2ch; min-width: 0; padding: 0; border: 0; background: none; color: var(--apc-blue); font: inherit; font-size: 32px; text-align: right; -moz-appearance: textfield; appearance: textfield; outline: none; }
.apc-step__v input::-webkit-outer-spin-button, .apc-step__v input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.apc-step__v:focus-within { box-shadow: inset 0 0 0 2px var(--apc-blue); }
.apc-step__v span { font-size: 16px; }
/* 1日の時間：ボタンで選ぶ */
.apc-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.apc-seg__b { padding: 12px 4px; border: 0; border-radius: 14px; background: #fff; color: var(--apc-ink); font: inherit; font-size: 14.5px; font-weight: 700; letter-spacing: .02em; cursor: pointer; box-shadow: inset 0 0 0 1.5px #cfe3ee; transition: background .3s, color .3s, box-shadow .3s, transform .2s; }
.apc-seg__b:hover { box-shadow: inset 0 0 0 2px var(--apc-blue); }
.apc-seg__b[aria-pressed="true"] { background: var(--apc-grad); color: #fff; box-shadow: 0 8px 18px rgba(233, 106, 143, .3); }
.apc-preset:focus-visible, .apc-step__b:focus-visible, .apc-seg__b:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 3px; }
/* くわしく設定（折りたたみ） */
.apc-adv { margin-top: 6px; border-top: 1px solid #dbe6ed; padding-top: 16px; }
.apc-adv summary { cursor: pointer; font-size: 14px; font-weight: 700; letter-spacing: .05em; color: #0b4f73; list-style: none; }
.apc-adv summary::-webkit-details-marker { display: none; }
.apc-adv summary::before { content: "＋"; display: inline-block; width: 1.4em; color: var(--apc-pink); }
.apc-adv[open] summary::before { content: "−"; }
.apc-adv summary small { font-weight: 500; font-size: 12px; color: #6d8089; }
.apc-adv .apc-rng { margin-top: 18px; }
.apc-rng { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; margin-bottom: 16px; }
.apc-rng label { grid-area: 1 / 1; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.apc-rng output { grid-area: 1 / 2; font-size: 20px; font-weight: 700; letter-spacing: .02em; color: var(--apc-blue); font-variant-numeric: tabular-nums; }
.apc-rng input { grid-area: 2 / 1 / 3 / 3; width: 100%; height: 28px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.apc-rng input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #e96a8f, #009ada) 0 / calc(var(--p, 50) * 1%) 100% no-repeat, #dbe6ed; }
.apc-rng input::-moz-range-track { height: 8px; border-radius: 8px; background: #dbe6ed; }
.apc-rng input::-moz-range-progress { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #e96a8f, #009ada); }
.apc-rng input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border: 4px solid #fff; border-radius: 50%; background: var(--apc-pink); box-shadow: 0 3px 10px rgba(0, 48, 64, .3); }
.apc-rng input::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid #fff; border-radius: 50%; background: var(--apc-pink); box-shadow: 0 3px 10px rgba(0, 48, 64, .3); }
.apc-rng input:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 4px; border-radius: 8px; }
.apc-sim__note { margin: 14px 0 0; font-size: 12px; line-height: 1.8; letter-spacing: .04em; color: #6d8089; font-weight: 500; }

/* 結果 */
.apc-sum { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; background: #f4f9fc; font-size: 15px; line-height: 1.9; letter-spacing: .05em; }
.apc-sum b { color: var(--apc-blue); }
.apc-big { margin: 0; }
.apc-big small { display: block; font-size: 14px; letter-spacing: .1em; color: #5b6e77; }
.apc-big b { display: block; font-size: clamp(56px, 7vw, 92px); line-height: 1.1; letter-spacing: .01em; font-variant-numeric: tabular-nums; background: var(--apc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apc-big em { margin-left: 6px; font-size: 22px; font-style: normal; letter-spacing: .08em; }
.apc-eq { margin: 6px 0 22px; font-size: 16px; font-weight: 700; letter-spacing: .06em; }
/* いま／アプリのあと：横棒2本で比べる */
.apc-cmp { display: grid; gap: 12px; margin-bottom: 22px; }
.apc-cmp__row { display: grid; grid-template-columns: 110px 1fr 110px; gap: 12px; align-items: center; font-size: 13px; letter-spacing: .04em; }
.apc-cmp__row > b { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; }
.apc-cmp__bar { height: 22px; border-radius: 22px; background: #eef2f5; overflow: hidden; }
.apc-cmp__bar i { display: block; height: 100%; border-radius: 22px; transition: width 1s cubic-bezier(.3, .8, .3, 1); }
.apc-cmp__bar .b { width: 100%; background: #b9c8d1; }
.apc-cmp__bar .a { width: var(--after, 30%); min-width: 6px; background: var(--apc-grad); }
.apc-kpi { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
.apc-kpi div { padding: 14px 16px 12px; border-radius: 16px; background: #f4f9fc; }
.apc-kpi dt { margin: 0 0 6px; font-size: 12px; line-height: 1.5; letter-spacing: .04em; color: #5b6e77; }
.apc-kpi dd { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.apc-out__cta { margin: 22px 0 0; }
/* ---- めくれる業務カード ---- */
.apc-goal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.apc-card { position: relative; display: flex; flex-direction: column; }
.apc-card__face { position: relative; flex: 1; padding: 34px 28px 30px; border: 0; border-radius: 26px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 12px 36px rgba(0, 48, 64, .08); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.apc-card__face:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0, 48, 64, .14); }
.apc-card__face b { display: block; font-size: 38px; line-height: 1; background: var(--apc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apc-card__face h3 { margin: 10px 0 16px; font-size: 20px; letter-spacing: .06em; }
.apc-card__txt { position: relative; display: grid; min-height: 104px; }
.apc-card__txt > span { grid-area: 1 / 1; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.8; letter-spacing: .05em; transition: opacity .5s ease, transform .5s ease; }
.apc-card__txt small { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .14em; font-weight: 700; }
.apc-card__txt .b { background: #eef2f5; }
.apc-card__txt .b small { color: #6d8089; }
.apc-card__txt .a { background: #e9f6fd; opacity: 0; transform: translateY(14px); }
.apc-card__txt .a small { color: var(--apc-blue); }
.apc-card__face[aria-pressed="true"] .apc-card__txt .b { opacity: 0; transform: translateY(-14px); }
.apc-card__face[aria-pressed="true"] .apc-card__txt .a { opacity: 1; transform: none; }
.apc-card__face em { display: block; margin-top: 14px; font-size: 13.5px; font-style: normal; line-height: 1.9; letter-spacing: .05em; color: #4a5d66; font-weight: 500; }
.apc-card__tap { position: absolute; right: 22px; top: 26px; padding: 4px 10px; border: 1.5px solid var(--apc-pink); border-radius: 30px; font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: .14em; color: var(--apc-pink); }
.apc-card__face[aria-pressed="true"] .apc-card__tap { background: var(--apc-pink); color: #fff; }
.apc-card__calc { align-self: flex-start; margin: 12px 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--apc-blue); text-decoration: none; }
.apc-card__calc span { display: inline-block; margin-left: 4px; }
.apc-card__calc:hover { text-decoration: underline; }

/* ---- 4つの設計・流れ ---- */
.apc-think { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.apc-think__item { position: relative; padding: 36px 36px 32px 96px; border-radius: 26px; background: #fff; box-shadow: 0 12px 36px rgba(0, 48, 64, .08); }
.apc-think__item b { position: absolute; left: 32px; top: 30px; font-size: 40px; line-height: 1; background: var(--apc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apc-think__item small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--apc-blue); }
.apc-think__item h3 { margin: 6px 0 10px; font-size: 19px; line-height: 1.6; letter-spacing: .05em; }
.apc-think__item p { margin: 0; font-size: 14px; line-height: 1.95; letter-spacing: .05em; font-weight: 500; color: #3d525c; }

.apc-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.apc-flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #009ada, #e96a8f); opacity: .35; }
.apc-flow__item { position: relative; padding-top: 0; }
.apc-flow__item b { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(0, 48, 64, .14), 0 0 0 3px rgba(5, 153, 217, .25); font-size: 18px; color: var(--apc-blue); }
.apc-flow__item h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: .06em; }
.apc-flow__item p { margin: 0; font-size: 13.5px; line-height: 1.9; letter-spacing: .04em; font-weight: 500; color: #3d525c; }


/* ---- スマホ・タブレット ---- */
@media (max-width: 1024px) {
	.apc-sim { grid-template-columns: 1fr; }
	.apc-goal { grid-template-columns: repeat(2, 1fr); }
	.apc-flow { grid-template-columns: 1fr; gap: 26px; }
	.apc-flow::before { left: 27px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
	.apc-flow__item { padding-left: 76px; }
	.apc-flow__item b { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (max-width: 700px) {
	.apc-field { height: 300px; }
	.apc-chip > span { padding: 10px 14px; font-size: 13.5px; }
	.apc-sim__in, .apc-sim__out { padding: 30px 22px; }
	.apc-cmp__row { grid-template-columns: 90px 1fr 84px; gap: 8px; font-size: 12px; }
	.apc-seg { grid-template-columns: repeat(4, 1fr); }
	.apc-kpi { grid-template-columns: 1fr; }
	.apc-goal, .apc-think { grid-template-columns: 1fr; }
	.apc-think__item { padding: 30px 24px 28px 78px; }
	.apc-think__item b { left: 22px; }
}

/* 動きを減らす設定の人向け */
@media (prefers-reduced-motion: reduce) {
	.apc-chip > span { animation: none; }
	.apc-chip, .apc-meter__bar i, .apc-bar i, .apc-card__txt > span { transition: none; }
}

/* 自由入力・削減率の根拠 */
.apc-free { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #cfe3ee; }
.apc-free label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .05em; color: #0b4f73; }
.apc-free__row { display: flex; gap: 8px; }
.apc-free__row input { flex: 1; min-width: 0; padding: 13px 16px; border: 0; border-radius: 14px; background: #fff; color: var(--apc-ink); font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .03em; box-shadow: inset 0 0 0 1.5px #cfe3ee; outline: none; }
.apc-free__row input::placeholder { color: #9bb0ba; font-weight: 500; }
.apc-free__row input:focus { box-shadow: inset 0 0 0 2px var(--apc-blue); }
.apc-free__go { flex: none; padding: 0 20px; border: 0; border-radius: 14px; background: var(--apc-grad); color: #fff; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: transform .2s, box-shadow .3s; }
.apc-free__go:hover { box-shadow: 0 8px 18px rgba(233, 106, 143, .35); transform: translateY(-1px); }
.apc-free__go:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 3px; }
.apc-free__hit { margin: 10px 0 0; font-size: 13px; line-height: 1.8; letter-spacing: .04em; color: #0b4f73; font-weight: 700; }
.apc-free__hit:empty { display: none; }
.apc-free__hit.is-none { color: #c0476b; }
.apc-free__priv { margin: 8px 0 0; font-size: 11.5px; line-height: 1.7; letter-spacing: .03em; color: #6d8089; font-weight: 500; }
.apc-why { margin: 0 0 18px; padding: 16px 20px; border-radius: 16px; background: #eaf6fc; }
.apc-why__t { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; line-height: 1.7; letter-spacing: .05em; }
.apc-why__p { margin: 0; font-size: 13.5px; line-height: 1.95; letter-spacing: .04em; font-weight: 500; color: #3d525c; }
.apc-why__ul { margin: 10px 0 0; padding: 0; list-style: none; }
.apc-why__ul[hidden] { display: none; }
.apc-why__ul::before { content: "アプリでできること"; display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--apc-blue); }
.apc-why__ul li { position: relative; padding: 3px 0 3px 20px; font-size: 13.5px; line-height: 1.7; letter-spacing: .04em; font-weight: 600; }
.apc-why__ul li::before { content: "✓"; position: absolute; left: 0; color: var(--apc-pink); font-weight: 700; }
@media (max-width: 700px) {
	.apc-free__row { flex-direction: column; }
	.apc-free__go { padding: 13px 20px; }
}
/* 業務が未選択のとき：結果を薄くして、「選んでください」を目立たせる */
.apc-sim__out.is-empty .apc-big b { background: none; color: #b9c8d1; }
.apc-sim__out.is-empty .apc-kpi, .apc-sim__out.is-empty .apc-eq { opacity: .55; }
.apc-sim__out.is-empty .apc-sum { background: #fff4f7; }

/* テーマ共通の base.css は、すべての button のホバー／フォーカス時に「背景：赤紫(#c36)・文字：白」を指定している。
   このページのボタンは、その色を使わず、各自の配色を保つ（カードの説明文が白文字になって読めなくなるのを防ぐ） */
.apc .apc-chip, .apc .apc-chip:hover, .apc .apc-chip:focus { background: none; color: inherit; border: 0; }
.apc .apc-card__face, .apc .apc-card__face:hover, .apc .apc-card__face:focus { background: #fff; color: var(--apc-ink); border: 0; white-space: normal; }
.apc .apc-card__face:hover { box-shadow: 0 20px 48px rgba(0, 48, 64, .14), inset 0 0 0 2px rgba(233, 106, 143, .45); }
.apc .apc-card__face:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 3px; }
.apc .apc-preset, .apc .apc-preset:focus { background: #fff; color: #0b4f73; }
.apc .apc-preset:hover { background: #eaf6fc; color: #0b4f73; }
.apc .apc-preset.is-on, .apc .apc-preset.is-on:hover, .apc .apc-preset.is-on:focus { background: var(--apc-blue); color: #fff; }
.apc .apc-seg__b, .apc .apc-seg__b:hover, .apc .apc-seg__b:focus { background: #fff; color: var(--apc-ink); }
.apc .apc-seg__b[aria-pressed="true"], .apc .apc-seg__b[aria-pressed="true"]:hover, .apc .apc-seg__b[aria-pressed="true"]:focus { background: var(--apc-grad); color: #fff; }
.apc .apc-step__b, .apc .apc-step__b:focus { background: #fff; color: var(--apc-blue); }
.apc .apc-step__b:hover { background: var(--apc-blue); color: #fff; }
.apc .apc-free__go, .apc .apc-free__go:hover, .apc .apc-free__go:focus { background: var(--apc-grad); color: #fff; border: 0; }
.apc .apc-win__done button, .apc .apc-win__done button:hover, .apc .apc-win__done button:focus { background: none; color: var(--apc-blue); border: 0; }
/* シミュレーターの説明文：画面が広いときは、1行で表示する（狭い画面では折り返す） */
.apc .apc-sim-lead { max-width: none; white-space: nowrap; }
@media (max-width: 900px) { .apc .apc-sim-lead { white-space: normal; } }

/* 「使い方はこちら」：シミュレーターの見出しの右隣に置く、薄い灰色の文字ボタン（別タブで使い方ページを開く） */
.apc-sim-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 22px; margin: 0 0 44px; }
.apc-sim-head .ai-h { margin: 0; }
.apc .apc-howto { padding: 4px 2px; color: #8c99a1; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-decoration: none; transition: color .3s; }
.apc .apc-howto span[aria-hidden] { display: inline-block; margin-left: 4px; transition: transform .3s; }
.apc .apc-howto:hover, .apc .apc-howto:focus-visible { color: #5b6e77; text-decoration: underline; text-underline-offset: 4px; }
.apc .apc-howto:hover span[aria-hidden] { transform: translate(2px, -2px); }
.apc .apc-howto:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 3px; border-radius: 4px; }
.apc-howto__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* ================= ストーリー再構成（2026-10-20）：入口・ご相談例・最終の相談・追従ボタン ================= */
/* ヒーローの入口 */
.apc-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 30px 0 0; }
.apc .apc-ghost { padding: 12px 22px; border: 0; border-radius: 40px; background: #fff; color: #0b4f73; font-size: 14.5px; font-weight: 700; letter-spacing: .08em; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--apc-blue, #0599d9); transition: background .3s, color .3s, transform .3s; }
.apc .apc-ghost:hover, .apc .apc-ghost:focus-visible { background: var(--apc-blue, #0599d9); color: #fff; transform: translateY(-2px); }
.apc .apc-ghost:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 3px; }

/* お悩み → シミュレーターへの橋渡し */
.apc-bridge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin: 44px 0 0; padding: 26px 34px; border-radius: 26px; background: linear-gradient(135deg, #eaf6fc, #fff4f7); }
.apc-bridge p { margin: 0; font-size: clamp(15px, 1.5vw, 18px); font-weight: 700; line-height: 1.9; letter-spacing: .06em; }

/* ご相談例 */
.apc-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.apc-case { padding: 32px 34px 28px; border-radius: 26px; background: #fff; box-shadow: 0 12px 36px rgba(0, 48, 64, .08); }
.apc-case__tag { display: inline-block; margin: 0 0 14px; padding: 4px 14px; border-radius: 30px; background: #eaf6fc; color: #0b4f73; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; }
.apc-case h3 { margin: 0 0 16px; font-size: 18px; line-height: 1.7; letter-spacing: .05em; }
.apc-case small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--apc-pink, #e96a8f); }
.apc-case__do, .apc-case__to { margin: 0 0 12px; font-size: 14px; line-height: 1.9; letter-spacing: .05em; font-weight: 600; }
.apc-case__to { margin-bottom: 0; padding: 12px 16px; border-radius: 14px; background: #e9f6fd; }
.apc-case__to small { color: var(--apc-blue, #0599d9); }

/* 各セクションの終わりの、やわらかい相談の入口 */
.apc-soft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; margin: 40px 0 0; padding: 22px 32px; border-radius: 24px; background: #fff; box-shadow: 0 10px 28px rgba(0, 48, 64, .07); }
.apc-soft p { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.8; letter-spacing: .06em; }
.apc-out__handoff { margin-top: 8px; }

/* プラン：どちらが合うか */
.apc-which { margin: 30px 0 0; padding: 26px 34px; border-radius: 26px; background: linear-gradient(135deg, #eaf6fc, #fff4f7); }
.apc-which__t { margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.apc-which ul { margin: 0 0 18px; padding: 0; list-style: none; }
.apc-which li { position: relative; padding: 4px 0 4px 22px; font-size: 14.5px; line-height: 1.9; letter-spacing: .05em; font-weight: 500; }
.apc-which li::before { content: "✓"; position: absolute; left: 0; color: var(--apc-pink, #e96a8f); font-weight: 700; }
.apc-which b { font-weight: 700; color: #0b4f73; }

/* FAQのあと */
.apc-faq-cta { margin: 26px 0 0; font-size: 14.5px; letter-spacing: .06em; text-align: center; }
.apc-faq-cta a { margin-left: 10px; color: var(--apc-blue, #0599d9); font-weight: 700; text-decoration: none; }
.apc-faq-cta a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 最終の相談（3つの入口） */
.apc-final__box { padding: 56px 56px 44px; border-radius: 36px; background: linear-gradient(135deg, #0599d9, #7b61ff 60%, #e96a8f); color: #fff; box-shadow: 0 24px 60px rgba(123, 97, 255, .3); }
.apc-final__en { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .3em; opacity: .85; }
.apc-final h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 38px); line-height: 1.5; font-weight: 700; letter-spacing: .05em; }
.apc-final__lead { margin: 0 0 30px; font-size: 15.5px; line-height: 2; letter-spacing: .06em; font-weight: 500; }
.apc-final__ways { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }   /* 電話カードを外したため2列（2026-10-20） */
.apc .apc-way { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .16); color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); transition: background .3s, transform .3s, color .3s; }
.apc .apc-way small { font-size: 11px; font-weight: 700; letter-spacing: .22em; opacity: .85; }
.apc .apc-way b { font-size: 20px; letter-spacing: .05em; }
.apc .apc-way span { font-size: 13px; letter-spacing: .05em; opacity: .9; }
.apc .apc-way:hover, .apc .apc-way:focus-visible { background: rgba(255, 255, 255, .3); transform: translateY(-3px); }
.apc .apc-way--main { background: #fff; color: #0b4f73; box-shadow: 0 12px 30px rgba(0, 48, 64, .25); }
.apc .apc-way--main small { color: var(--apc-pink, #e96a8f); opacity: 1; }
.apc .apc-way--main:hover, .apc .apc-way--main:focus-visible { background: #fff; color: #0b4f73; }
.apc .apc-way:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.apc-final__note { margin: 22px 0 0; font-size: 13px; letter-spacing: .05em; opacity: .9; }

/* 追従する相談ボタン（ヒーローを過ぎたら表示。最終の相談が見えたら隠す） */
.apc .apc-fab { position: fixed; right: 24px; bottom: 24px; z-index: 50; padding: 14px 26px; border-radius: 40px; background: linear-gradient(45deg, #e96a8f, #009ada); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-decoration: none; box-shadow: 0 14px 34px rgba(0, 48, 64, .3); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s; }
.apc .apc-fab span { margin-left: 6px; }
.apc .apc-fab.is-show { opacity: 1; transform: none; pointer-events: auto; }
.apc .apc-fab:hover, .apc .apc-fab:focus-visible { filter: brightness(1.06); }
.apc .apc-fab:focus-visible { outline: 3px solid rgba(5, 153, 217, .6); outline-offset: 3px; }

@media (max-width: 1024px) {
	.apc-cases { grid-template-columns: 1fr; }
	.apc-final__ways { grid-template-columns: 1fr; }
	.apc-final__box { padding: 40px 30px 34px; }
}
@media (max-width: 700px) {
	.apc-bridge, .apc-soft, .apc-which { padding: 22px 22px; }
	.apc-case { padding: 26px 24px 24px; }
	.apc .apc-fab { right: 14px; bottom: 14px; padding: 12px 20px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.apc .apc-fab { transition: none; }
}
/* シミュレーター結果の「この条件で、相談する」：矢印の丸を、鮮やかな色にして、目立たせる */
.apc-out__cta .sh-more { font-weight: 700; color: #b8174a; }
.apc-out__cta .sh-arrow { background: linear-gradient(135deg, #ff2d6f, #ff8a1f); box-shadow: 0 10px 26px rgba(255, 45, 111, .5); animation: apc-cta-pulse 2s ease-out infinite; }
.apc-out__cta .sh-more:hover .sh-arrow, .apc-out__cta .sh-more:focus-visible .sh-arrow { transform: scale(1.12); box-shadow: 0 12px 32px rgba(255, 45, 111, .65); }
@keyframes apc-cta-pulse { 0% { box-shadow: 0 10px 26px rgba(255, 45, 111, .5), 0 0 0 0 rgba(255, 45, 111, .55); } 70% { box-shadow: 0 10px 26px rgba(255, 45, 111, .5), 0 0 0 16px rgba(255, 45, 111, 0); } 100% { box-shadow: 0 10px 26px rgba(255, 45, 111, .5), 0 0 0 0 rgba(255, 45, 111, 0); } }
@media (prefers-reduced-motion: reduce) { .apc-out__cta .sh-arrow { animation: none; } }