/* カウントダウン付きフローティングバナー */
.cdt_wrapper {
  position: fixed;
  z-index: 99999;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px;
  background: #d60000;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.2;
  transition: opacity 1s ease, visibility 1s ease;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cdt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.cdt_txt {
  flex: 0 0 auto;
  color: #fff;
  font-size: 2rem;
  white-space: nowrap;
}
.cdt_txt span { display: block; }
.cdt_date {
  flex: 0 0 auto;
  font-size: 2.6rem;
  white-space: nowrap;
}
.cdt_num {
  display: inline-block;
  padding: .3em .15em;
  background: #fff;
  line-height: 1;
}
.cdt_date small {
  padding: 0 .4em;
  color: #fff;
  font-size: 2rem;
}
.cdt_app {
  display: flex;
  flex: 0 1 664px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 60px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #d60000;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}
footer { margin-bottom: 92px; }
.page-top { bottom: 108px; }
@media screen and (max-width: 1024px) {
  .cdt { gap: 12px; }
  .cdt_app { font-size: 2.4rem; }
}
@media screen and (max-width: 599px) {
  .cdt_wrapper {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .cdt {
    flex-wrap: wrap;
    max-width: 480px;
    gap: 6px 12px;
  }
  .cdt_txt { font-size: 14px; }
  .cdt_date { font-size: 22px; }
  .cdt_date small {
    padding: 0 .25em;
    font-size: 13px;
  }
  .cdt_app {
    flex: 0 0 100%;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 18px;
  }
  footer {
    margin-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
.cdt_wrapper.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
