/* お知らせページ（/news）と、トップページのお知らせ枠。

   営業状況の店舗カード（.qn-*）と、カレンダー（.cal-* / .sd-calendar）は
   それぞれ quake-notice.css・calendar.css の見た目をそのまま使う。
   ここに書くのは、その入れ物と、トップページの枠だけ。 */

/* ------------------------- お知らせページ ------------------------- */

/* 文章は読みやすい幅（780px）に、カレンダーは全店ぶんが入るよう広く使う */
.news-body {
  max-width: 1060px;
  margin: 0 auto;
}

.news-block {
  max-width: 780px;
  margin: 0 auto 46px;
}

.news-block.is-wide {
  max-width: none;
}

.news-block:last-child {
  margin-bottom: 0;
}

.news-block-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  color: #d4a574;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 165, 116, 0.25);
}

.news-block-lead {
  color: #ccc;
  line-height: 2;
  margin: 0 0 22px;
}

.news-updated {
  font-size: 0.75rem;
  color: #777;
  margin: 14px 0 0;
  text-align: right;
}

/* カレンダーは店舗ページと同じ枠（.sd-calendar）で見せる。
   ページ内に単独で置くので、上の余白だけ打ち消す */
.news-block .sd-calendar {
  margin-top: 0;
}

.news-loading,
.news-empty p {
  color: #aaa;
  line-height: 2;
  margin: 0;
}

.news-empty {
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 34px 26px;
  text-align: center;
}

.news-empty-sub {
  font-size: 0.9rem;
  margin-top: 12px !important;
}

.news-empty-sub a {
  color: #d4a574;
  font-weight: 700;
}

/* --------------------- トップページのお知らせ枠 --------------------- */

.home-news {
  max-width: 860px;
  margin: -10px auto 55px;
  border: 1px solid rgba(212, 165, 116, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 24px 18px;
}

.home-news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(212, 165, 116, 0.18);
  padding-bottom: 12px;
}

.home-news-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  color: #d4a574;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.1em;
}

.home-news-title .en {
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

.home-news-more {
  font-size: 0.85rem;
  color: #d4a574;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-news-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.home-news-item:last-child {
  border-bottom: none;
}

.home-news-item.is-empty {
  color: #999;
  font-size: 0.9rem;
  padding: 14px 2px;
}

.home-news-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
  text-decoration: none;
  color: inherit;
}

.home-news-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}

.home-news-tag.is-quake {
  color: #f0c274;
  border-color: rgba(240, 194, 116, 0.5);
  background: rgba(240, 194, 116, 0.1);
}

.home-news-tag.is-cal {
  color: #9ac4ff;
  border-color: rgba(154, 196, 255, 0.45);
  background: rgba(154, 196, 255, 0.1);
}

.home-news-body {
  min-width: 0;
}

.home-news-name {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
}

.home-news-sub {
  display: block;
  font-size: 0.8rem;
  color: #999;
  margin-top: 3px;
  /* 長い本文は1行で切る（枠が伸びて入口カードを押し下げないように） */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------- スマートフォン --------------------------- */

@media (max-width: 900px) {
  .home-news {
    margin: 0 15px 40px;
    padding: 16px 18px 14px;
  }

  .home-news-link {
    align-items: flex-start;
    gap: 10px;
    padding: 13px 0;
  }

  .home-news-tag {
    margin-top: 2px;
  }

  .news-block-title {
    font-size: 1.2rem;
  }
}
