/*
Theme Name: DROP Child
Template: drop_tcd087
*/

/* お役立ち情報　デザイン */

.single .post_content h2 {
  background: #ce2b31;
  padding: 1rem;
  color: #ffffff;
}

.single .post_content h3 {
  padding-left: 1.5rem;
  position: relative;
}

.single .post_content h3::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  background: #ce2b31;
  position: absolute;
  left: 0;
  top: 20%;
}

.single .post_content h4 {
  color: #ce2b31;
}

@media screen and (max-width: 767px) {
  .single .post_content h2 {
    padding: 0.5rem 1rem;
  }

  .single .post_content h3::before {
    width: 12px;
    height: 12px;
    top: 10%;
  }
}


/*  お役立ち情報　カテゴリ・タグ */

.p-news-meta {
  padding-top: 2rem;
  border-top: 1px dotted #cccccc;
}

.p-news-meta div:first-child {
  margin-bottom: 1rem;
}

.p-news-meta div:first-child span:first-child {
  margin-right: 1rem;
}

.p-news-meta__row--cats .p-news-meta__cats {
  padding-left: 1.1rem;
  position: relative;
}

.p-news-meta__row--cats .p-news-meta__cats::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: url(/wp-content/uploads/2025/11/icn_category.png) no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 15%;
}

.post_content .p-news-meta__row--cats .p-news-meta__cats a {
  color: #000000;
}

.post_content .p-news-meta__row--tags .p-news-meta__tags {
  line-height: 2;
}

.post_content .p-news-meta__row--tags .p-news-meta__tags a {
  margin-right: 1rem;
  background: #cccccc;
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  color: #414141;
  font-size: 14px;
  white-space: pre;
}