@charset "UTF-8";
/**
 * お知らせのタブ（トップのNEWS・/news/ 一覧）
 * 出力: inc/external-news.php の petlog_news_render_tabnav / petlog_news_render_top_tabs
 */
.news-tabs {
  margin: 0 0 30px;
}
.news-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.news-tabs__link {
  height: 40px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #C52F33;
  border-radius: 50px;
  background: transparent;
  color: #C52F33;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.news-tabs__link:hover,
.news-tabs__link.is-current {
  background: #C52F33;
  color: #EBEBEB;
  opacity: 1 !important;
}
/* /news/ 一覧はタブを下の一覧（幅800・中央）と左端をそろえる */
@media only screen and (min-width: 768px) {
  .sub .news-tabs {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}
.news-tabs__panel[hidden] {
  display: none;
}
.news-tabs__empty {
  padding: 50px 0;
  border-bottom: 1px solid;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}
@media only screen and (max-width: 767px) {
  .news-tabs {
    margin: 0 -20px 20px;
  }
  /* スマホは1行のまま横にスクロール */
  .news-tabs__list {
    padding: 0 20px 6px;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .news-tabs__list::-webkit-scrollbar {
    display: none;
  }
  .news-tabs__link {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }
  .news-tabs__empty {
    padding: 36px 0;
    font-size: 14px;
  }
}
