@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap");
:root {
  --bs-font-sans-serif: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo UI", "メイリオ", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

}


/* 共通 */
.dashboard-container {
  padding: 2rem 0;
}

/*=======================================================
  CMS管理システム用共通スタイル
=======================================================*/

/* カードの改善 */
.card {
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075);
  border: 1px solid rgba(0, 0, 0, 0.125);
}

/* ボタンの改善 */
.btn-sm {
  font-size: 0.85rem;
}

/* btn-secondaryにホバー効果を追加 */
.btn-secondary:hover {
  background-color: #e2e6ea !important;
  border-color: #dae0e5 !important;
  transform: translateY(-1px);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
}

.btn-secondary {
  transition: all 0.2s ease-in-out;
}

/* フォームコントロールの改善 */
.form-control, .form-select {
  border-radius: 0.375rem;
}

.form-control:focus, .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* フォームラベルの必須マーク */
.form-label.required::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

/* 必須バッジ */
.badge-required {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: #d34856;
  border-radius: 0.375rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* モーダルの改善 */
.modal-content {
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid #e9ecef;
  background-color: #f8f9fa;
  border-radius: 0.75rem 0.75rem 0 0;
}

.modal-footer {
  border-top: 1px solid #e9ecef;
  background-color: #f8f9fa;
  border-radius: 0 0 0.75rem 0.75rem;
}

/* DataTablesの調整 */
.dataTables_wrapper {
  margin-top: 1rem;
  margin-bottom: 1rem;
}