/*
記事に付くメタ情報のラベル・タグ類をまとめたコンポーネント
*/

.c_metaSingle_dateTag {
  font-size: 12px;
}

.c_metaSingle_sponsored {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid  #adadad;
  border-radius: 5px;
	font-size: 12px;
	color: #666666;
	line-height: 1.5;
}

.c_metaSingle_tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 14px;
  border: 1px solid #b4d8f3;
	border-radius: 20px;
	font-size: 12px;
  font-weight: bold;
	color: #003399;
	line-height: 1.5;
	text-decoration: none;
}

.c_metaSingle_tag::before {
  content: "\f02b";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  color: #b4d8f3;
  transform: translateY(10%) rotate(80deg);
}

/* 記事メタ情報ブロックのレイアウト（single.php で使用） */
.c_metaSingle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.c_metaSingle_categoryTag {
  grid-area: 1 / 1 / 2 / 3;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
  margin-bottom: 10px;
}

.c_metaSingle_category {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid #d8ebf8;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  color: #003399;
  line-height: 1.5;
  text-decoration: none;
  background: #d8ebf8;
}

.c_metaSingle_supervisor {
  grid-area: 2 / 1 / 3 / 3;
}

.c_metaSingle_supervisorLink {
  color: #003399;
  font-size: 12px;
  font-weight: bold;
}

.c_metaSingle_supervisorLink:hover {
  text-decoration: underline;
}

/* 公開日とSNSアイコンを1行にまとめるラッパー。
   中央揃えはこの内側で完結するため、外側に余白ユーティリティ（u_mb 等）を
   付けても縦位置がずれない */
.c_metaSingle_dateSns {
  grid-area: 3 / 1 / 4 / 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 行ボックスの余白を除いて文字の実体をアイコンと同じ高さに揃える */
.c_metaSingle_date {
  display: flex;
  align-items: center;
  line-height: 1;
}

.c_metaSingle_entrepreneurDate {
  font-size: 12px;
}

/* PCではグリッドの配置を組み替える */
@media (min-width: 768px) {
  .c_metaSingle_dateSns {
    grid-area: 2 / 1 / 3 / 3;
  }

  .c_metaSingle_supervisor {
    grid-area: 3 / 1 / 4 / 2;
  }
}

.c_metaNews_tag {
  display: inline-block;
  max-height: 35px;
  min-width: 140px;
  text-align: center;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  background-color: #e0e0e0;
}

.c_metaNews_tag.is-company {
  background-color: #cfefe1;
}

.c_metaNews_tag.is-subsidy {
  background-color: #d8f5bc;
}

.c_metaNews_tag.is-event {
  background-color: #fcd9b2;
}

.c_metaNews_tag.is-tips {
  background-color: #bbe5f8;
}

.c_metaNews_tag.is-tool {
  background-color: #fdeba0;
}

.c_metaNews_tag.is-change {
  background-color: #b8d2f4;
}

.c_metaNews_tag.is-new {
  background-color: #89c6ff;
}

.c_metaNews_tag.is-etc {
  background-color: #b2b2b2;
}

.c_metaNews_tagLink {
  display: block;
  padding: 3px 10px;
  margin: -3px -10px;
}

.c_metaNews_tagAnchorIcon {
  margin-left: 0.25em;
  font-size: 0.7em;
}

.c_metaNews_sponsored {
	display: inline-block;
	padding: 4px 12px;
	color: #666666;
	border: 1px solid  #adadad;
  border-radius: 5px;
	font-size: 9px;
	line-height: 1.5;
}

.c_metaNews_focus {
  display: inline-block;
	padding: 4px 12px;
  color: #003399;
  border: 1px solid #003399;
  border-radius: 5px;
	font-size: 9px;
  line-height: 1.5;
}

.c_metaNews_focus.is-link:hover {
	background-color: #edf5f7;
	filter: none;
}

@media (min-width: 768px) {
  .c_metaNews_sponsored {
    font-size: 12px;
  }

  .c_metaNews_focus {
    font-size: 12px;
  }
}