/* media
-------------------------*/
@media screen and (max-width: 1024px) {
  #time .inner {
    width: 100%;
    padding: 0 15px;
  }

  #counter {
    text-align: center;
  }

  #aniv_logo {
    display: block;
    position: relative;
    top: 0;
    right: 0;
  }
  #aniv_logo.aniversary {
    top: 40px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  #cubeWrap {
    -webkit-perspective: 320;
    -moz-perspective: 320;
  }

  #cube {
    width: 320px;
    height: 320px;
  }
  #cube div {
    width: 320px;
    height: 320px;
    top: 0px;
  }
  #cube img {
    height: 320px;
  }

  #front {
    -webkit-transform: translateZ(134px);
    -moz-transform: translateZ(134px);
  }

  #back {
    -webkit-transform: translateZ(-134px);
    -moz-transform: translateZ(-134px);
  }

  #left {
    -webkit-transform: rotateY(90deg) translateZ(134px);
    -moz-transform: rotateY(90deg) translateZ(134px);
  }

  #right {
    -webkit-transform: rotateY(-90deg) translateZ(134px);
    -moz-transform: rotateY(-90deg) translateZ(134px);
  }

  #up {
    -webkit-transform: rotateX(90deg) translateZ(134px);
    -moz-transform: rotateX(90deg) translateZ(134px);
  }

  #bottom {
    -webkit-transform: rotateX(-90deg) translateZ(134px);
    -moz-transform: rotateX(-90deg) translateZ(134px);
  }

  #cube:hover #front {
    -webkit-transform: translateZ(160px);
    -moz-transform: translateZ(160px);
  }
  #cube:hover #back {
    -webkit-transform: translateZ(-160px);
    -moz-transform: translateZ(-160px);
  }
  #cube:hover #left {
    -webkit-transform: rotateY(90deg) translateZ(160px);
    -moz-transform: rotateY(90deg) translateZ(160px);
  }
  #cube:hover #right {
    -webkit-transform: rotateY(-90deg) translateZ(160px);
    -moz-transform: rotateY(-90deg) translateZ(160px);
  }
  #cube:hover #up {
    -webkit-transform: rotateX(90deg) translateZ(160px);
    -moz-transform: rotateX(90deg) translateZ(160px);
  }
  #cube:hover #bottom {
    -webkit-transform: rotateX(-90deg) translateZ(160px);
    -moz-transform: rotateX(-90deg) translateZ(160px);
  }

  @-webkit-keyframes rotateCube {
    0% {
      -webkit-transform: translateZ(-100px) rotateX(0deg) rotateY(0deg);
    }

    100% {
      -webkit-transform: translateZ(-100px) rotateX(360deg) rotateY(360deg);
    }
}

  @-moz-keyframes rotateCube {
    0% {
      -moz-transform: translateZ(-100px) rotateX(0deg) rotateY(0deg);
    }

    100% {
      -moz-transform: translateZ(-100px) rotateX(360deg) rotateY(360deg);
    }
}

  /*common*/
  footer {
    height: 39px;
    padding-top: 10px;
  }

  #wrapper {
    padding: 70px 15px 0;
  }
  #wrapper.develop {
    padding: 70px 15px 0;
  }
  #wrapper.develop #time,
  #wrapper.develop #access,
  #wrapper.develop #recruit,
  #wrapper.develop #contact,
  #wrapper.develop footer {
    margin: 0 -15px;
  }

  header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 290px;
    margin-left: 0 !important;
  }
  header .wrap {
    height: 290px;
  }
  header img {
    width: 111px;
  }

  /*top*/
  .topSection {
    position: relative;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    padding: 20px 25px 25px;
  }
  .topSection .enTtl {
    margin-bottom: 6px;
    font-size: 25px;
  }
  .topSection .ttl {
    font-size: 13px;
  }

  #company {
    font-size: 10px;
    background: #fbfbfb;
  }
  #company .ttl {
    margin-bottom: 50px;
  }
  #company dd {
    margin: 0 0 4px 88px;
  }

  #location {
    background: #fff;
    font-size: 10px;
  }
  #location .ttl {
    margin-bottom: 10px;
  }
  #location .name {
    margin-bottom: 2px;
    font-size: 12px;
  }
  #location .place + .place {
    margin-top: 20px;
  }

  #staff {
    background: #fbfbfb;
    font-size: 10px;
  }
  #staff dt {
    background: #fbfbfb;
  }
  #staff dd {
    margin-bottom: 10px;
  }
  #staff dd span {
    background: #fbfbfb;
  }

  #business {
    background: #fff;
    font-size: 10px;
  }
  #business li {
    margin-bottom: 10px;
  }

  #we {
    margin-bottom: 80px;
    /*padding: 50px 60px 40px;*/
    background: #fbfbfb;
  }
  /*#we .enTtl {
    font-size: 37px;
  }
  #we img {
    width: 206px;
    margin: 20px auto 15px;
  }*/

  #access {
    background: #fff;
  }

  #switch {
    top: 15px;
    right: 15px;
  }

  #time {
    padding: 10px 0 0;
  }
  #time .ttl {
    width: 106px;
    margin: 0 auto 20px;
    text-align: center;
  }
  #time .ttl img {
    width: 100%;
  }
  #time .inner {
    padding: 0;
  }

  #aniv_logo.aniversary {
    top: 20px;
    width: 120px;
    height: auto;
    margin: 0 auto;
    background-size: 120px auto;
  }

  #counter {
    font-size: 35px;
    line-height: 1.2;
  }
  #counter .count {
    padding-bottom: 8px;
  }
  #counter .count .num img,
  #counter .count .colon {
    height: 25px;
    margin: 0 4px;
  }
  #counter .name {
    font-size: 10px;
  }
  #counter .name img {
    height: 6px;
    width: auto;
  }

  #aniv_logo {
    display: block;
    position: relative;
    margin: 0 auto;
    top: 0;
    width: 118px;
    right: inherit;
    font-size: 90px;
  }
  #aniv_logo img {
    width: 100%;
  }
  #aniv_logo span {
    font-size: 48px;
  }

  .map {
    height: 190px;
  }

  #access {
    padding-top: 60px;
  }
  #access .enTtl {
    font-size: 35px;
  }
  #access .ttl {
    margin-bottom: 15px;
    font-size: 11px;
  }
  #access .inner {
    display: block;
    width: auto;
    height: auto;
    border: none;
    padding: 13px 0 !important;
    text-align: center;
    font-size: 10px;
    line-height: 22px;
  }
  #access .name {
    margin-bottom: 0;
    font-size: 11px;
  }

  #recruit {
    padding-top: 70px;
    font-size: 10px;
    line-height: 22px;
  }
  #recruit .enTtl {
    font-size: 35px;
  }
  #recruit .ttl {
    margin-bottom: 15px;
    font-size: 11px;
  }

  #contact {
    padding-top: 60px;
    padding-bottom: 80px;
  }
  #contact .ttl {
    width: 114px;
    height: 114px;
    line-height: 114px;
    background-size: 114px auto;
    font-size: 11px;
  }
}
