@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;
  }
}








.katteyo2 {
  box-sizing: border-box;
  width: 95%;
  padding:10px 10px 5px 10px;
  text-align:center;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
 }
.katteyo2-child {
  display: -webkit-inline-flex;
	display: inline-flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-align-content: center;
	align-content: center;
  width: 95%;
  margin: 5px auto;
 }
.katteyo2-image {
  text-align: center;
  box-sizing: border-box;
  max-width: 50%;
  height: auto;
  position: relative;
 }

.katteyo2-image img {
  box-shadow: 1px 1px 5px -2px #aaaaaa;
  margin: 0;
}

.katteyo2-text {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  text-align:left;
 }

.katteyo2-title a{
  display:block;
  text-decoration: none;
  font-size: 0.9em;
  color: #1d51bc;
 }

.katteyo2-description {
  margin-top: 5px;
  margin-left: 8px;
  font-size: 0.8em;
 }
  
.katteyo2-btns {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-align-content: center;
	align-content: center;
  box-sizing: border-box;
  width: 99%;
  margin: 0px auto;
}
.katteyo2-btns a{
  display:block;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  text-decoration: none;
  font-weight:bold;
  line-height:2.0;
  text-align:center;
  font-size: 0.9em;
  border-radius: 8px;
  color:#ffffff;
}

.katteyo2-btns a:hover {
  color: #000000;
}

.katteyo2-btns img {
    position: absolute;
}

.katteyo2-btns-child-black{
    display: inline;
    width:85%;
    margin: 5px auto;
}
.katteyo2-btns-child-black a {
  background: #000000;
}
.katteyo2-btns-child-black a:hover {
  background-color: #aaaaaa;
}


.katteyo2-btns-child-red{
    display: inline;
    width:85%;
    margin: 5px auto;
}
.katteyo2-btns-child-red a {
  background: #ff0000;
}
.katteyo2-btns-child-red a:hover {
  background-color: #ffddff;
}

@media (min-width: 601px) {
.katteyo2-image {
  width: 22%;
 }
.katteyo2-text {
  margin-left: 5px;
  width: 75%;
 }
.katteyo2-btns-child-black{
    width:48%;
}
.katteyo2-btns-child-red{
    width:48%;
}
}
