/* excel.html 「Excelの“限界度”チェック」(2026-11-19 Shusuke「全部同じフォーマットで全然面白くない」→ ページごとに作り直し)。接頭辞 ex- */
.ex-art { position: relative; background: #fff; border-radius: 28px; padding: 18px 18px 0; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.ex-illust { display: block; width: 100%; height: auto; border-radius: 18px; }
.ex-art-who { position: absolute; right: -12px; bottom: -6px; display: grid; justify-items: center; gap: 6px; }
.ex-art-who .person { width: 104px; height: auto; }
.ex-art-who .bubble { font-size: 13px; padding: 8px 12px; color: var(--ink); background: var(--yellow); white-space: nowrap; }
.ex-art-who .bubble::after { border-top-color: var(--yellow); }
.ex-art-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 120px 16px 2px; }
.ex-art-tags span { font-size: 11.5px; font-weight: 700; color: #b4561b; background: #fdf0e3; border: 1px dashed #ecc9ae; border-radius: 8px; padding: 3px 8px; }
.ex-art-tags span:nth-child(2) { transform: rotate(-3deg); } .ex-art-tags span:nth-child(3) { transform: rotate(2deg); }

/* チェックリスト */
.ex-check { padding-top: 90px; }
.ex-grid { margin-top: 50px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ex-item { position: relative; display: flex; align-items: center; gap: 14px; background: var(--paper); border: 2px solid transparent; border-radius: 18px; padding: 14px 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.ex-item:hover { border-color: var(--sky-2); }
.ex-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ex-box { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--brand); border-radius: 8px; background: #fff; transition: background .15s; }
.ex-box svg { width: 18px; height: 18px; fill: none; stroke: transparent; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ex-item input:checked ~ .ex-box { background: var(--brand); }
.ex-item input:checked ~ .ex-box svg { stroke: #fff; }
.ex-item input:focus-visible ~ .ex-box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ex-item:has(input:checked) { border-color: var(--steel); background: #f4f9fd; }
.ex-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fdf0e3; color: #b4561b; }
.ex-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ex-txt { display: grid; gap: 2px; min-width: 0; }
.ex-txt b { font: 700 15.5px/1.5 var(--font-display); color: var(--ink); }
.ex-txt small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }

/* 結果のメーター */
.ex-result { position: sticky; top: 96px; display: grid; gap: 12px; }
.ex-meter { background: var(--navy); color: #fff; border-radius: 24px; padding: 22px 24px 18px; }
.ex-count { display: flex; justify-content: space-between; align-items: baseline; }
.ex-count span { font-size: 13px; font-weight: 700; color: #c8d6e8; }
.ex-count b { font: 800 44px/1 var(--font-latin); color: var(--yellow); }
.ex-count output { font: inherit; }
.ex-count em { font-style: normal; font-size: 16px; color: #c8d6e8; margin-left: 4px; }
.ex-bar { position: relative; display: flex; gap: 3px; height: 14px; margin-top: 18px; }
.ex-bar i { border-radius: 7px; }
.ex-bar .z1 { flex: 2.5; background: #8fc9ae; } .ex-bar .z2 { flex: 3; background: var(--yellow); } .ex-bar .z3 { flex: 2.5; background: #e39a6a; }
.ex-needle { position: absolute; top: -7px; left: 0; width: 8px; height: 28px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 3px var(--navy); transform: translateX(-50%); transition: left .45s cubic-bezier(.16,1,.3,1); }
.ex-scale { position: relative; height: 18px; margin-top: 6px; font: 600 11.5px/18px var(--font-latin); color: #c8d6e8; }
.ex-scale span { position: absolute; transform: translateX(-50%); }
.ex-scale span:nth-child(1) { left: 0; transform: none; } .ex-scale span:nth-child(2) { left: 37.5%; } .ex-scale span:nth-child(3) { left: 75%; } .ex-scale span:nth-child(4) { right: 0; transform: none; }
.ex-zones { display: grid; gap: 8px; }
.ex-zone { background: var(--paper); border-radius: 16px; padding: 12px 16px; border-left: 6px solid; transition: opacity .25s, box-shadow .25s; }
.ex-zone small { font: 700 12px var(--font-latin); color: var(--ink-soft); }
.ex-zone b { display: block; font: 900 16px/1.5 var(--font-display); }
.ex-zone p { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.ex-z-ok { border-color: #1d7a52; } .ex-z-ok b { color: #1d7a52; }
.ex-z-mid { border-color: #e6c400; } .ex-z-mid b { color: var(--brand); }
.ex-z-hot { border-color: #b4561b; } .ex-z-hot b { color: #b4561b; }
/* JS が動くときだけ、いまの段階以外を薄くする (動かないときは 3 つとも読める) */
.ex-result.is-live .ex-zone { opacity: .45; }
.ex-result.is-live .ex-zone.on { opacity: 1; box-shadow: 0 10px 26px rgba(20,40,80,.12); }
.ex-col { display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 16px; padding: 12px 16px; color: var(--ink); transition: background .2s; }
.ex-col:hover { background: #f4f9fd; }
.ex-col-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--sky); color: var(--brand); }
.ex-col svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ex-col > span:nth-child(2) { flex: 1; min-width: 0; }
.ex-col small { display: block; font-size: 11.5px; font-weight: 800; color: var(--steel); }
.ex-col b { font-size: 13.5px; line-height: 1.55; color: var(--brand); }
.ex-col > svg { color: var(--steel); }

/* Excelを捨てなくていい */
.ex-keep { margin-top: 20px; }
.ex-roles { margin-top: 50px; display: grid; grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr); align-items: center; }
.ex-role { border-radius: 28px; padding: 26px 26px 22px; height: 100%; }
.ex-role > small { font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ex-role h3 { font: 900 21px/1.45 var(--font-display); margin: 2px 0 14px; }
.ex-role ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ex-role li { display: flex; gap: 12px; align-items: center; border-radius: 16px; padding: 12px 14px; }
.ex-role li b { display: block; font-size: 15px; }
.ex-role li small { display: block; font-size: 12.5px; line-height: 1.6; }
.ex-ri { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.ex-ri svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ex-sys { background: var(--navy); color: #fff; }
.ex-sys > small { color: var(--yellow); } .ex-sys h3 { color: #fff; }
.ex-sys li { background: rgba(255,255,255,.08); } .ex-sys li small { color: #c8d6e8; }
.ex-sys .ex-ri { background: var(--yellow); color: var(--navy); }
.ex-xls { background: var(--sky); color: var(--ink); }
.ex-xls > small { color: #1d7a52; } .ex-xls h3 { color: var(--brand); }
.ex-xls li { background: #fff; } .ex-xls li small { color: var(--ink-soft); }
.ex-xls .ex-ri { background: #e6f4ee; color: #1d7a52; }
.ex-link { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--steel); }
.ex-link span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sky); }
.ex-link svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ex-link em { font-style: normal; font-size: 12px; font-weight: 700; line-height: 1.5; }
.ex-voice { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 18px; }
.ex-voice .person { width: 92px; height: auto; flex: none; order: 2; }
.ex-voice .bubble { order: 1; text-align: left; }
.ex-voice .bubble::after { left: auto; right: -9px; bottom: auto; top: 50%; margin: -9px 0 0; border: 9px solid transparent; border-right: 0; border-left-color: var(--sky); }

/* 今のファイルのままで */
.ex-start { padding-block: 80px 0; }
.ex-start-box { display: grid; grid-template-columns: 76px 1fr; gap: 24px; align-items: start; background: var(--paper); border-radius: 28px; padding: 30px 32px; max-width: 900px; margin: 0 auto; }
.ex-start-ico { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--yellow); color: var(--navy); transform: rotate(-5deg); }
.ex-start-ico svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ex-start h2 { font-size: clamp(19px, 2.4vw, 23px); font-weight: 900; color: var(--brand); line-height: 1.5; }
.ex-start p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.ex-start-pts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ex-start-pts li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #1d7a52; background: #e6f4ee; border-radius: 999px; padding: 5px 14px 5px 10px; }
.ex-start-pts svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .ex-art { max-width: 440px; }
  .ex-grid { grid-template-columns: 1fr; }
  .ex-result { position: static; }
  .ex-roles { grid-template-columns: 1fr; gap: 12px; }
  .ex-link { grid-auto-flow: column; align-items: center; }
  .ex-link span { width: 44px; height: 44px; } .ex-link svg { transform: rotate(90deg); }
  .ex-link em br { display: none; }
}
@media (max-width: 560px) {
  .ex-art { padding: 12px 12px 0; }
  .ex-art-who { right: -6px; } .ex-art-who .person { width: 80px; }
  .ex-art-tags { padding-right: 90px; }
  .ex-item { padding: 12px 14px; gap: 10px; }
  .ex-ico { display: none; }
  .ex-txt b { font-size: 15px; }
  .ex-role { padding: 22px 18px 18px; }
  .ex-start-box { grid-template-columns: 1fr; padding: 24px 20px; gap: 14px; }
  .ex-start-ico { width: 60px; height: 60px; border-radius: 18px; } .ex-start-ico svg { width: 28px; height: 28px; }
  .ex-voice .person { width: 72px; }
}
