@charset "UTF-8";

/* =======================================
Article__header
======================================= */
.article__header {
  display: flex;
  padding: 40px 0px 60px 0px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: Lato;
  font-size: 3.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 88.889% */
  letter-spacing: 0.36px;
}

.page_title p {
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.2rem;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.12px;
} 

/* Article__header-PC */
@media screen and (min-width:769px) {
    .article {
        max-width: 1440px;
        margin: 0 auto;
    }

  .article__header {
    padding: 60px 15.2%;
    gap: 32px;
  }

  .page_title {
    font-size: 4.8rem;
    line-height: 32px; /* 66.667% */
    letter-spacing: 0.48px;
    gap: 8px;
    }

    .page_title p {
      font-size: 2rem;
      line-height: 32px; /* 160% */
      letter-spacing: 0.2px;
    }

}/* pc 769px */

/* =======================================
News
======================================= */
.news-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    padding: 0 5.3% 60px;
}

.news {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.news h2 {
    display: flex;
    padding: 12px 8px;
    align-items: center;
    align-self: stretch;
    font-size: 2.4rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-green);
}

.news__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.news__item {
    display: flex;
    padding: 16px 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    align-self: stretch;
    border-bottom: 1px solid #C4C4C4;
}

.news__meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.news__date {
    color: #676767;
    font-family: Lato;
    font-size: 1.4rem;
    font-weight: 400;
}

.news__category {
    display: flex;
    padding: 2px 4px;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background-color: var(--primary-paleGreen);
}

.news__title {
    font-size: 1.8rem;
    font-weight: 500;
}

/* Pagination */
.pagination {
    margin: 36px auto 60px;
}

/* WordPress.nav-links に対応 */
.pagination .nav-links {
    display: flex;
    padding: 0;
    gap: 16px;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
}

/* 各ページ番号（WordPress.page-numbers） */
.pagination .page-numbers {
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    color: var(--primary-brown);
    border-radius: 2px;
    font-family: Lato;
    font-size: 1.6rem;
    font-weight: 400;
    transition: background-color 0.3s;
    text-decoration: none;
}

/* 現在のページ（.current） */
.pagination .page-numbers.current {
    background-color: var(--primary-brown);
    color: var(--primary-white);
    pointer-events: none;
}

/* ホバー（current以外） */
.pagination .page-numbers:hover:not(.current) {
    background-color: rgba(89, 72, 50, 0.1);
}
.prev-arrow {
    transform: rotate(180deg);
    display: inline-block;
}



/* News-PC */
@media screen and (min-width:769px) {
    .news-container {
        display: flex;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        gap: 10.7%;
        padding: 60px 11.1% 120px;
    }

    .news {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        align-self: stretch;
        width: 71.42%;
    }

    .news h2 {
        padding: 16px 24px;
        gap: 10px;
        font-size: 3.2rem;
    }

    .news__item {
        padding: 24px;
        gap: 8px;
    }

    .news__meta {
        gap: 32px;
    }

    .news__date {
        font-size: 1.8rem;
    }

    .news__category {
        font-size: 1.4rem;
    }

    .news__title {
       font-size: 2rem;
    }

    .news__title:hover {
        color: #676767;
    }

    .pagination {
        margin: 0 auto;
    }
}/* pc 769px */

/* =======================================
Category
======================================= */
.category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.category__title {
    display: flex;
    padding: 0px 20px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    color: var(--primary-brown);
    font-size: 2rem;
    font-weight: 600;
    line-height: 36px; /* 180% */
    border-bottom: 2px solid var(--primary-green);
}

.category__list {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.category__item,
.cat-item {
    color: var(--primary-brown);
    font-size: 1.6rem;
}

/* Category-PC */
@media screen and (min-width:769px) {
    .category {
        display: flex;
        width: 200px;
        padding-top: 42px;
        flex-direction: column;
        align-items: flex-start;
    }

    .category__item,
    .cat-item {
        position: relative;
    }

    .category__item::after,
    .cat-item::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 8px;
        background-color: var(--primary-paleGreen);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
        z-index: -100;
    }

    .category__item:hover::after,
    .cat-item:hover::after {
        transform: scaleX(1);
    }

   
}/* pc 769px */