@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400&display=swap');

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  /* 新しいフォントサイズを指定 */
  color: #5f5f5f !important;
}

.fs-12 {
  font-size: 12px;
}

.fs-14 {
  font-size: 14px;
}

.fs-16 {
  font-size: 16px;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}

.fs-22 {
  font-size: 22px;
}

.fs-24 {
  font-size: 24px;
}

/* テーブル 縦スクロール固定 */
.sticky_table thead tr th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
}

.sticky_table_wrapper {
  overflow: scroll;
  height: 80vh;
}

/* ページネーション　*/
.pagination a {
  color: #7fbfff;
}

/* アクティブなページネーションリンクのスタイル */
.pagination .active .page-link {
  background-color: #7fbfff;
  color: #ffffff;
}

/* ページネーションリンクのホバー時のスタイル */
.pagination a:hover {
  background-color: #e0e0e0;
}

/* ラジオボタンのスタイル */
.radio_button {
  display: none;
}

.radio_button:checked+label {
  background: #C9EAFF;
  color: #333333;
  border: #7D7D7D 1px solid;
}

.label_order {
  display: inline-block;
  width: 100%;
  height: 40px;
  padding-left: 5px;
  padding-right: 5px;
  color: #333333;
  text-align: center;
  line-height: 40px;
  border: solid 1px #ccc;
  border-radius: 5px;
}

/* ボタンカラー */
.btn-pastel-blue {
  background-color: #7fbfff;
  color: #606060;
}

.btn-pastel-red {
  background-color: #ff7f7f;
  color: #ffffff;
}

.btn-pastel-gray {
  background-color: #a0a0a0;
  color: #ffffff;
}

/* モーダル　横幅設定 */
.modal.modal-custom-size-600 .modal-dialog {
  max-width: 600px;
  font-size: 18px;
}

.modal.modal-custom-size-700 .modal-dialog {
  max-width: 700px;
  font-size: 18px;
}

.modal.modal-custom-size-860 .modal-dialog {
  max-width: 860px;
  font-size: 18px;
}

.modal.modal-custom-size-1000 .modal-dialog {
  max-width: 1000px;
  font-size: 18px;
}

.modal-custom-size-1400 .modal-dialog {
  max-width: 1400px;
  font-size: 18px;
}

.modal-custom-size-1600 .modal-dialog {
  max-width: 1600px;
  font-size: 18px;
}

/* エラーテキスト　メッセージ */
.error-text {
  color: red;
}

/* サイドバーのヘッダー文字色を変更 */
.sidebar-light-light .nav-sidebar>.nav-item>.nav-link:hover {
  background-color: #dbffff;
  /* ホバー時の背景色 */
  color: #808080;
  /* ホバー時のテキスト色 */
}

/* マルチ階層のホバー時の背景色を変更 */
.nav-sidebar .nav-item .nav-treeview .nav-item:hover>.nav-link {
  background-color: #dbffff;
  /* ホバー時の背景色 */
  color: #808080;
  /* ホバー時のテキスト色 */
}

p,
i {
  color: #5f5f5f;
}

/* サイドバーのアクティブリンクの文字色 */
.sidebar-light-light .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-light .nav-sidebar>.nav-item>.nav-link.active {
  background-color: #efffef;
}


/* 表示件数・表示・検索ボタンのスタイル */
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

#sort_by,
#paginate_num {
  width: auto;
}

#paginate_num {
  max-width: 100px;
}

.label {
  margin-bottom: 0;
  white-space: nowrap;
}

.btn-size-150 {
  width: 150px;
}

.header-title {
  line-height: 50px;
  height: 50px;
}

.content-header {
  padding-top: 0;
  padding-bottom: 0;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.width-100 {
  width: 100px;
  min-width: 100px;
}

.width-150 {
  width: 150px;
  min-width: 150px;
}

.width-200 {
  width: 200px;
  min-width: 200px;
}

.width-250 {
  width: 250px;
  min-width: 250px;
}

.width-300 {
  width: 300px;
  min-width: 300px;
}

.wrap-text {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ログイン画面の調整 */
.login-box {
  margin-bottom: 200px;
}

@media (max-height: 600px) {
  .login-box {
    margin-bottom: 50px;
  }
}

/* ローディングアニメーション */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}