@charset "UTF-8";

/* ----------------------------------------
   News List
---------------------------------------- */

.news-list {
  border-top: 1px solid #E7E2DD;
}
.news-item {
  border-bottom: 1px solid #E7E2DD;
}
.news-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity .3s;
  transition: background-color .3s;
}
.news-link:hover {
  opacity: .7;
  background-color: #FCFAF8;
}
.news-link:hover .news-arrow {
  transform: translateX(6px);
}
.news-content {
  flex: 1;
  min-width: 0;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.news-date {
  font-size: 14px;
  color: #8E847C;
}
.news-category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

/* Category Color */

.category-information {
  background: #ECE4F4;
  color: #7A5E99;
}
.category-event {
  background: #DFF1EC;
  color: #5D8D83;
}
.news-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #5A4A42;
}
.news-arrow {
  flex-shrink: 0;
  font-size: 2rem;
  color: #A9A29C;
  transition: transform .3s;
}
.news-link:hover .news-arrow {
  transform: translateX(6px);
}

/* ----------------------------------------
   Pagination
---------------------------------------- */

.pagination {
  margin-top: 60px;
}
.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #DDD5CF;
  border-radius: 50%;
  color: #5A4A42;
  text-decoration: none;
  transition: .3s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: #B7A7C8;
  border-color: #B7A7C8;
  color: #FFF;
}

/* ----------------------------------------
   No Posts
---------------------------------------- */

.no-posts {
  text-align: center;
  color: #8E847C;
}

/* ----------------------------------------
   Single News
---------------------------------------- */

.single-news-header {
  padding-bottom: 16px;
  border-bottom: 1px solid #E7E2DD;
}
.single-news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.single-news-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  color: #5A4A42;
}
.single-news-content {
  margin-top: 48px;
  font-size: 18px;
  line-height: 2;
}
.single-news-content p {
  margin-bottom: 1.8em;
}
.single-news-content h2 {
  margin: 2.5em 0 1em;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
}
.single-news-content h3 {
  margin: 2em 0 .8em;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}
.single-news-content ul,
.single-news-content ol {
  margin: 1.5em 0;
  padding-left: 1.5em;
}
.single-news-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 2em auto;
}
.single-news-content a {
  color: #8A73A3;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.single-news-back {
  margin-top: 64px;
  text-align: center;
}

/* Googleマップ用レスポンシブラッパー */
.map-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  /* 比率：3:4が多いならお好みで調整
     3:4 → padding-bottom: 133.33%;
     4:3 → 75%;
     16:9 → 56.25%;
  */
  padding-bottom: 75%; /* ここは好みで：75%なら横:縦=4:3 */
  overflow: hidden;
  border-radius: 12px; /* 角丸つけたい場合 */
}
/* iframe自体をラッパーの中でフィットさせる */
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----------------------------------------
Responsive
---------------------------------------- */

@media (max-width: 767px) {
  
  .news-link {
    gap: 16px;
    padding: 22px 0;
  }
  .news-meta {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
  }
  .news-title {
    font-size: 1rem;
  }
  .news-arrow {
    font-size: 2rem;
  }

  /* .single-news-header {
    padding-bottom: 24px;
  } */
  .single-news-meta {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }
  .single-news-title {
    font-size: 24px;
  }
  .single-news-content {
    margin-top: 36px;
    font-size: 1rem;
  }
  .single-news-content h2 {
    font-size: 22px;
  }
  .single-news-content h3 {
    font-size: 18px;
  }
  .single-news-back {
    margin-top: 48px;
  }
}