@charset "UTF-8";

.p-post {
  padding: 45px 0 40px;
}

.p-calendar {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 2px);
  border-top: solid 1px #666666;
}

.p-calendar li {
  display: table;
  position: relative;
  width: calc(100% / 7);
  height: 100px;
}

.p-calendar li:nth-of-type(7n+1) {
  width: calc(100% / 7);
}

.p-calendar li:before {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  background: #666666;
  left: 0;
}

.p-calendar li:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background: #666666;
  left: 0;
  bottom: 0;
}

.p-calendar li:nth-child(7n) {
  border-right: solid 1px #666666;
}
.p-calendar li:nth-child(even) {
  background-color: #f8f6e7;
}

.p-calendar li:last-child {
  border-right: solid 1px #666666;
  box-sizing: content-box;
}

.p-calendar li a {
  display: table-cell;
  font-size: 15px;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  color: #666666;
  width: 100%;
  vertical-align: middle;
}

.p-calendar li span {
  position: absolute;
  left: 10px;
  top: 1px;
  font-size: 18px;
  font-size: 1.8rem;
  font-family: "秀英丸ゴシック B","游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

.p-calendar li a:hover {
  color: #e41400;
}

.p-block {
  padding: 90px 0 10px;
}

.p-pager {
  margin: 0 auto 100px;
  text-align: center;
  font-size: 0;
}

.p-pager li {
  display: inline-block;
  margin: 0 45px;
  font-size: 20px;
  font-size: 2rem;
  letter-spacing: 0.3em;
}

.p-pager li a {
  padding: 0 25px;
  color: #666666;
  text-decoration: none;
  background: url(../../../images/post/diary/ico_arrow_left.png) no-repeat;
  background-position: left center;
}

.p-pager li:last-child a {
  background: url(../../../images/post/diary/ico_arrow_right.png) no-repeat;
  background-position: right center;
}

.c-archive {
  padding-bottom: 100px;
}
.diary_cont {
  display: block;
  padding-top: 70px;
  margin-top: -70px;
}

@media screen and (max-width: 767px){
  .p-calendar {
    width: auto;
  }
  
  .p-calendar li {
    width: 25%;
    height: 80px;
  }
  
  .p-calendar li:nth-of-type(7n+1) {
    width: 25%;
  }

  .p-calendar li:nth-child(4n) {
    border-right: solid 1px #666665!important;
  }

  .p-calendar li:nth-child(7n) {
    border: none;
  }
  .p-calendar li a {
    font-size: 1.2rem;
  }

  .p-calendar li span {
    left: 4px;
    font-size: 1.2rem;
  }

  .p-block {
    padding: 40px 0 30px;
  }

  .p-pager li {
    width: 50%;
    margin: 0;
    letter-spacing: 0;
    text-align: left;
  }

  .c-archive {
    padding-bottom: 50px;
  }

  .p-pager li a {
    padding: 0 0 0 20px;
  }

  .p-pager li:last-child a {
    padding: 0 20px 0 0;
    text-align: right;
  }

  .p-pager li:last-child {
    text-align: right;
  }

  .p-pager {
    margin: 0 auto 50px;
    width: 90%;
  }


}
