/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */
/* ---------------------------------------------
   DIVER機能：ランキング0の時の見た目を整える
   --------------------------------------------- */
.rank_h.\30::before {
    width: 0px; /* ::beforeの横幅を0にして表示を消す */
}

/* ---------------------------------------------
   スマホ表示用のレスポンシブ対応
   .mobilenone クラスを持つ要素はスマホでは非表示にする
   --------------------------------------------- */
@media (max-width: 599px) {
  .mobilenone {
    display: none; /* スマホでは非表示 */
  }
}

/******************************
 セクションタイトル装飾
******************************/
.content h5 {
  display: inline;
  background: linear-gradient(transparent 50%, #ffddee 50%);
}
/******************************
 サイドバー
******************************/
/* サイドバー */
.sidebar-text {
  font-size: 14px;
}
/* リンクごとに横線追加 */
.sidebar-text li a {
  display: block;
  padding: 2px 0;
  border-bottom: 1px solid #ddd !important;
  text-decoration: none;
  color: #333;
}

/* 最後のリンクだけ線を消す */
.sidebar-text li:last-child a {
  border-bottom: none !important;
}

/* =============================
   TOC追従サイドバー
   ============================= */
/* TOC追従サイドバーのH3タグのフォントサイズ */
/* 第1階層のリンクのフォントサイズと行間 */
.toc_widget_list > li > a {
  font-size: 93%;  /* お好みで 100% → 105% や 1.1em などに変更可能 */
}

/* 第2階層のリンクのフォントサイズと行間（既存と統合） */
.toc_widget_list > li > ul > li > a {
  font-size: 90%;
}
.toc_widget_list > li > ul > li {
  padding: 2.5px 5px !important;
}

/******************************
 期別メンバー表示（ラベル付きリスト）
******************************/
.member-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.member-list li {
  position: relative;
  padding-left: 4.5em;
  text-indent: 0;
}

.member-list li::before {
  content: attr(data-label);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/******************************
 セットリスト関連
******************************/

/* 共通：セットリストの基本設定（リストマーク除去など） */
ol.setlist {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: main-counter; /* 本編用カウンター初期化 */
}

/* 本編リスト */
ol.setlist.main {
  padding-left: 20px;
  counter-reset: main-counter;
}

ol.setlist.main li {
  line-height: 1.6;
  margin: 5px 0;
}

/* アンコールリスト */
ol.setlist.encore {
  padding-left: 20px;
  counter-reset: encore-counter;
}

ol.setlist.encore li {
  line-height: 1.6;
  margin: 5px 0;
}

/* ダブルアンコールリスト */
ol.setlist.double {
  padding-left: 20px;
  counter-reset: double-counter;
}

ol.setlist.double li {
  line-height: 1.6;
  margin: 5px 0;
}

/* 曲番号の表示設定 */
ol.setlist.main li::before {
  content: "M" counter(main-counter, decimal-leading-zero) ".";
  counter-increment: main-counter;
  margin-right: 10px;
}

ol.setlist.encore li::before {
  content: "EN" counter(encore-counter, decimal) ".";
  counter-increment: encore-counter;
  margin-right: 10px;
}

ol.setlist.double li::before {
  content: "WEN" counter(double-counter, decimal) ".";
  counter-increment: double-counter;
  margin-right: 10px;
}


/* MC項目（番号なし） */
ol.setlist li.mc {
  position: relative;
  padding-left: 51px;
  list-style: none;
  color: #808080;
}

ol.setlist li.mc::before {
  content: "";
  position: absolute;
  left: 0;
  width: 51px;
  counter-increment: main-counter 0;
}

/* M00 表記（カウントなしの見た目だけ） */
ol.setlist.main li.m00::before {
  content: "M00.";
  counter-increment: none;
  margin-right: 10px;
}

