@charset "UTF-8";

html,body,
#map-w,#map-w *,
modal-w,modal-w *,
details,details *{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
}
html,body{
	margin: 0;
	padding: 0;
	height: 100%;
}

/* 地図部分 */
#map-w{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	border: 0;
	line-height: 1;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	position: relative;
}
	/* 地図画像 */
	#map{
	}
	/* 「利用ガイド」ボタン */
	#button-guide{
		margin: 0 auto;
		padding: 10px;
		width: 200px; 
		background: #3c6ac6;
		border: 1px #fff solid;
		color: #fff;
		text-align: center;
		cursor: pointer;
	
		position: fixed;
		left: 50%;
		bottom: 10px;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
	}

/* モーダル */
#modal-w{
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	z-index: 200;
}
	#modal{
		margin: 20px auto 0 auto;
		padding: 10px 5px;
		max-width: 95%;
		height: auto;
		background: rgba(100,100,100,0.9);
		border: 1px #fff solid;
		color: #fff;
		font-size: 16px;
		z-index: 300;
	}
		/* [×]（閉じる）ボタン */
		#modal #close{
			font-weight: bold;
			text-align: right;
			cursor: pointer;
		}
		/* タイトル */
		#modal .title{
			margin-top: 10px;
			font-weight: bold;
			text-align: center;
		}
		/* サムネイル */
		#modal .thumbnails{
			padding: 5px 0;
			width: 100%;
			text-align: center;
			white-space: nowrap;
			overflow: auto;
		}
			.thumbnail{
				padding: 5px;
				display: inline-block;
				text-align: center;
			}
				/* 基本比率：16:9 */
				.thumbnail div{
					width: 100%;
					height: 100%;
					background: #fff;
					border: 1px #999 solid;
				}
				.thumbnail div img{
					width: 100%;
					height: 100%;
				}
		/* 利用ガイド */
		#modal .thumbnails.guide .thumbnail{
			line-height: 1.5em;
			text-align: left;
			white-space: initial;
			width: 100%;
			max-height: 100%;
			overflow-y: auto;
		}

/* モーダル内容の事前準備部分 */
#details{
	padding: 5px;
	display: none;
}
