@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 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

.entry-content h2 {
  position: relative;
  background: #e59aa5;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 21px;
  font-weight: bold;
  line-height: 1.6;
  margin: 30px 0;
}

/* 吹き出しの三角 */
.entry-content h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 30px;
  width: 0;
  height: 0;
  border-top: 12px solid #e59aa5;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
}

.entry-content h3 {
  font-size: 20px !important;/*文字のサイズ*/
  background: rgba(224,116,135,.07);/*背景色*/
  border-bottom: 3px solid #E07487;/*下線*/
  color: #323232;
  padding: .5em .7em;
  margin-bottom: 15px;
  border-top: none;
}


@media (max-width: 768px) {

  #fanza-fav-list ul.fanza-related-widget {
    display: block !important;
  }

  #fanza-fav-list ul.fanza-related-widget > li {
    width: 100% !important;
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #fanza-fav-list .card-link {
    display: block !important;
  }

  #fanza-fav-list img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  #fanza-fav-list .fp_post_meta p.title {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin: 6px 0 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

}

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

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

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