/* CTA */

.cta-box {
  border: 2px solid #333;
  padding: 25px;
  margin-top: 50px;
  text-align: center;
  background: #fafafa;
}

.cta-text {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.cta-request {
  background: #d32f2f;
  color: #fff;
}

.cta-entry {
  background: #333;
  color: #fff;
}

.cta-btn:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }
}
/* ブログ部分下部の関連記事設定20260423 */
/* タイトル */
.related-title {
  margin-top: 40px;
  font-size: 20px;
}

/* 全体 */
.related-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

/* カード */
.related-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s;
}

/* ホバー */
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* 画像 */
.related-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 本文 */
.related-body {
  padding: 10px;
}

/* タイトル */
.related-card-title {
  font-size: 14px;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* スマホ */
@media (max-width: 768px) {
  .related-posts {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   サイドバー（人気記事カード）
=============================== */

/* リスト全体 */
.widget ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  margin: 0;
}

.widget li {
  list-style: none;
}

/* カード化 */
.widget li a {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s;
  text-decoration: none;
  color: inherit;
}

/* ホバー */
.widget li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 画像 */
.widget img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
}

/* タイトル */
.widget li a span {
  padding: 8px;
  font-size: 14px;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ===============================
   ブログ一覧カード
=============================== */

.blog-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* スマホ */
@media (max-width: 768px) {
  .blog-cards {
    grid-template-columns: 1fr;
  }
}

/* カード本体 */
.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.blog-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* 画像 */
.card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* 本文 */
.card-body {
  padding: 15px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 14px;
  color: #666;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ===============================
   ブログ一覧リンク（CTA下）
=============================== */

.blog-link {
  margin-top: 20px;
  text-align: center;
}

.blog-link a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #333;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.blog-link a:hover {
  background: #333;
  color: #fff;
}