@charset "utf-8";
/* -----------------------------------------------------
共通
----------------------------------------------------- */

ul.blog_tag_items {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 16px;
}

ul.blog_tag_items {
  list-style: none;
}

ul.blog_tag_items a {
  position: relative;
  padding-left: 16px;
  display: block;
  line-height: 1.5;
  text-decoration: none;
  font-size: 1.5rem;
}
ul.blog_tag_items a:hover {
  text-decoration: underline;
}
ul.blog_tag_items a::before {
  position: absolute;
  top: 3px;
  left: 0;
  font-family: 'Material Symbols Outlined';
  content: '\e9ef';
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  font-size: 16px;
}

/* -----------------------------------------------------
一覧
----------------------------------------------------- */
.post_list_wrapper.blog .post_list {
  display: grid;
  justify-content: center;
}
.post_list_wrapper.blog .post_list {
  grid-template-columns: repeat(auto-fit, 31%);
  grid-gap: 26px 3.5%;
}
.post_list_wrapper.blog .post_list:has(article + article + article) {
  grid-template-columns: repeat(auto-fit, 23.5%);
  grid-gap: 24px 2%;
}
body.post_type_slug_blog .post_list_wrapper.blog .post_list:has(article + article + article) {
  grid-template-columns: repeat(auto-fit, 31%);
  grid-gap: 26px 3.5%;
}
body.post_type_slug_blog .post_list_wrapper.blog .post_list {
  justify-content: normal;
}
.post_list_wrapper.blog a {
  flex-flow: column;
  gap: 14px;
}

.post_list_wrapper.blog .content {
  display: flex;
  flex-flow: column;
  gap: 9px;
}
.post_list_wrapper.blog .private_label {
  font-size: 1.4rem;
}
.post_list_wrapper.blog .category {
  width: fit-content;
  max-width: 100%;
}
.post_list_wrapper.blog .category p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1;
}
.post_list_wrapper.blog .title {
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-height: 1.6;
}

.post_list_wrapper.blog .img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.post_list_wrapper.blog .img img,
.post_list_wrapper.blog .img svg {
  transition: transform 0.4s;
  transform: scale(1);
  will-change: transform;
}
.post_list_wrapper.blog a:hover .img img,
.post_list_wrapper.blog a:hover .img svg {
  transform: scale(1.04);
}
.post_list_wrapper.blog .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .post_list_wrapper.blog .post_list:has(article + article + article) {
    grid-template-columns: repeat(auto-fit, 31%);
    grid-gap: 26px 3.5%;
  }
  body.post_type_slug_blog .post_list_wrapper.blog .post_list,
  body.post_type_slug_blog .post_list_wrapper.blog .post_list:has(article + article + article) {
    grid-template-columns: repeat(auto-fit, 47.5%);
    grid-gap: 24px 5%;
  }
}

@media (max-width: 900px) {
  .post_list_wrapper.blog .post_list:has(article + article + article) {
    grid-template-columns: repeat(auto-fit, 47.5%);
    grid-gap: 24px 5%;
  }
}

@media (max-width: 640px) {
  .post_list_wrapper.blog .post_list:has(article + article + article),
  body.post_type_slug_blog .post_list_wrapper.blog .post_list,
  body.post_type_slug_blog .post_list_wrapper.blog .post_list:has(article + article + article) {
    grid-template-columns: repeat(auto-fit, 100%);
    grid-gap: 24px;
  }
}

/* -----------------------------------------------------
詳細
----------------------------------------------------- */
.post_detail_wrapper.blog ul.blog_tag_items {
  margin-top: 16px;
}

/* -----------------------------------------------------
サイドバー
----------------------------------------------------- */
#wrap_sidebar_blog {
  display: flex;
  flex-flow: column;
  gap: 44px;
}
.sidebar_section .section_title {
  font-size: 1.7rem;
  background-color: var(--gray_color_super_light);
  font-weight: bold;
  padding: 0.6em 1em 0.6em 40px;
  margin-bottom: 16px;
  position: relative;
}
.sidebar_section .section_title::before {
  position: absolute;
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 24;
}

.sidebar_section.blog_category_list .section_title::before {
  content: '\e156';
  top: 13px;
  left: 11px;
  font-size: 22px;
}
.sidebar_section.blog_tag_list .section_title::before {
  content: '\f05b';
  top: 14px;
  left: 12px;
  font-size: 21px;
}
.sidebar_section.recent_blog_posts .section_title::before {
  content: '\e3c9';
  top: 13px;
  left: 11px;
  font-size: 23px;
}
.sidebar_section a {
  text-decoration: none;
  font-size: 1.5rem;
}
.sidebar_section ul {
  list-style: none;
}

.sidebar_section.blog_category_list ul {
  border-top: var(--gray_color_light) 1px solid;
}
.sidebar_section.blog_category_list ul li {
  border-bottom: var(--gray_color_light) 1px solid;
}
.sidebar_section.blog_category_list ul li a {
  position: relative;
  padding: 1em 0.8em 1em 30px;
  display: block;
  line-height: 1.5;
}
.sidebar_section.blog_category_list ul li a:hover {
  background-color: var(--gray_color_super_light);
}
.sidebar_section.blog_category_list ul li a::before {
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--black_color);
  border-right: 1px solid var(--black_color);
  transform: rotate(45deg);
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  margin-top: -3px;
}
.sidebar_section.recent_blog_posts ul {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.sidebar_section.recent_blog_posts a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar_section.recent_blog_posts .thumbnail {
  width: 64px;
  flex-shrink: 0;
}
.sidebar_section.recent_blog_posts .thumbnail .img {
  border-radius: 100%;
  overflow: hidden;
}
.sidebar_section.recent_blog_posts .thumbnail .img img,
.sidebar_section.recent_blog_posts .thumbnail .img svg {
  transition: transform 0.3s;
  transform: scale(1);
  will-change: transform;
}
.sidebar_section.recent_blog_posts a:hover .thumbnail .img img,
.sidebar_section.recent_blog_posts a:hover .thumbnail .img svg {
  transform: scale(1.1);
}
.sidebar_section.recent_blog_posts .thumbnail .img img {
  width: 100%;
}
.sidebar_section.recent_blog_posts .thumbnail .no_image.svg {
  aspect-ratio: 1/1;
  border-radius: 100%;
}
.sidebar_section.recent_blog_posts .thumbnail .no_image.svg svg.no_image_icon {
  width: 50%;
}
.sidebar_section.recent_blog_posts .title {
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-height: 1.6;
}
