@media screen and (min-width: 480px){　/*ウィンドウ幅が480px以上のときに適用*/
@font-face {


}

/*ここからCSSの記述*/
	html{
		height: 100%;
		width: 100%;
	}
	
	body{
		margin: 0;
		background-color: #ffe9a9;
	}
	

	/*
	loading
	*/
	.loading {
  	    position: fixed;
  	    z-index: 100;
  	    top: 0;
  	    right: 0;
  	    bottom: 0;
  	    left: 0;
  	    background: #f7edc6;
	}
	.loading__img {
  	    position: absolute;
  	    top: 50%;
    	left: 50%;
  	    transform: translate(-50%,-50%);
	}
	.img-load{
		max-width: 60vw;
		max-height: 40vh;
		object-fit: contain;
	}
	
	.museum-wall{
		display: block;
		padding-top: 120px;
		height: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	
	
	
	/*
	global-navi
	*/
	
	/*
	スマホメニュー非表示
	*/
	
	.header-sp{
		display: none;
		
	}
	
	.header-pc{
		position: fixed;
		height: 75px;
		width: 100%;
		top: 0;
		left: 0;
		z-index: 3;
		display: table;
	}
	
	.nav-btn{
		display: table-cell;
		width: 16vw;
		text-align: center;
		vertical-align: middle;
		font-size: 16px;
		text-decoration: none;
		padding: 0;
		margin: 0;
		position: relative;
		top: 0;
		border-right-style: solid;
		border-width: 0.1px;
		border-color: rgba(180, 130, 220, 1.0);
		background-color: rgba(166, 136, 189, 1.0);
	}
	
	a:hover,
	a:link,
	a:visited{
	    color: #3f21111;
	}
	
	@keyframes btn-fadein{
		0%{
			opacity: 0;
		}
		100%{
			opacity: 1;
		}
	}

	.nav-btn:nth-child(1){
		background-color: #ffe9a9;
		border-bottom: solid 1px #800000;
	}
	
	.nav-btn:nth-child(2){
		background-image: linear-gradient(to bottom, rgba(224, 184, 255, 0.7), rgba(166, 136, 189, 0.7));
  	transition: 0.5s ease-out;
  	-o-transition: 0.5s ease-out;
  	-moz-transition: 0.5s ease-out;
  	-webkit-transition: 0.5s ease-out;
	}
	.nav-btn:nth-child(2):hover{
		background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/flower-noborder.png);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		animation-name: btn-fadein;
		animation-duration: 0.5s;
	}
	
	.nav-btn:nth-child(3){
		background-image: linear-gradient(to bottom, rgba(224, 184, 255, 0.7), rgba(166, 136, 189, 0.7));
  	transition: 0.5s ease-out;
  	-o-transition: 0.5s ease-out;
  	-moz-transition: 0.5s ease-out;
  	-webkit-transition: 0.5s ease-out;
	}
	.nav-btn:nth-child(3):hover{
		background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/field-noborder.png);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		animation-name: btn-fadein;
		animation-duration: 0.5s;
	}
	
	.nav-btn:nth-child(4){
		background-image: linear-gradient(to bottom, rgba(224, 184, 255, 0.7), rgba(166, 136, 189, 0.7));
  	transition: 0.5s ease-out;
  	-o-transition: 0.5s ease-out;
  	-moz-transition: 0.5s ease-out;
  	-webkit-transition: 0.5s ease-out;
	}
	.nav-btn:nth-child(4):hover{
		background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/book-noborder.png);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		animation-name: btn-fadein;
		animation-duration: 0.5s;
	}
	.nav-btn:nth-child(5){
		background-image: linear-gradient(to bottom, rgba(224, 184, 255, 0.7), rgba(166, 136, 189, 0.7));
  	transition: 0.5s ease-out;
  	-o-transition: 0.5s ease-out;
  	-moz-transition: 0.5s ease-out;
  	-webkit-transition: 0.5s ease-out;
	}
	
	.nav-btn:nth-child(5):hover{
		background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/castle-noborder.png);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		animation-name: btn-fadein;
		animation-duration: 0.5s;
	}
	
	.nav-btn:nth-child(6){
		background-image: linear-gradient(to bottom, rgba(224, 184, 255, 0.7), rgba(166, 136, 189, 0.7));
  	transition: 0.5s ease-out;
  	-o-transition: 0.5s ease-out;
  	-moz-transition: 0.5s ease-out;
  	-webkit-transition: 0.5s ease-out;
	}
	.nav-btn:nth-child(6):hover{
		background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/paint-noborder.png);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		animation-name: btn-fadein;
		animation-duration: 0.5s;
	}
	
	.nav-img{
		max-height: 10vh;
		min-height: 70px;
		padding: 0.5px;
		object-position: center;
	}
	
	/*
	top-img
	*/
	.game-top{
		position: absolute;
  	top: 5%;
  	left: 30%;
  	transform: translate(-50%,-50%);
		max-height: 7%;
	}
	
	.top-index{
		z-index: 0;
	}
	
	.link-flower{
		position: absolute;
		top: 15%;
		right: 25%;
	}
	
	.link-flower > img{
		max-height: 30vh;
		max-width: 28vw;
	}
	
	.link-field{
		position: absolute;
		top: 12%;
		left: 5%;
	}
	
	.link-field > img{
		max-width: 15vw;
		max-height: 37vh;
	}

	.link-book{
		position: absolute;
		top: 5%;
		left: 25%;
	}
	
	.link-book > img{
		max-height: 20vh;
		max-width: 20vw;
	}
	
	.link-castle{
		position: absolute;
		bottom: 20%;
		left: 12%;
	}
	
	.link-castle > img{
		max-width: 30vw;
		max-height: 25vh;
	}
	
	.link-boat{
		position: absolute;
		bottom: 17%;
		right: 3%;
	}
	
	.link-boat > img{
		max-height: 35vh;
		max-width: 16vw;
	}
	
	.link-paint{
		position: absolute;
		top: 8%;
		right: 3%;
	}

	.link-paint > img{
		max-width: 20vw;
		max-height: 20vh;
	}
	
	/*top-hover*/
	
	.card-reverse {
        position: absolute;
        top: 0;
        left: 0;
    }
	
    .card-surface {
        opacity: 1;
        transform: rotateY(0deg);
        transition:
        opacity 100ms 150ms,
        transform 300ms 150ms;
    }
    .card-reverse {
        opacity: 0;
        transform: rotateY(90deg);
        transition:
        opacity 50ms 200ms,
        transform 300ms;
    }
 
    a:hover .card-surface {
        opacity: 0;
        transform:rotateY(90deg);
        transition:
        opacity 50ms 200ms,
        transform 300ms;
    }
    a:hover .card-reverse {
        opacity: 1;
        transform:rotateY(0deg);
        transition:
        opacity 100ms 150ms,
        transform 300ms 150ms;
    }
	
	/* general-box */
	
	.gen-box{
	    width: 80vw;
	    height: 100%;
	    margin: 5px;
	    padding: 20px 30px 30px 40px;
	    border-radius: 4px;
	    border-style: solid;
	    border-color:  #3f2111;
	    background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/flower-noborder.png);
	}

	
	/* outline */
	.left-outline {
	    float: left;
	    width: 50%;
	    height: 100%;
	}
	.right-outline {
	    float: left;
	    width: 50%;
	    height: 100%;
	}
	
	.gen-box-outline1{
	    box-sizing: content-box;
	    width: 85%;
	    height: 68%;
	    margin-top: 5px;
	    margin-left: 5px;
	    padding: 0px 30px 20px 30px;
	    border-radius: 0px;
	    border-style: ridge;
		border-width: 8px;
	    border-color:  rgba(153, 136, 5);
        background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/flower-noborder.png);
		background-size: cover;
		background-position: top;
	}
		.gen-box-outline2{
		box-sizing: content-box;
	    width: 85%;
	    height: 68%;
	    margin-top: 5px;
	    margin-left: 20px;
	    padding: 0px 30px 20px 30px;
	    border-radius: 0px;
	    border-style: ridge;
		border-width: 8px;
	    border-color:  rgba(153, 136, 5);
        background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/flower-noborder.png);
		background-size: cover;
		background-position: bottom;
	}
	
	/* howtoplay */
	
	.gen-box-howtoplay{
	    position: fixed;
	    box-sizing: content-box;
		top: 12%;
		left: 2%;
	    width: 90%;
	    height: 60%;
	    margin: 5px;
	    padding: 30px 20px 0px 20px;
	    border-radius: 0px;
	    border-style: ridge;
		border-width: 8px;
	    border-color:  rgba(153, 136, 5);
        background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
			url(../material/field-noborder.png);
		background-size: cover;
		background-position: center;
	}
	
	.img{
		max-width: 30%; 
		display: block;
	}
	
	.play{
		max-width: 30%;
		display: inline-block;
		vertical-align: top;
		margin: 10px;
	}
	
	.for-other{
		display: inline-block;
		padding: 20px;
		margin: 5px;
		background-color: rgba(180, 230, 255, 1.0);
		width: 40%;
		border-radius: 5px;
		border-style: solid;
		border-color: rgba(66, 33, 11, 1.0);
		text-decoration: none;
	}
	
	/* story */
	
	.gen-box-story1{
		box-sizing: content-box;
	    width: 85%;
	    height: 68%;
	    margin-top: 5px;
	    margin-left: 5px;
	    padding: 0px 30px 20px 30px;
	    border-radius: 0px;
	    border-style: ridge;
		border-width: 8px;
	    border-color:  rgba(153, 136, 5);
        background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
			url(../material/book-noborder.png);
		background-size: cover;
		background-position: top;
	}
	
	.gen-box-story2{
		box-sizing: content-box;
	    width: 85%;
	    height: 68%;
	    margin-top: 5px;
	    margin-left: 20px;
	    padding: 0px 30px 20px 30px;
	    border-radius: 0px;
	    border-style: ridge;
		border-width: 8px;
	    border-color:  rgba(153, 136, 5);
        background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
			url(../material/book-noborder.png);
		background-size: cover;
		background-position: bottom;
	}
	
	/* caution */
	
	.gen-box-caution1{
		box-sizing: content-box;
	    width: 85%;
	    height: 68%;
	    margin-top: 5px;
	    margin-left: 5px;
	    padding: 10px 30px 20px 30px;
	    border-radius: 0px;
	    border-style: ridge;
		border-width: 8px;
	    border-color:  rgba(153, 136, 5);
        background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
			url(../material/castle-noborder.png);
			background-size: cover;
			background-position: left;
	}
	
	.gen-box-caution2{
		box-sizing: content-box;
	    width: 85%;
	    height: 68%;
	    margin-top: 5px;
	    margin-left: 20px;
	    padding: 10px 30px 20px 30px;
	    border-radius: 0px;
	    border-style: ridge;
		border-width: 8px;
	    border-color:  rgba(153, 136, 5);
        background-image: 
			linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
			url(../material/castle-noborder.png);
			background-size: cover;
			background-position: right;
	}	
	
	/* lastanswer */
	
	.dark-layer{
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100vw;
	    height: 100vh;
	    background-image: 
		    linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
	    	linear-gradient(to bottom, #ffe9a9, #ffe9a9);							
	}
	.spotlight{
		position: absolute;
		top: 30%;
		left: 50%;
		transform: translate(-50%,-50%);
		width: 350px;
		height: 350px;
		background-image:
			radial-gradient(rgba(255, 255, 255, 0.1) 60%, rgba(0,0,0,0.5) 70%),
			url(../material/last-pic.png);
		background-repeat:
			no-repeat,
			no-repeat;
		background-size:
			auto,
			contain;
	}
	
    form{
		position: absolute;
		top: 70%;
		left: 50%;
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}

	.input-box{
		display: block;
		height: 40px;
		width: 50vw;
		border-radius: 10px;
		font-size: 20px;
		text-align: center;
	}

	.submit-btn {
		display: inline;
		margin: 10px;
		height: 40px;
		width: 100px;
		background-color: darkcyan;
		color: white;
		font-size: 20px;
		border-radius: 10px;
	}

	.submit-btn:hover {
		cursor: pointer;
	}

	.form-text{
		margin: 10px;
		font-size: 20px;
		color:
	}


	
	/*
	footer
	*/
	
	.rope-loop2{
		position: absolute;
		bottom: 7vh;
		height: 9vh;
		width: 100%;
		background-image: url(../material/rope-loop.png);
		background-repeat: repeat-x;
		background-size: contain;
		z-index: 2;
	}
	
	footer{
		background-color: #94002A;
		height: 10vh;
		width: 100%;
		position: fixed;
		bottom: 0;
	}
	
	.foot-man{
		height: 15vh;
		width: auto;
		position: absolute;
		bottom: 5vh;
		right: 25vw;
		z-index: 3;
	}
	
	.foot-woman{
	    height: 15vh;
	    width: auto;
	    position: absolute;
	    bottom: 5vh;
	    right: 50vw;
	    z-index: 3;
	}
	
	.foot-detective{
	    height: 16vh;
	    width: auto;
	    position: absolute;
	    bottom: 5vh;
	    right: 25vw;
	    z-index: 3;
	}
	
	.foot-family{
		height: 15vh;
		width: auto;
		position: absolute;
		bottom: 5vh;
		right: 40vw;
		z-index: 3;
	}
	
	.foot-child{
	    height: 12vh;
		width: auto;
		position: absolute;
		bottom: 5vh;
		left: 20vw;
		z-index: 3;
	}
	
	.foot-text{
		position: absolute;
		bottom: 10%;
		left: 50%;
		font-size: 1.2ex;
  	    transform: translate(-50%,-50%);
  	    color: rgb(255, 243, 184);
	}
	
	.foot-text > a{
	    text-decoration: none;
	    color: rgb(255, 243, 184);
	}
	
}

