@import url("../base/base.css");
@import url("../common/layout.css");
@import url("../common/nav.css");
@import url("../common/animation.css");


html {
  max-width: 1800px;
}

/* news page */
/* news page */
/* news page */

h3,
time {
  font-family: var(--fontfam-ja);
}

time {
  margin-left: .5em;
}

.news-sec {
  margin: 0 auto;
  max-width: fit-content;
}

ul.news-ul {
  list-style: none;
}

li.news-li {
  padding: 1em 0;
  border-bottom: 1px solid var(--col-link-hover);
}

.news-category {
  color: var(--col-p);
    padding: .5em .1em .1em .1em;
  border-radius: 5rem;
  border: 1px solid var(--col-p);
  font-size: small;
  width: 27%;
  text-align: center;
  opacity: .5;
}

h3.h6fs {
  margin-top: .5em;
  font-size: var(--fontsiz-h6);
}


/* category-tag-theme */
.news-category.frontend {
  background: #e49ed0;
}

.news-category.backend {
  background: #9edbe4;
}

.news-category.event {
  background: #e4de9e;
}


@media screen and (max-width: 757px) {
  html {
    max-width: 400px;
    margin: 0 auto;
  }

  .news-category {
    padding: .5em .1em .1em .1em;
    width: 33%;
    font-size: .8em;
  }

  time {
    margin-left: .4em;
  }

  span.genre-block {
    display: block;
    margin-top: .4em;
    margin-left: .4em;
  }
}
