/* 記事内の見出し */
h3 {
  font-size: 20px;
  text-decoration-line: underline;
  text-decoration-color: rgb(253, 255, 118);
  text-decoration-thickness: .6em;
  text-underline-offset: -.3em;
  text-decoration-skip-ink: none;
  margin: 20px 0 0 0;
}

h4 {
  text-decoration-line: underline;
  text-decoration-color: #92D3E2;
  margin: 10px 0 0 0;
}

p {
  margin: 10px 0 30px 0;
}

.blog__category {
  font-weight: normal;
  font-size: 2.8rem;
  letter-spacing: 0.1em;
  margin: 40px 0 0 0;
  padding: 0 0 0 10px;
  border-left: 4px solid #6494B7;
}

.grid__container {
  display: grid;
  gap: 40px;
  grid-template-columns: 2.5fr minmax(180px, 1fr);
  padding: 30px 0 130px 0;
}

.article {
  border: 1px solid #6494B7;
  margin-bottom:35px ;
}

.article h2 {
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: normal;
  background-color: #92D3E2;
  border-left: 5px solid #6494B7;
  width: 100%;
  padding: 14px;
  margin: 0;
}

.article h2 a {
  color: #fff;
}

.article__text {
  font-size: 1.6rem;
  padding: 15px;
  line-height: 1.75em;
  letter-spacing: 0.1em;
}

.article__time {
  font-family: "Noto Sans JP",sans-serif;
  padding-right: 5px;
}

.article__text span {
  border: 1px solid #23B7D8;;
  color: #23B7D8;
  font-size: 1.4rem;
  padding: 4px;
  margin-left: 30px;
}

/* 続きを読む */
.more__read--btn a {
  background: #ffffff;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 125px;
  padding: 5px 10px;
  font-size: 1.4rem;
  color: #23B7D8;
  border: 1px solid #92D3E2;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 0 5px 0 auto;
}

.mmore__read--btn a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
  }
  .more__read--btn a:hover {
  background: #92D3E2;
  color: #FFF;
  }
  .more__read--btn a:hover:after {
  right: 1.4rem;
  }

  /* categoryページのページネーション */
  .pagenation {
    font-size: 1.4rem;
    margin: 0 auto;
    text-align: center;
  }

  .page-numbers {
    color: #23B7D8;
    border: 1px solid #6494B7;;
    padding: 10px;
  }

  /* 投稿ページのページネーション */
  .wpSinglePager a {
    color: #6494B7;
  }

  .wpSinglePager a:hover {
    opacity: 0.6;
  }

  /* sidebar */
.sidebar__list {
  padding: 0 0 40px 0;
}

.sidebar__list h2 {
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: normal;
  background-color: #92D3E2;
  padding: 8px;
  margin: 0 0 10px 0;
  text-align: center;
}

.sidebar__list a {
  display: block;
  font-size: 1.5rem;
  color: #6494B7;
  letter-spacing: 0.04em;    
}

.sidebar__list a:hover {
  opacity: 0.6;    
}

.cat-item {
  border-bottom: dotted 1px #6494B7;
  margin: 10px 0;
}

.cat-item_flex {
  display: flex;
  justify-content: space-between;
  margin: 10px 5px 0 5px;
  padding-bottom: 20px;
  border-bottom: dotted 1px #6494B7;
}

.cat-iten_thum {
  width: 30%;
  height: auto;
  padding-right: 10px;
}
.wp-post-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; 
}

.cat-item_title {
  width: 70%;
}

.wp-block-image img {
  width: 70%;
}


/* 画面幅が767px以下のとき */
@media screen and (max-width: 767px) {
  /* スマートフォン用のスタイルを指定する */
  .grid__container {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 60px 0 0 0;
  }

  .main__content {
    margin-bottom: 40px;
  }

  .article {
    margin-bottom: 40px;
  }

  .sidebar__list {
    padding: 0 0 40px 0;
  }

  .sidebar__list h2 {
    width: 100%;
  }

  .sidebar__list a {
    width: 100%;
  }

}
