.header {
  aspect-ratio: 780/400;
  background-color: #ec1014;
  margin: 3vw -9vw 0;
  opacity: 0;
  overflow: hidden;
  position: relative;
}
.header.-reveal {
  animation: ItemFadeIn 1s forwards;
}

.header__bg::before, .header__bg::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: url(/assets/img/special/countdown/bg_swirl_r.svg);
  line-height: 0;
  transition: all 2s;
  translate: -50% -50%;
  width: 77.9vw;
}
.header:not(.-reveal) .header__bg::before, .header:not(.-reveal) .header__bg::after {
  rotate: -60deg;
  scale: 0.7;
}

.header__inner {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
}
.-reveal .header__inner {
  animation: tapeInLeft 1s 0.5s forwards cubic-bezier(0.77, 0, 0.175, 1);
}

.header__logo {
  position: absolute;
  top: 1.7vw;
  right: 2.1vw;
  width: 24.9vw;
}

.header__title {
  position: absolute;
  top: 9.7vw;
  left: 4.3vw;
  background: url(/assets/img/special/countdown/bg_title_nrw.png) no-repeat 0/contain;
  height: 27.5vw;
  width: 91.4vw;
}
.header__title::before {
  position: absolute;
  top: 2.5vw;
  right: 0;
  content: url(/assets/img/special/countdown/bg_swirl_b_nrw.svg);
  line-height: 0;
  transition: all 1s 1s;
  width: 12.4vw;
}
.header:not(.-reveal) .header__title::before {
  opacity: 0;
  rotate: -60deg;
  scale: 0.4;
}

.header__title__inner {
  opacity: 0;
}
.header__title__inner * {
  display: block;
}
.header__title__inner img[src$="title_sign.svg"] {
  margin: 0.2vw 0 0 0.2vw;
  width: 40.1vw;
}
.header__title__inner img[src$="title_count.svg"] {
  margin: 0.7vw 0 0 6.4vw;
  width: 78.4vw;
}
.header__title__inner span {
  font-size: 2.3vw;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 1.1vw 5vw 0 0;
  text-align: right;
}
.-reveal .header__title__inner {
  animation: tapeInLeft 1s 1s forwards cubic-bezier(0.77, 0, 0.175, 1);
}

.header__date {
  position: absolute;
  left: -0.1em;
  bottom: -0.1em;
  color: #000;
  font-size: 9.8vw;
  letter-spacing: -0.15em;
  line-height: 0.82;
}
.header__date span {
  margin-left: 0.1em;
}

.header {
  aspect-ratio: initial;
  background-color: transparent;
}
.header picture {
  display: block;
  overflow: hidden;
}
.header img {
  display: block;
  opacity: 0;
  transform: scale(1.18);
  transform-origin: center;
  width: 100%;
}
.header.-reveal img {
  animation: xiconTitleImgIn 0.9s forwards cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes xiconTitleImgIn {
  0% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.xicon {
  margin-top: 9.2vw;
}

.xicon__txt {
  font-size: 4.6vw;
  font-weight: 500;
  line-height: 1.3888888889;
}

.xicon__note {
  color: #fff;
  display: block;
  font: 13px "Noto Sans JP";
  line-height: 1.7;
  position: relative;
  top: 15px;
}

.xicon__group {
  opacity: 0;
}
.xicon__group.-reveal {
  animation: xiconGroupFadeIn 0.8s forwards cubic-bezier(0.215, 0.61, 0.355, 1);
}

.xicon__list {
  display: grid;
  gap: 7.6vw 2.5vw;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 17.9vw;
}

.xicon__group + .xicon__group {
  margin-top: 15.3vw;
}

.xicon__item {
  font-weight: 500;
  justify-self: center;
  text-align: center;
  width: 25.6vw;
}

.xicon__name {
  font-family: YakuHanMP, "Noto Serif JP", serif;
  font-size: 3.5vw;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 2.5vw;
  text-align: center;
  width: 100%;
}

.xicon__link {
  color: #fff;
  display: block;
  position: relative;
  text-decoration: none;
}
.xicon__link::after {
  background-color: #d9ba6a;
  background-image: url(/assets/img/special/xicon/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 50%;
  bottom: -2.1vw;
  content: "";
  height: 10vw;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -2.1vw;
  transition: translate 0.3s ease;
  width: 10vw;
}
.xicon__group.-reveal .xicon__item.-img-loaded .xicon__link::after {
  animation: popIn 0.6s cubic-bezier(0.25, 0.9, 0.3, 1.4) forwards;
}

.xicon__ph {
  display: block;
  width: 100%;
}

@keyframes xiconGroupFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes popIn {
  0% {
    opacity: 0;
    scale: 0.7;
  }
  60% {
    opacity: 1;
    scale: 1.2;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}
@media (min-width: 780px) {
  .header {
    aspect-ratio: 1360/280;
    margin: 10px 0 0;
  }
  .header__bg::before, .header__bg::after {
    left: -11.6%;
    width: 47.5%;
  }
  .header__bg::after {
    left: 64.1%;
  }
  .-reveal .header__inner {
    animation-duration: 2s;
    animation-delay: 0s;
  }
  .header__logo {
    position: absolute;
    top: 5.7%;
    left: 0.9%;
    width: 12.6%;
  }
  .header__title {
    position: absolute;
    top: 8.5%;
    left: 19.9%;
    background-image: url(/assets/img/special/countdown/bg_title.png);
    height: 73.5%;
    width: 60%;
  }
  .header__title::before {
    content: url(/assets/img/special/countdown/bg_swirl_b.svg);
    top: 1.4%;
    width: 11.7%;
  }
  .header__title__inner img[src$="title_sign.svg"] {
    margin: 0.6% 0 0 0.1%;
    width: 31.4%;
  }
  .header__title__inner img[src$="title_count.svg"] {
    margin: -0.5% 0 0 7.4%;
    width: 85%;
  }
  .header__title__inner span {
    font-size: min(0.9vw, 15px);
    margin: 1.2% 5.8% 0 0;
  }
  .header__date {
    font-size: min(3.6vw, 58px);
    inset: -0.1em -0.1em -0.1em auto;
    letter-spacing: -0.12em;
    writing-mode: sideways-lr;
  }
  .xicon {
    margin-top: 62px;
  }
  .xicon__txt {
    font-size: 1.625rem;
  }
  .xicon__list {
    -moz-column-gap: 40px;
         column-gap: 40px;
    grid-template-columns: repeat(auto-fit, 176px);
    justify-content: center;
    margin: 80px auto 0;
    max-width: 1256px;
    row-gap: 40px;
    width: 100%;
  }
  .xicon__group + .xicon__group {
    margin-top: 80px;
  }
  .xicon__name {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}
@media (max-width: 779px) {
  .header__bg::after {
    display: none;
  }
  .xicon__note {
    font-size: 3vw;
    margin: 0 auto;
    top: 5.1vw;
  }
}
@media screen and (min-width: 780px) {
  .xicon__item {
    width: 176px;
  }
  .xicon__link::after {
    bottom: -14px;
    height: 68px;
    right: -16px;
    width: 68px;
  }
}
@media (any-hover: hover) {
  .xicon__link:hover::after {
    translate: 0 5px;
  }
}