/* ============================================================
 * TOP ピン留めニュース枠（front-page.php .sec-news-pin）
 *
 * 2列グリッド。件数が奇数のときは最後の1件を横幅いっぱいにする。
 *   1件: 全幅 / 2件: 2分割 / 3件: 2分割＋全幅 / 4件: 2分割×2段 …
 * SP（991px以下）は全件1列。
 * ============================================================ */

.sec-news-pin {
  border-top: 1px solid #123;
  padding-top: 30px;
  padding-bottom: 30px;
}
/* 直後の News セクションは上余白を詰める（.sec-bnr+.sec と同じ扱い）。罫線はそのまま区切りに使う */
.sec-news-pin + .sec {
  margin-top: 0 !important;
}

.news-pin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-pin-list > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.news-pin-body {
  align-items: center;
  background-color: #f6d3e4;
  color: #123;
  display: flex;
  gap: 10px;
  height: 100%;
  line-height: 1.5;
  padding: 0.8em 1.2em;
  transition: 0.1s all ease-out;
}
.news-pin-body:hover,
.news-pin-body.is-hover {
  background-color: #c51477;
  color: #fff;
  opacity: 1;
}

/* ⓘ アイコン */
.news-pin-icon {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  font-family: "Libre Caslon Display", serif;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  width: 18px;
  height: 18px;
}

/* 長いタイトルは折り返して全文表示 */
.news-pin-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .news-pin-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 767px) {
  .sec-news-pin {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .news-pin-body {
    font-size: 93.75%;
  }
}
