/* ニュース一覧のスタイル */
.news-list {
  margin: 20px 0;
  padding: 0;
}

.news-title{
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.news-item {
  padding: 10px 0;
}

.news-item:not(:last-child) {
  border-bottom: 1px solid #ccc;
}

.news-item h2 {
  font-size: 1.5em;
  margin: 0;
}

.news-item h2 a {
  text-decoration: none;
  color: #007BFF;
}

.news-item h2 a:hover {
  text-decoration: underline;
}

.news-item .date {
  font-size: 0.9em;
  color: #666;
}

.news-item .summary {
  font-size: 1em;
  color: #333;
}

/* ヘッダー */
.blog-header {
  background-color: #007BFF;
  color: white;
  padding: 1rem 0;
  text-align: center;
}

.blog-header h1 {
  margin: 0;
  font-size: 2.5rem;
}

.blog-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: linear-gradient(135deg, #ffffff, #ffffff); /* グラデーション背景 */
  color: #333; /* テキストの色 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* 影を強調 */
  border: 2px solid #e1dede; /* ボーダーを追加 */
  border-radius: 10px; /* 角を丸くする */
}

/* 見出しのスタイル */
.blog-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #000000; /* 見出しを鮮やかな色に */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* テキストに影を追加 */

  /* https://qiita.com/tamanyan/items/e37e76b7743c59235995#%E8%A7%A3%E6%B1%BA%E7%AD%962-word-break-keep-all--overflow-wrap-break-word--wbr */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 段落のスタイル */
.blog-content p {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4a4a4a; /* 段落のテキスト色 */
  line-height: 1.8; /* 行間を広げる */
}

/* フッター */
.blog-footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #333;
  color: white;
  margin-top: 2rem;
}

.blog-footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* 画像を含む figure のスタイル */
.presentation-figure {
  text-align: center; /* 画像とキャプションを中央揃え */
  margin: 3rem 0; /* 上下の余白を追加 */
}

/* 画像のスタイル */
.presentation-figure img {
  max-width: 50%; /* 画像の幅を親要素の50%に制限 */
  height: auto; /* 縦横比を維持 */
  border-radius: 8px; /* 角を丸くする */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 影を追加 */
}

/* キャプションのスタイル */
.presentation-figure figcaption {
  font-size: 1.5rem; /* キャプションの文字サイズを小さめに */
  color: #000000; /* キャプションの文字色 */
  margin-top: 0.5rem; /* 画像との間に余白を追加 */
}