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

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

/* Cocoonのボックス・見出し枠を消す */
.article .box,
.article .blank-box,
.article .caption-box,
.article .ranking-item,
.article div[class*="box"] {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.article h2 {
  position: relative;
  z-index: 1;
}

.article h2::before {
  display: none !important;
}

.article h2::after {
  display: none !important;
}

.article h2 {
  padding: .8em 1em;
  background-color: #a5c9c1;
  color: #fff;

  outline: 1px dashed currentColor;
  outline-offset: -5px;

  border: none;
  box-shadow: none;
}



/* 先頭に四角のアクセント */
.article h3 {
  position: relative; /* 擬似要素の基準 */
  background: none; /* 背景なし */
  padding: 0 0 .3em 2em; /* 余白 */
  color: #333; /* 文字色 */
  line-height: 1.8; /* 行高 */
  border-bottom: 1px solid currentColor; /* 下線 */
}

/* 四角アクセント（共通） */
.article h3::before,
.article h3::after {
  content: '';
  position: absolute;
  background: #607d8b;
  opacity: .5;
}

/* 大きい四角 */
.article h3::before {
  top: .3em;
  left: .2em;
  width: 1em;
  height: 1em;
  z-index: 2;
}

/* 小さい四角 */
.article h3::after {
  top: .8em;
  left: .8em;
  width: .7em;
  height: .7em;
}

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

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

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