/* ========================================================
  【新体制グループ用】ゆめかわネオ見出し一括設定 ＆ 黒紫記事メニュー（完成版）
======================================================== */

/* 👑 すべての見出し（h1〜h6）を一括でゆめかわネオに設定！ */
h1, h2, h3, h4, h5, h6, 
.atwiki-content h1, .atwiki-content h2, .atwiki-content h3, .atwiki-content h4, .atwiki-content h5, .atwiki-content h6,
#atwiki-body h1, #atwiki-body h2, #atwiki-body h3, #atwiki-body h4, #atwiki-body h5, #atwiki-body h6,
#menubar h3, #side h3 {
  font-size: 24px !important;                 /* すべての見出しを24pxで統一！ */
  border: none !important; 
  display: block !important; 
  box-shadow: 0 4px 0px #bae6fd, 4px 6px 10px rgba(167, 243, 208, 0.4) !important; 
  padding: 10px 18px !important; 
  border-radius: 10px !important;             /* 丸みのある可愛い10px */
  position: relative !important; 
  width: 100% !important; 
  box-sizing: border-box !important;
  background-color: #7dd3fc !important;       /* パステル水色 */
  margin-bottom: 15px !important; 
  color: #ffffff !important;                  /* 白文字 */
  /* 💡 ミント色のフチ取り＆フワッとした光の文字装飾 */
  text-shadow: 
   1px 1px 0 #a7f3d0, -1px -1px 0 #a7f3d0, 1px -1px 0 #a7f3d0, -1px 1px 0 #a7f3d0,
   0px 0px 4px #a7f3d0 !important; 
}

/* 見出しの中のリンク文字の下線を消して白くする設定 */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .atwiki-content a { 
  text-decoration: none !important; 
  color: #ffffff !important; 
}


/* 📋 記事メニューの見出し：黒背景×紫の縦線デザイン！ */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title,
.builtin_contents_track, .contents {
    font-size: 24px !important;                  /* 見出しとお揃いの24px */
    background-color: #000000 !important;       /* 背景を黒 */
    border-left: 6px solid #8a2be2 !important;   /* 左に紫の縦線 */
    border-radius: 6px !important;              /* 角を丸くする */
    padding: 10px 15px !important;              /* 内側の余白 */
    border-bottom: none !important; 
    border-top: none !important;
    border-right: none !important;
    box-shadow: none !important;                /* 影はなし */
    display: block !important; 
    width: 100% !important; 
    box-sizing: border-box !important;
}

/* 📋 記事メニューの文字（シンプルな白文字で読みやすく！） */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title,
.builtin_contents_track, .contents, .builtin_contents_track a, .contents a { 
 color: #ffffff !important; 
 text-shadow: none !important;                 /* 目次はフチなしで見やすさ重視 */
 text-decoration: none !important;
}

/* 右メニューやページ内の箇条書き（リスト）の点を✦に変える */
ul {
  list-style-type: "✦ " !important;
}

/* もし上記で変わらない場合の予備命令 */
li {
  list-style-type: "✦ " !important;
}

/* ==========================================
   投票プラグイン＆テーブルの枠線をココアベージュに
========================================== */

/* 1. 投票の枠線と中の区切り線 */
.plugin_vote, 
.plugin_vote table, 
.plugin_vote td, 
.plugin_vote th {
  border-color: #d7beb0 !important; /* ふんわり優しいココアベージュ */
}

/* 2. 通常のテーブル（表）の枠線 */
table, th, td, 
.atwiki-table, 
.atwiki-table th, 
.atwiki-table td {
  border: 1px solid #d7beb0 !important; /* 全てのテーブルの線をこの色に */
}

/* ==========================================
   【決定版】「返信〇件」をボタンとお揃いの薄紫にする
========================================== */
.comment_form span, #pcomment span,
.comment_form dt, #pcomment dt,
.comment_tree, .comment_reply,
[class*="reply"], [id*="reply"] {
  color: #e0b0ff !important;    /* ボタンや水平線とお揃いの薄紫 */
  font-weight: bold !important; /* 文字を少し太く */
}

/* マウスを乗せたとき（少しだけ濃い薄紫になって押しやすく） */
.comment_tree:hover, .comment_reply:hover,
[class*="reply"]:hover, [id*="reply"]:hover {
  color: #8a2be2 !important; 
}

/* アットウィキが裏で数字やリストを小さくしている設定をすべて102%に強制統一 */
body, div, span, p, a, li, dt, dd, td, th, h1, h2, h3, h4, h5, h6,
.num, .number, .count, .digits, [class*="num"], [id*="num"],
ol li, ul li, .list, .plugin_list {


font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "Kosugi Maru", sans-serif !important;
font-size: 102% !important;
font-weight: 500 !important;


}

/* ========================================================
 1. デフォルトの丸ポチを消して、お顔の土台を作る
======================================================== */
.comment_form input[type="radio"],
#pcomment input[type="radio"],
[class*="comment"] input[type="radio"] {


-webkit-appearance: none !important;
appearance: none !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
outline: none !important;
position: relative !important;
display: inline-block !important;
width: 60px !important;  
height: 60px !important;
cursor: pointer !important;
vertical-align: middle !important;
margin: 0 4px 2px 4px !important;


}

/* 💡 星マーク（☆ / ★）の設定 */
.comment_form input[type="radio"]::before,
#pcomment input[type="radio"]::before,
[class*="comment"] input[type="radio"]::before {


position: absolute !important;
top: 50% !important;
left: 50% !important;
line-height: 1 !important;
font-size: 55px !important; 
transform: translate(-50%, -50%) scale(1);
transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
z-index: 1 !important;


}

/* 💡 お顔のパーツ（最前面に重ねる）の設定 */
.comment_form input[type="radio"]::after,
#pcomment input[type="radio"]::after,
[class*="comment"] input[type="radio"]::after {


position: absolute !important;
top: 53% !important; /* 星の中心に合うように微調整 */
left: 50% !important;
line-height: 1 !important;
white-space: nowrap !important;
font-size: 11px !important; 
font-weight: bold !important;
transform: translate(-50%, -50%);
z-index: 2 !important; 
pointer-events: none !important;
transition: transform 0.06s ease-out, color 0.2s ease;


}

/* ========================================================
 2. 🚀 選択前：黄色の☆の中で「ーωー」と優しく浮遊する
======================================================== */
.comment_form input[type="radio"]:not(:checked)::before,
#pcomment input[type="radio"]:not(:checked)::before,
[class*="comment"] input[type="radio"]:not(:checked)::before {


content: "☆" !important;
color: #ffd700 !important; 


}
.comment_form input[type="radio"]:not(:checked)::after,
#pcomment input[type="radio"]:not(:checked)::after,
[class*="comment"] input[type="radio"]:not(:checked)::after {


content: "ーωー" !important;
color: #333333 !important; /* 黄色い星には黒文字 */


}

/* 全体をフワフワ浮遊させるアニメーション */
.comment_form input[type="radio"]:not(:checked),
#pcomment input[type="radio"]:not(:checked),
[class*="comment"] input[type="radio"]:not(:checked) {


animation: fuwafuwaUku 2.5s infinite ease-in-out !important;


}

@keyframes fuwafuwaUku {


0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); } 


}

/* ========================================================
 3. ⚡ タップした瞬間（アクティブ）：プニッと潰れてウインク！
======================================================= */
.comment_form input[type="radio"]:active::before,
#pcomment input[type="radio"]:active::before,
[class*="comment"] input[type="radio"]:active::before {


content: "★" !important;
color: #ff8c00 !important; /* オレンジ色 */
transform: translate(-50%, -30%) scale(1.6, 0.5) !important; /* 星がペチャッと潰れる */
transition: transform 0.06s ease-out;


}
.comment_form input[type="radio"]:active::after,
#pcomment input[type="radio"]:active::after,
[class*="comment"] input[type="radio"]:active::after {


content: "ーω・" !important; /* タップした瞬間ウインク！ */
color: #ffffff !important; /* お顔を白に！ */
transform: translate(-50%, -15%) scale(1.5, 0.6) !important; /* お顔もちょっと上寄りに潰れる */
transition: transform 0.06s ease-out;


}

/* ========================================================
 4. 🎉 選択後：オレンジの★＆白文字になり、1秒後に「ーωー」に戻る
======================================================== */
html body .comment_form input[type="radio"]:checked::before,
html body #pcomment input[type="radio"]:checked::before,
html body [class*="comment"] input[type="radio"]:checked::before {


content: "★" !important;
color: #8a2be2 !important; 


}

html body .comment_form input[type="radio"]:checked::after,
html body #pcomment input[type="radio"]:checked::after,
html body [class*="comment"] input[type="radio"]:checked::after {


color: #ffffff !important; /* 選択中はずっとお顔は白色 */
animation: winkBack 1s forwards !important; 


}

@keyframes winkBack {


0% { content: "ーω・"; }   /* 指を離した直後もまだびっくりウインク */
99% { content: "ーω・"; }  /* 1秒直前までキープ */
100% { content: "ーωー"; } /* 1秒経ったら「ほっ」として元に戻る！ */


}

/* ========================================================
5. 🚀【スローモーション版】右の角・左の角から交互に降る流れ星☆
======================================================== */
body {

position: relative !important;
overflow-x: hidden !important; 

}

/* 💫 流れ星その①：【右上（北東）の角】から左下（南西）へ */
body::before {

content: "★ ✦ ✦ ✦" !important; 
position: fixed !important;
z-index: 9999 !important; 
font-size: 20px !important;
white-space: nowrap !important;

/* 先頭★は黄色、後ろの✦は水色 */
color: #8b0000 !important; 
text-shadow: 

 0 0 10px #8a2be2,
 30px 0 5px #87ceeb,  
 55px 0 5px #87ceeb,  
 80px 0 5px #87ceeb;  

/* 💡 【大成功の角度！】触らずそのままキープ */
transform: rotate(-45deg) !important;

/* 💡 全体のループは4秒にして、流れる時間を2.2秒にスロー化！ */
animation: nagareboshiRight 4s infinite linear !important;

}

/* 💫 流れ星その②：【左上（北西）の角】から右下（南東）へ */
body::after {

content: "★ ✦ ✦ ✦" !important; 
position: fixed !important;
z-index: 9999 !important; 
font-size: 20px !important;
white-space: nowrap !important;

/* 先頭★は黄色、後ろの✦は水色 */
color: #ffd700 !important; 
text-shadow: 

 0 0 10px #ffd700,
 30px 0 5px #87ceeb,  
 55px 0 5px #87ceeb,  
 80px 0 5px #87ceeb;  

/* 💡 【大成功の角度！】触らずそのままキープ */
transform: rotate(225deg) !important;

/* 💡 全体のループは4秒、右の星から2秒遅らせて優雅にスタート */
animation: nagareboshiLeft 4s infinite linear !important;
animation-delay: 2s !important;

}

/* 🚀 右上の角から左下へゆっくり流れるルート */
@keyframes nagareboshiRight {

0% {

 top: -50px;
 right: -100px;
 opacity: 0;

}
5% {

 opacity: 1;

}
/* 💡 55%（2.2秒）かけて、画面の左下外へゆったり消え去るようにしたよ */
55%, 100% {

 top: 95vh;
 right: 115vw; 
 opacity: 0;

}

}

/* 🚀 左上の角から右下へゆっくり流れるルート */
@keyframes nagareboshiLeft {

0% {

 top: -50px;
 left: -100px;
 opacity: 0;

}
5% {

 opacity: 1;

}
/* 💡 55%（2.2秒）かけて、画面の右下外へゆったり消え去るようにしたよ */
55%, 100% {

 top: 95vh;
 left: 115vw; 
 opacity: 0;

}

}

/* ==========================================
   コメントフォーム入力欄（落ち着いた薄水色 ⇔ 程よい淡ピンク仕様）
========================================== */
textarea, 
input[type="text"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #ffffff !important; /* 中身は白 */
  color: #333333 !important;            /* 文字色 */
  border: 2px solid #a4dbe6 !important; /* 【眩しくない、しっかり色が見える薄水色】 */
  border-radius: 8px !important;        /* 角丸 */
  padding: 8px 12px !important;
  font-size: 16px !important;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.08) !important; /* 馴染む影 */
  transition: all 0.3s ease !important;
}

/* 入力欄をカチッとタップ（フォーカス）したとき */
textarea:focus, 
input[type="text"]:focus {
  outline: none !important;
  border-color:  #8a2be2 !important;     /* タップで【ダイヤの良さを残した、程よい淡ピンク】 */
  background-color: #ffffff !important; /* 入力中も白をキープ */
}

/* ==========================================
   コメントボタン（ゆっくり沈む立体仕様）
========================================== */
input[type="button"], 
input[type="submit"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #e0b0ff !important; 
  color: #ffffff !important;            
  border: 2px solid #ffb6c1 !important; 
  border-bottom: 4px solid #87ceeb !important; 
  border-radius: 24px !important; 
  font-weight: bold !important; 
  padding: 8px 24px 6px 24px !important; 
  font-size: 16px !important;
  cursor: pointer !important; 
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1) !important; 
  transition: all 0.3s ease !important; 
  position: relative !important; 
  top: 0 !important;
}

/* マウスを乗せたとき（少し沈む） */
input[type="button"]:hover, 
input[type="submit"]:hover { 
  top: 2px !important; 
  border-bottom: 2px solid #87ceeb !important; 
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1) !important; 
}

/* クリックした瞬間（完全に沈む） */
input[type="button"]:active, 
input[type="submit"]:active { 
  top: 4px !important; 
  border-bottom: 0px solid #87ceeb !important; 
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0) !important; 
}

/* 通常のリンクの色を紫にする */
a, a:visited {
    color: #8a2be2 !important;       /* 見出しとおそろいの紫色 */
    text-decoration: underline;      /* リンクとわかりやすいように下線をつける（消したい場合は none に） */
    transition: color 0.2s ease;     /* 色が変わる瞬間を少しなめらかにする */
}
/* リンクの上にカーソルが乗ったとき（ホバー）の色 */
a:hover {
    color: #a0522d !important;       /* お好みで調整（今は少し明るい紫/別の色になります） */
}
/* リンクをタップ・クリックした瞬間の色を黒にする */
a:active {
    color: #000000 !important;       /* タップした瞬間に真っ黒になる */
}

目次の枠線と目次内のリンク色変更コード

/* ==================================================

  ★目次カスタマイズ決定版★ 
  #contents を可愛いメッセージカード風にしてリンクを水色にする設定
  ================================================== */

/* 1. トップページなどの誤爆（余計な枠線）をきれいに消すお守り */
div[id*="wrapper"] div, div[id*="container"] div, main div, .atwiki_body div {

   background-color: transparent; border: none; box-shadow: none;

}
/* 2. 本物の目次プラグインの枠だけを、ピンクの点線カード風にする */
div.atwiki_contents, ul.contents, div.contents, .plugin_contents {

   background-color: #ffffff !important; 
   border: 2px dashed #ffb6c1 !important; /* ピンクの点線フチ */
   border-radius: 12px !important;       /* 角丸 */
   padding: 15px 20px !important;         /* 内側の余白 */
   display: inline-block !important;      /* 横幅を中身に合わせる */
   min-width: 250px !important;           /* 最低限の横幅 */
   box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.05) !important; /* ほんのり影 */

}
/* 3. 目次の中のタイトル（「目次」という文字） */
.contents_title, [class*="contents_title"] {

   font-weight: bold !important; 
   color: #e0b0ff !important; /* 文字色：薄紫 */
   font-size: 1.1em !important;
   border-bottom: 2px solid #87ceeb !important; /* タイトルの下の線：水色 */
   padding-bottom: 4px !important; 
   margin-bottom: 10px !important;

}
/* 4. 本当の目次の枠の中のリンクだけ水色（下線あり）→タップでピンク */
div.atwiki_contents a, ul.contents a, div.contents a, .plugin_contents a {

   color: #87ceeb !important; /* 最初は水色 */
   text-decoration: underline !important; 

}
div.atwiki_contents a:hover, ul.contents a:hover, div.contents a:hover, .plugin_contents a:hover {

   color: #ffb6c1 !important; /* タップでピンク */
   text-decoration: underline !important;

}

/* 水平線（ミント色・両端にオレンジの★） */
hr {
  border: none !important;
  border-top: 2px dashed #98fb98 !important; 
  margin: 20px 0 !important;
  position: relative !important;
  overflow: visible !important; 
}
hr::before {
  content: "★" !important;
  color:  #8a2be2 !important; 
  position: absolute !important;
  top: -12px !important;
  left: 0 !important;
  background: #ffffff !important;
}
hr::after {
  content: "★" !important;
  color: #ffa500 !important;
  position: absolute !important;
  top: -12px !important;
  right: 0 !important;
  background: #ffffff !important;
}

/* 9. 広々版（修正リベンジ版！） */
.atwiki-list-body, .atwiki_list_body, .atwiki-list-title + ul, div:has(> .atwiki-list-title) ul, 
.atwiki-list-body2, .atwiki_list_body2, .atwiki-list-title2 + ul, div:has(> .atwiki-list-title2) ul { 


  background-color: #f0faff !important; 
  border: 1px solid #e0b0ff !important; 
  border-top: none !important; 
  padding: 15px 20px !important; 
  border-radius: 0 0 6px 6px !important;  
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.05) !important; 
  width: 100% !important; 
  max-width: 100% !important; 
  box-sizing: border-box !important;
}