@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
ul.newsList {
  display: flex;
  flex-wrap: wrap;
}
ul.newsList li {
  width: 29.9%;
  margin: 0 1.7% 25px;
  border: none;
  display: flex;
  padding: 0;
  overflow: hidden;
}
ul.newsList li a {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #594e48;
}
ul.newsList li a .up_ymd {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #5aa2e6;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  display: none;
}
ul.newsList li a .up_ymd::before {
  font-family: "Font Awesome 6 Free";
  content: '\f017';
  font-weight: 900;
  padding-right: 0.2em;
  margin-right: 3px;
  font-size: 90%;
}
ul.newsList li a .newMark {
  margin-left: 8px;
}
ul.newsList li a .title {
  display: block;
  margin-bottom: 3px;
}
ul.newsList li a .textarea {
  padding: 5px;
  line-height: 1.85;
  width: 100%;
  position: relative;
  z-index: 20;
  margin-bottom: auto;
}
.blog-txt {
  font-size: 12px;
  opacity: 0.7;
}
.thumbNailWrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.thumbNailWrap::before {
  content: '';
  display: block;
  padding-top: 70%;
}
.thumbNailWrap img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.8s ease;
}
ul.newsList li a:hover img {
  transform: scale(1.1);
}
@media (max-width: 750px) {
  ul.newsList {
    display: block;
  }
  ul.newsList li {
    width: 100%;
    margin: 0 0 27px;
  }
  ul.newsList li:last-of-type {
    margin-bottom: 0 !important;
  }
}
/*===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: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: #5aa2e6;
}
.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: 2px solid #e8e8e8;
  border-radius: 5px;
  font-size: 0.95rem;
  padding: 15px;
  transition: 0.4s;
  color: #594e48;
}
.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: #5aa2e6;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
  display: block;
  width: 100%;
  border: 2px solid #e8e8e8;
  border-radius: 5px;
  font-size: 87%;
  color: #594e48;
  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: #5aa2e6;
}
.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 #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;
}
/* 一覧ページ */
.news-detail .flex #main ul.newsList li {
  width: 31.5%;
  margin: 0 0.7% 25px;
}
@media (max-width: 1100px) {
  .news-detail .flex #main ul.newsList li {
    width: 47.5%;
    margin: 0 1.2% 15px;
  }
}
@media (max-width: 750px) {
  .news-detail .flex #main ul.newsList li {
    width: 100%;
    margin: 0 0 23px;
  }
}
/* newMark */
.newsList li .newMark {
  font-size: 0.85rem;
  color: #5aa2e6;
  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;
  }
}
/* works */
.works_ymd_none .up_ymd {
  display: none;
}
.works_ymd_block .up_ymd {
  display: block !important;
}
/**/
.ndl ul.newsList li a .up_ymd {
  display: block;
}