#l-countdown {
  background: #fcca00;
  color: #000;
  display: flex;
  align-items: center;
  position: relative;
}

.countdown-text {
  align-items: center;
  display: flex;
  font-family: "ZenKakuGothicAntique-Bold", sans-serif;
  font-size: 16px;
  height: 100%;
  padding: 6px 8px;
  white-space: nowrap;
}

.countdown-days {
  align-items: center;
  display: flex;
  font-family: "ZenKakuGothicAntique-Bold", sans-serif;
  font-size: 16px;
  height: 100%;
  padding: 4px 4px 6px 3px;
  white-space: nowrap;
  position: absolute;
  right: 247px;
  top: 0;
  z-index: 0;
}

.countdown-days::before,
.countdown-days::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background-color: #fcca00;
}

.countdown-days::before {
  background-color: #19191A;
  width: calc(100% + 7px);
  z-index: -2;
  height: 27px;
  top: 8px;
  left: -3px;
}

.en-countdown .countdown-days {
  left: 65px;
}

#m-countdown,
#m-countdown_en {
  background: url(/common/images/countdown/top-bg_countdown.jpg) no-repeat top / contain;
  display: inline-block;
  height: 44px;
  margin: 0 auto;
  position: relative;
  width: 352px;
}

/* 数字 */
span.num0 {
  background: url(/common/images/countdown/num_0.png) no-repeat;
}

span.num1 {
  background: url(/common/images/countdown/num_1.png) no-repeat;
}

span.num2 {
  background: url(/common/images/countdown/num_2.png) no-repeat;
}

span.num3 {
  background: url(/common/images/countdown/num_3.png) no-repeat;
}

span.num4 {
  background: url(/common/images/countdown/num_4.png) no-repeat;
}

span.num5 {
  background: url(/common/images/countdown/num_5.png) no-repeat;
}

span.num6 {
  background: url(/common/images/countdown/num_6.png) no-repeat;
}

span.num7 {
  background: url(/common/images/countdown/num_7.png) no-repeat;
}

span.num8 {
  background: url(/common/images/countdown/num_8.png) no-repeat;
}

span.num9 {
  background: url(/common/images/countdown/num_9.png) no-repeat;
}

#m-countdown_en span,
#m-countdown span {
  background-size: auto 100%;
  display: inline-block;
  height: 27px;
  width: 17px;
}

#m-countdown .m-day span,
#m-countdown .m-time span,
#m-countdown_en .m-day span,
#m-countdown_en .m-time span {
  background-size: 16px;
}

#m-countdown .m-time span.num_colon,
#m-countdown_en .m-time span.num_colon {
  background-size: 8px;
}

#m-countdown span.num_colon,
#m-countdown_en span.num_colon {
  background: url(/common/images/countdown/num_colon.png) no-repeat;
  width: 10px;
}

#m-countdown .m-day,
#m-countdown .m-time,
#m-countdown_en .m-day,
#m-countdown_en .m-time {
  align-items: center;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  left: 10px;
  max-width: 52px;
  position: absolute;
  top: 8px;
}

#m-countdown .m-time,
#m-countdown_en .m-time {
  left: 110px;
  max-width: 126px;
}


/* result */
#m-countdown_fin {
  background: url(/common/images/time_fin_link.jpg) no-repeat;
}

#m-countdown_en_fin {
  background: url(/common/images/time_fin_link_en.jpg) no-repeat;
}

#m-countdown_en_fin,
#m-countdown_fin {
  background-size: 100% auto;
  background-position: 50% 50%;
  display: inline-block;
  height: 30px;
  margin: 0 auto;
  position: relative;
  width: 320px;
}


.pc-sideheader {
  align-items: center;
}

/* zero */
#m-countdown.liftOff {
  background-image: url(/common/images/countdown/top-bg_countdown.jpg);
  background-size: 100%;
}

.pc-sideheader.liftOff.ja {
  gap: 16px;
}

.pc-sideheader.liftOff.ja .countdown-text {
  padding-right: 0;
  font-size: 14px;
}

.pc-sideheader.liftOff.ja .countdown-text br {
  display: none;
}

.pc-sideheader.liftOff.ja .countdown-text.is-normal {
  display: none;
}

.pc-sideheader.ja .countdown-text.is-zero {
  display: none;
}

.pc-sideheader.liftOff.ja .countdown-text.is-zero {
  display: flex;
}

.pc-sideheader.liftOff #m-countdown .m-day,
.pc-sideheader.liftOff #m-countdown .m-time,
.pc-sideheader.liftOff #m-countdown_en .m-day,
.pc-sideheader.liftOff #m-countdown_en .m-time {
  display: none;
}


@media print, screen and (max-width: 1440px) {
  #m-countdown,
  #m-countdown_en {
    background-position: center;
  }

  /* zero */
  .pc-sideheader.liftOff.ja #l-countdown {
    max-width: 396px;
  }

  .pc-sideheader.liftOff.ja .countdown-text {
    font-size: 12px;
  }

  .pc-sideheader.liftOff.ja .countdown-days {
    font-size: 10px;
    padding: 4px 3px 5px;
    right: 155px;
  }

  .pc-sideheader.liftOff.ja .countdown-days::before {
    width: calc(100% + 4px);
    z-index: -2;
    height: 17px;
    top: 14px;
    left: -2px;
  }
}

@media print, screen and (max-width: 1380px) {
  .pc-sideheader #l-countdown {
    margin: 0 auto;
    max-height: 44px;
    max-width: 284px;
  }

  .pc-sideheader #l-countdown.en-countdown {
    max-width: 224px;
  }

  .pc-sideheader.fin #l-countdown.en-countdown {
    max-width: 284px;
  }

  #m-countdown,
  #m-countdown_en {
    height: 44px;
  }

  .countdown-text {
    font-size: 10px;
    height: 44px;
    padding: 0 0 0 3px;
  }

  .pc-sideheader.liftOff.ja .countdown-text {
    padding: 6px 0 6px 8px;
  }

  .countdown-days {
    font-size: 10px;
    padding: 4px 3px 5px;
    right: 154px;
  }

  .countdown-days::before {
    width: calc(100% + 4px);
    z-index: -2;
    height: 17px;
    top: 14px;
    left: -2px;
  }

  .en-countdown .countdown-days {
    left: 41px;
    width: 26px;
  }

  #m-countdown .m-day,
  #m-countdown_en .m-day {
    left: 5px;
    max-width: 34px;
    top: 6px;
  }

  #m-countdown_en span,
  #m-countdown span {
    height: 16px;
  }

  #m-countdown .m-day span,
  #m-countdown .m-time span,
  #m-countdown_en .m-day span,
  #m-countdown_en .m-time span {
    background-size: 10px;
  }

  #m-countdown .m-time span.num_colon,
  #m-countdown_en .m-time span.num_colon {
    background-size: 5px;
  }

  #m-countdown .m-time,
  #m-countdown_en .m-time {
    left: 70px;
    max-width: 78px;
    top: 6px;
  }
}

@media print, screen and (min-width: 1024px) and (max-width: 1380px) {
  .pc-sideheader #l-countdown {
    align-items: center;
  }

  #m-countdown,
  #m-countdown_en {
    background-position: center;
  }

  #m-countdown .m-day,
  #m-countdown .m-time,
  #m-countdown_en .m-day,
  #m-countdown_en .m-time {
    top: 14px;
  }
}

@media print, screen and (min-width: 1024px) and (max-width: 1280px) {
  div.pc-gnav__myentry {
    right: 0;
  }

  /* zero */
  .pc-sideheader.liftOff.ja #l-countdown {
    max-width: 310px;
  }

  .pc-sideheader.liftOff.ja {
    gap: 8px;
  }

  .pc-sideheader.liftOff.ja .countdown-text {
    font-size: 10px;
    text-align: right;
    line-height: 1.25;
    padding-right: 4px;
  }

  .pc-sideheader.liftOff.ja .countdown-text br {
    display: block;
  }

  .pc-sideheader.liftOff.ja .countdown-days {
    right: 153px;
  }
}

@media print, screen and (max-width: 1023px) {
   /* ヘッダーカウントダウン */
   #l-countdown {
    padding: 8px 20px;
  }

  /* 英語版カウントダウン */
  /* ヘッダー */
  .pc-sideheader .en-countdown {
    display: block !important;
    height: auto !important;
    text-align: center;
  }

  .pc-sideheader .en-countdown .countdown-text {
    height: auto;
    margin: auto;
    padding: 2px 5px;
    width: 246px;
  }

  .new-tournament.en .top__countdown #top-l-countdown {
    display: block;
  }

  .new-tournament.en .top__countdown .countdown-text {
    font-size: 12px;
    line-height: 1;
    margin-bottom: 3px;
    padding-right: 0;
  }

  .pc-sideheader #l-countdown,
  .pc-sideheader #l-countdown.en-countdown {
    max-height: 27px;
  }

  #m-countdown,
  #m-countdown_en,
  .countdown-text {
    background-position: left;
    height: 27px;
  }

  .countdown-days::before {
    top: 5px;
  }

  /* zero */
  #m-countdown.liftOff,
  #m-countdown_en.liftOff {
    background: url(/common/images/countdown/top-bg_countdown.jpg) no-repeat top / contain;
  }

  .pc-sideheader.liftOff.ja #l-countdown {
    max-height: 32px;
  }

  .pc-sideheader.liftOff.ja #l-countdown {
    max-width: 320px;
  }

  .pc-sideheader.liftOff #m-countdown,
  .pc-sideheader.liftOff.ja .countdown-text {
    height: 32px;
    background-position: 50% 50%;
  }

  .pc-sideheader.liftOff #m-countdown_en {
    background-position: 0 50%;
  }

  .pc-sideheader.liftOff.ja .countdown-text {
    font-size: 10px;
    line-height: 1.2;
    padding-right: 3px;
    text-align: right;
  }

  .pc-sideheader.liftOff.ja .countdown-text br {
    display: block;
  }

  .pc-sideheader.liftOff.ja .countdown-days {
    padding: 4px 5px 5px;
    right: 160px;
  }

  .pc-sideheader.liftOff.ja .countdown-days::before {
    top: 9px;
  }

  .pc-sideheader.fin #l-countdown,
  .pc-sideheader.fin #l-countdown {
    max-width: 320px;
    max-height: 30px;
  }

  .pc-sideheader #l-countdown #m-countdown_fin,
  .pc-sideheader #l-countdown #m-countdown_en_fin {
    position: static;
    height: 30px;
  }
}

