@media (max-width: 767px) {
   .cm-v2-page-header .cm-v2-page-tools > div { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .cm-v2-page-tools .cm-v2-header-btn { width:100%; padding-inline:4px; }
  div:has(> .cm-v2-page-header):has(> .cm-v2-search-card) { display:flex; flex-direction:column; }
  .cm-v2-page-header { order:-2; }
  .cm-v2-search-card { order:-1; }
  .cm-v2-keyword-section { order:-1; }
  .cm-v2-search-card > .card-body { display:flex; flex-direction:column; }
  .empty-table-wrap:has(.empty-form-table) { overflow:visible; }
  .empty-table-wrap .empty-form-table { display:block; width:100%; min-width:0 !important; }
  .empty-form-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .empty-form-table tbody { display:grid; gap:12px; width:100%; }
  .empty-form-table tbody tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; padding:10px; border:1px solid #cfdae8; border-radius:10px; background:#fff; }
  .empty-form-table tbody td { display:block; min-width:0; padding:0; border:0; text-align:left !important; }
  .empty-form-table tbody td:first-child, .empty-form-table tbody td:last-child { grid-column:1 / -1; }
  .empty-form-table tbody td:nth-child(2)::before { content:'終日空き'; }
  .empty-form-table tbody td:nth-child(3)::before { content:'PMのみ空き'; }
  .empty-form-table tbody td:nth-child(4)::before { content:'メモ'; }
  .empty-form-table tbody td::before { display:block; font-size:.85rem; margin-bottom:3px; }
  .empty-form-table tbody input { width:100%; min-width:0; max-width:100%; }
  .mobile-scroll-hint:not([hidden]) { display:block; color:#345374; font-size:.85rem; margin:4px 0; }
  .mobile-scroll-region { max-width:100%; overflow-x:auto !important; }
}
@media (min-width:768px) { .mobile-scroll-hint { display:none; } }
