@charset "utf-8";

/* **************************************************

  loader
  
************************************************** */
#loader {
  background: #41b8e7;
  width: 100%;
  height: 100%;
  z-index: 9999;
  position: fixed;
  left: 0;
  top: 0;
}
#loader .hexbox {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
#loader .hexbox:after {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: block;
  content: "読み込み中…";
  letter-spacing: 0.2em;
  white-space: nowrap;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%,3em);
  transform: translate(-50%,3em);
}
#loader .hex {
  color: #fff;
  background: currentColor;
  display: none;
  width: 30px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
}
html.ie #loader .hex { transform-origin: 50% 50%; }
#loader .hex:before,
#loader .hex:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 18px;
  background-color: currentColor;
}
#loader .hex:before {
  -webkit-transform: rotate(60deg);
          transform: rotate(60deg);
}
#loader .hex:after {
  -webkit-transform: rotate(-60deg);
          transform: rotate(-60deg);
}
#loader .hex:nth-of-type(1) {
  display: block;
  margin-left: 0px;
  margin-top: 0px;
  -webkit-animation: scaleIt 1.5s ease-in-out infinite both;
          animation: scaleIt 1.5s ease-in-out infinite both;
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}
#loader .hex:nth-of-type(2) {
  display: block;
  margin-left: -18.75px;
  margin-top: -32.625px;
  -webkit-animation: scaleIt 1.5s ease-in-out infinite both;
          animation: scaleIt 1.5s ease-in-out infinite both;
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
#loader .hex:nth-of-type(3) {
  display: block;
  margin-left: 18.75px;
  margin-top: -32.625px;
  -webkit-animation: scaleIt 1.5s ease-in-out infinite both;
          animation: scaleIt 1.5s ease-in-out infinite both;
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}
#loader .hex:nth-of-type(4) {
  display: block;
  margin-left: -37.5px;
  margin-top: 0px;
  -webkit-animation: scaleIt 1.5s ease-in-out infinite both;
          animation: scaleIt 1.5s ease-in-out infinite both;
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
#loader .hex:nth-of-type(5) {
  display: block;
  margin-left: 37.5px;
  margin-top: 0px;
  -webkit-animation: scaleIt 1.5s ease-in-out infinite both;
          animation: scaleIt 1.5s ease-in-out infinite both;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
#loader .hex:nth-of-type(6) {
  display: block;
  margin-left: -18.75px;
  margin-top: 32.625px;
  -webkit-animation: scaleIt 1.5s ease-in-out infinite both;
          animation: scaleIt 1.5s ease-in-out infinite both;
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
#loader .hex:nth-of-type(7) {
  display: block;
  margin-left: 18.75px;
  margin-top: 32.625px;
  -webkit-animation: scaleIt 1.5s ease-in-out infinite both;
          animation: scaleIt 1.5s ease-in-out infinite both;
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}

@media screen and (max-width:767px) {
#loader .hexbox {
  -webkit-transform: translate(-50%,-50%) scale(0.8);
  transform: translate(-50%,-50%) scale(0.8);
}
}


/* ==============================
  is-loaded
============================== */
html.is-loaded #loader {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s ease 0.5s, visibility 0s ease 1s;
  transition: opacity 0.5s ease 0.5s, visibility 0s ease 1s;
}

@-webkit-keyframes scaleIt {
25%,100% {
  -webkit-transform: scale(1) translate(-50%, -50%);
          transform: scale(1) translate(-50%, -50%);
}
50% {
  -webkit-transform: scale(0) translate(-50%, -50%);
          transform: scale(0) translate(-50%, -50%);
}
}

@keyframes scaleIt {
25%,100% {
  -webkit-transform: scale(1) translate(-50%, -50%);
          transform: scale(1) translate(-50%, -50%);
}
50% {
  -webkit-transform: scale(0) translate(-50%, -50%);
          transform: scale(0) translate(-50%, -50%);
}
}