@charset "utf-8";
body {
  font-family: 'Meiryo', 'Hiragino Kaku Gothic ProN', 'Osaka', sans-serif;
}

body::after {
  background-color: #fff;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

body.ready::after {
  content: none;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

th,
td {
  vertical-align: middle;
}

th.symbol {
  white-space: nowrap;
  width: 1%;
}

td.control,
td.symbol {
  white-space: nowrap;
  width: 1%;
  text-align: center;
}

th.numeric {
  white-space: nowrap;
}

td.numeric {
  text-align: right;
  white-space: nowrap;
}

td.date {
  text-align: right;
}

td.multi-line {
  white-space: pre-line;
}

textarea {
  height: 20em;
}

small {
  color: #9e9e9e;
}

header {
  padding: 0.5rem;
  align-items: flex-end;
}

header h1 {
  font-size: 2rem;
  font-weight: normal;
  margin: 0;
}

header h1 a {
  color: inherit;
}

header h2 {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
}

header nav a {
  margin-left: 1rem;
}

#menu {
  box-sizing: border-box;
  padding-top: 0.5rem;
}

#menu a {
  display: flex;
  border-bottom: 1px solid #cfdbdc;
  text-decoration: none;
  padding: 0.7rem 0.5rem 0.5rem;
}

#menu a:hover {
  text-decoration: underline;
}

#menu a:last-of-type {
  border-bottom-width: 0;
}

#menu a .bi,
#menu button .bi {
  margin-right: 0.5em;
}

#menu .accordion-item {
  border-left-width: 0;
  border-right-width: 0;
}

#menu .accordion-button {
  padding: 0.7rem 0.5rem 0.5rem;
}

#menu .accordion-body {
  padding: 0;
}

main {
  padding: 1.25rem 0 0.75rem;
}

main h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 0.75rem;
}

main h3 {
  font-size: 1.25rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

main .command {
  margin-bottom: 0.5rem;
}

table[data-table-fetch] img {
  height: 6rem;
}

table[data-table-fetch] thead {
  background-color: #fff;
  position: sticky;
  top: -1px;
}

table[data-table-fetch] tfoot {
  background-color: #fff;
  position: sticky;
  bottom: -1px;
}

table[data-table-fetch] tfoot td {
  text-align: right;
}

table[data-table-fetch][data-table-count='0'] tfoot td,
table[data-table-fetch]:not([data-table-count]) tfoot td {
  text-align: center;
}

table[data-table-fetch][data-table-error] tfoot td {
  text-align: left;
}

table[data-table-fetch] th {
  text-align: center;
}

table[data-table-fetch] th[data-column-name] {
  color: #0a58ca;
  cursor: pointer;
  padding: 0 1.5rem;
}

table[data-table-fetch] th[data-column-sort] {
  position: relative;
}

table[data-table-fetch] th[data-column-sort]::after {
  font-family: bootstrap-icons;
  font-weight: normal;
  position: absolute;
  top: calc(50% - 0.8em);
  margin-left: 0.1rem;
}

table[data-table-fetch] th[data-column-sort='asc']::after {
  content: '\f235';
}

table[data-table-fetch] th[data-column-sort='desc']::after {
  content: '\f229';
}

form .row {
  margin-bottom: 0.75rem;
}

form .row:last-child {
  margin-bottom: 0;
}

form [data-form-list] > * {
  margin-bottom: 0.25rem;
}

#filter-button:not([data-click-data]),
#filter-button[data-click-data='{}'] {
  background-color: #fff;
  color: #0d6efd;
}

#filter-button:not([data-click-data]):hover,
#filter-button[data-click-data='{}']:hover {
  background-color: #0d6efd;
  color: #fff;
}

#tree ul {
  padding-left: 0;
}

#tree ul li {
  align-items: center;
}

#tree .tree-control {
  padding-right: 0;
  min-width: 8.25rem;
}

#tree .tree-line {
  padding-left: 0;
  position: relative;
}

#tree .tree-label {
  border-bottom: 1px solid var(--bs-border-color);
  margin: 0.75rem 0;
}

#tree .before-button {
  position: absolute;
  top: -1rem;
  z-index: 10;
}

#tree .after-button {
  position: absolute;
  bottom: -1rem;
  z-index: 10;
}

#tree .cancel-button {
  margin-left: 4.75rem;
}

.file-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.file-area .file-area-part {
  margin: 1rem 0.5rem 0;
  max-width: calc(25% - 1rem);
  position: relative;
}

.file-area .file-area-part button {
  opacity: 0.5;
  position: absolute;
}

.file-area .file-area-part button:hover {
  opacity: 1;
}

.file-area .file-area-part .delete-button {
  bottom: 0.5rem;
  right: 0.5rem;
}

.file-area .file-area-part .move-button,
.file-area .file-area-part .cancel-button {
  top: 0.5rem;
  left: 0.5rem;
}

.file-area .file-area-part .cancel-button {
  opacity: 1;
}

.file-area .file-area-part .before-button {
  top: calc(50% - 0.75rem);
  left: -1.5rem;
  opacity: 1;
}

.file-area .file-area-part .after-button {
  top: calc(50% - 0.75rem);
  right: -1.5rem;
  opacity: 1;
}

.file-area .file-area-part img {
  border: 1px solid var(--bs-border-color);
  box-sizing: border-box;
  width: 100%;
}

.modal h2 {
  font-size: 1.25rem;
}

.modal-title {
  font-size: 1.25rem;
}

.modal-body form {
  margin-bottom: 0.75rem;
}

.modal table th {
  text-align: center;
}

.toast.hide {
  pointer-events: none;
}

.uppy-Dashboard-AddFiles-title {
  font-weight: normal;
  text-align: left;
}

.uppy-size--md .uppy-Dashboard-AddFiles-title {
  font-size: 1.4rem;
  text-align: left;
}
