*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.App,body{background:linear-gradient(135deg,#1e3a8a,#3b82f6 50%,#60a5fa);min-height:100vh}.App{font-family:Noto Sans JP,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.App-header{background:#fff;border-bottom:3px solid #3b82f6;box-shadow:0 4px 20px #1e3a8a26;margin-bottom:2rem;padding:2rem 1rem;text-align:center}.App-header h1{color:#1e3a8a;font-size:2.2rem;font-weight:700;margin:0 0 .5rem}.form-description{color:#475569;font-size:1rem;font-weight:400;line-height:1.6;margin:1rem auto 0;max-width:800px}.dev-tools{margin-top:1rem}.test-btn{background:#f59e0b;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background .3s ease}.test-btn:hover{background:#d97706}.App-main{margin:0 auto;max-width:800px;padding:0 1rem 2rem}.contact-form{background:#fff;border:1px solid #3b82f633;border-radius:20px;box-shadow:0 20px 40px #1e3a8a26;overflow:hidden}.form-section{background:#f8fafc;border-bottom:1px solid #3b82f626;margin-bottom:0;padding:2rem}.form-section:last-child{border-bottom:none}.form-section h2{border-bottom:2px solid #3b82f6;color:#1e3a8a;font-size:1.5rem;font-weight:600;margin:0 0 1.5rem;padding-bottom:.5rem}.form-group{margin-bottom:1.5rem}.form-group:last-child{margin-bottom:0}label{color:#1e40af;display:block;font-size:.95rem;font-weight:600;margin-bottom:.5rem}.required{color:#dc2626;font-weight:700}.char-limit,.file-limit{color:#64748b;font-size:.85rem;font-weight:400;margin-left:.5rem}.loading-message{background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#3b82f6;font-style:italic;padding:.75rem}.info-message{background:#fef3c7;border:1px solid #fbbf24;border-radius:6px;color:#d97706;font-size:.9rem;margin-top:.5rem;padding:.75rem}input[type=date],input[type=email],input[type=tel],input[type=text],input[type=url],select,textarea{background:#fff;border:2px solid #e2e8f0;border-radius:8px;box-sizing:border-box;color:#1e293b;font-family:inherit;font-size:1rem;padding:.75rem;transition:all .3s ease;width:100%}input[type=date]:focus,input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{background:#f8fafc;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}input[type=file]{background:#f8fafc;border:2px dashed #cbd5e1;border-radius:8px;cursor:pointer;font-family:inherit;font-size:1rem;padding:.75rem;transition:all .3s ease;width:100%}input[type=file]:hover{background:#eff6ff;border-color:#3b82f6}.error{background:#fef2f2!important;box-shadow:0 0 0 3px #ef44441a!important}.error,.error:focus{border-color:#ef4444!important}.error:focus{box-shadow:0 0 0 3px #ef444433!important}.error-text{color:#ef4444;display:block;font-size:.85rem;margin-top:.25rem}.char-count{color:#777;font-size:12px}.file-preview{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;margin-top:1rem;padding:1rem}.file-preview-header{align-items:center;color:#1e40af;display:flex;font-weight:600;justify-content:space-between;margin-bottom:1rem}.cancel-btn{background:#ef4444;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.85rem;padding:.4rem .8rem;transition:background .3s ease}.cancel-btn:hover{background:#dc2626}.image-preview-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.image-preview-item{text-align:center}.image-preview{border:2px solid #e2e8f0;border-radius:8px;height:120px;margin-bottom:.5rem;object-fit:cover;width:100%}.image-name{color:#64748b;font-size:.8rem;word-break:break-all}.form-actions{background:#fff;padding:2rem;text-align:center}.submit-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8);border:none;border-radius:12px;box-shadow:0 4px 15px #3b82f64d;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;min-width:200px;padding:1rem 2rem;transition:all .3s ease}.submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1e40af);box-shadow:0 6px 20px #3b82f666;transform:translateY(-2px)}.submit-btn:disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}.error-message{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin-bottom:2rem;padding:1rem}.confirmation-screen{align-items:center;background:linear-gradient(135deg,#1e3a8a,#3b82f6 50%,#60a5fa);display:flex;justify-content:center;min-height:100vh;padding:2rem 1rem}.confirmation-content{background:#fff;border-radius:20px;box-shadow:0 20px 40px #1e3a8a26;max-width:800px;overflow:hidden;width:100%}.confirmation-content h2{background:#f8fafc;border-bottom:2px solid #3b82f6;color:#1e3a8a;font-size:1.8rem;font-weight:700;margin:0;padding:2rem;text-align:center}.confirmation-section{padding:2rem}.confirmation-section h3{border-bottom:1px solid #e2e8f0;color:#1e40af;font-size:1.3rem;font-weight:600;margin:0 0 1rem;padding-bottom:.5rem}.confirmation-item{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}.confirmation-item:last-child{margin-bottom:0}.confirmation-item label{color:#374151;font-size:.95rem;font-weight:600}.confirmation-item span{color:#1f2937;font-size:1rem}.confirmation-item .multiline{line-height:1.6;white-space:pre-wrap}.confirmation-actions{background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;gap:1rem;justify-content:center;padding:2rem}.back-btn{background:#6b7280;border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem 2rem;transition:all .3s ease}.back-btn:hover{background:#4b5563}.completion-screen{align-items:center;background:linear-gradient(135deg,#1e3a8a,#3b82f6 50%,#60a5fa);display:flex;justify-content:center;min-height:100vh;padding:2rem 1rem}.completion-content{background:#fff;border-radius:20px;box-shadow:0 20px 40px #1e3a8a26;max-width:600px;padding:3rem;text-align:center;width:100%}.success-message{margin-bottom:2rem}.success-icon{animation:bounce 1s ease-in-out;color:#10b981;font-size:4rem;margin-bottom:1rem}@keyframes bounce{0%,20%,53%,80%,to{transform:translateZ(0)}40%,43%{transform:translate3d(0,-30px,0)}70%{transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}.success-message h2{color:#1e3a8a;font-size:1.8rem;font-weight:700;margin-bottom:1rem}.completion-details{margin-bottom:2rem;text-align:left}.completion-item{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}.completion-item:last-child{margin-bottom:0}.completion-item label{color:#374151;font-size:.9rem;font-weight:600}.completion-item span{color:#1f2937;font-size:1rem}.completion-actions{text-align:center}.new-form-button{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:12px;box-shadow:0 4px 15px #10b9814d;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:1rem 2rem;transition:all .3s ease}.new-form-button:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 6px 20px #10b98166;transform:translateY(-2px)}.images-container{margin-top:.5rem}.image-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:1rem;padding:1.5rem;transition:all .3s ease}.image-item:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #3b82f61a}.image-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.5rem}.image-header h4{color:#1e40af;font-size:1.1rem;font-weight:600;margin:0}.remove-image-btn{background:#ef4444;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;padding:.5rem 1rem;transition:all .3s ease}.remove-image-btn:hover{background:#dc2626;transform:translateY(-1px)}.image-fields{gap:1rem}.image-fields,.image-file-field{display:flex;flex-direction:column}.image-file-field input[type=file]{background:#fff;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;padding:.8rem;transition:all .3s ease}.image-file-field input[type=file]:hover{background:#eff6ff;border-color:#3b82f6}.add-image-btn{background:linear-gradient(135deg,#10b981,#34d399);border:none;border-radius:50px;box-shadow:0 4px 12px #10b9814d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-top:.5rem;padding:1rem 2rem;transition:all .3s ease}.add-image-btn:hover{background:linear-gradient(135deg,#059669,#10b981);box-shadow:0 6px 20px #10b98166;transform:translateY(-2px)}.add-image-btn:disabled{background:#94a3b8;box-shadow:none;cursor:not-allowed;transform:none}.clear-all-btn{background:#ef4444;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;margin-left:1rem;margin-top:.5rem;padding:.8rem 1.5rem;transition:all .3s ease}.clear-all-btn:hover{background:#dc2626;transform:translateY(-1px)}@media (max-width:768px){.App-header{padding:1rem}.App-header h1{font-size:1.5rem}.form-description{font-size:.9rem}.App-main{padding:1rem}.form-section{padding:1.5rem}.form-actions{padding:1rem}.submit-btn{font-size:1rem;padding:.8rem 1.5rem}.image-preview-grid{gap:.5rem;grid-template-columns:1fr}.image-preview{height:200px;width:100%}.confirmation-actions{flex-direction:column;gap:.5rem}.back-btn,.submit-btn{width:100%}.completion-content{padding:1.5rem}.success-icon{font-size:3rem}.success-message h2{font-size:1.5rem}.image-item{padding:.75rem}.image-header{align-items:flex-start;flex-direction:column;gap:.5rem}.remove-image-btn{align-self:flex-end}.add-image-btn,.clear-all-btn{font-size:.9rem}.policy-dropdown{max-height:200px}.policy-option{font-size:14px;padding:10px}.search-hint{display:block;margin-left:0;margin-top:4px}}@media (max-width:480px){.App-header h1{font-size:1.5rem}.form-description{font-size:.85rem}.form-section h2{font-size:1.3rem}.submit-btn{font-size:.95rem;padding:.75rem 1.25rem}}.policy-search-container{position:relative;width:100%}.policy-search-input{border:2px solid #ddd;border-radius:8px;font-size:16px;padding:12px;transition:border-color .3s ease;width:100%}.policy-search-input:focus{border-color:#4caf50;box-shadow:0 0 5px #4caf504d;outline:none}.policy-search-input.error{border-color:#f44336}.policy-dropdown{background:#fff;border:2px solid #ddd;border-radius:0 0 8px 8px;border-top:none;box-shadow:0 2px 10px #0000001a;left:0;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:1000}.policy-option{border-bottom:1px solid #eee;cursor:pointer;padding:12px;transition:background-color .2s ease}.policy-option:hover{background-color:#f5f5f5}.policy-option:last-child{border-bottom:none}.policy-more-info{border-top:1px solid #eee;color:#666;font-size:14px;padding:8px 12px}.policy-more-info,.policy-no-results{background-color:#f9f9f9;text-align:center}.policy-no-results{border:2px solid #ddd;border-radius:0 0 8px 8px;border-top:none;color:#999;font-style:italic;padding:12px}.selected-policy-info{background-color:#e8f5e8;border:1px solid #4caf50;border-radius:4px;color:#2e7d32;font-size:14px;margin-top:8px;padding:8px 12px}.search-hint{color:#666;font-size:12px;font-weight:400;margin-left:8px}