@charset "UTF-8";
/*新着情報 ============*/
.news {
  overflow: hidden;
  position: absolute;
  bottom: -52.5px;
  right: 0;
  background: #fff;
  width: 90%;
  max-width: 685px;
  padding: 25px 25px 30px 30px;
  z-index: 5;
}
.newsflex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.newstitle {
  border-right: 1px solid #ddd;
  padding-right: 23px;
  margin-right: 13px;
  white-space: nowrap;
  font-size: 1.15rem;
  margin-bottom: 0;
  font-weight: 500;
  color: #333;
}
#newsWrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#newsWrap ul#newsList {
  width: 100% !important;
}
@media (max-width:750px) {
  .news {
    width: 100%;
    max-width: 100%;
    position: initial;
    padding: 25px 15px 40px;
  }
  .newsflex, #newsWrap {
    display: block;
  }
  #newsWrap ul#newsList {
    width: 100% !important;
  }
  .newstitle {
    position: relative;
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 7px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 7px;
    padding-left: 15px;
  }
}
@media (max-width: 550px) {
  .newstitle {
    padding-left: 10px;
  }
  .news {
    padding: 17px 10px 22px;
  }
}
/*===index.php(メイン)用==============================*/
.news-detail .stitle {
  font-size: clamp(1.2rem, 0.7rem + 1.6vw, 1.6rem);
}
#newsWrap {
  width: 100%;
  position: relative;
}
#newsWrap ul#newsList {
  padding: 0 20px;
  /*overflow-y: scroll;*/
  max-height: 43px;
}
#newsWrap ul#newsList li {
  list-style-type: none;
  padding: 5px 0;
  color: #333;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 497px;
}
#newsWrap ul#newsList li:last-child {
  border-bottom: none;
}
#newsWrap ul#newsList li .up_ymd {
  display: inline-block;
  margin-right: 20px;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
#newsWrap ul#newsList li .title {
  letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a {
  text-decoration: none;
  color: #333 !important;
}
#newsWrap ul#newsList li .title a:hover {
  opacity: 0.6;
}
@media (max-width: 750px) {
  #newsWrap ul#newsList li {
    width: 100%;
  }
}
@media (max-width: 550px) {
  #newsWrap ul#newsList li .up_ymd {
    margin-right: 7px;
    display: block;
    font-size: 0.8rem;
    margin-bottom: 3px;
  }
  #newsWrap ul#newsList {
    padding: 0 10px;
    max-height: 70px;
  }
}
/*
#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用==============================*/
/*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: 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: #1a1a1a;
}
.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 rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  padding: 15px;
  transition: 0.4s;
  color: #333;
}
.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: 500;
}
.news-detail .flex #side h3::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0ca';
  font-weight: 900;
  padding-right: 0.5em;
  color: #1a1a1a;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
  display: block;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 87%;
  color: #333;
  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;
  color: #1a1a1a;
}
.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 li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  list-style-type: none;
  padding: 8px 0;
}
.news-detail .flex #main li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.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;
  color: #1a1a1a;
}
.news-detail .flex #main li .title a {
  color: #333;
  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;
}
/* newMark */
#newsList li .newMark {
  font-size: 0.85rem;
  color: #1a1a1a;
  margin-right: 20px;
  vertical-align: text-top;
  text-transform: uppercase;
}
@media (max-width: 750px) {
  #newsList li .newMark {
    font-size: 0.8rem;
    margin-right: 0;
    vertical-align: middle;
  }
}