@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
.news .inner {
  width: 97%;
}
ul.newsList {
  display: flex;
  flex-wrap: wrap;
}
ul.newsList li {
  width: 22.3%;
  margin: 0 1.3% 28px;
  border: none;
  display: flex;
  padding: 0;
  overflow: hidden;
}
ul.newsList li a {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #333;
}
ul.newsList li a .up_ymd {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: 0.4s;
  margin-right: 7px;
}
ul.newsList li a .up_ymd::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: 900;
  padding-right: 0.2em;
  margin-right: 3px;
  font-size: 90%;
}
ul.newsList li a .newMark {
  margin-left: 8px;
}
ul.newsList li a .title {
  display: block;
  transition: 0.4s;
  font-size: 0.95rem;
  margin-bottom: 3px;
}
ul.newsList li a .textarea {
  padding: 5px;
  line-height: 1.85;
  width: 100%;
  position: relative;
  z-index: 20;
  margin-top: 0;
  margin-bottom: auto;
}
.blog-txt {
  font-size: 12px;
  opacity: 0.7;
}
/*thumbNail*/
.thumbNailWrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 5px;
}
.thumbNailWrap::before {
  content: '';
  display: block;
  padding-top: 70%;
}
.thumbNailWrap img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}
ul.newsList li a:hover {
  opacity: 0.6;
}
/**/
.cat_name {
  display: inline-block;
  color: #fff;
  padding: 0 8px;
  font-size: 0.9rem;
  border-radius: 5px;
}
@media (max-width: 1080px) {
  .news .inner {
    width: 88%;
  }
  ul.newsList li {
    width: 46.5%;
  }
  ul.newsList li {
    margin: 0 1.75% 25px;
  }
}
@media (max-width: 750px) {
  ul.newsList {
    display: block;
  }
  ul.newsList li {
    width: 100%;
    margin: 0 0 27px;
  }
  ul.newsList li:last-of-type {
    margin-bottom: 0 !important;
  }
}
/* 色 ============================================*/
/*ピンク==========*/
.newsList li:nth-child(5n+1) .up_ymd::before {
  color: #ff9999;
}
.newsList li:nth-child(5n+1) .cat_name {
  background: #ff9999;
}
/*オレンジ=========*/
.newsList li:nth-child(5n+2) .up_ymd::before {
  color: #fcad62;
}
.newsList li:nth-child(5n+2) .cat_name {
  background: #fcad62;
}
/*緑==============*/
.newsList li:nth-child(5n+3) .up_ymd::before {
  color: #53d493;
}
.newsList li:nth-child(5n+3) .cat_name {
  background: #53d493;
}
/*青==============*/
.newsList li:nth-child(5n+4) .up_ymd::before {
  color: #82c1ff;
}
.newsList li:nth-child(5n+4) .cat_name {
  background: #82c1ff;
}
/*紫==============*/
.newsList li:nth-child(5n) .up_ymd::before {
  color: #ce9eff;
}
.newsList li:nth-child(5n) .cat_name {
  background: #ce9eff;
}
/*===news-detail.php用==============================*/
.news-detail img {
  max-width: 100%;
  height: auto;
}
.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: 0.98rem;
  letter-spacing: 0.05em;
  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: #ff9999;
}
.news-detail .pages {
  display: flex;
  justify-content: space-around;
  margin-top: 55px;
}
.news-detail .pages > div {
  width: 45%;
}
.news-detail .pages a {
  display: block;
  width: 100%;
  border: 2px solid #e8e8e8;
  font-size: clamp(0.93rem, 0.918rem + 0.0427vw, 0.95rem);
  letter-spacing: 0.05em;
  padding: 15px;
  transition: 0.4s;
  color: #333;
}
@media (max-width: 305px) {
  .news-detail .pages a {
    font-size: 0.8rem;
  }
}
.news-detail .pages .page_prev a {
  text-align: right;
}
.news-detail .pages a:hover {
  background-color: #f7f7f7;
}
/*side*/
.news-detail .flex #side h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.news-detail .flex #side h3::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0ca';
  font-weight: 900;
  padding-right: 0.5em;
  color: #fcad62;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
  display: block;
  width: 100%;
  border: 2px solid #e8e8e8;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: #333;
  padding: 15px;
  transition: 0.4s;
  margin-bottom: 7px;
}
.news-detail .flex #side ul li a::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: 900;
  padding-right: 0.5em;
  color: #333;
}
.news-detail .flex #side ul li a:hover {
  background-color: #f7f7f7;
}
@media (max-width: 960px) {
  .news-detail .pages {
    display: block;
    margin-top: 45px;
  }
  .news-detail .pages > div {
    width: 100% !important;
  }
  .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%;
  }
}
/*=== 一覧 ==============================*/
.bdetail ul.newsList {
  display: flex;
  flex-wrap: wrap;
}
.bdetail ul.newsList li {
  width: 30.7%;
  margin: 0 1.3% 28px;
  border: none;
  display: flex;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
.bdetail ul.newsList li a {
  padding: 0;
}
.bdetail ul.newsList li a {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #333;
}
.bdetail ul.newsList li a .up_ymd {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: 0.4s;
}
.bdetail ul.newsList li a .up_ymd::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: 900;
  padding-right: 0.5em;
}
.bdetail ul.newsList li a .newMark {
  margin-left: 8px;
}
.bdetail ul.newsList li a .title {
  display: block;
  transition: 0.4s;
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.bdetail ul.newsList li a .textarea {
  line-height: 1.85;
  width: 100%;
  position: relative;
  z-index: 20;
  margin-top: 0;
  margin-bottom: auto;
}
.bdetail .blog-txt {
  font-size: 12px;
  opacity: 0.7;
}
.bdetail .thumbNailWrap {
  position: relative;
  margin-bottom: 5px;
}
.bdetail .thumbNailWrap::before {
  content: '';
  display: block;
  padding-top: 70%;
}
.bdetail .thumbNailWrap img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.bdetail li a:hover {
  opacity: 0.6;
}
@media (max-width: 1085px) {
  .bdetail ul.newsList li {
    width: 46.5%;
  }
  .bdetail ul.newsList li {
    margin: 0 1.75% 25px;
  }
}
@media (max-width: 750px) {
  .bdetail ul.newsList {
    display: block;
  }
  .bdetail ul.newsList li {
    width: 100%;
    margin: 0 0 25px;
  }
  .bdetail ul.newsList li a .title {
    font-size: 0.85rem;
  }
  .bdetail ul.newsList li a .up_ymd {
    font-size: 12px;
  }
}
/**/
.cat_name {
  display: none;
}