@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
.news .inner {
  width: 97%;
  max-width: 1405px;
}
.news .tbtn {
  margin-top: 5px;
}
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;
  margin-right: 7px;
  color: #2b2b2b;
}
ul.newsList li a .newMark {
  margin-left: 8px;
}
ul.newsList li a .title {
  display: block;
  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;
  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: 1s;
}
ul.newsList li a:hover img {
  transform: scale(1.08);
}
@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;
  }
  .news .tbtn {
    margin-top: 23px;
  }
}
/*=======================================================================*/
.stitle .cat_name {
  font-size: 72%;
  margin-right: 10px;
  padding: 7px 20px 9px !important;
  margin-bottom: 0 !important;
}
/*blog-detail(詳細ページ)用*/
#blog-detail .flex {
  display: flex;
  justify-content: space-between;
}
#blog-detail .flex #main {
  width: calc(100% - 300px);
}
#blog-detail .flex #side {
  width: 270px;
  padding: 0;
}
.news-detail .flex #main .up_ymd {
  display: block;
  letter-spacing: 0.05em;
  color: #333;
  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;
}
/*main*/
.cat_name {
  background-color: #2b2b2b;
  color: #fff;
}
.blog-detail .flex #main .new_mark {
  display: inline-block;
  text-transform: capitalize;
  font-weight: 700;
  color: #f05742;
  font-size: 0.9rem;
  margin-left: 8px;
}
.blog-detail .flex #main .up_ymd {
  display: block;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 20px;
}
.blog-detail .flex #main .up_ymd::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: 900;
  padding-right: 0.5em;
}
#blog-detail .pages {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}
#blog-detail .pages > div {
  width: 45%;
}
#blog-detail .pages .page_next {}
#blog-detail .pages .page_prev {}
#blog-detail .pages a {
  display: block;
  width: 100%;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  padding: 15px;
  transition: 0.4s;
  color: #333;
}
#blog-detail .pages .page_prev a {
  text-align: right;
}
#blog-detail .pages a:hover {
  opacity: 0.5;
}
/*side*/
#blog-detail .flex #side .wrap {
  margin-bottom: 30px;
}
#blog-detail .flex #side .wrap:last-child {
  margin-bottom: 0 !important;
}
#blog-detail .flex #side .wrap h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
#blog-detail .flex #side .wrap h3::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0ca';
  font-weight: 900;
  padding-right: 0.5em;
  color: #2b2b2b;
}
#blog-detail .flex #side .wrap ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
}
#blog-detail .flex #side .wrap ul li {
  width: 49%;
  margin-bottom: 7px;
}
#blog-detail .flex #side .wrap ul li a {
  display: block;
  text-align: center;
  width: 100%;
  border: 1px solid #ddd;
  padding: 8px 3px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: 0.4s;
  color: #333;
}
#blog-detail .flex #side .wrap ul li a:hover {
  opacity: 0.5;
}
@media (max-width: 960px) {
  #blog-detail .flex {
    display: block;
  }
  #blog-detail .flex #main {
    width: 100%;
    /*margin-bottom: 40px;*/
  }
  #blog-detail .flex #side {
    width: 100%;
  }
  #blog-detail .pages {
    display: block;
    margin-top: 40px;
  }
  #blog-detail .pages > div {
    width: 100%;
  }
  #blog-detail .pages .page_next {
    margin-bottom: 7px;
  }
}
/*一覧ページ*/
ul.blog_list_css {}
ul.blog_list_css li {
  margin-bottom: 10px;
}
ul.blog_list_css li:last-child {
  margin-bottom: 0 !important;
}
ul.blog_list_css li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f7f7f7;
  padding: 10px;
  color: #333;
}
ul.blog_list_css li a .thumbNailWrap {
  display: block;
  position: relative;
  overflow: hidden;
  width: 200px;
  aspect-ratio: 3 / 2;
  margin-bottom: 0;
}
ul.blog_list_css li a .thumbNailWrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: 1s;
}
ul.blog_list_css li a .data_txt_wrap {
  width: calc(100% - 220px);
  transition: 0.4s;
}
ul.blog_list_css li a .data_txt_wrap .up_ymd {
  font-size: 93%;
  display: inline-block !important;
}
ul.blog_list_css li a .data_txt_wrap .cat_name {
  display: inline-block;
  padding: 0.1em 15px 0.2em;
  margin-left: 10px;
  font-size: clamp(0.8rem, 0.758rem + 0.1493vw, 0.87rem);
}
.data_txt_wrap .up_ymd, .flex #main .data_txt_wrap .cat_name {
  margin-bottom: 0 !important;
}
ul.blog_list_css li a .data_txt_wrap .title {
  display: block;
  margin-top: 8px;
}
ul.blog_list_css li a .data_txt_wrap .comment {
  display: block;
  color: #888;
  font-size: 0.85rem;
  margin-top: 5px;
}
ul.blog_list_css li a .data_txt_wrap .new_mark {
  display: inline-block;
  text-transform: capitalize;
  font-weight: 700;
  color: #f05742;
  font-size: 0.9rem;
  margin-left: 5px;
}
ul.blog_list_css li a:hover .thumbNailWrap img {
  transform: scale(1.08);
}
ul.blog_list_css li a:hover .data_txt_wrap {
  opacity: 0.5;
}
@media (max-width: 750px) {
  ul.blog_list_css li a {
    display: block;
  }
  ul.blog_list_css li a .thumbNailWrap {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  ul.blog_list_css li a .data_txt_wrap {
    width: 100%;
  }
}
/*ページャー*/
.blog-detail-list .pager {
  text-align: right;
  margin: 10px 0;
}
.blog-detail-list .pager a {
  border: 1px solid #999;
  border-radius: 5px 5px 5px 5px;
  color: #333;
  font-size: 12px;
  padding: 3px 7px 2px;
  text-decoration: none;
  margin: 0 1px;
}
.blog-detail-list .pager a.current {
  background-color: #999;
  color: #fff;
}
.blog-detail-list .pager a:hover {
  background: #444;
  color: #fff;
}