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

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

.code{
	background:#000;
	color:#FFF;
	
}

.ao{
	background:#000;
	color:#FFF;

}

/************************************
** カテゴリーウィジェットをボタン風にする
**
** 色はカテゴリーごとに .cat-item-{ターム ID} で指定している。
** 新しいカテゴリーを作ったら下の一覧に 1 ブロック足す。ID は
**   wp term list category --fields=term_id,name
** で調べられる。追加し忘れても既定のグレーで表示されるので崩れはしない。
************************************/
.widget_categories > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget_categories > ul li.cat-item {
	margin: 0;
	padding: 0;
	border: none;
	list-style: none;
}

.widget_categories > ul li.cat-item::before {
	content: none;
}

.widget_categories > ul li.cat-item > a {
	display: inline-block;
	padding: 7px 16px;
	border: 1px solid #e0e0e6;
	border-radius: 999px;
	background: #f1f1f4;
	color: #55555f;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.widget_categories > ul li.cat-item > a:hover {
	transform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, .13);
	filter: saturate(1.2);
	text-decoration: none;
}

/* 押した瞬間に少し沈ませる */
.widget_categories > ul li.cat-item > a:active {
	transform: translateY(0);
	box-shadow: none;
}

/* --- カテゴリーごとの色分け --- */

/* 日記 */
.widget_categories > ul li.cat-item-11 > a {
	background: #ffe4ef;
	border-color: #ffc4dc;
	color: #c2185b;
}

/* 猫 */
.widget_categories > ul li.cat-item-14 > a {
	background: #ffedd5;
	border-color: #ffd8a8;
	color: #b45309;
}

/* 趣味 */
.widget_categories > ul li.cat-item-3 > a {
	background: #dcf5e2;
	border-color: #b4e6c1;
	color: #2e7d46;
}

/* ワードプレス */
.widget_categories > ul li.cat-item-20 > a {
	background: #d9f0f5;
	border-color: #ade0eb;
	color: #0e7490;
}

/* IT */
.widget_categories > ul li.cat-item-50 > a {
	background: #e0e8ff;
	border-color: #bfd0ff;
	color: #3355c4;
}

/* メディア */
.widget_categories > ul li.cat-item-51 > a {
	background: #efe2fc;
	border-color: #dbc6f7;
	color: #7038b0;
}

/* 運動 */
.widget_categories > ul li.cat-item-49 > a {
	background: #ffe3e0;
	border-color: #ffbfb8;
	color: #c53030;
}

/* Uncategorized */
.widget_categories > ul li.cat-item-1 > a {
	background: #ededf2;
	border-color: #dcdce4;
	color: #5c5c68;
}

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

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

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