body {
	background-color: #eef4f7;
}
.main-class {
	width: fit-content;
	align-items: center;
}
a {
	font-size:100%;
}
p {
	font-size:1.125em;
}
/* search-bar placeholder opacity */
input[type="text"]::-webkit-input-placeholder { /* WebKit browsers */
  opacity: 0.5;
}

input[type="text"]::-moz-placeholder {  /* Mozilla Firefox 19+ */
  opacity: 0.5;
}

input[type="text"]:-ms-input-placeholder {  /* IE 10+ */
  opacity: 0.5;
}

input[type="text"]:-moz-placeholder { /* Older versions of Mozilla Firefox */
  opacity: 0.5;
}

/* Optional: Change opacity on focus for better visibility while typing */
input[type="text"]:focus::-webkit-input-placeholder {
  opacity: 0.5;
}
#mapHeader {
	position: absolute;
	z-index: 998;
	padding: 15px;
	display: flex;
	flex-direction: row;
	width: 100%;
	align-items: center;
}
#custom_controls {
	position: relative;
	padding: 5px;
}
#layerListBox1 {
	position:relative;
	top: 14px;
	left: 6px;
	width: 270px;
	height: 450px;
	max-width: 270px;
	max-height: 450px;
	padding: 10px;
	overflow: scroll;
	display: none;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.box-item {
  border: 2px solid rgba(128, 128, 128, 0.2);
	padding: 2px;
	margin-bottom: 2px;
}
.input-group-prepend {
    background-color: none;
		border: none;
    border-radius: 8px;
    padding: 0;
}
.search-bar {
	position: relative;
	padding: 5px;
	.search-list {
		position: absolute;
		z-index: 1000;
		overflow: auto;
		cursor: pointer;
		margin: 0 auto;
		padding-top: 5px;
		width: 97%;
		max-height: 350px;
	}
}
#clearButton {
  position: absolute;
  right: 8px;       /* Adjust to position the button */
  top: 45%;
  transform: translateY(-50%); /* Vertical centering */
  border: none;
  background: none;
	color: #6c757d;
  cursor: pointer;
  opacity: 0.5;      /* Initially semi-transparent */
}
#new_dropdown {
	position: relative;
	padding: 5px;
	margin-left: auto;
	margin-right: 0px;
}
.dropdown-menu {
	top: 54px;
	right: 0;
	left: auto;
}
#mapBox {
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 100dvh;
}
#map {
	position: relative;
	z-index: 0;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100dvh;
}
#info_dropdown {
	position: absolute;
	z-index: 999;
	bottom: 100px;
	right: 10px;
	display: block;
	display: flex;
	justify-content: flex-end;
}
#showinfo {
	position: absolute;
	height: 34px;
	width: 34px;
}
/* .leaflet-control-locate {
	display: flex;
  align-items: center;
	background-color: none;
	.fad {
	  display: inline-block;
	  width: 30px;
	  height: 30px;
		margin: 0 auto;
		padding-top: 10px;
	}
} */
.leaflet-control-locate.active a {
	color: #fff !important;
	background-color: #0d6efd !important;
}
.leaflet-control-locate.active.following a {
	color: #fff !important;
	background-color: #0d6efd !important;
}
#show_cur_loc {
	margin-top: 10px;
	position: absolute;
	z-index: 999;
	right: 105px;
	font-size: large;
}
#right_dropdown {
	margin-top: 60px;
	position: absolute;
	z-index: 899;
	right: 10px;
}
#layerListBox {
	z-index: 100;
	position: absolute;
	display: none;
	width: 153px;
	top: 320px;
	left: 10px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
#rightBox {
	z-index: 100;
	position: absolute;
	top: 100px;
	display: none;
	right: 10px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
#rightBox2 {
	z-index: 100;
	position: absolute;
	display: none;
	top: 380px;
	right: 10px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
#info-text{
	z-index: 100;
	position: absolute;
	background-color: #ffc000;
	right: 5px;
	bottom:20px;
	width:10%;
	padding: 5px;
	opacity:0.8;
	font-weight: 600;
	text-align:center;
}
#soil_tile_info{
	z-index: 100;
	position: absolute;
	background-color: green;
	right: 45%;
	top:20%;
	padding: 5px;
	opacity:0.6;
	font-weight: 600;
	color: #ffc000;
}
.display-none {
  display: none !important;
}
.display-inline {
  display: inline !important;
}
#leftBox {
	z-index: 999;
	width: 290px;
	max-width: 290px;
	position: absolute;
	display: none;
	overflow: auto;
	top: 140px;
	right: 10px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.img-link{
	max-width: 150px;
	width: auto;
	height: auto;
}
.home-text {
	color: #000;
	text-decoration: none;
}
.home-img {
	width: auto;
  height: auto;
	margin-bottom: 15px;
}
.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}
#legend_img {
	width: 50px;
	height: 100px;
	cursor: pointer;
}
.card {
	border-width: 1px;
	border-color: coral;
}
.card strong{
	font-size: 120%
}
#translationMenu {
	position: absolute;
	top: 0;
  right: 0;
	padding: 5px;
}
/* starting menu 1 */
.cus_header{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-position:  right 50% bottom 70%; ;
	background-repeat: no-repeat;
	background-size: cover;
	animation-name: replace;
	animation-duration: 40s;
	animation-timing-function: steps(1, jump-start);
	animation-iteration-count: infinite;
}
@keyframes replace{
  25%   {background-image:url('../images/menu/13.jpg');}
  50%  {background-image:url('../images/menu/2.jpg');}
  75%  {background-image:url('../images/menu/14.jpg');}
  100%  {background-image:url('../images/menu/7.jpg');}
 }
.cus_header_text1{
	align-self:center;
	margin-top: 50px;
	margin-bottom: 20px;
	margin-right: 20px;
}
.cus_header_text1 h1{
  font-size: 4.3em;
  padding: 20px;
  color: #ffc000;
  font-family: serif;
  text-shadow: 3px 3px 3px #DB7F18;
}
.cus_header_text2{
	align-self:center;
	justify-content: center;
	margin-right: 30px;
	margin-bottom: 10px;
	background:linear-gradient(to top, #BD6428, #F3AC7D);
}
.cus_header_text2 h1{
	padding:5px;
	font-weight: normal;
	color: #fff;
	align-self:flex-end;
	font-size: 1.75em;
	font-family: serif;
	text-decoration:none;
}
.cus_header_text2 a{
	text-decoration:none;
}
.cus_header_text3{
  align-self: center;
  margin-bottom: 0px;
  margin-right: 0px;
  font-size: 1.25em;
  color: white;
}
.cus_header_text3 a{
	color: white;
}
.cus_header_text5{
	align-self:center;
	margin-bottom: 0px;
	margin-right: 0px;
	font-size: 1.00em;
	color: white;
}
.cus_header_text5 a{
	color: white;
}
.cus_header_text4{
	align-self:center;
	padding: 10px;
	margin:50px 50px 10px 40px;
	font-size: 1.375em;
	color: white;
	background-color: rgba(124, 124, 124, 0.801);
	text-align: left;
	font-family: serif
}
.cus_line{
	display:flex;
	flex-direction: row;
	justify-content: center;
	width:100%; height:65px;
	margin-bottom:20px;
	margin-top: 20px;
	background-color:white
}
.cus_line h2{
	font-weight: normal;
	font-size:2em;
	font-family: serif;
	margin: 10px;
}
.cus_line1{
	display:flex;
	flex-direction: row;
	justify-content: center;
	width:100%; height:65px;
	margin-bottom:20px;
	margin-top: 20px;
	background-color:white
}
.cus_line1 h1{
	font-weight: normal;
	 margin: 10px;
}
/* starting menu 2 */
.menu_header{
	display: flex;
	flex-direction: column;
	align-items: center;
	background: linear-gradient(90deg, rgba(114,131,92,1) 0%, rgba(147,173,134,1) 80%);
}
.menu_row{
	display: flex;
	flex-direction:row;
}
.menu_column{
	display: flex;
	flex-direction:column;
}
.menu_img1{
	max-width:680px;
	max-height: 490px;
	width: 100%;
	height: auto;
  padding: 10px;
  -webkit-filter: blur(5px); /* Safari 6.0 - 9.0 */
  filter: blur(5px);
}
.menu_img2{
	max-width:300px;
	max-height: 190px;
	width: 100%;
	height: auto;
	padding: 10px;
}
.menu_img3{
	max-width:300px;
	max-height: 190px;
	width: 100%;
	height: auto;
	padding: 10px;
}
.menu_text{
	align-self: center;
}
.menu_text h1{
	font-weight: bold;
	color:white
}
.menu_img4{
	max-width:200px;
	max-height: 210px;
	width: 100%;
	height: auto;
	padding: 10px;
}
.menu_img5{
	max-width:300px;
	max-height: 210px;
	width: 100%;
	height: auto;
	padding: 10px;
}
.menu_text2{
	padding: 10px;
	color: white;
}
/* Layer フォルダー化 */
ul {
  margin-left: -5%;;
}
li {
  list-style-type: none;
}
/* 横幅 */
#layer-folders {
  width: 110%;
	margin-left: -30px;
	list-style: none;
}
#layer-folders > li {
  font-weight: bold;
  cursor: pointer;
}
/* 初期表示  非表示*/
.layer-folder {
	width: 100%;
}
.layer-folder li {
  padding-left: 10px;
  background: floralwhite;
}
.check-layer{
	width: 100%;
}
.handle {
  cursor: move;
  cursor: -webkit-grabbing;
}
.sticky_table  th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1;
}
.sticky_table thead th {
	background: #d5d3d2;
}
.sticky_table thead th:nth-child(-n+2) {
	z-index: 2;
}
.sticky_table  th:nth-child(1)  {
	left: 0.25rem;
	background: #d5d3d2;
}
.sticky_table  th:nth-child(2)  {
	left: 2.25rem;
	background: #d5d3d2;
}
#show_map_3d {
	cursor: pointer;
}
#leftBox2 {
	z-index: 999;
	width: 290px;
	height: auto;
	max-width: 290px;
	max-height: 180px;
	position: absolute;
	display: none;
	top: 74px;
	left: 16px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
#popup-mobile {
	display: flex;
  flex-direction: column;
  flex-wrap: wrap;
	gap: 5px;
	position: absolute;
	top: 60px;
	margin-top: 0px;
	left: 10px;
	width: fit-content;
	height: auto;
	display: none;
}
.sp_silder_title{
	margin: auto;
}
#sp_silder {
	position: relative;
	top: 14px;
	left: 6px;
	width: 190px;
	max-width: 190px;
	height: 215px;
	max-height: 215px;
	height: fit-content;
	display: none;
	margin-top: 0px;
	padding-left: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
#sp_silder_nodepth {
	position: relative;
	top: 14px;
	left: 6px;
	width: 190px;
	max-width: 190px;
	height: 200px;
	max-height: 200px;
	height: fit-content;
	display: none;
	margin-top: 0px;
	padding-left: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

#sp_silder1 {
	display: flex;
}
#layer_spchart {
	z-index: 100;
	position: absolute;
	top: 65px;
	left: 700px;
	width: 660px;
	height: 650px;
	overflow: auto;
	display: none;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px #0275d8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
#slide6 {
	appearance: slider-vertical;
	background-color: #ccc;
  height: 110px;
  width: 2px;
  margin: auto auto 8px 10px;
}
#sp_silder11 {
	width: 23px;
}
#sp_silder12 {
	width: 60px;
}
#sp_silder13 {
	width: 80px;
	text-align : center;
}
#layerpanel_tanni {
	height: 30px;
	width: 80px;
	text-align : center;
}
#layerpanel_pic {
	width: 30px;
}
#sp_legend_img {
	width: 50px;
	height: 90px;
  margin-left: 20px;
	margin-top: -10px;
}
.layer_panel_text {
    height: 30px;
}
.leaflet-left {
	padding-bottom: 16px;
}
.leaflet-top  {
	position: absolute;
}
.leaflet-top .leaflet-control {
	margin-right: 60px !important;
}
.leaflet-bottom  {
	position: absolute;
	.leaflet-right{
		display: flex;
  	justify-content: flex-end;
	}
}
.leaflet-control-geocoder-form {
	padding: 8px !important;
	width: 55vw !important;
	display: inline-block !important;
}
.button_lang {
	cursor: pointer;
	display: inline-block;
	padding: 0.25em 0em;
	border-radius: 10px;
	width: 5em;
	transition: 0.25s ease;
}
.button_lang:hover {
	background: #b5d6b2;
	transition: 0.25s ease;
}
.current_lang {
	background: #b5d6b2;
}
textarea:focus, input:focus{
	outline: none;
	border: none;
}
.leaflet-popup-content {
	word-break: break-word;
  overflow-x: hidden;
	width: 110px;
	/* Line Clamping Properties */
  display: -webkit-box;
  -webkit-line-clamp: auto;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.leaflet-popup {top: 20px !important;}
.leaflet-popup-tip-container {
	top: 0px !important;
}
.leaflet-popup-tip {
	box-shadow: none !important;
}
.leaflet-popup:before
	{
	content: "";
	position: absolute;
	border: 13px solid transparent;
	border-bottom-color: white;
	bottom: 0px;
	margin-left: -13px;
}
/* Mobile Devices */
@media (max-width: 720px) {
	body {
		touch-action: manipulation;
	}
	#mapHeader {
		position: absolute;
		z-index: 998;
		padding: 5px;
		display: flex;
		flex-direction: row;
		width: 100%;
		background-color: black;
		-webkit-user-select: none;  /* Chrome, Safari, Opera */
	  -moz-user-select: none;     /* Firefox */
	  -ms-user-select: none;      /* IE 10+ */
	  user-select: none;          /* Standard syntax */
		touch-action: manipulation; /* disable accidental zooming */
	}
	#show_layers {
		height: 38px;
		width: 40px;
		-webkit-user-select: none;  /* Chrome, Safari, Opera */
	  -moz-user-select: none;     /* Firefox */
	  -ms-user-select: none;      /* IE 10+ */
	  user-select: none;          /* Standard syntax */
		touch-action: manipulation; /* disable accidental zooming */
		.fas {
			display: flex;
			margin-top: 1px;
			margin-left: -6px;
		}
	}
	#layerListBox1 {
		position:relative;
		top: 0px;
		left: -5px;
		width: 270px;
		height: 450px;
		max-width: 270px;
		max-height: 450px;
		padding: 10px;
		overflow: scroll;
		display: none;
		background-color: rgba(255, 255, 255, 0.9);
		border: solid 2px #0275d8;
		box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
		overflow-x: hidden;
		-webkit-user-select: none;  /* Chrome, Safari, Opera */
	  -moz-user-select: none;     /* Firefox */
	  -ms-user-select: none;      /* IE 10+ */
	  user-select: none;          /* Standard syntax */
		touch-action: manipulation; /* disable accidental zooming */
	}
	#custom_controls {
		position: relative;
		z-index: 999;
		padding: 5px;
		margin-left: 0px;
		margin-right: auto;
		-webkit-user-select: none;  /* Chrome, Safari, Opera */
	  -moz-user-select: none;     /* Firefox */
	  -ms-user-select: none;      /* IE 10+ */
	  user-select: none;          /* Standard syntax */
		touch-action: manipulation; /* disable accidental zooming */
	}
	.search-bar {
		position: relative;
		padding: 5px;
		margin: 0 auto;
		width: 100%;
		-webkit-user-select: none;  /* Chrome, Safari, Opera */
	  -moz-user-select: none;     /* Firefox */
	  -ms-user-select: none;      /* IE 10+ */
	  user-select: none;          /* Standard syntax */
		touch-action: manipulation; /* disable accidental zooming */
		.search-list {
			position: absolute;
			z-index: 1000;
			overflow: auto;
			cursor: pointer;
			margin: 0 auto;
			padding-top: 5px;
			width: 97%;
			max-height: 350px;
		}
	}
	#new_dropdown {
		position: relative;
		padding: 5px;
		margin-left: auto;
		margin-right: 0px;
		-webkit-user-select: none;  /* Chrome, Safari, Opera */
	  -moz-user-select: none;     /* Firefox */
	  -ms-user-select: none;      /* IE 10+ */
	  user-select: none;          /* Standard syntax */
		touch-action: manipulation; /* disable accidental zooming */
	}
	.dropdown-menu {
		top: 55px;
		right: 0;
		left: auto;
		-webkit-user-select: none;  /* Chrome, Safari, Opera */
	  -moz-user-select: none;     /* Firefox */
	  -ms-user-select: none;      /* IE 10+ */
	  user-select: none;          /* Standard syntax */
		touch-action: manipulation; /* disable accidental zooming */
	}
	#leftBox2 {
		top: 60px;
		left: 5px;
	}
}
