/* ふるさと納税・返礼品カード。すべて .ftc9-card 内に限定。 */
.ftc9-card {
  --ftc9-paper: #ffffff;
  --ftc9-ink: #26352e;
  --ftc9-muted: #606b64;
  --ftc9-line: #e1e5e2;
  --ftc9-soft: #f3f6f3;
  --ftc9-rakuten: #af2030;
  --ftc9-amazon: #f4bf57;
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 390px;
  min-width: 0;
  margin: 24px auto;
  padding: 16px;
  border: 1px solid var(--ftc9-line);
  border-radius: 12px;
  background: var(--ftc9-paper);
  color: var(--ftc9-ink);
  font: 400 14px/1.6 -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
  isolation: isolate;
}
.ftc9-card *, .ftc9-card *::before, .ftc9-card *::after { box-sizing: border-box; }
.ftc9-card [hidden] { display: none !important; }
.ftc9-card .ftc9-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 0; color: var(--ftc9-muted); font-size: 12px; }
.ftc9-card .ftc9-hero { display: grid; grid-template-columns: min(33%, 116px) minmax(0, 1fr); gap: 14px; align-items: center; margin: 0; padding: 0; }
.ftc9-card .ftc9-photo { display: block; width: 100%; min-width: 0; aspect-ratio: 1; margin: 0; padding: 0; border: 0; border-radius: 6px; background: #f5f5f5; overflow: hidden; }
.ftc9-card .ftc9-image { position: static; display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; }
.ftc9-card .ftc9-heading { min-width: 0; margin: 0; padding: 0; }
.ftc9-card .ftc9-title {
  position: static; display: block; margin: 0 0 6px; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--ftc9-ink); font-family: inherit; font-size: 18px;
  font-weight: 600; line-height: 1.45; letter-spacing: normal;
}
.ftc9-card .ftc9-title::before, .ftc9-card .ftc9-title::after { content: none; }
.ftc9-card .ftc9-maker { margin: 0; padding: 0; color: var(--ftc9-muted); font-size: 12px; }
.ftc9-card .ftc9-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 16px 0 0; padding: 0; }
.ftc9-card .ftc9-price-label { color: var(--ftc9-muted); font-size: 14px; }
.ftc9-card .ftc9-amount { color: var(--ftc9-ink); font-size: 28px; font-weight: 600; line-height: 1.35; font-variant-numeric: tabular-nums; }
.ftc9-card .ftc9-currency { margin-left: 2px; font-size: 16px; font-weight: 400; }
.ftc9-card .ftc9-price-source { margin: 2px 0 12px; padding: 0; color: var(--ftc9-muted); font-size: 12px; }
.ftc9-card .ftc9-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.ftc9-card .ftc9-tag { display: block; margin: 0; padding: 4px 9px; border: 0; border-radius: 4px; background: var(--ftc9-soft); color: var(--ftc9-ink); font-size: 12px; list-style: none; }
.ftc9-card .ftc9-tag::before, .ftc9-card .ftc9-tag::after { content: none; }
.ftc9-card .ftc9-facts { display: block; margin: 0; padding: 0; border: 0; }
.ftc9-card .ftc9-row { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 10px; margin: 0; padding: 9px 0; border: 0; border-top: 1px solid var(--ftc9-line); background: none; }
.ftc9-card .ftc9-label { display: block; float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; color: var(--ftc9-muted); font-size: 14px; font-weight: 400; }
.ftc9-card .ftc9-value { display: block; float: none; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--ftc9-ink); font-size: 14px; }
.ftc9-card .ftc9-action-title { margin: 12px 0 8px; padding: 0; color: var(--ftc9-ink); font-size: 14px; font-weight: 600; }
.ftc9-card .ftc9-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.ftc9-card .ftc9-actions > .ftc9-link:only-child { grid-column: 1 / -1; }
.ftc9-card .ftc9-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-width: 0; min-height: 66px; gap: 4px; margin: 0; padding: 10px 6px;
  border: 0; border-radius: 8px; box-shadow: none;
  font-family: inherit; font-size: 15px; line-height: 1.5;
  text-align: center; text-decoration: none; cursor: pointer;
}
.ftc9-card .ftc9-link::before, .ftc9-card .ftc9-link::after { content: none; }
.ftc9-card .ftc9-rakuten, .ftc9-card .ftc9-rakuten:visited { background: var(--ftc9-rakuten); color: #ffffff; }
.ftc9-card .ftc9-amazon, .ftc9-card .ftc9-amazon:visited { background: var(--ftc9-amazon); color: #282c28; }
.ftc9-card .ftc9-brand { color: inherit; font-size: 15px; font-weight: 600; }
.ftc9-card .ftc9-link-label { color: inherit; font-size: 12px; font-weight: 400; }
.ftc9-card .ftc9-condition { margin: 8px 0 0; padding: 0; color: var(--ftc9-muted); font-size: 12px; }
.ftc9-card .ftc9-details { display: block; margin: 12px 0 0; padding: 0; border: 0; border-top: 1px solid var(--ftc9-line); background: none; }
.ftc9-card .ftc9-summary { display: list-item; min-height: 44px; margin: 0; padding: 12px 0; color: var(--ftc9-ink); font-size: 14px; font-weight: 400; list-style-position: inside; cursor: pointer; }
.ftc9-card .ftc9-summary::before, .ftc9-card .ftc9-summary::after { content: none; }
.ftc9-card .ftc9-foot { display: block; margin: 2px 0 0; padding: 0; color: var(--ftc9-muted); font-size: 12px; line-height: 1.6; }
.ftc9-card .ftc9-link:focus-visible, .ftc9-card .ftc9-summary:focus-visible { outline: 3px solid #1664b0; outline-offset: 3px; }
@media (hover: hover) {
  .ftc9-card .ftc9-rakuten:hover { background: #931b28; color: #ffffff; }
  .ftc9-card .ftc9-amazon:hover { background: #e9af3e; color: #282c28; }
}
@media (max-width: 350px) {
  .ftc9-card { padding: 12px; }
  .ftc9-card .ftc9-hero { gap: 12px; }
  .ftc9-card .ftc9-title { font-size: 17px; }
}
