@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* JYPSY トンマナ カスタムCSS */
/* ===============================
   JYPSY トンマナ共通スタイル
   （Cocoon Child 用）
   =============================== */

/* ----- 基本色設定 ----- */
body {
  background-color: #000;
  color: #f5f5f5;
  font-family: "Noto Sans JP", sans-serif;
}

/* リンク（JYPSYグリーン） */
a {
  color: #9BFF00;
}
a:hover {
  color: #C6FF4D;
}

/* ----- ヘッダー ----- */
.site-header,
.header-container {
  background: #000 !important;
  border-bottom: 1px solid rgba(155, 255, 0, 0.2);
}

/* ロゴ周りのテキスト */
.site-title a {
  color: #9BFF00 !important;
  text-shadow: 0 0 10px rgba(155, 255, 0, 0.8);
}

/* ===============================
   記事内の見出しデザイン
   =============================== */

/* H2：白背景＋左にJYPSYグリーン帯 */
.entry-content h2 {
  background: #fff;
  color: #000;
  font-size: 25px;
  font-weight: 900;
  padding: 12px 20px;
  border-left: 6px solid #9BFF00;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* H3：黒＋JYPSYグリーン枠 */
.entry-content h3 {
  background: rgba(0, 0, 0, 0.8);
  border-left: 4px solid #9BFF00;
  padding: 10px 16px;
  font-size: 20px;
  margin-top: 30px;
}

/* H4：テキストだけグリーン強調 */
.entry-content h4 {
  color: #9BFF00;
  border-left: 4px solid #9BFF00;
  padding-left: 10px;
  font-size: 18px;
}

/* ===============================
   ボタン系
   =============================== */

button,
input[type="submit"],
.btn,
.entry-content a.button {
  background: #9BFF00;
  color: #000 !important;
  font-weight: bold;
  padding: 12px 22px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 0 15px rgba(155, 255, 0, 0.6);
  transition: 0.2s;
}

button:hover,
input[type="submit"]:hover,
.btn:hover,
.entry-content a.button:hover {
  background: #BFFF30;
  box-shadow: 0 0 20px rgba(155, 255, 0, 0.9);
}

/* ===============================
   サイドバー・ウィジェット
   =============================== */

.widget {
  background: #111;
  color: #eee;
  padding: 20px;
  border: 1px solid rgba(155, 255, 0, 0.3);
  border-radius: 4px;
  margin-bottom: 20px;
}

.widget-title {
  color: #9BFF00;
  font-weight: 700;
  border-left: 4px solid #9BFF00;
  padding-left: 8px;
}

/* ===============================
   フッター
   =============================== */

.site-footer {
  background: #000 !important;
  color: #666;
  padding: 30px;
  border-top: 1px solid rgba(155, 255, 0, 0.2);
}

/* ===============================
   本文エリア（背景＆文字色）
   =============================== */

/* 記事本体の背景と文字色 */
.main,
.article,
.entry-content,
.post,
.page {
  background-color: #000 !important;
  color: #f5f5f5 !important;
}

/* 段落とリストの文字を明るく */
.entry-content p,
.entry-content li {
  color: #f5f5f5 !important;
}

/* 引用 */
blockquote {
  background: #111;
  border-left: 4px solid #9BFF00;
  color: #ddd;
  padding: 12px 16px;
}

/* 区切り線を少し明るく */
hr {
  border-color: #9BFF00;
}

/* ===============================
   目次（TOC）デザイン
   =============================== */

/* 目次ボックス全体 */
.toc {
  background: #111 !important; /* 黒背景 */
  border: 2px solid #9BFF00 !important; /* JYPSYグリーン枠 */
  color: #f5f5f5 !important; /* 明るい文字 */
  padding: 20px;
  border-radius: 6px;
}

/* 目次タイトル（「目次 [閉じる]」のところ） */
.toc-title {
  color: #9BFF00 !important;
  font-weight: 700;
  font-size: 18px;
}

/* 目次内リンク */
.toc a {
  color: #f5f5f5 !important;
}
.toc a:hover {
  color: #9BFF00 !important;
  text-decoration: underline;
}

/* 開く/閉じるトグル系（あれば） */
.toc .toc-toggle,
.toc .toc-close {
  color: #9BFF00 !important;
}

/* 各項目 */
.toc li {
  margin: 6px 0;
  line-height: 1.5;
}

/* 番号・記号をグリーンに */
.toc li::marker {
  color: #9BFF00 !important;
}

/* ===============================
   汎用スモーク背景（必要なときにクラス付与）
   =============================== */

.smoke-bg {
  background: url("https://i.imgur.com/tGJk7hf.png") center/cover no-repeat;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
