html {
	touch-action: manipulation;
}

body {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#headerArea {
	position: fixed;
	display: flex;
	justify-content: space-between;
	width: 100%;
	z-index: 50;
}

#bodyArea {
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 0;
}

#map {
	/*アカウント登録機能追加時にiOSで地図面がズレる現象があったため、position: fixed;　で回避している　20230703*/
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	z-index: 0;
}

#menu {
	position: absolute;
	top: 0%;
	left: calc(100vw/2 - 65px);
	margin: 0 auto;
	width: 130px;
	background: #3e3e3ec7;
	color: #ffffff;
	padding: 10px;
	font-family: 'Open Sans', sans-serif;
	z-index: 2;
}

#menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#aboutThisViewer {
	background: #f8f8f8;
	margin: 8px;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, 0.4);
}

#aboutThisViewer a {
	color: #404040;
	display: block;
	margin: 0;
	padding: 0;
	padding: 10px;
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	text-align: center;
}

#aboutThisViewer a:hover {
	background-color: #EBF3F9;
	color: #404040;
}

.l-search {
	max-width: 900px;
	position: fixed;
	top: 100px;
	left: 10px;
	z-index: 1;
}

.l-search__inner {
	background-color: rgba(0, 0, 0, 0.85);
	padding: 5px 5px 10px 5px;
	border-radius: 0 8px 8px 8px / 0 8px 8px 8px;
}

.l-side {
	width: 300px;
	height: calc(100% - 50px);
	background-color: #fff;
	border-top: solid 0.5px #b4b4b4;
	border-right: solid 2px #b4b4b4;
	position: fixed;
	left: -300px;
	z-index: 11;
	transition: all .2s;
}

.l-side.active {
	left: 0;
}

.l-side-open {
	width: 38px;
	height: 50px;
	position: absolute;
	right: -38px;
	top: calc(100vh / 2);
	z-index: 11;
	transform: translateY(-50%) rotate(180deg);
	background-image: url("../img/ico_open.png");
	background-repeat: no-repeat;
	background-position: bottom;
	display: block;
	cursor: pointer;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}

.l-side-open.active {
	background-position: top;
}

.l-side__inner {
	height: 100%;
	padding-top: 0px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	overflow-y: scroll;
	display: flex;
	flex-direction: column;
}

.r-side {
	background-color: #fff;
	position: fixed;
	z-index: 30;
	transition: all .2s;
}

.r-side-open {
	width: 38px;
	height: 50px;
	position: absolute;
	z-index: 0;
	background-image: url("../img/ico_open.png");
	background-repeat: no-repeat;
	background-position: bottom;
	display: block;
	cursor: pointer;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}

.r-side-open.active {
	background-position: top;
}

.r-side__inner {
	height: 100%;
	padding: 10px;
	overflow-y: scroll;
}

.datashow {
	-webkit-display: flex;
	-ms-display: flex;
	display: flex;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	margin-bottom: 8px;
}

.datashow span {
	display: block;
	color: #646464;
	font-size: 13px;
	cursor: pointer;
	background-repeat: no-repeat;
	padding-left: 26px;
}

.fa-download {
	cursor: pointer;
}

.datashow span.subeteopen {
	padding-right: 15px;
	border-right: solid 1px #b4b4b4;
	background-image: url("../img/ico_all_open.png");
	background-position: 0 3px;
}

.datashow span.subeteclose {
	padding-left: 35px;
	background-image: url("../img/ico_all_close.png");
	background-position: 11px 3px;
}

.datalist .item {
	margin-top: 10px;
	border-top: solid 1px #b4b4b4;
}

/*
.datalist .item:last-child {
	border-bottom: solid 1px #b4b4b4;
}
*/
.datalist .item__head {
	font-weight: bold;
	padding: 9px 0 9px 5px;
	background-color: #f5f5f5;
	position: relative;
	cursor: pointer;
}

.datalist .item__head::after {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-left: solid 1px #000;
	border-top: solid 1px #000;
	transform: rotate(225deg);
	position: absolute;
	right: 10px;
	top: 12px;
}

.datalist .item__head.active::after {
	transform: rotate(45deg);
	top: 18px;
}

.datalist .item__dtl {
	display: none;
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom: solid 1px #b4b4b4;
}

.datalist .item__dtl.active {
	display: block;
}

.datalist .item__dtl__tbl th {
	width: 140px;
	padding-left: 5px;
}

li {
	list-style: none
}

ul {
	padding-left: 0
}

#leaflet-modal-body {
	padding: 0;
	height: calc(100vh - 230px);
}

#leafletMap {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.leaflet-side {
	border-left: solid 2px #b4b4b4;
	border-top: solid 1px #b4b4b4;
	border-bottom: solid 1px #b4b4b4;
	background-color: #fff;
	position: absolute;
	z-index: 1001;
	transition: all .2s;
}

.leaflet-side-open {
	width: 38px;
	height: 50px;
	position: absolute;
	z-index: 10;
	background-image: url("../img/ico_open.png");
	background-repeat: no-repeat;
	background-position: bottom;
	display: block;
	cursor: pointer;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}

.leaflet-side-open.active {
	background-position: top;
}

.leaflet-side__inner {
	height: 100%;
	padding: 10px;
	overflow-y: scroll;
	display: none;
}

.leaflet-side__inner.active {
	display: block;
}

.leaflet-tooltip {
	display: none;
}

.leaflet-tooltip.lotno {
	background-color: transparent;
	border: transparent;
	box-shadow: none;
	font-weight: bold;
	font-size: 15px;
	color: #000000;
}

.promoted {
	margin-top: auto;
}

.smdpromoted {
	margin-bottom: 10px;
}

.questionnaire {
	position: absolute;
	z-index: 5;
	right: 10px;
	bottom: 45px;
	width: 50px;
	transition: .2s ease-out;
}

.questionnaire:hover {
	width: 150px;
}

.questionnaire_text {
	position: absolute;
	left: 35px;
	bottom: 8px;
	z-index: 5;
	font-size: 20px;
	display: none;
	white-space: nowrap;
}

.questionnaire:hover .questionnaire_text {
	display: block;
}

/*ログイン画面の表示非表示用*/
.MappleLoginUI_hide {
	opacity: 0;
	visibility: hidden;
	transition: 0.2s;
}

.MappleLoginUI_show {
	transition: 0.2s;
	opacity: 1;
	visibility: visible;
}

.signinbutton {
	position: absolute;
	right: 5px;
}

.signoutbutton {
	position: absolute;
	right: 15px;
}

.mappleLogoArea {
	display: flex;
	justify-content: center;
	align-items: center;
}

.mapplelogo {
	z-index: 20;
}

.searchArea {
	flex-grow: 2;
	position: relative;
	display: flex;
	align-items: center;
}

/*ログインボタンとログアウトボタンを重ねる*/
.OverrideBox {
	flex-grow: 3;
	position: relative;
	display: flex;
	align-items: center;
}

/* Terradrawのカスタムボタン */
.custom-control-btn:disabled {
	background-color: #ebebe4;
}


@media print,
screen and (min-width: 897px) {

	#headerArea {
		height: 50px;
	}

	#bodyArea {
		top: 50px;
	}

	.mapplelogo {
		margin-left: 10px;
		margin-right: 10px;
		width: 120px;
	}

	#columnLinkButton_pc {
		text-align: center;
		position: absolute;
		right: 130px;
	}

	#search {
		margin-left: 10px;
		margin-right: 10px;
		border: 1px solid #838383;
		padding: 0rem 0rem 0rem 1rem;
		border-radius: 1.5rem;
		font-size: 1.5rem;
		z-index: 18;
		width: 100%;
	}

	#search input {
		font-size: 1.5rem
	}

	#empty-message {
		position: absolute;
		top: 2.6rem;
		font-size: 1.5rem;
		background-color: white;
		z-index: 18;
		width: 100%;
	}

	.r-side {
		border-top: solid 0.5px #b4b4b4;
		border-left: solid 2px #b4b4b4;
		width: 400px;
		height: calc(100% - 50px);
		right: -400px;
	}

	.r-side.active {
		right: 0;
	}

	.r-side-open {
		left: -38px;
		top: calc(100vh / 2);
		transform: translateY(-50%);
	}

	.maplibregl-ctrl-top-right {
		right: 0px;
		transition: all .2s;
	}

	.maplibregl-ctrl-bottom-right {
		right: 0px;
		transition: all .2s;
	}

	.maplibregl-ctrl-top-right.active {
		right: 400px;
	}

	.maplibregl-ctrl-bottom-right.active {
		right: 400px;
	}

	.questionnaire.act {
		right: 410px;
	}

	.leaflet-side {
		width: 0px;
		height: 100%;
		right: 0px;
	}

	.leaflet-side.active {
		width: 400px;
		right: 0;
	}

	.leaflet-side-open {
		left: -38px;
		top: calc(100% / 2);
		transform: translateY(-50%);
	}

	.smdpromoted img {
		width: 260px;
		height: auto;
	}

	.saiyou img {
		width: 260px;
		height: auto;
	}

	#aboutThisViewer a {
		font-size: 17px;
	}

	.columnButtonClass{
		display: none;
	}
}



@media screen and (max-width: 896px) {

	#headerArea {
		height: 36px;
	}

	#bodyArea {
		top: 36px;
	}

	.mapplelogo {
		margin-left: 5px;
		margin-right: 5px;
		width: 90px;
	}

	#columnLinkButton_pc {
		display: none;
	}

	#search {
		margin-left: 5px;
		margin-right: 5px;
		font-size: 1.1rem;
		padding: 0rem 0rem 0rem 0.5rem;
		z-index: 18;

		border: 1px solid #838383;
		border-radius: 1.5rem;
		width: 100%;

	}

	#search::placeholder {
		font-size: 14px;
	}

	#search input {
		font-size: 1.1rem
	}

	#empty-message {
		position: absolute;
		top: 2rem;
		left: 1rem;
		font-size: 1rem;
		background-color: white;
		z-index: 1
	}

	.l-side {
		height: calc(100% - 36px);
		width: 210px;
		left: -210px;
	}

	.r-side {
		border-top: solid 2px #b4b4b4;
		border-left: solid 2px #b4b4b4;
		border-right: solid 2px #b4b4b4;
		width: 95vw;
		height: 300px;
		bottom: -300px;
		left: 0;
		right: 0;
		margin: auto;
	}

	.r-side.active {
		bottom: 0;
	}

	.r-side-open {
		top: -44px;
		left: calc(100vw / 2);
		transform: translateX(-50%) rotate(90deg);
	}

	.r-side__inner {
		height: 100%;
	}

	.leaflet-side {
		border-top: solid 2px #b4b4b4;
		width: 100%;
		height: 0px;
		bottom: 0px;
	}

	.leaflet-side.active {
		height: 300px;
		bottom: 0;
	}

	.leaflet-side-open {
		top: -44px;
		left: calc(100% / 2);
		transform: translateX(-50%) rotate(90deg);
	}

	.leaflet-side__inner {
		height: 100%;
		display: none;
	}

	.leaflet-side__inner.active {
		display: block;
	}

	.smdpromoted img {
		width: 170px;
		height: auto;
	}

	.saiyou img {
		width: 170px;
		height: auto;
	}

	.maplibregl-ctrl-bottom-right {
		width: 40%;
	}

	#aboutThisViewer a {
		font-size: 12px;
	}

	/*コラムボタン*/
	.columnButtonClass {
		position: absolute;
		z-index: 5;
		left: 10px;
		top: 15px;
		width: 50px;
		transition: .2s ease-out;
	}

	.columnButtonClass:hover {
		width: 150px;
	}

	.columnButtonClass_text {
		position: absolute;
		left: 35px;
		bottom: 8px;
		z-index: 5;
		font-size: 20px;
		display: none;
		white-space: nowrap;
	}

	.columnButtonClass:hover .columnButtonClass_text {
		display: block;
	}

}