.p-blog {
  background-image: url(../img/photogallery/photogallery_03_pc.png),
                    url(../img/photogallery/photogallery_04_pc.png),
                    url(../img/photogallery/photogallery_05_pc.png),
                    url(../img/photogallery/photogallery_06_pc.png);

  background-position: top 0% right 0, top 30% left 0, top 50% right 0, top 70% left 0;
  background-repeat: no-repeat;
  background-size: 8rem;
  animation: fadeIn 1s;
  padding-bottom: 4rem;
}
.p-blog.--bg-none {
  background-image: none;
}
.p-blog-content {
  max-width: 1260px;
  margin: auto;
}
.p-blog-content__header {
  text-align: center;
  font-weight: bold;
}
.p-blog-main-images {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: auto;
}

.p-blog-main-image--1 {
  height: 160px;
  width: auto;
}
.p-blog-main-image--2 {
  height: 120px;
  width: auto;
}

.p-blog-main {
  /* background-color: #EAEAEA; */
  border-radius: 20px;
  padding: 0 4% 4%;
  display: flex;
  justify-content: space-between;
}

.p-blog-main-wrapper {
  width: 100%;
  max-width: 860px;
  margin: auto;
}
.p-blog-article-list {
  display: flex;
  flex-direction: column;
}

.p-blog-article {
  display: flex;
  align-items: stretch;
  margin: 0 1rem 1rem;
  border: solid 1px #DBDCDC;
  background-color: #FFF;
}

.p-blog-article__body {
  width: 100%;
  background-color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}
.p-blog-article__header {
  position: relative;
}
.p-blog-article-label__new {
  position: absolute;
  top: 0;
  left: 10px;
  width: 70px;
  text-align: center;
  padding: 1em;
  background-color: #F4CE1F;
  color: #FFF;
  font-weight: bold;
}
.p-blog-article__header img {
  width: 340px;
  height: 245px;
  object-fit: cover;
}

.p-blog-article-meta {
  display: flex;
  align-items: center;
}
.p-blog-article-date {
  color: #717071;
}
.p-blog-article-category {
  margin-left: 2rem;
  color: #5CB984;
}

.p-blog-article-title {
  font-size: 1.4rem;
}

.p-blog-side {
  min-width: 276px;
}
.p-blog-side-item__header {
  text-align: center;
  border-bottom: 1px solid #595757;
  padding-bottom: .4rem;
}
.p-blog-side-item__body {
  margin-top: 1rem;
}
.p-blog-side-select {
  width: 100%;
  background-color: #EAEAEA;
  padding: .4rem;
}

.p-blog-pager {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-blog-pager__item {
  padding: 4px 10px;
  margin: 2px;
  border: solid 1px #DBDCDC;
  background-color: #FFF;
}
.p-blog-pager__item.current {
  background-color: #DBDCDC;
}

.link_before {
  margin-right: 10px;
}

.link_next {
  margin-left: 10px;
}

/* tb */
@media screen and (max-width: 1012px) {
  .p-hero-content__footer {
    margin-bottom: 2rem;
  }
  .p-blog {
    background: none;
  }
  .p-blog-main {
    flex-direction: column;
    padding: 0 0 1rem;
    width: 90%;
    margin: auto;

  }
  .p-blog-side {
    margin: 3rem auto 0;
    width: 90%;
  }
  .p-blog-article__header img {
    width: 150px;
    height: 150px;
  }
  .p-blog-article-label__new {
    padding: 10px;
    width: 40px;
    font-size: .6em;
  }
  .p-blog-main-images {
    width: 100%;
    flex-direction: column-reverse;
    align-items: end;
  }
  .p-blog-main-image--1 {
    width: 90%;
    height: auto;
    margin: auto;
    padding-right: 1.2rem;
  }
  .p-blog-main-image--2 {
    width: 200px;
    height: auto;
  }
  .p-blog-main-wrapper {
    width: 100%;
  }
  .p-blog-article__body {
    flex: 1;
    padding: 1rem;
    justify-content: center
  }

  .p-blog-article-meta {
    font-size: .6rem;
  }
  .p-blog-article-title {
    font-size: 1rem;
  }
}

/* blog entry */
.p-blog-entry {
  padding: 1rem;
  background-color: #FFF;
  border: solid 1px #DBDCDC;
}

.p-blog-entry-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-blog-entry-category {
  color: #5CB984;
}

.p-blog-entry-date {
  color: #717071;
}

.p-blog-entry-header__title {
  font-weight: bold;
  font-size: 189%;
  border-bottom: 5px solid #eeeeee;
  padding: 15px 0;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.p-blog-entry-body {
  line-height: 1.4;
  margin-top: 25px;
}

.p-blog-entry-body img {
  max-width: 100%;
  height: auto;
  padding-bottom: 1em;
}

.p-blog-entry-body h2 {
  width: 100%;
  font-size: 120%;
  border-top: 2px #333333 solid;
  border-bottom: 2px #333333 solid;
  padding: 20px 10px;
  margin-bottom: 30px;
  font-weight: bold;
  word-wrap: break-word;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.2;
}

.p-blog-entry-body h3 {
  width: 100%;
  padding: 10px 20px;
  margin-bottom: 30px;
  font-size: 100%;
  font-weight: bold;
  background: #efefef;
  word-wrap: break-word;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.2;
}

.p-blog-entry-body h4 {
  width: 100%;
  padding: 10px;
  margin-bottom: 30px;
  word-wrap: break-word;
  font-size: 100%;
  font-weight: bold;
  border-left: 3px #333333 solid;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.2;
}

.p-blog-entry-body p {
  padding-bottom: 2em;
}

.p-blog-entry-body a {
  color: #8ab973;
  word-wrap: break-word;
}

.p-blog-entry-body a:hover {
  text-decoration: underline;
}

.p-blog-pager.--entry {
  justify-content: space-between;
  margin: 1rem;
}
