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

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

div.neighborlist{
  margin: 0;
  padding: 0;
  text-align:center;
  display:none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

div.row_link {
	width: 33%;
	color: #000000;
	background: #ffffff;
	border: 1px #e3e3e3 solid;
	border-radius: 3px;
	margin: 1px;
  
	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.spots_all_wrapper {
  padding: 10px 5px;
  text-align: end;
  color: #38AAE6;
}

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

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

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

@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.row_link {
		width: 32%;
	}

}

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