@charset "UTF-8";
.btn_link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 260px;
  height: 50px;
  margin: 50px auto 0;
  padding: 10px 20px 8px;
  background-color: #ebd972;
  color: #666;
  text-align: center;
  font-size: 20px;
  text-decoration: none;
  line-height: 1.2;
  box-sizing: border-box;
}
.btn_link::before {
  content: "";
  position: absolute;
  display: block;
  top: 3px;
  bottom: 3px;
  left: 3px;
  right: 3px;
  border: 1px solid #fff;
  pointer-events: none;
}
.btn_link::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  right: 15px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: 1px solid #fff;
  border-width: 2px 2px 0 0;
  rotate: 45deg;
}
.btn_link:hover {
  text-decoration: none;
}
/* 一覧
---------------------------------------- */
.news_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}
@media only screen and (max-width: 980px) {
  .news_container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 767px) {
  .news_container {
    display: flex;
    flex-direction: column;
    max-width: 500px;
  }
}
.cat-title {
  display: table;
  padding-bottom: 2px;
  border-bottom: 2px solid #ebd972;
  line-height: 1.5;
}
@media only screen and (max-width: 767px) {
  .cat-title {
    font-size: 16px;
  }
}
.postbox {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  background-color: #fff;
  box-sizing: border-box;
  text-decoration: none;
}
@media only screen and (max-width: 980px) {
  .postbox {
    gap: 6px;
    padding: 0 0 10px;
  }
}
.postbox:hover,
.postbox:focus,
.postbox:active {
  text-decoration: none;
}
.postbox > * {
  margin: 0;
}
.postbox__image {
  position: relative;
  width: 100%;
  margin-bottom: 5px;
  padding-top: 55%;
  border: 1px solid #999;
  box-sizing: border-box;
  overflow: hidden;
}
.postbox__image figure {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.postbox__image figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}
.postbox__attr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 1em;
}
.postbox__cat {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
  white-space: nowrap;
}
.postbox__cat.event_news {
  color: #c34037;
}
.postbox__cat.event_news span {
  color: #ef857e;
}
.postbox__cat.new_news {
  color: #68812c;
}
.postbox__cat.new_news span {
  color: #aacf51;
}
.postbox__cat.machizemi_voice {
  color: #2d5567;
}
.postbox__cat.machizemi_voice span {
  color: #6c9cd3;
}
.postbox__cat.meyasu {
  color: #c34037;
}
.postbox__cat.meyasu span {
  color: #ef857e;
}
@media only screen and (max-width: 980px) {
  .postbox__cat {
    font-size: 12px;
  }
}
.postbox__date {
  margin: 0 0 0 auto;
  color: #999;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.postbox__title {
  font-size: 18px;
  line-height: 1.4;
}
@media only screen and (max-width: 980px) {
  .postbox__title {
    font-size: 16px;
  }
}
.postbox__excerpt {
  color: #777;
  line-height: 1.4;
}
@media only screen and (max-width: 980px) {
  .postbox__excerpt {
    display: none;
  }
}
.postbox__btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  max-width: 100%;
  height: 24px;
  padding: 2px 20px;
  margin: auto 0 0 auto;
  border-radius: 12px;
  background-color: #aaa;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  box-sizing: border-box;
}
.postbox__btn::after {
  content: "";
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  top: 50%;
  right: 12px;
  margin-top: -2px;
  border: 1px solid #fff;
  border-width: 1px 1px 0 0;
  rotate: 45deg;
}
@media only screen and (max-width: 980px) {
  .postbox__btn {
    margin: auto auto 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .postbox {
    transition: all 0.5s ease;
  }
  .postbox__image figure {
    transition: all 0.5s ease;
  }
  .postbox__btn {
    transition: background-color 0.4s ease;
  }
  .postbox:hover {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    text-decoration: none;
  }
  .postbox:hover .postbox__image figure {
    transform: scale(1.1);
  }
  .postbox:hover .postbox__btn {
    background-color: #ebd972;
  }
}
.no_item {
  text-align: center;
}
/* 詳細
---------------------------------------- */
.news_content {
  display: flex;
  gap: 0 30px;
  margin-top: 20px;
}
.news_content a {
  text-decoration: underline;
}
@media (hover: hover) and (pointer: fine) {
  .news_content a {
    transition: opacity 0.3s ease;
  }
  .news_content a:hover {
    text-decoration: none;
    opacity: 0.6;
  }
}
.news_content .sec_l {
  flex: 1;
  width: 100%;
  padding-top: 5px;
  overflow: hidden;
}
.news_content .sec_l .nav_page {
  background-color: #f8f7f5;
  clear: both;
  margin-top: 160px;
  overflow: hidden;
  padding-top: 5px;
  padding-bottom: 5px;
}
.news_content .sec_l .nav_page li {
  list-style-type: none;
  width: 50%;
  float: left;
  margin: 0px;
  padding: 0px;
  text-align: center;
}
.news_content .sec_r {
  width: 240px;
  padding: 5px;
  background-color: #f8f7f5;
}
.news_content .sub_sec {
  margin: 0 0 50px;
  /*
		dl {
			margin: 0 0 20px;
			padding: 0 0 15px;
			border-bottom: 1px solid #ddd292;
			&:last-child {
				margin: 0;
			}
			dt {
				margin: 0;
				padding: 0 0 0 20px;
				background: url(../images/news/bg_circle_01.png) no-repeat left 8px;
				list-style-type: none;
				font-weight: bold;
				font-size: 16px;
			}
			dd {
				margin: 0;
				padding: 0;
				a {
					text-decoration: underline;
				}
			}
		}
		*/
}
.news_content .sub_sec .inner {
  padding: 20px 20px 0 15px;
}
.news_content .sub_sec .ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 0;
  background: #a3958c;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}
.news_content .sub_sec .postbox {
  gap: 5px;
  padding: 0;
  background-color: transparent;
  text-decoration: none;
}
.news_content .sub_sec .postbox__date {
  margin: 0;
}
.news_content .sub_sec .postbox__title {
  font-size: 16px;
}
@media (hover: hover) and (pointer: fine) {
  .news_content .sub_sec .postbox p {
    transition: opacity 0.3s ease;
  }
  .news_content .sub_sec .postbox:hover {
    opacity: 1;
    box-shadow: none;
  }
  .news_content .sub_sec .postbox:hover p {
    opacity: 0.6;
  }
}
.news_content .sub_sec hr {
  margin: 20px 0;
}
.news_content .sub_sec hr:last-child {
  display: none;
}
.news_content .sub_sec .list {
  margin: 0;
}
.news_content .sub_sec .list li {
  position: relative;
  margin: 0;
  padding: 0 0 0 20px;
  list-style-type: none;
}
.news_content .sub_sec .list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #ebd972;
}
.news_content .sub_sec .list li a {
  text-decoration: underline;
}
@media only screen and (max-width: 980px) {
  .news_content .sec_l {
    float: none;
    width: auto;
  }
  .news_content .sec_r {
    display: none;
  }
}
.article__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px 20px;
  margin-bottom: 40px;
}
.article__head .ttl {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}
.article__head .attr {
  margin: 0 0 0 auto;
  font-size: 14px;
  white-space: nowrap;
}
.article__head a {
  display: inline;
}
.page_navi {
  position: relative;
  height: 35px;
  margin: 160px 0 0 0;
  background: #f8f7f5;
  list-style-type: none;
}
.page_navi .first,
.page_navi .before,
.page_navi .current,
.page_navi .after,
.page_navi .last {
  display: none;
}
.page_navi .previous,
.page_navi .next {
  margin: 0;
  padding: 0;
}
.page_navi .previous a,
.page_navi .next a {
  font-size: 0;
}
.page_navi .previous a:before,
.page_navi .next a:before {
  display: inline-block;
  position: absolute;
  z-index: 999;
  top: 6px;
  font-size: 14px;
}
.page_navi .next a:before {
  right: 127px;
  content: "次のページへ>";
}
.page_navi .previous a:before {
  left: 127px;
  content: "<前のページへ";
}
/* Pagination
---------------------------------------- */
.pagination {
  margin-top: 50px;
  padding-bottom: 10px;
}
.pagination ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}
@media only screen and (max-width: 767px) {
  .pagination ul {
    gap: 10px 6px;
  }
}
@media screen and (max-width: 360px) {
  .pagination ul {
    gap: 2vw;
  }
}
.pagination ul li {
  margin: 0;
  padding: 0;
}
.pagination ul a,
.pagination ul p {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding-top: 2px;
  border-radius: 50%;
  color: #fff;
  background-color: #aaa;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.pagination ul a .icon,
.pagination ul p .icon {
  position: relative;
}
@media only screen and (max-width: 767px) {
  .pagination ul a,
  .pagination ul p {
    width: 32px;
    height: 32px;
    font-size: clamp(10px, 4vw, 14px);
  }
}
@media screen and (max-width: 360px) {
  .pagination ul a,
  .pagination ul p {
    width: 8vw;
    height: 8vw;
  }
}
.pagination ul .arrow {
  margin: 0;
  background-color: transparent;
  color: #999;
}
.pagination ul .prev {
  margin: 0;
  background-color: transparent;
  color: #999;
  margin-left: 0;
}
.pagination ul .next {
  margin: 0;
  background-color: transparent;
  color: #999;
  margin-right: 0;
}
.pagination ul .current {
  color: #fff;
  background-color: #ebd972;
}
.pagination ul .ellipsis {
  background-color: transparent;
  color: #666;
}
@media only screen and (max-width: 767px) {
  .pagination ul .ellipsis {
    width: auto;
  }
}
.pagination ul .disabled {
  pointer-events: none;
  opacity: 0.4;
}
@media (hover: hover) and (pointer: fine) {
  .pagination ul a {
    transition-property: color, background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
  }
  .pagination ul a:hover {
    color: #fff;
    background-color: #ebd972;
  }
}
.single_pagination {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 35px;
  margin: 100px 0 0 0;
  padding: 5px 8em;
  background: #f8f7f5;
}
.single_pagination a {
  font-size: 14px;
  line-height: 1.2;
}
.single_pagination .prev,
.single_pagination .next {
  position: absolute;
  display: block;
  transform: translateY(-50%);
  top: 50%;
}
.single_pagination .prev {
  left: 20px;
}
.single_pagination .prev::before {
  content: "< ";
}
.single_pagination .next {
  right: 20px;
}
.single_pagination .next::after {
  content: " >";
}
.single_pagination .center {
  text-align: center;
}
@media only screen and (max-width: 980px) {
  .single_pagination {
    padding: 5px 30vw;
  }
  .single_pagination a {
    font-size: clamp(10px, 3.5vw, 14px);
  }
  .single_pagination .prev {
    left: 3vw;
  }
  .single_pagination .next {
    right: 3vw;
  }
  .single_pagination .prev,
  .single_pagination .next {
    max-width: 26vw;
  }
}
