html {
  margin: 0;
  padding: 0;
  height: 100%;
  line-height: 1.7;
  font-family: sans-serif;
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  height: 100%;
  color: #686868;
  background: url(img/bg.png) repeat-x center 0 fixed;
  background-size: 100%;
}

h1 {
  margin: 0 0 15px;
}

p {
  margin: 0;
  font-weight: 600;
}

a {
  outline: none;
  color: #686868;
  text-decoration: none;
}

img {
  border: 0;
}

/* ----- */
#cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}

#container {
  position: relative;
  height: 100%;
}

.box {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.box .close {
  margin-left: -23px;
  display: block;
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: 46px;
  height: 48px;
  background: url(img/close.png) no-repeat 0 0;
  background-size: 100%;
}

#buttons {
  padding: 45px 0 0;
}
#buttons a {
  margin: 0 12px;
  display: inline-block;
}

/* ----- */
#mail-box {
  padding: 50px 0 100px;
  display: none;
  width: 600px;
  max-width: 96%;
  background: #fff;
}
#mail-box p {
  margin-bottom: 70px;
}
#mail-box img {
  max-width: 80%;
}
#mail-box.show {
  display: block;
  -moz-transform-origin: center 50%;
  -ms-transform-origin: center 50%;
  -o-transform-origin: center 50%;
  -webkit-transform-origin: center 50%;
  transform-origin: center 50%;
  -moz-animation: box-show 0.3s ease-out;
  -webkit-animation: box-show 0.3s ease-out;
  animation: box-show 0.3s ease-out;
}
#mail-box.hide {
  display: block;
  opacity: 0;
  -moz-animation: box-hide 0.2s ease-out;
  -webkit-animation: box-hide 0.2s ease-out;
  animation: box-hide 0.2s ease-out;
}

/* ----- */
#info-box {
  padding: 25px 40px;
  display: none;
  width: 520px;
  max-width: 96%;
  background: #fff;
  text-align: left;
}
#info-box p.catch {
  color: #db001c;
  font-weight: bold;
}
#info-box dl {
  line-height: 2;
}
#info-box dl:before {
  display: block;
  clear: both;
  content: "";
}
#info-box dl dt {
  margin-right: -4em;
  float: left;
  width: 4em;
}
#info-box dl dd {
  margin: 0;
  padding-left: 5em;
}
#info-box.show {
  display: block;
  -moz-animation: box-show 0.3s ease-out;
  -webkit-animation: box-show 0.3s ease-out;
  animation: box-show 0.3s ease-out;
}
#info-box.hide {
  display: block;
  opacity: 0;
  -moz-animation: box-hide 0.2s ease-out;
  -webkit-animation: box-hide 0.2s ease-out;
  animation: box-hide 0.2s ease-out;
}

/* ----- */
@-moz-keyframes cover-fade {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
@-webkit-keyframes cover-fade {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
@keyframes cover-fade {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
@-moz-keyframes box-wait {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}
@-webkit-keyframes box-wait {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}
@keyframes box-wait {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}
@-moz-keyframes box-ready {
  0% {
    top: 45%;
    opacity: 0;
  }

  100% {
    top: 50%;
    opacity: 1;
  }
}
@-webkit-keyframes box-ready {
  0% {
    top: 45%;
    opacity: 0;
  }

  100% {
    top: 50%;
    opacity: 1;
  }
}
@keyframes box-ready {
  0% {
    top: 45%;
    opacity: 0;
  }

  100% {
    top: 50%;
    opacity: 1;
  }
}
@-moz-keyframes box-show {
  0% {
    top: 52%;
    opacity: 0;
  }

  100% {
    top: 50%;
    opacity: 1;
  }
}
@-webkit-keyframes box-show {
  0% {
    top: 52%;
    opacity: 0;
  }

  100% {
    top: 50%;
    opacity: 1;
  }
}
@keyframes box-show {
  0% {
    top: 52%;
    opacity: 0;
  }

  100% {
    top: 50%;
    opacity: 1;
  }
}
@-moz-keyframes box-hide {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
@-webkit-keyframes box-hide {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
@keyframes box-hide {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
/* ----- */
html.no-touch a {
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
html.no-touch a:hover {
  opacity: 0.7;
}
html.no-cssanimations #cover {
  display: none;
}
html.no-csstransforms #main-box {
  margin: -125px 0 0 -122px;
  width: 244px;
  height: 250px;
}
html.no-csstransforms #mail-box {
  margin: -150px 0 0 -300px;
  width: 600px;
  height: 300px;
}
html.no-csstransforms #info-box {
  margin: -155px 0 0 -300px;
  width: 520px;
  height: 335px;
}

body.init #main-box {
  display: none;
}
body.ready #main-box {
  display: block;
  -moz-animation: box-wait 0.5s, box-ready 1s 0.5s ease-out;
  -webkit-animation: box-wait 0.5s, box-ready 1s 0.5s ease-out;
  animation: box-wait 0.5s, box-ready 1s 0.5s ease-out;
}
body.ready #cover {
  opacity: 0;
  -moz-animation: cover-fade 0.5s ease-out;
  -webkit-animation: cover-fade 0.5s ease-out;
  animation: cover-fade 0.5s ease-out;
}

/* ----- */
@media screen and (max-width: 500px) {
  #info-box {
    padding-right: 7.692307692%;
    padding-left: 7.692307692%;
  }
}
