/* 店舗ページ「写真でわかる 駅からの道順」（inc_shop_route.php） */
.p-shop-route {
	--hm-route-pink: #eb3771;
	--hm-route-pink-soft: #fff1f5;
	--hm-route-text: #333;
	--hm-route-sub: #555;
	padding: 40px 16px;
}
.p-shop-route__card {
	box-sizing: border-box;
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 48px 40px;
	background: #fff;
	border: 2px solid var(--hm-route-pink);
	border-radius: 16px;
	color: var(--hm-route-text);
}
.p-shop-route__eyebrow {
	margin: 0 0 8px;
	color: var(--hm-route-pink);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .2em;
	text-align: center;
}
.p-shop-route__title {
	margin: 0 0 12px;
	color: var(--hm-route-pink);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}
.p-shop-route__lead {
	margin: 0 0 32px;
	color: var(--hm-route-sub);
	font-size: 16px;
	text-align: center;
}
.p-shop-route__from {
	margin: 0 0 28px;
	padding: 16px;
	background: var(--hm-route-pink);
	border-radius: 6px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}
.p-shop-route__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.p-shop-route__step {
	margin: 0;
	padding: 0;
}
.p-shop-route__step::before,
.p-shop-route__step::marker {
	content: none;
}
.p-shop-route__photo {
	position: relative;
	margin: 0 0 12px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 6px;
	background: #eee;
}
.p-shop-route__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.p-shop-route__num {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--hm-route-pink);
	border-radius: 50%;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}
.p-shop-route .p-shop-route__text {
	margin: 0;
	color: var(--hm-route-text);
	font-size: 15px;
	line-height: 1.8;
}
.p-shop-route__video {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 40px 0 0;
	padding: 24px 28px;
	background: var(--hm-route-pink-soft);
	border-radius: 8px;
}
.p-shop-route .p-shop-route__video-text {
	margin: 0;
	font-size: 15px;
}
.p-shop-route__video-btn {
	flex-shrink: 0;
	padding: 14px 32px;
	background: #fff;
	border: 2px solid var(--hm-route-pink);
	border-radius: 999px;
	color: var(--hm-route-pink);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.p-shop-route__video-btn:hover,
.p-shop-route__video-btn:focus-visible {
	background: var(--hm-route-pink);
	color: #fff;
}
.p-shop-route__modal {
	/* サイト共通の CSS で dialog が position:absolute になっているため、画面中央に固定し直す */
	position: fixed;
	inset: 0;
	margin: auto;
	height: fit-content;
	width: min(92vw, 420px);
	max-height: 92vh;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #000;
	overflow: visible;
}
.p-shop-route__modal::backdrop {
	background: rgba(0, 0, 0, .75);
}
.p-shop-route__modal-video {
	display: block;
	width: 100%;
	max-height: 92vh;
	border-radius: 12px;
	background: #000;
}
.p-shop-route__modal-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	width: 40px;
	height: 40px;
	padding: 0;
	background: rgba(0, 0, 0, .55);
	border-radius: 50%;
	border: 0;
	color: #fff;
	font-size: 26px;
	line-height: 40px;
	text-align: center;
	cursor: pointer;
}
.p-shop-route__cta {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin: 32px 0 0;
}
.p-shop-route .p-shop-route__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 280px;
	padding: 18px 28px;
	border-radius: 6px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity .2s;
}
.p-shop-route .p-shop-route__cta-btn:hover {
	opacity: .85;
	color: #fff;
}
.p-shop-route__cta-btn--tel {
	background: #e20909;
}
.p-shop-route__cta-btn--web {
	background: #0d8a19;
}
.p-shop-route__parking {
	margin: 32px 0 0;
	padding: 40px 0 0;
	border-top: 2px dashed #f4b6ca;
}
.p-shop-route__parking-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: center;
	margin: 28px 0 0;
}
.p-shop-route__parking-body--nophoto {
	grid-template-columns: 1fr;
}
.p-shop-route__parking-photo {
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
}
.p-shop-route__parking-photo img {
	display: block;
	width: 100%;
	height: auto;
}
.p-shop-route__parking-box {
	padding: 28px;
	background: var(--hm-route-pink-soft);
	border-radius: 8px;
}
.p-shop-route .p-shop-route__parking-name {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--hm-route-text);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
}
.p-shop-route .p-shop-route__parking-text {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.8;
}
.p-shop-route .p-shop-route__parking-addr {
	margin: 0;
	color: var(--hm-route-sub);
	font-size: 14px;
	line-height: 1.8;
}
.p-shop-route__parking-addr a {
	color: inherit;
	text-decoration: underline;
}

/* タブレット */
@media screen and (max-width: 1024px) {
	.p-shop-route__card {
		padding: 40px 28px 32px;
	}
	.p-shop-route__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* スマホ: 写真の下に説明を置き、1列で縦に並べる */
@media screen and (max-width: 767px) {
	.p-shop-route {
		padding: 24px 12px;
	}
	.p-shop-route__card {
		padding: 28px 16px 24px;
		border-radius: 12px;
	}
	.p-shop-route__eyebrow {
		font-size: 12px;
	}
	.p-shop-route__title {
		font-size: 20px;
	}
	.p-shop-route__lead {
		margin-bottom: 20px;
		font-size: 14px;
	}
	.p-shop-route__from {
		margin-bottom: 20px;
		padding: 12px;
		font-size: 14px;
	}
	.p-shop-route__steps {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.p-shop-route__photo {
		margin-bottom: 10px;
	}
	.p-shop-route__num {
		top: 6px;
		left: 6px;
		width: 28px;
		height: 28px;
		font-size: 15px;
	}
	.p-shop-route .p-shop-route__text {
		font-size: 14px;
		line-height: 1.7;
	}
	.p-shop-route__video {
		flex-direction: column;
		margin-top: 24px;
		padding: 20px 16px;
		text-align: center;
	}
	.p-shop-route__video-btn {
		padding: 12px 28px;
		font-size: 15px;
	}
	.p-shop-route__parking {
		margin-top: 24px;
		padding-top: 28px;
	}
	.p-shop-route__parking-body {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 20px;
	}
	.p-shop-route__parking-box {
		padding: 20px 16px;
	}
	.p-shop-route .p-shop-route__parking-name {
		font-size: 17px;
	}
	.p-shop-route .p-shop-route__parking-text {
		font-size: 14px;
		line-height: 1.7;
	}
	.p-shop-route .p-shop-route__parking-addr {
		font-size: 13px;
	}
	.p-shop-route__cta {
		flex-direction: column;
		gap: 12px;
		margin-top: 24px;
	}
	.p-shop-route .p-shop-route__cta-btn {
		min-width: 0;
		width: 100%;
		font-size: 17px;
	}
}
