/* coundown module */

.main-example {
  transform: scale(1.3);
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-example .countdown-container {
  height: 130px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 80%;
  max-width: 400px;
}

.main-example .time {
  border-radius: 10px;
  display: inline-block;
  text-align: center;
  position: relative;
  width: 20%;
  height: 100px;
  -webkit-perspective: 479px;
  perspective: 479px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-border-radius: 10px;
}

.main-example .count {
  background: #000;
  color: #f8f8f8;
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 57px;
  line-height: 100px;
  overflow: hidden;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform-style: flat;
  transform-style: flat;
}

.main-example .count.top {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px 5px 0 0;
  height: 50%;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}

.main-example .count.bottom {
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.1), transparent);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  border-radius: 0 0 5px 5px;
  line-height: 0;
  height: 50%;
  top: 50%;
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
}


.main-example .label {
  font-size: normal;
  margin-top: 8px;
  display: block;
  position: absolute;
  /*top: 95px;*/
  top: 100%;
  width: 100%;
  font-family: Arial;
}



/* Animation start */

.main-example .count.curr.top {
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
  z-index: 3;
}

.main-example .count.next.bottom {
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
  z-index: 2;
}



/* Animation end */

.main-example .flip .count.curr.top {
  -webkit-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}

.main-example .flip .count.next.bottom {
  -webkit-transition: all 250ms ease-in-out 250ms;
  transition: all 250ms ease-in-out 250ms;

  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

@media screen and (max-width: 800px) {


  .main-example .countdown-container {
    height: 20vw;
  }

  .main-example .time {
    width: 13.5vw;
    height: 17.3vw;
    margin: 0 0.3vw;
  }

  .main-example .count {
    font-size: 10vw;
    line-height: 17vw;
  }

  .main-example .label {
    font-size: 2.5vw;
    top: 17vw;
  }
}



/* dc調整 */

.clock_div {
  position: absolute;
  z-index: 2;
  width: 100%;
  bottom: 26%;
}

.clock {
  position: absolute;
  z-index: 2;
  color: #fff;
  text-align: center;
  font-size: 60px;
  font-family: Arial;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  top: 12%;
}

.clock div {
  width: 20%;
  text-align: center;
}

.main-example {
  display: table;
  margin: 0 auto;
  width: 39%;
  text-align: center;
  max-width: 500px;
  position: relative;
}

.main-example .countdown-container {
  max-width: inherit;
  width: 100%;
}

@media (max-width: 1600px) {
  .clock {
    font-size: 3.5vw;
    top: 15%;
  }
  .clock div {
    width: 20%;
  }
  .main-example .countdown-container {
    height: 6vw;
  }
  .main-example .time {
    height: 100%;
  }
  .main-example .label {
    font-size: 1vw;
  }
}
@media (min-width: 801px) {

  .main-example {
    transform: scale(1.8);
  }
}
@media (max-width: 1400px) and (min-width: 801px) {
  .main-example {
    transform: scale(2);
  }
  .clock_div {
    bottom: 36%;
  }
}



@media (max-width:800px) {
  .clock_div {
    bottom: 28%;
  }
  .clock {
    font-size: 8.5vw;
    top: 15%;
  }
  .clock div {
    width: 24%;
  }
  .main-example .label {
    top: 13vw;
  }
  .main-example .countdown-container {
    height: 13vw;
  }
}

@media (max-width: 550px) {
  .clock_div {
    bottom: 29%;
  }
  .main-example .label {
    font-size: 11px;
  }
  .main-example {
    transform: scale(1.2);
  }
}


/*白色款*/

.main-example-w .clock,
.main-example-w .count {
  color: #000;
}

.main-example-w .count {
  background: #fff;
}

.main-example-w .label {
  color: #fff;
}