@charset "UTF-8";

/* =================================================
   Rakuten Core Shortcode CSS
   scope: [rakuten_test] only
   ================================================= */

/* ---------- 商品ブロック全体 ---------- */

.rakuten-shortcode .rakuten-item {
  margin-bottom: 16px;
  overflow: hidden; /* 旧CSSやfloat対策 */
}


/* ---------- メイン（画像＋商品名） ---------- */

.rakuten-shortcode .rakuten-item-main img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rakuten-shortcode .rakuten-item-main a {
  display: block;
  line-height: 1.5;
  word-break: break-word;
  text-decoration: none;
}


/* ---------- キャッチコピー ---------- */

.rakuten-shortcode .rakuten-item-catch p {
  margin: 8px 0;
  line-height: 1.6;
}


/* ---------- 情報ブロック（店舗・評価・価格） ---------- */

.rakuten-shortcode .rakuten-item-info p {
  margin: 6px 0;
  line-height: 1.5;
}


/* =================================================
   Responsive (minimum)
   ================================================= */

@media (max-width: 768px) {

  .rakuten-shortcode .rakuten-item-main img {
    margin-bottom: 8px;
  }

  .rakuten-shortcode .rakuten-item-main a {
    font-size: 14px;
  }

  .rakuten-shortcode .rakuten-item-info p {
    font-size: 13px;
  }

}

/* プラグインの枠線を強制的に消す */
div.rakuten-shortcode.boxtop {
    border-top: none !important;
    border-bottom: none !important;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
}



