@charset "UTF-8";

/* お知らせ機能を追加に伴うCSS 2025/11/21 */

/* --------------------------
トップページのお知らせ
----------------------------- */
.p-homeNews {
  width: 80%;
  margin: 8rem auto;
}

.p-homeNews .c-secTitle {
  margin-bottom: 5rem;
}

.p-homeNews .p-homeNews__item {
  border-top: 1px solid #a8a6a4;
  transition: ease-in-out .3s;
}

.p-homeNews .p-homeNews__item:last-child {
  border-bottom: 1px solid #a8a6a4;
}

.p-homeNews .c-card__body {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 16px;
  padding: 15px 30px;
}

.p-homeNews .c-card__date {
  color: #4a484a;
  font-size: 16px;
  font-weight: 400;
}

.p-homeNews .c-card__title {
  color: #4a484a;
  font-size: 16px;
  font-weight: 400;
}

.p-homeNews .p-homeNews__more {
  margin-top: 5rem;
  margin-right: auto;
  margin-left: auto;
}

@media (hover: hover) and (pointer: fine) {
  .p-homeNews .p-homeNews__item:hover {
    background-color: #f1f1f1;
  }
}

@media screen and (max-width: 767px) {
  .p-homeNews {
    width: 90%;
    margin: 8rem auto;
  }

  .p-homeNews .c-card__body {
    flex-flow: column;
    align-items: start;
    gap: 5px;
    padding: 10px;
  }

  .p-homeNews .c-card__date {
    font-size: 14px;
  }

  .p-homeNews .c-card__title {
    font-size: 14px;
  }
}

/* --------------------------
お知らせ一覧ページ archive-news.php
----------------------------- */
.page-news {
  padding: 10rem 0 0;
}

.c-cardList {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 10%;
  margin: 2rem auto 0;
}

.c-cardList .c-card__thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.c-cardList .c-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-cardList .c-card__body {
  padding: 15px 5px 0;
}

.c-cardList .c-card__date {
  color: #4a484a;
  font-size: 16px;
  font-weight: 400;
}

.c-cardList .c-card__title {
  color: #4a484a;
  font-size: 16px;
  font-weight: 400;
}

@media screen and (max-width: 767px) {
  .c-cardList {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 5%;
  }

  .c-cardList .c-card__body {
    padding: 10px 5px 0;
  }

  .c-cardList .c-card__title {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .page-news {
    padding: 8rem 0 0;
  }

  .c-cardList {
    width: 90%;
  }

  .c-cardList .c-card__title {
    font-size: 12px;
  }
}

/* --------------------------
お知らせ詳細ページ single-news.php
----------------------------- */
.p-newsDetail {
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}

.p-newsDetail .ttl03 {
  text-align: left;
}

.p-newsDetail__content p {
  line-height: 2;
  margin-bottom: 30px;
}

.siingle_news_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding-top: 30px;
}

.siingle_news_btn a {
  display: block;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid #8f865d;
  padding: 10px 20px;
  transition: ease-in-out .3s;
}

@media (hover: hover) and (pointer: fine) {
  .siingle_news_btn a:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 480px) {
  .p-newsDetail {
    width: 90%;
  }
}