.search-main .low-title-common {
    background-image: url(../images/event/event-title-back.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.search-main .low-title-common h1 {
    padding: 13px 45px;
}

.search-main .low-common{
  margin-bottom: 100px;;
}


.search-main .low-title-common h1 {
    padding: 13px 45px;
}

.search-main .low-common__sub-heading img {
    width: 799px;
}

.pagelink_list{
	margin: 0 auto 125px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	display: none;
}
.pagelink_item{
	flex: 0 1 auto;
	width: fit-content;
}
.pagelink_item:not(:last-of-type){
	margin-right: 38px;
}

.pagelink_link{
	padding: 10px 80px 10px 20px;
    border: solid 1px #69A2D1;
	box-shadow: 5px 5px 0px 0px #69A2D1;
	font-size: .16rem;
	font-weight: 500;
}
.pagelink_link::before{
	background-color: #C0C8ED;
}
.pagelink_item .button-1::after{
	transform: rotate(90deg);
	filter: brightness(0) invert(1);
}


.search_h2{
  width: fit-content;
  margin: 0 auto 79px;
  position: relative;
}
.search_h2_img{
  width: 100%;
}
.search_h2::before {
  content: "";
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
}
.search_h2-map::before {
  background-image: url(../images/search/search-border.svg);
  width: 143%;
  height: 18px;
  max-width: 327px;
  left: -18%;
  bottom: -27px;
}
.search_h2-region::before {
  background-image: url(../images/search/search-border2.svg);
  max-width: 237px;
  width: 75%;
  height: 15px;
  left: 20%;
  bottom: -30px;
}

/* マップの部分 */

.search-main #map-display {
    /* height: 60vh; */
    height: 100%;
    width: 68%;
  }

  
  .search-main a.eninfo {
    display: block
  }
  
  
  .gm-style-iw.gm-style-iw-c {
    width: 100%;
    max-width: 2.5% !important;/* 表示全体幅 */
    background: #ffcec2;
  }
  
  /* 吹き出し */
  .gm-style-iw.gm-style-iw-c {
    width: 100%;
    max-width: 2.5% !important;
    background: #ffcec2;
    padding-inline-end: 10px !important;/* paddingとセット paddingを変えたらこれも変更する*/
    padding: 0 10px;

    display: none;
  }

  .gm-style .gm-style-iw-tc {
    display: none;
}
  
  /* .detail-img{
    width: 100%;
    display: block;
  } */
  
  .gm-style-iw-d img{
    width: 100%;
    margin-bottom: 30px;
  }
  
  /* バツマークサイズ */
  .gm-ui-hover-effect>span{
    width: 35px !important;
    height: 35px !important;
    margin: 0 !important;
  }
  
  /* 文字の部分 */
  .eninfo {
    text-align: center;
    text-decoration: none;
    color: #dd540c;
    display: block;
  }
  
  /* バツの濃さ  バツを囲ってる箱の大きさ*/
  .gm-ui-hover-effect {
    opacity: 1;
    width: 30px !important;
      height: 30px !important;
  }
  
  /* 画像を大きく出した時に見えるスクロールバーの部分 */
  .gm-style .gm-style-iw-d::-webkit-scrollbar {
    width: 0;
    height: 0;
    -webkit-appearance: none;
  }
  
  .poi-info-window div{
    color: #333;
    font-family: Roboto,Arial;
    background-color: initial;
  
  }
  
  a:focus {
    outline: initial;
  }
  
  html{
    scroll-behavior: smooth;
  }
  

  #map-display{
    margin-bottom: 700px;
  }
  
  .dummy-text-link{
    font-size: .20rem;
    color: #000;
    display: inline-block;
    margin-bottom: 1000px;
  }
  
  #marker-filter{
    margin-bottom: 100px;
  }
  
  
  .color-text{
    color: #dd540c;
  }
  
  
  @media screen and (max-width:479px) {
  
    .gm-style-iw.gm-style-iw-c {
      max-width: 1.8% !important;
  }
  
  }

  .search-map{
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
  }

  #mapsearch {
    position: relative;
}

.select-back {
  padding: 0 10px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 10;
  width: 68%;
  height: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#sel {
  display: block;
  width: 25%;
  padding: 2px 0;
  border-radius: 5px;
}

.select-back::before{
  content: "";
  background-color: #ffffff99;
  width: 100%;
  height: 60px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1
}
.map-flex {
    display: flex;
    height: 676px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
  .map-detail{
    width: 32%;
    background-color: #FFF3DA;
    position: relative;
  }


  

  .map-detail-switch1 p {
    font-size: .24rem;
    font-weight: bold;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: -50px;
    margin: auto;
    width: fit-content;
    height: fit-content;
    line-height: 2.6;
}
  
.map-detail-switch1 p img {
  width: 32px;
  vertical-align: baseline;
}

.map-detail-switch1{
    
}

.map-detail-switch2{
  display: none;
}

.map-detail-switch2__container {
    padding: 0 50px 0 50px;
    margin-top: 50px;
}
#map-switch2-close{
  display: none;
}

.map-detail-switch2__contents{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

p.map-kindergarten-name {
  font-size: .26rem;
  font-weight: bold;
  margin-bottom: 50px;
}

.map-detail-head {
    font-size: .13rem;
    border: solid 1px #000;
    border-radius: 8px;
    text-align: center;
    width: fit-content;
    padding: 0px 6px;
    min-width: 76px;
    font-weight: 500;
}
.map-detail__addr{
  margin-bottom: 25px;
  flex: 0 1 auto;
  width: 100%;
}
.map-detail-item-addr{
  margin-top: 7px;
  font-size: .16rem;
}

.map-detail__staff--tel{
  flex: 0 1 auto;
  width: 47%;
}
.map-detail-item-tel{
  margin-top: 14px;
  display: inline-block;
  font-size: .16rem;
  line-height: 1;
  color: #000;
}

.map-detail__staff--name{
  flex: 0 1 auto;
  width: 53%;
}

.map-detail-item-staff{
  margin-top: 14px;
  font-size: .16rem;
  line-height: 1;
}

.map-detail__site {
    margin-top: 30px;
}
.map-detail-item-site {
    margin-top: 9px;
    display: inline-block;
    color: #000;
    text-decoration: underline;
    word-break: break-all;
}

.map-google__link {
    color: #fff;
    font-size: .15rem;
    font-weight: 500;
    background-color: #4285F4;
    width: fit-content;
    text-align: center;
    display: inline-block;
    border-radius: 5px;
    padding: 6px 10px;
}

  /*地域園名検索*/

.map-here{
  margin-right: 10px;
  flex: 0 1 auto;
  width: fit-content;
}
#btn-geolocate{
  padding: 7px 10px;
  border: solid 1px #000;
  border-radius: 5px;
  flex: 0 1 auto;
  width: 100%;
  font-size: .14rem;
  background-color: #fff;
}

.map-keyword{
  margin-right: 10px;
  flex: 0 1 auto;
  width: fit-content;
}
.gmaps-search{
  display: flex;
  align-items: stretch;
}
#gmaps-query{
  border: solid 1px #000;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  flex: 0 1 auto;
  width: 200px;
  line-height: 1.5;
  font-size: .14rem;
}
#btn-gmaps-search{
  padding: 0 5px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  border-bottom: solid 1px #000;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  flex: 0 1 auto;
  width: fit-content;
  background-color: #fff;
  font-size: .14rem;
}

.kg-dir{
  padding: 125px 0 0;
}
.kg-controls{
  margin: 0 auto 50px;
  max-width: 1000px;
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
}
.kg-control-regions{
  padding: 0 10px;
  border: none;
  flex: 0 1 auto;
  width: 75%;
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
}
.kg-filter-head{
  padding-bottom: 8px;
  display: block;
  font-size: .18rem;
  font-weight: 500;
  position: relative;
}
.kg-filter-head-region{
  margin-bottom: 10px;
}
.kg-filter-head-word{
  margin-bottom: 24px;
}

.kg-filter-head::before{
  content:"";
  display: inline-block;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to right, #000 6px, transparent 5px);
  background-size: 13px 1px;
}

.kg-region-left{
  flex: 0 1 auto;
  width: 37%;
}
.kg-region-right{
  flex: 0 1 auto;
  width: 57%;
}
.kg-region-list{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.kg-region-item{
  flex: 0 1 auto;
  font-size: .14rem;
}
.kg-region-item1{
  width: calc(100%/3);
}
.kg-region-item2{
  width: calc(100%/4);
}
.kg-region-list::after{
  content:"";
  display: block;
}
.kg-region-list1::after{
  width: calc(100%/3);
}
.kg-region-list2::after{
  width: calc(100%/4);
}
.kg-region-list2:before{
  content:"";
  display: block;
  width: calc(100%/4);
  order:1;
}

.kg-region-item input{
  width: 15px;
  height: 15px;
  vertical-align: middle;
}
.kg-control-name{
  flex: 0 1 auto;
  width: 23%;
}
.kg-control-name input{
  width: 100%;
  padding: 10px 15px;
  border-radius: 30px;
}
.kg-search-name{
  position: relative;
}
.kg-search-name::before{
  content:"";
  display: inline-block;
  background-image: url(../images/search/icon_search.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 23px;
  height: 23px;
  position: absolute;
  top: -2px;
  right: 12px;
  pointer-events: none;
}


.kg-region-result{
  padding: 35px 0 100px;
  background-color: #CEF4FF;
}
.kg-sections{
  margin: 15px auto;
  max-width: 1000px;
}
.kg-section:not(:last-of-type){
  margin-bottom: 40px;
}
.kg-item {
    margin-bottom: 26px;
    padding: 17px 37px 27px;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.kg-section__title {
    margin: 0 0 13px 15px;
    font-weight: 700;
    font-size: .21rem;
}
.kg-list{
  list-style:none;
  margin: 0 auto 20px;
}
.kg-item__name {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: .19rem;
    display: inline-block;
    color: #2F6DB2;
}
.kg-item__meta{
    display:flex;
    flex-wrap: wrap;
}
.kg-item__meta-addr {
    margin-bottom: 11px;
    flex: 0 1 auto;
    width: 100%;
}


.kg-item__meta-map{
  color: #2F6DB2;
  text-decoration: none;
}

.kg-item__meta-tel {
    margin-right: 4%;
    flex: 0 1 auto;
    width: fit-content;
}
.kg-item__meta-tel a{
  color:#000;
  text-decoration: none;
}
.kg-item__meta-staff {
    margin-right: 5%;
    flex: 0 1 auto;
    width: 22%;
    margin-right: 4%;
    flex: 0 1 auto;
    width: fit-content;
}
.kg-item__meta-web{
  flex: 0 1 auto;
  width: 46%;
}
.kg-item__meta-web a{
  color:#000;
  text-decoration: none;
}

.kg-item__metahead{
  margin-right: 14px;
  padding: 0 5px;
  border: solid 1px #BCBCBC;
  min-width: 68px;
  display: inline-block;
  border-radius: 5px;
  font-size: .12rem;
  text-align: center;
}

/* 件数と0件表示 */
.kg-result-count{
  margin: 0 auto;
  max-width: 1000px;
}
.kg-empty{
  margin: 0 auto;
  max-width: 1000px;
}
.kg-empty[hidden]{
  display:none;
}

/* 初期の仮置きULは非表示（JSで中身を移動後） */
.kg-list-flat{
  display:none;
}
  
@media screen and (max-width:800px) {

	.search-main .low-common {
		margin-bottom: 20px;
	}
	.search-main .low-common__sub-heading img {
		width: 302px;
	}
    .pagelink_list {
        margin: 0 auto 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: calc(100% - 50px);
    }
	.pagelink_item{
		width: 100%;
	}
	.pagelink_item:not(:last-of-type){
		margin-right: 0;
		margin-bottom: 24px;
	}
	.pagelink_link{
		padding: 10px 40px 10px 20px;
		min-width: 262px;
    	font-size: .15rem;
		letter-spacing: 0;
	}
  .search-map{
    padding: 50px 0 0;
  }
	.search_h2 {
        margin: 0 auto 35px;
        width: 45%;
    }
  .search_h2-map::before{
    width: 151%;
    height: 14px;
    left: -23%;
    bottom: -6px;
  }
  .map_explain{
    margin: 0 auto 30px;
    text-align: center;
    font-size: .16rem;
    letter-spacing: 0.02rem;
    font-weight: 600;
  }
  .map_explain_img{
    display: inline-block;
    width: 27px;
  }
  .map-flex{
    flex-direction: column-reverse;
    position: relative;
    height: calc(100vh - 230px);
    overflow: hidden;
    border-radius: 0;
  }
  .map-detail-switch1{
    display: none;
    width: 100%
  }
  .map-detail-switch2{
    position: fixed;
    bottom: 0;
    height: fit-content;
    max-height: 500px;
    overflow-y: scroll;
    width: calc(100% - 14px);
    left: 6px;
    transition: 1s;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 111;
  }
  .map-detail-switch2.switch2-hide{
      transform: translateY(100%);
      transition: 0.5s;
  }
  .map-detail-switch2__container {
    padding: 25px 20px 15px;
    margin-top: 0;
  } 
  #map-switch2-close{
    margin-right: 10px;
    border: solid 1px #000;
    display: block;
    width: 40px;
    height: 40px;
    position: sticky;
    float: right;
    top: 10px;
    background-color: #fff;
    font-size: .24rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .search-main #map-display{
    width: 100%
  }
  #gmaps-query{
    line-height: 1.7;
  }
  #map-display{
    margin-bottom: 0;
  }
  .select-back{
    padding: 0 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    top: 30px;
  }
  .map-keyword{
    margin-bottom: 10px;
    margin-right: 0;
    width: 100%;
    order: 1;
  }
  #sel{
    border: solid 1px #000!important;
    width: 63%;
    order: 2;
    letter-spacing: -0.01rem;
    background-color: #fff !important;
  }
  .map-here{
    margin-right: 0;
    width: 35%;
    order: 3;
  }
  .gmaps-search{
    width: 100%;
  }
  #gmaps-query{
    width: calc(100% - 50px);
  }
  #btn-gmaps-search{
    width: 50px;
  }
  .select-back::before{
    display: none;
  }
  p.map-kindergarten-name{
    margin-bottom: 20px;
    font-size: .2rem;
    line-height: 1.5;
    width: calc(100% - 40px);
  }
  .map-detail-head{
    padding: 0 7px;
    min-width: 70px;
  }
  .map-detail__addr{
    margin-bottom: 20px;
  }
  .map-detail-item-addr,
  .map-detail-item-tel,
  .map-detail-item-staff,
  .map-detail-item-site{
    margin-top: 5px;
    line-height: 1.8;
  }
  .map-detail__site{
    margin-top: 20px;
  }
  .map-detail-item-site{
    font-size: .16rem;
  }
  .map-google__link {
    margin: 0 auto;
    display: block;
    width: 100%;
  }
  .kg-dir {
    padding: 70px 0 0;
  }
  .search_h2-region{
    margin: 0 auto 45px;
    width: 74%;
  }
  .search_h2-region::before {
    left: 14%;
    bottom: -16px;
  }
  .kg-controls{
    margin: 0 auto 35px;
    flex-direction: column;
  }
  .kg-control-regions{
    margin: 0 auto 32px;
    padding: 0 30px;
    width: 100%;
    flex-direction: column;
  }
  .kg-region-left{
    margin-bottom: 26px;
    width: 100%;
  }
  .kg-region-right{
    width: 100%;
  }
  .kg-control-name{
    padding: 0 30px;
    width: 100%;
  }
  .kg-filter-head-region {
    margin-bottom: 8px;
  }
  .kg-region-item{
    margin-bottom: 0;
    line-height: 1.7;
  }
  .kg-region-item1 {
    width: calc(100% / 4);
  }
  .kg-region-list1::after{
    width: calc(100% / 4);
  }
  .kg-region-list1:before {
    content: "";
    display: block;
    width: calc(100% / 4);
    order: 1;
  }
  .kg-region-item2 {
    width: calc(100% / 3);
  }
  .kg-region-list2::after{
    width: calc(100% / 3);
  }
  .kg-region-list2::before{
    display: none;
  }
  .kg-search-name::before {
    top: 0px;
    right: 23px;
  }
    .kg-region-result {
        padding: 10px 10px 100px;
    }
  .kg-item{
    padding: 14px 20px 25px;
  }
  .kg-item__meta-addr,
  .kg-item__meta-tel,
  .kg-item__meta-staff,
  .kg-item__meta-web{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .kg-item__meta-addr,
  .kg-item__meta-tel,
  .kg-item__meta-staff{
    margin-bottom: 10px;
  }
  .kg-item__metahead,
  .kg-item__metahead,
  .kg-item__metahead,
  .kg-item__metahead{
    margin-right: 0;
    padding: 0;
    flex: 0 1 auto;
    width: 20%;
  }
  .kg-item__addr,
  .kg-item__tel,
  .kg-item__staff,
  .kg-item__web{
    flex: 0 1 auto;
    width: 73%;
    line-height: 1.8;
    font-size: .14rem;
  }
  .kg-item__meta-map {
    padding-left: 27%;
    width: 100%;
  }
  .kg-item__meta-tel,
  .kg-item__meta-staff,
  .kg-item__meta-web{
    margin-right: 0;
    width: 100%;
  }
  .kg-item__meta-web a {
    word-break: break-all;
  }
    .kg-result-count, .kg-empty, .kg-section__title {
        padding: 0 20px;
        text-align: center;
        margin: 0 auto 16px;
    }
    .kg-result-count{
		margin: 18px 0 -3px;
	}
  .gm-style-mtc-bbw{
    left: 5px!important;
    top: auto!important;
    bottom: 10px!important;
  }
  .gmnoprint{
  	right: auto!important;
	left: 0!important;
	top: auto!important;
    bottom: 10px!important;
  }
  .gm-style-mtc-bbw{ 
  	justify-content: flex-end;
    width: 100%;
    padding-right: 20px;
  }
}