/* 着工届・設置届・概要表（sheets_chakko.js）。公式様式（Word）の寸法に合わせる。2026-11-20 */
/* 余白は上22.9・左22.9mm。表の中は 10.5pt・字下げ 1.76mm、外枠 1pt・内側 0.5pt（Word の設定） */
.sheet.pg.ck { font-family: "ＭＳ 明朝", "MS Mincho", var(--mincho); font-size: 10.5pt; line-height: 1.2; color: #000; }
.ck .ck-in { position: absolute; left: 22.9mm; top: 22.9mm; }
.ck .ck-no { height: 6.35mm; line-height: 6.35mm; font-family: "ＭＳ ゴシック", "MS Gothic", var(--ui); font-weight: 700; font-size: 10.5pt; white-space: nowrap; }
.ck .ck-t1 { height: 6.35mm; line-height: 6.35mm; text-align: center; font-size: 10.5pt; }
.ck span.ck-jt { display: inline-block; text-align: justify; text-align-last: justify; vertical-align: middle; }

/* 表 */
.sheet.ck table.ck-tb { width: 100%; border-collapse: collapse; table-layout: fixed; border: 0.35mm solid #000; margin: 0; }
.sheet.ck table.ck-tb td { border: 0.18mm solid #000; padding: 0 1.76mm; font-size: 10.5pt; line-height: 3.7mm; height: auto; vertical-align: middle; overflow: hidden; font-weight: 400; text-align: left; white-space: normal; }
.sheet.ck table.ck-tb td.jt { text-align: justify; text-align-last: justify; }
.sheet.ck table.ck-tb td.ck-p0 { padding: 0; }
.sheet.ck table.ck-tb td.ck-px { padding: 0 0.5mm; }
.sheet.ck table.ck-tb td.ck-top { vertical-align: top; padding-top: 1mm; }
.ck .ck-c, .sheet.ck table.ck-tb td.ck-c { text-align: center; }
.ck .ck-r, .sheet.ck table.ck-tb td.ck-r { text-align: right; }
.ck .ck-nw, .sheet.ck table.ck-tb td.ck-nw { white-space: nowrap; }
.ck .ck-v { white-space: nowrap; }
.ck sup { font-size: 60%; vertical-align: 0.45em; line-height: 0; }
.ck .ck-pre { white-space: pre-wrap; line-height: 1.5; }

/* 該当を○で囲む（字の位置は動かさない） */
.ck .ck-o { position: relative; display: inline-block; }
.ck .ck-o::after { content: ''; position: absolute; left: -0.3em; right: -0.3em; top: -0.2em; bottom: -0.2em; border: 0.25mm solid #000; border-radius: 50%; }

/* 縦書き（1文字ずつ縦に並べる） */
.ck .ck-vc { display: flex; flex-direction: column; justify-content: space-between; align-items: center; box-sizing: border-box; line-height: 3.7mm; margin: 0 auto; }
.ck .ck-vc.c { justify-content: center; }
.ck .ck-vc.t { justify-content: flex-start; }
.ck .ck-vc > span { display: block; height: 3.7mm; }
.ck .ck-v2 { display: flex; justify-content: center; }
.ck .ck-v2 > .ck-vc { margin: 0; width: 3.9mm; }

/* 表の上の欄（届出者など）：行ごとに位置を決めて置く */
.ck .ck-hb { position: relative; font-size: 12pt; }
.ck .ck-hl { position: absolute; left: 0; right: 0; white-space: nowrap; }
.ck .ck-ha { position: absolute; top: 0; height: 100%; white-space: nowrap; }
.ck .ck-ul { position: absolute; height: 0; border-top: 0.2mm solid #000; }
.ck span.ck-hon { display: block; width: 100%; font-size: 11.6pt; white-space: nowrap; text-align: justify; text-align-last: justify; }

/* 部品 */
.ck .ck-cell { position: relative; }
.ck .ck-cell .ck-top { position: absolute; left: 1.76mm; right: 1.76mm; top: 1.8mm; line-height: 4.5mm; white-space: nowrap; }
.ck .ck-cell .ck-mid { position: absolute; left: 1.76mm; right: 1.76mm; top: 6.65mm; line-height: 3.7mm; }
.ck .ck-tel { white-space: nowrap; }
.ck .ck-slot { display: inline-block; text-align: center; white-space: nowrap; vertical-align: bottom; overflow: hidden; }
.ck .ck-at { display: flex; justify-content: space-between; align-items: center; gap: 2mm; white-space: nowrap; }
.ck .ck-pref { display: flex; align-items: center; justify-content: flex-end; gap: 0.5mm; }
.ck .ck-pref .ck-pv { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; }
.ck .ck-2d { display: inline-block; font-size: 9pt; line-height: 3.4mm; white-space: nowrap; }
.ck .ck-dai { display: flex; justify-content: space-between; align-items: center; white-space: nowrap; }
.sheet.ck table.ck-tb td.ck-rui { padding: 0 1.76mm 0 0.3mm; }
.ck .ck-rui, .sheet.ck table.ck-tb td.ck-rui { white-space: nowrap; }
.sheet.ck table.ck-tb td.ck-rui { text-align: justify; text-align-last: justify; }
.ck td.ck-rui .ck-v { display: inline-block; min-width: 4mm; text-align: center; text-align-last: center; }
.ck .ck-shimei .jt { text-align: justify; text-align-last: justify; line-height: 3.7mm; }
.ck .ck-brk { display: inline-flex; flex-direction: column; align-items: center; font-size: 10pt; line-height: 3.7mm; padding: 0 1mm; border-left: 0.2mm solid #000; border-right: 0.2mm solid #000; border-radius: 1.4mm; margin-top: 0.5mm; }
.ck .ck-koji1 { font-size: 10pt; line-height: 3.7mm; white-space: nowrap; }
.ck .ck-koji1 > div { padding-left: 1em; }
.ck .ck-sb { display: flex; justify-content: space-between; }
.sheet.ck table.ck-tb td.ck-seko { line-height: 3.7mm; }
.ck .ck-2l > div { line-height: 4.5mm; white-space: nowrap; }
.ck .ck-note { font-size: 9pt; white-space: nowrap; margin-top: 0; }

/* 概要表の題（「防火対象物／製造所等 ｝の概要表」） */
.ck .ck-gt { height: 11.1mm; margin-bottom: 2.1mm; display: flex; justify-content: center; align-items: center; gap: 0.8mm; font-size: 10.5pt; }
.ck .ck-gst { display: inline-flex; flex-direction: column; line-height: 4.4mm; }
.ck .ck-brace { display: inline-block; transform: scaleY(2.3); font-size: 10.5pt; line-height: 1; }
.ck .ck-yuka > div { line-height: 4.6mm; }

/* 概要表の階別の表（grid.js で操作する） */
.sheet.ck table.ck-tb.grid { margin-top: 0; }
.sheet.ck table.ck-tb.grid td { height: auto; font-size: 10.5pt; }
.sheet.ck table.ck-tb.grid td.c { font-size: 10pt; white-space: nowrap; text-overflow: clip; padding: 0 1.76mm; }

/* 画面だけ（入力欄・説明）。印刷には出ない */
.sheet.ck .ck-fi { font-family: var(--ui); font-size: 9pt; line-height: 1.2; padding: 0 2px; height: 5mm; border: 1px dashed #b7c4dd; background: #fbfdff; border-radius: 2px; width: 100%; max-width: 100%; box-sizing: border-box; vertical-align: middle; }
.sheet.ck .ck-fi[style] { flex: none; }
.sheet.ck textarea.ck-fi { height: 40mm; resize: none; }
.sheet.ck .ck-at .ck-fi:not([style]) { flex: 1; min-width: 0; }
.sheet.ck .ck-tel .ck-fi { display: inline-block; }
.sheet.ck .ck-hl .ck-fi { font-size: 10pt; height: 6mm; }
.sheet.ck .ck-hl .ck-fi[type=date] { width: 40mm; }
.sheet.ck td.ck-scr > div { line-height: 6mm; white-space: nowrap; }
.sheet.ck .ck-scrline { display: flex; flex-wrap: wrap; align-items: center; gap: 1mm 2mm; font-size: 9.5pt; white-space: nowrap; }
.sheet.ck .ck-scrline > .ck-fi:not([style]) { flex: 1; min-width: 40mm; }
.ck .ck-hint { font-family: var(--ui); font-size: 8pt; color: #888; width: 100%; }
.ck .ck-help { position: absolute; left: 22.9mm; right: 22.9mm; bottom: 4mm; font-family: var(--ui); font-size: 8.5pt; color: #555; background: #f6f8fb; border: 1px solid #dde3ec; border-radius: 4px; padding: 1.5mm 2.5mm; line-height: 1.5; }
@media print { .ck .ck-help { display: none; } }

/* ═════ FireNET の書式の形（sheets_chakko.js の T.FNR。線と様式の字は SVG、入力欄・値はその上に置く）2026-11-21 */
.sheet.pg.fnr { font-family: "BIZ UDMincho", "Yu Mincho", "MS Mincho", var(--mincho); font-size: 10pt; color: #000; }
.fnr .fnr-svg { position: absolute; left: 0; top: 0; width: 210mm; height: 297mm; overflow: visible; pointer-events: none; }
.fnr .fnr-svg text { white-space: pre; fill: #000; font-family: "BIZ UDMincho", "Yu Mincho", "MS Mincho", serif; }
.fnr .fnr-v { position: absolute; display: flex; align-items: center; white-space: nowrap; overflow: hidden; line-height: 1.15; padding: 0 0.3mm; box-sizing: border-box; }
.fnr .fnr-v.c { justify-content: center; } .fnr .fnr-v.r { justify-content: flex-end; }
.fnr .fnr-v.m { white-space: normal; line-height: 1.25; align-items: center; }
.fnr .fnr-v.m > span { display: block; width: 100%; overflow-wrap: anywhere; }
.fnr .fnr-v.fnr-cover { background: #fff; }
.fnr .fnr-pre { position: absolute; box-sizing: border-box; padding: 1mm 1.5mm; overflow: hidden; white-space: pre-wrap; font-size: 10pt; line-height: 1.3; }
.fnr .fnr-o { position: absolute; box-sizing: border-box; border-radius: 50%; border: 0.25mm solid transparent; }
.fnr .fnr-o.on { border-color: #000; }
#app .fnr .fnr-o { cursor: pointer; z-index: 1; }
#app .fnr .fnr-o:hover { background: rgba(37, 99, 235, .10); }
.fnr table.fnr-gt { position: absolute; border-collapse: collapse; table-layout: fixed; margin: 0; border: 0; }
.fnr table.fnr-gt td.c { height: auto; padding: 0 0.6mm; border: 0; font-size: 9pt; white-space: nowrap; overflow: hidden; text-overflow: clip; text-align: left; vertical-align: middle; font-weight: 400; line-height: 1.1; }
.fnr table.fnr-gt td.c.j { text-align: center; font-size: 10pt; padding: 0; }
#app .fnr table.fnr-gt td.c { box-shadow: inset 0 0 0 1px rgba(110, 140, 200, .28); }
#app .fnr table.fnr-gt td.c:empty { background: rgba(240, 246, 255, .55); }
.fnr .fnr-in { position: absolute; box-sizing: border-box; margin: 0; padding: 0 2px; font-family: var(--ui); font-size: 9pt; line-height: 1.2; border: 1px dashed #b7c4dd; background: rgba(251, 253, 255, .92); border-radius: 2px; color: #000; min-width: 0; }
.fnr .fnr-in.c { text-align: center; } .fnr .fnr-in.r { text-align: right; }
.fnr textarea.fnr-in { resize: none; padding: 1mm 1.5mm; font-family: var(--mincho); font-size: 10pt; line-height: 1.3; }
.fnr .fnr-help2 { position: absolute; font-family: var(--ui); font-size: 8pt; color: #666; white-space: nowrap; overflow: hidden; }
.fnr .fnr-help { bottom: auto; top: 289mm; }
@media print { .fnr .fnr-help2, .fnr .fnr-help { display: none; } }
.fnr table.fnr-gt td.c.ar { text-align: right; } .fnr table.fnr-gt td.c.ac { text-align: center; }
.fnr .fnr-in.dt { background: #fff; font-family: var(--mincho); font-size: 10pt; }
