@charset "utf-8";
/* CSS Document */
.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999;
}

	#contents p.zoom{
		display: none;
		align-items: center;
		justify-content: center;
		margin:2em auto 1em;
		font-size: 14px;
		font-weight: bold;
	}
	#contents p.zoom:before{
		content: url("../img/house/zoom.png");
		display: block;
		width: 14px;
		margin-right: 1em;
		line-height: 1;
	}
	.accessmap .img {
		margin-top: 0.5em;
	}
	.map-thumbnail {
		width: 100%;
	}
	.popup-wrap{
		position: relative;
		width: 100%;
		height: 100%;
	}
	.popup-content {
		position: absolute;
		top: 23%;
		left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
		/*
		top: 53%;
		left: 50%;
		transform: translate(-50%, -50%);*/
		background: #fff;
		padding: 10px;
		width: 90vw;
		height: auto;
		overflow: auto;
	}
	.popup-content img {
		transform: scale(1);
		transform-origin: top left;
		display: block;
		width: 100%;
		height: auto;

	}
	.popup-wrap{
		position: relative;
		width: 100%;
		height: 100%;
		display: block;
	}
	.close-btn {
		position: absolute;
		top: 17%;
        right: 5%;
		padding: 0.3em;
		background: rgba(0,0,0,0.4);
		font-size: 32px;
		cursor: pointer;
		color: #fff;
		font-weight: bold;
		line-height: 1;
		z-index: 9999;
	}
@media screen and (max-width: 768px) {
	#contents p.zoom{
		display: flex;
	}
}