@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/earlyaccess/mplus1p.css);

/********
MAIN CONTENTS & TOP PAGE
*********/

* {
  margin: 0px;
  padding: 0px;
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
}

html, body{
  width:100%;
  height: 100%;
  margin:0;
  padding:0;
}

body {
  font-family: 'Mplus 1p','Noto Sans JP','Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans',YuGothic,'Yu Gothic','ヒラギノ角ゴシック','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic'
}

a:link {
      color: #333;
      text-decoration: none;
}
a:visited {
      color: #333;
      text-decoration: none;
}
a:hover {
      color: #900;
      text-decoration: none;
}
a img {
      border-width: 0px;
      border-style: none;
      border-color: #fff;
      background: transparent;
}

p{
  font-size:0.9rem;
  font-weight: 300;
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
}

ul{
  list-style:none;
}

h1{
  font-size:2.4rem;
  letter-spacing: 4px;
}

h2{
  margin-top:40px;
}

div.container{
  width:100%;
  min-height: 100%;
  position:relative;
  display:none;
  grid-template-columns: repeat(12,1fr);
  grid-row-gap: 60px;
  grid-column-gap: 0;
  grid-auto-rows: minmax(50px,auto);
  z-index:998;
}

.pc_e{
  display: none;
}

/********
Grid Design
*********/

div.wrapper{
  grid-column: 3/11;
  z-index:10;
}

div.grid1{
  grid-column: 1/13;
}

div.grid2{
  grid-row:1;
  grid-column: 4/9;
}

/********
Preloader
*********/

div#preload{
  width:100%;
  height:100%;
  position:fixed;
  background-color: #46B2F7;
  z-index:999;
}

.spinner {
  margin: auto;
  width: 80px;
  height: 80px;
  position: relative;
  text-align: center;
  top:40%;

  -webkit-animation: sk-rotate 2.0s infinite linear;
  animation: sk-rotate 2.0s infinite linear;
}

.dot1, .dot2 {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #eee;
  border-radius: 100%;

  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.dot2 {
  top: auto;
  bottom: 0;
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-rotate { 100% { -webkit-transform: rotate(360deg) }}
@keyframes sk-rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

/********
hamburger menu
*********/

.btn_hamburger_top {
    margin: 0 auto 2em !important;
    width: 30px;
    z-index:1001;
    position:fixed;
    right:40px;
    top:30px;
}
.btn_hamburger_top:hover{
  cursor: pointer;
}
.btn_hamburger_top a {
    position: relative;
    display: block;
    height: 20px;
    -webkit-transition: all .4s;
    transition: all .4s;
    box-sizing: border-box;
}
.btn_hamburger_top span {
    position: absolute;
    display: inline-block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    -webkit-transition: all .4s;
    transition: all .4s;
    box-sizing: border-box;
}
.btn_hamburger_top span:nth-of-type(1) {
    top: 0;
}
.btn_hamburger_top span:nth-of-type(2) {
    top: 9px;
}
.btn_hamburger_top span:nth-of-type(3) {
    bottom: 0;
}
.btn_hamburger_top span:nth-of-type(2)::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.btn_hamburger_top .active span:nth-of-type(2) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.btn_hamburger_top .active span:nth-of-type(2)::after {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.btn_hamburger_top .active span:nth-of-type(1) {
    -webkit-transform: translateY(20px) scale(0);
    -ms-transform: translateY(20px) scale(0);
    transform: translateY(20px) scale(0);
}
.btn_hamburger_top .active span:nth-of-type(3) {
    -webkit-transform: translateY(-20px) scale(0);
    -ms-transform: translateY(-20px) scale(0);
    transform: translateY(-20px) scale(0);
}

/********
Modal Window
*********/

.modal{
  position:fixed;
  width:100%;
  height:100%;
  display:none;
  z-index:1000;
  background-color: rgba(0,0,0,0.8);
  text-align: center;
}

img#modal_logo{
  display: inline-block;
  position: relative;
  margin-top: 100px;
  width:300px;
}


/********
Main Contents_TOP
*********/

div#top_con{
  display:none;
  width:100%;
  height: 100%;
  background-image: url(../img/back.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index:10;
}

div#top_cen{
  margin: auto;
  width:100%;
  height:100%;
  text-align: center;
  vertical-align: middle;
}

img#main_logo{
  display:  inline-block;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  width: 300px;
  vertical-align: middle;
}

p#main_text{
  color:white;
  letter-spacing: 1.5px;
  text-height:10px;
  position:absolute;
  top:58%;
  left:50%;
  width:600px;
  transform: translateX(-50%);
  -webkit- transform: translateX(-50%);
}

p.entry_button{
  color:white;
  border: solid 2px white;
  padding:15px 25px;
  position:absolute;
  top:80%;
  left:50%;
  width:170px;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
}

p#entry_left{
  left:40%;
}

p#entry_right{
  left:60%;
}

p.entry_button{
  content:"";
  transition: 0.3s;
}

p.entry_button:hover{
  background-color: rgba(255,255,255,0.3);
}

p.entry_button:hover, .top_menu:hover{
  cursor:pointer;
}

div#top_menu{
  position:absolute;
  bottom: 60px;
  left: 40px;
  text-align: left;
}

.top_menu{
  position: relative;
  color: white;
  display: inline-block;
  font-size: 1.6em;
  letter-spacing: 0.2em;
  margin-top:32px;
}

.top_menu:before{
  position: absolute;
  top: 1.3em;
  left: 0;
  content: "";
  display: inline-block;
  width: 0;
  height: 2px;
  background: white;
  transition: 0.8s;
}

.top_menu:hover:before{
  width: 100%;
}

li.top_menu:after {
  display: inline-block;
  content:"";
  width: 30px;
}

#canvas_back{
  position:absolute;
  width:100%;
  height:100%;
}

#canvas1, #canvas2 {
  position:absolute;
}

#canvas1{
  left:-20px;
  top:-20px;
}

#canvas2{

}
