@charset "utf-8";
/* ==========================================================================
   news.css
   お知らせ一覧／詳細ページ共通スタイル
   ========================================================================== */

/* ---------------------------------
   一覧
--------------------------------- */

.news-list-container{
  max-width:1000px; 
}

.news-list-cards {
  display: flex;
  flex-direction: column;
}

.news-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.3s var(--ease);
  cursor: pointer;
}

.news-card:hover {
  opacity: 0.75;
}

.news-card-scissor {
  flex-shrink: 0;
  width: 24px;
  aspect-ratio: 1 / 1;
  background: url("../img/icon/scissor-open-br.png") center;
  background-size: cover;
  transition: transform 0.3s var(--ease), background-image 0.3s var(--ease);
}

.news-card:hover .news-card-scissor {
  transform: translateX(8px);
  background: url("../img/icon/scissor-br.png") center;
  background-size: cover;
}


.news-card-thumb {
  flex-shrink: 0;
  width: 120px;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card:hover .news-card-thumb {
  box-shadow: 3px 3px 10px #bfbfbf;
}

.news-card-body {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.news-card-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.news-card-cat {
  display: inline-flex;
  align-items: center;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--beige-100);
  color: #7a4d1f;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-card-new {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 999px;
  background: #8b5b27db;
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.news-card-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.7;
  text-align: left;
  transition: 0.3s ease-in;
}


.news-card:hover .news-card-title{
  letter-spacing: 0.05rem;
  color: #7a4d1f;
}

.news-card-excerpt {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
  transition: 0.3s ease-in;
}


.news-empty {
  padding: 80px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .news-card {
    gap: 10px;
    padding: 20px 0;
    flex-direction: column;
  }

  .news-card-thumb {
    width: 100%;
  }

  .news-card-title {
    font-size: 13px;
  }
  
  .news-card-scissor {
    display: none;
  }
}

/* ---------------------------------
   ページャー
--------------------------------- */
.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.news-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-light);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.news-pager a:hover {
  border-color: var(--beige-400);
  color: var(--text);
}

.news-pager a.current {
  background: #8b5b27db;
  border-color: #8b5b27db;
  color: var(--bg);
}

.news-pager .overPagerPattern {
  color: var(--text-light);
  padding: 0 4px;
}

/* ---------------------------------
   詳細
--------------------------------- */
.news-detail {
  max-width: 960px;
  margin: 0 auto;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.news-detail-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.news-detail-thumb {
  margin-bottom: 34px;
  border-radius: 16px;
  overflow: hidden;
}

.news-detail-body {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text);
}

.news-detail-body p {
  color: var(--text);
  text-align: left;
}

.news-detail-body img {
  border-radius: 12px;
  margin: 20px 0;
}

.news-detail-back {
  margin-top: 56px;
  text-align: center;
}
