@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
/*新着情報*/
.news {
  padding: 70px 0;
}
.news .inner {
  max-width: 1100px;
}
.news .flexbox {
  flex-wrap: nowrap;
}
.newstitle {
  height: fit-content;
  width: 150px;
}
.news .maintitle {
  margin-bottom: 20px;
}
.news .maintitle .sf {
  white-space: nowrap;
}
.newsl {
  width: 100%;
  margin-left: 70px;
}
@media (max-width: 750px) {
  .news {
    padding: 45px 0;
  }
  .news .maintitle {
    margin-top: 0;
    margin-bottom: 15px !important;
  }
  .newsl {
    margin-left: 0;
  }
}
@media (max-width: 550px) {
  .news {
    padding: 30px 0 25px;
  }
}
/**/
#newsWrap {
  padding: 20px 5px;
}
#newsWrap ul#newsList {
  width: 100%;
  margin: 0 0 0 auto;
  overflow-y: scroll;
  max-height: 162px;
  padding: 0 20px;
}
#newsWrap ul#newsList li {
  list-style-type: none;
  border-bottom: 1px solid #e8e8e8;
  padding: 10px 0;
  line-height: 2;
}
#newsWrap ul#newsList li:first-child {
  border-top: 1px solid #e8e8e8;
}
#newsWrap ul#newsList li .up_ymd {
  display: inline-block;
  margin-right: 20px;
  font-size: 0.95rem;
  color: #f29177;
}
#newsWrap ul#newsList li .title a {
  display: inline-block;
  text-decoration: none;
  color: #474747;
}
#newsWrap ul#newsList li .title a:hover {
  opacity: .7;
}
@media (max-width: 750px) {
  #newsWrap ul#newsList {
    max-height: 185px;
    width: 100%;
    margin: auto;
    padding: 0 10px;
  }
  #newsWrap ul#newsList li {
    padding: 7px 0 10px;
  }
  #newsWrap ul#newsList li .title a {
    font-size: 0.95rem;
  }
  #newsWrap ul#newsList li .up_ymd {
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 0.85rem;
  }
  #newsWrap ul#newsList li .title {
    display: block;
  }
}
/*スクロールバー*/
#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 .stitle {
  font-size: clamp(1.2rem, 0.99rem + 0.7467vw, 1.55rem);
}
/*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: #f29177;
}
.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 #e8e8e8;
  font-size: 0.95rem;
  padding: 15px;
  transition: 0.4s;
  color: #474747;
}
.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: 700;
}
.news-detail .flex #side h3::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0ca';
  font-weight: 900;
  padding-right: 0.5em;
  color: #ffa1b7;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
  display: block;
  width: 100%;
  border: 1px solid #e8e8e8;
  font-size: 87%;
  color: #474747;
  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: #f29177;
}
.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 #e8e8e8;
  list-style-type: none;
  padding: 8px 0;
}
.news-detail .flex #main li:first-child {
  border-top: 1px solid #e8e8e8;
}
.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: #f29177;
}
.news-detail .flex #main li .title a {
  color: #474747;
  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: #f29177;
  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;
  }
}