/* 白い背景の少し上にあるサイト名をタップすると秘密基地に飛ぶ仕掛け */
#header h1 a::after, .site_title a::after, #purozemin-title a::after {
  content: url('https://atwiki.jp') !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 9999 !important;
  cursor: pointer !important;
}

/* タップした時に色が変わるのを防いで完全に隠す設定 */
#header h1 a:active, .site_title a:active {
  color: inherit !important;
  background: transparent !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: #ff8c00 !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: #ffd700 !important; 
text-shadow: 

 0 0 10px #ffd700,
 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;

}

}

/* 3. コメントボタン設定（ゆっくり沈む立体仕様） */
input[type="button"], input[type="submit"], .comment_form input[type="button"], .omment_form input[type="submit"], #pcomment input[type="button"], #pcomment input[type="submit"] {


  -webkit-appearance: none; appearance: none; background-color: #e0b0ff !important; color: #ffffff !important;            
  border: 2px solid #ffb6c1 !important; border-radius: 24px !important; font-weight: bold !important; padding: 8px 24px 6px 24px !important; font-size: 16px !important;
  border-bottom: 4px solid #87ceeb !important; cursor: pointer; box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1) !important; transition: all 0.3s ease !important; 


}
input[type="button"]:hover, input[type="submit"]:hover, .comment_form input[type="button"]:hover, .comment_form input[type="submit"]:hover, #pcomment input[type="button"]:hover, #pcomment input[type="submit"]:hover { transform: translate(2px, 2px) !important; box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1) !important; }

/* 4. 普通のリンクの設定 */
a { color: #ffb6c1 !important; text-decoration: underline !important; font-size: 1.1em !important; font-weight: bold !important; }
a:hover { color: #87ceeb !important; text-decoration: underline !important; }

/* 5. 目次カスタマイズ（#contents） */
div[id*="wrapper"] div, div[id*="container"] div, main div, .atwiki_body div { background-color: transparent; border: none; box-shadow: none; }
div.atwiki_contents, ul.contents, div.contents, .plugin_contents {


  background-color: #ffffff !important; border: 2px dashed #e0b0ff !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; 


}
.contents_title, [class*="contents_title"] { font-weight: bold !important; color: #ffb6c1 !important; font-size: 1.1em !important; border-bottom: 2px solid #87ceeb !important; padding-bottom: 4px !important; margin-bottom: 10px !important; }
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 solid #e0b0ff !important; margin: 20px 0; }

/* 6. 箇条書きの設定（文字色をパステルピンク、目立たせたい箇所を調整） */
#atwiki-body ul li, #atwiki-body ol li, .atwiki_body ul li, .atwiki_body ol li { color: #ffb6c1 !important; }
#atwiki-body ul li::marker, #atwiki-body ol li::marker, .atwiki_body ul li::marker, .atwiki_body ol li::marker { color: #e0b0ff !important; }
#atwiki-body ul li a, #atwiki-body ol li a, .atwiki_body ul li a, .atwiki_body ol li a { color: #87ceeb !important; }

/* 7. オンライン人数のカラー設定 */
p:has(span.atwiki_online_user), div:has(span.atwiki_online_user), li:has(span.atwiki_online_user) { color: #ff69b4 !important; }
span.atwiki_online_user { color: #e0b0ff !important; }
span.atwiki_online_user ~ span, span.atwiki_online_user ~ font, span.atwiki_online_user ~ strong { color: #87ceeb !important; }
p:has(span.atwiki_online_user) { font-weight: bold; }

/* ========================================================

  8. 【ミント盛り版】めちゃかわネオ・パステル見出し

======================================================== */

/* 🌟 通常の見出し：マカロンみたいに丸くて立体的な3Dボックス */
h1, h2, h3, h4, h5, h6, #header h1, #sitename {

   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; /* なめらかで可愛い丸み */
   position: relative !important; 
   width: 100% !important; 
   box-sizing: border-box !important;
   background-color: #7dd3fc !important; /* 🩵のきらきらパステル水色 */
   margin-bottom: 15px !important; 

}

/* 🌟 記事メニューの見出し：白い角が出ない安全サイズ ＆ 統一感のある紫3D */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {

   border: none !important; 
   display: block !important; 
   box-shadow: 0 4px 0px #dda0dd, 4px 6px 10px rgba(224, 176, 255, 0.3) !important; 
   padding: 10px 15px !important; 
   border-radius: 4px !important; /* 記事メニューは安全な4pxをキープ！ */
   position: relative !important; 
   width: 100% !important; 
   box-sizing: border-box !important;
   background-color: #e0b0ff !important; /* 優しいパステル薄紫 */
   margin-bottom: 0px !important; 
   overflow: hidden !important; 
   font-size: 16px !important; 

}

/* 💡 見出しレベルのサイズ */
h1, #header h1 { font-size: 24px !important; }
h2 { font-size: 20px !important; }
h3 { font-size: 18px !important; }
h4, h5, h6 { font-size: 16px !important; }

/* 💖 通常見出しの文字：白文字 ➔ ミント色のパキッとしたフチ取り ➔ 外側にミントの光！ */
body h1, body h2, body h3, body h4, body h5, body h6, #header h1, #header h1 a, #sitename, #sitename a, .atwiki-content h3, #atwiki-body h3, #menubar h3, #side h3 {

  color: #ffffff !important; 
  /* 💡 1px〜-1pxの指定で綺麗なミント色の「フチ取り」を作りつつ、最後の3pxぼかしで「フワッとした光」を表現！ */
  text-shadow: 
    1px 1px 0 #a7f3d0, -1px -1px 0 #a7f3d0, 1px -1px 0 #a7f3d0, -1px 1px 0 #a7f3d0,
    0px 0px 4px #a7f3d0 !important; 

}
body h1 a, body h2 a, body h3 a, body h4 a, body h5 a, body h6 a { text-decoration: none !important; }

/* 💙 記事メニューの文字：通常見出しとお揃いのミント色のフチ＆光！ */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title { 

  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; 

}

/* 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;
}