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


.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%;
}
}






.review-card2{
    width:100%;
    max-width:720px;
    margin:25px auto;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    border:1px solid #ececec;
    box-sizing:border-box;
}

/* 上のアクセント */
.review-card2::before{
    content:"";
    display:block;
    height:5px;
    background:linear-gradient(90deg,#ff9900,#00b86b);
}

.review-main2{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px;
}

.review-image2{
    flex:0 0 120px;
}

.review-image2 img{
    width:100%;
    display:block;
    border-radius:12px;
    transition:.3s;
}

.review-image2 img:hover{
    transform:scale(1.05);
}

.review-info2{
    flex:1;
}

.review-title2{
    display:block;
    font-size:17px;
    font-weight:700;
    color:#222;
    text-decoration:none;
    line-height:1.5;
    margin-bottom:8px;
}

.review-title2:hover{
    color:#ff9900;
}

.review-desc2{
    color:#666;
    font-size:14px;
    line-height:1.7;
    margin:0;
}

.review-buttons2{
    display:flex;
    gap:12px;
    padding:0 18px 18px;
}

.review-btn2{
    flex:1;
    text-align:center;
    text-decoration:none;
    font-weight:bold;
    border-radius:10px;
    padding:12px;
    transition:.25s;
    box-shadow:0 3px 10px rgba(0,0,0,.12);
}

/* Amazon */

.review-btn2.amazon2{
    background:linear-gradient(180deg,#ffbf54,#ff9900);
    color:#222;
}

.review-btn2.amazon2:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(255,153,0,.35);
}

/* レビュー */

.review-btn2.review2{
    background:linear-gradient(180deg,#31c26b,#16a34a);
    color:#fff;
}

.review-btn2.review2:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(22,163,74,.35);
}

@media(max-width:600px){

.review-main2{
    flex-direction:column;
    text-align:center;
}

.review-image2{
    width:70%;
    flex:none;
}

.review-buttons2{
    flex-direction:column;
}

}



.review-buttons2 a{
    all: unset;
    box-sizing: border-box;
    cursor: pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    flex:1;

    padding:12px;

    border-radius:10px;

    text-decoration:none !important;

    font-weight:700;

    transition:.25s;
}

.review-buttons2 a::before,
.review-buttons2 a::after{
    display:none !important;
    content:none !important;
}
