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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*固定ページの投稿日、更新日、投稿者名を非表示にする*/
.page .date-tags,
.page .author-info {
    display: none;
}

/* 投稿日・更新日のアイコンをサイズ変更 */
.date-tags .post-date > span[class^="fa"],
.date-tags .post-update > span[class^="fa"] {
    width: 20px !important;       /* 幅 */
    height: 20px !important;      /* 高さ */
    font-size: 0.9em !important;  /* アイコンの文字サイズ */
    line-height: 1.6 !important;  /* 縦位置調整 */
}

/* Cocoonスキンの見出し装飾をリセット */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  all: unset;
  display: block;     /* 見出しはブロック要素に戻す */

  font-weight: bold;
  margin: 1.5em 0 1em;
  color: inherit;
}

.entry-content h2::before,
.entry-content h2::after,
.entry-content h3::before,
.entry-content h3::after,
.entry-content h4::before,
.entry-content h4::after {
  content: none !important; /* スキンの装飾アイコン削除 */
}

/* h2 背景をずらしたデザイン */
body .entry-content h2 {
    position: relative !important;
    border: 1px solid #333 !important;
    color: #333 !important;
    font-size: 20px !important;      /* PC用文字サイズ */
    padding: .5em 1em !important;
}

.entry-content h2::after {
   content: '' !important;
   background: #eedaef !important;
   width: calc(100% + 1px) !important;
   height: calc(100% + 1px) !important;
   position: absolute !important;
   top: 5px !important;
   left: 5px !important;
   z-index: -1 !important;
}

/* h3 先頭に丸いアクセント */
body .entry-content h3 {
    background: #f2f2f2 !important;
    color: #333 !important;
    position: relative !important;
    font-size: 18px !important;       /* PC用文字サイズ */
    padding: .3em 1em 1em 40px !important;
}

.entry-content h3::before,
.entry-content h3::after {
    position: absolute !important;
    content: '' !important;
    border-radius: 100% !important;
}

.entry-content h3::before {
    top: .6em !important;
    left: .2em !important;
    z-index: 2 !important;
    width: 22px !important;
    height: 22px !important;
    background: #a0c1b9 !important;
    opacity: .5 !important;
}

.entry-content h3::after {
    top: 1.1em !important;
    left: .7em !important;
    width: 15px !important;
    height: 15px !important;
    background: #a0c1b9 !important;
    opacity: .5 !important;
}

/* h4 左線 */
.entry-content h4 {
   border-left: solid 5px #c0a2c7 !important;
   color: #333 !important;
   font-size: 18px !important;
   padding: .3em .8em !important;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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


