*, ::after, ::before {
	box-sizing: border-box;
}

html {
	position: relative;
	min-height: 100%;
}

body {
	margin	: 0;
	padding	: 0;

	/* 長押しを抑制 */
	-webkit-touch-callout	: none;
	   -moz-touch-callout	: none;
	    -ms-touch-callout	: none;
	        touch-callout	: none;
	/* テキストの選択ボックスを抑制 */
	-webkit-user-select		: none;
	   -moz-user-select		: none;
	    -ms-user-select		: none;
	        user-select		: none;
}

/* Androidでタップ時の枠線を消す */
input,
select,
button {
	-webkit-tap-highlight-color	: rgba(0,0,0,0) !important;
	-webkit-box-shadow			: none !important;
	        box-shadow			: none !important;
	outline						: none !important;
}

/* ヘッター */
#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
}
#header > div {
	display: flex;
	flex-wrap: wrap;

	padding: 20px 4vw 20px;
	padding: 6px 4px 20px 8px;
}
#header > div > div {
	display: inline-block;
	width: 50%;
}
#header-left {
	padding-top: 5px;
}
#header-right {
	text-align: right;
}


/* スケール選択 */
#control_scale {
	width: 6rem;
	height: calc(2.25rem + 2px);
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* タップ操作説明 ラベル */
#label_tap_control {
	border: none;
	background-color: inherit;
	background-image: url("../img/lbl_control.png?20180919161244");
	background-size: 110px 114px;
	background-repeat: no-repeat;
	width: 110px;
	height: 114px;
	display: inline-block;

	/* height: 36px; */
	background-position: center;
}

/* AR認識スイッチ ラベル */
#label_ar_enable {
	border: none;
	background-color: inherit;
	background-image: url("../img/lbl_ar.png?20180919161243");
	background-size: 64px 16px;
	background-repeat: no-repeat;
	width: 64px;
	height: 16px;
	display: inline-block;

	height: 36px;
	background-position: center;
}

/* AR認識スイッチ */
#control_ar_enable {
	border: none;
	background-color: inherit;
	background-image: url("../img/btn_ar_02.png?20180919161247");
	background-size: 64px 36px;
	background-repeat: no-repeat;
	width: 64px;
	height: 36px;
}

/* AR認識リセット */
#reload_ar {
	border: none;
	background-color: inherit;
	background-image: url("../img/btn_reload_01.png?20180919161248");
	background-size: 64px 36px;
	background-repeat: no-repeat;
	width: 64px;
	height: 36px;
}

#control_ar_enable.active {
	background-image: url("../img/btn_ar_01.png?20180919161247");
}

/* フッター */
body {
	margin-bottom: 16vh;
	margin-bottom: 10vh;
	margin-bottom: 64px;
}
#footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1030;

	height: 16vh;
	line-height: 16vh;

	height: 10vh;
	line-height: 10vh;

	height: 64px;
	line-height: 64px;
}

#footer > div {
	text-align: center;
}

/* 撮影ボタン */
#control_capture {
	border: none;
	background-color: inherit;
	background-image: url("../img/btn_capture_01.png?20180919161247");
	background-size: 220px 60px;
	background-repeat: no-repeat;
	width: 220px;
	height: 60px;
}
#control_capture.hover {
	background-image: url("../img/btn_capture_02.png?20180919161247");
}
#control_capture:active {
	background-image: url("../img/btn_capture_03.png?20180919161247");
}


@media 
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
	#label_tap_control {
		background-image: url("../img/@3x/lbl_control.png?20180919161248");
	}
	#label_ar_enable {
		background-image: url("../img/@3x/lbl_ar.png?20180919161247");
	}
	#control_ar_enable {
		background-image: url("../img/@3x/btn_ar_02.png?20180919161247");
	}
	#control_ar_enable.active {
		background-image: url("../img/@3x/btn_ar_01.png?20180919161247");
	}
	#reload_ar {
		background-image: url("../img/@3x/btn_reload_01.png?20180919161248");
	}
	#control_capture {
		background-image: url("../img/@3x/btn_capture_01.png?20180919161247");
	}
	#control_capture.hover {
		background-image: url("../img/@3x/btn_capture_02.png?20180919161247");
	}
	#control_capture:active {
		background-image: url("../img/@3x/btn_capture_03.png?20180919161247");
	}
}

/* モーダル */
.allover {
	width		: 100%;
	height		: 100%;
	position	: absolute;
	top			: 0;
	left		: 0;
	bottom		: 0;
	right		: 0;
}
.modal_bg {
	z-index		: 9999;
	
	background-color	: #666666;
	filter				: alpha(opacity=50);
	  -moz-opacity		: 0.5;
	-khtml-opacity		: 0.5;
	       opacity		: 0.5;

}
.modal {
	z-index		: 10000;
}

.modal_dialog {
	width: 70%;
	min-height: 180px;
	position: absolute;
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%);
	
	background-color: #FFFFFF;
	border-radius: 4px;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);

	text-align		: center;
}

.modal_dialog > div {
	width: 90%;
	position: absolute;
}
#alert_dialog .modal_body {
	left: 50%;
	top: 40%;
	transform: translate(-50%, -40%);
}
#alert_dialog .modal_footer {
	left: 50%;
	top: 90%;
	transform: translate(-50%, -90%);
}
#alert_dialog .modal_footer button {
	width: 60%;
	max-width: 200px;
	padding: 0.4rem 1rem;
	font-size: 120%;
}

#loading .modal_body {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
