.map-wrap {
	margin-top: 20px;
}

.map-block {
	width: 100%;
	position: relative;
	display: inline-block;
}

img {
	width: 100%;
}

@media screen and (max-width: 767px) {
	.map-wrap {
		width: 100%;
		overflow: scroll;
	}

	.map-block {
		width: 800px;
	}
}

/* ピン ---------------------------------------- */
.pin {
	position: absolute;
	width: 20px;
	border-radius: 50%;
	transform: translate(-50%, -100%);
	transition: transform 0.3s ease;
	cursor: pointer;
}

/* ピンがホバーされた時の動き */
.pin:hover {
	transform: translate(-50%, -120%) scale(1.5);
}

/* ダイアログ ---------------------------------- */
dialog {
	max-width: 600px;
	outline: none !important;
	border: none !important;
}

dialog::backdrop {
	background: rgba(0, 0, 0, 0.1) !important;
}

.dialog-content-wrap {
	position: relative;
	width: 100%;
}

/* ダイアログ内の閉じるアイコン */
.dialog-close {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 20px;
	height: 20px;
	background: transparent;
	border: none;
	font-size: 18px;
	font-weight: bold;
	color: #000;
	outline: none;
}

/* 疑似要素で✕を作成 */
.dialog-close::before,
.dialog-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 3px;
	background-color: #166bc3;
	transform-origin: center;
}

.dialog-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.dialog-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (min-width: 768px) {
	dialog {
		max-width: 90%;
	}

	.dialog-close {
		width: 30px;
		height: 30px;
	}
}
