/* メインコンテナ */
.main-container {
	max-width: 1200px;
	margin: 4rem auto;
	padding: 0 2rem;
	display: grid;
	gap: 4rem;
}

/* 記事カード */
.article-card {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	margin: 0 auto 3rem;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	border: 1px solid var(--border-light);
}

.article-card:hover {
	transform: translateY(-5px);
	/* 熾火の表現: カードの影を暖色系のグロー（発光）に変更 */
	border-color: var(--soft-ember);
	box-shadow: 0 8px 25px rgba(211, 84, 0, 0.2);
}

.article-content {
    padding: 1rem 1.5rem 1.5rem;
}

.post-date {
	font-size: 0.875rem;
	color: var(--light-gray);
	margin-left: auto;
	margin-bottom: 0.75rem;
}

.post-category {
	display: inline-block;
	font-size: 0.75rem;
	color: var(--ember-orange);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
}

/* 和風の区切り装飾(ひし形) */
.divider {
	text-align: center;
	margin: 80px 0;
	color: #c97a3a;
	font-size: 16px;
	letter-spacing: 1em;
}

/* セクション - 和風に控えめに */
.section {
	margin-bottom: 90px;
	padding: 1rem 1.5rem 1.5rem;
}

.section textarea {
	width: 100%;
	height: 80px;
	resize: none;
	outline: none;
}

.section-input-name {
	width: 30%;
	padding: 0.2rem 0.5rem;
}

.section-title {
	font-size: 18px;
	color: #2c2c2c;
	margin-bottom: 40px;
	text-align: center;
	font-weight: 500;
	letter-spacing: 0.15em;
	position: relative;
}

.section-title::after {
	content: "";
	display: block;
	width: 40px;
	height: 1px;
	background-color: #c97a3a;
	margin: 15px auto 0;
}

/* コメント */
.comment-button {
	cursor: pointer;
    background: var(--washi-beige);
	color: var(--ember-orange);
    padding: 0.2rem 0.5rem;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.comment-button:hover {
    background: var(--ember-orange);
    color: var(--washi-beige);
}

/* 著者情報 - シンプルに縦配置 */
.author-card {
	text-align: center;
	padding: 0 20px;
}

.author-icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: linear-gradient(135deg, #c97a3a, #d89a5a);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 28px;
	margin: 0 auto 25px;
}

.author-info h3 {
	font-size: 17px;
	margin-bottom: 20px;
	color: #2c2c2c;
	font-weight: 500;
	letter-spacing: 0.1em;
}

.author-info p {
	font-size: 14px;
	color: #666;
	line-height: 1.8;
	margin-bottom: 20px;
}

.author-link {
	display: inline-block;
	color: #c97a3a;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 0.05em;
}

.author-link:hover {
	opacity: 0.7;
}

/* 関連記事 - 横並び3カラム */
.related-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
}

.related-item {
	text-decoration: none;
	color: inherit;
	display: block;
	padding-bottom: 25px;
	border-bottom: 1px solid #e8e0d5;
}

.related-item:hover .related-title {
	color: #c97a3a;
}

.related-category {
	color: #c97a3a;
	font-size: 12px;
	margin-bottom: 12px;
	letter-spacing: 0.08em;
}

.related-title {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 10px;
	line-height: 1.7;
	transition: color 0.2s;
	letter-spacing: 0.05em;
}

.related-date {
	font-size: 12px;
	color: #999;
	letter-spacing: 0.05em;
}

/* カテゴリー - 横並び2カラム */
.category-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	padding: 0 20px;
}

.category-item {
	text-decoration: none;
	color: inherit;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid #e8e0d5;
	transition: padding-left 0.2s;
}

.category-item:hover {
	padding-left: 10px;
}

.category-item:hover .category-name {
	color: #c97a3a;
}

.category-name {
	font-size: 15px;
	font-weight: 500;
	color: #2c2c2c;
	transition: color 0.2s;
	letter-spacing: 0.05em;
}

.category-count {
	font-size: 13px;
	color: #999;
}

@media (max-width: 1024px) {
	
}

@media (max-width: 768px) {
	.article-content h1 {
		font-size: 1.2rem;
	}

	.post-category {
		font-size: 0.6rem;
		margin-bottom: 0;
	}

	.post-date {
		font-size: 0.6rem;
		margin-bottom: 0;
	}
	
	.divider {
		margin: 1.5rem 0;
	}
	.section {
		margin-bottom: 2rem;
	}
	.section-title {
		margin-bottom: 1rem;
	}

	.section-input-name {
		width: 100%;
	}

	.comment-button {
		margin: 0.8rem auto;
	}
	
	.author-card {
		padding: 0;
	}
	.author-info p {
		font-size: 0.75rem;
	}
	.category-list {
		padding: 0.2rem;
	}

	.category-name {
		font-size: 0.7rem;
	}
	.related-name {
		font-size: 0.8rem;
	}
	
	.related-date {
		font-size: 0.55rem;
	}
	.related-comment {
		font-size: 0.7rem;
	}
}