@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){
  /*必要ならばここにコードを書く*/
}

.follow-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95);
  box-shadow: 0 -2px 8px rgba(0,0,0,.15);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.follow-banner.is-show { transform: translateY(0); }
.follow-banner img { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; }

@media (min-width: 835px) {
  .follow-banner {
    background: transparent;
    box-shadow: none;
  }
  .follow-banner img { max-width: 480px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
}
