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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*リンク下線 リセット*/
a:where(:not(.wp-element-button)) {
	text-decoration: none;
}

.entry-content a:hover {
  text-decoration: underline 1px #cccccc;
  	text-underline-offset: 0.3em;
}


/*skin grayish H4見出し リセット*/
.wp-block-heading .article h4::before {
    display: none;
    background-image: none;
    background-repeat: no-repeat;
    background-size: 0%;
    filter: unset;
    width: 0em;
    height: 0em;
    position: relative;
    top: unset;
    z-index: unset;
    content: unset;
    position: unset;
    left: unset;
    top: unset;
}
.article h4::before{
  top: unset;
  left: unset;
  filter: unset;
}

/*H3見出し*/
.article h3 {
  font-size: 20px;
  padding: 5px 15px;
  background-color: transparent;
}
.article h3:before {
  border-left: solid 5px #dfdfd4;
  border-bottom: none;
}

/*H4見出し*/
.article h4 {
    padding: 10px 25px;/*文字回りの余白（上下 左右）*/
    display: block;
    border-bottom: 2px solid #eee2dc;/*下線（太さ 実線 色）*/
    position: relative;
}

.article h4:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -7px;/*ひし形（左側）の上下位置*/
    left: 0;
    width: 12px;/*ひし形（左側）の幅*/
    height: 12px;/*ひし形（左側）の高さ*/
    background: #f6f1ee;/*ひし形（左側）の色*/
    transform: rotate(-45deg);/*ひし形（左側）の回転*/
}
.article h4:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -7px;/*ひし形（右側）の上下位置*/
    right: 0;
    width: 12px;/*ひし形（右側）の幅*/
    height: 12px;/*ひし形（右側）の高さ*/
    background: #f6f1ee;/*ひし形（右側）の色*/
    transform: rotate(-45deg);/*ひし形（右側）の回転*/
}


/* 関連記事の横スクロールを解除 */
@media screen and (max-width: 834px) {
  .related-entries {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .related-entry {
    width: 48%; /* 2列にする場合 */
    margin-right: 2%;
  }
  .related-entry:nth-of-type(2n) {
    margin-right: 0;
  }
  .related-entry-thumb {
    width: 100%;
  }
  /* 横スクロールアイコンを非表示にする場合 */
  .related-scroll-icon {
    display: none !important;
  }
}


/*CTA BOX*/
.cta-box {
  background-color: #ffffff;
  	background-image: url(https://journal.aromasphya.net/wp-content/uploads/mj-bk6.webp);
}
.cta-button .btn {
  border: solid 1px #e7e6e9;
}
/*ラベル非表示*/
.cat-label,
.cat-label .cat-label-1,
.skin-grayish.single-post .article-header .eye-catch-wrap .eye-catch .cat-label,
.skin-grayish .article-footer .entry-categories .cat-link,
.info-list-item-meta,
.blogcard-date {
 display: none;
}

/*info BOX*/
.info-fbox {
  display: flex;
  justify-content: center;
  padding: 10px 20px;
}
.info-fbox-in {
  line-height: 2.5;
  font-size: 14px;
}
.info-fbox-in a {
  color: #818181;
}
.info-fbox-in a:hover {
  color: #AAC2D2;
}

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

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

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