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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 新着メッセージ通知用のCSS */
#bp-message-notice {
  width: 100%;
  height: 100px;
  background: #70c48f;
  color: white;
  border-radius: 3px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: -100px; /* 初期位置は画面上部外側 */
  left: 0;
  z-index: 99999; /* 他の要素より手前に表示 */
}
/* 通知バナー内のリンクのスタイル */
#bp-message-notice a {
  color: white; /* 文字色を白に */
	font-weight:700;
  text-decoration: none; /* 下線を消す */
}

/* リンクにマウスカーソルを乗せた時に下線を表示 */
#bp-message-notice a:hover {
  text-decoration: underline;
}
/* 通知を表示する時のアニメーション用クラス */
.slidenotice {
  animation: movein 0.5s ease forwards, moveout 0.5s 4s ease forwards;
}

@keyframes movein {
  from { top: -100px; }
  to   { top: 0px; }
}

@keyframes moveout {
  from { top: 0px; }
  to   { top: -100px; }
}

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

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

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