/* 一覧表の追加（sheets_ichiran2.js・2026-11-22 夜）：自火報その７・ガス漏れその４・防排煙その３・自家発の交換・整備履歴表、行の並べ替え、器種名の選択肢 */

/* 様式番号・右上の名前：FireNET の字の下端（その７・ガス漏れ 18.7mm、防排煙 18.1mm） */
.pg.i2 .pno.i2t, .pg.i2 .pnr.i2t { top: 15.4mm; }
.pg.i2b3 .pnr.i2t { top: 14.8mm; }
/* 欄外の注記（9pt・行送り 3.17mm、番号 30.1mm・本文 36.4mm） */
.pg.i2 .pnote.i2n { position: absolute; left: 20mm; width: 185mm; margin: 0; font-size: 9pt; line-height: 3.17mm; letter-spacing: 0; }
.pg.i2 .pnote.i2n .nl + .nl { margin-top: 0; }
.pg.i2 .pnote.i2n .nh { width: 10.1mm; }
.pg.i2 .pnote.i2n .nn { width: 6.3mm; }

/* 表（見出しは 10pt・縦書きは1字ずつ） */
.pg.i2 table.lstg th { font-size: 10pt; line-height: 1.05; padding: 0; text-align: center; overflow: hidden; }
.pg.i2 table.lstg th.vtt { font-size: 9.5pt; line-height: 1.05; letter-spacing: 0; white-space: nowrap; }
.pg.i2 table.lstg th.vtt.jv { text-align: justify; text-align-last: justify; padding: 1mm 0; }
.pg.i2 table.lstg th .s9 { font-size: 8.5pt; }
.pg.i2 table.lstg th .s6 { font-size: 7pt; }
.pg.i2 table.lstg tr.unit th { font-size: 8.5pt; white-space: nowrap; }
.pg.i2 table.lstg td.c { font-size: 9pt; padding: 0 0.6mm; white-space: nowrap; overflow: hidden; }
.pg.i2 table.lstg td.c.ctr { text-align: center; padding: 0; }
.pg.i2 table.lstg td.c.num { text-align: right; }
.pg.i2 table.lstg td.c.wr { white-space: normal; line-height: 1.12; word-break: break-all; }
.pg.i2 table.lstg td.c.j { font-size: 11pt; text-align: center; padding: 0; }
.pg.i2 table.lstg tr.i2tot th, .pg.i2 table.lstg tr.i2tot td { font-size: 10pt; text-align: center; padding: 0; }
.pg.i2 table.lstg th.i2bk { writing-mode: vertical-rl; text-orientation: upright; text-align: justify; text-align-last: justify; padding: 6mm 0 !important; font-size: 10pt; }
.pg.i2 table.lstg td.lbiko { vertical-align: top; padding: 1mm 1.5mm; white-space: pre-wrap; font-size: 10pt; line-height: 1.3; }
.pg.i2 table.lstg td.lbiko textarea { width: 100%; height: 60mm; resize: none; font-size: 10pt; line-height: 1.3; }
.pg.i2s7 table.lstg td.c.wr, .pg.i2g4 table.lstg td.c.wr, .pg.i2b3 table.lstg td.c.wr { font-size: 9.5pt; }

/* 自家発電設備の交換・整備履歴表 */
.pg.jr table.f { width: 185mm; table-layout: fixed; border-collapse: collapse; }
.pg.jr table.f + table.f { margin-top: -0.35mm; }
.pg.jr table.f th, .pg.jr table.f td { font-size: 10pt; line-height: 1.15; padding: 0 0.8mm; font-weight: 400; overflow: hidden; white-space: nowrap; }
.pg.jr table.jrt th { font-size: 10pt; line-height: 4.6mm; text-align: center; }
.pg.jr table.jrh th { text-align: center; padding: 0; }
.pg.jr table.jrh td { padding: 0 1mm; }
.pg.jr table.jrh td .fi { width: 70%; }
.pg.jr .jrk { display: inline-block; width: 10mm; }
.pg.jr .jrk2 { display: inline-block; width: 14.7mm; }
.pg.jr .jrk2.j3 { padding-left: 1.8mm; width: 12.9mm; }
.pg.jr td.jra { vertical-align: top; padding-top: 0.6mm; }
.pg.jr td.jra .jrtel { text-align: right; padding-right: 15mm; margin-top: 1.4mm; }
.pg.jr td.jra .jrtel .jrk { width: 8.5mm; }
.pg.jr table.jrb th { text-align: center; padding: 0; line-height: 1.12; }
.pg.jr table.jrb th.jrp { padding: 0 1mm; }
.pg.jr table.jrb th.jrg { line-height: 1.25; }
.pg.jr table.jrb th.jrs { writing-mode: vertical-rl; text-orientation: upright; font-size: 10pt; letter-spacing: 0; }
.pg.jr table.jrb td.c { font-size: 10pt; padding: 0 1mm; }
.pg.jr table.jrb td.c.ctr { text-align: center; padding: 0; }
.pg.jr table.jrb td.c.wr { white-space: normal; line-height: 1.1; font-size: 9.5pt; }
.pg.jr table.jrb td.c.jrj { font-size: 11pt; }
.pg.jr table.jrhis td.c { font-size: 9.5pt; }
@media screen { .pg.jr table.jrb td.c.jrj { cursor: pointer; } }

/* 消火器の器種名：▼で選ぶ（打っても入る） */
.kcw { display: flex; align-items: center; width: 100%; }
.kcw .kcombo { flex: 1; min-width: 0; }
.kcw .kcbtn { flex: none; border: 1px solid #bbb; background: #f4f6f9; font-size: 8pt; line-height: 1; padding: 1px 3px; margin-left: 1px; cursor: pointer; color: #345; }
.kcbox { position: fixed; z-index: 1000; background: #fff; border: 1px solid #9aa7b8; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); max-height: 300px; overflow: auto; font-size: 13px; font-family: var(--ui); }
.kcbox .kco { padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.kcbox .kco:hover, .kcbox .kco.cur { background: #e8f0ff; }
.kcbox .kco.on { font-weight: 700; }

/* 一覧表の行の並べ替え：行の左に出るつまみ・落とす位置の線 */
.i2grip { position: fixed; z-index: 900; width: 18px; height: 20px; line-height: 20px; text-align: center; font-size: 13px; letter-spacing: -2px; color: #556; background: #eef2f8; border: 1px solid #b9c4d4; border-radius: 3px; cursor: grab; user-select: none; font-family: var(--ui); }
.i2grip:hover { background: #dfe8f7; color: #123; }
.i2drop { position: fixed; z-index: 901; height: 3px; background: #2563eb; pointer-events: none; border-radius: 2px; }
body.i2dragging, body.i2dragging * { cursor: grabbing !important; user-select: none !important; }
body.i2dragging .i2grip { pointer-events: none; }
@media print { .i2grip, .i2drop, .kcbox, .kcbtn { display: none !important; } }

/* 着工・設置：次のページを足すボタン */
.rowsbar.i2next { margin: 4px auto 0; }
