/* =========================================================
   新台導入日一覧：今年・過去年度アーカイブ
   shindai.css の末尾へ追加
========================================================= */

.mm-new-year-shortcuts {
  margin: 18px 0 26px;
  padding: 16px;
  border: 1px solid #dbe3e8;
  border-radius: 12px;
  background: #fff;
}

.mm-new-year-shortcuts > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}

.mm-new-year-shortcuts__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mm-new-year-shortcuts__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #10b9a8;
  border-radius: 999px;
  background: #fff;
  color: #087d73;
  font-weight: 700;
  text-decoration: none;
}

.mm-new-year-shortcuts__links a span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
}

.mm-new-past-year {
  margin-bottom: 16px;
  padding: 0;
  overflow: hidden;
}

.mm-new-past-year > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  background: #f7f9fa;
}

.mm-new-past-year > summary::-webkit-details-marker {
  display: none;
}

.mm-new-past-year > summary::after {
  content: "＋";
  margin-left: auto;
  color: #087d73;
  font-size: 20px;
  font-weight: 700;
}

.mm-new-past-year[open] > summary::after {
  content: "－";
}

.mm-new-past-year > summary span {
  color: #6b7280;
  font-size: 13px;
}

.mm-new-past-year .mm-new-date-group {
  padding: 0 16px 18px;
}

.mm-new-year-month-group {
  scroll-margin-top: 90px;
}

@media (max-width: 767px) {
  .mm-new-year-shortcuts {
    padding: 14px;
  }

  .mm-new-year-shortcuts__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mm-new-year-shortcuts__links a {
    justify-content: center;
    padding: 8px 6px;
  }

  .mm-new-year-shortcuts__links a span {
    display: none;
  }

  .mm-new-past-year > summary {
    padding: 14px;
  }

  .mm-new-past-year .mm-new-date-group {
    padding: 0 10px 14px;
  }
}
/* =========================================================
   新台一覧 v3：画像・件数・シェアボタン補強
========================================================= */

.mm-new-page-visual {
  min-height: 180px;
  overflow: hidden;
  border-radius: 12px;
  background: #111827;
}

.mm-new-page-visual .mm-visual__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}

.mm-new-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: contain;
}

.mm-new-card__badge--site {
  background: #111827;
  color: #fff;
}

.mm-new-date-group__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mm-new-date-group__counts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.mm-new-date-group__counts b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 12px;
  line-height: 1;
}

.mm-share-panel {
  margin-top: 30px;
  padding: 18px;
  border: 1px solid #dbe3e8;
  border-radius: 12px;
  background: #fff;
}

.mm-share-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mm-share-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

.mm-share-button--x {
  background: #111;
}

.mm-share-button--line {
  background: #06c755;
}

.mm-share-button--hatena {
  background: #00a4de;
}

.mm-share-button__hatena {
  font-weight: 900;
}

@media (max-width: 767px) {
  .mm-new-page-visual,
  .mm-new-page-visual .mm-visual__img {
    min-height: 120px;
  }

  .mm-new-date-group__title {
    align-items: flex-start;
  }

  .mm-share-buttons {
    grid-template-columns: 1fr;
  }
}

