@charset "utf-8";

/* 地図検索 //
////////////////////////////////////////////////////////////////////*/

#mapwrapper.pc {
	height: 380px;
	position: relative;
	display: flex;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
	margin-bottom: 50px;
}

.gm-style-mot {
    text-align: center !important;
}

/* 読込中の表示
---------------------------------------------- */
#mapwrapper::before,
#mapwrapper::after  {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	content: "";
	opacity: 0;
}
#mapwrapper::before {
	background-color: rgba(0,0,0,0.3);
}
#mapwrapper.connecting::after {
	margin: auto;
	width: 1em;
	height: 1em;
	color: #fff;
	font-size: 3rem;
	font-weight: 900;
	line-height: 1;
	text-align: center;
	content: "\f110";
	font-family: "FontAwesome";
}
#mapwrapper.connecting::before,
#mapwrapper.connecting::after {
	opacity: 1;
	z-index: 1;
	transition: opacity 1s;
}
#mapwrapper.connecting::after {
	animation: r1 1.2s linear infinite;
}
@keyframes r1 {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* 地図本体
---------------------------------------------- */
#mapwrapper #map {
	width: 100%;
	height: 100%;
}
#mapwrapper.pc.open #map {
	width: calc(100% - 355px);
}
#mapwrapper #map .gm-style-pbc p {
	text-align: center;
}
#mapwrapper #map .gm-fullscreen-control {
	display: none;
}

/* 物件リスト
---------------------------------------------- */
#mapwrapper.pc #listwrapper {
	display: none;
}
#mapwrapper.pc.open #listwrapper {
	box-sizing: border-box;
	width: 365px;
	display: block;
	position: relative;
}

#mapwrapper .monthlybox {
	width: 100%;
}
#mapwrapper .monthlybox a {
	display: block;
	position: relative;
}
#mapwrapper.pc .monthlybox a {
	transition: opacity 0.2s;
}
#mapwrapper.pc .monthlybox a:hover {
	opacity: 0.8;
}
#mapwrapper .monthlybox .campaign-ribbon {
	position: absolute;
	top: -16px;
	left: -25px;
	z-index: 1;
}
#mapwrapper .monthlybox .photo {
	margin-bottom: 8px;
	width: 314px;
	height: 235px;
	background-color: #dfdfdf;
	overflow: hidden;
}
#mapwrapper .monthlybox .photo img {
	width: 100%;
    height: 100%;
    object-fit: cover;
	max-width: 314px;
	position: relative;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	pointer-events: none;
	backface-visibility: hidden;
	vertical-align: unset;
}
#mapwrapper .monthlybox h4 {
	margin: 8px 0 5px;
	font-size: 18px;
	line-height: 1.4;
}
#mapwrapper .monthlybox .chinryo {
	padding-right: 138px;
	font-size: 15px;
	font-weight: 600;
	line-height: 17px;
}
#mapwrapper .monthlybox .chinryo p:last-child {
	font-size: 11px;
}
#mapwrapper .monthlybox .syosai {
	width: 128px;
	background-color: #cf0000;
	position: absolute;
	right: 0;
	bottom: 5px;
	color: #fff;
	font-size: 12px;
	line-height: 30px;
	text-align: center;
}
#mapwrapper .monthlybox .syosai i {
	margin-left: 5px;
	padding-bottom: 1px;
	font-size: 14px;
	vertical-align: middle;
}

/*----------*/

#mapwrapper.pc #maplist {
	padding: 17px 10px 50px 17px;
	background-color: #fff;
	position: absolute;
	top: 3px;
	right: 10px;
	bottom: 3px;
	left: 0;
	overflow-y: scroll;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
#mapwrapper.pc #maplist::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	background: #fff;
}
#mapwrapper.pc #maplist::-webkit-scrollbar-thumb {
	background-color: #cdcdcd;
	border-radius: 2px;
}

/*----------*/

#mapwrapper #maplist.loading ul,
#mapwrapper #maplist.loading + #close_list {
	display: none;
}
#mapwrapper.pc:not(.open) #maplist ul {
	display: none;
}

/*----------*/

#mapwrapper.pc #maplist > ul > li:not(:last-child){
	margin-bottom: 50px;
}

/* リスト閉じるボタン
---------------------------------------------- */
#mapwrapper #close_list {
	position: absolute;
	z-index: 1;
}
#mapwrapper.pc #close_list {
	width: 55px;
	height: auto;
	background-color: rgba(0,0,0,0);
	top: 0;
	right: -55px;
	outline: none;
	color: #333;
	font-size: 1.3rem;
	text-align: center;
	cursor: pointer;
	opacity: 1 !important;
	transition: none;
}
#mapwrapper.pc #listwrapper::after {
	width: 55px;
	background: url(/images/gmap/shadow.png);
	position: absolute;
	top: 55px;
	right: -55px;
	bottom: 0;
	z-index: 1;
	pointer-events: none;
	content: "";
}

#mapwrapper.pc #body_footer {
	margin-top: 0;
}