/* 全体ベースリセット */
body {
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	color: #2f2f2f;
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
blockquote {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

h2,
h3 {
	font-size: 1.714rem;
	letter-spacing: 0.15em;
}

p {
	font-size: 16px;
	line-height: 1.8;
}

/* ブログ一覧タイトル */
.contents-top {
	background: url(img/bg.jpg);
	padding: 40px 20px;
	margin-top: 180px;
	text-align: center;
}

.contents-top .title {
	background: rgba(255, 255, 255, .8);
	width: 30%;
	margin: auto;
	padding: 30px 0;
}

.contents-top .title h1 {
	font-size: 2.5rem;
	color: #4780c5;
	margin: 0;
}

/* ブログ一覧全体のグリッド（カードを3列で並べる） */
.contents1a {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	width: 90%;
	margin: 50px auto;
}

/* 各ブログカード */
.voicelist-item {
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	transition: transform 0.3s ease;
}

.voicelist-item:hover {
	transform: translateY(-5px);
}

.voicelist-item a {
	text-decoration: none;
	color: inherit;
	display: block;
	padding: 15px;
}

.voicelist-item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
	margin-bottom: 10px;
}

.voicelist-item h2 {
	font-size: 1.1rem;
	color: #08549b;
	margin: 10px 0;
}

.voicelist-item p {
	font-size: 0.85rem;
	color: #666;
}

/* ページネーション用 */
.pagination {
	text-align: center;
	margin: 40px auto;
	font-size: 1rem;
}

.pagination a,
.pagination span {
	display: inline-block;
	margin: 0 5px;
	padding: 8px 12px;
	border: 1px solid #ccc;
	color: #08549b;
	text-decoration: none;
	border-radius: 4px;
	transition: 0.2s ease;
}

.pagination a:hover {
	background-color: #08549b;
	color: #fff;
	border-color: #08549b;
}

/* レスポンシブ対応：スマホは1列 */
@media (max-width: 1024px) {
	.contents-top .title {
		width: 50%;
	}
}

@media (max-width: 768px) {
	.contents1a {
		grid-template-columns: 1fr;
	}

	.contents-top {
		margin-top: 100px;
		padding: 30px 10px;
	}

	.contents-top .title {
		width: 80%;
	}

	.contents-top .title h1 {
		font-size: 2rem;
	}
}

.voicelist-item {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 16px;
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease;
}

.voicelist-item:hover {
	transform: translateY(-4px);
}

.voicelist-item img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: 12px;
}

.voicelist-item h2 {
	font-size: 18px;
	margin-bottom: 8px;
}

.voicelist-item p {
	font-size: 14px;
	color: #666;
}

.contents1a {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	/* ★ ここを固定3列に！　*/
	gap: 30px;
	max-width: 1440px;
	/* ★ 横幅を制限！ */
	margin: 40px auto;
	/* ★ 中央寄せ */
	padding: 0 16px;
}

@media (max-width: 1024px) {
	.contents1a {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.contents1a {
		grid-template-columns: 1fr;
	}
}