@charset "UTF-8";

.news-blog {
  position: relative;
  background-color: #f1f8f6;
}
.news-blog::after {
  content: "";
  background: linear-gradient(65deg, rgba(117,189,132,1) 0%, rgba(27,145,53,1) 100%) !important;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
}

.post-header {
  color: #fff;
  margin-top: 6rem;
}

.blog-content {
  padding: 3rem 2rem 3rem;
}

.new-single-content {
  background-color: #fff;
}

.writing {
  padding: 3rem 3rem;
  border-top: 1px solid #f0f0f0;
}
.writing .flex {
  gap: 30px;
  align-items: center;
}
.writing .flex .img{
  width: 20%;
}
.writing .flex .text h4{
  font-weight: bold;
}
.writing .flex .text p {
  font-size: 1.4rem;
  color: #9E9E9E;
}

.news-blog > .flex {
  justify-content: space-between;
}

.left-content {
  width: 70%;
  position: relative;
  z-index: 1;
}

.right-content {
  width: 27%;
  position: relative;
  z-index: 1;
}

.right-content {
  width: 27%;
  position: sticky;
  top: 16.7rem;
}

.blog-content h2 {
  font-size: 2.4rem;
  color: #588C63;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
}

.blog-content h3 {
  font-size: 2rem;
  color: #588C63;
  border-left: 3px solid #588C63;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.blog-content p, .blog-content table, .blog-content .wp-block-embed {
  margin-bottom: 4rem;
}

.main .news-blog>.container {
  align-items: flex-start;
}

.article-content {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.right-content .banner {
  display: block;
  margin-bottom: 2rem;
}

.user-content {
  flex-direction: row-reverse;
}
.user-content .triangle-left {
  left: auto;
  right: 0;
  transform: translate(100%, 10px) rotate(180deg);
}
.article-content .person {
  width: 15%;
}
.article-content .person img {
  display: block;
  margin: 0 auto;
}
.article-content .text {
  width: 85%;
  padding: 2rem;
  background-color: #ffffd0;
  border-radius: 6px;
  position: relative;
  font-size: 1.4rem;
}
.triangle-left {
  display: inline-block;
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #ffffd0 transparent transparent;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-100%, 10px);
}
.article-content .text p {
  margin-bottom: 1rem;
}
.article-content .text p::last-of-type {
  margin-bottom: 1rem;
}
.main .news-blog {
  padding: 0 0 8rem 0;
  background-color: #F1F8F6;
}

.main .news-blog > .container {
  padding-bottom: 8rem;
}

.post-header-title {
  padding: 2rem 0;
}

.post-header-title h1 {
  line-height: 1.4;
}

.post-header-meta-item {
  margin-right: 2rem;
}

#icon-calenda {
  position: relative;
  top: -3px;
}

.news .icatch {
  width: 20%;
}

.news .content {
  width: 80%;
  padding: 1rem 2rem;
}

.widget.popular-posts {
  margin: 3em 0 1em;
  padding: 1em;
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* ▼ ウィジェットタイトル ▼ */
.widget.popular-posts .widgettitle {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3em;
  text-align: center;
}

/* ▼ 人気記事リスト全体 ▼ */
.widget.popular-posts .wpp-list {
  list-style-type: none; /* デフォルトの点を消す */
  margin: 0;
  padding: 0;
}

/* ▼ 各記事（li）のスタイル ▼ */
.widget.popular-posts .wpp-list li {
  margin-bottom: 0.8em;
  padding-bottom: 0.8em;
  border-bottom: 1px dashed #ccc;
}

/* ▼ 最後の要素のボーダーを消す ▼ */
.widget.popular-posts .wpp-list li:last-child {
  border-bottom: none;
}

/* ▼ 記事タイトル（リンク）部分 ▼ */
.widget.popular-posts .wpp-post-title {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: #2a2a2a;
  text-decoration: none;
  transition: color 0.2s ease;
  width: 100%;
}
.widget.popular-posts .wpp-post-title img {
  margin-right: 1rem;
}

/* ▼ ホバー時のスタイル ▼ */
.widget.popular-posts .wpp-post-title:hover {
  color: #0073aa; /* WordPressの管理画面色などに合わせると統一感が出る */
  text-decoration: underline;
}

/* ▼ 視聴数・コメント数などの統計情報 ▼ */
.widget.popular-posts .wpp-post-stats {
  display: block; /* 改行して表示したい場合 block を指定 */
  font-size: 0.9em;
  color: #666;
  margin-top: 0.3em;
}

@media screen and (max-width: 767px) {
  .main .news-blog>.container {
    flex-direction: column;
  }
  .left-content {
    width: 100%;
  }
  .right-content {
    width: 100%;
  }
  .writing .flex {
    gap: 20px;
  }
  .writing .flex .img {
    width: 50%;
  }
  .new-single-content {
    margin-bottom: 4rem;
  }
  .article-content .person {
    width: 25%;
    padding-right: .5rem;
  }
  .user-content .person {
    padding-left: .5rem;
    padding-right: 0;
  }
  .article-content .text {
    width: 75%;
  }
  .main .left-content .breadcrumb {
    position: static;
    padding-top: 1rem;
  }
  .post-header {
    margin-top: 2rem;
  }
  main .news-section {
    padding: 6rem 2rem;
  }
  .news .icatch {
    width: 30%;
  }
  .news .icatch img {
    height: 100%;
    object-fit: cover;
  }
  .news .content {
    width: 70%; 
  }
  .user-content .person img {
    max-width: 75%;
  }
}

@media screen and (max-width: 540px) {
  .post-header-title h1 {
    font-size: 6vw;
  }

}
/*# sourceMappingURL=top.css.map */