@charset "UTF-8";

/*-- archive & backnumber--*/
 .archive-contents {
  border: 1px solid #f0f0f0;
  border-radius: 9px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
  padding: 1.2rem;

  h2 {
      position: relative;
      font-size: 1.4rem;
      padding-left: 2.3rem;
      &:before {
        position: absolute;
        font-family: "Font Awesome 5 Free";
        content: "\f0eb";
        background: #ffca2c;
        color: white;
        font-weight: 900;
        font-size: 15px;
        border-radius: 50%;
        left: 0;
        width: 25px;
        height: 25px;
        line-height: 1.6rem;
        text-align: center;
        top: 20%;
        transform: translateY(-20%);
      }
      &:after {
      /*吹き出しのちょこんと出た部分*/
        content: '';
        display: block;
        position: absolute;
        left: 20px;
        height: 0;
        width: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid #ffca2c;
        top: 30%;
        transform: translateY(-30%);
      }
    }  
}

.archive-content{
  display: flex;
  padding-top: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed #666;


}
.archive-content-image {

}
.archive-content-excerpt {
  margin-left: 1.2rem;
  h3 {
    font-size: 1.1rem;
  }
  p {
    padding: 6px 0;
    font-size: 0.9rem;
  }
}

.archive-navi {
  margin: 3rem auto;
  font-size: .9rem;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
}
 
.nav-links{
   display:flex;
}

.page-numbers{
  display:inline-block;
  margin-right: 0.4rem;
  padding: 0.2rem 0.6rem;
  color: #666666;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #999;
}
.page-numbers.current{
   padding: 0.2rem 0.6rem;
   background: #999;
   color: #ffffff;
}
.page-numbers.prev,
.page-numbers.next{
  background: transparent;
  box-shadow: none;
  border: 1px solid #999;
  color: #666666; 
}
.page-numbers.dots{
  background: transparent;
  box-shadow: none;
  border: none;
  color: #666666; 
}
/*-- post contents --*/
.post-section {
  position: relative;
  max-width: 1280px;
  margin: 11.0rem auto 12.0rem auto;
  width: 96%;
  p {
    padding: .5rem 0;
  }
  
  .post-contents {
    border: 1px solid #f0f0f0;
    border-radius: 9px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
    padding: 1.2rem;
  
    h3 {
      position: relative;
      font-size: 1.4rem;
      padding-left: 2.3rem;
  
      &:before {
        position: absolute;
        font-family: "Font Awesome 5 Free";
        content: "\f0eb";
        background: #ffca2c;
        color: white;
        font-weight: 900;
        font-size: 15px;
        border-radius: 50%;
        left: 0;
        width: 25px;
        height: 25px;
        line-height: 1.6rem;
        text-align: center;
        top: 20%;
        transform: translateY(-20%);
      }
      &:after {
      /*吹き出しのちょこんと出た部分*/
        content: '';
        display: block;
        position: absolute;
        left: 20px;
        height: 0;
        width: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid #ffca2c;
        top: 30%;
        transform: translateY(-30%);
      }
    }

    figure {
      margin-bottom: 1.2rem;
    }
  }

  .post-contents-date {
    text-align: right;
  }
  .post-contents-categories {
    margin-top: .3rem;
    margin-left: 1.5rem;
    margin-bottom: .2rem;
    font-size: .8rem;
  }
  
  .post-contents-tags {
    margin-top: 18px;
    padding: 6px;
    border: 1px dashed #666666;
    border-radius: 6px;    
  }
}

/*-- single --*/
.post-navi {
  text-align: center;
  margin: 3rem auto;
  font-size: .9rem;

  .prev,
  .next {
    border: 1px solid #999;
    border-radius: 6px;
    padding: 0.6rem 0.6rem;
  }
  .prev {
    margin-right: 1rem;
  }
  .next {
    margin-left: 1rem;
  }
}
