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

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


#campaign-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255,255,255,0.9);
  z-index: 9999;
  text-align: center;
  padding: 5px 0;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  height: 10%;
}

#campaign-banner p {
  font-size: 14px;
}
#campaign-banner a {
	display: block;
	color: #FFF;
	background-color: #00C300;
/* 	background-color: #CCC; */
	text-align: center;
	font-size: 15px;
	width: 80%;
	margin: 0 auto;
	margin-bottom: 10px;
	text-decoration: none;
	font-weight: bold;

  position: relative;
  display: inline-block;
  padding: 8px 24px;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
}
#campaign-banner a:before {
content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
/*   background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  ); */
/*   transform: rotate(25deg); */
/*   animation: shine 2.5s infinite; */
}
@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}


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

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

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