@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){
  /*必要ならばここにコードを書く*/
}
/************************************
** スーパーゴリラ評価
************************************/
.sg-review {
  --sg-ink: #202722;
  --sg-green: #356d45;
  --sg-green-soft: #edf5eb;
  --sg-lime: #b6d765;
  --sg-gold: #eeb33b;
  --sg-line: #dce5da;
  margin: 2.25em 0;
  overflow: hidden;
  color: var(--sg-ink);
  background: #fff;
  border: 1px solid var(--sg-line);
  border-top: 6px solid var(--sg-green);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(31, 48, 35, 0.08);
}
.sg-review__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: radial-gradient(circle at 100% 0, rgba(182, 215, 101, 0.28), transparent 42%), #f8faf6;
  border-bottom: 1px solid var(--sg-line);
}
.sg-review__eyebrow { margin: 0 0 4px; color: var(--sg-green); font-size: .68em; font-weight: 800; letter-spacing: .14em; }
.sg-review .sg-review__title { margin: 0; padding: 0; color: var(--sg-ink); background: none; border: 0; font-size: clamp(1.25rem, 4vw, 1.65rem); line-height: 1.35; }
.sg-review__overall { display: grid; flex: 0 0 auto; grid-template-columns: auto auto; align-items: center; gap: 2px 10px; padding: 10px 14px; color: #fff; background: var(--sg-green); border-radius: 11px; }
.sg-review__overall-label { grid-column: 1 / -1; font-size: .7em; font-weight: 700; letter-spacing: .06em; opacity: .88; }
.sg-review__overall-number { display: inline-flex; align-items: baseline; white-space: nowrap; }
.sg-review__overall-number strong { font-size: 1.75rem; line-height: 1; }
.sg-review__overall-number span { margin-left: 2px; font-size: .72em; opacity: .8; }
.sg-review__summary { margin: 20px 24px 0; padding: 15px 18px; color: #263229; background: var(--sg-green-soft); border-left: 4px solid var(--sg-lime); border-radius: 7px; font-size: 1.05em; font-weight: 700; line-height: 1.7; }
.sg-review__scores { display: grid; gap: 0; margin: 20px 24px 0; border: 1px solid var(--sg-line); border-radius: 9px; }
.sg-review__score-row { display: grid; grid-template-columns: minmax(88px, .8fr) minmax(126px, 1fr) 34px; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--sg-line); }
.sg-review__score-row:last-child { border-bottom: 0; }
.sg-review__score-label { font-weight: 700; }
.sg-review__score-number { color: var(--sg-green); text-align: right; }
.sg-review__stars { position: relative; display: inline-block; width: 6.1em; overflow: hidden; color: #d7ddd5; line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.sg-review__overall-stars { font-size: .95em; }
.sg-review__small-stars { font-size: 1.15em; }
.sg-review__stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--sg-gold); }
.sg-review__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 24px 0; }
.sg-review__point { padding: 16px 18px; background: #fbfcfa; border: 1px solid var(--sg-line); border-radius: 9px; }
.sg-review .sg-review__point h3, .sg-review .sg-review__recommend h3 { margin: 0 0 10px; padding: 0; color: var(--sg-ink); background: none; border: 0; font-size: 1rem; line-height: 1.4; }
.sg-review__point--good h3 { color: var(--sg-green) !important; }
.sg-review__point--bad h3 { color: #735f39 !important; }
.sg-review__point ul { margin: 0; padding: 0; list-style: none; }
.sg-review__point li { display: grid; grid-template-columns: 1.2em 1fr; gap: 7px; margin: 7px 0 0; line-height: 1.6; }
.sg-review__point li:first-child { margin-top: 0; }
.sg-review__point--good li > span:first-child { color: var(--sg-green); font-weight: 800; }
.sg-review__point--bad li > span:first-child { color: #9a722b; font-weight: 800; }
.sg-review__recommend { margin: 20px 24px 24px; padding: 16px 18px; background: #f7f8f6; border-radius: 9px; }
.sg-review__recommend p { margin: 0; color: #374039; line-height: 1.7; }

/************************************
** Amazon商品リンク・広告開示
************************************/
.sg-product-link { margin: 1.4em 0 2.25em; text-align: center; }
.sg-product-link__button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: min(100%, 420px); min-height: 52px; padding: 12px 20px; color: #273129 !important; background: #fff; border: 2px solid #67b9bd; border-radius: 9px; box-shadow: 0 4px 14px rgba(46, 39, 25, .08); font-weight: 700; line-height: 1.5; text-decoration: none !important; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.sg-product-link__button:hover, .sg-product-link__button:focus-visible { color: #1f281f !important; background: #f1fafa; border-color: #4da5a9; transform: translateY(-1px); }
.sg-product-link__button:focus-visible { outline: 3px solid rgba(53, 109, 69, .28); outline-offset: 3px; }
.sg-product-link__arrow { flex: 0 0 auto; color: #356d45; font-size: 1.2em; }
.sg-product-link__note { margin: 7px 0 0; color: #687069; font-size: .75em; }
.sg-product-link__disclosure { box-sizing: border-box; width: min(100%, 560px); margin: 0 auto 12px; padding: 10px 12px; color: #3f4942; background: #f7f8f6; border-left: 3px solid #87968b; font-size: .88rem; line-height: 1.65; text-align: left; }

@media screen and (max-width: 600px) {
  .sg-review { margin: 1.75em 0; border-radius: 10px; }
  .sg-review__header { align-items: flex-start; gap: 12px; padding: 18px; }
  .sg-review__eyebrow { font-size: .6em; letter-spacing: .1em; }
  .sg-review__overall { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px 6px; max-width: 112px; padding: 9px 10px; }
  .sg-review__overall-label { width: 100%; text-align: right; }
  .sg-review__overall-stars { order: 3; width: 100%; font-size: .72em; text-align: right; }
  .sg-review__overall-number strong { font-size: 1.5rem; }
  .sg-review__summary, .sg-review__scores, .sg-review__points, .sg-review__recommend { margin-right: 18px; margin-left: 18px; }
  .sg-review__summary { padding: 13px 14px; font-size: 1em; }
  .sg-review__score-row { grid-template-columns: 82px 1fr 30px; gap: 7px; padding: 10px; }
  .sg-review__small-stars { font-size: .98em; }
  .sg-review__points { grid-template-columns: 1fr; }
  .sg-review__point, .sg-review__recommend { padding: 14px; }
  .sg-review__recommend { margin-bottom: 18px; }
  .sg-product-link { margin-top: 1.1em; }
  .sg-product-link__disclosure { margin-bottom: 10px; padding: 9px 10px; font-size: .84rem; }
  .sg-product-link__button { min-height: 50px; padding: 11px 15px; font-size: .95em; }
}

