/*
Theme Name: Lightning改 Child
Template: lightning
Description: 旧「Lightning改」(Lightning 4.3.0 ベース) のカスタマイズを Lightning 15.x 用に移植した子テーマ。親テーマ Lightning 15.42.0 以降が必要です。
Author: 愛光学園同窓会
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lightning
*/

/*
 * 旧テーマ style.css のカスタム部分をそのまま移植。
 * セレクタは新しい Lightning（G2 世代）の HTML に合わせて一部調整しています。
 *   header.navbar → .siteHeader（BS4 スキンでは .navbar が付かないため）
 */

body,
p {
	font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	line-height: 1.5 !important;
}

header.siteHeader,
.siteHeader {
	background: #186fa1 !important;
}

h3.slide-text-title {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	/* 旧CSSは「32 px」(空白入り)で無効だったため、見た目を変えないよう無効のままにしています。
	   効かせたい場合は 32px に直してください */
	font-size: 32 px !important;
}

h2.mainSection-title {
	border: none !important;
	font-weight: bold !important;
}

h3 {
	/* 旧CSSは「1.2 em」(空白入り)で無効。同上 */
	font-size: 1.2 em !important;
}

#gMenu_outer nav ul.menu li a {
	font-weight: bold !important;
	border: none !important;
	background: #186fa1 !important;
}

#gMenu_outer nav ul.menu li {
	margin: 0 5px !important;
	background: #186fa1 !important;
}

#gMenu_outer nav ul.menu li a strong.gMenu_name {
	font-weight: bold !important;
	color: #fff !important;
}

#gMenu_outer nav ul.menu li a:hover {
	font-weight: bold !important;
	background: #fff !important;
	border-radius: 8px;
}

#gMenu_outer nav ul.menu li a:hover strong.gMenu_name {
	color: #186fa1 !important;
}

footer,
footer.siteFooter {
	background: #fff !important;
}

footer.siteFooter {
	border: none !important;
}

a:hover img {
	opacity: 0.7 !important;
	transition: 0.3s ease-in-out;
}

/* List Category Posts 用テンプレート（list-category-posts/*.php） */
ul.lcp_catlist_diary2 li {
	list-style: none;
	border-bottom: 1px dotted #000000;
	padding-top: 10px;
	padding-bottom: 10px;
}

ul.lcp_catlist_diary2 {
	margin-left: 0;
	padding-left: 5px;
}

ul.lcp_catlist_diary2 li div {
	margin: -1.6em 0 0 8em;
}

ul.lcp_catlist_diary3,
ul.lcp_catlist_diary4 {
	margin-left: 0;
	padding-left: 0;
}

ul.lcp_catlist_diary3 li,
ul.lcp_catlist_diary4 li {
	list-style: none;
	border-bottom: 1px dotted #000000;
	padding-top: 10px;
	padding-bottom: 10px;
}

ul.lcp_catlist_diary3 li div,
ul.lcp_catlist_diary4 li div {
	margin: 0 0 0 5px;
}

.single h1.entry-title:first-letter {
	color: #222222;
}

/* PC/スマホ 出し分け用クラス */
.sp_on {
	display: none !important;
}

@media only screen and (max-width: 769px) {
	.sp_on {
		display: block !important;
	}
	.pc_on {
		display: none !important;
	}
}

/* 前後の記事リンク（template-parts/post/next-prev.php）
   画像なし・枠付きの縦並び（« 前の記事 / » 次の記事） */
.pager {
	margin: 2em 0;
	padding: 0;
	list-style: none;
}
.pager li {
	list-style: none;
	margin: 0 0 15px;
	padding: 0;
}
.pager li:empty {
	display: none;
}
.pager li a {
	display: block;
	padding: 12px 20px;
	border: 1px solid #ddd;
	background: #fff;
	color: #337ab7;
	text-decoration: none;
	text-align: left;
}
.pager li a:hover {
	background: #f5f5f5;
}
.pager li.previous a::before {
	content: "«";
	margin-right: 1em;
}
.pager li.next a::before {
	content: "»";
	margin-right: 1em;
}
