@charset "UTF-8";

/* =====================================
   お知らせ一覧共通
===================================== */

.l-scope.l-page .notice-info-ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 1rem;
}

.notice-entry {
  border-bottom: solid 1px var(--color-border);
}

.notice-entry .entry-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem 1rem;
  margin-bottom: 0;
}


/* 日付 */
.l-scope.l-page .notice-entry .entry-meta {
  order: 1;
  margin: 0;
}

/* カテゴリ・ターム */
.l-scope.l-page .notice-entry .entry-taxonomies {
  order: 2;
  margin: 0;
}

/* タイトル */
.l-scope.l-page .notice-entry .entry-title {
  order: 3;
  width: 100%;
  margin: 0;
}

@media screen and (min-width: 768px) {

  .notice-entry .entry-title {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
}

.notice-entry .entry-title a {
  flex: 1 1 auto;
  min-width: 0;
  pointer-events: none;
  cursor: default;
}

.notice-entry .entry-title a:hover {
  color: inherit;
  text-decoration: none;
}


/* 本文 */
.notice-entry .entry-summary {
  margin: 1rem 0;
  font-size: 1rem;
}

@media screen and (min-width: 768px) {

  .notice-entry .entry-summary {
    font-size: 1.1rem;
  }
}


/* =====================================
   カテゴリ・ターム共通
   形・フォント・余白のみ
===================================== */

.notice-entry .entry-taxonomies .term-links a {
  padding: 0.19rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.25rem;
  line-height: 1.4;
  text-decoration: none;
}

.notice-entry .entry-taxonomies .term-links a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.notice-entry .entry-header .entry-taxonomies,
.notice-entry .entry-taxonomies .category-style-pill a {
  margin-bottom: 0;
}


/* =====================================
   投稿・カテゴリーアーカイブ
===================================== */

.notice-entry.post .entry-header {
  flex-direction: column;
  gap: 0.3rem;
}

/*
 * 日付 → カテゴリ → タイトル
 * 共通指定と同じ順番に統一
 */
.notice-entry.post .entry-meta {
  order: 1;
}

.notice-entry.post .entry-taxonomies {
  order: 2;
  margin-bottom: 0;
}

.notice-entry.post .entry-title {
  order: 3;
  width: 100%;
}

@media screen and (min-width: 768px) {

  .notice-entry.post .entry-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
  }
}


/* 通常投稿：お知らせカテゴリ */
.post.notice-entry
.entry-taxonomies
.term-links
a.category-link-news {
  color: var(--color-notice);
  background-color: var(--color-notice-bk);
  border-color: var(--color-notice);
}


/* =====================================
   講習・試験・資格 お知らせ
   PC：日付とタームを横並び
===================================== */

@media screen and (min-width: 768px) {

  .notice-entry.seminar_info .entry-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
  }

  .notice-entry.seminar_info .entry-meta {
    order: 1;
    width: auto;
  }

  .notice-entry.seminar_info .entry-taxonomies {
    order: 2;
    width: auto;
    margin: 0;
  }

  .notice-entry.seminar_info .entry-title {
    order: 3;
    width: 100%;
  }
}


/* =====================================
   講習・試験・資格：タームカラー
===================================== */

/* 講習会 */
.notice-entry.seminar_info_category-seminar
.entry-taxonomies a,
.notice-entry.seminar_info_category-seminar
.entry-taxonomies a:hover {
  color: #205f3b;
  background-color: #eaf6ef;
  border-color: #8ab8a0;
}

/* 受験対策 */
.notice-entry.seminar_info_category-exam
.entry-taxonomies a,
.notice-entry.seminar_info_category-exam
.entry-taxonomies a:hover {
  color: #1c5688;
  background-color: #eaf3fb;
  border-color: #80afd6;
}

/* 地理空間情報専門技術認定 */
.notice-entry.seminar_info_category-geospatial-specialist
.entry-taxonomies a,
.notice-entry.seminar_info_category-geospatial-specialist
.entry-taxonomies a:hover {
  color: #58458f;
  background-color: #f1eef9;
  border-color: #a99bd2;
}

/* 空間情報総括監理技術者の認定 */
.notice-entry.seminar_info_category-spatial-information-manager
.entry-taxonomies a,
.notice-entry.seminar_info_category-spatial-information-manager
.entry-taxonomies a:hover {
  color: #8a4a16;
  background-color: #fbf0e7;
  border-color: #d7a071;
}