@charset "UTF-8";
.page-template-page-newsindex-php {
  /*キービジュアル テキスト部分*/
}
.page-template-page-newsindex-php .keyvisual-title-text {
  width: 25.1rem;
  margin: 1.5rem auto 0 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .keyvisual-title-text {
    width: 53.3rem;
    margin: 4.4rem auto 0 0;
  }
}
.page-template-page-newsindex-php .contents {
  padding: 2rem 0 12rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .contents {
    padding: 3rem 0 20rem;
  }
}
.page-template-page-newsindex-php .pagelink {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 60.8rem;
  margin: 0 auto;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .pagelink {
    width: 95.5rem;
  }
}
.page-template-page-newsindex-php .pagelink li {
  margin-bottom: 2.8rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .pagelink li {
    margin-bottom: 3rem;
    margin-right: 4rem;
  }
}
.page-template-page-newsindex-php .pagelink li:nth-child(odd) {
  margin-right: 2.5rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .pagelink li:nth-child(odd) {
    margin-right: 4rem;
  }
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .pagelink li:nth-child(3n) {
    margin-right: 0;
  }
}
.page-template-page-newsindex-php .subtitle {
  width: 39.1rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .subtitle {
    width: 42.4rem;
    margin: 4rem auto 0;
  }
}
.page-template-page-newsindex-php .subtitle.media {
  width: 22.5rem;
  margin: 8rem auto 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .subtitle.media {
    width: 22.2rem;
  }
}
.page-template-page-newsindex-php .subtitle.visit {
  width: 43rem;
  margin: 9rem auto 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .subtitle.visit {
    width: 45.4rem;
    margin: 11rem auto 0;
  }
}
.page-template-page-newsindex-php .newslist,
.page-template-page-newsindex-php .medialist {
  width: 100vw;
  margin: 5rem auto 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .newslist,
  .page-template-page-newsindex-php .medialist {
    width: 109.5rem;
    margin: 5.3rem auto 0;
  }
}
.page-template-page-newsindex-php .newslist li,
.page-template-page-newsindex-php .medialist li {
  width: 49rem;
  margin: 0 2rem 1rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 0.5rem 0 #a8a8a8;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .newslist li,
  .page-template-page-newsindex-php .medialist li {
    width: 34rem;
    margin: 0 1.2rem 1rem;
  }
}
.page-template-page-newsindex-php .newslist li a,
.page-template-page-newsindex-php .medialist li a {
  color: #4d4d4d;
  text-decoration: none;
}
.page-template-page-newsindex-php .newslist li .photo,
.page-template-page-newsindex-php .medialist li .photo {
  width: 100%;
  aspect-ratio: 64/42;
  overflow: hidden;
  background-color: #fff;
}
.page-template-page-newsindex-php .newslist li .photo img,
.page-template-page-newsindex-php .medialist li .photo img {
  width: 100%;
  height: auto;
}
.page-template-page-newsindex-php .newslist li .summary,
.page-template-page-newsindex-php .medialist li .summary {
  min-height: 20rem;
  padding: 1.5rem 2.7rem;
  background-color: #fff;
  font-size: 2.2rem;
  line-height: 1.7;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .newslist li .summary,
  .page-template-page-newsindex-php .medialist li .summary {
    min-height: 17rem;
    padding: 2.5rem 2.7rem;
    font-size: 1.5rem;
    line-height: 1.7;
  }
}
.page-template-page-newsindex-php .newslist li .summary .date,
.page-template-page-newsindex-php .medialist li .summary .date {
  display: flex;
  align-content: center;
  font-weight: 600;
  margin-bottom: 2rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .newslist li .summary .date,
  .page-template-page-newsindex-php .medialist li .summary .date {
    margin-bottom: 1rem;
  }
}
.page-template-page-newsindex-php .newslist li .summary .icn-news:after,
.page-template-page-newsindex-php .medialist li .summary .icn-news:after {
  display: inline-block;
  content: url("/kyoeicms/wp-content/themes/kyoei_news/assets/img/news_icon_news.svg");
  width: 11rem;
  padding: 0.25rem 0 0 1rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .newslist li .summary .icn-news:after,
  .page-template-page-newsindex-php .medialist li .summary .icn-news:after {
    width: 7.6rem;
    padding: 0.25rem 0 0 1.7rem;
  }
}
.page-template-page-newsindex-php .newslist li .summary .icn-media:after,
.page-template-page-newsindex-php .medialist li .summary .icn-media:after {
  display: inline-block;
  content: url("/kyoeicms/wp-content/themes/kyoei_news/assets/img/news_icon_media.svg");
  width: 11rem;
  padding: 0.25rem 0 0 1rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .newslist li .summary .icn-media:after,
  .page-template-page-newsindex-php .medialist li .summary .icn-media:after {
    width: 7.6rem;
    padding: 0.25rem 0 0 1.7rem;
  }
}
.page-template-page-newsindex-php .newslist li .summary .text,
.page-template-page-newsindex-php .medialist li .summary .text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 制限したい行数が3の場合 */
  overflow: hidden;
}
.page-template-page-newsindex-php .newslist-btn,
.page-template-page-newsindex-php .medialist-btn {
  width: 40rem;
  margin: 6rem auto 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .newslist-btn,
  .page-template-page-newsindex-php .medialist-btn {
    width: 37rem;
    margin: 7rem auto 0;
  }
}
.page-template-page-newsindex-php .contact-btn {
  width: 40rem;
  margin: 9rem auto 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .contact-btn {
    width: 38rem;
    margin: 8rem auto 0;
  }
}
.page-template-page-newsindex-php .mediacontact-btn {
  width: 69rem;
  margin: 5rem auto 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .mediacontact-btn {
    margin: 7rem auto 0;
  }
}
.page-template-page-newsindex-php .visit-lead {
  width: 69rem;
  margin: 6rem auto 0;
  font-size: 2.4rem;
  line-height: 2;
  text-align: justify;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .visit-lead {
    width: 108rem;
    margin: 5rem auto 0;
    font-size: 1.9rem;
  }
}
.page-template-page-newsindex-php .mintitle {
  font-size: 4.2rem;
  font-weight: 600;
  text-align: center;
  color: #4f87bf;
  margin: 7.5rem auto 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .mintitle {
    width: 108rem;
    font-size: 4.3rem;
    text-align: left;
    margin: 8rem auto 0;
  }
}
.page-template-page-newsindex-php .factory-list {
  width: 51.6rem;
  margin: 5.6rem auto 10rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .factory-list {
    display: flex;
    width: 108rem;
    margin: 4rem auto 8.5rem;
  }
}
.page-template-page-newsindex-php .factory-list li {
  margin-bottom: 6rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .factory-list li {
    margin: 0 6rem 5rem 0;
  }
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .factory-list li:nth-child(3n) {
    margin: 0 0 5rem 0;
  }
}
.page-template-page-newsindex-php .factory-list .photo {
  width: 51.6rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .factory-list .photo {
    width: 31.4rem;
  }
}
.page-template-page-newsindex-php .factory-list .name {
  font-size: 3.2rem;
  text-align: center;
  margin-top: 3rem;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .factory-list .name {
    font-size: 2.8rem;
    text-align: left;
    margin-top: 2.6rem;
  }
}
.page-template-page-newsindex-php .factory-list .address {
  font-size: 2.2rem;
  text-align: center;
  margin-top: 2rem;
  line-height: 1.4;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .factory-list .address {
    font-size: 2rem;
    margin-top: 2rem;
    text-align: left;
  }
}
.page-template-page-newsindex-php .visit-flow {
  width: 52.5rem;
  margin: 6rem auto 0;
}
@media only screen and (min-width: 751px) {
  .page-template-page-newsindex-php .visit-flow {
    width: 106.8rem;
    margin: 5.5rem auto 0;
  }
}