@charset "UTF-8";

/* general */
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}
/* top */
@import url('https://fonts.googleapis.com/css?family=Crimson+Text|Playfair+Display');
/*
body{
    position: relative;
    width: 100%;
    height: 100%;
	min-width: 960px;
	display:-webkit-flex;
    display: flex;
    flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-webkit-align-items: stretch;
	align-items: stretch;
}
*/


#top #wrapper {
	position: absolute;
	margin: 0px;
	padding: 0px;
	background: #000; 
	width: 100%;
	height: 100%;
}

header {
    height: 100%;
    font-size: 24px;
	font-family: 'Playfair Display', serif;	
}

header a {
  display: inline-block;
  transition: .3s;
  color: #fff;
}

header a:hover {
  transform: rotate(-10deg);
}

header #logo {
	text-align: center;
    height: 100%;

}

header img {
	width: 70%;
    position: relative;
    top: 50%;
}

.header {
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    opacity: 0;
    transition: all 1s ease;
    transition-delay: 0.5s;
}

#header.active {
    opacity: 1;
    /*
-webkit-transform: translateY(0);
    transform: translateY(0);
*/
}

#navi-cont {
	color: #fff;
	position: relative;
	z-index: 9990;
}

#navi-cont ul {
	width: 100%;
	height: 100%;
	display: flex;
}


#navi-cont ul .navi-in1 {
	position: fixed;
    top: 30px;
    left: 40px;
}

#navi-cont ul .navi-in2 {
	    position: fixed;
    top: 30px;
    right: 40px;
}

#navi-cont ul .navi-in3 {
	position: fixed;
    bottom: 30px;
    left: 40px;
}

#navi-cont ul .navi-in4 {
	position: fixed;
    bottom: 30px;
    right: 40px;
}


/*content*/

canvas {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	cursor: pointer;
}

canvas img, #bankImages img {
	visibility: hidden;
	display:none;
}

#loading {
	position:absolute;
	left: 50%;
	top: 50%;
	width: 300px;
	height: 50px;
	margin-left:-150px;
	margin-top:-25px;
	text-align: center;
	color:#888;
	font-family: arial;

}





/* page */



#about #wrapper .header {
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    transition: all 1s ease;
    transition-delay: 0.5s;
    opacity: 1;
}

#about #wrapper {
	background: #f1caca;
    overflow-y: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
	
}

#about #wrapper header a {
	color: #0e0713;	
}

#about #wrapper header #navi-cont {
	color: #0e0713;	
}


#about .content .textcontent {
	    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-50%) scaleX(1.8);
}

#about .content .textcontent .textwrapper {
	     perspective: 500px;
    width: 90%;
    height: 120%;
    overflow: auto;
    position: fixed;
    top: 0%;
    left: 40%;
    transform: rotate(-45deg);
    margin: auto;
}

#about .content .textcontent .textwrapper .textbox {
    position: relative;
    margin: auto;
    width: 40%;
    height: 100%;
    transform-origin: 0 0;
}

#about .content .textcontent .textwrapper .textbox h1 {
    font-family: "Noto Sans Japanese" ,serif;
    font-weight: 800;
    font-size: 6em;
    margin-bottom: 20px;
}

#about .content .textcontent .textwrapper .textbox .jp {
    position: relative;
    margin: auto;
    height: auto;
    transform-origin: 0 0;
    font-size: 3em;
    font-family: "Noto Sans Japanese" ,serif;
    font-weight: 800;
    letter-spacing: 0.001em;
    line-height: 1.4em;
}

#about .content .textcontent .textwrapper .textbox .en {
    position: relative;
    margin-top: 40px;
    height: auto;
    transform-origin: 0 0;
    font-size: 2em;
    font-family: 'Crimson Text', serif;
    letter-spacing: 0.01em;
    font-weight: 300;
}

#about .content .textcontent .textwrapper .textbox .en #copy {
    margin: 60px 0;
    font-size: 0.5em;
    font-family: 'Crimson Text', serif;
    letter-spacing: 0.01em;
    font-weight: 200;
    padding-bottom: 300px;
}

#about .content .bgimage {
	position: absolute;
    top: 0;
    right: 0;
	width: 60%;
    height: auto;
    z-index: -10;
}




/*

media query

*/

@media screen and (max-width: 749px) { 
    /*　画面サイズ 499pxから適用　*/
    header {
    height: 100%;
    font-size: 20px;
	font-family: 'Playfair Display', serif;
	}
	
	#navi-cont {
	color: #fff;
	position: relative;
	z-index: 9990;
	}
	
	#navi-cont ul {
		width: 100%;
		height: 100%;
		display: flex;
	}
	
	
	#navi-cont ul .navi-in1 {
		position: fixed;
	    top: 20px;
	    left: 20px;
	}
	
	#navi-cont ul .navi-in2 {
		    position: fixed;
	    top: 20px;
	    right: 20px;
	}
	
	#navi-cont ul .navi-in3 {
		position: fixed;
	    bottom: 20px;
	    left: 20px;
	}
	
	#navi-cont ul .navi-in4 {
		position: fixed;
	    bottom: 20px;
	    right: 20px;
	}
	
	#about #wrapper {
	background: #f1caca;
    overflow-y: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
	
	}
		
	#about #wrapper header a {
		color: #0e0713;	
	}
	
	#about #wrapper header #navi-cont {
		color: #0e0713;	
	}
	
	
	#about .content .textcontent {
		transform-style: preserve-3d;
	    position: absolute;
	    top: 0;
	    left: 0;
	    bottom: 0;
	    right: 0;
	    width: 100%;
	    height: 100%;
	    /* -webkit-transform: rotate(-45deg); */
	    /* transform: rotate(-45deg); */
	    transform: translateX(-50%) scaleX(1.37931);
	}

	#about .content .textcontent .textwrapper {
		    /* perspective: 500px; */
	    width: 90%;
	    height: 80%;
	    overflow: auto;
	    position: fixed;
	    top: 12%;
	    left: 42%;
	    transform: rotate(-8deg);
	}
	
	#about .content .textcontent .textwrapper .textbox h1 {
    font-family: "Noto Sans Japanese" ,serif;
    font-weight: 800;
    font-size: 30px;
    margin-bottom: 20px;
	}
	
	#about .content .textcontent .textwrapper .textbox .jp {
	position: relative;
    margin: auto;
    height: auto;
    transform-origin: 0 0;
    font-size: 1em;
    font-family: "Noto Sans Japanese" ,serif;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.6em;
	}
	
	#about .content .textcontent .textwrapper .textbox {
	    position: relative;
	    margin: auto;
	    width: 48%;
	    height: 100%;
	    transform-origin: 0 0;
	}
	
	#about .content .textcontent .textwrapper .textbox .en {
	    position: relative;
	    margin-top: 40px;
	    height: auto;
	    transform-origin: 0 0;
	    font-size: 16px;
	    font-family: 'Crimson Text', serif;
	    letter-spacing: 0.01em;
	    font-weight: 300;
	}
	
	#about .content .textcontent .textwrapper .textbox .en #copy {
	    margin: 60px 0;
	    font-size: 12px;
	    font-family: 'Crimson Text', serif;
	    letter-spacing: 0.01em;
	    font-weight: 200;
	    width: 100%;
	    height: 100%;
	}
	
	#about .content .bgimage {
	position: absolute;
    top: 30%;
    right: 0;
	width: 100%;
    height: auto;
    z-index: -10;
    overflow-y: inherit;
	}
	
  }
 
  @media screen and (max-width:1000px) {
    /*　画面サイズ 1000px以上から適用　*/
    header {
    height: 100%;
    font-size: 24px;
	font-family: 'Playfair Display', serif;
	}
  }

