/* Publication Page Styles */

/* 基本の見出しスタイル */
.publication-content h2 {
  padding: 15px 20px;
  margin: 30px 0 20px;
  border-radius: 5px;
  font-weight: bold;
}

/* 奇数番目の見出し（1番目、3番目、5番目...） */
.publication-content h2:nth-of-type(odd) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

/* 偶数番目の見出し（2番目、4番目、6番目...） */
.publication-content h2:nth-of-type(even) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(240, 147, 251, 0.3);
}

/* ホバー効果 */
.publication-content h2:hover {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

/* 別のスタイルパターン（3色パターン） */
/* 
.publication-content h2:nth-of-type(3n+1) {
  background: #2c3e50;
  color: white;
  border-left: 5px solid #3498db;
}

.publication-content h2:nth-of-type(3n+2) {
  background: #34495e;
  color: white;
  border-left: 5px solid #e74c3c;
}

.publication-content h2:nth-of-type(3n) {
  background: #7f8c8d;
  color: white;
  border-left: 5px solid #f39c12;
}
*/