@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
.news {
  padding-top: 85px;
}
.news .maintitle {
  margin-bottom: 22px;
}
#newsWrap {
  padding: 0 5px;
}
#newsWrap ul#newsList {
  width: 100%;
  margin: 0 0 0 auto;
  overflow-y: scroll;
  max-height: 205px;
  padding: 0 20px;
}
#newsWrap ul#newsList li {
  list-style-type: none;
  padding: 10px 0;
  line-height: 2;
  border-bottom: 1px dotted #7d7774;
}
#newsWrap ul#newsList li .up_ymd {
  display: inline-block;
  margin-right: 20px;
  letter-spacing: 0.1em;
  font-size: 90%;
}
#newsWrap ul#newsList li .title a {
  display: inline-block;
  text-decoration: none;
  color: #7d7774;
}
#newsWrap ul#newsList li .title a:hover {
  opacity: .7;
}
#newsWrap ul#newsList li:first-of-type {
  padding-top: 0 !important;
}
@media (max-width: 750px) {
  #newsWrap ul#newsList {
    max-height: 172px;
    width: 100%;
    margin: auto;
    padding: 0 10px;
  }
  #newsWrap ul#newsList li {
    padding: 7px 0 10px;
  }
  #newsWrap ul#newsList li .up_ymd {
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 80%;
  }
  #newsWrap ul#newsList li .title {
    display: block;
  }
}
@media (max-width: 550px) {
  .news {
    padding: 50px 0;
  }
}
/* scrollbar */
#newsWrap ul#newsList::-webkit-scrollbar {
  width: 5px;
}
#newsWrap ul#newsList::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .5);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3);
}
/*===news-detail.php用==============================*/
.news-detail .inner {
  max-width: 1200px;
}
/*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: "・";
}
/**/
.detail_lists li {
  border-bottom: none !important;
  padding: 0 !important;
}
.detail_lists li:first-child {
  border-top: none !important;
}
.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: 90%;
  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;
}
.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 #dbdbdb;
  font-size: 0.95rem;
  padding: 15px;
  transition: 0.4s;
  color: #7d7774;
}
.news-detail .pages .page_prev a {
  text-align: right;
}
.news-detail .pages a:hover {
  background: #f7f7f7;
}
/*side*/
.news-detail .flex #side h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.news-detail .flex #side h3::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0ca';
  font-weight: 900;
  padding-right: 0.5em;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
  display: block;
  width: 100%;
  border: 1px solid #dbdbdb;
  font-size: 87%;
  color: #7d7774;
  padding: 15px;
  margin-bottom: 7px;
  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;
}
.news-detail .flex #side ul li a:hover {
  background: #f7f7f7;
}
@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 li {
  border-bottom: 1px dotted #7d7774;
  list-style-type: none;
  padding: 8px 0;
}
.news-detail .flex #main li:first-child {
  border-top: 1px dotted #7d7774;
}
.news-detail .flex #main li span {}
.news-detail .flex #main li .up_ymd {
  font-size: 90%;
  letter-spacing: 0.1em;
  margin-right: 15px;
}
.news-detail .flex #main li .up_ymd::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: 900;
  padding-right: 0.5em;
}
.news-detail .flex #main li .title a {
  color: #7d7774;
  display: block;
}
.news-detail .flex #main li .title a:hover {
  opacity: 0.7;
}
/*アーカイブのスクロール指定*/
.news-detail #side ul {
  overflow-y: scroll;
  max-height: 300px;
  padding-right: 10px;
}
/*スクロールバー*/
.news-detail #side ul::-webkit-scrollbar {
  width: 5px;
}
.news-detail #side ul::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
.news-detail #side ul::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .5);
  border-radius: 10px;
}