#recommend_posts_ad{
  padding: 5px;
}

#recommend_posts_ad *{
  box-sizing: border-box;
}
#recommend_posts_ad img{
  width: 100%;
  height: auto;
}
#recommend_posts_ad ul{
  background-color: #ffffff;
}
#recommend_posts_ad ul > li{
  border-bottom: 1px solid #cfcfcf;
  position: relative;
}
#recommend_posts_ad ul > li[data-pr="TRUE"]::after{
  content: "PR";
  position: absolute;
  font-size: 10px;
  font-weight: bold;
  background: #ccccccb3;
  line-height: 1;
  padding: 3px;
  color: #ffffff;
}
#recommend_posts_ad ul > li[data-type="top_part"]::after{
  right: 10px;
  top: 10px;
}
#recommend_posts_ad ul > li[data-type="normal"]::after{
  left: 41%;
  bottom: 7px;
}


#recommend_posts_ad li[data-type="top_part"]{
  padding: 5px;
  text-align: center;
}
#recommend_posts_ad li[data-type="top_part"] .top_tag{
  position: absolute;
  top: 10px;
  left: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  font-size: 14px;
  display: flex;
  align-items: stretch;
  width: calc(100% - 20px);
  height: 24px;
}
#recommend_posts_ad li[data-type="top_part"] .top_tag > .tag{
  background: #e60012;
  color: #ffffff;
  display: inline-block;
  padding: 0 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px 0px 0px 10px;
  min-width: max-content;
}
#recommend_posts_ad li[data-type="top_part"] .top_tag > span:last-child{
  border: 2px solid #e60012;
  border-left: 0;
  background: #ffffff;
  color: #e60012;
  text-align: center;
  border-radius: 0px 10px 10px 0;
  padding: 1px 10px 1px 8px;
  display: -webkit-box;
  overflow: hidden;
  word-break: break-all;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}
#recommend_posts_ad li[data-type="top_part"] .title{
  position: absolute;
  bottom: 5px;
  background: #1a1515bd;
  left: 5px;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px 2px 4px;
  font-weight: bold;
  width: calc(100% - 10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0px 0px 10px 10px;
}
#recommend_posts_ad li[data-type="top_part"] .title > span{
  width: calc(100% - 120px);
  display: -webkit-box;
  overflow: hidden;
  word-break: break-all;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  font-size: 13px;
  font-weight: bold;
}
#recommend_posts_ad li[data-type="top_part"] .title > .detail_button{
  width: 110px;
  text-align: center;
  padding: 7px 0;
  line-height: 1;
  color: #151513;
  background: #ffca4b;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid #ffbc1a;
  border-bottom: 3px solid #ffad08;
  transition: 0.1s;
  display: flex;
  justify-content: center;
  align-items: center;
}




#recommend_posts_ad li[data-type="normal"]{
  display: flex;
  align-items: stretch;
}
#recommend_posts_ad li[data-type="normal"] .image{
  width: 42%;
  padding: 6px 10px 8px 5px;
  position: relative;
}
#recommend_posts_ad li[data-type="normal"] .image > .type{
  position: absolute;
  left: 12px;
  top: 9px;
  border-radius: 5px;
  background: #012466cc;
  color: #ffffff;
  padding: 3px 0;
  width: 50px;
  text-align: center;
  line-height: 1;
  font-size: 12px;
  font-weight: bold;
}
#recommend_posts_ad li[data-type="normal"] .information{
  width: 60%;
  padding: 5px 5px 35px 0;
  position: relative;
}
#recommend_posts_ad li[data-type="normal"] .information > .dl_container{
  position: absolute;
  right: 5px;
  bottom: 7px;
  display: none;;
}
#recommend_posts_ad li[data-type="normal"] .information > .dl_container > a{
  display: block;
  width: 100px;
  height: 30px;
}
#recommend_posts_ad li[data-type="normal"] .information > .dl_container[data-device="ios"] > a > svg:last-child,
#recommend_posts_ad li[data-type="normal"] .information > .dl_container[data-device="android"] > a > svg:first-child{
  display: none;
}
#recommend_posts_ad li[data-type="normal"] .information > .dl_container > a > svg{
  width: 100%;
  height: 100%;
}
#recommend_posts_ad li[data-type="normal"] .image .new_top_news_img{
  object-fit: cover;
  border-radius: 10px;
}
#recommend_posts_ad li[data-type="normal"] .title{
  display: -webkit-box;
  overflow: hidden;
  word-break: break-all;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  font-size: 12px;
  font-weight: bold;
  position: relative;
}
#recommend_posts_ad li[data-type="normal"] .tag{
  background: #e60012;
  color: #ffffff;
  display: inline-flex;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: absolute;
}
#recommend_posts_ad li[data-type="normal"] .title > .text{
  text-indent: 65px;
}

#recommend_posts_ad li span.tag[data-tag="人気"]{
  background-color: rgb(11 180 216);
}
#recommend_posts_ad li span.tag[data-tag="コラボ"]{
  background-color: orange;
}
#recommend_posts_ad li span.tag[data-tag="周年"]{
  background-color: green;
}
#recommend_posts_ad li span.tag[data-tag="事前登録"] {
  background-color: #ec1bc8;
}
#recommend_posts_ad li span.tag[data-tag="イベント"] {
  background-color: #b81ae4;
}
