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

/* 共通スタイル */
.contents {
	margin-top: 100px;
	margin-bottom: 60px;
}

.c_block {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.c_block nav {
	width: 10%;
}

.c_block nav a {
	position: relative;
	padding-bottom: 5px;
	display: inline-block;
	text-decoration: none;
}

/* カテゴリーホバー */
.c_block nav a::before {
	background: #fff;
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.c_block nav a:hover::before {
	transform-origin: left top;
  transform: scale(1, 1);
}

.category {
	display: block;
	margin-bottom: 40px;
}

.category p {
	font-size: 16px;
	font-weight: 500;
}

.category .en {
	font-size: 14px;
	color: #B3AFB0;
	margin-top: 8px;
}

.c_article {
	width: 66%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.c_article_box {
	width: 48%;
	margin-bottom: 60px;
	transition: 0.3s;
}

.c_article_box:hover {
	opacity: 0.7;
}

.c_article_img img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.c_article_title_sub {
	font-size: 14px;
	color: #B3AFB0;
	margin-top: 15px;
	display: flex;
}
.post-categories {
	margin-left: 15px;
}
.c_article_title h3 {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.9;
	margin-top: 8px;
}

.comingsoon {
	font-size: 18px;
	width: 80%;
	text-align: center;
}

/* ページネーションのスタイル */
.pagination {
	width: 100%;
    margin-top: 50px;
	display: flex;
	justify-content: center;
}
.pagination nav {
	margin-top: 0;
}
.pagination .nav-links {
	display: flex
}
.page-numbers {
	font-size: 16px;
    display: block;
    padding-top: 20px;
    border: solid 1px;
    border-radius: 6px;
    text-align: center;
	margin: 0 8px;
	width: 60px;
	height: 64px;
}
.c_block nav .page-numbers:hover {
	border-bottom: none!important;
	background-color: #fff;
	color: #000;
}
.c_block nav .page-numbers::after {
	display: none!important;
}


/* メディアクエリ */
@media screen and (min-width : 520px) {
	.c_block {
		display: flex;
		justify-content: space-between;
	}
	.c_article {
		width: 66%;
	}
}

@media screen and (max-width : 520px) {
	.contents {
		margin-top: 60px;
	}
	.content_slide {
		display: flex;
		overflow-x: auto;
		margin: auto;
	}

	.content_slide a {
		position: relative;
		margin-right: 30px;
		flex-shrink: 0;
	}

	.category {
		margin-bottom: 15px;
	}
	.c_block nav {
		width: 100%;
	}

	.c_article {
		margin-top: 50px;
		width: 100%;
	}

	.c_article_box {
		width: 100%;
	}
	
	.pagination {
    margin-top: 20px;
}
	.comingsoon {
		text-align: left;
		margin-top: 25px;
	}

	/* スクロールバーカスタマイズ（必要であれば有効に） */
	/*
	.content_slide::-webkit-scrollbar {
		height: 5px;
	}

	.content_slide::-webkit-scrollbar-thumb {
		background: #aaa;
		border-radius: 6px;
	}

	.content_slide::-webkit-scrollbar-track {
		background: #ddd;
		border-radius: 6px;
	}
	*/
}
