@charset "UTF-8";

/* reset */
.btnWrap, .btnWrap *, .opeWrap, .opeWrap * {
	margin: 0;
	padding: 0;
	font-size: 100%;
	font-style: normal;
	font: inherit;
	vertical-align: baseline;
	list-style-type: none;
	box-sizing: border-box;
}
.btnWrap button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	appearance: none;
}

.modal, .modal * {
	margin: 0;
	padding: 0;
	font-size: 100%;
	font-style: normal;
	font: inherit;
	vertical-align: baseline;
	list-style-type: none;
	box-sizing: border-box;
}
.modal button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	appearance: none;
}



/* camera button
====================================================*/
.btnWrap {
	position: absolute;
	right: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	min-width: 170px;
	padding: 1em;
	height: auto;
	font-size: 16px;
}


/* ---  floor  --- */
.floorWrap {
	margin-bottom: 1rem;
}

/*floor toggle*/
.floor-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .5em 1em .5em .5em;
	background: rgba(0,0,0,.5);
	color: #FFF;
	text-align: center;
	cursor: pointer;
	transition: .2s;
}
.floor-toggle span {
	display: flex;
	align-items: center;
}
.floor-toggle span::before {
	content: "";
	margin-right: .5em;
	width: 1.2em;
	height: 1.2em;
	background-image: url(floor.svg);
	background-size: contain;
	background-repeat: no-repeat;
}
.floor-toggle::after {
	content: "";
	width: .5em;
	height: .5em;
	border-top: 2px solid #FFF;
	border-right: 2px solid #FFF;
	transform: translate(0, -2px) rotate(135deg);
	transition: .4s;
}
.floor-toggle.open::after {
	transform: translate(0, 2px) rotate(-45deg);
}

/*floor list*/
.floor-list {
	display: none;
}
.floor-list.active {
	display: block;
}

/*floor btn*/
.floor-btn {
	margin-top: 1px;
	padding: .5em 1em .5em 2.2em;
	background: rgba(0,0,0,.4);
	cursor: pointer;
	color: #FFF;
	transition: .2s;
}
.floor-btn:hover {
	background: rgba(0,0,0,.6);
	color: #22a6b3;
}
.floor-btn.active {
	background: rgba(0,0,0,.2)!important;
	color: #FFF!important;
	cursor: default;
}


/* ---  camera  --- */
/*camera toggle*/
.cam-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .3em 1em .3em .5em;
	background: rgba(0,0,0,.5);
	font-size: .9em;
	color: #FFF;
	cursor: pointer;
	transition: .2s;
}
.cam-toggle span {
	display: flex;
	align-items: center;
}
.cam-toggle span::before {
	content: "";
	margin-right: .5em;
	width: 1.2em;
	height: 1.2em;
	background-image: url(camera.svg);
	background-size: contain;
	background-repeat: no-repeat;
}
.cam-toggle::after {
	content: "";
	width: .5em;
	height: .5em;
	border-top: 2px solid #FFF;
	border-right: 2px solid #FFF;
	transform: translate(0, 2px) rotate(-45deg);
	transition: .4s;
}
.cam-toggle.close::after {
	transform: translate(0, -2px) rotate(135deg);
}

/*camera list*/
.cam-list {
	display: none;
}
.cam-list.active {
	display: block;
}

/*camera btn*/
.cam-btn {
	margin-top: .5em;
	padding: .5em;
	background: rgba(0,0,0,.4);
	cursor: pointer;
	color: #FFF;
	font-size: 14px;
	transition: .2s;
}
.cam-btn:hover {
	background: rgba(0,0,0,.6);
	color: #22a6b3;
}



/* modal
====================================================*/
.modal {
	position: fixed;
	left: 0;
	top: 0;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.6);
	visibility: hidden;
	opacity: 0;
	transition: opacity .4s, visibility 0s .4s;
	z-index: 400;
}
.modal.modal-open {
	visibility: visible;
	opacity: 1;
	transition: opacity .4s, visibility 0s 0s;
}
.modalBox {
	position: relative;
	display: none;
	padding: 1rem .5rem;
	width: 100%;
	max-width: 800px;
	max-height: calc(100vh - 10rem);
	border-radius: 4px;
	background: #FFF;
	overflow: hidden;
}
.modalBox.modal-scroll {
	padding: 1rem .25rem 1rem .5rem;
	height: 100%;
}
.modal-open .modalBox {
	display: block;
}

.modalClose {
	position: absolute;
	right: .5rem;
	top: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #FFF;
	cursor: pointer;
	width: 1.5rem;
	height: 1.5rem;
	transition: .2s;
	z-index: 500;
}
.modalClose::before, .modalClose::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px;
	height: 1.5rem;
	background: #333;
}
.modalClose::before {
	transform: translate(-50%,-50%) rotate(45deg);
}
.modalClose::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}

/*モーダル内スクロールバー*/
.modal *::-webkit-scrollbar {
	padding-top: 100px;
	width: .25rem;
	height: .25rem;
}
.modal *::-webkit-scrollbar-track {
	background-color: #FFF;
}
.modal *::-webkit-scrollbar-thumb {
	background: #CCC;
	width: auto;
}

.modal .scrollwarp {
	flex: 1!important;
	padding-left: .5rem!important;
	padding-right: 0.25rem!important;
	overflow-y: scroll!important;
}

.modal-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}
.modal-inner > * {
	padding: 0 .5rem;
}


/* ---  modal中身  --- */
.modal-header .title {
	margin-bottom: .5rem;
	padding-right: 2rem;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.2;
}

.modal-body {
	display: flex;
}
.modal-body .txtwrap {
	flex: 1;
}
.modal-body .imgwrap {
	margin-left: .5rem;
	width: 40%;
}
.modal-body .imgwrap img {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: auto;
}

.modal-footer {
	margin-top: 1rem;
}




/* 操作方法
====================================================*/
.opeWrap {
	position: absolute;
	right: 1em;
	bottom: 1em;
	display: flex;
	margin: 0;
}
.opeWrap .toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 10px;
	width: 80px;
	height: 80px;
	border-radius: 40px;
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	cursor: pointer;
	transition: .4s;
}
.opeWrap .toggle svg {
	margin-bottom: 5px;
	width: 30px;
	transition: .4s;
}
.opeWrap .toggle svg .svg-lc {
	transition: .4s;
}

.toggle.color-mono {
	background: rgba(0,0,0,.4);
	color: #FFF;
}
.toggle.color-mono svg {
	fill: rgba(255,255,255,.9);
}
.toggle.color-mono svg .svg-lc {
	fill: rgba(255,255,255,.4);
}
.toggle.color-mono:hover {
	background: rgba(0,0,0,.6);
	color: rgba(34,166,179,1);
}
.toggle.color-mono:hover svg {
	fill: rgba(34,166,179,1);
}
.toggle.color-mono:hover svg .svg-lc {
	fill: rgba(34,166,179,.5);
}

.toggle.color-blue {
	background: rgba(255,255,255,1);
	color: rgba(56,89,167,1);
}
.toggle.color-blue svg {
	fill: rgba(56,89,167,1);
}
.toggle.color-blue svg .svg-lc {
	fill: rgba(34,166,179,1);
}
.toggle.color-blue:hover {
	background: rgba(255,255,255,.8);
}

.opemodal {
	padding: 2rem;
}
.opemodal .modalBox {
	max-height: 600px;
}
.opemodal .scrollwarp {
	display: flex;
}
.opemodal .modal-body {
	flex-wrap: wrap;
	justify-content: space-between;
	margin: auto 0;
	padding: 0 2rem;
}
.opemodal .title {
	margin-bottom: 1.5rem;
	width: 100%;
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	color: #2b9dbc;
}
.opemodal .imgwrap {
	margin: 0 0 2rem;
	width: 48%;
}
.opemodal .modalClose {
	right: .5rem;
	top: .5rem;
	width: 3rem;
	height: 3rem;
}
.opemodal .modalClose::before, .opemodal .modalClose::after {
	height: 2rem;
	background: #2b9dbc;
}
@media screen and (max-width: 767px) {
	.opemodal {
		padding: 1rem;
	}
	.opemodal .modalBox {
		max-height: calc(100vh - 4rem);
	}
	.opemodal .modal-body {
		padding: 0;
	}
	.opemodal .imgwrap {
		margin: 0 auto 2rem;
		width: 80%;
	}
}