@charset "UTF-8";

/* --------------------------

2023.4.19
ブログ機能を追加

--------------------------- */
.grecaptcha-badge {
  visibility: hidden;
}

.l-blog-area {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.l-blog-area__left {
  flex: 1;
  padding: 0 50px 0 20px;
}

.l-blog-area__right {
  width: 250px;
}

@media screen and (max-width: 1200px) {
  .box1 {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .box1 {
    width: 100%;
    margin: 4rem auto 5rem;
    padding: 0 2rem;
  }

  .l-blog-area__left {
    padding: 0 0px 0 0;
  }

  .l-blog-area__right {
    width: 100%;
  }
}

.l-blog-area__right .wp-block-heading {
  margin-bottom: 10px;
  font-size: 18px;
  border-bottom: 1px solid #0068b7;
}

#mainvisual.bg_blog {
  height: 470px;
  background-image: url(/images/main_bg_blog.jpg);
  background-position: center 77%;
  background-size: cover;
}

@media screen and (max-width: 640px) {
  #mainvisual.bg_blog {
    height: 300px;
    background-position: 25% 77%;
  }
}

.c-post-news-list {
  margin: 0px 0 0 0;
  padding: 0px 0;
}

.c-post-news-list__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 0 10px 40px 10px;
  border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 640px) {
  .c-post-news-list__item:first-child {
    margin-bottom: 40px;
    padding: 0 10px 40px 10px;
  }
}

.c-post-news-list__content {
  flex: 1;
  padding: 0 50px 0 0;
}

@media screen and (max-width: 640px) {
  .c-post-news-list__content {
    padding: 0 0 20px 0;
  }
}

.c-post-news-list__img {
  width: 180px;
  height: auto;
}

.c-post-news-list__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  -o-object-position: center;
  object-position: center;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
}

.c-post-news-list__title {
  margin-bottom: 20px;
}

.c-post-news-list__title a {
  color: #333;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
}

.c-post-news-list__info {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 15px;
}

.c-post-news-list__info .post-categories {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  top: -3px;
  width: calc(100% - 140px);
  margin: 0;
  padding: 0;
}

.c-post-news-list__info .post-categories li {
  margin-bottom: 5px;
}

.c-post-news-list__info .post-categories li a {
  display: block;
  min-width: 80px;
  padding: 5px 10px;
  color: #fff;
  background-color: #3FA2F5;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.c-post-news-list__info .post-categories li:last-child {
  margin-bottom: 0;
}

.c-post-news-list__time {
  width: 140px;
  font-size: 16px;
  line-height: 1.2;
}

.c-post-news-list__desc a {
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 16px;
}

/* 個別ページ */
.c-post-single {
  min-height: 60vh;
  margin: 0px 0 0 0;
  padding: 0;
}

.c-post-single__title {
  position: static;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px !important;
  text-align: left;
  line-height: 1.4;
  font-family: 'Noto Serif JP', serif;
}

.c-post-single__info {
  display: flex;
  margin-bottom: 40px;
}

.c-post-single__time {
  width: 140px;
  font-size: 16px;
  line-height: 1.2;
}

.c-post-single .post-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 640px) {
.c-post-single .post-categories {
display: block;
}
}

.c-post-single .post-categories li {
  margin-bottom: 5px;
  width: 140px;
}

.c-post-single .post-categories li a {
  position: relative;
  top: -3px;
  display: block;
  padding: 5px 2px;
  color: #fff;
  background-color: #3FA2F5;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.c-post-single .post-categories li:last-child {
  margin-bottom: 0;
}

.c-post-single__link {
  flex: 1;
}

@media screen and (max-width: 640px) {
  .c-post-single__link {
    width: 100%;
  }
}

.c-post-single__content p {
  margin-bottom: 1.5em;
}

/* リストのリンク */
.l-blog-pagenation {
  padding: 50px 0;
  text-align: center;
}

.l-blog-pagenation span {
  padding: 0 5px;
}

.l-blog-pagenation a {
  padding: 0 5px;
}

.l-single-pagenation {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 50px 0;
  font-size: 14px;
}

.l-single-pagenation span {
  width: 100px;
}

/* サイドバー */
.widgettitle {
  position: static;
  margin-bottom: 20px !important;
  font-size: 18px;
  border-bottom: 1px solid #0068b7;
}

/* 竹下追記 */
.c-post-single__content p {
  margin-bottom: 2em;
  font-size: 18px;
}

.c-post-single__content img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

#header.UpMove {
  animation: UpAnime 0.2s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

#header.DownMove {
  animation: DownAnime 0.3s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 640px) {
  .c-post-news-list__img {
    width: 100%;
  }

  .c-post-news-list__img img {
    aspect-ratio: 16/8;
  }
}


/* --------------------------

2024.1.9
お知らせを追加

お知らせはWordPressに記事はあったが、WordPressで構築しておらず、
トップページの静的ページ（PHPファイル）に出力だけしていた。

今回、お知らせの投稿ページを作成することが目的

--------------------------- */
.c-post-info-list__item {
  display: block;
}

.c-post-info-list__content {
  padding: 0;
}

#mainvisual.bg_news {
  background-image: url(/images/main_bg_news.jpg);
    background-position: 50% 40%;
    background-size: cover;
}