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


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

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

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

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

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

.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::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:#FFFF00;
  display:none;
}

a {color: skyblue;
}


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