/* =====================
   Reset & Base
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Segoe UI', 'Hiragino Sans', 'Meiryo', sans-serif;
  background: #f0f4f8;
  color: #2d3748;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* =====================
   Layout
   ===================== */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

/* =====================
   Sidebar
   ===================== */
.sidebar {
  width: 240px;
  min-width: 240px;
  background: linear-gradient(180deg, #1a365d 0%, #2a4a7f 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}
.sidebar-header {
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.sidebar-logo i { font-size: 1.4rem; color: #63b3ed; }
.sidebar-title { font-size: 1.1rem; }
.sidebar-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  padding-left: 30px;
}
.nav-menu {
  flex: 1;
  padding: 12px 8px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.15s;
  margin-bottom: 2px;
}
.nav-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-link.active { background: rgba(99,179,237,0.25); color: #90cdf4; }
.nav-icon { width: 20px; text-align: center; font-size: 0.95rem; }
.sidebar-footer {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.user-avatar { font-size: 1.8rem; color: #63b3ed; }
.user-name { font-size: 0.95rem; font-weight: 600; }
.user-role { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.logout-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  transition: all 0.15s;
}
.logout-btn:hover { background: rgba(255,100,100,0.2); color: #fc8181; }

/* =====================
   Main Content
   ===================== */
.main-content {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
}
.content-inner {
  padding: 24px;
  max-width: 1200px;
}

/* =====================
   Page Header
   ===================== */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a365d;
  line-height: 1.2;
}
.page-subtitle {
  font-size: 0.95rem;
  color: #718096;
  margin-top: 4px;
}
.page-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* =====================
   Cards
   ===================== */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  overflow: hidden;
}
.card-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a365d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title i { color: #4299e1; }
.card-body { padding: 16px 20px; }

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary { background: #3182ce; color: #fff; }
.btn-primary:hover { background: #2b6cb0; }
.btn-success { background: #38a169; color: #fff; }
.btn-success:hover { background: #2f855a; }
.btn-danger { background: #e53e3e; color: #fff; }
.btn-danger:hover { background: #c53030; }
.btn-warning { background: #d69e2e; color: #fff; }
.btn-warning:hover { background: #b7791f; }
.btn-secondary { background: #718096; color: #fff; }
.btn-secondary:hover { background: #4a5568; }
.btn-outline {
  background: transparent;
  border: 1.5px solid #3182ce;
  color: #3182ce;
}
.btn-outline:hover { background: #3182ce; color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 0.9rem; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }
.btn-icon { padding: 7px 10px; }

/* =====================
   Forms
   ===================== */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 5px;
}
.form-label .required { color: #e53e3e; margin-left: 3px; }
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  font-size: 1rem;
  color: #2d3748;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-control:focus {
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66,153,225,0.15);
}
.form-control-sm { padding: 5px 9px; font-size: 0.92rem; }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-text { font-size: 0.85rem; color: #718096; margin-top: 3px; }
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.form-section {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  overflow: hidden;
}
.form-section-header {
  padding: 12px 16px;
  background: #f7fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2b6cb0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.form-section-body { padding: 16px; }

/* =====================
   Tables
   ===================== */
.table-wrapper { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
thead tr { background: #f7fafc; }
th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  color: #4a5568;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f4f8;
  vertical-align: middle;
}
tr:hover td { background: #f7fbff; }
tr:last-child td { border-bottom: none; }

/* =====================
   Badges
   ===================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.badge-success { background: #c6f6d5; color: #276749; }
.badge-warning { background: #fefcbf; color: #7b6b00; }
.badge-danger { background: #fed7d7; color: #9b2c2c; }
.badge-info { background: #bee3f8; color: #2b6cb0; }
.badge-secondary { background: #e2e8f0; color: #4a5568; }
.badge-purple { background: #e9d8fd; color: #553c9a; }

/* =====================
   Status Badge
   ===================== */
.status-active { background: #c6f6d5; color: #276749; }
.status-inactive { background: #fefcbf; color: #7b6b00; }
.status-withdrawn { background: #fed7d7; color: #9b2c2c; }
.status-draft { background: #e2e8f0; color: #4a5568; }
.status-submitted { background: #bee3f8; color: #2b6cb0; }
.status-pdf_generated { background: #c6f6d5; color: #276749; }

/* =====================
   Search & Filter Bar
   ===================== */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.search-bar .form-control { max-width: 300px; }
.search-bar select.form-control { max-width: 180px; }

/* =====================
   Dashboard Cards
   ===================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 4px solid #4299e1;
}
.stat-card.green { border-color: #48bb78; }
.stat-card.orange { border-color: #ed8936; }
.stat-card.red { border-color: #fc8181; }
.stat-card.purple { border-color: #9f7aea; }
.stat-label { font-size: 0.9rem; color: #718096; font-weight: 600; }
.stat-value { font-size: 2rem; font-weight: 700; color: #1a365d; line-height: 1; }
.stat-sub { font-size: 0.85rem; color: #a0aec0; }

/* =====================
   Alert / Notice
   ===================== */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #c6f6d5; color: #276749; border: 1px solid #9ae6b4; }
.alert-warning { background: #fefcbf; color: #7b6b00; border: 1px solid #f6e05e; }
.alert-danger { background: #fed7d7; color: #9b2c2c; border: 1px solid #feb2b2; }
.alert-info { background: #bee3f8; color: #2b6cb0; border: 1px solid #90cdf4; }

/* =====================
   Login Page
   ===================== */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 50%, #3182ce 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.login-logo i { font-size: 3rem; color: #3182ce; }
.login-logo h1 { font-size: 1.4rem; color: #1a365d; margin-top: 8px; font-weight: 700; }
.login-logo p { font-size: 0.82rem; color: #718096; margin-top: 4px; }
.login-form .form-group { margin-bottom: 18px; }
.login-btn {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}

/* =====================
   Inline List (dynamic rows)
   ===================== */
.dynamic-row {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
  align-items: start;
  background: #f9fafb;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  padding: 10px 12px;
  position: relative;
}
.dynamic-row .remove-btn {
  position: absolute;
  top: 8px; right: 8px;
  background: none;
  border: none;
  color: #fc8181;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.dynamic-row .remove-btn:hover { color: #e53e3e; }
.add-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: none;
  border: 1.5px dashed #4299e1;
  border-radius: 6px;
  color: #3182ce;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}
.add-row-btn:hover { background: #ebf8ff; }

/* =====================
   Steps (Report Form)
   ===================== */
.form-steps {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  overflow-x: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.form-step {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 12px 8px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  color: #a0aec0;
  transition: all 0.15s;
}
.form-step.active { border-bottom-color: #3182ce; color: #3182ce; font-weight: 700; }
.form-step.completed { border-bottom-color: #48bb78; color: #48bb78; }
.form-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #718096;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.form-step.active .form-step-num { background: #3182ce; color: #fff; }
.form-step.completed .form-step-num { background: #48bb78; color: #fff; }

/* =====================
   Priority Badge
   ===================== */
.priority-high { background: #fed7d7; color: #9b2c2c; }
.priority-medium { background: #fefcbf; color: #7b6b00; }
.priority-low { background: #e2e8f0; color: #4a5568; }

/* =====================
   Pagination
   ===================== */
.pagination {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  justify-content: center;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  font-size: 0.85rem;
  border: 1.5px solid #e2e8f0;
  color: #4a5568;
  transition: all 0.15s;
}
.pagination a:hover { background: #ebf8ff; border-color: #4299e1; color: #3182ce; }
.pagination .active-page { background: #3182ce; border-color: #3182ce; color: #fff; }

/* =====================
   Tabs
   ===================== */
.tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
  gap: 0;
}
.tab-link {
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #718096;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.tab-link:hover { color: #3182ce; }
.tab-link.active { color: #3182ce; border-bottom-color: #3182ce; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* =====================
   Report View
   ===================== */
.report-section {
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.report-section-header {
  background: #f0f6ff;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 1rem;
  color: #2b6cb0;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #bee3f8;
}
.report-section-body { padding: 14px 16px; }
.report-field { margin-bottom: 10px; }
.report-field-label { font-size: 0.88rem; font-weight: 700; color: #718096; margin-bottom: 2px; }
.report-field-value { font-size: 1rem; color: #2d3748; }
.report-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.report-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

/* =====================
   Issue Card
   ===================== */
.issue-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}
.issue-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.solution-card {
  border: 1.5px solid #c6f6d5;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f0fff4;
  margin-left: 20px;
  margin-bottom: 8px;
}

/* =====================
   PDF Preview
   ===================== */
.pdf-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #9f7aea;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.pdf-preview-btn:hover { background: #805ad5; }

/* =====================
   Empty State
   ===================== */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: #a0aec0;
}
.empty-state i { font-size: 3rem; margin-bottom: 12px; }
.empty-state h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: #718096; }
.empty-state p { font-size: 0.85rem; }

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .content-inner { padding: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .report-grid-2, .report-grid-3 { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; }
  .table-wrapper { overflow-x: auto; }
}

/* =====================
   Utilities
   ===================== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; }
.mb-4 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 6px; }
.gap-2 { gap: 12px; }
.gap-3 { gap: 18px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 0.92rem; }
.text-xs { font-size: 0.82rem; }
.text-muted { color: #a0aec0; }
.text-danger { color: #e53e3e; }
.text-success { color: #38a169; }
.font-bold { font-weight: 700; }
.hidden { display: none; }
.w-full { width: 100%; }

/* Loading */
.loading {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid #e2e8f0;
  border-top-color: #3182ce;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Tooltip */
[data-tooltip] { position: relative; }
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #2d3748;
  color: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
}

/* Mastery Stars */
.mastery-stars { color: #f6ad55; letter-spacing: 1px; }

/* Progress Bar */
.progress-bar-wrap {
  background: #e2e8f0;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3182ce, #63b3ed);
  border-radius: 4px;
  transition: width 0.3s;
}

/* Flash message */
.flash {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 280px;
  max-width: 400px;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  font-size: 0.88rem;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Select2-like styling for multi-selects */
.multi-select-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 36px;
  padding: 4px;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  cursor: text;
}
.multi-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: #bee3f8;
  color: #2b6cb0;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}
.multi-tag-remove {
  cursor: pointer;
  color: #2b6cb0;
  font-size: 0.85rem;
  line-height: 1;
}
.multi-tag-remove:hover { color: #e53e3e; }

/* Report form sticky header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f0f4f8;
  padding: 12px 0;
  margin: -8px 0 16px;
}

/* Book select autocomplete */
.book-select-wrapper { position: relative; }
.book-suggest-list {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #4299e1;
  border-top: none;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.book-suggest-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.1s;
}
.book-suggest-item:hover { background: #ebf8ff; }
.book-suggest-subject {
  font-size: 0.72rem;
  color: #718096;
  margin-right: 6px;
}

/* ---- 参考書コンボ ---- */
.book-combo {
  position: relative;
  width: 100%;
}
.book-input {
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
}
.book-dropdown {
  display: none;
  position: fixed;
  background: #fff;
  border: 1px solid #bee3f8;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  max-height: 240px;
  overflow-y: auto;
  min-width: 200px;
}
.book-group-header {
  padding: 5px 10px 3px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2b6cb0;
  background: #ebf8ff;
  border-bottom: 1px solid #bee3f8;
  position: sticky;
  top: 0;
  letter-spacing: 0.03em;
}
.book-item {
  padding: 7px 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #2d3748;
  border-bottom: 1px solid #f7fafc;
  display: flex;
  align-items: center;
  gap: 6px;
}
.book-item:hover, .book-item:focus { background: #ebf8ff; }
.book-item:last-child { border-bottom: none; }
.book-item mark {
  background: #fefcbf;
  color: #744210;
  border-radius: 2px;
  padding: 0 1px;
}
.book-subject {
  font-size: 0.82rem;
  background: #e2e8f0;
  color: #4a5568;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.book-level {
  font-size: 0.82rem;
  color: #a0aec0;
  margin-left: auto;
  white-space: nowrap;
}
.book-empty {
  padding: 14px 12px;
  font-size: 0.92rem;
  color: #718096;
  text-align: center;
  line-height: 1.6;
}
.book-empty small { color: #a0aec0; }

/* ---- カテゴリコンボ ---- */
.category-combo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.category-combo .category-select { width: 100%; }
.category-combo .category-input  { width: 100%; }
