@charset "UTF-8";
:root {
  --text-color-main: #333;
  --color-white: #fff;
  --color-white-rgb: 255, 255, 255;
  --color-black-01: #222;
  --color-black-01-rgb: 34, 34, 34;
  --color-black-02: #000;
  --color-black-03: #525252;
  --color-gray-01: #f0f0f0;
  --color-gray-02: #cecece;
  --color-gray-03: #ddd;
}

/*===================================
 投稿系ページ共通
===================================*/
/* ------ カテゴリ ------ */
.c-category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-02);
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  padding: 3px 15px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 40px;
}

/* ------ カテゴリ一覧 ------ */
.c-category-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 5px 1fr;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(40px, 1fr);
  gap: 5px;
  margin-bottom: 40px;
}
@media screen and (min-width: 600px) {
  .c-category-list {
    -ms-grid-columns: (1fr)[4];
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 80px;
  }
}
@media screen and (min-width: 1025px) {
  .c-category-list {
    -ms-grid-columns: (1fr)[6];
    grid-template-columns: repeat(6, 1fr);
  }
}
.c-category-list .c-category {
  font-size: 1.4rem;
  width: 100%;
  height: 100%;
  padding: 5px;
  white-space: nowrap;
}
@media screen and (min-width: 600px) {
  .c-category-list .c-category {
    padding: 10px;
  }
}

/* ------ WordPress標準ページネーション ------ */
.navigation.pagination {
  margin-top: 40px;
}
.navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.navigation.pagination .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 4px;
}
.navigation.pagination .page-numbers {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
}
.navigation.pagination .page-numbers:hover {
  opacity: 1;
  background-color: var(--text-color-main);
  color: var(--color-white);
}
.navigation.pagination .page-numbers.current {
  background-color: var(--text-color-main);
  color: var(--color-white);
}

/*===================================
 記事内ボタン - 全ページ共通
===================================*/
.c-post-navigation {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 1fr 10px 1fr;
  grid-template-columns: repeat(3, 1fr);
  -ms-grid-rows: auto;
  grid-template-rows: auto;
  gap: 0 10px;
  width: 100%;
  margin: 40px auto 0;
}
.c-post-navigation > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
.c-post-navigation > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
.c-post-navigation > *:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
}
@media screen and (min-width: 600px) {
  .c-post-navigation {
    width: 70%;
    margin: 60px auto 0;
  }
}

/*===================================
 TOPICS
===================================*/
/* ------ カテゴリ ------ */
.topics__category {
  display: inline-block;
  margin-left: 10px;
}

.topics__category-list .topics__category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}