@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
*/
/* ====================================
   基本カラー設定
   ==================================== */
:root {
  --agri-main: #2cb696;   /* メイン緑 */
  --agri-sub: #eafaf6;    /* 背景薄緑 */
  --agri-accent: #ffb600; /* アクセント橙 */
  --agri-text: #333;      /* 文字色 */
}

/* ====================================
   ★重要：見出しの強制上書き
   （SANGOのデフォルトを打ち消す）
   ==================================== */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  background: none !important;    /* 背景なし */
  border: none !important;        /* 枠線なし */
  padding: 0 !important;          /* 余白リセット */
  position: relative !important;  /* 位置リセット */
}

/* 新しいH2デザイン：左太線＋背景色 */
.entry-content h2 {
  background: var(--agri-sub) !important;
  border-left: 6px solid var(--agri-main) !important;
  padding: 15px 20px !important;
  color: var(--agri-text) !important;
  font-size: 1.4em;
  margin: 50px 0 30px;
  border-radius: 0 4px 4px 0;
}

/* 新しいH3デザイン：下線＋左アクセント */
.entry-content h3 {
  border-bottom: 2px solid var(--agri-main) !important;
  padding: 10px 10px 10px 15px !important;
  font-size: 1.25em;
  margin: 40px 0 20px;
}
.entry-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 6px;
  background: var(--agri-accent);
  border-radius: 3px;
}

/* ====================================
   ★CTR最大化：記事下CTAエリア
   （カード型でボタンを目立たせる）
   ==================================== */
.cta-area-final {
  background: #f9f9f9;
  padding: 30px 15px;
  margin-top: 50px;
  border-radius: 8px;
}

.cta-title {
  text-align: center;
  font-size: 1.3em;
  color: #333;
  margin-bottom: 25px;
  font-weight: bold;
}

/* PCで横並び、スマホで縦並び */
.cta-area-final {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.cta-title { width: 100%; }

.cta-box-primary,
.cta-box-secondary {
  width: 100%; /* スマホ */
  background: #fff;
  border-radius: 10px;
  overflow: hidden; /* 角丸からはみ出さない */
  box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* 浮き上がる影 */
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* PC表示 */
@media (min-width: 768px) {
  .cta-box-primary, .cta-box-secondary { width: 48%; }
}

/* 見出しラベル部分 */
.cta-box-primary p:first-child,
.cta-box-secondary p:first-child {
  padding: 15px;
  color: #fff;
  text-align: center;
  margin: 0 0 15px 0;
}

/* 1位（高く売る）：オレンジテーマ */
.cta-box-primary { border: 2px solid var(--agri-accent); }
.cta-box-primary p:first-child {
  background: var(--agri-accent);
  font-weight: bold;
}

/* 2位（処分する）：緑テーマ */
.cta-box-secondary { border: 2px solid var(--agri-main); }
.cta-box-secondary p:first-child {
  background: var(--agri-main);
  font-weight: bold;
}

/* 説明文 */
.cta-box-primary small,
.cta-box-secondary small {
  display: block;
  color: #333;
  font-size: 0.9em;
  padding: 0 15px;
  line-height: 1.5;
  margin-bottom: 15px;
  background: #fff; /* 背景色明示 */
  font-weight: normal;
}

/* ====================================
   Ad Inserter用ボタンの見た目補正
   （ショートコードの中身のCSSと連動）
   ==================================== */
.cta-box-primary .cta-btn-box,
.cta-box-secondary .cta-btn-box {
    margin: 0 auto;
    width: 90%;
}

/* ====================================
   その他のパーツ（マーカー・表・リスト）
   ==================================== */
.marker-yellow {
  background: linear-gradient(transparent 60%, #fff9c2 60%);
  font-weight: bold;
  padding: 0 4px 2px;
}
.entry-content ul {
  list-style: none !important;
  padding-left: 0;
  margin: 1.5em 0 1.5em 1em;
}
.check-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.8em;
  line-height: 1.7;
}
.check-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--agri-accent);
  font-weight: bold;
  font-size: 1.2em;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin-bottom: 30px;
  font-size: 0.95em;
}
.entry-content th {
  background: var(--agri-sub) !important;
  color: var(--agri-main) !important;
  border: 1px solid #ccece4;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  vertical-align: middle;
}
.entry-content td {
  background: #fff;
  border: 1px solid #eee;
  padding: 12px;
  vertical-align: middle;
}
.local-shop-detail {
  border: 2px solid var(--agri-main);
  border-radius: 8px;
  padding: 25px;
  background: #fff;
  margin: 2em 0;
}
.local-shop-detail dt {
  color: var(--agri-main);
  font-weight: bold;
  margin-top: 10px;
  border-bottom: 1px dashed #ddd;
  display: block;
}
.local-shop-detail dd {
  margin: 5px 0 15px 10px;
}
.shop-link { text-align: center; margin-top: 20px; }
.shop-link a {
  display: inline-block;
  background: var(--agri-sub);
  color: var(--agri-main);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid var(--agri-main);
  transition: .3s;
}
.shop-link a:hover {
  background: var(--agri-main);
  color: #fff;
}