/* 投稿カード全体 */
.lp-post-card-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin: 40px 0;
}

/* カード枠 */
.lp-post-card {
  display: block;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s ease;
}

.lp-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

/* サムネ */
.lp-post-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* コンテンツ部分 */
.lp-post-content {
  padding: 14px 16px 20px;
}

/* メタ情報（日付 + カテゴリ） */
.lp-post-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #666;
}

.lp-post-cat {
  background: #f3f3f3;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* タイトル */
.lp-post-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  margin: 0;
}

/* ===== ニュース一覧（画像なし） ===== */

/* ===========================
   ニュース一覧（横並びデザイン再現）
   =========================== */

.lp-news-list {
  width: 100%;
}

/* 横並びの本体 */
.lp-news-item {
  display: flex !important;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  text-decoration: none;
  color: #222;
}

/* 左の「日付」 */
.lp-news-date {
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

/* 真ん中のカテゴリ pill */
.lp-news-cat {
  background: #eef5ef;
  padding: 6px 18px;
  font-size: 15px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}

/* 右のタイトル */
.lp-news-title {
  font-size: 18px;
  color: #222;
}

/* 区切り線 */
.lp-news-divider {
  border: none;
  border-bottom: 1px solid #e5e5e5;
  margin: 0;
}

/* =============================
   投稿ページ（single.php）
   ============================= */

.single-wrapper {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 20px;
}

.single-article {
  margin-bottom: 60px;
}

/* アイキャッチ */
.single-thumb img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 28px;
}

/* タイトル */
.single-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* メタ情報 */
.single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.single-date {
  font-size: 15px;
  color: #666;
}

.single-cat {
  background: #eef5ef;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #333;
}

/* 本文 */
.single-content {
  font-size: 18px;
  line-height: 1.8;
}

.single-content p {
  margin-bottom: 1.6em;
}

.single-content h2 {
  margin-top: 2.4em;
  margin-bottom: 0.8em;
  font-size: 26px;
}

.single-content h3 {
  margin-top: 2em;
  margin-bottom: 0.8em;
  font-size: 22px;
}

/* 前後記事リンク */
.single-nav {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.single-prev a,
.single-next a {
  color: #555;
  text-decoration: none;
}

.single-prev a:hover,
.single-next a:hover {
  text-decoration: underline;
}

/* 一覧へ戻る */
.single-back {
  text-align: center;
  margin-top: 40px;
}

.single-back a {
  font-size: 16px;
  text-decoration: none;
  color: #222;
}

.single-back a:hover {
  text-decoration: underline;
}

/* =============================
   アーカイブページ（archive.php）
   ============================= */

.archive-wrapper {
  max-width: 900px;
  padding: 20px;
  margin: 60px auto;
}

.archive-header {
  margin-bottom: 40px;
}

.archive-title {
  font-size: 28px;
  font-weight: 700;
}

/* 一覧リスト */
.archive-list {
  width: 100%;
}

.archive-item {
  display: flex !important;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  text-decoration: none;
  color: #222;
}

.archive-item:hover .archive-title {
  text-decoration: underline;
}

/* 日付 */
.archive-date {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

/* カテゴリ pill */
.archive-cat {
  background: #eef5ef;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

/* タイトル */
.archive-title {
  font-size: 18px;
  flex: 1;
}

/* 区切り線 */
.archive-divider {
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  margin: 0;
}
