.notice-item {
  cursor: pointer;
  padding: 24px;
  border-bottom: 1px solid var(--color-neutral--light-grey);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.notice-item__title {
  font-size: var(--content-size-m);
  font-weight: 700;
  line-height: 130%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-neutral--grey);
  transition: all .50s cubic-bezier(.475,.425,0,.995);
  gap: 0.25rem;
}
.notice-item__title span {
  flex: 1;
}
.notice-item.js-active .notice-item__title {
  color: var(--color-brand--dark-orange-2);
}
.notice-item__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background: url('../../images/notice-item/arrow-closed.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all .50s cubic-bezier(.475,.425,0,.995);
}
.notice-item.js-active .notice-item__title::after  {
  background: url('../../images/notice-item/arrow-open.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.notice-item__text {
  color : var(--color-neutral--dark-grey);
  font-size: var(--content-size);
  line-height: 160%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(27px);
  transition: all .50s cubic-bezier(.475,.425,0,.995);
  scrollbar-width: thin;
  scrollbar-color: var(--color-neutral--grey) var(--color-neutral--white);
}
.notice-item__text p {
  font-size: var(--content-size);
  line-height: 160%;
}
.notice-item.js-active .notice-item__text {
  opacity: 1;
}
.notice-item__text ul {
 padding-left: 16px;
}
.notice-item .notice-item__text p:first-child {
  margin-top: 0;
}
@supports selector(::-webkit-scrollbar) {
  .notice-item__text {
    scrollbar-width: unset;
    scrollbar-color: unset;
    margin-bottom: 1rem;
  }
  /* width */
  .notice-item__text::-webkit-scrollbar {
    width: 6px;
    margin-bottom: 1rem;
  }
  .notice-item__text::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--color-neutral--white);
    margin-bottom: 1rem;
  }
  /* Handle */
  .notice-item__text::-webkit-scrollbar-thumb {
    background: var(--color-neutral--grey);
    border-radius: 300px;
    margin-bottom: 1rem;
  }
}

@media all and (min-width: 1000px){
  .notice-item__title {
    font-size: var(--heading-size-xs);
    line-height: 130%;
  }

}
