/* infoTop
------------------------------------ */
.categoryList {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.categoryList li a {
  line-height: 1.2;
  background: #CFEDF2;
  display: block;
  padding: 1rem 2rem;
  border-radius: 8px;
  transition: 0.3s;
}
.categoryList li a.current, .categoryList li a:hover {
  opacity: 1;
  background: #1D88B9;
  color: #FFF;
}

.infoList {
  max-width: 800px;
  margin: 5rem auto;
  display: grid;
  grid-template-columns: min-content max-content 1fr;
  gap: 0 2rem;
  border-top: 1px dotted #D4D4D4;
  padding-top: 1rem;
}
.infoList > li {
  border-bottom: 1px dotted #D4D4D4;
  padding: 1.5rem 1rem;
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 3;
}
.infoList > li:nth-child(even) {
  background: #F9FBFB;
}
.infoList > li p {
  margin-bottom: 0 !important;
}
.infoList > li .cate li:not(:last-child) {
  margin-bottom: 0.5rem;
}
.infoList > li .cate li a {
  font-size: 1.4rem;
  border: 1px solid #1D88B9;
  color: #1D88B9;
  border-radius: 50vh;
  display: block;
  padding: 0.5rem 2rem;
  background: #FFF;
  text-align: center;
  line-height: 1;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.pager li a, .pager li span {
  display: block;
  border-radius: 5px;
  background: #E2F0F3;
  padding: 0.75rem 1.5rem;
}
.pager li a.current, .pager li span.current {
  color: #FFF;
  background: #1D88B9;
}

@media screen and (max-width: 768px) {
  .infoList {
    width: 100%;
    grid-template-columns: min-content 1fr;
    gap: 0 2rem;
  }
  .infoList > li {
    border-bottom: 1px dotted #D4D4D4;
    padding: 1.5rem 1rem;
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 2;
    gap: 1rem;
  }
  .infoList > li .date {
    order: 1;
  }
  .infoList > li .cate {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 0.5rem 0.5rem;
  }
  .infoList > li .cate li:not(:last-child) {
    margin-bottom: 0;
  }
  .infoList > li .cate li a {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }
  .infoList > li .title {
    grid-column: 1/3;
    order: 3;
  }
}
/* infoarticle
------------------------------------ */
#infoarticle article {
  max-width: 800px;
  margin: 0 auto 5rem;
}
#infoarticle article h2 {
  font-size: 2rem;
  color: #1D88B9;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #DEDEDE;
}
#infoarticle article .articledata {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}
#infoarticle article .articledata .date {
  font-size: 1.6rem;
}
#infoarticle article .articledata .cate {
  display: flex;
  justify-content: end;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
}
#infoarticle article .articledata .cate li:not(:last-child) {
  margin-bottom: 0.5rem;
}
#infoarticle article .articledata .cate li a {
  font-size: 1.4rem;
  border: 1px solid #1D88B9;
  color: #1D88B9;
  border-radius: 50vh;
  display: block;
  padding: 0.5rem 2rem;
  background: #FFF;
  text-align: center;
  line-height: 1;
}
#infoarticle article .body a {
  text-decoration: underline;
}
#infoarticle .backpage a {
  display: block;
  border-radius: 5px;
  background: #1D88B9;
  color: #FFF;
  text-align: center;
  padding: 0.5rem 4rem;
  margin: 0 auto;
  width: fit-content;
}