@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
.newsWrap {
  position: relative;
}
.newsWrap .newsList {
  display: flex;
  flex-wrap: wrap;
}
.newsWrap .newsList a {
  display: block;
  color: #4E4B48;
}
.newsWrap .newsList li {
  width: 100%;
}
/*サムネイル*/
.thumbNailWrap {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 0%;
  border-radius: 40px;
}
.thumbNailWrap::before {
  content: '';
  display: block;
  padding-top: 65%;
}
.thumbNailWrap img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.6s;
  transition-delay: 0.05s;
}
.newsWrap .newsList li .textarea {
  padding-top: 10px;
  line-height: 1.5;
}
.newsWrap .newsList li .up_ymd {
  display: block;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.newsWrap .newsList li .up_ymd::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: bold;
  padding-right: 0.5em;
  color: #76736F;
  font-size: 88%;
}
.newsWrap .newsList li .title {
  display: block;
  margin-bottom: 7px;
}
.newsWrap .newsList li .comment {
  font-size: 90%;
  opacity: 0.8;
  display: none;
}
.newsWrap .newsList a:hover .thumbNailWrap img {
  transform: scale(1.07);
}
@media (max-width: 550px) {
  .thumbNailWrap {
    border-radius: 25px;
  }
}
/*===news-detail.php用==============================*/
/*img*/
.news-detail img {
  max-width: 100%;
  height: auto;
}
/*リストの設定*/
.news-detail .flex #main .text li {
  border: none !important;
  padding: 0 !important;
}
/*ol*/
.news-detail .flex #main .text ol {
  counter-reset: number 0;
}
.news-detail .flex #main .text ol li::before {
  counter-increment: number 1;
  content: counter(number)".";
  margin-right: 4px;
}
/*ul*/
.news-detail .flex #main .text ul li::before {
  content: "・";
}
/**/
.news-detail .flex {
  display: flex;
  justify-content: space-between;
}
.news-detail .flex #main {
  width: calc(100% - 270px);
}
.news-detail .flex #side {
  width: 220px;
}
/*main*/
.news-detail .flex #main #up_ymd {
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.news-detail .flex #main #up_ymd::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: 900;
  padding-right: 0.5em;
  color: #76736F;
}
.news-detail .pages {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}
.news-detail .pages > div {
  width: 45%;
}
.news-detail .pages .page_next {}
.news-detail .pages .page_prev {}
.news-detail .pages a {
  display: block;
  width: 100%;
  border: 1px solid #d1d1d1;
  font-size: 0.95rem;
  padding: 15px;
  transition: 0.4s;
  color: #4E4B48;
  border-radius: 5px;
}
.news-detail .pages .page_prev a {
  text-align: right;
}
.news-detail .pages a:hover {
  background: #f5f5f5;
}
/*side*/
.news-detail .flex #side h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 400;
}
.news-detail .flex #side h3::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0ca';
  font-weight: 900;
  padding-right: 0.5em;
  color: #76736F;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
  display: block;
  width: 100%;
  border: 1px solid #d1d1d1;
  font-size: 87%;
  color: #4E4B48;
  padding: 15px;
  margin-bottom: 7px;
  border-radius: 5px;
  transition: 0.4s;
}
.news-detail .flex #side ul li a::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: 900;
  padding-right: 0.5em;
  color: #76736F;
}
.news-detail .flex #side ul li a:hover {
  background: #f5f5f5;
}
@media (max-width: 1080px) {
  .news-detail .pages {
    display: block;
    margin-top: 30px;
  }
  .news-detail .pages > div {
    width: 100%;
  }
  .news-detail .pages .page_next {
    margin-bottom: 7px;
  }
}
@media (max-width: 750px) {
  .news-detail .flex {
    display: block;
  }
  .news-detail .flex #main {
    width: 100%;
    margin-bottom: 40px;
  }
  .news-detail .flex #side {
    width: 100%;
  }
}
/* 一覧ページ */
.news-detail .flex #main ul.newsList .thumbNailWrap {
  border-radius: 25px;
}
.news-detail .flex #main ul.newsList .thumbNailWrap::before {
  padding-top: 75%;
}
.news-detail .flex #main ul.newsList {
  display: flex;
  flex-wrap: wrap;
}
.news-detail .flex #main ul.newsList li {
  width: 30%;
  margin: 0 1.66% 25px;
}
@media (max-width: 1100px) {
  .news-detail .flex #main ul.newsList li {
    width: 46%;
    margin: 0 2% 15px;
  }
}
@media (max-width: 750px) {
  .news-detail .flex #main ul.newsList li {
    width: 100%;
    margin: 0 0 23px;
  }
}