/* 日本語 */
* { box-sizing: border-box; }
body.customer-body { margin: 0; font-family: sans-serif; background: #f7f7f7; color: #222; line-height: 1.6; }
a { color: #0d6efd; text-decoration: none; }
a:hover { text-decoration: underline; }
.customer-header { background: #0d6efd; color: #fff; }
.customer-header__inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.customer-header__brand { color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.customer-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.customer-nav__link, .customer-nav__button { display: inline-block; padding: 8px 10px; border-radius: 8px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: 14px; cursor: pointer; }
.customer-nav__button { font: inherit; }
.customer-nav__form { margin: 0; }
.customer-main { max-width: 1200px; margin: 0 auto; padding: 24px 20px 56px; }
.customer-footer { text-align: center; color: #666; font-size: 12px; padding: 18px; }
.customer-company-bar { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; color: #374151; }
.customer-page-title { font-size: 28px; margin: 0 0 18px; color: #111827; }
.customer-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.customer-login-card { max-width: 480px; margin: 40px auto; }
.customer-card__title { margin: 0 0 16px; font-size: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 14px; align-items: end; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; }
input[type="text"], input[type="password"], select { width: 100%; padding: 10px 12px; border: 1px solid #bbb; border-radius: 8px; font-size: 15px; background: #fff; }
input:focus, select:focus { outline: none; border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13,110,253,.15); }
.btn { display: inline-block; padding: 10px 14px; border: none; border-radius: 8px; cursor: pointer; text-decoration: none; font-size: 14px; line-height: 1.4; }
.btn-primary { background: #0d6efd; color: #fff; }
.btn-secondary { background: #6c757d; color: #fff; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-success { background: #198754; color: #fff; }
.btn:hover { opacity: .94; text-decoration: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.message { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; }
.message.success { background: #eaf7ea; border: 1px solid #a7d7a7; color: #1d5e1d; }
.message.error { background: #fff0f0; border: 1px solid #e0a8a8; color: #8a1f1f; }
.table-wrap { overflow-x: auto; }
.customer-table { width: 100%; border-collapse: collapse; min-width: 900px; background: #fff; }
.customer-table th, .customer-table td { padding: 10px 12px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: middle; font-size: 14px; }
.customer-table th { background: #f8fafc; color: #374151; font-weight: 700; white-space: nowrap; }
.customer-table tr:hover td { background: #fcfcfd; }
.empty-block { padding: 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; color: #666; }
.status-note { font-size: 12px; color: #666; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e5e7eb; color: #374151; }
.badge-done { background: #dcfce7; color: #166534; }
.badge-pending { background: #fee2e2; color: #991b1b; }
.sort-link { color: inherit; text-decoration: underline; }
@media (max-width: 900px) { .form-grid, .form-grid-2 { grid-template-columns: 1fr; } .customer-header__inner { align-items: flex-start; flex-direction: column; } }
