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

/************************************
** 子テーマ用のスタイルを書く

************************************/
/*必要ならばここにコードを書く*/

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

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

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

/************************************
** ■タイトルやボタンをキラッと光らせるカスタマイズ
************************************/
.reflection-img, /*カスタムHTMLのイメージ画像*/
.amazon-item-title.product-item-title a, /*商品アイテムボックスのタイトル*/
.entry-card-title, /*エントリーカードのタイトル*/
.comment-btn.key-btn, /*コメントを書き込むボタン*/
.follow-button, /*SNSフォローボタン*/
.share-button { /*SNSシェアボタン*/
  position: relative;
  overflow: hidden;
}

.reflection-img_before, /*カスタムHTMLのイメージ画像*/
.amazon-item-title.product-item-title a:before, /*商品アイテムボックスのタイトル*/
.entry-card-title:before { /*エントリカードのタイトル*/
  position: absolute;
  transform: rotate(45deg);
  animation: shine-title 3.8s ease-in-out infinite; /*アニメーション*/
  background-color: #fff;
  content: " ";
  opacity: 0;
  top: -180px;
  left: 0;
  height: 100%;
  width: 30px;
}

.comment-btn.key-btn:before, /*コメントを書き込むボタン*/
.follow-button:before, /*SNSフォローボタン*/
.share-button:before { /*SNSシェアボタン*/
  position: absolute;
  transform: rotate(45deg);
  animation: shine-title 3.4s ease-in-out infinite; /*アニメーション*/
  background-color: #fff;
  content: " ";
  opacity: 0;
  top: -180px;
  left: 0;
  height: 100%;
  width: 30px;
}

@keyframes shine-title {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}