@charset "utf-8";

html,
body,
canvas,
div,
section,
article,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
dl,
dt,
dd,
iframe {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

html, body {
	height: 100%;
}

#unity-canvas {
}

#unity_frame {
	width: 100%;
	height: 100%;
}


.loading {
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	background: #000;
	display: flex;
	justify-content: center;
	align-items: center;
}


/**********************************************************
 * ダイアログ
 **********************************************************/
.dialog-wrapper {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(1,1,1,0);
	z-index: 30;
}

.dialog-wrapper .dialog-inner {
	width: 100%;
	height: 100%;
	display:flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
	background-color: #33333399;
}
.dialog-wrapper .dialog-block {
	background: #fff;
	padding: 20px 10px;
	width: 300px;
	height: 130px;
	border-radius: 5px;
	border: #666 1px solid;
}


.dialog-wrapper .message {
	font-weight: bold;
	margin-bottom: 23px;
}

.dialog-wrapper .buttons {
	display: flex;
	justify-content: center;
	align-items: center;
}

.dialog-wrapper .buttons button {
	margin: 0 10px;
	padding: 10px 12px;
	width: 115px;
	border-radius: 3px;
}
.dialog-wrapper .buttons button.positive {
	border: #aaaaaa 1px solid;
	background: #eee;
	color: #000;
}
.dialog-wrapper .buttons button.negative {
	border: #172551 1px solid;
	background: #2C3D76;
	color: #fff;
}

/**********************************************************
 * モーダルウィンドウ
 **********************************************************/
 .exhibit-detail-window {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	z-index: 10;
}

.exhibit-detail-window iframe {
    width: 80%;
    height: 80%;
    overflow-x: hidden;
    overflow-y: auto;
	max-width: 1140px;
	z-index: 30;
}

/**********************************************************
 * マップ
 **********************************************************/
#map-window {
	display: none;
	position: fixed;
	top: 10px;
	left: 10px;
	width: 200px;
}
#map-window img {
	width: 100%;
	border-radius: 10px;
}


/**********************************************************
 * メニュー
 **********************************************************/
.menu-block #menu-toggle {
	display: none;
}
.menu-block .menu-button {
	display: none;
 }
 .menu-block .nav {
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 3;
}
.menu-block .nav ul {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
}
.menu-block .nav li {
	list-style: none;
	margin: 1%;
}
.menu-block .nav li a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: #2C3D76;
	padding: 0 14px;
	min-width: 80px;
	height: 80px;
	border-radius: 50px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	text-decoration: none;
	text-wrap: balance;
	box-sizing: border-box;
}
.menu-block .nav li a .en {
	display: none;
}

.menu-block .nav li a:before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	transition: width 250ms ease;
	z-index: -1;
}
		
.menu-block .nav li a:hover {
	color: #000;
}
			
.menu-block .nav li a:hover:before {
	width: 100%;
	height: 100%;
	background-color: rgba(white,1);
	transition: width 250ms ease;
}

@media screen and (max-width:700px) {
	.menu-block .nav li a {
		font-size: 14px;
		min-width: 3rem;
		height: 3rem;
		padding: 0 0.2rem;
		border-radius: 1.5rem;
	}
}
 @media screen and (max-width:500px) {
	.menu-block .nav li a {
		font-size: 8px;
		min-width: 2rem;
		height: 2rem;
		padding: 0 0.2rem;
		border-radius: 1rem;
	}
/*
	.menu-block .menu-button {
		position: fixed;
		top: 20px;
		right: 20px;
		background-color: white;
		border-radius: 50%;
		cursor: pointer;
		z-index: 8;
		width: 66px;
		height: 66px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.menu-block .menu-button p {
		margin-top: -15px;
		cursor: pointer;
	}
	.menu-block .menu-button .hamburger {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		width: 50px;
		height: 50px;
		transition: transform 250ms ease;
		margin-top: -10px;
		cursor: pointer;

	}
	.menu-block .menu-button .hamburger span {
		position: relative;
		display: block;
		width: 50%;
		height: 2px;
		background-color: #444;
		float: left;
		transform-origin: center center;
		transition: transform 250ms ease;
		z-index: 200;
	}
	.menu-block .menu-button .hamburger span:nth-of-type(1) {
		transform: translateY(-5px);
	}

	.menu-block .menu-button .hamburger span:nth-of-type(3) {
		transform: translateY(5px);
	}
	
	.menu-block #menu-toggle:checked ~ .menu-button .hamburger {
		background-color: transparent;
		transform: rotate(360deg);
		transition: transform 250ms ease;
	}
		
	.menu-block #menu-toggle:checked ~ .menu-button .hamburger span {
		transition: transform 250ms ease;
	}
	.menu-block #menu-toggle:checked ~ .menu-button .hamburger span:nth-of-type(1) {
		transform: translateY(1px) rotate(45deg);
	}
			
	.menu-block #menu-toggle:checked ~ .menu-button .hamburger span:nth-of-type(2) {
		display: none;
	}
			
	.menu-block #menu-toggle:checked ~ .menu-button .hamburger span:nth-of-type(3) {
		transform: translateY(-1px) rotate(-45deg);
	}

	.menu-block #menu-toggle:checked ~ .nav {
		right: 0px;
		transition: right 100ms ease;
	}

	.menu-block .nav {
		position: fixed;
		top: 0;
		right: -250px;
		width: 250px;
		height: 100vh;
		margin: 0;
		padding: 0;
		background-color: #fff;
		transition: right 100ms ease;
		z-index: 0;
	}
	.menu-block .nav ul {
		display: block;
		position: relative;
		list-style-type: none;
		margin: 100px 0;
		padding: 0;
	}
	.menu-block .nav li {
		position: relative;
		display: block;
		border-bottom: 5px solid #444;
		text-align: left;
	}
	.menu-block .nav li a {
		position: relative;
		display: block;
		text-align: left;
		background: none;
		margin: 0;
		padding: 15px 20px;
		color: #444;
		font-size: 14px;
		font-weight: bold;
		text-decoration: none;
		text-transform: uppercase;
	}
	.menu-block .nav li a .en {
		display: block;
		font-size: 80%;
	}

	.menu-block .nav li a:before {
		position: absolute;
		content: '';
		top: 0;
		left: 0;
		width: 0;
		height: 100%;
		transition: width 250ms ease;
		z-index: -1;
	}
			
	.menu-block .nav li a:hover {
		color: #000;
	}
				
	.menu-block .nav li a:hover:before {
		width: 100%;
		height: 100%;
		background-color: rgba(white,1);
		transition: width 250ms ease;
	}
*/
}



