/* 読み物の記事（sites/towel/pages/magazine/）が読み込む。記事から「種類と価格」のページ
   （/lp_category_towel）へ送る2つのブロック。
   古いテーマは本文の <p> の余白を !important で決め、ul を中央寄せの grid にし、リンクに
   下線を付けるので、ID から書いて打ち消している。 */

#agent-mag-top {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 24px;
  padding: 14px 16px;
  border: 1px solid #d5dbe6;
  border-left: 4px solid #f48f09;
  background: #f6f8fc;
}
#agent-mag-top .agent-mag-top__text {
  flex: 1 1 260px;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.7;
  color: #222;
}
#agent-mag-top .agent-mag-top__text strong {
  display: block;
  font-size: 16px;
  color: #0b1b4a;
}
#agent-mag-top .agent-mag-top__btn,
#agent-mag-end .agent-mag-end__btn {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 11px 22px;
  border-radius: 999px;
  background: #0b1b4a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  color: #fff;
}
#agent-mag-top .agent-mag-top__btn::after,
#agent-mag-end .agent-mag-end__btn::after {
  content: " ›";
}
@media (max-width: 568px) {
  #agent-mag-top .agent-mag-top__btn {
    flex: 1 1 100%;
  }
}

#agent-mag-end {
  margin: 8px 0 20px;
  padding: 16px;
  border: 1px solid #d5dbe6;
  background: #fff;
  text-align: center;
}
#agent-mag-end .agent-mag-end__title {
  margin: 0 0 10px !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #0b1b4a;
}
#agent-mag-end .agent-mag-end__types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  justify-content: center;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
#agent-mag-end .agent-mag-end__types li {
  margin: 0;
  padding: 0;
  list-style: none;
}
#agent-mag-end .agent-mag-end__types li::before {
  content: none;
}
#agent-mag-end .agent-mag-end__types a {
  display: block;
  padding: 8px 14px;
  border: 1px solid #0b1b4a;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  color: #0b1b4a;
}
#agent-mag-end .agent-mag-end__btn {
  max-width: 360px;
  margin: 0 auto;
}
