/* checklist.css — 生存チェックリスト固有スタイル */

/* 1. HERO（共通スタイルはstyle.cssの.heroを使用） */
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(22,163,74,.18); border: 1px solid rgba(22,163,74,.4); color: #86efac; font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }

/* 2. プログレスバー */
.progress-summary { max-width: 900px; margin: 0 auto; padding: 20px 24px; border-bottom: 1px solid var(--border2); }
.progress-bar-wrap { background: var(--border2); border-radius: 10px; height: 8px; overflow: hidden; margin-bottom: 6px; }
.progress-bar-fill { background: linear-gradient(90deg, #16a34a, #15803d); height: 100%; border-radius: 10px; transition: width .4s ease; }
.progress-text { font-size: 11px; color: var(--text2); display: flex; justify-content: space-between; }
.progress-num { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #16a34a; }

/* 3. PAGE */
.page { max-width: 900px; margin: 0 auto; padding: 28px 24px 60px; }
.scenario-note { background: rgba(239,68,68,.05); border: 1px solid rgba(239,68,68,.15); border-radius: 10px; padding: 14px 18px; margin-bottom: 30px; font-size: 12px; color: var(--text2); line-height: 1.7; }
.scenario-note strong { color: #dc2626; }

/* 4. カテゴリ */
.cat-block { margin-bottom: 28px; }
.cat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cat-title-wrap { display: flex; align-items: center; gap: 10px; }
.cat-icon { font-size: 18px; }
.cat-title { font-size: 14px; font-weight: 700; color: var(--text); }
.cat-scenario { font-size: 10px; color: var(--text3); margin-top: 2px; }
.cat-progress { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text2); }

/* 5. チェックアイテム */
.check-list { list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.check-item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border2); cursor: pointer; transition: background .1s; user-select: none; }
.check-item:last-child { border-bottom: none; }
.check-item:hover { background: var(--surface2); }
.check-item.done { opacity: .5; }
.check-item.done .ci-text { text-decoration: line-through; color: var(--text3); }
.ci-box { width: 18px; height: 18px; border: 1.5px solid var(--border); border-radius: 5px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: all .15s; font-size: 11px; color: transparent; }
.check-item.done .ci-box { background: #16a34a; border-color: #16a34a; color: #fff; }
.ci-body { flex: 1; min-width: 0; }
.ci-text { font-size: 13px; color: var(--text); line-height: 1.5; }
.ci-note { font-size: 11px; color: var(--text3); margin-top: 3px; line-height: 1.5; }
.priority-high { display: inline-block; font-size: 9px; font-weight: 700; background: rgba(239,68,68,.1); color: #dc2626; border-radius: 4px; padding: 1px 5px; margin-left: 6px; letter-spacing: .04em; }
.priority-med { display: inline-block; font-size: 9px; font-weight: 700; background: rgba(249,115,22,.1); color: #ea580c; border-radius: 4px; padding: 1px 5px; margin-left: 6px; letter-spacing: .04em; }

/* 6. リセットボタン */
.reset-btn { display: block; margin: 20px auto 0; background: transparent; border: 1px solid var(--border); color: var(--text3); padding: 7px 18px; border-radius: 8px; font-size: 11px; font-family: inherit; cursor: pointer; transition: all .15s; }
.reset-btn:hover { border-color: var(--text3); color: var(--text2); }

/* 7. 印刷 */
@media print { nav, .reset-btn, footer { display: none; } .check-item.done { opacity: .6; } }
