@charset "UTF-8";
/* CSS Document */
/* 対義語辞典 CSS */
/* シリーズ内リンク（5ボタン構成）*/
/* 2026/03/04 */
/* 2026/03/09  4ボタンから、5ボタンに */
/* 2026/03/16 */

.series-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.series-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  line-height: 1.3;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.series-btn span {
  display: block;
}

/* --- カラーバリエーション --- */
.series-btn.blue {
  background: #e3f2fd;
  border: 2px solid #2196F3;
  color: #1976D2;
}

.series-btn.green {
  background: #e8f5e9;
  border: 2px solid #4caf50;
  color: #2e7d32;
}

.series-btn.orange {
  background: #fff3e0;
  border: 2px solid #ff9800;
  color: #e65100;
}

.series-btn.purple {
  background: #f3e5f5;
  border: 2px solid #9c27b0;
  color: #6a1b9a;
}

.series-btn.pink {
  background: #fce4ec;
  border: 2px solid #f06292;
  color: #880e4f;
}

/* --- ホバーエフェクト --- */
.series-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* --- レスポンシブ設定（カラム数） --- */
@media (max-width: 750px) {
  .series-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .series-links {
    grid-template-columns: 1fr;
  }
  .series-btn {
    padding: 9px 12px;
    font-size: 0.9rem;
  }
}

/* --- 現在ページ（カレント）強調表示 --- */
.series-btn.blue.current { background: #2196F3; color: #fff !important; }
.series-btn.green.current { background: #4caf50; color: #fff !important; }
.series-btn.orange.current { background: #ff9800; color: #fff !important; }
.series-btn.purple.current { background: #9c27b0; color: #fff !important; }
.series-btn.pink.current { background: #f06292; color: #fff !important; }

/* ===============================
    新設：5つ目・6つ目のボタン（2分割）の設定
================================= */

/* 新色：ミニポスター用（エメラルドグリーン） */
.series-btn.teal {
  background: #e0f2f1;
  border: 2px solid #00897b;
  color: #00695c;
}
.series-btn.teal.current { 
  background: #00897b; 
  color: #fff !important; 
}

/* 2段目のボタン（PCでは4カラムのうち2カラムずつ使う） */
.series-btn.half-width {
  grid-column: span 2;      /* 2個分を横に使う */
  justify-content: center;  /* 中央寄せ */
  padding: 12px 14px;       /* 強調のため少し厚めに */
  gap: 10px;
}

/* タブレット：元々2カラムなので、そのまま2個並ぶ（span 2を解除） */
@media (max-width: 750px) {
  .series-btn.half-width {
    grid-column: span 2; /* 2カラム設定の時は1列を丸ごと使う */
  }
}

/* モバイル：1カラムなので自動的に縦並び */
@media (max-width: 600px) {
  .series-btn.half-width {
    grid-column: auto;
    justify-content: space-between; /* 他のボタンとデザインを統一 */
  }
}