@charset "UTF-8";
/* =========================================================
   ブログ機能 専用スタイル
   すべて .lp-blog 配下にスコープしているため、
   既存ページ（LP）のデザインには一切影響しません。
   触る場合もこのファイルだけで完結します。
   ========================================================= */

/* ---- 共通ラッパー ---- */
.lp-blog {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
  color: #333;
}

/* 本文段落などのタイポグラフィをブログ内だけ読みやすく上書き
   （テーマ全体の p は太字＆両端揃えのため、ここで通常表示に戻す） */
.lp-blog p {
  font-size: 15px;
  font-weight: normal;
  line-height: 1.9;
  text-align: left;
  color: #333;
  margin: 0 0 1em;
}

/* ---- 見出し補助テキスト ---- */
.lp-blog .lp-blog__lead {
  text-align: center;
  color: #888;
  font-size: 14px;
  margin: -10px auto 30px;
}

/* =========================================================
   投稿カード一覧（TOP「最近の投稿」／一覧ページ／アーカイブ共通）
   ========================================================= */
.lp-blog__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.lp-blog__card {
  margin: 0;
  background: #fff;
  border: 1px solid #f0e6e6;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}

.lp-blog__card:hover {
  box-shadow: 0 6px 20px rgba(227, 170, 170, .25);
  transform: translateY(-3px);
}

/* カード全体をリンクに */
.lp-blog__card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* サムネイル（16:10） */
.lp-blog__thumb {
  position: relative;
  width: 100%;
  padding-top: 62.5%;
  overflow: hidden;
  background: #faf3f3;
}
.lp-blog__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 画像が無い投稿用のプレースホルダー */
.lp-blog__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-blog__thumb--empty span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e3aaaa;
  font-size: 14px;
  letter-spacing: .1em;
  font-weight: bold;
}

.lp-blog__body {
  padding: 16px 18px 20px;
}

.lp-blog__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.lp-blog__date {
  font-size: 12px;
  color: #999;
}
.lp-blog__cat {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f7e9e9;
  color: #c98a8a;
}

.lp-blog__title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 8px;
  text-align: left;
  color: #333;
  /* 2行で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lp-blog__excerpt {
  font-size: 13px !important;
  color: #777 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  /* 3行で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 「一覧を見る」ボタン ---- */
.lp-blog__more {
  text-align: center;
  margin-top: 36px;
}
.lp-blog__more a {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid #e3aaaa;
  border-radius: 999px;
  color: #d38f8f;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
  transition: background .25s ease, color .25s ease;
}
.lp-blog__more a:hover {
  background: #e3aaaa;
  color: #fff;
}

/* ---- 投稿が無い時のメッセージ ---- */
.lp-blog__empty {
  text-align: center;
  color: #999;
  padding: 30px 0;
}

/* =========================================================
   記事詳細（single.php）
   ========================================================= */
.lp-blog__single {
  max-width: 760px;
}
.lp-blog__single .lp-blog__meta {
  justify-content: center;
  margin-bottom: 14px;
}
.lp-blog__article-title {
  font-size: 24px;
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin: 0 auto 24px;
}
.lp-blog__eyecatch {
  margin: 0 0 28px;
}
.lp-blog__eyecatch img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* 本文（the_content） */
.lp-blog__content {
  font-size: 16px;
  line-height: 1.95;
  color: #333;
}
.lp-blog__content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.lp-blog__content h2 {
  /* テーマの装飾付きh2をブログ本文では無効化し、素直な見出しに */
  display: block;
  font-size: 20px;
  color: #333;
  text-align: left;
  border-left: 5px solid #e3aaaa;
  padding-left: 12px;
  margin: 40px 0 16px;
  line-height: 1.5;
}
.lp-blog__content h2::before,
.lp-blog__content h2::after {
  display: none;
  content: none;
}
.lp-blog__content h3 {
  font-size: 18px;
  text-align: left;
  color: #444;
  margin: 32px 0 12px;
  border-bottom: 2px solid #f0e6e6;
  padding-bottom: 6px;
}
.lp-blog__content ul,
.lp-blog__content ol {
  padding-left: 1.5em;
  margin: 0 0 1.2em;
}
.lp-blog__content li {
  margin-bottom: .4em;
  line-height: 1.8;
}
.lp-blog__content a {
  color: #d38f8f;
  text-decoration: underline;
}
.lp-blog__content blockquote {
  margin: 1.2em 0;
  padding: 12px 18px;
  background: #faf3f3;
  border-left: 4px solid #e3aaaa;
  color: #666;
}

/* ---- 記事下ナビ（前後記事・一覧へ戻る） ---- */
.lp-blog__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #f0e6e6;
  font-size: 13px;
}
.lp-blog__nav a {
  color: #d38f8f;
  text-decoration: none;
  max-width: 45%;
}
.lp-blog__nav a:hover {
  text-decoration: underline;
}
.lp-blog__back {
  text-align: center;
  margin-top: 32px;
}

/* =========================================================
   ページネーション
   ========================================================= */
.lp-blog__pager {
  margin-top: 44px;
  text-align: center;
}
.lp-blog__pager .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  margin: 0 3px;
  border: 1px solid #f0e6e6;
  border-radius: 6px;
  color: #c98a8a;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
}
.lp-blog__pager .page-numbers.current {
  background: #e3aaaa;
  border-color: #e3aaaa;
  color: #fff;
}
.lp-blog__pager a.page-numbers:hover {
  background: #faf3f3;
}

/* =========================================================
   ページ見出し（一覧・アーカイブ）
   ========================================================= */
.lp-blog__page-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #e3aaaa;
  margin: 0 auto 8px;
}

/* ---- スマホ調整 ---- */
@media screen and (max-width: 600px) {
  .lp-blog__list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .lp-blog__article-title {
    font-size: 20px;
  }
  .lp-blog__content {
    font-size: 15px;
  }
}
