.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;
}

.matsugai {
  margin-top: 9.2vw;
  opacity: 0;
}
.matsugai.-reveal {
  animation: ItemFadeIn 1s forwards;
}

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

.matsugai__list {
  display: grid;
  gap: 9.2vw 2vw;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 6.4vw;
}

.matsugai__item {
  cursor: pointer;
  font-weight: bold;
}

.matsugai__img {
  aspect-ratio: 440/586;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.matsugai__img img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: scale 0.3s;
  width: 100%;
}
.matsugai__img span {
  position: absolute;
  top: 1.2vw;
  right: 1.2vw;
  aspect-ratio: 1;
  background-color: #000;
  border-radius: 50%;
  width: 6.1vw;
}
.matsugai__img span::before, .matsugai__img span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-top: 2px solid #ec1014;
  content: "";
  translate: -50% -50%;
  width: 56%;
}
.matsugai__img span::after {
  rotate: 90deg;
}
.-reveal .matsugai__img img {
  animation: ImgGrayIn 1s forwards;
}

.matsugai__img__wrapper {
  height: 100%;
  width: 100%;
}

.matsugai__name {
  color: #858585;
  font-size: 3.3vw;
  font-weight: 500;
  line-height: 1.1538461538;
  margin-bottom: 1.2vw;
}

.matsugai-modal__inner {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100%;
  padding: 2.5rem;
}

.matsugai-modal__content {
  max-height: 100%;
}

.matsugai-modal__lead {
  font-size: 5.1vw;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 6.4vw;
  text-align: center;
}

.matsugai-modal__body {
  position: relative;
}

.matsugai-modal__imgs {
  display: grid;
  gap: 6.4vw;
}

.matsugai-modal__img {
  overflow: hidden;
  perspective: 1200px;
  position: relative;
}
.matsugai-modal__img img {
  aspect-ratio: 720/405;
  display: block;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  transform-origin: center center;
  transition: opacity 0.16s ease, transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
}
.matsugai-modal__img.-flip img {
  opacity: 0;
  transform: rotateY(90deg) scale(0.96);
}
.matsugai-modal__img.-answered img {
  opacity: 1;
  transform: rotateY(0) scale(1);
}

.matsugai-modal__link {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #ec1014;
  border: none;
  color: #000;
  cursor: pointer;
  display: block;
  font-weight: 700;
  padding: 0;
  text-align: center;
}
.matsugai-modal__link p {
  position: relative;
}
.matsugai-modal__link .c-arw {
  position: absolute;
  top: 50%;
  display: inline-block;
  transform: translateY(-50%);
}
.matsugai-modal__link.-answered {
  background: #333;
  color: #fff;
}
.matsugai-modal__link.-answered .c-arw {
  color: #fff;
  border-color: #fff !important;
}
.matsugai-modal__link.-answered .c-arw::before, .matsugai-modal__link.-answered .c-arw::after {
  background: #fff !important;
  background-color: #fff !important;
  border-color: #fff !important;
}
.matsugai-modal__link.-answered .c-arw.-d::before, .matsugai-modal__link.-answered .c-arw.-d::after {
  background: #fff !important;
  background-color: #fff !important;
  border-color: #fff !important;
}

.matsugai-modal__answer-deco {
  display: none;
  pointer-events: none;
}
.matsugai-modal__answer-deco.-answered {
  display: flex;
}
.matsugai-modal__answer-deco.-answered .matsugai-modal__answer-word {
  animation: matsugaiAnswerPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both, matsugaiWordFloat 2.6s 0.5s ease-in-out infinite;
}
.matsugai-modal__answer-deco.-answered .matsugai-modal__answer-tsugai {
  animation: matsugaiAnswerPop 0.5s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both, matsugaiTsugaiHop 4.5s 1s ease-in-out infinite;
}
.matsugai-modal__answer-deco.-hide {
  display: flex;
}
.matsugai-modal__answer-deco.-hide .matsugai-modal__answer-word,
.matsugai-modal__answer-deco.-hide .matsugai-modal__answer-tsugai {
  animation: matsugaiAnswerOut 0.36s ease forwards;
}

.matsugai-modal__answer-word {
  display: block;
  height: auto;
}

.matsugai-modal__answer-tsugai {
  display: block;
  height: auto;
}

@keyframes matsugaiAnswerPop {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.6);
  }
  55% {
    opacity: 1;
    transform: translateY(-10px) scale(1.12);
  }
  72% {
    transform: translateY(4px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes matsugaiAnswerOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(20px) scale(0.72);
  }
}
@keyframes matsugaiWordFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes matsugaiTsugaiHop {
  0%, 65%, 100% {
    transform: translateY(0);
  }
  72% {
    transform: translateY(-10px);
  }
  77% {
    transform: translateY(0);
  }
  82% {
    transform: translateY(-6px);
  }
  87% {
    transform: translateY(0);
  }
}
@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;
  }
  .matsugai {
    margin-top: 62px;
  }
  .matsugai__txt {
    font-size: 1.5rem;
  }
  .matsugai__list {
    gap: 64px 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
  }
  .matsugai__img span {
    position: absolute;
    top: 3.6%;
    right: 3.6%;
    width: 9%;
  }
  .matsugai__name {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .matsugai-modal__content {
    max-width: 720px;
    overflow: visible;
    width: 37.5vw;
  }
  .matsugai-modal__lead {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .matsugai-modal__body {
    padding-bottom: 5.2vw;
  }
  .matsugai-modal__imgs {
    gap: 2.3vw;
    max-width: 720px;
    width: 37.5vw;
  }
  .matsugai-modal__link {
    bottom: 5.2vw;
    font-size: 1vw;
    left: calc(100% + 2vw);
    line-height: 4.1vw;
    max-width: 326px;
    min-height: 4.1vw;
    position: absolute;
    width: 16.9vw;
  }
  .matsugai-modal__link .c-arw {
    height: 13px;
    right: 10px;
    width: 13px;
  }
  .matsugai-modal__answer-deco {
    align-items: center;
    bottom: 10.9vw;
    flex-direction: column;
    gap: 0.3vw;
    left: calc(100% + 10.5vw);
    position: absolute;
    transform: translateX(-50%);
  }
  .matsugai-modal__answer-word {
    max-width: 200px;
    width: 10.4vw;
  }
  .matsugai-modal__answer-tsugai {
    margin-top: -1.1vw;
    max-width: 158px;
    width: 8.2vw;
  }
}
@media (max-width: 779px) {
  .header__bg::after {
    display: none;
  }
  .matsugai-modal__inner {
    align-items: flex-start;
    padding: 0 5.1vw;
  }
  .matsugai-modal__content {
    margin-top: 15.3vw;
    overflow: visible;
    width: 82vw;
  }
  .matsugai-modal {
    overflow-y: auto;
    scrollbar-width: none;
  }
  .matsugai-modal::-webkit-scrollbar {
    display: none;
  }
  .matsugai-modal .c-modal__inner {
    max-height: none;
    overflow: visible;
  }
  .matsugai-modal__body {
    padding-bottom: 5.1vw;
  }
  .matsugai-modal__imgs {
    width: 100%;
  }
  .matsugai-modal__link {
    font-size: 5.6vw;
    line-height: 20.5vw;
    margin-top: 10.2vw;
    margin-inline: auto;
    min-height: 20.5vw;
    width: 98%;
  }
  .matsugai-modal__link .c-arw {
    border-width: 0.5vw;
    height: 3.5vw;
    right: 3.8vw;
    width: 3.5vw;
  }
  .matsugai-modal__link .c-arw::after {
    height: 0.4vw;
  }
  .matsugai-modal__answer-deco.-answered {
    display: none;
  }
  .matsugai-modal__answer-deco {
    align-items: flex-end;
    flex-direction: column;
    gap: 2.5vw;
    margin-top: 10.2vw;
    margin-inline: auto;
    width: 98%;
  }
  .matsugai-modal__answer-word {
    width: 30.7vw;
  }
  .matsugai-modal__answer-tsugai {
    margin-top: -6.5vw;
    width: 28.2vw;
  }
}
@media (min-width: 780px) and (max-width: 1366px) {
  .matsugai__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .matsugai__name {
    font-size: 1.25rem;
  }
  .matsugai-modal__content {
    transform: scale(1.2);
    transform-origin: center;
    width: 460px;
  }
  .matsugai-modal__body {
    padding-bottom: 20px;
  }
  .matsugai-modal__imgs {
    width: 460px;
  }
  .matsugai-modal__link {
    bottom: auto;
    font-size: 16px;
    left: auto;
    line-height: 60px;
    margin-inline: auto;
    margin-top: 24px;
    max-width: none;
    min-height: 60px;
    position: static;
    width: 269px;
  }
  .matsugai-modal__link .c-arw {
    height: 14px;
    right: 16px;
    width: 14px;
  }
  .matsugai-modal__answer-deco.-answered {
    display: none;
  }
  .matsugai-modal__answer-deco {
    bottom: 100px;
    left: calc(100% + 83px);
  }
  .matsugai-modal__answer-word {
    width: 140px;
  }
  .matsugai-modal__answer-tsugai {
    margin-top: -14px;
    width: 110px;
  }
}
@media (any-hover: hover) {
  .matsugai__item:hover img {
    scale: 1.07;
  }
}
@media (min-width: 780px) and (max-width: 1366px) and (max-width: 1023px) {
  .matsugai-modal__answer-deco {
    left: calc(100% + 30px);
  }
}