*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Noto Sans JP,Hiragino Kaku Gothic Pro,Meiryo,sans-serif;background:#f5f5f5;color:#1a1a1a;font-size:14px;line-height:1.6}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0a0a0a,#1c1c1c);padding:24px}.login-card{background:#fff;border-radius:12px;padding:40px;width:100%;max-width:420px;box-shadow:0 20px 60px #0000004d;overflow:hidden}.login-logo{background:#0a0a0a;margin:-40px -40px 32px;padding:32px 40px 24px;text-align:center}.login-logo{text-align:center;margin-bottom:36px}.login-logo-img{height:52px;width:auto;margin-bottom:4px;display:block;margin-left:auto;margin-right:auto}.login-logo p{font-size:13px;color:#666;margin-top:8px}.login-form{display:flex;flex-direction:column;gap:20px}.login-notice{margin-top:24px;padding-top:20px;border-top:1px solid #eee;font-size:12px;color:#888;text-align:center;line-height:1.8}.login-notice a{color:#555}.lockout-message{padding:20px;background:#fff8e1;border:1px solid #f59e0b;border-radius:8px;color:#92400e;font-size:14px;text-align:center;line-height:1.8}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:13px;font-weight:500;color:#444}.form-group.required label:after{content:" *";color:#e44}input[type=text],input[type=password],input[type=date],input[type=number]{padding:10px 12px;border:1.5px solid #ddd;border-radius:6px;font-size:14px;font-family:inherit;transition:border-color .2s;background:#fff}input[type=text]:focus,input[type=password]:focus,input[type=date]:focus,input[type=number]:focus{outline:none;border-color:#333}input[type=number]{width:72px;text-align:center}.btn-primary{padding:12px;background:#0a0a0a;color:#fff;border:none;border-radius:6px;font-size:15px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .2s}.btn-primary:hover:not(:disabled){background:#333}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.error-message{padding:10px 12px;background:#fff0f0;border:1px solid #fcc;border-radius:6px;color:#c33;font-size:13px}.page-header{background:#0a0a0a;color:#fff;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100}.page-header-left{display:flex;align-items:center;gap:14px}.header-logo-img{height:28px;width:auto}.page-header h1{font-size:18px;letter-spacing:1px}.header-right{display:flex;align-items:center;gap:16px}.partner-name{font-size:14px;color:#ccc}.discount-badge{background:#2a7a2a;color:#fff;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600}.btn-logout{padding:6px 14px;background:transparent;color:#aaa;border:1px solid #555;border-radius:4px;font-size:13px;cursor:pointer;font-family:inherit;transition:all .2s}.btn-logout:hover{background:#333;color:#fff}.notice-banner{background:#fff8e1;border-left:4px solid #f59e0b;padding:16px 24px;font-size:13px}.notice-banner strong{display:block;margin-bottom:8px;color:#92400e}.notice-banner ul{padding-left:20px;color:#78350f;line-height:2}.notice-banner p{margin-top:8px;color:#555}.notice-banner a{color:#555}.app-container{min-height:100vh;display:flex;flex-direction:column}.form-layout{display:grid;grid-template-columns:1fr 340px;gap:0;flex:1;align-items:start}.form-main{padding:24px;display:flex;flex-direction:column;gap:20px}.form-section{background:#fff;border-radius:8px;padding:24px;box-shadow:0 1px 4px #00000014}.section-title-row{display:flex;align-items:baseline;justify-content:space-between;padding-bottom:12px;border-bottom:2px solid #0a0a0a;margin-bottom:20px;gap:8px}.section-title{font-size:16px;font-weight:700;color:#0a0a0a}.section-subtotal{font-size:16px;font-weight:700;color:#0a0a0a;white-space:nowrap}.subsection-title{font-size:14px;font-weight:600;color:#333;margin:20px 0 12px;padding-left:8px;border-left:3px solid #555}.subsection-title:first-child{margin-top:0}.form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px}.readonly-group .readonly-field{padding:10px 12px;background:#f5f5f5;border:1.5px solid #ddd;border-radius:6px;font-size:14px;color:#555}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px}.checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#0a0a0a}.toggle-label{font-weight:500;padding:8px 0}.check-row{display:flex;align-items:center;gap:16px;margin-bottom:8px}.overnight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:4px}.inline-days{display:flex;align-items:center;gap:6px}.inline-days-row{display:flex;align-items:center;gap:12px;margin:8px 0}.inline-days-row label{font-size:13px;font-weight:500;color:#555;min-width:80px}.crew-table{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.crew-row{display:flex;align-items:center;gap:12px;padding:8px 12px;background:#fafafa;border-radius:6px;border:1px solid #eee}.crew-label{min-width:110px;font-weight:500}.crew-price{min-width:120px;color:#555;font-size:13px}.crew-days{display:flex;align-items:center;gap:6px}.overnight-note{font-size:12px;color:#2a7a2a;font-weight:500}.equipment-section{background:#fafafa;border:1px solid #eee;border-radius:6px;padding:12px 16px;display:flex;flex-direction:column;gap:8px}.radio-group{display:flex;flex-direction:column;gap:8px}.radio-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px}.radio-label input[type=radio]{width:16px;height:16px;cursor:pointer;accent-color:#0a0a0a}.field-note{font-size:12px;color:#666}.grading-section{margin-top:12px;padding-left:24px}.weather-backup-section{margin-top:16px;padding-left:24px}.weather-backup-section h4{font-size:13px;font-weight:600;color:#444;margin:12px 0 8px}.shooting-days-header{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;background:#fafafa;border:1px solid #e0e0e0;border-radius:8px}.shooting-days-label{font-weight:700;font-size:15px;color:#0a0a0a;min-width:80px}.days-stepper{display:flex;align-items:center;gap:0;border:1.5px solid #ddd;border-radius:6px;overflow:hidden}.stepper-btn{width:36px;height:36px;background:#f0f0f0;border:none;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s;font-family:inherit;line-height:1}.stepper-btn:hover:not(:disabled){background:#ddd}.stepper-btn:disabled{opacity:.3;cursor:not-allowed}.stepper-value{min-width:44px;text-align:center;font-size:18px;font-weight:700;background:#fff;padding:0 4px;line-height:36px;color:#0a0a0a}.stepper-unit{font-size:14px;color:#555}.day-card{border:1.5px solid #e0e0e0;border-radius:8px;margin-bottom:12px;overflow:hidden}.day-card-header{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#1a1a1a;flex-wrap:wrap}.day-label{font-size:13px;font-weight:700;color:#fff;letter-spacing:1px;min-width:48px}.day-header-check{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:12px;color:#bbb;padding:4px 10px;border:1px solid #444;border-radius:20px;transition:all .15s}.day-header-check:has(input:checked){border-color:#7ac97a;color:#7ac97a;background:#7ac97a14}.day-header-check.weather-check:has(input:checked){border-color:#7ab3e8;color:#7ab3e8;background:#7ab3e814}.day-header-check input[type=checkbox]{width:13px;height:13px;accent-color:#7ac97a}.day-card-body{display:flex;gap:0;padding:12px 16px;background:#fff}.day-section{flex:1;padding:0 12px}.day-section:first-child{padding-left:0}.day-section:not(:last-child){border-right:1px solid #eee}.day-section-label{font-size:12px;font-weight:700;color:#555;letter-spacing:.5px;display:block;margin-bottom:8px}.day-section-toggle{margin-bottom:4px;font-weight:600;font-size:13px}.day-crew-grid{display:flex;flex-direction:column;gap:6px}.day-lighting-toggle{margin-bottom:4px}.segment-btn{display:inline-flex;border:1.5px solid #ddd;border-radius:6px;overflow:hidden;margin-bottom:8px}.segment-option{padding:5px 12px;background:#f5f5f5;border:none;font-size:12px;font-family:inherit;cursor:pointer;color:#666;transition:background .15s,color .15s;line-height:1.4}.segment-option:not(:last-child){border-right:1.5px solid #ddd}.segment-option.active{background:#0a0a0a;color:#fff;font-weight:600}.lighting-sub{padding-left:24px;margin-top:4px}.pdf-header-row{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.pdf-estimate-number{font-size:11px;color:#555;text-align:right;padding-top:4px;letter-spacing:.5px}.export-section{background:#fff;border-radius:8px;padding:24px;box-shadow:0 1px 4px #00000014;display:flex;flex-direction:column;align-items:center;gap:16px}.export-notices{width:100%;display:flex;flex-direction:column;gap:6px}.export-notice-validity{padding:10px 14px;background:#fff8e1;border:1px solid #f59e0b;border-radius:6px;font-size:13px;color:#92400e;line-height:1.6}.export-notice-email{font-size:12px;color:#666;text-align:center}.btn-export{padding:16px 48px;background:#0a0a0a;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;letter-spacing:1px;transition:background .2s,transform .1s}.btn-export:hover:not(:disabled){background:#333;transform:translateY(-1px)}.btn-export:disabled{opacity:.5;cursor:not-allowed;transform:none}.status-message{padding:12px 20px;border-radius:6px;font-size:14px;text-align:center;width:100%}.status-success{background:#f0f9f0;border:1px solid #a3d9a5;color:#2d6a2d}.status-error{background:#fff0f0;border:1px solid #fcc;color:#c33}.summary-panel{background:#1a1a1a;color:#e8e8e8;padding:0;min-height:calc(100vh - 80px)}.summary-sticky{position:sticky;top:57px;padding:24px}.summary-sticky h3{font-size:14px;font-weight:700;letter-spacing:1px;color:#fff;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #333}.summary-empty{color:#666;font-size:13px;text-align:center;padding:20px 0}.summary-items{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;max-height:300px;overflow-y:auto}.summary-item{display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:4px 0;border-bottom:1px solid #2a2a2a}.summary-desc{color:#aaa;flex:1}.summary-amount{color:#e8e8e8;white-space:nowrap;font-weight:500}.summary-totals{display:flex;flex-direction:column;gap:4px;padding:16px 0;border-top:1px solid #333}.total-row{display:flex;justify-content:space-between;font-size:13px;padding:3px 0}.total-row.discount-row{color:#7ac97a}.summary-grand-total{margin-top:8px;padding-top:10px;border-top:1px solid #444}.grand-total-pretax{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px}.grand-label{font-size:13px;color:#aaa}.grand-value{font-size:24px;font-weight:700;color:#fff;letter-spacing:-.5px}.grand-total-taxincl{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.grand-label-small{font-size:11px;color:#666}.grand-value-small{font-size:13px;color:#888}.cancel-summary{margin-top:20px;padding-top:16px;border-top:1px solid #333}.cancel-summary h4{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}.cancel-row{display:flex;justify-content:space-between;font-size:12px;color:#aaa;padding:3px 0}.pdf-template{position:fixed;left:-9999px;top:0;font-family:Noto Sans JP,Hiragino Kaku Gothic Pro,Meiryo,sans-serif}.pdf-page{width:794px;background:#fff;padding:28px 40px;font-size:11px;color:#111;line-height:1.4}.pdf-title{font-size:20px;font-weight:700;text-align:center;letter-spacing:8px}.pdf-meta-grid{display:flex;gap:24px;margin-bottom:12px}.pdf-recipient,.pdf-issuer{flex:1}.pdf-to{padding:8px 0 10px;border-bottom:2px solid #111;margin-bottom:8px}.pdf-company-name{font-size:15px;font-weight:700;margin-bottom:2px}.pdf-contact{font-size:13px}.pdf-date-block{display:flex;flex-direction:column;gap:2px;font-size:10px;color:#555}.pdf-issuer-block{text-align:right;font-size:11px;line-height:1.6;border-left:1px solid #ddd;padding-left:16px}.pdf-issuer-name{font-size:13px;font-weight:700;margin-bottom:4px;color:#111}.pdf-issuer-row{color:#444}.pdf-reg-number{margin-top:4px;font-size:10px;color:#666}.pdf-issuer-table{width:100%;border-collapse:collapse;font-size:12px}.pdf-issuer-table th,.pdf-issuer-table td{padding:3px 6px;text-align:left;border:1px solid #ddd}.pdf-issuer-table th{background:#f5f5f5;width:72px;font-weight:600}.pdf-total-highlight{border:2px solid #1a1a1a;border-radius:4px;padding:8px 16px;margin-bottom:14px;display:flex;align-items:center;gap:20px;background:#fafafa}.pdf-total-highlight-label{font-size:12px;font-weight:700;color:#333;white-space:nowrap}.pdf-total-highlight-main{display:flex;flex-direction:column;gap:2px}.pdf-total-highlight-row{display:flex;align-items:baseline;gap:8px}.pdf-total-highlight-sub{font-size:11px;color:#555;min-width:52px}.pdf-total-highlight-amount{font-size:22px;font-weight:700;color:#0a0a0a;letter-spacing:-.5px}.pdf-total-highlight-taxincl{display:flex;align-items:baseline;gap:8px;font-size:11px;color:#777}.pdf-total-highlight-taxincl span:first-child{min-width:52px}.pdf-summary-area{display:flex;justify-content:flex-end;gap:16px;margin-bottom:14px;flex-wrap:wrap}.pdf-summary-table{border-collapse:collapse;font-size:11px;min-width:160px}.pdf-summary-table th,.pdf-summary-table td{padding:3px 8px;border:1px solid #ccc}.pdf-summary-table th{background:#f5f5f5;font-weight:600;text-align:left;width:60px}.pdf-summary-total-row th,.pdf-summary-total-row td{background:#1a1a1a;color:#fff;font-weight:700}.pdf-tax-breakdown{border-collapse:collapse;font-size:11px}.pdf-tax-breakdown th,.pdf-tax-breakdown td{padding:3px 8px;border:1px solid #ccc}.pdf-tax-breakdown thead th{background:#555;color:#fff;font-weight:600;text-align:center}.pdf-tax-breakdown tbody tr:nth-child(2n){background:#fafafa}.pdf-greeting{font-size:10px;color:#555;margin-top:6px}.pdf-subject{margin-bottom:12px}.pdf-subject-table{width:100%;border-collapse:collapse;font-size:12px}.pdf-subject-table th,.pdf-subject-table td{padding:4px 8px;text-align:left;border:1px solid #ddd}.pdf-subject-table th{background:#f5f5f5;width:72px;font-weight:600}.pdf-section{margin-bottom:14px}.pdf-section-title{font-size:13px;font-weight:700;margin-bottom:10px;color:#111}.pdf-detail-table{width:100%;border-collapse:collapse;font-size:12px}.pdf-detail-table th,.pdf-detail-table td{padding:5px 6px;border:1px solid #ccc}.pdf-detail-table thead th{background:#1a1a1a;color:#fff;font-weight:600;text-align:center}.col-desc{width:38%}.col-qty{width:8%}.col-unit{width:6%}.col-price{width:16%}.col-tax{width:7%}.col-amount{width:16%}.pdf-detail-table tbody tr:nth-child(2n){background:#fafafa}.pdf-detail-table tbody .empty-row td{height:20px}.pdf-detail-table tfoot tr{border-top:2px solid #999}.pdf-detail-table tfoot td{padding:4px 6px;font-size:11px}.subtotal-row td{background:#f5f5f5}.discount-row-pdf td{background:#f0f9f0;color:#2a6a2a}.total-row-pdf td{background:#1a1a1a;color:#fff;font-size:14px}.text-right{text-align:right}.text-center{text-align:center}.pdf-cancel-table{width:100%;border-collapse:collapse;font-size:12px}.pdf-cancel-table th,.pdf-cancel-table td{padding:4px 8px;border:1px solid #ccc}.pdf-cancel-table thead th{background:#555;color:#fff;font-weight:600;text-align:center}.pdf-cancel-table tbody tr:nth-child(2n){background:#fafafa}.pdf-notes-list{list-style:none;padding:0}.pdf-notes-list li{padding:2px 0 2px 14px;position:relative;font-size:11px;color:#333}.pdf-notes-list li:before{content:"・";position:absolute;left:0}.pdf-bank-table{width:100%;border-collapse:collapse;font-size:12px}.pdf-bank-table th,.pdf-bank-table td{padding:8px 12px;border:1px solid #ddd}.pdf-bank-table th{background:#f5f5f5;width:80px;font-weight:600}@media (max-width: 900px){.form-layout{grid-template-columns:1fr}.summary-panel{min-height:auto;order:2}.summary-sticky{position:static;padding:20px}.form-main{order:1}.form-row{grid-template-columns:1fr}.overnight-grid{grid-template-columns:repeat(3,1fr)}.day-card-body{flex-direction:column;padding:12px;gap:10px}.day-section{padding:0}.day-section:not(:last-child){border-right:none;border-bottom:1px solid #eee;padding-bottom:10px}.day-crew-grid{flex-direction:row;flex-wrap:wrap;gap:8px 16px}}@media (max-width: 600px){body{font-size:15px}.page-header{padding:12px 16px;gap:8px;flex-wrap:wrap}.page-header h1{font-size:15px}.partner-name{display:none}.discount-badge{font-size:11px;padding:2px 8px}.btn-logout{padding:5px 10px;font-size:12px}.form-main{padding:12px;gap:12px}.form-section{padding:16px}.section-title{font-size:15px}.section-subtotal{font-size:12px}.grand-value{font-size:20px}.notice-banner{padding:12px 16px;font-size:12px}.notice-banner ul{padding-left:16px;line-height:1.8}.shooting-days-header{padding:10px 12px}.shooting-days-label{font-size:15px}.stepper-btn{width:40px;height:40px;font-size:20px}.stepper-value{min-width:48px;font-size:20px;line-height:40px}.day-card-header{gap:8px;padding:10px 12px}.day-card-body{padding:12px;flex-direction:column;gap:10px}.day-section{padding:0}.day-section:not(:last-child){border-right:none;border-bottom:1px solid #eee;padding-bottom:10px}.day-crew-grid{flex-direction:row;flex-wrap:wrap;gap:8px 16px}.day-section-label{font-size:11px;margin-bottom:6px}.checkbox-label{font-size:14px}.day-header-check{font-size:11px;padding:4px 8px}.check-row{flex-direction:column;align-items:flex-start;gap:8px}.inline-days{margin-top:4px}.equipment-section{padding:10px 12px}.radio-label{font-size:13px}.overnight-grid{grid-template-columns:repeat(2,1fr);gap:8px}.grading-section{padding-left:0}.inline-days-row{flex-wrap:wrap;gap:8px}.weather-backup-section{padding-left:0}.btn-export{width:100%;padding:16px;font-size:16px;border-radius:6px}.export-section,.summary-sticky{padding:16px}.summary-sticky h3{font-size:13px}.total-row.total-final{font-size:16px}.summary-item{font-size:11px}input[type=checkbox],input[type=radio]{width:18px;height:18px}input[type=text],input[type=date],input[type=number]{font-size:16px;padding:12px}}
