#blog *{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	list-style: none;
	color: #000;
}
#blog{
	padding: 100px 20px;
}
#blog #mainttl{
	max-width: 1000px;
	margin: 0 auto 50px;
}
#blog #mainttl a{
	transition: all 0.4s;
}
#blog #mainttl a:hover{
	text-decoration: none;
	opacity: 0.7;
}
#blog #mainttl .jp{
	font-size: 28px;
}
#blog #mainttl .en{
	font-size: 18px;
	color: #4d4d4d;
	padding-left: 16px;
}
#blog #category{
	max-width: 1000px;
	padding-bottom: 30px;
	margin: 0 auto 60px;
	border-bottom: 1px solid #e5e5e5;
}
#blog #category::after{
	content: "";
	display: block;
	clear: both;
}
#blog #category h2{
	float: left;
	width: 180px;
	line-height: 32px;
	padding-left: 26px;
	background: url(/assets/images/searchicon.png) left center / 12px auto no-repeat;
}
#blog #category ul{
	float: left;
}
#blog #category ul::after{
	content: "";
	display: block;
	clear: both;
}
#blog #category li{
	float: left;
	margin: 0 10px 10px 0;
}
#blog #category li:last-child{
	margin-right: 0;
}
#blog #category li a{
	display: block;
	padding: 10px 12px;
	font-size: 12px;
	border-radius: 2px;
	background: #ededed;
	color: #404040;
	line-height: 1;
	transition: all 0.4s;
}
#blog #category li a:hover{
	text-decoration: none;
	background: #000;
	color: #fff;
}

/* ========== 記事一覧（flexboxレイアウト） ========== */
#blog #articlelist{
	max-width: 1040px;
	padding: 0 20px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 32px 2.8%;
}
#blog #articlelist li{
	width: 31.4%;
	box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.15);
	display: flex;
}
#blog #articlelist li a{
	display: flex;
	flex-direction: column;
	width: 100%;
	text-decoration: none;
	transition: all 0.4s;
}
#blog #articlelist li a:hover{
	opacity: 0.7;
}
#blog #articlelist li figure{
	padding-top: 58%;
	background: center / cover;
	flex-shrink: 0;
}
#blog #articlelist li figure.noimg{
	background: #f0f0f0;
}
#blog #articlelist li .txt{
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
#blog #articlelist li time{
	font-size: 12px;
	color: #767f5d;
	font-weight: bold;
	display: block;
	margin-bottom: 5px;
	flex-shrink: 0;
}
#blog #articlelist li h2{
	font-size: 15px;
	line-height: 1.6;
	font-weight: bold;
	flex: 1;
}

/* ========== ページネーション ========== */
#blog .navigation.pagination{
	max-width: 1000px;
	margin: 60px auto 0;
	text-align: center;
}
#blog .nav-links{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
#blog .nav-links a,
#blog .nav-links span{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 14px;
	border-radius: 2px;
	text-decoration: none;
	transition: all 0.4s;
}
#blog .nav-links a{
	background: #ededed;
	color: #404040;
}
#blog .nav-links a:hover{
	background: #000;
	color: #fff;
}
#blog .nav-links span.current{
	background: #000;
	color: #fff;
}
#blog .nav-links span.dots{
	background: none;
	min-width: auto;
	padding: 0 4px;
	color: #999;
}
#blog .nav-links .prev,
#blog .nav-links .next{
	font-size: 18px;
}

/* ========== 記事詳細 ========== */
#blog article{
	box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.15);
	background: #fff;
	padding: 50px;
	max-width: 1000px;
	margin: 0 auto 60px;
}
#blog article time{
	float: left;
	color: #767f5d;
	font-weight: bold;
	line-height: 32px;
}
#blog article .wp_category{
	float: right;
	display: block;
	padding: 10px 12px;
	font-size: 12px;
	border-radius: 2px;
	background: #ededed;
	color: #404040;
	line-height: 1;
	transition: all 0.4s;
}
#blog article .wp_category:hover{
	text-decoration: none;
	background: #000;
	color: #fff;
}
#blog article h1{
	font-size: 26px;
	font-weight: bold;
	line-height: 1.6;
	clear: both;
	margin: 60px 0;
}
#blog article #the_content *{
	font-size: 16px;
	line-height: 1.8;
}
#blog article #the_content em,
#blog article #the_content strong{
	font-weight: bold;
}
#blog article #the_content a{
	text-decoration: underline;
}
#blog article #the_content a:hover{
	text-decoration: none;
}
#blog article #the_content img{
	max-width: 100%;
	height: auto;
}
#blog article #the_content p{
	margin-bottom: 2em;
}
#blog article #the_content p:last-child{
	margin-bottom: 0;
}
#blog article #the_content h2{
	margin-bottom: 2em;
	font-weight: bold;
	font-size: 22px;
	line-height: 1.4;
	padding-bottom: 10px;
	border-bottom: solid 1px #000;
}
#blog article #the_content h3{
	margin-bottom: 2em;
	font-weight: bold;
	font-size: 18px;
	line-height: 1.4;
	padding-left: 20px;
	border-left: 2px solid #000;
}
#blog article #the_content h4{
	font-weight: bold;
	margin-bottom: 2em;
	font-size: 18px;
	line-height: 1.4;
}

/* ========== SP ========== */
@media (max-width: 767px){
	#blog #mainttl{
		margin-bottom: 30px;
		text-align: center;
	}
	#blog #mainttl .jp{
		font-size: 20px;
		padding: 0 5px;
		white-space: nowrap;
	}
	#blog #mainttl .en{
		font-size: 14px;
		padding: 0 5px;
		white-space: nowrap;
	}
	#blog{
		width: 88%;
		margin: 0 auto;
		padding: 80px 0 60px;
	}
	#blog #category{
		padding-bottom: 20px;
		margin: 0 auto 30px;
	}
	#blog #category ul{
		text-align: center;
	}
	#blog #category li{
		display: inline-block;
		float: none;
		margin: 5px !important;
	}
	#blog #category h2{
		float: none;
		width: auto;
		padding-left: 20px;
		background-size: 10px auto;
		line-height: 1;
		margin-bottom: 10px;
	}
	#blog #articlelist{
		padding: 0;
		gap: 20px 0;
	}
	#blog #articlelist li{
		width: 100%;
		margin: 0;
	}
	#blog .navigation.pagination{
		margin-top: 40px;
	}
	#blog .nav-links a,
	#blog .nav-links span{
		min-width: 36px;
		height: 36px;
		font-size: 13px;
	}
	#blog article{
		padding: 20px;
	}
	#blog article time{
		font-size: 12px;
	}
	#blog article h1{
		font-size: 20px;
		margin: 60px 0 30px;
	}
	#blog article #the_content *{
		font-size: 14px;
	}
	#blog article #the_content h2{
		font-size: 18px;
		padding-bottom: 8px;
	}
	#blog article #the_content h3{
		font-size: 16px;
		padding-left: 16px;
	}
	#blog article #the_content h4{
		font-size: 16px;
	}
}
