/* ========================================
   Amazon アソシエイト 購買意欲カード - kicchow
   （画像なし・CTA強化デザイン）
   ======================================== */

.amazon-btn-card {
  margin: 26px auto;
  max-width: 480px;
  border-radius: 16px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.amazon-btn-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg,#FFFDF8 0%,#FFF7E8 100%);
  border: 2px solid #FFD27A;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 4px 16px rgba(255,153,0,0.14);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  overflow: hidden;
}
.amazon-btn-link:hover {
  transform: translateY(-3px);
  border-color: #FF9900;
  box-shadow: 0 10px 26px rgba(255,153,0,0.28);
}

/* PRタグ（広告表記・コンプラ用） */
.amazon-pr-tag {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 10px;
  color: #B89B5E;
  letter-spacing: 0.08em;
}

.amazon-btn-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* 絵文字アイコンタイル */
.amazon-icon-tile {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 25%,#fff 0%,#FBEFD6 70%,#F4E0B5 100%);
  border: 1px solid #FFD27A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.7);
}
.amazon-icon-tile span {
  font-size: 34px;
  line-height: 1;
}

.amazon-btn-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.amazon-btn-title {
  font-size: 14px;
  font-weight: 700;
  color: #2C3A24;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 価格 */
.amazon-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.amazon-btn-price {
  font-size: 20px;
  font-weight: 800;
  color: #B12704;
  letter-spacing: 0.02em;
}
.amazon-price-note {
  font-size: 10px;
  color: #999;
}
.amazon-stock-line {
  font-size: 12px;
  font-weight: 700;
  color: #C7621D;
}

/* 信頼バッジ */
.amazon-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.amazon-trust {
  font-size: 10.5px;
  font-weight: 700;
  color: #4A7A35;
  background: #EAF3E1;
  border-radius: 999px;
  padding: 2px 8px;
}

/* CTAボタン（フル幅・光沢アニメ） */
.amazon-btn-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(180deg,#FFB02E 0%,#FF9900 100%);
  color: #111;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 800;
  margin-top: 4px;
  box-shadow: 0 4px 10px rgba(255,153,0,0.4);
  overflow: hidden;
}
.amazon-btn-link:hover .amazon-btn-cta {
  background: linear-gradient(180deg,#FFA519 0%,#F08800 100%);
}
/* 光沢はホバー時だけ一度流す（常時アニメは機械的なのでやめる） */
.amazon-btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,0.55),transparent);
  transform: skewX(-20deg);
  opacity: 0;
}
.amazon-btn-link:hover .amazon-btn-cta::after {
  animation: amazonShine 0.9s ease-out;
}
@keyframes amazonShine {
  0%   { left: -60%; opacity: 1; }
  100% { left: 130%; opacity: 1; }
}
.amazon-btn-amazon-logo {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: #111;
  letter-spacing: -0.5px;
}
.amazon-btn-label { font-size: 14px; }
.amazon-btn-arrow { font-size: 15px; }

.amazon-micro {
  font-size: 10px;
  color: #B3A88E;
  text-align: right;
  margin-top: 4px;
}
.amazon-price-note { font-size: 10px; color: #B0A88E; }

/* 全体トーンを柔らかく（広告っぽさを抑える） */
.amazon-btn-link {
  background: #fff;
  border-color: #EADFC4;
  box-shadow: 0 2px 10px rgba(120,100,60,0.08);
}
.amazon-btn-link:hover {
  border-color: #F0B859;
  box-shadow: 0 8px 20px rgba(180,140,60,0.16);
}

/* ===== 狭いコンテナ（サイドバー等）では縦並びに整える ===== */
.widget .amazon-btn-card,
.footer-weekly .amazon-btn-card { margin: 14px auto; }

.widget .amazon-btn-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.widget .amazon-icon-tile {
  flex: 0 0 56px;
  width: 56px; height: 56px;
}
.widget .amazon-btn-body { width: 100%; align-items: center; }
.widget .amazon-btn-title {
  -webkit-line-clamp: 3;
  font-size: 13px;
}
.widget .amazon-price-row { justify-content: center; }
.widget .amazon-micro { text-align: center; }

/* サイドバー内の週替わりは枠・二重見出しを省いてスッキリ */
.widget .amazon-weekly {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
}
.widget .amazon-weekly-head { display: none; }

/* スマホ */
@media (max-width: 480px) {
  .amazon-icon-tile {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }
  .amazon-icon-tile span { font-size: 28px; }
  .amazon-btn-title { font-size: 13px; }
  .amazon-btn-price { font-size: 18px; }
  .amazon-btn-cta { padding: 10px 12px; font-size: 13px; }
}

/* ===== 今週のおすすめ（週替わり） ===== */
.amazon-weekly {
  margin: 32px auto;
  max-width: 520px;
  background: linear-gradient(180deg,#FBF8F0 0%,#fff 100%);
  border: 2px solid #E8DFC8;
  border-radius: 16px;
  padding: 20px 18px 8px;
}
.amazon-weekly-head {
  text-align: center;
  margin-bottom: 6px;
}
.amazon-weekly-badge {
  display: inline-block;
  background: #4A7A35;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
}
.amazon-weekly-title {
  font-family: 'Kaisei Decol', serif;
  font-size: 20px;
  color: #2C3A24;
  margin: 8px 0 4px;
}
.amazon-weekly .amazon-btn-card {
  margin: 12px auto;
  max-width: 100%;
}

/* ===== フッター上の週替わりセクション ===== */
.footer-weekly {
  padding: 8px 16px 0;
  background: #fff;
}

/* ===== ブログ一覧ページ ===== */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
}
.blog-chip {
  font-size: 12.5px;
  font-weight: 700;
  color: #5C6B4A;
  background: #fff;
  border: 1.5px solid #D8E0C8;
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  transition: all .15s;
}
.blog-chip:hover { border-color: #8DB87A; color: #3A6A28; }
.blog-chip.active { background: #4A7A35; border-color: #4A7A35; color: #fff; }

.article-excerpt {
  font-size: 12.5px;
  color: #6E6450;
  line-height: 1.6;
  margin: 4px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
