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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
body {
  font-family: "yomogi", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}



.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  background: none; /* 背景色を削除 */
  border: none;     /* 枠線を削除 */
  border-radius: 0; /* 角丸を削除 */
}

.article h1 {
    font-size: 20px;/*文字サイズ*/
    padding: 20px 20px 20px 50px;/*文字回りの余白（上 右 下 左）*/
    text-indent: -25px;
    display: block;
    color: #6d5353;/*文字色（グレー）*/
    background: #efece0;
    border-radius: 30px 0px 0px 30px;/*角丸サイズ（左上 右上 右下 左下）*/
}
.article h1:before {
    content: '●';
    color: #fff;/*左側丸い部分の色*/
    margin-right: 8px;/*左側丸い部分から右側への余白*/
}
/*H2見出し*/
.article h2 {
    color: #6d5353;/*文字色*/
    font-size: 20px;/*文字サイズ*/
    display: block;
    border: 2px dashed #816930;/*吹き出し線（太さ 破線 色）*/
    position: relative;
    padding: 1em;/*文字回りの余白（上下左右）*/
    border-radius: 30px;/*吹き出し角丸サイズ（四隅）*/
    display: block;
}
.article h2:before {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 20%;/*吹き出しの矢印部の左右位置*/
    transform: translateX(-50%) rotate(-45deg);
    width: 10px;
    height: 10px;
    border: 2px dashed #816930;/*吹き出しの矢印部の線（太さ 破線 色）*/
    border-top: none;
    border-right: none;
    background-color: #efece0;/*吹き出しの矢印部の内側背景*/
}
.article h2:after {
    content: '';
    background: #efece0;/*背景色*/
    left: 4px;/*背景左右ずれ*/
    top: 10px;/*背景上下ずれ*/
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    border-radius: 30px;/*背景角丸サイズ（四隅）*/
}

/* 先頭に丸いアクセント*/
.article h3 {
   background:none;
   color: #6d5353;
   position: relative;
   padding: .3em 1em 1em 40px;
	font-size: 19px;/*文字サイズ*/
  }

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

.article h3::before {
   top: .6em;
   left: .2em;
   z-index: 2;
   width: 22px;
   height: 22px;
   background: #d4cfbc;
   opacity: .5;
}
.article h3::after{
   top: 1.1em;
   left: .7em;
   width: 15px;
   height: 15px;
   background: #d4cfbc;
   opacity: .5;
}

.article h4 {
   display: flex;
   align-items: baseline;
   column-gap: 8px;
   color: #333;
   padding-left:0;
}

.article h4::before {
   width: 0.8em;
   height: 0.4em;
   border-bottom: 3px solid #d4cfbc;
   border-left: 3px solid #d4cfbc;
   transform: rotate(-45deg) translate(2px, -2px);
   content: '';
}

/* サイドバー見出し */
.sidebar h3 {
  background: transparent;  /* 背景を透明にする */
}

.sidebar h3 {
    font-size: 20px;/*文字サイズ*/
    padding: 20px 20px 20px 50px;/*文字回りの余白（上 右 下 左）*/
    text-indent: -25px;
    display: block;
    color: #505050;/*文字色（グレー）*/
    background: #efece0;
    border-radius: 30px 0px 0px 30px;/*角丸サイズ（左上 右上 右下 左下）*/
}
.sidebar h3:before {
    content: '●';
    color: #fff;/*左側丸い部分の色*/
    margin-right: 8px;/*左側丸い部分から右側への余白*/
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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