/*地図検索用*/
.mapwrapper{
  width:100%;
  margin:0px auto;
}


@media screen and (min-width: 641px) {
	.map {
		width: 90%;
		height: 500px;
    margin:0 auto;
	}

  .active_spot{
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding-left: 20px;
  }
}

@media screen and (min-width: 1024px) {
	.map {
		width: 100%;
		max-width: 1024px;
		height: 500px;
    margin:0 auto;
	}
}

@media screen and (max-width: 640px) {
  .map {
	width: 90%;
	min-width : 300px;
    height: 300px;
    margin:0 auto;
  }

  .active_spot{
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
  }
}

div.ol-attribution li a{
  color:-webkit-link !important;
}

img.annotation_img{
  cursor: pointer;
}

.spot_annotation{
  display: flex;
  flex-flow:column;
  justify-content:space-between;
  position: relative;
}
.spot_annotation p {
  position: absolute;
  text-align: center;
  font-size: 12px;
  margin: 0px;
  color: #393939;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #cccccc;
}

.ol-popup {
  display: none;
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
}

.ol-popup:after, .ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.ol-popup-closer {
  color:initial !important;
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}

.ol-popup-closer:after {
  content: "×";
}

#popup-content h4{
  margin:0;
}

#popup-content a{
  color:-webkit-link !important;
}

/*.olPopupCloseBox {
    background: url(../img/golf.png) no-repeat !important;
}*/


div.neighborlist{
  margin: 0;
  padding: 0;
  text-align:center;
  display:none;
  background: rgba(255,255,255,1);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

div.row_link {
	width: 33%;
	color: #000000;
	background: #ffffff;
	border: 1px #e3e3e3 solid;
	border-radius: 3px;
	margin: 1px 0;
	height:initial;
	line-height:normal;
	min-height:40px;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	box-sizing: border-box;
}

.neighborlist::after{
  content:"";
  display: block;
  width:33%;
}

div.row_link a.widelink{
	height:auto;
}

div.row_link .text{
	color: #444;
	font-weight: normal;
	text-align: center;
	vertical-align: middle; 	/* これで縦位置中央 */
	/* 背景の余白（top, right, bottom, left） */
	padding: 0px 3px;
	font-size: 12px;
}

div.nomyplace{
  text-align:center;
  font-size:1.2em;
  font-weight:bold;
  color:#333333;
  display:none;
}

div.nomyplace a {color: #333333;
}


@media screen and (min-width:481px) { 
	/*　画面サイズが481pxからはここを読み込む　*/
	div.neighborlist{
		padding:0px 5px;
		box-sizing: border-box;
	}
	div.row_link {
		width: 24.6%;
	}
	.neighborlist::after{
		content:"";
		display: block;
		width:24.6%;
	}
	.neighborlist::before{
		content:"";
		display: block;
		width:24.6%;
		order:1;
	}
}