/** NEWS index**************************************************/
/************************************************************************/

.news_index_wrp {
  max-width: 800px;
  margin: auto;
  padding: 0 40px;
}

.news_index_inner a {
  display: block;
  padding: 16px 8px;
  border-bottom: 1px #AAAAAA solid;
}

.news_index_inner {
  border-top: 1px #AAAAAA solid;
}

.news_index_date {
  color: #777;
}

.news_index_inner a:hover {
  background: #F5F5F5;
}

.news_index_wrp .view_link_wrp {
  margin-top: 40px;
  text-align: right;
}

.text_wrp h2 {
  margin: 36px 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  border-left: 4px #333 solid;
  padding-left: 6px;
  line-height: 1.4;
}

/****** SP / 767 or less *****/
@media screen and (max-width: 767px) {
  .news_index_wrp {
    padding: 0 16px;
  }

  .news_index_inner dt {
    width: 100%;
    margin-bottom: 8px;
  }

  .news_index_wrp .view_link_wrp {
    text-align: center;
  }
}


/** NEWS DETAIL ***************************/
.detail_wrp {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 16px 16px 16px;
}

.detail_header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 0 12px 0;
}

.ttl {
  font-size: 22px;
  font-weight: 600;
}

.date {
  font-size: 12px;
  color: #666;
}

.detail_contents {
  display: flex;
  justify-content: space-between;
  padding: 32px 0;
  border-top: 1px #999999 solid;
  border-bottom: 1px #999999 solid;
  line-height: 2;
}

.detail_contents a {
  position: relative;
  display: inline-block;
  padding-right: 18px;
  color: #4679BD;
  border-bottom: 1px #4679BD solid;
}

.detail_contents a::before {
  content: '';
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: -2px;
  margin-top: -8px;
  border: 1px #4679BD solid;
}

.detail_contents a::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 1px #4679BD;
  border-right: solid 1px #4679BD;
  position: absolute;
  top: 50%;
  right: 4px;
  margin-top: -3px;
  transform: rotate(45deg);
}

.detail_contents a:hover {
  opacity: 0.6;
}


.text_wrp {
  width: 100%;
  padding-right: 32px;
}

.image_wrp {
  max-width: 45%;
}

/****** SP / 767 or less *****/
@media screen and (max-width: 767px) {

  .detail_header,
  .detail_contents {
    flex-direction: column;
  }

  .date {
    order: 1;
  }

  .ttl {
    font-size: 16px;
    order: 2;
  }

  .detail_contents {
    padding: 0 0 24px 0;
  }

  .text_wrp {
    width: 100%;
    order: 2;
    margin-top: 24px;
    padding-right: 0;
  }

  .image_wrp {
    max-width: 100%;
    width: 100%;
    order: 1;
  }

}


/****/
.pagination-container {
  margin-top: 64px;
  text-align: center;
}

.pagination li {
  display: inline-block;
  margin: 0 4px;
}



.pagination .page a {
  display: block;
  padding: 4px 8px;
  border: 1px #ccc solid;
  border-radius: 4px;
}

.page.active {
  background: #efefef;
}

.first,
.last {
  display: none !important;
}

.next,
.prev {
  margin: 0 6px;
  font-size: 20px;
  color: #999;
}
