@charset "UTF-8";

/* coundown module */
  .main-example {
    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);
    }

/* dc調整 */
  .clock_div{
      position: absolute;
      z-index: 2;
      width: 100%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }
  #clock {
      position: absolute;
      z-index: 2;
      text-align: center;
      font-size: 60px;
      font-family: Arial;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      justify-content: space-between;
      color: #ec3bbf;
      font-weight: bold;
  }
  #clock div {
      width: 23%;
      text-align: center;
      border-radius: 8px;
      background: #e3f026;
  }
  .main-example {
      display: table;
      margin: 0 auto;
      width: 60%;
      text-align: center;
      position: relative;
  }
  .main-example .time {
    width: 100%;
    height: 72%;
}
  .main-example .countdown-container{
      max-width: inherit;
      width: 100%;
  }
  .main-example .count{
    background: none;
  }
  .main-example .count.bottom{
      border: 0;
  }
  .main-example .label{
      font-size: 13px;
      margin-top: 0;
      color: #276a70;
  }
  @media (max-width:650px) {
    #clock {
      font-size: 10vw;
    }
    .main-example {
      width: 65%;
    }
    .main-example .countdown-container {
      height: 21vw;
    }
  }
  @media (max-width:500px) {
    .main-example .label{
      -webkit-transform: scale(0.85);
      -ms-transform: scale(0.85);
      transform: scale(0.85);
    }
  }