/* ========== ナビゲーションバー ========== */
/* ナビゲーションバーの背景色を変更 */
.navbar {
	background-color: #3152B7 !important;
}

/* ナビゲーションバーの文字色を白に変更 */
.navbar .navbar-brand,
.navbar-nav > li > a {
	color: white !important;
}

/* ホバー時のリンク色を薄いグレーに */
.navbar-nav > li > a:hover {
	color: #ddd !important;
}

/* ========== ボタン ========== */
.btn,
.btn-primary {
	background-color: #3152B7 !important;
	border-color: #2947a8 !important;
	color: white !important;
}
.btn:hover,
.btn-primary:hover {
	background-color: #253fa1 !important;
	border-color: #1d3798 !important;
}

/* ========== リンク ========== */
a {
	color: #3152B7;
}
a:hover {
	color: #1d3798;
	text-decoration: underline;
}

/* ========== 見出し（h1〜h3） ========== */
h1, h2, h3 {
	color: #000; !important;
}

/* ========== コードブロック枠線 ========== */
.highlight {
	border-left: 5px solid #3152B7;
	padding-left: 10px;
	background-color: #f8f9fa;
}

/* ========== アラート枠（note, warningなど） ========== */
.admonition, .alert {
	border-left: 4px solid #3152B7;
	background-color: #eef2fc;
}

/* ========== テーブル ========== */
table.docutils thead {
	background-color: #3152B7;
	color: white;
}
table.docutils tbody tr:nth-child(even) {
	background-color: #f4f6fd;
}

/* ツールバーの下線（赤線）を非表示、または青系に変更 */
.navbar {
	border-bottom: 1px solid #3152B7 !important;  /* 青にする場合 */
	/* border-bottom: none !important;  ← 消したい場合はこちらを使う */
}

/* 通常状態のリンク（本文内） - 黒＆下線なし */
.article a:link,
.body a:link,
.document a:link,
.content a:link {
	color: #000000 !important;
	text-decoration: none !important;
}

/* ホバー時は明るい青＆下線あり */
.article a:hover,
.body a:hover,
.document a:hover,
.content a:hover {
	color: #66aaff !important;
	text-decoration: underline !important;
}

/* 訪問済みは濃い青＆下線なし（または好みに応じて） */
.article a:visited,
.body a:visited,
.document a:visited,
.content a:visited {
	color: #3152B7 !important;
	text-decoration: none !important;
}

/* すべての code-block（shell/python 等）の左線を消す */
div[class^="highlight-"] > .highlight {
	border-left: none !important;
	padding: 0em 0em !important;     /* 内側余白 */
	background-color: #f8f9fa !important;  /* 背景色 */
}

/* 中のpreタグの余白を完全にゼロにして、はみ出しをなくす */
div[class^="highlight-"] > .highlight pre {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}