@charset "UTF-8";
/* CSS Document (新着情報CMS) */
/*===index.php(メイン)用==============================*/
.news .maintitle {
  margin-bottom: 25px;
  font-size: clamp(2.3rem, 1.175rem + 3.6vw, 3.2rem);
}
@media (max-width: 1045px) {
  .news {
    padding-top: 60px;
  }
}
@media (max-width: 550px) {
  .news {
    padding-top: 40px;
  }
}
#newsWrap {
  position: relative;
  padding: 55px 40px;
  border-radius: 10px;
  overflow: hidden;
}
#newsWrap ul::before {
  position: absolute;
  content: "";
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  z-index: -50;
  border-radius: 10px;
}
#newsWrap ul#newsList {
  overflow-y: scroll;
  max-height: 162px;
  width: 100%;
  padding: 0 20px;
}
#newsWrap ul#newsList li {
  list-style-type: none;
  border-bottom: 1px dashed #d6d6d6;
  padding: 10px 0;
}
#newsWrap ul#newsList li:last-child {
  border-bottom: none;
}
#newsWrap ul#newsList li .up_ymd {
  display: inline-block;
  color: #4c99a3;
  margin-right: 20px;
  letter-spacing: 0.05em;
  font-family: "Oleo Script", serif;
  font-weight: 700;
}
#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::before {
    width: calc(100% - 13px);
    height: calc(100% - 13px);
  }
  #newsWrap {
    padding: 10px 15px 10px;
  }
  #newsWrap ul#newsList {
    max-height: 188px;
  }
  #newsWrap ul#newsList li {
    padding: 10px 0;
  }
  #newsWrap ul#newsList li .up_ymd {
    line-height: 1.8;
    margin-bottom: 6px;
    font-size: 0.9rem;
    margin-right: 10px;
  }
  #newsWrap ul#newsList li .title {
    display: block;
  }
}
@media (max-width: 550px) {
  #newsWrap ul#newsList {
    padding: 0 15px;
  }
  #newsWrap ul#newsList li .title a {
    font-size: 1rem;
  }
}
/*スクロールバー*/
#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;
}
/*===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.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #4c99a3;
  font-family: "Oleo Script", serif;
  font-weight: 700;
}
.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: 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;
  border-radius: 5px;
}
@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: 500;
}
.news-detail .flex #side h3::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0ca';
  font-weight: 900;
  padding-right: 0.5em;
  color: #4c99a3;
}
.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;
  border-radius: 5px;
}
.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%;
  }
}
/*一覧ページ*/
.news-detail .flex #main li {
  border-bottom: 1px dashed #d6d6d6;
  list-style-type: none;
  padding: 8px 0;
}
.news-detail .flex #main li:first-child {
  border-top: 1px dashed #d6d6d6;
}
.news-detail .flex #main li span {}
.news-detail .flex #main li .up_ymd {
  font-size: 90%;
  letter-spacing: 0.1em;
  margin-right: 15px;
  color: #4c99a3;
  font-family: "Oleo Script", serif;
  font-weight: 700;
}
.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: #4c99a3;
  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;
  }
}