/*指定.table區域的scrollbar*/
.map_wrap_l::-webkit-scrollbar {
    background-color: #EBEBEB;
    width: 13px;
    height: 10px;
    background-clip: padding-box;
}

.map_wrap_l::-webkit-scrollbar-button {
    background-color: #EBEBEB;
}

.map_wrap_l::-webkit-scrollbar-thumb {
    background-color: #CFCFCF;
    border-radius: 5px;
}

.map_wrap_l::-webkit-scrollbar-corner {
    background-color: #CFCFCF;
}

#map{
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}


.content h2{
    text-align: center;
}

.img-wrapper{
    width: 100%;
    float: left;
    margin-bottom: 60px;
}

.img-wrapper img{
    width: 100%;
}
.img-wrapper .pc{
    display: none;
}
.img-wrapper .mobile{
    display: block;
}

.item-wrapper{
    width: 100%;
    float: left;
}

.form-group label{
    white-space: nowrap;
}




.gm-style-iw-d h3{
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.gm-style-iw-d .addr,.gm-style-iw-d .tel,.gm-style-iw-d .fax,.gm-style-iw-d .email{
    float: left;
    width: 100%;
    font-size: 1rem;
    line-height: 1.2rem;
}
.gm-style-iw-d .gotomap,.gm-style-iw-d .link{
    float: left;
    width: 100%;
    font-size: 1rem;
    padding-bottom: 7px;
    color: #6BA8CE;
}


/*多地圖*/
.map_wrap{
    width: 100%;
    position: relative;
    float: left;
}


.map_wrap_l{
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 60px;
    border-top: solid 2px #ccc;
}

.map_wrap .select{
    position: relative;
    float: left;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
}



.map_wrap .select select{
    /*移除箭頭樣式*/
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;

    display: inline-block;
    background-color: #9C9C9C;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 6px 15px;
    margin-bottom: 20px;
    cursor: pointer;
    float: left;
    width: 100%;
    height: 50px;
}


.map_wrap .select select option{
    background-color: #fff;
    color: #000;
}

.map_wrap .select::before {
    position: absolute;
    top: 1.2em;
    right: 2em;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: .45em solid transparent;
    border-right: .45em solid transparent;
    border-top: .575em solid #ffffff;
    pointer-events: none;
}


.map_wrap .location_wrap{
    position: relative;
    width: 100%;
    height: 300px;
}

.map_wrap .location_wrap ul{
    padding: 18px 20px;
}

.map_wrap .location_wrap ul li{
    list-style: none;
    padding: 20px 0;
    border-bottom: solid 1px #ccc;
}


.map_wrap .location_wrap ul li:nth-last-child(1){
    border-bottom: none;
}


.map_wrap .location_wrap ul li h3{
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}





@media only screen and (min-width: 990px) {
#map{
    width: calc(100% - 400px);
    height: 500px;
    margin-left: 400px;
    position: relative;
    overflow: hidden;
}

.map_wrap_l{
    position: absolute;
}

.map_wrap_l{
    width: 400px;
    margin-top: 0px;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

.map_wrap .select{
    width: 400px;
}
.map_wrap .location_wrap{
    width: 400px;
    height: 100%;
}


}

@media only screen and (min-width: 1025px) {
.img-wrapper{
    width: 45%;
    margin-right: 5%;
    margin-bottom: 0px;
}

.item-wrapper{
    width: 50%;
}


.img-wrapper .pc{
    display: block;
}
.img-wrapper .mobile{
    display: none;
}
}
#map .abimg-16n9 iframe {
	position: absolute;
	width: 100%;
	height: 100%;
}
@media screen and (max-width: 800px) {
	#map, .map_wrap .location_wrap { height: auto;}
	#map .abimg-16n9 {
	  padding-bottom: calc((100% / 16) * 16);
		margin-bottom: 1.5rem;
	}
}