/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* 地方政策事例ナビ メインカラー設定（信頼のネイビー） */

:root {
  --bg-main-rgb: 30, 58, 138; /* #1e3a8a */
  --main-color: #1e3a8a;
  --main-color-hover: #162d6d; /* ホバー用：少し濃いネイビー */
}

/* メインボタン */
.btn-main {
  background-color: var(--main-color) !important;
  border-color: var(--main-color) !important;
  color: white !important;
  transition: all 0.2s ease-in-out;
}
.btn-main:hover {
  background-color: var(--main-color-hover) !important;
  border-color: var(--main-color-hover) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* アウトラインボタン */
.btn-outline-main {
  color: var(--main-color) !important;
  border-color: var(--main-color) !important;
  background-color: transparent !important;
  transition: all 0.2s ease-in-out;
}
.btn-outline-main:hover {
  color: white !important;
  background-color: var(--main-color) !important;
}

/* 背景色（透明度対応） */
.bg-main {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bg-main-rgb), var(--bs-bg-opacity)) !important;
}

/* 枠線 */
.border-main {
  border-color: var(--main-color) !important;
}

/* テキストカラー */
.text-main {
  color: var(--main-color) !important;
}

/* 追加スタイル */
.min-vh-50 {
  min-height: 50vh;
}

/* 固定ヘッダー対応 */
.page-content {
  padding-top: 56px; /* ナビゲーションバーの高さ */
}
