@charset "UTF-8";

/*! Cocoon Child Theme */
:root {
  --bg-main: #f4eaea;           /* くすみピンク（背景） */
  --bg-soft: #fdf7f4;           /* 全体背景 */
  --border-accent: #b48a94;     /* ローズグレイ（枠線） */
  --text-main: #5c4f4f;         /* 落ち着いたブラウン系文字色 */
  --text-muted: #7a6e66;        /* サブテキスト色 */
  --highlight: #b48a94;         /* アイコンや強調色 */
  --shadow-soft: 0 2px 6px rgba(0,0,0,0.05);
}

body {
  background-color: var(--bg-soft);
  color: var(--text-main);
  font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  line-height: 1.8;
}

a {
  color: var(--highlight);
  text-decoration: none;
}

h2, h3 {
  color: var(--text-muted);
  border-bottom: 1px solid #d8cfcf;
}

/* マーカー・見出し・太字 */
.marker {
  background: linear-gradient(transparent 60%, #fce8e8 60%);
}

.marker-under {
  display: block;
  font-size: 1.2em;
  color: var(--text-muted);
  margin-bottom: 1em;
  border-bottom: 2px dashed #d8cfc4;
  padding-bottom: 0.5em;
}

.bold {
  font-weight: bold;
  color: var(--text-main);
}

/* ボックス系 */
.article-box {
  padding: 1em;
  margin: 1em 0;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.8;
  background-color: var(--bg-main);
  border-left: 5px solid var(--border-accent);
}

.box-beige { background: #f5f5f0; border-left: 5px solid #b8a98f; }
.box-rose { background: #f4eaea; border-left: 5px solid #b48a94; }
.box-bluegray { background: #e6eaec; border-left: 5px solid #8a9ba8; }
.box-mauve { background: #ece9f1; border-left: 5px solid #9c8ca6; }

/* CTAボタン */
.cta-button {
  display: inline-block;
  background: #d8b6c3;
  color: #fff;
  padding: 0.8em 2em;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #c49eb1;
  transform: translateY(-2px);
}

/* 評価ブロック */
.review-evaluation {
  background-color: var(--bg-main);
  border-left: 6px solid var(--border-accent);
  padding: 1.5em;
  margin-bottom: 2em;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1em;
  margin-top: 1em;
}

.review-card {
  background-color: #fff;
  border: 1px solid #e0dcd7;
  border-radius: 12px;
  padding: 1em;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-icon-img {
  width: 64px;
  height: 64px;
  margin-bottom: 0.5em;
  border-radius: 8px;
  object-fit: contain;
}

.review-label {
  font-size: 0.9em;
  font-weight: bold;
  color: var(--text-muted);
  margin-bottom: 0.3em;
  display: block;
}

.review-value {
  font-size: 1.1em;
  color: var(--text-main);
}

/* HowToセクション */
.howto-usage {
  background-color: var(--bg-main);
  border-left: 6px solid var(--border-accent);
  padding: 1.5em;
  margin-bottom: 2em;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.howto-usage ol li {
  margin-bottom: 0.5em;
  color: var(--text-main);
}

/* まとめ＋購入導線 */
.review-summary-box {
  background-color: var(--bg-main);
  border-left: 6px solid var(--border-accent);
  padding: 1.5em;
  margin-top: 2em;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.review-summary-box p {
  margin-bottom: 1em;
  color: var(--text-main);
}

.review-summary-box .cta-button {
  background: #d8b6c3;
  color: #fff;
  padding: 0.8em 2em;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.review-summary-box .cta-button:hover {
  background: #c49eb1;
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .slider img {
    width: 100vw !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 8px;
  }

  .slider {
    max-width: 100vw;
    overflow: hidden;
  }

  #sidebar {
    display: block !important;
    width: 100%;
    margin-top: 20px;
  }
}
.review-icon-img {
  width: 64px;
  height: 64px;
  margin-bottom: 0.8em;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.review-icon-img:hover {
  transform: scale(1.05);
}
@media screen and (max-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8em;
  }

  .review-card {
    padding: 0.8em;
    border-radius: 10px;
  }

  .review-icon-img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.4em;
  }

  .review-label {
    font-size: 0.85em;
    margin-bottom: 0.2em;
  }

  .review-value {
    font-size: 1em;
  }
}
