@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){
  /*必要ならばここにコードを書く*/
}

/*-見出しデザインをシンプルにする設定（n.k 2025.06.30）-*/
/* シンプルな見出しデザイン */
h1, h2, h3, h4, h5, h6 {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}


/* サイズを段階的にシンプルに */
h1 { font-size: 2.2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1em; }
h6 { font-size: 0.95em; }

/* 必要なら中央寄せや左寄せも */
h1, h2, h3, h4, h5, h6 {
  text-align: left;
}



/* リストの点を消す */
ul, ol {
  padding-left: 0;       /* 左の余白をなくす */
  list-style: none !important; /* 点（マーカー）を消す */
}

/* リスト内リンクのアンダーバーを消す＆通常はノーマルウェイト */
ul li a, ol li a {
  text-decoration: none;
  color: inherit;
  font-weight: normal;
  transition: font-weight 0.2s;
}

/* マウスオーバーで太字 */
ul li a:hover, ol li a:hover {
  font-weight: bold;
}



a, a:visited, a:hover, a:active {
  text-decoration: inherit;   /* アンダーバーを消す */
  font-weight: inherit;     /* 太字をやめる */
  color: inherit;          /* 親要素の色を継承し、青などにならない */
}


/*-記事したにあるカテゴリが真っ黒になるのを直す設定（n.k 2025.06.30）-*/
.cat-link {
    color: var(--cocoon-white-color) !important;
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    padding: 2px 6px;
    font-size: 12px;
    background-color: var(--cocoon-text-color);
    border-radius: var(--cocoon-badge-border-radius);
    word-break: break-all;
}

/*-記事の投稿日・更新日を非表示にする設定（n.k 2025.06.30）-*/
.entry-date,
.post-date,
.post-update,
.published,
.updated,
.entry-meta .entry-date,
.entry-meta .published,
.entry-meta .updated {
  display: none !important;
}

/*-絵の説明欄-*/
.work-info {
  background-color: #fdfaf5;
  padding: 1em 1.5em;
  border-radius: 8px;
  list-style: none;
  margin: 1em 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.work-info li {
  margin-bottom: 0.5em;
}

