/* ===============================
   access-video: アクセス動画・到着時の案内
   =============================== */

.access-video {
	padding-block: 14px 0;
	background: var(--color-page-bg);
}

.access-video__inner {
	padding-inline: 18px;
}

.access-video__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-size: 16px;
	letter-spacing: 0.07em;
	white-space: nowrap;
}

.access-video__title::before,
.access-video__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--color-main);
}

.access-video__layout {
	margin-top: 14px;
}

.access-video__player {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1.85;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-page-bg);
}

.access-video__iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.access-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-main);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.access-video__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid var(--color-text);
	transform: translate(-35%, -50%);
}

.access-video__placeholder {
	position: absolute;
	top: calc(50% + 30px);
	right: 0;
	left: 0;
	margin: 0;
	color: var(--color-text-muted);
	font-size: 9px;
	text-align: center;
}

.access-video__caption {
	margin: 11px 8px 0;
	font-size: 11px;
	line-height: var(--lh-body);
	letter-spacing: 0.03em;
}

.access-video__caption-extra {
	display: none;
}

.access-video__notes {
	margin: 18px -18px 0;
	padding: 18px 32px 12px;
	background: var(--color-bg-subtle);
	text-align: center;
}

.access-video__note {
	font-size: 11px;
	line-height: var(--lh-loose);
	letter-spacing: 0.04em;
}

.access-video__note + .access-video__note {
	margin-top: 9px;
	padding-top: 9px;
	border-top: 1px solid var(--color-main);
}

.access-video__parking-line {
	display: block;
}

.access-video__controls {
	display: none;
}

@media (max-width: 767px) {
	.access-video {
		padding-block: var(--space-8) 0;
	}

	.access-video__inner {
		padding-inline: var(--space-5);
	}

	.access-video__title {
		gap: var(--space-4);
		font-size: var(--fs-h2-mobile);
		line-height: var(--lh-tight);
		white-space: normal;
	}

	.access-video__layout {
		margin-top: var(--space-6);
	}

	.access-video__player {
		aspect-ratio: 16 / 9;
	}

	.access-video__placeholder {
		top: calc(50% + 36px);
		font-size: var(--fs-body);
	}

	.access-video__caption {
		margin: var(--space-4) 0 0;
		font-size: var(--fs-body-pc);
		line-height: var(--lh-body);
	}

	.access-video__caption-extra {
		display: inline;
	}

	.access-video__notes {
		margin: var(--space-6) calc(-1 * var(--space-5)) 0;
		padding: var(--space-6) var(--space-5);
	}

	.access-video__note {
		font-size: var(--fs-body-pc);
		line-height: var(--lh-body);
	}

	.access-video__note + .access-video__note {
		margin-top: var(--space-4);
		padding-top: var(--space-4);
	}
}

@media (min-width: 768px) {
	.access-video {
		padding-block: 0 40px;
	}

	.access-video__inner {
		max-width: 1360px;
		margin-inline: auto;
		padding-inline: 0;
	}

	.access-video__title {
		gap: 22px;
		font-size: 38px;
		transform: translateY(-24px);
	}

	.access-video__title::before,
	.access-video__title::after {
		flex: 0 0 170px;
	}

	.access-video__layout {
		display: grid;
		grid-template-columns: 750px minmax(0, 400px);
		gap: 62px;
		align-items: center;
		margin: -8px 50px 0;
	}

	.access-video__player {
		aspect-ratio: 750 / 335;
	}

	.access-video__play {
		top: 44%;
		width: 80px;
		height: 80px;
	}

	.access-video__placeholder {
		top: auto;
		bottom: 76px;
		font-size: 14px;
	}

	.access-video__caption {
		margin: 0;
		font-size: 21px;
		line-height: var(--lh-loose);
		transform: translateY(-16px);
	}

	.access-video__caption-extra {
		display: block;
	}

	.access-video__notes {
		margin: 28px 0 0;
		padding: 30px 70px;
		border: 1px solid var(--color-border-soft);
		border-radius: var(--radius-md);
		background: var(--color-bg);
	}

	.access-video__note {
		font-size: 23px;
	}

	.access-video__note + .access-video__note {
		margin-top: 4px;
		padding-top: 0;
		border-top: 0;
	}

	.access-video__parking-line {
		display: inline;
	}

	.access-video__parking-line + .access-video__parking-line::before {
		content: " ";
	}

	.access-video__controls {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		align-items: center;
		gap: 14px;
		height: 66px;
		padding-inline: 20px;
		background: var(--color-bg-dark);
		color: var(--color-white);
	}

	.access-video__controls-play {
		width: 0;
		height: 0;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
		border-left: 16px solid currentColor;
	}

	.access-video__controls-time {
		flex: 0 0 auto;
		font-family: var(--font-jp);
		font-size: 13px;
	}

	.access-video__controls-track {
		height: 2px;
		flex: 1;
		background: color-mix(in srgb, currentColor 55%, transparent);
	}

	.access-video__controls-volume {
		width: 28px;
		height: 28px;
	}

	.access-video__controls-fullscreen {
		position: relative;
		width: 22px;
		height: 22px;
		border: 2px solid currentColor;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.access-video__title::before,
	.access-video__title::after {
		flex: 1 1 0;
	}

	.access-video__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.access-video__player {
		min-width: 0;
	}
}
