/* =========================================================
   ライザのアトリエ風 カスタムCSS（サイドメニュー用微縮小版）
   ========================================================= */

/* 共通カラー定義 */
:root {
  --ryza-gold: #d4a359;         /* 金属・装飾のゴールド */
  --ryza-orange: #f0832b;       /* ライザのイメージカラー */
  --ryza-paper: #fefcf7;        /* 錬金術の羊皮紙風背景 */
  --ryza-red-top: #e87a70;      /* マットなオレンジ・赤（グラデーション上） */
  --ryza-red-bottom: #d95b50;   /* マットなオレンジ・赤（グラデーション下） */
}

/* ---------------------------------------------------------
   1. 大見出し（* 記号 / .content-head / .mu__h-large）
   --------------------------------------------------------- */
/* メインエリア（基本サイズ） */
.content-head,
.mu__h-large,
.main .content-head,
.main .mu__h-large,
.main .mu.markup .mu__h-large {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--ryza-red-top) 0%, var(--ryza-red-bottom) 100%) !important;
  
  border-radius: 12px !important;
  overflow: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  
  padding: 11px 16px !important;
  border: 2px solid #ffe8aa !important;
  box-shadow: 0 4px 10px rgba(217, 91, 80, 0.2) !important;
  font-weight: bold !important;
  font-size: 1em !important;
  line-height: 1.4 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
  margin: 8px 0 !important;
}

/* ★サイドメニュー内の大見出し（帯・文字を1pt縮小） */
.menu .mu__h-large,
.side .mu__h-large,
.menu .menu__head strong.mu__h-large,
.side .menu__head strong.mu__h-large {
  padding: 10px 15px !important;    /* パディングを上下1px・左右1px縮小 */
  font-size: 14px !important;
}

/* 文字色および折り返し保証 */
.content-head *,
.mu__h-large * {
  color: #ffffff !important;
  word-break: break-word !important;
}

/* 左右のゴールド枠アクセント */
.content-head:before, .mu__h-large:before,
.content-head:after, .mu__h-after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  width: 5px !important;
  height: 100% !important;
  background: var(--ryza-gold) !important;
  pointer-events: none !important;
}

.content-head:before, .mu__h-large:before {
  left: 0 !important;
  border-radius: 12px 0 0 12px !important;
}

.content-head:after, .mu__h-after {
  right: 0 !important;
  border-radius: 0 12px 12px 0 !important;
}

/* ---------------------------------------------------------
   2. 中見出し（** 記号 / .mu__h-middle）
   --------------------------------------------------------- */
/* メインエリア（基本サイズ） */
.mu__h-middle,
.main .mu.markup .mu__h-middle {
  color: #3e2723 !important;
  background-color: var(--ryza-paper) !important;
  
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 36px;
  padding: 6px 14px 6px 16px !important;
  line-height: 1.4;
  margin: 6px 0 !important;
  
  border: none !important;
  border-left: 5px solid var(--ryza-orange) !important;
  border-bottom: 2px double var(--ryza-gold) !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.05) !important;
  font-weight: bold !important;
  font-size: 0.98em !important;
}

/* ★サイドメニュー内の中見出し（帯・文字を1pt縮小） */
.menu .mu__h-middle,
.side .mu__h-middle,
.menu .menu__head strong.mu__h-middle,
.side .menu__head strong.mu__h-middle {
  min-height: 34px !important;      /* 縦幅を縮小 */
  padding: 5px 13px 5px 15px !important; /* 上下パディングを1px縮小 */
  font-size: 0.98em !important;
}

/* ---------------------------------------------------------
   3. 小見出し（*** 記号 / .mu__h-little）
   --------------------------------------------------------- */
/* メインエリア（基本サイズ） */
.mu__h-little,
.main .mu.markup .mu__h-little {
  color: #2c3e50 !important;
  padding-left: 20px !important;
  min-height: 28px;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  position: relative !important;
  margin: 4px 0 !important;
  
  border: none !important;
  border-bottom: 1px dashed var(--ryza-gold) !important;
  font-size: 0.95em !important;
  font-weight: bold !important;
}

/* ★サイドメニュー内の小見出し（帯・文字を1pt縮小） */
.menu .mu__h-little,
.side .mu__h-little,
.menu .menu__head strong.mu__h-little,
.side .menu__head strong.mu__h-little {
  min-height: 26px !important;      /* 縦幅を縮小 */
  font-size: 0.95em !important;
  padding-left: 18px !important;
}

.mu__h-little:before {
  content: "◆" !important;
  font-size: 0.8em !important;
  color: var(--ryza-orange) !important;
  position: absolute !important;
  left: 4px !important;
}
/* サイドメニュー全体の大元の文字サイズ設定 */
.side,
.menu {
  font-size: 14px !important; /* ← 好みのサイズに変更（例: 13px, 15px, 0.9rem など） */
}
/* 表組み用独自CSS */
.list-2 .mu__list, .list-3 .mu__list, .list-4 .mu__list, .list-5 .mu__list, .list-6 .mu__list {
display:-webkit-box; display:-ms-flexbox; display:flex;
}
.list-2 .mu__list, .list-3 .mu__list, .list-4 .mu__list, .list-5 .mu__list {
 -ms-flex-wrap: wrap; flex-wrap: wrap; width: 100%; box-sizing: border-box; border-left: solid 1px #243456; border-top: solid 1px #243456; }
.list-2 .mu__list li, .list-3 .mu__list li, .list-4 .mu__list li, .list-5 .mu__list li {
 -webkit-box-align: center; -ms-flex-align: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; align-items: center; margin: 0; padding: 5px; box-sizing: border-box; text-align: center; font-size: 12px; border-right: solid 1px #777777; border-bottom: solid 1px #777777; list-style: none !important;
}
.list-2 > p, .list-3 > p, .list-4 > p, .list-5 > p {
 margin: 0; padding: 6px; text-align: center; font-size: 12px; background: #274a78; border: solid 1px#243456; border-bottom: none;
 color: white;
}
/* LIST-2 ～ LIST-5 */
.list-2 li {
 -ms-flex-preferred-size: 50%; flex-basis: 50%;
}
.list-3 li {
 -ms-flex-preferred-size: 33.33%; flex-basis: 33.33%;
}
.list-4 li {
 -ms-flex-preferred-size: 25%; flex-basis: 25%;
}
.list-5 li {
 -ms-flex-preferred-size: 20%; flex-basis: 20%;
}
/* 1行目ぶち抜き */
.list-2 .list-2_top .mu__list li:first-child, .list-3 .list-3_top .mu__list li:first-child, .list-3 .list-4_top .mu__list li:first-child, .list-3 .list-5_top .mu__list li:first-child {
 -ms-flex-preferred-size: 100%; flex-basis: 100%;
}
/* 1行目を見出しの様な見た目に変更 */
.list-2 .list-2_head li:nth-child(1), .list-2 .list-2_head li:nth-child(2), .list-3 .list-3_head li:nth-child(1), .list-3 .list-3_head li:nth-child(2), .list-3 .list-3_head li:nth-child(3), .list-4 .list-4_head li:nth-child(1), .list-4 .list-4_head li:nth-child(2), .list-4 .list-4_head li:nth-child(3), .list-4 .list-4_head li:nth-child(4), .list-5 .list-5_head li:nth-child(1), .list-5 .list-5_head li:nth-child(2), .list-5 .list-5_head li:nth-child(3), .list-5 .list-5_head li:nth-child(4), .list-5 .list-5_head li:nth-child(5) {
 background: #274a78;
}
/* テーブルの左セルの固定 */
.chara_status_list tr td:first-child {
 position:absolute;
}
.chara_status_list .mu__table table tr:nth-child(even) td:first-child,
.chara_status_list .mu__table table tr:nth-child(odd) td:first-child {
 background:rgba(255,255,255,0);border-bottom:none;border-left:none;border-right:none;color:#00b;
}
.chara_status_list .mu__table table tr td:first-child {
 text-shadow:0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff;
}
.chara_status_list .mu__table img {
 vertical-align: top;
}
.chara_status_list .mu__table td,
.chara_status_list .mu__table th {
    margin: 0px;
    padding: 5px;
}
/* ――――― 目次3列 ↓――――― */
.mokuji3 .mu__index { padding: 0; border: none; background: none; }
.mokuji3 .mu__index p {margin: 0; padding: 6px 0; box-sizing: border-box; color: #444; text-align: center; background: #eee; border: solid 1px #999; }
.mokuji3 .mu__index ul { display: flex; flex-wrap: wrap; border-left: solid 1px #999; box-sizing: border-box; }
.mokuji3 .mu__index li { display: flex; width: 50%; padding: 6px 8px; box-sizing: border-box; margin: 0 !important; border: solid 1px #999; border-left: none; border-top: none; list-style: none; }
.mokuji3 .mu__index li a:before { content: ""; display: inline-block; width: 12px; height: 7px; margin-right: 4px; background: url(https://cdn.gamerch.com/contents/wiki/4676/entry/5Ee6DZMK.png) no-repeat; background-size: 100% 100%; }
/* ――――― 目次3列 ↑――――― */