@charset "UTF-8";

#key-visual:after{
	background-image: url(../images/blog-key-visual.jpg);
}


#contents .inner{
	position: relative;
	align-items: flex-start;
}
#side-bar{
	width: calc(34.5rem - 7.2rem);
	padding: 3.6rem;
	border-radius: 1.8rem;
	background: #fff;
	position: sticky;
	top: 10rem;
	right: 0;
}
#side-bar h3{
	font-size: 2rem;
	margin-bottom: .6rem;
}
#side-bar li{
	padding: 1.8rem 0;
	border-bottom: .2rem dotted #ccc;
}
#side-bar ul{
	margin-bottom: 3.6rem;
}
select{
	background: url(../images/arrow05-b.svg) no-repeat;
	background-size: 1.2rem auto;
	background-position: right 1.8rem center;
	color: #333;
	font-family: "Zen Maru Gothic", YuGothic, 游ゴシック, メイリオ, Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 1.4rem;
	border: 1px solid #ccc;
	border-radius: .45rem;
	width: 100%;
	height: 4rem;
	display: flex;
	align-items: center;
	appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	-moz-appearance: none;
	border-radius: 0;
	margin-top: 2.4rem;
	padding: 0 1.8rem;
}
main{
	width: 79.5rem;
	padding-top: 0;
	padding-bottom: 0;
	background: none;
}

article{
	width: calc(33.333% - 2.4rem);
	margin-bottom: 4.8rem;
}
article:not(:nth-of-type(3n)){
	margin-right: 3.6rem;
}
article .pic{
	width: 100%;
	height: 17.66649rem;
	overflow: hidden;
	border-radius: .9rem;
	display: block;
}
article h2{
	font-size: 1.8rem;
	line-height: 1.75;
	font-weight: 700;
}
.date{
	display: block;
	margin: 1.5rem 0 1rem;
	font-size: 1.4rem;
	opacity: .6;
}
.cats{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: .5rem;
	font-size: 1.3rem;
}
.cats a,
.cats li{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 1em;
	height: 1.6em;
	border-radius: .8em;
	background: #fff;
	border: .1rem solid #333;
	margin-bottom: .75em;
	margin-right: .75em;
}
.pager{
	display: flex;
	justify-content: center;
	align-items: center;
}
.pager a{
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #333;
	margin: 0 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .3s all ease;
}
.pager .current a,
.pager a:hover{
	color: #fff;
	background: #333;
}
.prev a:before{
	content: "";
	display: block;
	width: 10%;
	height: 10%;
	border-left: 2px solid #333;
	border-top: 2px solid #333;
	transform: rotate(-45deg);
}
.prev a:hover:before{
	border-left-color: #fff;
	border-top-color: #fff;
}
.next a:before{
	content: "";
	display: block;
	width: 10%;
	height: 10%;
	border-right: 2px solid #333;
	border-top: 2px solid #333;
	transform: rotate(45deg);
}
.next a:hover:before{
	border-right-color: #fff;
	border-top-color: #fff;
}


@media screen and (max-width: 768px){
	#contents{
		padding-left: 2rem;
		padding-right: 2rem;
	}

	#contents .inner{
		padding-top: 8.2rem;
	}
	#side-bar{
		width: 100%;
		padding: 2.4rem 1.8rem;
		border-radius: .9rem;
		background: #fff;
		position: relative;
		top: auto;
		right: auto;
		margin-top: 4.8rem;
	}

	#side-bar li{
		padding: 1.8rem 0;
		border-bottom: .3rem dotted #ccc;
	}

	main{
		width: 100%;
	}
	article{
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		padding: 2.4rem 0;
		border-bottom: .2rem dotted #ccc;
		margin-bottom: 0;
	}
	article:not(:nth-of-type(3n)){
		margin-right: 0;
	}
	article .pic{
		border-radius: .4rem;
		width: calc((100vw - 3rem) * .382 - .9rem);
		height: calc(((100vw - 3rem) * .382 - .9rem) / 3 * 2)
	}
	article .txt{
		width: calc(61.8% - .9rem);
	}
	article h2{
		font-size: 1.5rem;
	}
	.date{
		margin: 0 0 1rem;
		font-size: 1.4rem;;
	}
	.cats{
		font-size: 1.2rem;
	}

	.pager{
		margin-top: 3.6rem;
	}
	.pager a{
		width: 3.6rem;
		height: 3.6rem;
		margin: 0 .5rem;
	}
}