:root{
  --line-color:  #666666;
  --news-line: 3px solid var(--line-color);
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

main.container {
  position: relative;
  min-height: calc(100vh - 70px);
  animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

@keyframes slideIn {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
  }
  40%,100% {
    opacity: 1;
  }
}

.top-banner{
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100vh;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.top-banner img{
  width: 100%;
  min-height: 100vh;
  height: 100%;
  object-fit: cover;
}

nav{
  height: 70px;
  justify-content: center;
  background-color: #3f3f3fef;
  box-shadow: 0 0 6px #999999;
}

nav a {
  color: #fefefe;
  font-weight: 700;
}

nav img{
  width: auto;
  height: 40px;
}

.nav-under{
  border-radius: 0;
  border-bottom: 5px solid var(--primary);
}

.recent-post{
  border-top: var(--news-line);
}

.recent-post-item{
  border-bottom: var(--news-line);
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  vertical-align: middle;
  opacity: 0;
}

.slideInClass{
  animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

.post-item{
  width: calc(100% - 2rem);
  margin-left: 2rem;
}

p.tag {
  width: 7rem;
  padding: 0.2rem;
  color: #ffffffee;
  background-color: var(--primary);
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
}

a.post-title {
  font-size: 1rem;
  color: hsl(205, 30%, 15%);
  font-weight: 600;
}

.post-date{
  font-size: 0.8rem;
  text-align: right;
}

footer{
  width: 100%;
  border-top: var(--news-line);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-content{
  margin-left: 1rem;
}

#paginator{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

a.extend{
  position: relative;
  padding:  0 0.3rem;
  padding-bottom: 5px;
  border-bottom: solid 2px var(--primary);
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

a.extend:hover{
  text-decoration: none;
  color: #fefefe;
  background-color: var(--primary);
  border-radius: 5px;
}

a.extend.next{
  left: 1rem;
}

a.extend.prev{
  right: 1rem;
}

.page-number{
  padding: 0 0.5rem;
  margin: 0 0.1rem;
  border-radius: 5px;
}

.page-number.current{
  color: #fefefe;
  background-color: var(--primary);
}

hr{
  border-top: 4px solid var(--muted-border-color);
}


h1.centering{
  margin-top: 300px;
}

article{
  box-shadow: none;
  margin: 0;
}

@media screen and (max-width: 576px) {
  .mobile-hide{
    display: none;
  }
  
  nav img{
    width: auto;
    height: 48px;
  }
  p.tag{
    width: 6.5rem;
    font-size: 0.6rem;
    padding: 0.2rem;
  }
  .post-item{
    margin-left: 0.5rem;
  }
  a.post-title{
    font-size: 0.82rem;
  }
  a.post-date{
    font-size: 0.5rem;
  }
}

.centering{
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  vertical-align: middle;
}

.pagenator .grid .pagenator-block:first-child{
  border-right:3px solid  var(--muted-border-color);
}
.pagenator .grid{
  grid-column-gap:0
}

.prev-page{
  text-align: left;
}

.pagenator-block{
  margin: 1em;
}

.pagenator-block a time{
  color: var(--h4-color);
}

.next-page {
  text-align: right;
}

.next-page h4::after{
  content: "　＞";
}

.prev-page h4::before{
  content: "＜　";
}

.page-title h1 {
  margin-bottom: 0.2rem;
}

.page-title {
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px dashed var(--muted-border-color);
}