/* RAGページ用スタイル ------------------------------------------------------------ */

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 50px 0;
  @media screen and (max-width: 768px) {
    padding: 14.667vw 15px 0 !important;
  }

  ul {
    padding: 0 !important;
  }
  
  li {
    list-style: none;
  }
  
  h2 {
    line-height: 1.6;
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    font-size: 21px;
    padding: 15px 0;
    @media screen and (max-width: 1280px) {
      font-size: 1.641vw;
      padding: 1.172vw 0;
    }
    @media screen and (max-width: 768px) {
      font-size: 4.267vw !important;
      margin-bottom: 7vw !important;
      padding: 2vw 0;
    }
  }
  
  
  h2::before, h2::after {
    bottom: 0;
    content: "";
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
  }
  h2::before {
    background: #e6e6e6;
    width: 100%;
  }
  h2::after {
    background: var(--color-primary);
    @media screen and (max-width: 768px) {
      width: 26.667vw;
    }
    @media screen and (min-width: 769px) {
      width: 15.625vw;
    }
    @media screen and (min-width: 1280px) {
      width: 200px;
    }
  }
  
}


.page-title  {
  margin: 80px 0 60px;
  @media screen and (max-width: 768px) {
    margin: 50px 0 40px;
  }
}

@media screen and (max-width: 768px) {
  .p-archive__list {
      gap: 10px !important;
      grid-template-columns: 100%;
      width: 84vw;
      margin: 0 auto;
  }
}

.p-article {
  padding-bottom: 20px;
}

.p-article__title {
  @media screen and (max-width: 768px) {
    font-size: 16px !important;
  }
}

.column_top__inner {
  margin-bottom: 80px;

  @media screen and (max-width: 768px) {
    margin-bottom: 60px;
  }
}

.tag_list {
  ul {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  li {
    background: #D7F0F2;
    width: fit-content;
    padding: 4px 8px 5px;
  }
  a {
    text-decoration: none;
    font-weight: 500;
  }

}

:root :where(.wp-block-button.is-style-outline--1 .wp-block-button__link) {
  border-width: 1px !important;
  width: 300px !important;
  height: 60px !important;
}


.pickup-item .p-article__date {
  margin-top: 0;

  @media screen and (max-width: 768px) {
    margin-bottom: 5px;
  }
}

:where(.wp-block-columns.is-layout-flex) {
  @media screen and (max-width: 768px) {
    gap: 0 !important;
  }
}

.pickup-list {
  .p-article__title {
    margin: 0 !important;
  }
}