@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.rank-btn-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 24px;
}

.rank-btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  text-align:center;
  min-width:160px;
  transition:.2s ease;
  box-sizing:border-box;
}

.rank-btn:hover{
  opacity:.88;
  transform:translateY(-1px);
}

.rank-btn.amazon{
  background:#f0c14b;
  color:#111;
}

.rank-btn.rakuten{
  background:#bf0000;
  color:#fff;
}

.rank-btn.yahoo{
  background:#ff0033;
  color:#fff;
}
.book-comparison-wrap{
  width:100%;
  overflow-x:auto;
  margin:20px 0 28px;
}

.book-comparison-table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
  background:#fff;
}

.book-comparison-table th,
.book-comparison-table td{
  border:1px solid #ddd;
  padding:12px;
  text-align:left;
  vertical-align:middle;
  font-size:14px;
  line-height:1.7;
}

.book-comparison-table th{
  background:#f5f5f5;
  font-weight:700;
}

.table-btn-wrap{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:150px;
}

.table-btn{
  display:inline-block;
  padding:8px 12px;
  border-radius:6px;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  text-align:center;
  white-space:nowrap;
  box-sizing:border-box;
  transition:.2s ease;
}

.rank-btn-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 8px;
}

.rank-btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  text-align:center;
  min-width:160px;
  transition:.2s ease;
  box-sizing:border-box;
}

.rank-btn:hover,
.table-btn:hover{
  opacity:.88;
  transform:translateY(-1px);
}

.table-btn.amazon,
.rank-btn.amazon{
  background:#f0c14b;
  color:#111;
}

.table-btn.rakuten,
.rank-btn.rakuten{
  background:#bf0000;
  color:#fff;
}

.table-btn.yahoo,
.rank-btn.yahoo{
  background:#ff0033;
  color:#fff;
}

.cv-btn-box{
  background:#f8f8f8;
  border:1px solid #e5e5e5;
  border-radius:12px;
  padding:16px;
  margin:20px 0 28px;
}

.cv-btn-lead{
  font-weight:700;
  margin:0 0 12px;
  font-size:15px;
  line-height:1.7;
}

.cv-btn-note{
  margin:10px 0 0;
  font-size:12px;
  color:#666;
}

.product-box{
  border:1px solid #e8e8e8;
  border-radius:14px;
  padding:20px;
  margin:24px 0;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}

.product-box.rank1{
  border:2px solid #d4af37;
  background:#fffdf7;
}

.product-box.rank2{
  border:1px solid #cfcfcf;
  background:#fcfcfc;
}

.product-box.rank3{
  border:1px solid #d9b38c;
  background:#fffaf7;
}

.product-rank{
  display:inline-block;
  margin:0 0 12px;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1;
  background:#f2f2f2;
  color:#333;
}

.product-box.rank1 .product-rank{
  background:#d4af37;
  color:#fff;
}

.product-box.rank2 .product-rank{
  background:#9e9e9e;
  color:#fff;
}

.product-box.rank3 .product-rank{
  background:#b87333;
  color:#fff;
}

.product-title{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.5;
}

.product-desc{
  margin:0 0 16px;
  line-height:1.9;
}

.product-subtitle{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.6;
}

.product-points{
  margin:0 0 8px 18px;
  padding:0;
  line-height:1.9;
}

.product-points li{
  margin-bottom:4px;
}

.product-note{
  margin:12px 0 0;
  font-size:13px;
  color:#666;
  line-height:1.7;
}

@media (max-width: 767px){
  .product-box{
    padding:16px;
  }

  .product-title{
    font-size:21px;
  }

  .rank-btn,
  .table-btn{
    width:100%;
  }

  .table-btn-wrap{
    min-width:120px;
  }
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
