



/*-----------------------------------------------------
display
-----------------------------------------------------*/
/* トップページの機能振り分けを非表示に */
#homepage-features {
	display: none;
}

/* 記事のメタ情報（date,auther,category）を非表示に */
.hkb-entry-meta {
	display: none;
}
.ht-grid-col {
	margin-bottom: 60px !important;
}

.widget.widget_recent_entries h4.widget-title,
.widget.hkb_widget_articles h4.widget-title {
	font-size: 20px !important; 
	font-weight: bold;
}

/* トップページのウィジェットのレイアウト */
/*
@media screen and (min-width: 321px){
.ht-grid .ht-grid-4 {
	width: 32% !important;
	margin-right: 1%;
}
}
*/
.widget_custom_html {
	position: relative;
	padding: 30px 20px !important;
	border: solid 1px #d2d2d2;
	width: 32% !important;
	margin-right: 1%;
}
.widget_custom_html h4.widget-title {
	font-size: 20px !important; 
	font-weight: bold;
}
.widget_custom_html a.more {
	position: absolute; 
	right: 0;
	bottom: 0;
	display: block;
	width: 0;
	height: 0;
	border-top: 26px solid transparent;
	border-right: 26px solid #f5a44a;
	border-bottom: 26px solid #f5a44a;
	border-left: 26px solid transparent;
	color: #ffffff;
}
.widget_custom_html a.more span {
	position: absolute;
	bottom: -22px;
	right: -16px;
}



@media screen and (max-width: 620px){
	.widget_custom_html {
		width: 100% !important;
		margin-bottom: 20px !important;
	}
	.widget_custom_html:last-child {
		margin-bottom: 60px !important;
	}
}


/*-----------------------------------------------------
button
-----------------------------------------------------*/
/* search button */
.hkb-site-search .hkb-site-search__button {
	background-color: #777;
	border-radius: 0;
}
#homepage-features .hf-block:hover {
	background-color: #B5BBC0 !important;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

/* single downvote button */
.ht-voting .ht-voting-links .ht-voting-downvote {
	background: #f5a34a !important;
}


/* contact */
.btn-contact {
	position: relative;
	display: block;
	width: 210px;
	margin: 40px auto 0;
	padding: 14px 0;
	border: solid 2px #f5a44a;
	background-color: #f5a44a;
	overflow: hidden;
}
a.btn-contact {
	font-size: 1.2rem;
	color: #ffffff;
	text-decoration: none;
	letter-spacing: 0.1em;
	text-align: center;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
a.btn-contact:before {
	margin-right: 8px;
	font-family: FontAwesome;
	content: "\f003";
	color: #ffffff;
	font-size: 1.4rem;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
a.btn-contact:hover:before {
	color: #f5a44a;
}
a.btn-contact:hover {
	color: #f5a44a;
	background-color: #ffffff;
}



/*-----------------------------------------------------
sidebar
-----------------------------------------------------*/

/* category */
#sidebar .widget > ul > li {
	margin-bottom: 6px!important;
	padding-bottom: 6px!important;
}
.hkb_widget_categories > ul > li ul li {
	margin-bottom: 6px!important;
	padding-bottom: 6px!important;
}


/* tag color */
#sidebar .tags a, #sidebar .widget_tag_cloud a {
	background: #777 !important;
}



/*-----------------------------------------------------
knowledge base top
-----------------------------------------------------*/
/* フォルダーアイコンの色変更 */
.hkb-subcats .hkb-subcats__cat:before {
	font-family: FontAwesome;
	content: "\f07c" !important;
	color: #d2d2d2;
}

/* アイコンがある行の行間 */
.hkb-subcats > li {
	margin: 0 0 20px !important;
}



/*-----------------------------------------------------
entry content （記事詳細で使用する本文スタイル）
-----------------------------------------------------*/
/* 記事の本編部分のスタイル */
.hkb-article__content .entry-content {

}

@media screen and (min-width: 321px)
	/* font styling */
	body {
		font-size: 14px !important;
	}
	.entry-content h1,
	.entry-content h3,
	.entry-content h4,
	.entry-content h5,
	.entry-content h6 {
		margin: 40px 0 14px !important;
	}
	.entry-content h2 {
		margin: 50px 0 14px !important;
		padding-bottom: 8px;
		font-size: 24px !important;
		border-bottom: dotted 1px #dfe4e6;
	}
	.entry-content h3 {
		font-size: 18px !important;
		font-weight: bold;
	}
	.entry-content h4 {
		padding-left: 10px;
		font-size: 16px !important;
		font-weight: bold;
		line-height: 1.2;
		border-left: solid 4px #9cc051;
	}
	.entry-content p,
	.entry-content ul,
	.entry-content ol,
	.entry-content table {
		font-size: 14px;
	}
	.entry-content p.note {
		margin: -20px 0 25px;
		padding-left: 12px;
		font-size: 12px;
		line-height: 1.5;
	}
	.entry-content p.note:before {
		margin: 0 4px 0 -10px;
		content: '※';
	}
	.entry-content a.ref-item:before {
		margin-right: 8px;
		content: '\f0a4';
		font-family: FontAwesome;
	}
	/* image */
	.entry-content img {
		margin: 10px 0;
	}

	/* list */
	.entry-content ul,
	.entry-content ol {
		margin-top: -14px !important;
	}
	.entry-content ul li ul,
	.entry-content ul li ol,
	.entry-content ol li ul,
	.entry-content ol li ol {
		margin-top: 10px !important;
	}

	/* list procedure */
	.entry-content ol.procedure {
		counter-reset: item;
		list-style-type: none;
		padding-left: 0;
	}
	.entry-content ol.procedure ol {
		padding-left: 1em;
	}
	.entry-content ol.procedure li {
		margin-top: 12px;
		text-indent: -2.0em;
		padding-left: 2.0em;
	}
	.entry-content ol.procedure li:before {
		counter-increment: item;
		content: counter(item)'.';
		padding-right: 0.5em;
		font-size: 20px;
		font-weight: bold;
	}
	.entry-content ol.procedure li ul,
	.entry-content ol.procedure li ol {
		padding-left: 20px;
	}
	.entry-content ol.procedure li ul li,
	.entry-content ol.procedure li ol li {
		margin-top: 0;
		text-indent: 0;
		padding-left: 0;
	}
	.entry-content ol.procedure li ul li:before,
	.entry-content ol.procedure li ol li:before {
		content: none;
	}
	.entry-content ol.procedure li ol li {
		list-style-type: lower-latin;
	}
	.entry-content ol.procedure li ul,
	.entry-content ol.procedure li ol {
		margin-top: 0 !important;
	}

	/* table */
	.entry-content table {
		 margin-top: -8px !important;
	}
	.entry-content th {
		width: 20%; 
		font-weight: normal;
		text-align: left;
	}
	.entry-content th,
	.entry-content td {
		padding: 6px 10px !important;
		border-top: solid 1px #dfe4e6 ;
		border-bottom: solid 1px #dfe4e6 ;
	}

	.entry-content table.intro-menu th,
	.entry-content table.intro-menu td {
		background: #ffffff !important;
	}

	.entry-content table.intro-menu th {
		width: 20%;
	}
	.entry-content table.intro-menu td {
		border-left: solid 1px #dfe4e6 ;
	}

	/* information erea */
	.ref-link {
		position: relative;
		margin: 50px 0;
		padding: 18px;
		font-size: 14px;
		background: #fffdf3;
		border-top: 2px solid #32a3cb;
	}
	.ref-link:after {
		position: absolute;
		content: '関連記事';
		background-color: #32a3cb;
		color: #ffffff;
		left: 0px;
		bottom: 100%;
		border-radius: 5px 5px 0 0;
		padding: 6px 10px;
		font-size: 0.8rem;
		line-height: 1;
		letter-spacing: 0.1em;
	}

	.memo-txt {
		position: relative;
		margin: 50px 0;
		padding: 18px;
		font-size: 14px;
		background: #fffdf3;
		border-top: 2px solid #9CC151;
	}
	.memo-txt:after {
		position: absolute;
		content: '参考';
		background-color: #9CC151;
		color: #ffffff;
		left: 0px;
		bottom: 100%;
		border-radius: 5px 5px 0 0;
		padding: 6px 10px;
		font-size: 0.8rem;
		line-height: 1;
		letter-spacing: 0.2em;
	}

	.attention-txt {
		position: relative;
		margin: 50px 0;
		padding: 18px;
		font-size: 14px;
		color: #f5a44f;
		background: #fffdf3;
		border-top: 2px solid #f5a44f;
	}
	.attention-txt:after {
		position: absolute;
		content: '注意';
		background-color: #f5a44f;
		color: #ffffff;
		left: 0px;
		bottom: 100%;
		border-radius: 5px 5px 0 0;
		padding: 6px 10px;
		font-size: 0.8rem;
		line-height: 1;
		letter-spacing: 0.2em;
	}

}



