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

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

/* オリジナル見出しのリセットと装飾のcss追加　
サルワカさん参照
20250619
*/

/* H2 */
.article h2 {
	background:#ffd8df;
	padding: 0.5em;
}
/**h2  装飾　　**/
h2 {
  position: relative;
  padding: 0.5em;
  background: #ffd8df;
  color: #7f596d;
}

h2::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}

/* H4 */
.article h4{
	border-top:none;
	border-bottom:none;
	padding: 0;
}

/**  h4装飾　**/
h4 {
background: linear-gradient(transparent 70%, #ffd8df 70%);
}

/*サイドバーの見出し装飾*/
.sidebar h3{/*オリジナルをクリア*/
	background:none;
	padding: 0;
}
.sidebar h3 {
 position: relative;
  padding: 0.25em 0;
}
.sidebar h3:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, rgb(252, 190, 193), transparent);
  background: linear-gradient(to right, rgb(252, 190, 193), transparent);
}

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

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

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