/* コンテンツ全体のスタイリング */
.content-section {
	display: flex;
	max-width: 1200px;
	margin: 50px auto;
	gap: 40px;
}

/* ダウンロード詳細ページ固有のスタイル */
.download-title {
	display: flex;
	align-items: center;
	color: #4c4948;
	font-family: 'Plus Jakarta Sans';
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	padding: 114px 12px 20px;
}

/* 左カラム（記事コンテンツ） */
.content-text {
	width: 65%;
}

.content-text .thumbnail img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.content-text h1 {
	font-size: 28px;
	font-weight: bold;
	margin: 20px 0;
}
/* 投稿時h2とh3が使われる */
.content-text h2 {
	font-size: 24px;
	font-weight: bold;
	/* 色5cb531 */
	color: #af9448;
	margin: 20px 0;
}
.content-text h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 20px 0;
	padding: 0.5em; /*文字周りの余白*/
	/* 色5cb531 */
	color: #af9448;
	border-left: solid 5px #af9448; /*左線（実線 太さ 色）*/
}

.content-text p {
	font-size: 16px;
	line-height: 1.8;
	color: #3e3a39;
}

.content-text hr {
	border: 0;
	height: 1px;
	background: #ddd;
	margin: 20px 0;
}

/* 右カラム（フォーム） */
.contact-form {
	width: 35%;
	padding: 30px;
	background: #f9f9f9;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ナビゲーションリンクのスタイル */
.post-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 50px auto;
	padding: 20px 0;
	border-top: 1px solid #ddd;
}

.post-navigation .prev-post a,
.post-navigation .next-post a,
.post-navigation .back-to-list a {
	display: inline-block;
	padding: 15px 30px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	background-color: #3e3a39;
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.post-navigation .prev-post a:hover,
.post-navigation .next-post a:hover,
.post-navigation .back-to-list a:hover {
	background-color: #af9448;
}

/* 一覧に戻るボタンを中央に配置 */
.back-to-list {
	text-align: center;
	flex-grow: 1;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.content-section {
		flex-direction: column;
		gap: 20px;
		margin: 20px;
	}

	.content-text,
	.contact-form {
		width: 100%;
	}

	.post-navigation {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.download-title {
		padding: 60px 12px 10px;
	}
}
