/* =========================================
   News 一覧ページ / トップのNews 共通
   トップの既存カード（.valentine-lp-section）のデザインを引き継いでいます
   ========================================= */
.newsPage,
.newsTop {
  --news-text: #F7F2EB;                    /* テキストカラー */
  --news-sub: rgba(247, 242, 235, 0.6);    /* 日付など補足テキスト */
  --news-accent: #c8b9a0;                  /* ボタン・タブ */
  --news-line: rgba(200, 185, 160, 0.6);   /* ボタン・タブの枠線 */
  --news-tint: rgba(255, 255, 255, 0.04);  /* 画像なし時の背景 */
  color: var(--news-text);
}

.newsTop {
  max-width: 1200px;
  margin: 0 auto;
}

.newsPage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 16px 80px;
}

/* =========================
   見出し（一覧ページ）
   ========================= */
.newsPage__title {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-align: center;
}
.newsPage__sub {
  margin: 8px 0 40px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--news-accent);
  text-align: center;
}

/* =========================
   絞り込み（一覧ページ）
   ========================= */
.newsFilter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(200, 185, 160, 0.35);
}
.newsTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* タブ・年の選択：背景に埋もれないよう、明るい面＋はっきりした枠線にする
   （.newsPage を付けて、テーマ側の button / select の文字色指定に上書きされないようにしている） */
.newsPage .newsTabs__btn,
.newsPage .newsYear {
  border: 1px solid #d9ccb5;
  background-color: rgba(247, 242, 235, 0.16);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 1;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.newsPage .newsTabs__btn {
  padding: 10px 22px;
}
.newsPage .newsTabs__btn:hover,
.newsPage .newsYear:hover {
  border-color: #ffffff;
  background-color: rgba(247, 242, 235, 0.26);
}
.newsPage .newsTabs__btn[aria-pressed="true"] {
  border-color: #e3d6bf;
  background-color: #e3d6bf;
  color: #1f1612;
  -webkit-text-fill-color: #1f1612;
  font-weight: bold;
}
.newsTabs__btn:focus-visible,
.newsYear:focus-visible {
  outline: 2px solid var(--news-text);
  outline-offset: 2px;
}
.newsFilter__right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(247, 242, 235, 0.85);
}
.newsYear {
  -webkit-appearance: none;
  appearance: none;
  padding: 9px 40px 9px 14px;
  /* ▼ の矢印（OS標準の暗い矢印だと見えにくいため自前で描画） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F7F2EB' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border-radius: 0;
  color-scheme: dark;
}
.newsYear option {
  background-color: #1f1612;
  color: var(--news-text);
}
.newsVisuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================
   カード一覧（共通）
   ========================= */
.newsList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .newsList {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 30px;
  }
}

.newsCard {
  display: flex;
  flex-direction: column;
  color: var(--news-text);
}
.newsCard__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--news-tint);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.newsCard__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.newsCard__noImg {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--news-accent);
}
.newsCard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--news-sub);
}
.newsCard__meta time {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 0.08em;
}
.newsCard__cat {
  padding: 1px 10px;
  border: 1px solid rgba(200, 185, 160, 0.5);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--news-accent);
}
.newsCard__text {
  padding-bottom: 16px; /* ボタンとの最低限の余白 */
}
.newsCard__title {
  margin: 0;
  font-weight: bold;
  line-height: 1.4;
}
.newsCard__desc {
  margin: 10px 0 0;
  line-height: 1.6;
  opacity: 0.9;
}

/* ボタン（既存の .shop-link と同じ見た目） */
.newsCard__btn,
.newsCard__btn:link,
.newsCard__btn:visited {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto; /* ボタンの高さを横一列でそろえる */
  padding: 11px 28px;
  border: 1px solid var(--news-line);
  color: var(--news-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.newsCard__btn::after {
  content: ' →';
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.newsCard__btn--ext::after {
  content: ' ↗';
}
.newsCard__btn:hover,
.newsCard__btn:active {
  border-color: var(--news-accent);
  background-color: rgba(200, 185, 160, 0.1);
  color: var(--news-accent);
  text-decoration: none;
}
.newsCard__btn:hover::after {
  transform: translateX(4px);
}
.newsCard__btn--ext:hover::after {
  transform: translate(2px, -2px);
}
.newsList__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 60px 0;
  font-size: 14px;
  color: var(--news-sub);
  text-align: center;
}

/* =========================
   もっと見る（一覧ページ）／ NEWS一覧へ（トップ）
   ========================= */
.newsMore,
.newsTop__more a,
.newsTop__more a:link,
.newsTop__more a:visited {
  display: block;
  width: fit-content;
  min-width: 260px;
  margin: 56px auto 0;
  padding: 15px 40px;
  border: 1px solid var(--news-line);
  background: transparent;
  color: var(--news-accent);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.newsMore:hover,
.newsTop__more a:hover {
  border-color: var(--news-accent);
  background-color: rgba(200, 185, 160, 0.1);
  color: var(--news-accent);
  text-decoration: none;
}
.newsMore[hidden] {
  display: none;
}
.newsTop__more {
  margin: 0;
}
.newsTop__more a::after {
  content: ' →';
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}
.newsTop__more a:hover::after {
  transform: translateX(4px);
}

/* =========================
   スマホ
   ========================= */
@media (max-width: 767px) {
  .newsPage {
    padding: 40px 16px 64px;
  }
  .newsPage__title {
    font-size: 26px;
  }
  .newsPage__sub {
    margin-bottom: 28px;
  }
  .newsFilter {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 32px;
  }
  .newsTabs {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .newsTabs li {
    flex: 1;
  }
  .newsPage .newsTabs__btn {
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .newsFilter__right {
    justify-content: space-between;
  }
  .newsMore,
  .newsTop__more a {
    width: 100%;
    min-width: 0;
    margin-top: 40px;
  }
}
