@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){
  /*必要ならばここにコードを書く*/
}
.buy-button {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 25px;
  transition: all 0.1s ease-in-out;
  margin: 0 20px;
}

/* 淡い赤色のボタン */
.buy-button.red {
  background-color: #f58b8b; /* 淡い赤（ピンク寄り） */
  box-shadow: 0 4px 0 #d36a6a; /* 下に少し濃い影 */
}

/* カーソルを合わせたときの沈み効果 */
.buy-button.red:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #b55b5b;
}
/* 配置パターン */
.button-center {
  text-align: center;
  margin: 20px 0;
}

.button-right {
  text-align: right;
  margin: 20px 0;
}

.button-left {
  text-align: left;
  margin: 20px 0;
}

/* --- スマホ用の調整（幅768px以下のとき） --- */
@media screen and (max-width: 768px) {

  /* ボタンを少し大きくする */
  .buy-button {
    padding: 12px 35px;
    font-size: 1.1em;
  }

  /* スマホでは中央寄せを基本に */
  .button-left,
  .button-right {
    text-align: center !important;
  }

  /* ボタン同士が近い場合に余白をとる */
  .buy-button {
    margin: 10px auto;
    display: inline-block;
  }
}
