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





.product-card {
  width: 100%;
  max-width: 720px;
  margin: 20px auto;
  padding: 15px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

/* メイン部分 */
.product-main {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* 画像 */
.product-image {
  flex: 0 0 120px;
}

.product-image img {
  width: 100%;
  border-radius: 10px;
}

/* テキスト */
.product-info {
  flex: 1;
}

.product-title {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-title:hover {
  color: #0073e6;
}

.product-desc {
  font-size: 13px;
  color: #666;
}

/* ボタン */
.product-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btn {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  transition: 0.2s;
}

/* Amazon */
.btn.amazon {
  background: linear-gradient(180deg, #ffb84d 0%, #ff9900 100%);
  color: #111;
  border: 1px solid #e68a00;
}

.btn.amazon:hover {
  background: linear-gradient(180deg, #ffc266 0%, #ff9900 100%);
}

/* 楽天 */
.btn.rakuten {
  background: #e60023;
}

.btn.rakuten:hover {
  background: #ff4d6d;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .product-main {
    flex-direction: column;
    text-align: center;
  }

  .product-image {
    flex: none;
    width: 70%;
  }

  .product-buttons {
    flex-direction: column;
  }
}