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

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

/* サイドバー タイトルデザイン */
.sidebar h3 {
    background: none;
    font-size: 18px;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0;
    text-align: center;
}
.sidebar h3::before, .sidebar h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28%;
	border-top: 1px solid #444d53; /*ラインの色*/
}
.sidebar h3::before {
    left: 0;
}
.sidebar h3::after {
    right: 0;
}

/* カテゴリデザイン */
.widget_categories ul li a { /*親カテゴリ用のコード*/
    color: #333;
    text-decoration: none;
    padding: 6px 0;
    display: block;
    padding-right: 4px;
    padding-left: 4px;
    border-top: 1px dotted #ccc; /*上部にボーダーを引く*/
    font-size: 16px;
}
.widget_categories ul li a::before { /*親カテゴリのアイコン*/
    font-family: "Font Awesome 5 Free";
    content: "\f0da";
    padding-right: 10px;
}
.widget_categories > ul > li > a:first-child { 
    border-top: none; /*最初の親カテゴリは上部ボーダーを消す*/
}
.widget_categories > ul > li > a:last-child {
    border-bottom: 1px dotted #ccc; /*最後の親カテゴリは下部ボーダーを引く*/
}
.widget_categories ul li a .post-count { /*記事数用のコード*/
    display: block;
    float: right;
    background: #ededed;
    padding: 0 1em;
    font-size: 14px;
    margin-top: .2em;
    border-radius: 4px;
}
.widget_categories ul li a:hover { /*親子共通マウスホバー時*/
    background: none;
    transition: 0.5s;
    color: #7B86C6;
}
.widget_categories ul li a:hover .post-count { /*記事数のマウスホバー時*/
    background: #7B86C6;
    color: #fff;
    transition: 0.5s;
}
.widget_categories ul li ul { /*子カテゴリのボックス*/
    border-bottom: 1px dotted #ccc;
}
.widget_categories ul li ul li a { /*子カテゴリ用のコード*/
    color: #333;
    text-decoration: none;
    padding: 0 4px 4px 4px;
    display: block;
    border: none;
}
.widget_categories ul li ul li a::before { /*子カテゴリのアイコン*/
    font-family: "Font Awesome 5 Free";
    content: "・";
    padding: 0;
}

/********************** 見出しのデザイン **********************/
/*.article h1 {
  font-size: 28px !important;/*文字のサイズ*/
/*  color: #323232;
  background: linear-gradient(transparent 65%, rgba(123,134,198,.6) 75%);
  margin-bottom: 15px;
  border-top: none;
  border-bottom: none;
}*/

/*.article h1 {
  color: #364e96;
  border: solid 3px #364e96;
  padding: 0.5em;
  border-radius: 0.8em;
}*/

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
   margin-top: 1.8em;
}

.article h1 {
  font-size: 32px !important;/*文字のサイズ*/
  padding: .5em .7em;/*余白*/
  margin-bottom: 20px;
  border-bottom: 2px solid #7b86c6;/*下線*/
  color: #323232;
  /*padding-bottom: .5em;*/
  border-top: none;
}

.article h2 {
  font-size: 22px !important;/*文字のサイズ*/
  background: #E07487;/*背景色*/
  margin-bottom: 12px;
  padding: .5em .7em;/*余白*/
  color: #FFF;
  border-top: none;
  border-bottom: none;
}

.article h3 {
  font-size: 20px !important;/*文字のサイズ*/
  /* background: rgba(123,134,198,.07);/*背景色*/
  border-bottom: 1px solid #323232; /*下線*/
  color: #323232;
  padding: .5em .9em;
  /* border-bottom:none; */
  border-left: none;
  border-right: none;
  border-top: none;
}

.article h4 {
  font-size: 20px !important;/*文字のサイズ*/
  border-left: 3px solid #323232;/*左線*/
  padding: .5em .9em;/*余白*/
  color: #323232;
  border-top: none;
  border-bottom: none;
}

/********************** 見出しのデザイン **********************/

/********************** 目次のデザイン Start **********************/
.toc a {
	color: #082949;
	font-size: 15px;
}

/* 目次のH2見出しのみ太字にする */
.toc-content ol li{
  color: #8195a2;  /* 文字の色 */
  margin:0.3em;  /* 文字の余白 */
}
.toc-list > li{
  font-weight: bold;  /* h2のみ太字にする */
}
.toc-list > li li{
  font-weight: normal;  /* h2以外を標準の太さにする */
}
/********************** 目次のデザイン End   **********************/

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

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

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