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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* h2をh3のデザインに合わせる */
.article h2 {
  background: none !important;
  border: none !important;
  padding: 10px 0 10px 20px !important; /* 左側に余白を作る */
  margin: 35px 0 15px !important;
  font-size: 1.15em !important;
  color: #333 !important;
  position: relative !important;
  border-bottom: 1px dotted #e2d5e2 !important; /* 下のドット線（色は画像に寄せています） */
}
.article h2::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 5px !important;   /* 棒の太さ */
  height: 80% !important;   /* 棒の長さ */
  background-color: #f9ccf9 !important; /* 棒の色（グレージュ系） */
  border-radius: 5px !important; /* 角を丸くする */
}


/* 不要な飾りを消す */
.article h2::after {
  content: none !important;
  display: none !important;
}





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

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

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