@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/* ==========================================
🖤 Grayishスキン対応：モバイル＆記事ページSNSボタン最適化
(X・Instagram・LINEのみ表示)
========================================== */


/* --- 他SNSを非表示にする --- */
.sns-share-buttons a:not(.twitter-button):not(.instagram-button):not(.line-button),
.mobile-footer-share-buttons a:not(.twitter-button):not(.instagram-button):not(.line-button) {
  display: none !important;
}

/* --- 共通ボタンデザイン（モノトーンベース） --- */
.sns-share-buttons a,
.mobile-footer-share-buttons a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid #ddd;
  color: #111 !important;
  background: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* --- ホバー時（反転） --- */
.sns-share-buttons a:hover,
.mobile-footer-share-buttons a:hover {
  background: #111 !important;
  color: #fff !important;
}

/* --- フッター領域調整 --- */
.site-footer {
  background: #fff !important;
  color: #333 !important;
  border-top: 0.5px solid #e5e5e5;
  padding: 20px 0 !important;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* --- フッターリンクも控えめカラーに --- */
.site-footer a {
  color: #666 !important;
  text-decoration: none;
}
.site-footer a:hover {
  color: #111 !important;
  text-decoration: underline;
}

/* === Grayishスキン全体モノトーン統一 === */
:root {
  /* ベースカラーをすべてグレー系に再定義 */
  --skin-grayish-site-name-txt: #333 !important;
  --skin-grayish-a-wrap-txt: #333 !important;
  --skin-grayish-author-description-txt: #444 !important;
  --skin-grayish-site-main-hover: #777 !important;
  --skin-grayish-site-main-thin: #ccc !important;
  --skin-grayish-gradient: #f5f5f5 !important;
  --skin-grayish-site-sub-color: #666 !important;
  --skin-grayish-cat-back: #555 !important;
}

/* --- リンク系 --- */
a,
a:visited {
  color: #333 !important;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #000 !important;
  border-color: #000 !important;
}

/* --- 引用（blockquote） --- */
blockquote {
  border-left: 3px solid #aaa !important;
  background: #f9f9f9 !important;
  color: #333 !important;
}

/* --- コードや引用の背景 --- */
pre,
code,
kbd,
samp {
  background: #f2f2f2 !important;
  color: #222 !important;
  border: 1px solid #ddd !important;
}

/* --- 強調（mark） --- */
mark {
  background: #e0e0e0 !important;
  color: #111 !important;
}

/* --- 表（table） --- */
table {
  border: 1px solid #ccc !important;
}
th {
  background: #f0f0f0 !important;
  color: #333 !important;
}
td {
  background: #fff !important;
  color: #333 !important;
}

/* --- 見出し内リンク装飾の青を削除 --- */
h1 a, h2 a, h3 a, h4 a, h5 a {
  color: inherit !important;
}

/* --- Cocoon特有のボタンなどもモノトーンに --- */
.btn,
.wp-block-button__link {
  background: #333 !important;
  color: #fff !important;
  border: none !important;
}
.btn:hover,
.wp-block-button__link:hover {
  background: #555 !important;
  color: #fff !important;
}

/* --- 引用内リンクやリスト記号の青も除去 --- */
blockquote a,
li::marker {
  color: #555 !important;
}

/* --- SNSアイコンやライン風リンクなどの青もグレー化 --- */
.icon-twitter,
.icon-line,
.icon-facebook,
.icon-pinterest,
.icon-hatena {
  color: #555 !important;
  fill: #555 !important;
}

/* === カテゴリリンク（.cat-link）の視認性改善 === */
.cat-link {
  background: #eaeaea !important;  /* 明るいグレー背景 */
  color: #111 !important;           /* 濃い文字色 */
  border: none !important;
  padding: 4px 10px !important;
  border-radius: 3px !important;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.cat-link:hover {
  background: #333 !important;  /* ホバー時は黒背景 */
  color: #111 !important;       /* 白文字でコントラスト確保 */
}



