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

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

/* 本文エリアの左右パディングを詰める */
.main {
  padding-left: 0px;
  padding-right: 0px;
}

/* 記事本文内のさらに細かい余白も詰めたい場合 */
.article {
  padding-left: 0px;
  padding-right: 0px;
}


/* H2見出し */
h2.wp-block-heading {
  color: #fff;
  background-color: #56899d;
  font-size: 30px;
  padding: 20px 25px;
  display: block;
  position: relative;
}

h2.wp-block-heading:before {
  position: absolute;
  content: "";
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-bottom: 10px solid transparent;
  border-right: 20px solid #000;
}

/* H3見出し */
h3.wp-block-heading {
  color: #2e2f35;
  font-size: 25px;
  padding: 15px 20px;
  display: block;
  border-left: 7px dashed #56899d;
  position: relative;
}

/* H4見出し */
h4.wp-block-heading {
  color: #2e2f35;
  font-size: 16px;
  padding: 8px 30px;
  display: block;
  position: relative;
}

h4.wp-block-heading:before {
  font-family: FontAwesome;
  font-weight: 900;
  font-size: 25px;
  color: #56899d;
  left: 0;
  top: 0;
  content: "\f040";
  position: absolute;
  transform: rotate(-10deg);
}

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

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

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