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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.article h4 {
  position: relative;
  font-size: 22px;
  color: var(--wp--preset--color--grey, #ccc); /* has-grey-color */
  padding-left: 1.2em; /* ▶との間隔 */
  padding-bottom: 0.3em; /* 文字と罫線の間（そのまま） */
  margin-bottom: 1.5em; /* 本文との距離を少し広げた */
  font-weight: bold;
  border-bottom: 2px solid #ccc;
  line-height: 1.4;
}

.article h4::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #f78da7;
  font-size: 22px;
  top: 50%;
  transform: translateY(-50%);
}

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

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

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