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



/* 全端末で左下固定の商品販売ボタン */
.fixed-sales-btn {
  position: fixed !important;
  display: block !important;
  bottom: 25px;       
  left: 25px; /* 全端末で左下に配置 */
  z-index: 9999;      
}

.fixed-sales-btn a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #ff4757; 
  color: #ffffff;      
  font-weight: bold;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 50px; 
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
  transition: all 0.3s ease;
}

/* マウスを乗せたときの動き */
.fixed-sales-btn a:hover {
  background: #ff6b81; 
  transform: translateY(-2px); 
}

/* スマホ表示（縦向き・画面幅480px以下）の時の調整 */
@media screen and (max-width: 480px) {
  .fixed-sales-btn {
    bottom: 20px;
    left: 20px; /* スマホ時は少し端に寄せる */
  }
  .fixed-sales-btn a {
    font-size: 14px;
    padding: 12px 20px;
  }
}
