@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500&display=swap');

section {
  padding: 90px 0 0;
}

.elem-news-category {
  margin-top: 50px;
}

.elem-news-detail {
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  section {
    padding-top: 30px;
  }

  .elem-news-category {
    margin-top: 20px;
  }

  .elem-news-detail {
    margin-top: 10px;
  }
}

.elem-news-detail-contents .li-img-center {
  text-align: center;
}

p.nolist {
  text-align: center;
  margin: 60px auto 0;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.075em;
}

.elem-news-detail-contents img.aligncenter {
  display: block;
  margin: 0 auto 20px;
}

.elem-news-detail-contents {
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  p.nolist {
    font-size: 1.8rem;
  }
}

/*categorylist*/


.news-category-list {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: center;
  margin: 80px auto 60px;
}

.news-category-list-item {
  width: 108px;
  position: relative;
}

.news-category-list-item a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  background: rgb(217, 12, 56);
  background: linear-gradient(0deg, rgba(217, 12, 56, 1) 0%, rgba(225, 127, 68, 1) 100%);
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  clip-path: polygon(50% 0%, 80% 0, 100% 20%, 100% 80%, 80% 100%, 50% 100%, 20% 100%, 0 80%, 0 20%, 20% 0);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.news-category-list-item.on a {
  background: rgb(219, 137, 0);
  background: linear-gradient(0deg, rgba(219, 137, 0, 1) 0%, rgba(232, 184, 105, 1) 100%);
}

.news-category-list-item.on::after {
  content: "";
  background: rgba(219, 137, 0, 1);
  width: 20px;
  height: 10px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: block;
}

.news-category-list-item.on:hover::after {
  opacity: 0.7;
  transition: 0.3s;
}

@media screen and (max-width: 767px) {
  .news-category-list {
    margin: 30px auto 30px;
    max-width: 420px;
  }

  .news-category-list-item {
    width: calc((100% - 30px) / 4);
  }

  .news-category-list-item a {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 375px) {
  .news-category-list-item a {
    font-size: 3.4vw;
  }
}

/* YouTubeサムネイル表示 (SPで見切れないように対応) */
iframe {
  width: 100%!important;
  max-width: 640px!important;
  aspect-ratio: 16 / 9!important;
  display: block;
  margin: 0 auto;
  border: none;
}