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

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

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

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

.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;
}

.neighborlist_header {
  padding: 9px 10px 9px 28px;

	background-image: url(../img/bg/black_pin.png);
	background-repeat: no-repeat;
	background-size: 13px;
	background-position-x: 10px;
	background-position-y: 11px;

	font-size: 1.4rem;
	font-weight: 600;;
}

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

div.row_link {
  box-sizing: border-box;
  height:initial;
  width: 32%;

  margin: 3px 2px;
  padding: 5px;

	background-color: #F5F5F5;
	border: 1px solid #B7B7B7;
  border-radius: 4px;
  
  line-height:normal;

  display: flex;
  align-items: center;
  -webkit-box-align: center;
	-ms-flex-align: center;
}

.neighborlist::before{
  content:"";
  display: block;
  width:33%;
  order:1;
}

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

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

div.row_link .text{
  color: #474749;
  font-size: 1.1rem;
  font-weight: 600;
}

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


@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%;
    margin: 0 2px;
	}
	.neighborlist::before{
		content:"";
		display: block;
		width:24.6%;
		order:1;
	}
}