/*
Theme Name: AFFINGER4 Child
Template: affinger4
Version: 20171010
*/

/*カテゴリID別に色を指定できます
例）IDが7の場合
.catname.st-catid7 {
	background:#ff0000;
	color:#fff;
}
*/

/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960px) {


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

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {


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

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {


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




/*-- ここからカスタム ----------------------------------------------------------------------------------*/


/*トップ ボタン*/
ul.icons {
			cursor: default;
			list-style: none;
			padding-left: 1.2em;
			margin-top: -0.675em;
		}

			ul.icons li {
				display: inline-block;
				padding: 0.675em 0.5em;
			}

				ul.icons li a {
					text-decoration: none;
					position: relative;
					display: block;
					width: 3.75em;
					height: 3.75em;
					border-radius: 100%;
					border: solid 1px #cbc68b;
					line-height: 3.75em;
					overflow: hidden;
					text-align: center;
					text-indent: 3.75em;
					white-space: nowrap;
				}

					ul.icons li a:before {
						-moz-osx-font-smoothing: grayscale;
						-webkit-font-smoothing: antialiased;
						font-family: FontAwesome;
						font-style: normal;
						font-weight: normal;
						text-transform: none !important;
					}

					ul.icons li a:before {
						color: #ffffff;
						text-shadow: 1.25px 0px 0px #c8cccf, -1.25px 0px 0px #c8cccf, 0px 1.25px 0px #c8cccf, 0px -1.25px 0px #c8cccf;
					}

					ul.icons li a:hover:before {
						text-shadow: 1.25px 0px 0px #ff7496, -1.25px 0px 0px #ff7496, 0px 1.25px 0px #ff7496, 0px -1.25px 0px #ff7496;
					}

					ul.icons li a:before {
						position: absolute;
						top: 0;
						left: 0;
						width: inherit;
						height: inherit;
						font-size: 1.85rem;
						line-height: inherit;
						text-align: center;
						text-indent: 0;
					}

					ul.icons li a:hover {
						border-color: #ff7496;
					}


/*ヘッダーh１、pフォントサイズ*/
h1.descr, p.descr{
font-size: 16px;
}



/*ヘッダーリンク*/
#header-r .footermenust {
  padding-top:15px;
}

/*ヘッダー画像下部余白*/
#gazou-wide{
  margin-bottom:70px;
}



h4{
font-size:20px;}



.fa-folder-open-o{
font-size:20px;}


/*コンテンツ内の見出し（h2）上の余白を広くする*/
h2 {
  margin-top:10px;
}


/* コンテンツ内の基本の文字の大きさを変える */
p {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 25px;
}


/*サイドバー見出しサイズ　ここから*/
#side aside h4 {
  font-size:20px !important;
  line-height:26px !important;
}


/*サイドバー各項目下余白*/
#mybox ul {
  margin-bottom:30px;
}

/*サイドバーランキング順位*/
.number {
  position:relative;
}
 
dl.number:before {
  counter-increment:ranking;
  content:counter(ranking);
  position:absolute;
  top:0;
  left:0;
  padding:2px 8px;
  background:#ff6893;
  font-size:13px;
  font-weight:bold;
  color:#fff;
}
 
h4 {
  counter-reset:ranking;
}



/*フッターGoogleフォント*/
#footer p {
  font-family:"Josefin Sans", sans-serif;
}
 
#footer a {
  font-family:"Josefin Sans", sans-serif;
}



#page-top {
	position: fixed;
	z-index: 9999;
	bottom: 40px;
	right: 10px;
	font-size: 30px;
}







/*ページトップのサイズ 色はならない*/
#page-top {
	font-size: 30px;
}

#page-top a {
	background: #ff6893;
	padding: 18px 24px;
}










/*カテゴリーウィジェット*/

#side aside ul li ul li { /* デフォルトのアイコンと余白を削除 */
	background: none;
	padding-left: 0;
}
#side aside li.cat-item a { /* リンク全体の装飾 */
	display: block;
	overflow: hidden;
	font-size: 16px; /* 文字サイズ */
	line-height: 2.4em; /* 行（ボックス）の高さ */
	text-decoration: none;
	vertical-align: middle;
	padding: 0 15px; /* 左右の余白 */
	color: #fff; /* 文字色 */
	background: -moz-linear-gradient(top, #d6d2a2, #bebe0a);
background: -webkit-gradient(linear, left top, left bottom, from(#d6d2a2), to(#bebe0a)); /* 背景色 */
	margin-bottom: 1px; /* 次のカテゴリーとの余白 */
}
#side aside li.cat-item a:hover { /* マウスオーバー時の設定 */
	background: #d6d2a2; /* 背景色 */
	color: #278a71; /* 文字色 */
}
#side aside li.cat-item span { /* 記事数部分の装飾 */
	line-height: 1em;
	float: right; /* 右端に寄せる */
	margin: 8px 0 0 8px; /* 位置の調整 */
	padding: 4px 8px; /* 文字周りの余白 */
	border-radius: 4px; /* 角の丸み */
	color: #fff; /* 文字色 */
	background: #d6d2a2; /* 背景色 */
}




/* 468 linkbox */

.linkboxContainer{
	width:468px;
	overflow: hidden;
	}
.linkbox1{
	width:193px;
margin:0px;  
	float: left;
}

.linkbox2{
	width:275px;
margin:0px; 
	float: left;
}

/* clearfix */
.linkboxContainer:before,
.linkboxContainer:after {
    content: "";
    display: table;
}
 
.linkboxContainer:after {
    clear: both;
}
 

