@font-face {
  font-family: AnnouncementHeading;
  src: url("../fonts/Inter-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SFU Futura Heavy";
  src: url("../fonts/SFU-Futura-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
.announcements-page .site-header {
  height: 62px;
  background: #fff;
  color: #1d1d1d;
}
.announcements-page .site-header__inner, .announcements-page .site-header__nav {
  height: 62px;
}
.announcements-page .site-header__brand img:first-child {
  filter: brightness(0) saturate(100%) invert(33%) sepia(95%) saturate(4364%) hue-rotate(338deg) brightness(99%) contrast(94%);
}
.announcements-page .site-header__brand img:last-child, .announcements-page #search-toggle img, .announcements-page .site-header__mobile-search img {
  filter: brightness(0);
}
.announcements-page .site-header__menu-button span {
  background: #1d1d1d;
}
.announcements-page .site-header__mobile {
  top: 62px;
  background: #fff;
  color: #1d1d1d;
}
.announcements-page .site-header__mega-menu {
  top: 62px;
}

.announcements {
  padding-top: 64px;
  color: #1d1d1d;
  font: 16px/1.4 MorinagaFallback, Arial, sans-serif;
}

.announcements * {
  box-sizing: border-box;
}

.announcements a:focus-visible, .announcements button:focus-visible, .announcements select:focus-visible {
  outline: 3px solid #0f2751;
  outline-offset: 4px;
}

.announcements__hero {
  background: #f62837;
  color: #fff;
  min-height: 240px;
  padding: 55px 24px 54px;
  text-align: center;
}

.announcements h1 {
  width: 546px;
  max-width: 100%;
  min-height: 64px;
  margin: 0 auto;
  font: 900 52px/64px AnnouncementHeading, MorinagaFallback, Arial, sans-serif;
  font-synthesis: none;
}

.announcements__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.announcements__tabs a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 43px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  text-decoration: none;
}

.announcements__tabs a[aria-current], .announcements__tabs a:hover {
  color: #fff;
  border-color: #fff;
}

.announcements__tabs a[aria-current] {
  border-width: 2px;
  padding: 8px 15px;
  font-weight: 700;
}

.announcements__content {
  width: min(1120px, 100% - 64px);
  margin: 40px auto 76px;
  font-family: "SFU Futura Heavy", MorinagaFallback, Arial, sans-serif;
  font-weight: 900;
  font-synthesis: none;
}

.announcements__filters {
  display: grid;
  grid-template-columns: minmax(0, 355px) minmax(0, 355px) 108px;
  align-items: center;
  gap: 18px;
  max-width: 868px;
  margin: 0 auto 40px;
}

.announcement-dropdown {
  position: relative;
  min-width: 0;
  color: #4e4e4e;
}

.announcement-dropdown summary {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 10px 56px 10px 24px;
  border: 1px solid #1d1d1d;
  border-radius: 3px;
  background: #fff url("../figma/product-announcements/arrow-down.svg") right 24px center/20px 20px no-repeat;
  color: #1d1d1d;
  font: 400 16px/22px MorinagaFallback, Arial, sans-serif;
  cursor: pointer;
  list-style: none;
}

.announcement-dropdown summary::-webkit-details-marker {
  display: none;
}

.announcement-dropdown summary:focus-visible {
  outline: 3px solid #0f2751;
  outline-offset: 4px;
}

.announcement-dropdown__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 0;
  border-radius: 4px 0 0 4px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.announcement-dropdown__panel--date {
  top: calc(100% + 13px);
  min-height: 376px;
  gap: 40px;
  color: #4e4e4e;
  font: 400 16px/22px MorinagaFallback, Arial, sans-serif;
  box-shadow: 0 4px 15px 3px rgba(0, 0, 0, 0.1);
}

.announcement-dropdown__panel--date .announcement-dropdown__option {
  color: #000;
}

.announcement-dropdown__panel--date .announcement-dropdown__option:first-of-type {
  color: #4e4e4e;
}

.announcement-dropdown__panel--date .announcement-dropdown__option input:checked + span {
  color: #f62837;
}

.announcement-dropdown__panel--date .announcement-dropdown__dates {
  gap: 12px;
  margin-top: -8px;
}

.announcement-dropdown__panel--date .announcement-dropdown__date {
  height: 46px;
  border-radius: 3px;
}

.announcement-dropdown__panel--date .announcement-dropdown__date input::-webkit-calendar-picker-indicator {
  width: 16px;
  height: 16px;
  padding: 0;
}

.announcement-dropdown__panel--sort {
  top: calc(100% + 13px);
  gap: 24px;
  font: 400 16px/22px MorinagaFallback, Arial, sans-serif;
  box-shadow: 0 4px 15px 3px rgba(0, 0, 0, 0.1);
}

.announcement-dropdown__modes {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.announcement-dropdown__option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 22px;
  cursor: pointer;
}

.announcement-dropdown__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.announcement-dropdown__option span {
  font: inherit;
  line-height: 22px;
}

.announcement-dropdown__option input:checked + span, .announcement-dropdown__option:hover span {
  color: #f62837;
}

.announcement-dropdown__option input:focus-visible + span {
  outline: 2px solid #0f2751;
  outline-offset: 5px;
}

.announcement-dropdown__dates {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -12px;
}

.announcement-dropdown__date {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid #afafaf;
  border-radius: 4px;
}

.announcement-dropdown__date input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 22px;
}

.announcement-dropdown__date [data-date-placeholder] {
  display: none;
  position: absolute;
  left: 16px;
  color: #8e8e8e;
  pointer-events: none;
}

.announcement-dropdown__date input[type=text] {
  padding-right: 48px;
}

.announcement-dropdown__date input::placeholder {
  color: #8e8e8e;
  opacity: 1;
}

.announcement-dropdown__date input[data-date-picker] {
  position: absolute;
  right: 16px;
  width: 20px;
  height: 24px;
  padding: 0;
  color: transparent;
}

.announcement-dropdown__date input[data-date-picker]::-webkit-datetime-edit {
  display: none;
}

.announcements__filters .announcements__search, .announcements__filters .announcements__confirm {
  height: 54px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: #f62837;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.announcements__filters .announcements__search {
  width: 108px;
  margin-left: 14px;
}

.announcements__filters .announcements__confirm {
  width: 100%;
  flex: none;
}

.announcements__filters .announcements__search:hover, .announcements__filters .announcements__confirm:hover {
  background: #d91e2c;
}

.announcements__filter-error {
  margin: 0 0 24px;
  color: #c41524;
}

.announcements__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.announcements__table th {
  height: 56px;
  padding: 8px 16px;
  background: #f2f2f2;
  font-size: 18px;
  font-weight: 900;
  text-align: left;
}

.announcements__table th:first-child {
  width: calc(100% - 480px);
}

.announcements__table th:nth-child(2), .announcements__table th:nth-child(3) {
  width: 240px;
  text-align: center;
}

.announcements__table td {
  padding: 16px;
  vertical-align: top;
  background: url("../figma/product-announcements/line.svg") left bottom/100% 1px no-repeat;
}

.announcements__table tr:last-child td {
  background: none;
}

.announcements__table td:not(:first-child) {
  color: #8e8e8e;
  text-align: center;
}

.announcements__table td[data-label] time {
  font: 400 1em/22px MorinagaFallback, Arial, sans-serif;
}

.announcements__table h2 {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 568px;
  min-height: 40px;
  margin: 0 0 4px;
  font-family: "SFU Futura Heavy", MorinagaFallback, Arial, sans-serif;
  font-size: 18px;
  line-height: 26px;
  font-weight: 900;
  font-synthesis: none;
  overflow-wrap: anywhere;
}

.announcements__documents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-left: 8px;
}

.announcements__documents a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: #0088ff;
  font-size: 18px;
  line-height: 26px;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.announcements__documents a:hover {
  color: #006ac7;
}

.announcements__table .announcements__empty {
  padding: 48px 16px;
  text-align: center;
  color: #4e4e4e;
}

.announcements__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.announcements__pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f4f4f4;
  color: #1d1d1d;
  text-decoration: none;
}

.announcements__pagination a[aria-current], .announcements__pagination a:hover {
  color: #f62837;
}

@media (max-width: 1050px) {
  .announcements__table th:first-child {
    width: 60%;
  }
  .announcements__table th:nth-child(2), .announcements__table th:nth-child(3) {
    width: 20%;
  }
  .announcements__filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 108px;
    margin-right: 14px;
  }
}
@media (max-width: 700px) {
  .announcements__hero {
    min-height: 230px;
    padding: 40px 16px;
  }
  .announcements h1 {
    width: auto;
    min-height: 40px;
    font-size: 28px;
    line-height: 40px;
  }
  .announcements__tabs {
    gap: 8px;
    margin-top: 20px;
  }
  .announcements__tabs a {
    min-height: 44px;
    font-size: 12px;
    padding: 10px 12px;
  }
  .announcements__tabs a[aria-current] {
    padding: 9px 11px;
  }
  .announcements__content {
    width: calc(100% - 32px);
    margin-top: 28px;
    margin-bottom: 56px;
  }
  .announcements__filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 28px;
  }
  .announcements__filters .announcements__search {
    width: 100%;
    height: 48px;
    margin: 0;
  }
  .announcements__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .announcements__table, .announcements__table tbody {
    display: block;
  }
  .announcements__table tr {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid #afafaf;
  }
  .announcements__table tr:first-child {
    border-top: 1px solid #afafaf;
  }
  .announcements__table td {
    display: block;
    padding: 0;
    background: none;
  }
  .announcements__table td:first-child {
    width: 100%;
    padding-bottom: 12px;
  }
  .announcements__table td:not(:first-child) {
    width: 50%;
    padding: 4px 12px 0 0;
    text-align: left;
    font-size: 14px;
  }
  .announcements__table td[data-label]::before {
    display: block;
    margin-bottom: 4px;
    color: #4e4e4e;
    content: attr(data-label);
    font-weight: 700;
  }
  .announcements__table h2 {
    font-size: 16px;
    line-height: 25px;
  }
  .announcements__documents {
    padding: 0;
  }
  .announcements__documents a {
    min-height: 44px;
    font-size: 15px;
    line-height: 24px;
  }
  .announcements__pagination {
    gap: 12px;
    margin-top: 28px;
  }
  .announcements__pagination a {
    width: 40px;
    height: 40px;
  }
  .announcements__table .announcements__empty {
    width: 100%;
  }
}
