/* カテゴリタブ */
.news-category-tabs {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin: 20px auto 0;
  max-width: 700px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* SPはプルダウン表示 */
.news-category-tabs.sp {
  display: none;
}
.s .news-category-tabs.pc {
  display: none;
}
.s .news-category-tabs {
  display: block;
  max-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.s .news-category-tabs .news-category-dropdown {
  position: relative;
  width: 100%;
}
.s .news-category-tabs .news-category-select {
  position: relative;
  display: block;
  width: 100%;
  font-size: 0.813rem /* 13px (基準16px) */;
  font-weight: 700;
  padding: 12px 38px 12px 16px;
  color: #0c72be;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 4px 4px 10px #00648042;
  cursor: pointer;
}

.s .news-category-tabs .news-category-select::-webkit-details-marker {
  display: none;
}

.s .news-category-tabs .news-category-select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 5%;
  width: 20px;
  height: 13px;
  transform: translateY(-50%);
  pointer-events: none;
  background: url(../../common/img/arrow-bottom-02.svg) no-repeat center;
  background-size: 100% 100%;
}

.s .news-category-tabs .news-category-dropdown[open] .news-category-select::after {
  transform: translateY(-50%) rotate(180deg);
}

.s .news-category-tabs .news-category-options {
  margin-top: 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 4px 4px 10px #00648042;
}

.s .news-category-tabs .news-category-option {
  display: block;
  width: 100%;
  padding: 12px 20px;
  font-size: 0.813rem /* 13px (基準16px) */;
  color: #222;
  text-decoration: none;
  background: #fff;
}
.s .news-category-tabs {
  width: 85%;
  margin: 10px auto 0;
}
.news-category-tabs .tab-item {
  position: relative;
  flex: 1;
  padding: 12px 20px;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #222;
  align-self: stretch;
  min-width: 0;
  overflow-wrap: anywhere;
}

.s .news-category-tabs .tab-item {
  font-size: 13px;
  padding: 12px 0;
  gap: 3px;
}
.news-category-tabs .tab-item:hover {
  background-color: #e0e0e0;
}
.news-category-tabs .tab-item.active {
  background: #0c72be;
  color: #fff;
  font-weight: 700;
}
.news-category-tabs .tab-item.active:first-child {
  border-radius: 8px 0 0 8px;
}
.news-category-tabs .tab-item.active:last-child {
  background: #0c72be;
  color: #fff;
  font-weight: 700;
  border-radius: 0 8px 8px 0;
}

/* .news-category-tabs .tab-icon {
  font-size: 20px;
} */
.news-category-tabs .tab-item-info:before {
  content: '';
  display: inline-block;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 22px;
  min-width: 22px;
  height: 20px;
  background: url('../../common/img/icon-info-off.svg') no-repeat center;
  background-size: 100% 100%;
}
.s .news-category-tabs .tab-item-info:before {
  width: 18px;
  min-width: 18px;
  height: 16px;
}
.news-category-tabs .tab-item-notice:before {
  content: '';
  display: inline-block;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 22px;
  min-width: 22px;
  height: 15px;
  background: url('../../common/img/icon-mail-off.svg') no-repeat center;
  background-size: 100% 100%;
}
.s .news-category-tabs .tab-item-notice:before {
  width: 18px;
  min-width: 18px;
  height: 12px;
}
.news-category-tabs .tab-item-ePark::before {
  content: '';
  display: inline-block;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 18px;
  min-width: 18px;
  height: 18px;
  background: url('../../common/img/icon-e-park.svg') no-repeat center;
  background-size: 100% 100%;
}
.s .news-category-tabs .tab-item-ePark::before {
  width: 14px;
  min-width: 14px;
  height: 14px;
}
/* 選択時はアイコンを切り替え */
.news-category-tabs .tab-item-info.active:before {
  background-image: url('../../common/img/icon-info-on.svg');
}
.news-category-tabs .tab-item-notice.active:before {
  background-image: url('../../common/img/icon-mail-on.svg');
}
/* 矢印は非アクティブ時は非表示 */
.news-category-tabs .tab-item .dli-caret-down {
  display: none;
}

/* アクティブなタブの矢印を表示 */
.news-category-tabs .tab-item.active .dli-caret-down {
  position: absolute;
  display: block;
  color: #0c72be;
  line-height: 1;
  border-style: solid;
  border-color: transparent;
  border-width: 12px 10px;
  border-top-color: currentColor;
  border-bottom: 0;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}
.s .news-category-tabs .tab-item.active .dli-caret-down {
  border-width: 10px 7.5px;
  bottom: -8px;
}
.news-archive-panel {
  width: 90%;
  border-radius: 24px;
  border: 2px solid #fff;
  background-color: #ffffff4d;
  margin: -30px auto 100px;
}
.s .news-archive-panel {
  width: 100%;
  margin: -12px auto 0;
  border: none;
}
.news-archive {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 70%;
  margin: 0 auto;
  padding: 50px 0;
  list-style: none;
}
.s .news-archive {
  width: 85%;
  padding: 28px 0;
}
.news-item {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 10px #00648042;
  position: relative;
}
.s .news-item {
  border-radius: 8px;
}
.news-item:hover {
  transform: scale(1.03);
}
.news-item a {
  display: block;
  width: 100%;
  color: #222;
  text-decoration: none;
  padding: 18px 20px;
}
.s .news-item a {
  padding: 12px 15px;
}
/* 日付 */
.c-text-panel__date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  font-size: 14px;
  color: #666;
}
.s .c-text-panel__date {
  font-size: 11px;
}
/* NEWアイコン */
.news-new-badge {
  display: inline-block;
  background-color: #df060a;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 0px 6px;
  border-radius: 12px;
  line-height: 1.4;
}
.s .news-new-badge {
  font-size: 9px;
  padding: 1px 6px;
}
.c-text-panel__header {
  display: flex;
  gap: 10px;
}
.s .c-text-panel__header {
  word-break: break-all;
  gap: 6px;
}
.news-category-icon {
  width: 58px;
  height: 20px;
}
.s .news-category-icon {
  width: 46.5px;
  height: 16px;
}
.news-item h3 {
  font-size: 16px;
  font-weight: 400;
}
.s .news-item h3 {
  font-size: 14px;
}
