﻿html {
    overflow: auto;
	background-color: #ffffff;
}

body {
	font-family: Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	color: #333333;
	margin-bottom: 100px;
	}

h1 {
	font-size: 1.4em;
	padding: 10px;
	text-hlign: center;
}

h2 {
	position: relative;
	font-size: 1.4em;
	border-bottom: 2px solid rgb(84, 74, 68);
	color: #000000;
	padding-left: 24px;
	margin-top: 50px;
}

h2::before {
	position: absolute;
	content: '';
	border-radius: 0%;
	
	background: rgb(84, 74, 68);
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 2px;
	height: 30px;
}


h3 {
	margin-top: 40px;
	margin-bottom: 0;
	font-size: 16px;
}

.sns b,.profile b{
 	font-size: 1.2em;
}
 
p {
	padding-left: 10px;
	margin-top: 10;}

p#twitter{
	margin-top: 70px;
}

table{
	margin-left: 10px;
	text-align:left;
	margin-top:20px;
	margin-bottom:50px;
	}

a:link {
	color:#333333;
	-webkit-transition: 0.2s;
	transition: 0.2s;
}
a:hover {
	color: rgba(51, 51, 51, 0.6);
}
a:visited {color:#333333;}
.item a{text-decoration:none;}

video {
	display: block; display
}

#footer{
	text-align: center;
	margin: 80px;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

#footer img:hover{
	opacity: 0.5;
	-webkit-transition: 0.2s;
	transition: 0.2s;
}

.topwrapper {
	margin: 0 auto;
	padding: 0 15px;
}

#wrapper {
	width: 768px;
	margin: 0 auto;
}

#container {
	width: 100%;
	margin: 0 auto;
}

#header{
	margin-top: 60px;
	margin-bottom: 60px;
}

.about{
	margin: auto;
	padding: 10px;
	overflow: hidden;
	position: relative;
}

.sns{
	width: 250px;
	float: left;
	margin: 10px auto auto 20px;
	padding: 10px;
}

.sns i{
	margin-right: 0.5em;
}

.sns ul {
	list-style:none;
	padding: 0;
}

.sns li {
	margin-bottom: 20px;
}

.profile{
	float: left;
	width: 250px;
	margin: 10px auto auto 20px;
	padding: 10px;
	border-right: 1px solid rgba(84, 74, 68, 0.3);
}
.profile p{
	padding: 0 10px 0 0;
}
.memo{
	color: #848484;
	font-size: 0.8em;
}

/*のへアイコン*/
.iconstage{
	float: left;
	position: relative;
	width: 170px;
	height: 170px;
	perspective: 300px;
	margin: auto 10px auto 10px;
}

.icon{
	width: 170px;
	height: 170px;
}

.iconstage > div{
	position: absolute;
	height: 170px;
	width: 170px;
}

.rotate1{
	-webkit-transition: 0.8s;
	transition: 0.8s;
}
.rotate2{
	-webkit-transition: 1.2s;
	transition: 1.2s;
}
.rotate3{
	-webkit-transition: 1.6s;
	transition: 1.6s;
}
.rotate4{
	-webkit-transition: 2s;
	transition: 2s;
}

.iconstage:hover .rotate1{
	-webkit-transform: rotateY(360deg);
	-ms-transform: rotateY(360deg);
	-o-transform: rotateY(360deg);
	transform: rotateY(360deg);
}
.iconstage:hover .rotate2{
	-webkit-transform: rotateY(360deg);
	-ms-transform: rotateY(360deg);
	-o-transform: rotateY(360deg);
	transform: rotateY(360deg);
}
.iconstage:hover .rotate3{
	-webkit-transform: rotateY(360deg);
	-ms-transform: rotateY(360deg);
	-o-transform: rotateY(360deg);
	transform: rotateY(360deg);
}
.iconstage:hover .rotate4{
	-webkit-transform: rotateY(360deg);
	-ms-transform: rotateY(360deg);
	-o-transform: rotateY(360deg);
	transform: rotateY(360deg);
}
/*ボタン*/
.btn {
    display: inline-block;
    position: relative;
	width: 300px;
    height: 36px;
    text-align: left;
    overflow: hidden;
/*
    font-size: 28px;
    font-weight: normal;
*/
}

.btn main {
    width: 100%;
    height: 100%;
}

.btn span {
    position: absolute;
    top: -100%; left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

.reset {
    visibility: hidden;
    -webkit-transition: none 0s ease 0s;
            transition: none 0s ease 0s;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slide.enter {
    -webkit-transition: -webkit-transform .2s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s;
            transition:         transform .2s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s;
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
}
.slide.leave {
    -webkit-transition: -webkit-transform .2s ease-in-out 0s;
            transition:         transform .2s ease-in-out 0s;
    -webkit-transform: translate3d(0, 200%, 0);
            transform: translate3d(0, 200%, 0);
}



/*トップの一覧・ゲーム画面*/
.item {
	margin: 20px;
	width: 288px;
	padding: 10px;
	-webkit-transition: 2s ;
	transition: 2s ;
}

.item:hover{
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.item p {
	text-align: center;
	margin: 2px auto;
	font-size:15px;
}

.item img{
    position: absolute;
    top: 10;
    left: 10;
    opacity: 1;
    transition:opacity 0.3s;
}

.item.on img{
    opacity: 0;
}

#Game {
	background-color: #222222;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-top: 0;
	margin-bottom: 50px;
}

#Game #GameInner{
	position: relative;
	margin: 0 auto;
	width: 768px;
	height: 432px;
}


.bd{
    text-align: center;
    padding: 0;
}

div.bd div{
    background: rgba(78, 79, 78, 0.5);
    position:absolute;
    -webkit-transition:all 0.7s ease;
    transition:all 0.7s ease;
}

.item:hover .bd div.bdT{
    width: 100%;
}
.item:hover .bd div.bdB{
    width: 100%;
}
.item:hover .bd div.bdR{
    height: 100%;
}
.item:hover .bd div.bdL{
    height: 100%;
}

.active .bd div.bdT{
    width: 0%;
    height:1px;
    top:0;
    right:0;
}
.active .bd div.bdB{
    width: 0%;
    height:1px;
    bottom:0;
    left:0;
}
.active .bd div.bdR{
    height:0%;
    width :1px;
    right:0;
    bottom:0;
}
.active .bd div.bdL{
    height:0%;
    width :1px;
    left:0;
    top:0;
}

/*『のへ：』*/
.stage{
    width: 140px;
    height: 60px;
    -webkit-perspective: 400;
    -ms-perspective: 400;
    -o-perspective: 400;
    -moz-perspective: 400px;
    perspective: 400px;
}

.cube {
    width: 140px;
    height: 60px;
    position: relative;
    margin:0 auto;
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition:all 1.0s;
    -o-transition:all 1,0s;
    transition:all 1.0s;

    -webkit-animation: MOVE 20s ease 5s infinite;
    -o-animation: MOVE 20s ease 5s infinite;
    -moz-animation: MOVE 20s ease 5s infinite;
    animation: MOVE 20s ease 5s infinite;
}

.cube div {
    position: absolute;
    color: #fff;
    text-align: center;
    line-height: 100px;
}

.side_top {
	width: 140px;
	height: 60px;
    background: rgba(235, 235, 235, 0.7);
    top: -30px;
    left: 0px;
    -webkit-transform: rotateX(90deg);
    -ms-transform: rotateX(90deg);
    -o-transform: rotateX(90deg);
    transform: rotateX(90deg);
}

.side_bottom {
	width: 140px;
	height: 60px;
    background: rgba(235, 235, 235, 0.7);
    bottom: -30px;
    left: 0px;
    -webkit-transform: rotateX(-90deg);
    -ms-transform: rotateX(-90deg);
    -o-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
}

.side_front {
	width: 140px;
	height: 60px;
	background: rgb(255, 255, 255);
	top: 0px;
    left: 0px;
    -webkit-transform: translateZ(30px);
    -ms-transform: translateZ(30px);
    -o-transform: translateZ(30px);
    transform: translateZ(30px);
}

.side_back {
	width: 140px;
	height: 60px;
	background: rgb(255, 255, 255);
	top: 0px;
    left: 0px;
    -webkit-transform: translateZ(-30px);
    -ms-transform: translateZ(-30px);
    -o-transform: translateZ(-30px);
    transform: translateZ(-30px);
}

.side_right {
	width: 60px;
	height: 60px;
    background: rgba(255, 255, 255, 0.58);
    top: 0px;
    right: -30px;
    -webkit-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg);
}

.side_left {
	width: 60px;
	height: 60px;
    background: rgba(255, 255, 255, 0.58);
    top: 0px;
    left: -30px;
    -webkit-transform: rotateY(-90deg);
    -ms-transform: rotateY(-90deg);
    -o-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
}

@-webkit-keyframes MOVE {
	0% {-webkit-transform: rotateX(0);}
	15% {-webkit-transform: rotateX(-180deg);}
	50% {-webkit-transform: rotateX(-180deg);}
	65% {-webkit-transform: rotateX(-360deg);}
	100% {-webkit-transform: rotateX(-360deg);}
}
@-o-keyframes MOVE {
	0% {-o-transform: rotateX(0);}
	15% {-o-transform: rotateX(-180deg);}
	50% {-o-transform: rotateX(-180deg);}
	65% {-o-transform: rotateX(-360deg);}
	100% {-o-transform: rotateX(-360deg);}
}
@-moz-keyframes MOVE {
	0% {-moz-transform: rotateX(0);}
	15% {-moz-transform: rotateX(-180deg);}
	50% {-moz-transform: rotateX(-180deg);}
	65% {-moz-transform: rotateX(-360deg);}
	100% {-moz-transform: rotateX(-360deg);}
}
@keyframes MOVE {
    0% {transform: rotateX(0);}
    15% {transform: rotateX(-180deg);}
    50% {transform: rotateX(-180deg);}
    65% {transform: rotateX(-360deg);}
    100% {transform: rotateX(-360deg);}
}

/*PC・タブレットとスマートフォン振り分け*/
@media only screen and (min-device-width: 736px){
	.topwrapper{
		width: 800px;
		padding-right: 60px;
		padding-left: 60px;
	}
	.iconstage{
		margin-top: 30px;
	}
}

@media only screen and (max-device-width: 735px) {
	.topwrapper{
		width: 360px;
		margin-left: 15px;
		margin-right: 20px;
	}
	.profile{
		border: none;
	}
	.iconstage{
		margin-left: 70px;
	}
}
