.selection-summary {
    display: block;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.selection-summary__inner {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.selection-summary__button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 2.65rem;
    padding: 0;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.selection-summary__button:focus-visible {
    outline: 2px solid #5a378c;
    outline-offset: 2px;
}

.selection-summary__button:hover {
    color: #495057;
}

.selection-summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background-color: rgba(90, 55, 140, 0.1);
    color: #5a378c;
    font-size: 0.875rem;
}

.selection-summary__text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    color: #6c757d;
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
}

.selection-summary__label {
    font-weight: 700;
}

.selection-summary__value {
    color: #343a40;
    font-weight: 700;
}

.selection-summary__divider {
    color: #adb5bd;
}

.selection-summary__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 2rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(90, 55, 140, 0.28);
    border-radius: 999px;
    color: #5a378c;
    font-size: 0.8125rem;
    font-weight: 800;
    white-space: nowrap;
}

.selection-summary__button:hover .selection-summary__action,
.selection-summary__button:focus-visible .selection-summary__action {
    background-color: rgba(90, 55, 140, 0.08);
}

@media (max-width: 767.98px) {
    .selection-summary__inner {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .selection-summary__button {
        gap: 0.5rem;
        min-height: 2.75rem;
    }

    .selection-summary__icon {
        width: 1.625rem;
        height: 1.625rem;
        font-size: 0.8125rem;
    }

    .selection-summary__text {
        gap: 0.25rem;
        font-size: 0.8125rem;
        line-height: 1.35;
    }

    .selection-summary__label,
    .selection-summary__divider {
        display: none;
    }

    .selection-summary__value ~ .selection-summary__value::before {
        content: "/";
        margin-right: 0.25rem;
        color: #adb5bd;
        font-weight: 400;
    }

    .selection-summary__action {
        min-height: 1.875rem;
        padding-inline: 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 420px) {
    .selection-summary__action {
        min-width: 3rem;
        padding-inline: 0.55rem;
        font-size: 0;
    }

    .selection-summary__action::before {
        content: "変更";
        font-size: 0.75rem;
        color: #5a378c;
    }
}
.news-hub {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.news-hub__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.news-hub__copy {
  min-width: 0;
}

.news-hub__eyebrow {
  color: #5a378c;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.news-hub__title {
  color: #1f2937;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
}

.news-hub__lead {
  max-width: 52rem;
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.55;
}

.news-hub__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.625rem;
  color: #6c757d;
  font-size: 0.8125rem;
}

.news-hub__status span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.1rem 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background-color: #f8f9fa;
}

.news-hub__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.news-hub__nav,
.news-hub__tools,
.news-hub__groups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.news-hub__link,
.news-hub__group-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background-color: #ffffff;
  color: #343a40;
  font-weight: 700;
  text-decoration: none;
}

.news-hub__link--button {
  cursor: pointer;
  font: inherit;
}

.news-hub__link:disabled,
.news-hub__link[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.news-hub__link--unconfigured {
  border-color: rgba(90, 55, 140, 0.28);
  color: #5a378c;
}

.news-hub__link {
  gap: 0.4rem;
  padding: 0.3rem 0.72rem;
  font-size: 0.875rem;
}

.news-hub__link--compact {
  min-height: 2rem;
  padding: 0.2rem 0.55rem;
  background-color: #f8f9fa;
  color: #495057;
  font-size: 0.8125rem;
  font-weight: 700;
}

.news-hub__group-link {
  min-height: 2rem;
  padding: 0.22rem 0.65rem;
  background-color: #f8f9fa;
  font-size: 0.85rem;
}

.news-hub__groups-label {
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.news-hub__link:hover,
.news-hub__link:focus-visible,
.news-hub__group-link:hover,
.news-hub__group-link:focus-visible {
  border-color: rgba(90, 55, 140, 0.38);
  background-color: rgba(90, 55, 140, 0.07);
  color: #3d2863;
  outline: none;
}

.news-hub__link:focus-visible,
.news-hub__group-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(90, 55, 140, 0.18);
}

.news-hub__link--active,
.news-hub__group-link--active {
  border-color: #343045;
  background-color: #343045;
  color: #ffffff;
}

.news-hub__link-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.08);
  color: #343a40;
  font-size: 0.75rem;
  line-height: 1;
}

.news-hub__link--active .news-hub__link-count {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.news-hub__link--active:hover,
.news-hub__link--active:focus-visible,
.news-hub__group-link--active:hover,
.news-hub__group-link--active:focus-visible {
  background-color: #1f1b2e;
  color: #ffffff;
}

@media (min-width: 992px) {
  .news-hub__inner {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.46fr);
    align-items: center;
    gap: 0.75rem 1rem;
  }

  .news-hub__actions {
    align-items: flex-end;
  }

  .news-hub__tools,
  .news-hub__nav {
    justify-content: flex-end;
  }

  .news-hub__groups {
    grid-column: 1 / -1;
    gap: 0.35rem;
  }
}

@media (max-width: 767.98px) {
  .news-hub__inner {
    gap: 0.45rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .news-hub__eyebrow {
    display: none;
  }

  .news-hub__title {
    margin-bottom: 0.25rem !important;
    font-size: 1rem;
    line-height: 1.25;
  }

  .news-hub__lead {
    display: -webkit-box;
    max-height: 1.25rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .news-hub__status {
    display: none;
  }

  .news-hub__actions {
    gap: 0.35rem;
  }

  .news-hub__groups {
    display: none;
  }

  .news-hub__link--mobile-secondary:not(.news-hub__link--active) {
    display: none;
  }

  .news-hub__link--mobile-order-1 {
    order: 1;
  }

  .news-hub__link--mobile-order-2 {
    order: 2;
  }

  .news-hub__link--mobile-order-3 {
    order: 3;
  }

  .news-hub__link--mobile-order-4 {
    order: 4;
  }

  .news-hub__status::-webkit-scrollbar,
  .news-hub__nav::-webkit-scrollbar,
  .news-hub__tools::-webkit-scrollbar,
  .news-hub__groups::-webkit-scrollbar {
    display: none;
  }

  .news-hub__nav,
  .news-hub__tools,
  .news-hub__groups {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.125rem;
    scrollbar-width: none;
  }

  .news-hub__link {
    flex: 0 0 auto;
    padding-inline: 0.5rem;
    font-size: 0.8125rem;
  }

  .news-hub__link--compact {
    padding-inline: 0.5rem;
    font-size: 0.78rem;
  }

  .news-hub__group-link {
    flex: 0 0 auto;
    font-size: 0.8125rem;
  }

  .news-hub__groups-label {
    flex: 0 0 auto;
  }

  .news-hub__link i {
    font-size: 0.875rem;
  }
}
