@page{margin:0}body{margin:0}.sheet{margin:0;overflow:hidden;position:relative;box-sizing:border-box;page-break-after:always}body.A3 .sheet{width:297mm;height:419mm}body.A3.landscape .sheet{width:420mm;height:296mm}body.A4 .sheet{width:210mm;height:296mm}body.A4.landscape .sheet{width:297mm;height:209mm}body.A5 .sheet{width:148mm;height:209mm}body.A5.landscape .sheet{width:210mm;height:147mm}body.letter .sheet{width:216mm;height:279mm}body.letter.landscape .sheet{width:280mm;height:215mm}body.legal .sheet{width:216mm;height:356mm}body.legal.landscape .sheet{width:357mm;height:215mm}.sheet.padding-10mm{padding:10mm}.sheet.padding-15mm{padding:15mm}.sheet.padding-20mm{padding:20mm}.sheet.padding-25mm{padding:25mm}@media screen{body{background:#e0e0e0}.sheet{background:#fff;box-shadow:0 .5mm 2mm #0000004d;margin:5mm auto}}@media print{body.A3.landscape{width:420mm}body.A3,body.A4.landscape{width:297mm}body.A4,body.A5.landscape{width:210mm}body.A5{width:148mm}body.legal,body.letter{width:216mm}body.letter.landscape{width:280mm}body.legal.landscape{width:357mm}}body{font-family:system-ui,sans-serif}.rirekisho{font-size:12px;line-height:1.4}.header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}.header h1{font-size:20px;margin:0;letter-spacing:.5em}.header .date{font-size:11px;margin:0}.rirekisho table{width:100%;border-collapse:collapse;margin-bottom:8px;table-layout:fixed;border:2px solid #000}.rirekisho th,.rirekisho td{border:1px solid #000;padding:2px 4px}.rirekisho th{font-weight:400;background-color:transparent}.profile-info .furigana,.contact-info .furigana{font-size:10px;height:24px}.profile-info .furigana-value,.contact-info .furigana-value{font-size:12px}.profile-info .name{font-size:14px;height:64px}.profile-info .name-value{font-size:18px}.profile-info .birthday-value{height:24px}.profile-info .photo{height:auto;text-align:center;vertical-align:middle;padding:4px}.profile-info .photo img{width:100%;height:auto;object-fit:contain}.history th,.history td{text-align:center}.history td:last-child{text-align:left}.history td.history-end{text-align:right}.box{border:2px solid #000;margin-bottom:8px}.box-header{text-align:center;font-size:12px;padding:2px 4px;border-bottom:1px solid #000}.box-body{padding:4px;min-height:80px}
