/* Remove body, header, footer related styles */
/* Scope all styles under .chewing-post-content */

.chewing-post-content {
  color: #333; /* 基本文字色は維持 */
  line-height: 1.7; /* 行間を少し広げて読みやすく */

}

.chewing-post-content .container {
  max-width: 800px; /* コンテンツ幅を少し狭めて読みやすく */
  margin: 0 auto;
  padding: 0 20px; /* 左右のパディングを少し増やす */
}

/* タイトルスタイル */
.chewing-post-content .container h1 {
  color: #4A4A4A; /* 落ち着いたダークグレーに変更 */
  font-size: 2.2em; /* 少し大きく */
  font-weight: bold;
  margin: 40px 0 30px 0; /* 上下のマージンを調整 */
  text-align: center;
}

.chewing-post-content .container h1 i {
  margin: 0 10px;
  color: #50C878; /* エメラルドグリーンに変更 */
  /* animation: bounce 1s infinite; を削除 */
  font-size: 0.9em; /* アイコンサイズを少し調整 */
  vertical-align: middle; /* アイコンとテキストの垂直位置調整 */
}

/* bounce アニメーションを削除 */
/* @keyframes bounce { ... } */

.chewing-post-content .glassmorphism-card {
  background-color: rgba(255, 255, 255, 0.75); /* 透明度を少し調整 */
  border-radius: 12px; /* 角丸を少し小さく */
  backdrop-filter: blur(8px); /* ブラーを少し弱める */
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(230, 230, 230, 0.5); /* 境界線を少し明確に */
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); /* 影を柔らかく */
  padding: 30px; /* パディングを増やす */
  margin-bottom: 30px; /* カード間のマージンを増やす */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease-out forwards 0.2s; /* 少し遅延させて表示 */
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.chewing-post-content .glassmorphism-card h2 {
  color: #2c3e50; /* 濃いめのブルーグレー */
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 0;
  border-bottom: 1px solid #eee; /* 下線を細く、色を薄く */
  padding-bottom: 15px; /* パディング調整 */
  margin-bottom: 25px; /* マージン調整 */
}

.chewing-post-content .glassmorphism-card h3 {
  color: #34495e; /* h2より少し明るいブルーグレー */
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 30px; /* マージン調整 */
  margin-bottom: 15px; /* マージン調整 */
}

.chewing-post-content .glassmorphism-card p {
  margin-bottom: 20px; /* パラグラフ下のマージンを増やす */
  color: #555; /* 文字色を少し濃く */
}

.chewing-post-content .glassmorphism-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px; /* リスト下のマージン */
}

.chewing-post-content .glassmorphism-card ul li {
  margin-bottom: 12px; /* リストアイテム間のマージン */
  padding-left: 30px; /* 左のパディングを調整 */
  position: relative;
  color: #555;
}

.chewing-post-content .glassmorphism-card ul li i.fas {
  position: absolute;
  left: 0;
  top: 5px; /* アイコン位置調整 */
  color: #50C878; /* h1のアイコンと同じエメラルドグリーン */
  font-size: 1.1em; /* アイコンサイズ調整 */
}

.chewing-post-content .glassmorphism-card table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px; /* テーブル下のマージン */
  overflow-x: auto;
  display: block;
  border: 1px solid #eee; /* テーブル全体の境界線 */
}

.chewing-post-content .glassmorphism-card th,
.chewing-post-content .glassmorphism-card td {
  border: 1px solid #eee; /* セルの境界線を薄く */
  padding: 12px 15px; /* セルのパディング調整 */
  text-align: left;
  white-space: normal; /* セル内でテキストを折り返す */
  vertical-align: top; /* セル内コンテンツを上揃えに */
}

.chewing-post-content .glassmorphism-card th {
  background-color: #f8f9fa; /* ヘッダー背景を薄いグレーに */
  color: #4A4A4A; /* ヘッダー文字色 */
  font-weight: 600; /* 少し太字に */
}

/* 偶数行の背景色指定を削除 (シンプル化のため) */
/* .chewing-post-content .glassmorphism-card tr:nth-child(even) { ... } */

.chewing-post-content .glassmorphism-card a {
  color: #3498db; /* リンク色を明るい青に */
  text-decoration: none;
  font-weight: 500;
}

.chewing-post-content .glassmorphism-card a:hover {
  text-decoration: underline;
  color: #2980b9; /* ホバー時の色を少し濃く */
}

.chewing-post-content #references ol {
  padding-left: 25px; /* 参照リストのインデント調整 */
}

.chewing-post-content #references li {
  margin-bottom: 12px;
  word-break: break-all;
  color: #666; /* 参照リストの文字色を少し薄く */
  font-size: 0.95em;
}

/* ホバーエフェクトを控えめに */
.chewing-post-content .glassmorphism-card:hover {
  transform: translateY(-3px); /* 移動量を小さく */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* 影を少し強調 */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* transitionプロパティをまとめる */
}

.chewing-post-content .glassmorphism-card h2 i,
.chewing-post-content .glassmorphism-card h3 i {
  margin-right: 12px; /* アイコン右マージン調整 */
  color: #a5d6a7; /* 淡いグリーン */
  font-size: 0.9em; /* アイコンサイズ調整 */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .chewing-post-content .container {
      padding: 0 5px; /* スマホ表示の左右パディング */
  }

  .chewing-post-content .container h1 {
      font-size: 1.8em; /* スマホでのタイトルサイズ */
      margin: 30px 0 20px 0;
  }

  .chewing-post-content .glassmorphism-card {
      padding: 20px; /* スマホでのカードパディング */
      margin-bottom: 25px;
  }

  .chewing-post-content .glassmorphism-card h2 {
      font-size: 1.5em; /* スマホでのh2サイズ */
      margin-bottom: 20px;
      padding-bottom: 10px;
  }

  .chewing-post-content .glassmorphism-card h3 {
      font-size: 1.2em; /* スマホでのh3サイズ */
      margin-top: 25px;
      margin-bottom: 12px;
  }

  .chewing-post-content .glassmorphism-card table {
      font-size: 0.9em;
      margin-bottom: 20px;
  }

  .chewing-post-content .glassmorphism-card th,
  .chewing-post-content .glassmorphism-card td {
      padding: 10px 12px; /* スマホでのセルパディング */
  }

  .chewing-post-content .glassmorphism-card ul li {
      padding-left: 25px;
  }

  .chewing-post-content .glassmorphism-card ul li i.fas {
      top: 4px;
      font-size: 1em;
  }
}

/* 追加スタイル：引用などがあれば */
/*
.chewing-post-content blockquote {
  border-left: 4px solid #50C878;
  margin: 20px 0;
  padding: 10px 20px;
  background-color: #f8f9fa;
  color: #555;
  font-style: italic;
}
*/

body.single-post article.article-content {
  /* Specific styles for chewing article content */
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.8;
  color: #333;
} 