@charset "utf-8";

.pagination {
	max-width: 320px;
	margin: -40px auto 80px;
}
.pagination ul {
	display: flex;
	justify-content: center;
}
.pagination ul li {
	width: 48%;
	text-align: center;
	margin: 0 10px;
	line-height: 1;
	font-size: 14px;
}
.pagination ul li a {
	display: block;
	color: #fff;
	padding: 10px;
	background: rgba(71, 129, 14, 1);
	border-radius: 40px;
}
.pagination ul li a:hover {
	background: rgba(71, 129, 14, 0.8);
	text-decoration: none;
}
.pagination ul li.prev a,
.pagination ul li.back a {
	background-image: url(../../img/arrow-left2.svg);
	background-repeat: no-repeat;
	background-size: 7px auto;
	background-position: 10px center;
}
.pagination ul li.next a {
	background-image: url(../../img/arrow-right2.svg);
	background-repeat: no-repeat;
	background-size: 7px auto;
	background-position: right 10px center;
}
@media only screen and (max-width: 768px) {
	.pagination {margin: 0 auto 40px;}
}

/* ---------------------------------------------
    newsList
--------------------------------------------- */
.newsList {
    max-width: 1120px;
    margin: 0 auto 80px;
}
.newsList ul {
    margin-bottom: 30px;
    border-top: 1px dotted #ccc;
}
.newsList ul li a {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0;
    line-height: 1.5;
    align-items: center;
    font-size: 15px;
    color: #333;
    border-bottom: 1px dotted #ccc;
}
.newsList dl {
    width: 9em;
    margin-right: 1.5em;
}
.newsList dt {
    position: relative;
    font-size: 13px;
    line-height: 1;
}
.newsList dd {
    background: #eeeeee;
    display: inline-block;
    padding: 3px 0;
    text-align: center;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
}
.newsList p {flex: 1;}
.newsList ul li a:hover {text-decoration: none;}
.newsList ul li a:hover p {text-decoration: underline;}
.newsList .new dt::before {
  content: "NEW";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  font-weight: bold;
  font-size: 10px;
  color: #fff;
  background: #f68686;
  padding: 2px 8px;
  line-height: 1;
}
@media only screen and (max-width: 768px) {
    .newsList {margin: 40px auto;}
    .newsList ul li a {position: relative;}
    .newsList dl {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
    }
    .newsList dl dt {width: 5.5em; margin-right: 0.5em;}
    .newsList dd {
        width: 8em;
        padding: 2px;
        margin-top: 0;
    }
    .newsList ul li a:hover p {text-decoration: none;}
    .newsList .new dt {width: calc(5.5em + 3em);}
}
@media only screen and (max-width: 640px) {
    .newsList ul li a {font-size: 14px;}
}

/* ---------------------------------------------
    article
--------------------------------------------- */
.article {
    max-width: 1120px;
    margin: 0 auto 80px;
}
.article .headline1 {
    font-size: 20px;
    letter-spacing: 0;
}
.article .date {
	font-size: 14px;
	margin-bottom: 15px;
}
.article .articleTxt p {
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 20px;
}
.article .articleTxt ul {
	list-style: disc;
	margin: 0 0 20px 1.5em;
}
.article .articleTxt ol {
	list-style: decimal;
	margin: 0 0 20px 1.5em;
}
.article .articleTxt ul li,
.article .articleTxt ol li {
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 10px;
}
.article .articleTxt img {
  width: initial;
  height: auto;
}
.article .files {
	background: #f6f6f6;
	margin-top: 40px;
	padding: 20px;
}
.article .files h2 {
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 15px;
}
.article .files ul li {
	background-image: url(../../img/icon-files.svg);
	background-repeat: no-repeat;
	background-size: auto 1em;
	background-position: 0 center;
	margin-bottom: 5px;
	font-size: 15px;
}
.article .files ul li a {padding-left: 20px;}
.article .images {margin-top: 40px;}
.article .images ul {
	display: flex;
	flex-wrap: wrap;
}
.article .images ul li {
	width: 23.875%;
	margin-right: 1.5%;
	background: url(../../img/bg-images.png);
}
.article .images ul li:nth-child(4n),
.article .images ul li:last-child {margin-right: 0;}
.article .images ul li .thumbnail {
	position: relative;
	text-align: center;
	width: 100%;
	overflow: hidden;
	padding-top: 75%;
}
.article .images ul li .thumbnail img {
	position: absolute;
	top: 50%;
	left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
@media only screen and (max-width: 768px) {
	.article {margin: 0 auto 40px;}
	.article .date {
		font-size: 13px;
		margin-bottom: 10px;
	}
	.article .headline1 {font-size: 18px;}
}
@media only screen and (max-width: 640px) {
	.article .images ul li {
		width: 48.5%;
		margin-right: 3%;
		margin-bottom: 20px;
	}
	.article .images ul li:nth-child(2n),
	.article .images ul li:last-child {margin-right: 0;}
  .article .articleTxt img {
    width: 100%;
    height: auto;
  }
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.alignright {
  float: right;
  margin-bottom: 20px;
  margin-left: 20px;
}
.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
.wp-caption,
[class*='wp-image'] {
  display: block;
  max-width: 100% !important;
  margin-top: 1.5em;
  text-align: center;
}
.wp-caption-text {
  margin-top: 0;
}