/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20240601
*/

/* 全適応
---------------------------------------------------------------------------------------------------*/

/* 見出し(h1)	 */
.entry-title {
	background-color: #ffeabd !important;
	text-align: center;
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	border-top: solid 3px #dd9933 !important;
	border-bottom: solid 3px #dd9933 !important;
}

/* 見出し(h2)	 */
.post .entry-content h2:not(:root) {
	line-height: 1em;
	position: relative;
	border: 1px solid #ccc;
	border-top: 3px solid #dd9933 !important;
	border-radius: 5px;
	background: linear-gradient(to bottom,#fff 0%,#f0f0f0 100%);
	box-shadow: 0 -1px 0 rgb(255 255 255) inset;
	text-align: left !important;
	margin-top: 0;
}
.post .entry-content h2 .st-dash-design {
	color: #333;
	padding: 0.5rem 0;
	margin: 0;
}
.post .entry-content h2 .st-dash-design::before,
.post .entry-content h2 .st-dash-design::after {
	display: none;
}

/* 見出し(h3)	 */
.graybox h3:not(:root) {
	background-color: #dd9933 !important;
	border-radius: 5px;
	display: flex;
	justify-content: start;
}
.graybox h3:not(:root)::before {
	font-family: FontAwesome;
	content: "\f14a" !important;
	position: absolute;
	left: 0.8em;
	margin: 0 !important;
	position: relative !important;
	border-top: none !important;
	left: 0 !important;
	bottom: 0 !important;
}
.graybox h3:not(:root)::after {
	display: none;
}

.entry-content h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(.post-card-title):not(#reply-title) {
	background-color: #dd9933 !important;
	border-radius: 5px;
	display: flex;
	justify-content: start;
}
.entry-content h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(.post-card-title):not(#reply-title)::before {
	font-family: FontAwesome;
	content: "\f14a" !important;
	position: absolute;
	left: 0.8em;
	margin: 0 !important;
	position: relative !important;
	border-top: none !important;
	left: 0 !important;
	bottom: 0 !important;
}
.entry-content h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(.post-card-title):not(#reply-title)::after {
	display: none;
}

/* 見出し(h4)	 */
.post h4:not(.point) {
	color: rgb(0, 0, 0) !important;
    background-color: rgb(249, 249, 249) !important;
    padding-left: 20px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    border-left: 5px solid rgb(221, 153, 51) !important;
}

/* 見出し(h5)	 */
.post h5:not(.point) {
	border-left: 5px solid #ffa202;
    color: #000 !important;
    background-color: #fffbf4 !important;
    border-bottom: solid 1px #ffa202 !important;
    padding-left: 20px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* サイドバー */
#sidebg {
	background-color: #f3f3f3;
}
#side .sub-menu {
	border-bottom: 1px solid #edc45c;
}
#side aside ul li {
	margin-bottom: 16px;
}
#side aside .st-pagelists ul li a:before {
	content: "\f015" !important;
	color: #FFF !important;
	font-size: 1.2rem !important;
}
#side aside .st-pagelists ul li a:not(:root) {
	background-image: linear-gradient(to bottom, #ffc265, #dd9932 30%, #c57907);
	font-weight: 700;
}
#side aside .st-pagelists .sub-menu a:not(:root) {
	background-image: none;
	font-weight: 400;
}
#side aside .st-pagelists .sub-menu a:not(:root) {
	color: #000
}
#side aside .st-pagelists li li a::before {
	content: "\f0a9" !important;
	font-size: 1rem !important;
	color: #000 !important;
}
#side aside .st-pagelists .sub-menu a:not(:root) {
	border-color: #edc45c;
}

/* サイドバー見出し(h4)	 */
#side h4 {
	font-size: 14px;
	line-height: 27px;
    margin-bottom: 15px;
	border-bottom: solid 3px #ddccb3;
    padding-left: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
	position: relative;
}
#side h4::after {
	position: absolute;
    bottom: -3px;
    left: 0;
    content: '';
    width: 30%;
    height: 3px;
    background-color: #dd9933;
}

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
	
	/* ドロワー	 */
	#s-navi dd.acordion_tree:not(:root) {
		background-color: #fffde7;
	}
	
	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {

	/* グローバルナビ	 */
	#st-menuwide:not(:root) {
		background-image: linear-gradient(to bottom, #ffd79c 0%, #d69025 50% 50%, #d68d21 51%, #f7b756 100%);
		border-top: solid 1px #DDB677;
		border-bottom: solid 1px #DDB677;
	}
	#st-menuwide .menu-item:first-child {
		border-left: solid 1px #DDB677;
	}
	#st-menuwide .menu-item:not(first-child) {
		border-right: solid 1px #DDB677;
	}
	#st-menuwide .menu-item > a {
		font-weight: 700;
	}
	header .smanone ul.menu li li a:not(:root) {
		background-color: #ddb475;
        border-top-color: #ddb677;
	}
	
	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}
