.top {
  --background-fade-duration: 0.8s;
  --background-progress: 0;
  background-color: #090836;
  isolation: isolate;
}

.top__background {
  position: fixed;
  background: #fff;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  z-index: -1;
}

.top[data-background] .top__lower {
  background: transparent;
}
.top[data-background] .top__introduction,
.top[data-background] .top__creators {
  transition: color var(--background-fade-duration) ease-in-out;
}
.top[data-background=light] {
  --background-progress: 1;
}
.top[data-background=light] .top__introduction {
  color: #090836;
}
.top[data-background=light] .top__creators {
  color: #6898ff;
}
.top[data-background=light] .top__footprint {
  background-color: #090836;
}

.top__background__stars {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  position: absolute;
  transition: opacity var(--background-fade-duration) ease-in-out;
  width: 100%;
  z-index: 3;
}
.top__background__stars.-dark {
  background: url(/hoshinoashiato/assets/img/page/top/background/bg_stars_top.webp) top/250% auto no-repeat, url(/hoshinoashiato/assets/img/page/top/background/bg_stars_bottom.webp) bottom/250% auto no-repeat;
  background-color: #090836;
  opacity: calc(1 - var(--background-progress));
}
@media (min-width: 835px) {
  .top__background__stars.-dark {
    background-size: 100% auto, 100% auto;
  }
}

.top__background__glow {
  --glow-size: clamp(560px, 78vmax, 1400px);
  animation: background-drift 126s ease-in-out infinite;
  background: radial-gradient(circle closest-side, rgba(var(--glow-color), 0.8) 0%, rgba(var(--glow-color), 0.64) 20%, rgba(var(--glow-color), 0.28) 45%, rgba(var(--glow-color), 0.08) 65%, rgba(var(--glow-color), 0) 80%);
  border-radius: 50%;
  height: var(--glow-size);
  left: calc(var(--glow-size) * -0.5);
  opacity: calc(0.1 + var(--background-progress) * 0.6);
  position: absolute;
  top: calc(var(--glow-size) * -0.5);
  transition: opacity var(--background-fade-duration) ease-in-out;
  width: var(--glow-size);
  will-change: transform;
  z-index: 1;
}
.top__background__glow.-pink {
  --glow-color: 255, 229, 246;
  animation-delay: -32s;
}
.top__background__glow.-yellow {
  --glow-color: 255, 254, 213;
  animation-delay: -86s;
  animation-direction: reverse;
  animation-duration: 164s;
}
.top__background__glow.-blue {
  --glow-color: 213, 230, 255;
  animation-delay: -68s;
  animation-duration: 148s;
}
.top__background__glow.-extra {
  display: none;
}
@media (min-width: 835px) {
  .top__background__glow.-extra {
    display: block;
  }
}
.top__background__glow.-extra.-pink {
  animation-delay: -95s;
}
.top__background__glow.-extra.-yellow {
  animation-delay: -168s;
}
.top__background__glow.-extra.-blue {
  animation-delay: -142s;
}

@keyframes background-drift {
  0%, 100% {
    transform: translate3d(6vw, 18vh, 0);
  }
  25% {
    transform: translate3d(60vw, 32vh, 0);
  }
  50% {
    transform: translate3d(78vw, 74vh, 0);
  }
  75% {
    transform: translate3d(24vw, 65vh, 0);
  }
}
.top__lower {
  background: rgba(237, 240, 255, 0.35);
}

.top__background.-paused .top__background__glow {
  animation-play-state: paused;
}

body.news {
  --background-progress: 1;
  --sectiontitle-color: #add6ff;
  background-color: #fffff7;
  color: #0e0d33;
  isolation: isolate;
}

.news__main {
  padding: 102px 32px 240px;
}
@media (max-width: 834px) {
  .news__main {
    padding: 110px 32px 160px;
  }
}
.news__main > .c-sectiontitle {
  left: auto;
  min-height: 141px;
  transform: none;
  width: 304px;
  max-width: 100%;
}
@media (max-width: 834px) {
  .news__main > .c-sectiontitle {
    min-height: 123px;
    width: 297px;
  }
}
.news__main .c-sectiontitle__en.-mask {
  background-color: var(--sectiontitle-color);
  -webkit-mask: var(--sectiontitle-image) center/contain no-repeat;
          mask: var(--sectiontitle-image) center/contain no-repeat;
  width: 100%;
}
.news__main .c-sectiontitle__en.-mask img {
  opacity: 0;
  width: 100%;
}
.news__main .c-sectiontitle__en.-mask.-handwriting {
  background: none;
  -webkit-mask: none;
          mask: none;
}
.news__main .c-sectiontitle__ja {
  font-size: 18px;
  top: 49px;
}
@media (max-width: 834px) {
  .news__main .c-sectiontitle__ja {
    font-size: 16px;
    top: 46px;
  }
}

.news.-animations-skipped .c-sectiontitle__en {
  animation: none;
  opacity: 1;
}

.news .l-official {
  animation: none;
  opacity: 1;
  visibility: visible;
}
@media (min-width: 835px) {
  .news .l-official {
    right: 30px;
  }
}

.news__content {
  margin: 53px auto 0;
  max-width: 1114px;
}
@media (max-width: 834px) {
  .news__content {
    margin-top: 36px;
  }
}

.newslist {
  position: relative;
}
.newslist::after {
  position: absolute;
  left: 0;
  background: url(/hoshinoashiato/assets/img/common/line/line_brush.webp) center/100% 100% no-repeat;
  content: "";
  height: 2px;
  pointer-events: none;
  width: 100%;
  bottom: 0;
}

.newslist__link {
  align-items: center;
  display: grid;
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 8px;
  grid-template-columns: minmax(0, 1fr) 12px;
  min-height: 114px;
  padding: 32px 16px;
  position: relative;
}
.newslist__link::before {
  position: absolute;
  left: 0;
  background: url(/hoshinoashiato/assets/img/common/line/line_brush.webp) center/100% 100% no-repeat;
  content: "";
  height: 2px;
  pointer-events: none;
  width: 100%;
  top: 0;
}
.newslist__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@media (max-width: 834px) {
  .newslist__link {
    min-height: 118px;
    padding-block: 24px;
  }
}
.newslist__link::after {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  content: "";
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.2s;
}
.newslist__link:hover::after {
  opacity: 1;
}

.newslist__date,
.detail__date {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  opacity: 0.5;
}

.newslist__date {
  grid-column: 1;
}
@media (max-width: 834px) {
  .newslist__date {
    font-size: 14px;
  }
}

.newslist__title {
  font-size: 16px;
  font-weight: 400;
  font-feature-settings: "halt";
  grid-column: 1;
  letter-spacing: 0.05em;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 834px) {
  .newslist__title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-size: 15px;
    min-height: 48px;
    white-space: normal;
  }
}

.newslist__arrow {
  background: url(/hoshinoashiato/assets/img/common/line/arrow_item.svg) center/10.3923px 9px no-repeat;
  grid-column: 2;
  grid-row: 1/3;
  height: 12px;
  transform: rotate(90deg);
  width: 12px;
}

.newslist__empty {
  padding: 40px 0;
  text-align: center;
}

.news__content .c-paging {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 20px;
  font-weight: 500;
  gap: 4px;
  justify-content: center;
  margin: 64px 0 0;
}
@media (max-width: 834px) {
  .news__content .c-paging {
    font-size: 16px;
    gap: 0;
  }
}

.news__content .c-paging__number {
  display: grid;
  height: 46px;
  place-items: center;
  position: relative;
  width: 46px;
}
.news__content .c-paging__number.-active::before {
  background: url(/hoshinoashiato/assets/img/common/line/circle_paging.webp) center/contain no-repeat;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
@media (max-width: 834px) {
  .news__content .c-paging__number {
    height: 40px;
    width: min(8.2vw, 32px);
  }
  .news__content .c-paging__number.-active::before {
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
  }
}

.news-paging__arrow {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  height: 44px;
  justify-content: center;
  margin-left: 40px;
  width: 37px;
}
.news-paging__arrow::before {
  background: url(/hoshinoashiato/assets/img/common/line/arrow_paging.webp) center/contain no-repeat;
  content: "";
  height: 13.875px;
  width: 37px;
}
.news-paging__arrow.-previous {
  margin-left: 0;
  margin-right: 40px;
  transform: scaleX(-1);
}
.news-paging__arrow.-disabled {
  opacity: 0.3;
}
@media (max-width: 834px) {
  .news-paging__arrow {
    margin-left: min(6.15vw, 24px);
  }
  .news-paging__arrow.-previous {
    margin-right: min(6.15vw, 24px);
  }
}
@media (max-width: 360px) {
  .news-paging__arrow {
    margin-left: 12px;
  }
  .news-paging__arrow.-previous {
    margin-right: 12px;
  }
}

.detail .c-paging {
  gap: 0;
}
@media (max-width: 834px) {
  .detail .c-paging {
    font-size: 20px;
  }
}

.detail__header {
  padding: 48px 16px;
  position: relative;
}
.detail__header::before, .detail__header::after {
  position: absolute;
  left: 0;
  background: url(/hoshinoashiato/assets/img/common/line/line_brush.webp) center/100% 100% no-repeat;
  content: "";
  height: 2px;
  pointer-events: none;
  width: 100%;
}
.detail__header::before {
  top: 0;
}
.detail__header::after {
  bottom: 0;
}

.detail__back {
  align-items: center;
  display: inline-flex;
  font-size: 16px;
  gap: 8px;
  letter-spacing: 0.05em;
  line-height: 26px;
  margin-bottom: 16px;
  padding-inline: 16px;
}
.detail__back::before {
  background: url(/hoshinoashiato/assets/img/common/line/arrow_brush.webp) center/contain no-repeat;
  content: "";
  height: 10.875px;
  transform: scaleX(-1);
  width: 29px;
}

.detail__date {
  display: block;
  font-size: 18px;
}

.detail__title {
  font-feature-settings: "halt";
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.detail__body {
  font-feature-settings: "halt";
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin-top: 64px;
  overflow-wrap: anywhere;
  padding: 0 24px 64px;
  position: relative;
}
.detail__body::after {
  position: absolute;
  left: 0;
  background: url(/hoshinoashiato/assets/img/common/line/line_brush.webp) center/100% 100% no-repeat;
  content: "";
  height: 2px;
  pointer-events: none;
  width: 100%;
  bottom: 0;
}
@media (max-width: 834px) {
  .detail__body {
    padding-inline: 0;
  }
}
.detail__body p {
  margin-block: 1em;
}
.detail__body > :first-child {
  margin-top: 0;
}
.detail__body > :last-child {
  margin-bottom: 0;
}
.detail__body img,
.detail__body iframe,
.detail__body video {
  max-width: 100%;
}
.detail__body a {
  color: #2a5fbc;
  text-decoration: underline;
}
.detail__body ul,
.detail__body ol {
  padding-left: 1.5em;
}
.detail__body ul > li {
  list-style: disc;
}
.detail__body ol > li {
  list-style: decimal;
}