@charset "utf-8";

h2 {
  text-align: left;
}




/* =========================
   Header Adjustment
========================= */

.simple-header {
  position: static;
}

/* =========================
   Series Info
========================= */

.series-keywords {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 2rem;
}

.series-summary {
  margin-bottom: 3rem;
}

/* =========================
   Episode List
========================= */

.episode-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.episode-item {
  margin-bottom: 1.2rem;
}

.episode-item a {
  color: #222;
  text-decoration: none;
}

.episode-item a:hover {
  text-decoration: underline;
}

.episode-number {
  font-size: 0.85rem;
  color: #666;
  margin-right: 0.5rem;
}

.episode-list {
  list-style: none;  /* 「・」を消す */
  padding-left: 0;   /* 左の余白も消す */
  margin: 0;         /* 上下の余白を調整 */
}

.episode-list li {
  margin-bottom: 0.8em;  /* 行間を調整 */
}



/* =========================
   illustration-gallery
========================= */
/* ギャラリー全体は中央 */
.illustration-gallery {
  margin-top: 4rem;
  text-align: center;
}

/* サムネイル領域の幅を固定して中央に */
.illust-wrap {
  max-width: 600px;   /* 好みで調整 */
  margin: 0 auto;
}

/* 中身は左寄せ */
.illust-list {
  display: flex;
  justify-content: flex-start; /* ← 左寄せ */
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.illust-list li {
  width: 120px;
}

.illust-list img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  display: block;
}

/* イラスト折りたたみ表示 */
.illustration-gallery details {
  margin-top: 3rem;
}

/* 開閉トリガー */
.illustration-gallery summary {
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 1rem;
  list-style: none; /* Safari対策 */
}

/* マーカー（▶）調整 */
.illustration-gallery summary::marker {
  font-size: 0.9em;
}

/* 開いたときだけ余白を確保 */
.illustration-gallery details[open] {
  margin-bottom: 4rem;
}

.illustration-gallery summary {
  cursor: pointer;
  font-weight: normal;
  font-size: 0.95rem;
  color: #555;
  text-decoration: underline;
  margin-bottom: 1rem;
}

.illustration-gallery summary:hover {
  color: #000;
}





/* =========================
   toggle-summary
========================= */
.summary-content {
  display: none;        /* 初期は非表示 */
  margin-top: 0.8em;
}

.toggle-summary {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 0.4em 0.8em;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 4px;
}

.toggle-summary.active {
  background-color: #e0e0e0;
}