/* ==============================================================
   施策1：関連記事ブロック（シェアブロック・全ページ共通）
   ============================================================== */

.related-articles {
  max-width: 960px;
  margin: 0 auto 100px;
  background: #ffffff;
}

.related-articles-heading {
  position: relative;
  border-bottom: 1px solid #880203;
  background: #ffffff;
}

.related-articles-heading h2 {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 24px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #333333;
}

.related-articles-heading h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 41px;
  background: #880203;
  transform: translateY(-50%);
}

.related-articles-body {
  padding-top: 38px;
}

.related-articles-category h3 {
  position: relative;
  margin: 0;
  padding: 16px 0 16px 48px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  background: #f6f6f6;
  border: 1px solid #ebebeb;
}

.related-articles-category h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30px;
  width: 6px;
  height: 20px;
  background: #880203;
  transform: translateY(-50%);
}

.related-articles-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-articles-list li {
  width: 50%;
  box-sizing: border-box;
}

.related-articles-list a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 20px 48px 20px 48px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.25;
  color: #333333;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #f8f8f8;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .related-articles-list a:hover {
    opacity: 0.6;
  }
}

.related-articles-list a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30px;
  width: 7px;
  height: 7px;
  background: #880203;
  transform: translateY(-50%);
}

.related-articles-list a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #880203;
  border-right: 2px solid #880203;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 767px) {
  .related-articles {
    padding: 0 20px;
  }
  .related-articles-category h3 {
    padding: 16px 0 16px 38px;
  }
  .related-articles-category h3::before {
    left: 20px;
  }
  .related-articles-list li {
    width: 100%;
  }
  .related-articles-list a {
    padding: 16px 38px 16px 38px;
  }
  .related-articles-list a::before {
    left: 20px;
  }
  .related-articles-list a::after {
    right: 20px;
  }
}
