@charset "UTF-8";
/* CSS Document */

body{
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", 'メイリオ' , Meiryo , Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	border-top: 5px solid #0074c1;
}

/****************************************

         　　 共通

*****************************************/

/*ヘッダー*/
#header{
	max-width: 1000px;
	margin: 10px auto;
}

#s{border: 1px solid #ccc;}

#searchsubmit{
	border-color: #ccc;
	background: #0074c1;
}

/*メインメニュー*/
#main-menu{
	height: 50px;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 2px 3px #ebebeb;
	background: #fff;
}

#main-menu li{
	line-height: 50px;
}

#main-menu li:last-child{
	border-right: 1px solid #e5e5e5;
}

#main-menu li a{
	color: #333;
	border-left: 1px solid #e5e5e5;
}

#main-menu li a:hover {
	color: #fff;
	background: #0074c1;
}

#main-menu li ul li{
	color: #fff;
	background: #fff;
}

#main-menu li:hover ul li{
	border-bottom: 1px solid #e5e5e5;
}

/*サイド*/
.side h3{
	color: #0074c1;
	font-size: 20px;
	border-bottom: 1px solid #0074c1;
}

.side-post li{border-bottom: 1px solid #ededed;}

.side-rank li:before{
	color: #0074c1;
	background: #ffea00;
}

.tag-list li a{
	color: #9f9f9f;
	border-radius: 5px;
	background: #e5e5e5;
}

.tag-list li a:hover{
	color: #fff;
	background: #0074c1;
}

/****************************************

         　　 トップ

*****************************************/

.top-post{
	padding-bottom: 25px;
	border-bottom: 1px solid #ccc;
}

.top-post a,
.top-post-body{
	display: table-cell;
	vertical-align: middle;
	margin: auto;
}

.top-post a{
	width: 330px;
	padding-right: 15px;
}

.top-post .exc{
	margin-top: 10px;
	color: #8d8d8d;
	line-height: 1.5;
}

.top-post h2{margin-top: 10px;}

.top-post .cate{
	padding: 3px 8px;
	margin-right: 10px;
}

.post-list article{
	position: relative;
	float: left;
	width: 330px;
	margin-bottom: 40px;
}

.post-list article:nth-child(odd){
	padding-right: 12px;
	margin-right: 12px;
	border-right: 1px solid #ccc;
}

.post-list img{margin-bottom: 8px;}

.top-post h2,
.post-list h2{
	font-size: 20px;
	line-height: 1.5;
}

.top-post h2 a,
.post-list h2 a{color: #0074c1;}

.top-post .cate,
.post-list .cate{background: #ffea00;}

.post-list .cate{
	padding: 0 8px;
	position: absolute;
	top: 0;
	left: 0;
}

/****************************************

         　　 記事コンテンツ

*****************************************/

.post-area{
	margin: 0;
	font-size: 17px;
}

.post-meta{
	margin-bottom: 20px;
	border-bottom: 1px solid #ccc;
}

.post-meta .date{margin-bottom: 0px;}

.post-title{
	margin: 0 0 15px;
	font-size: 30px;
	line-height: 1.5;
}

.post-content h2{
	margin: 15px 0;
	padding: 12px 15px 8px;
	font-size: 23px;
	border-left: 5px solid #0074c1;
	background-color: #F9F9F9;
}

.post-content h3{
	margin: 15px 0;
	padding: 15px 10px 8px;
	font-size: 21px;
	border-bottom: 1px solid #ccc;
}

/*記事上のSNSボタン*/
.post-sns li{
	width: 24.4%;
	height: 40px;
	line-height: 40px;
}

.post-sns li span:before{font-size: 19px;}

.icon-hatebu:before,
.icon-twitter:before,
.icon-thumbs-up:before,
.icon-pocket:before{
	margin-right: 5px;
	top: 3.5px;
}

/*記事下のSNSボタン*/
.social-box{background: #e7f5ff;}

/*関連記事一覧*/
.post-relation h5{
	margin: 30px 0 5px;
	padding: 8px 15px 8px;
	font-size: 21px;
	border-radius: 5px;
	background-color: #F9F9F9;
}

/****************************************

         　　 スマホ対応

*****************************************/
@media only screen and (max-width: 1024px) {

	/*ヘッダー*/
	#logo{width: 260px;}

	/*メインメニュー*/
	#main-menu {
		height: 100%;
	}
    
    #menu-icon {
    	background-color:rgba(0,116,193,1);
    }

    #main-menu li a{
    	padding: 0 8px;
		border-left: 0;
		border-bottom: 1px dashed #ccc;
	}

	#main-menu li ul li a{
		padding-left: 20px;
	}

	/*トップ*/
	.top-post a,
	.top-post-body{
		display: block;
		width: auto;
		padding-right: 0;
	}

	.top-post a{width: 100%;}

	.top-post{padding-bottom: 10px;}

	.top-post h2{
		font-size: 16px;
		margin: 0;
	}

	.top-post .date{
		margin-top: 8px;
		font-size: 12px;
	}

	.top-post .cate{padding: 0 8px;}

	.top-post .exc{display: none;}

	.post-list article{
		width: 100%;
		padding-top: 8px;
		border-bottom: 1px solid #ccc;
	}

	.post-list img{
		float: left;
		width: 35%;
		margin-right: 5px;
	}

	.post-list h2{
		font-size: 13px;
		line-height: 1.5;
	}

	.post-list article:nth-child(odd){
		margin: 0;
		padding-left: 0;
		border-right: none;
	}

	.post-list .date{
		font-size: 12px;
		
	}

	.post-list .cate{
		position: static;
		margin-right: 5px;
	}

	/*パンくず*/
	.breadcrumb{
		padding: 5px; 
		margin: 0;
		background: #F9F9F9;
	}

	/*記事コンテンツ*/
	.post-content h2,
	.post-content h3{
		padding: 10px;
		font-size: 17px;
	}

	.post-meta .date{
		font-size: 14px;
		font-weight: bold;
		margin-bottom: 5px;
	}

	.post-title{font-size: 17px;}

	.post-content{font-size: 15px;}

	/*記事上のSNSボタン*/
	.post-sns li{width: 23.8%;}

	.icon-hatebu:before,
	.icon-twitter:before,
	.icon-thumbs-up:before,
	.icon-pocket:before{
		margin-right: 0;
	}

	.post-content h4{
		font-size: 16px;
	}

}