@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
.catName {
  display: none;
}
.news .maintitle {
  line-height: 1.1;
  margin-top: 0;
}
@media (max-width: 1000px) {
  .news .maintitle br {
    display: none;
  }
  .news .maintitle {
    margin-bottom: 40px !important;
  }
}
.newsWrap {
  position: relative;
}
.newsWrap ul.newsList {
  display: flex;
  flex-wrap: wrap;
}
.newsWrap ul.newsList li {
  display: block;
  width: 30.7%;
  margin: 0 1.3% 0;
}
.newsWrap ul.newsList a {
  color: #333;
}
/*サムネイル*/
.thumbNailWrap {
  height: 240px;
  width: 100%;
  overflow: hidden;
  display: block;
}
.thumbNailWrap span {
  width: 100%;
  height: 100%;
  display: block;
  background: url(../img/thumbnail.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.thumbNailWrap img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: .6s all;
}
.thumbNailWrap span {
  transition: .6s all;
}
.newsList li a:hover .thumbNailWrap span {
  transform: scale(1.07);
}
.newsList li a:hover .thumbNailWrap img {
  transform: scale(1.07);
}
@media (max-width: 1879px) {
  .thumbNailWrap {
    height: 12vw;
  }
}
@media (max-width: 1280px) {
  .thumbNailWrap {
    height: 16vw;
  }
}
@media (max-width: 1000px) {
  .thumbNailWrap {
    height: 19vw;
  }
}
@media (max-width: 750px) {
  .thumbNailWrap {
    height: 60vw;
  }
}
.newsWrap ul.newsList li .textarea {
  padding-top: 10px;
  line-height: 1.5;
}
.newsWrap ul.newsList li .up_ymd {
  display: block;
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.newsWrap ul.newsList li .title {
  display: block;
  margin-bottom: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
@media (max-width: 750px) {
  .newsWrap ul.newsList li {
    width: 100%;
    margin: 0 auto 0 !important;
  }
}
/* SP slider */
/*arrow*/
@media (max-width: 750px) {
  .newsList {
    padding-bottom: 65px;
  }
  .newsList .slide_left, .newsList .slide_right {
    width: 45px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 3%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
    transition: .4s;
    border: 1px solid #333;
    background: #333;
  }
  .newsList .slide_left {
    transform: translate(-130%, 0);
  }
  .newsList .slide_left span, .newsList .slide_right span {
    color: #eedbbc;
    display: block;
    font-size: 12px;
    line-height: 1;
    transition: .4s;
    font-weight: bold;
  }
  .newsList .slide_left:hover, .newsList .slide_right:hover {
    background: #eedbbc;
  }
  .newsList .slide_left:hover span, .newsList .slide_right:hover span {
    color: #333;
  }
}
/*===news-detail.php用==============================*/
#news-detail #up_ymd {
  text-align: right;
  font-size: 14px;
  margin: 5px 10px 0;
}
#news-detail #up_ymd::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: bold;
  padding-right: 0.2em;
}
#news-detail #detail {
  padding: 20px 0;
  font-size: 16px !important;
}
@media (max-width: 450px) {
  #news-detail #detail {
    padding: 20px 10px;
    font-size: .8rem;
  }
}
#news-detail .detailUpfile {
  margin: 5px 0 35px;
  text-align: center;
}
#news-detail .detailUpfile img {
  max-width: 100%;
  height: auto;
  margin-top: 40px;
}
#news-detail .backORcloseBtn a {
  margin-top: 40px;
}
@media (max-width: 450px) {
  #news-detail .backORcloseBtn a {
    margin-top: 10px;
  }
}