@charset "UTF-8";
.inputFileWrap .inputFile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  min-height: 160px;
  padding: 20px;
  border: 4px dashed #c3c4c7;
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
.inputFileWrap .inputFile p {
  font-size: 20px;
  text-align: center;
  margin: 0;
}
.inputFileWrap.dragover .inputFile {
  border-color: #9ec2e6;
  background: rgba(158, 194, 230, 0.2);
}

#btnWrap {
  position: relative;
  display: inline-block;
}
#btnWrap:hover {
  opacity: 0.8;
}
#btnWrap #fileName {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: block;
  width: 300px;
  height: 80px;
  opacity: 0;
}
#btnWrap #btnInputFile,
#btnWrap #btnChangeFile {
  width: 300px;
  height: 80px;
  text-align: center;
}
#btnWrap #btnInputFile > span,
#btnWrap #btnChangeFile > span {
  position: relative;
  z-index: 2;
  display: table-cell;
  width: 300px;
  height: 80px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #333;
  text-decoration: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: bold;
  vertical-align: middle;
}
#btnWrap #btnChangeFile {
  display: none;
}

input[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}

main.page-login,
main.page-logout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
main.page-login .wrap,
main.page-logout .wrap {
  width: 100%;
  max-width: 320px;
  margin: 24px 0;
  padding: 26px 24px;
  font-weight: 400;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c3c4c7;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
main.page-login h1,
main.page-login h2,
main.page-login h3,
main.page-login h4,
main.page-login h5,
main.page-login h6,
main.page-logout h1,
main.page-logout h2,
main.page-logout h3,
main.page-logout h4,
main.page-logout h5,
main.page-logout h6 {
  margin: 0px 0px 20px;
  text-align: center;
}
main.page-login input,
main.page-logout input {
  width: 100%;
  margin-bottom: 10px;
}
main.page-login button,
main.page-logout button {
  margin-top: 20px;
}

table.timetable-table {
  max-width: 100%;
  width: 800px;
  margin: 0 auto;
}
table.timetable-table tr {
  display: grid;
  grid-template: auto/50px 1fr repeat(2, 100px);
  cursor: move;
}
table.timetable-table tr th {
  text-align: center;
}
table.timetable-table tr td {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
table.timetable-table tr td:has(button) {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
table.timetable-table tr td:last-of-type {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
table.timetable-table tr td.id {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
table.timetable-table tr:is(button, a, input, select, textarea, label) {
  cursor: default;
}
table.timetable-table tr.dragging {
  background: #e6f2ff; /* 明るい青系 */
  color: #003366;
  opacity: 0.95;
  -webkit-transform: scale(1.01);
          transform: scale(1.01); /* ほんの少し拡大して“浮かせる” */
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  -webkit-transition: background 0.08s ease, -webkit-transform 0.08s ease, -webkit-box-shadow 0.08s ease;
  transition: background 0.08s ease, -webkit-transform 0.08s ease, -webkit-box-shadow 0.08s ease;
  transition: background 0.08s ease, transform 0.08s ease, box-shadow 0.08s ease;
  transition: background 0.08s ease, transform 0.08s ease, box-shadow 0.08s ease, -webkit-transform 0.08s ease, -webkit-box-shadow 0.08s ease;
}
table.timetable-table tr.drop-before {
  position: relative;
}
table.timetable-table tr.drop-before::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 4px;
  background: -webkit-gradient(linear, left top, right top, from(#59a2ff), to(#2b6fff));
  background: linear-gradient(90deg, #59a2ff 0%, #2b6fff 100%);
  -webkit-box-shadow: 0 0 6px rgba(43, 111, 255, 0.6);
          box-shadow: 0 0 6px rgba(43, 111, 255, 0.6);
}

/* ファイル名をクリックしたらカテゴリー編集画面を表示 */
[data-filename] {
  cursor: pointer;
}
[data-filename]:hover {
  text-decoration: underline;
}

/* カテゴリー編集画面 */
#catEditModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 1000;
  /* バツボタン */
}
#catEditModal.is-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#catEditModal .catEditModalContent {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 1000px;
  height: auto;
  max-height: 90%;
  overflow: scroll;
}
#catEditModal .modal-close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 5px;
  cursor: pointer;
  -webkit-transition: border 0.15s ease-out;
  transition: border 0.15s ease-out;
}
#catEditModal .modal-close:hover {
  border: 2px solid #333;
}
#catEditModal .catEditForm .category {
  grid-template: auto/1fr;
}
#catEditModal .catEditForm .category-item.parent {
  display: grid;
  grid-template: auto/150px 1fr;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
}
#catEditModal .catEditForm .category-child {
  margin: 0px;
}
#catEditModal .catEditForm .category-name {
  padding: 10px 15px;
}/*# sourceMappingURL=admin-index.css.map */