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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500&display=swap');

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

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

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

/*設定用：全体*/
body,p{
	color:#09042d;
}

/*追加css：記事タイトル用*/
.entry-title {
  position: relative;
  font-size: 2em;
  font-family: 'Zen Maru Gothic' ,sans-serif ;
  border-bottom: 1px solid #e8ecef;
}

/*追加css：見出しデザインリセット*/
.article h2,
.article h3,
.article h4,
.article h5,
.article h6{
  padding: 0;
  background-color:transparent;
  border:0;
  border-radius: 0;
}

/*追加css：見出し用*/
.article h2 {
    position: relative;
    padding: 0.8rem 0;
    margin-bottom: 2em;
    border-bottom: 5px solid;
    font-weight: bold;
    font-size: 1.8em;
}

.article h2:before,
.article h2:after {
    position: absolute;
    top: 100%;
    left: 20%;
    content: "";
    height: 0;
    width: 0;
}

.article h2:before {
    border: 16px solid;
    border-color: transparent;
    border-top-color:#09042d;
    margin-left: -16px;
}

.article h2:after {
    border: 10px solid;
    border-color: transparent;
    border-top-color: white;
    margin-left: -10px;
}

.article h3 {
    position: relative;
	margin-right:2rem;
    margin-bottom: 1.6rem;
    padding: 1rem;
    /* 文字背景グラデーション */
    background: linear-gradient(135deg, #ffe9a9 0 20%, #eaedf7 20%);
    /* 文字のカラー */
    font-size: 1.2em;
    font-weight: bold;
}

.article h4 {
     position: relative;
	margin-top:1rem;
    margin-bottom: 0.5rem;
	padding-left:1rem;
    padding-bottom: 1rem;
    background-image: repeating-linear-gradient(45deg, transparent 0 3px, #e8ecef 3px 6px);
    background-repeat: no-repeat;
    background-size: 100% 0.5rem;
    background-position: bottom;
    font-weight: bold;
    font-size: 1em;
}

/************************************
****　目次
************************************/
/*目次全体設定*/
.toc {
  display: block;
  max-width: 500px;
  color: #09042d;
  border: 1.2px #eaedf7 solid !important;
}

/*目次の表示設定*/
.toc-title{
  font-weight:bold;
  background:repeating-linear-gradient(45deg, #eaedf7 0, #eaedf7 1px, white 1px, white 6px);
}
.toc-title:before {
  font-family: "Font Awesome 5 Free";
  content : "\f02d"; /*←アイコン*/
  font-size: 1.2em;
  /* color: #FFF; アイコンの色*/
  /* background-color: #FAAFAA; ←アイコンの背景色*/
  padding: 0.5em;
  margin-right: 0.5em;
}
.toc-title::after {
  /* color:#337ab7;目次の文字カラー*/
}

/*見出し全体*/
.toc-list{
	padding: 1.5em;
}

/* h2見出しの前 */
.toc-list>li>a::before {
  font-family: "Font Awesome 5 Free";
  content: "\f058";/* Font Awesomeで変更可能 */
  font-weight: 900;
  padding-right: 5px;
  /* color: #000057; アイコンの色 */
}

/* h3見出しの前 */
.toc-list>li li a::before {
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  font-weight: 900;
  padding-right: 5px;
}
.toc-list li a {
  font-size: 1.1em;
  font-weight: 600;
  color: #09042d;
  text-decoration: underline solid 1px;
}
.toc-list>li li a {
  font-size: 1em;
  font-weight: 500;
  color: #09042d;
  text-decoration: underline dashed 1px;
}
.toc a:hover {
  text-decoration: none;
}

