body.shinojima-guide-page {
	margin: 0;
	background: #f3f7f4;
}

body.shinojima-guide-page .wp-site-blocks > header,
body.shinojima-guide-page .wp-site-blocks > footer,
body.shinojima-guide-page .wp-block-post-title {
	display: none !important;
}

body.shinojima-guide-page .wp-site-blocks,
body.shinojima-guide-page .wp-site-blocks > main,
body.shinojima-guide-page .wp-block-post-content {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.shinojima-guide-page .wp-site-blocks .wp-block-group.alignfull {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.shinojima-guide-page .wp-block-post-content > .alignfull {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.shinojima-guide-page .sjg-guide {
	padding: clamp(10px, 2.4vw, 30px);
}

.sjg-guide {
	--sjg-ink: #15353a;
	--sjg-muted: #60777a;
	--sjg-sea: #0f7a80;
	--sjg-sea-dark: #075d63;
	--sjg-sea-soft: #ddf1ee;
	--sjg-sun: #f0a447;
	--sjg-coral: #e7654f;
	--sjg-cream: #fffaf0;
	--sjg-paper: #ffffff;
	--sjg-line: #d9e3df;
	--sjg-shadow: 0 18px 50px rgba(21, 53, 58, 0.12);
	--sjg-radius-lg: 28px;
	--sjg-radius-md: 18px;
	--sjg-radius-sm: 12px;
	position: relative;
	width: min(100%, 1240px);
	margin: 0 auto;
	color: var(--sjg-ink);
	font-family:
		"Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic,
		Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.sjg-guide[data-shinojima-guide] {
	height: 100vh;
	height: 100dvh;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: hidden;
}

.sjg-guide,
.sjg-guide *,
.sjg-guide *::before,
.sjg-guide *::after {
	box-sizing: border-box;
}

.sjg-guide button,
.sjg-guide select,
.sjg-guide input {
	font: inherit;
}

.sjg-guide button,
.sjg-guide select {
	-webkit-tap-highlight-color: transparent;
}

.sjg-guide a {
	color: var(--sjg-sea-dark);
	text-underline-offset: 3px;
}

.sjg-guide :focus-visible {
	outline: 3px solid #f6b553;
	outline-offset: 3px;
}

.sjg-hero {
	overflow: hidden;
	position: relative;
	padding: 26px 22px 24px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--sjg-radius-lg) var(--sjg-radius-lg) 16px 16px;
	background:
		radial-gradient(circle at 91% 4%, rgba(255, 223, 151, 0.44) 0 16%, transparent 17%),
		linear-gradient(132deg, #075f66 0%, #0f7a80 57%, #259da0 100%);
	box-shadow: var(--sjg-shadow);
	color: #fff;
}

.sjg-hero::after {
	position: absolute;
	right: -45px;
	bottom: -72px;
	width: 190px;
	height: 190px;
	border: 24px solid rgba(255, 255, 255, 0.07);
	border-radius: 50%;
	content: "";
}

.sjg-hero__eyebrow,
.sjg-kicker {
	display: block;
	margin: 0 0 7px;
	color: inherit;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.3;
}

.sjg-hero__eyebrow {
	color: #ffe5af;
}

.sjg-hero__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.sjg-hero h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.65rem, 6vw, 3.15rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.18;
}

.sjg-hero__heading p {
	max-width: 660px;
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(0.92rem, 2vw, 1.08rem);
	line-height: 1.7;
}

.sjg-demo-badge,
.sjg-unverified {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.sjg-data-notice {
	position: relative;
	z-index: 1;
	margin: 18px 0 0;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 11px;
	background: rgba(5, 55, 60, 0.28);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.79rem;
	line-height: 1.55;
}

.sjg-journey-controls {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 12px;
	margin: -1px 10px 0;
	padding: 16px;
	border: 1px solid var(--sjg-line);
	border-top: 0;
	border-radius: 0 0 var(--sjg-radius-md) var(--sjg-radius-md);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 12px 32px rgba(21, 53, 58, 0.08);
}

.sjg-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.sjg-field__label,
.sjg-route-switch legend {
	padding: 0;
	color: var(--sjg-muted);
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.045em;
}

.sjg-field select {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 38px 10px 13px;
	border: 1px solid #b9ccca;
	border-radius: 11px;
	background-color: #fff;
	color: var(--sjg-ink);
	font-weight: 750;
	line-height: 1.35;
	cursor: pointer;
}

.sjg-field select:hover {
	border-color: var(--sjg-sea);
}

.sjg-route-switch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.sjg-route-switch legend {
	grid-column: 1 / -1;
	margin: 0 0 -1px;
}

.sjg-route-switch label {
	position: relative;
	min-width: 0;
	margin: 0;
	cursor: pointer;
}

.sjg-route-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.sjg-route-switch span {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 48px;
	padding: 7px 9px;
	border: 1px solid #c7d7d4;
	border-radius: 11px;
	background: #fff;
	color: var(--sjg-muted);
	line-height: 1.25;
	transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.sjg-route-switch strong {
	font-size: 0.84rem;
}

.sjg-route-switch small {
	margin-top: 3px;
	font-size: 0.66rem;
}

.sjg-route-switch input:checked + span {
	border-color: var(--sjg-sea);
	background: var(--sjg-sea-soft);
	color: var(--sjg-sea-dark);
	box-shadow: inset 0 0 0 1px var(--sjg-sea);
}

.sjg-route-switch input:focus-visible + span {
	outline: 3px solid #f6b553;
	outline-offset: 3px;
}

.sjg-schedule-note {
	margin: 10px 14px 22px;
	color: var(--sjg-muted);
	font-size: 0.76rem;
	line-height: 1.6;
}

.sjg-workspace {
	display: grid;
	gap: 16px;
}

.sjg-map-card,
.sjg-detail-card,
.sjg-departure-card {
	border: 1px solid var(--sjg-line);
	border-radius: var(--sjg-radius-lg);
	background: var(--sjg-paper);
	box-shadow: var(--sjg-shadow);
}

.sjg-map-card {
	min-width: 0;
	padding: 18px;
}

.sjg-section-heading,
.sjg-subheading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.sjg-section-heading h3,
.sjg-detail-card h3,
.sjg-departure-card h3,
.sjg-menu-section h4 {
	margin: 0;
	color: var(--sjg-ink);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.25;
}

.sjg-section-heading h3 {
	font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.sjg-kicker {
	margin-bottom: 4px;
	color: var(--sjg-sea);
}

.sjg-map-legend {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	color: var(--sjg-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

.sjg-map-legend i {
	display: inline-block;
	width: 11px;
	height: 11px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--sjg-coral);
	box-shadow: 0 0 0 1px var(--sjg-coral);
}

.sjg-map-help {
	margin: 7px 0 14px;
	color: var(--sjg-muted);
	font-size: 0.82rem;
}

.sjg-map {
	overflow: hidden;
	position: relative;
	min-height: 430px;
	border: 1px solid rgba(10, 103, 110, 0.15);
	border-radius: 20px;
	background: #5bb5b5;
	isolation: isolate;
}

.sjg-map::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
		linear-gradient(145deg, rgba(7, 95, 102, 0.08), rgba(255, 255, 255, 0.08));
	content: "";
}

.sjg-map__art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.sjg-map__lane {
	fill: none;
	stroke: rgba(101, 87, 45, 0.24);
	stroke-dasharray: 2 2;
	stroke-linecap: round;
	stroke-width: 1.3;
}

.sjg-map__route {
	fill: none;
	stroke: var(--sjg-coral);
	stroke-dasharray: 2.5 2;
	stroke-linecap: round;
	stroke-width: 1.8;
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}

.sjg-map[data-route="shortest"] .sjg-map__route {
	stroke: var(--sjg-sea-dark);
	stroke-dasharray: 0;
}

.sjg-map__port-dot {
	fill: #163d42;
	stroke: #fff;
	stroke-width: 1.2;
}

.sjg-map__port {
	position: absolute;
	z-index: 3;
	left: 79%;
	top: 17%;
	display: flex;
	align-items: center;
	gap: 5px;
	transform: translate(8px, -50%);
	color: #15353a;
	font-size: 0.72rem;
	line-height: 1;
	white-space: nowrap;
}

.sjg-map__port span {
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #163d42;
	color: #fff;
	box-shadow: 0 4px 12px rgba(21, 53, 58, 0.2);
	font-size: 0.72rem;
}

.sjg-pin {
	position: absolute;
	z-index: 4;
	left: calc(var(--sjg-x) * 1%);
	top: calc(var(--sjg-y) * 1%);
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--sjg-ink);
	text-align: left;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.sjg-pin__dot {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 12px;
	background: var(--sjg-sea-dark);
	box-shadow: 0 6px 16px rgba(21, 53, 58, 0.28);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 900;
	line-height: 1;
	transform: rotate(-45deg);
	transition: transform 150ms ease, background 150ms ease;
}

.sjg-pin__dot span {
	transform: rotate(45deg);
}

.sjg-pin__label {
	display: none;
	max-width: 126px;
	padding: 5px 8px;
	border: 1px solid rgba(21, 53, 58, 0.1);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.93);
	box-shadow: 0 3px 10px rgba(21, 53, 58, 0.13);
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1.3;
}

.sjg-pin:hover .sjg-pin__dot,
.sjg-pin[aria-pressed="true"] .sjg-pin__dot {
	background: var(--sjg-coral);
	transform: rotate(-45deg) scale(1.13);
}

.sjg-pin[aria-pressed="true"] {
	z-index: 6;
}

.sjg-pin[aria-pressed="true"] .sjg-pin__label {
	display: block;
}

.sjg-map__caption {
	position: absolute;
	right: 10px;
	bottom: 9px;
	z-index: 3;
	margin: 0;
	padding: 5px 8px;
	border-radius: 7px;
	background: rgba(7, 63, 68, 0.74);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1.3;
}

.sjg-detail-card {
	overflow: hidden;
	min-width: 0;
}

.sjg-detail-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 20px 17px;
	background:
		radial-gradient(circle at 94% 6%, rgba(255, 255, 255, 0.17), transparent 29%),
		linear-gradient(135deg, var(--sjg-ink), #245d62);
	color: #fff;
}

.sjg-detail-card h3 {
	margin-top: 4px;
	color: #fff;
	font-size: clamp(1.5rem, 5vw, 2.1rem);
}

.sjg-detail-category {
	display: block;
	color: #bfe7e3;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.sjg-store-summary {
	margin: 0;
	padding: 17px 20px 13px;
	color: var(--sjg-muted);
	font-size: 0.88rem;
	line-height: 1.75;
}

.sjg-today {
	display: grid;
	gap: 2px;
	margin: 0 20px 18px;
	padding: 12px 13px;
	border: 1px solid #f2d09d;
	border-radius: 12px;
	background: #fff7e9;
}

.sjg-today span,
.sjg-today small {
	color: #866737;
	font-size: 0.68rem;
	line-height: 1.4;
}

.sjg-today strong {
	color: #6a4b1e;
	font-size: 0.9rem;
}

.sjg-menu-section {
	padding: 0 20px 17px;
}

.sjg-menu-section h4 {
	font-size: 1rem;
}

.sjg-subheading {
	align-items: center;
	margin-bottom: 7px;
}

.sjg-subheading > span {
	color: var(--sjg-coral);
	font-size: 0.67rem;
	font-weight: 800;
}

.sjg-menu-list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sjg-menu-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 10px;
	padding: 9px 10px;
	border-radius: 10px;
	background: #f5f8f7;
}

.sjg-menu-list strong {
	min-width: 0;
	color: var(--sjg-ink);
	font-size: 0.79rem;
	line-height: 1.4;
}

.sjg-menu-list b {
	color: var(--sjg-sea-dark);
	font-size: 0.72rem;
	line-height: 1.4;
	text-align: right;
}

.sjg-menu-list small {
	grid-column: 1 / -1;
	color: var(--sjg-muted);
	font-size: 0.65rem;
	line-height: 1.35;
}

.sjg-facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0;
	padding: 0 20px 17px;
}

.sjg-facts > div {
	min-width: 0;
	padding: 10px 8px;
	border-top: 1px solid var(--sjg-line);
}

.sjg-facts > div:nth-child(odd) {
	padding-left: 0;
	border-right: 1px solid var(--sjg-line);
}

.sjg-facts dt {
	margin: 0 0 3px;
	color: var(--sjg-muted);
	font-size: 0.64rem;
	font-weight: 700;
	line-height: 1.35;
}

.sjg-facts dd {
	margin: 0;
	overflow-wrap: anywhere;
	color: var(--sjg-ink);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.45;
}

.sjg-owner-note {
	margin: 0 20px 21px;
	padding: 12px 13px;
	border: 0;
	border-left: 4px solid var(--sjg-sun);
	border-radius: 0 10px 10px 0;
	background: var(--sjg-cream);
	color: var(--sjg-ink);
}

.sjg-owner-note span {
	color: #8b6b37;
	font-size: 0.66rem;
	font-weight: 800;
}

.sjg-owner-note p {
	margin: 3px 0 0;
	font-size: 0.78rem;
	line-height: 1.6;
}

.sjg-departure-card {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 17px;
	margin-top: 16px;
	padding: 21px 20px;
	background:
		radial-gradient(circle at 100% 0, rgba(240, 164, 71, 0.13), transparent 34%),
		#fff;
}

.sjg-departure-card::before {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, var(--sjg-sea), var(--sjg-sun), var(--sjg-coral));
	content: "";
}

.sjg-departure-card h3 {
	font-size: clamp(1.35rem, 4.5vw, 2rem);
}

.sjg-departure-card h3 strong {
	color: var(--sjg-coral);
	font-size: 1.14em;
	white-space: nowrap;
}

.sjg-departure-card__lead > p {
	margin: 7px 0 0;
	color: var(--sjg-muted);
	font-size: 0.83rem;
}

.sjg-trip-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid var(--sjg-line);
	border-radius: 14px;
	background: #f7faf9;
}

.sjg-trip-metrics > div {
	display: grid;
	gap: 3px;
	min-width: 0;
	padding: 11px 8px;
	text-align: center;
}

.sjg-trip-metrics > div + div {
	border-left: 1px solid var(--sjg-line);
}

.sjg-trip-metrics span {
	color: var(--sjg-muted);
	font-size: 0.65rem;
	font-weight: 700;
}

.sjg-trip-metrics strong {
	overflow-wrap: anywhere;
	color: var(--sjg-ink);
	font-size: clamp(0.82rem, 3vw, 1.05rem);
	line-height: 1.3;
}

.sjg-action-grid {
	display: grid;
	gap: 8px;
}

.sjg-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 15px;
	border: 1px solid #adc7c4;
	border-radius: 12px;
	background: #fff;
	color: var(--sjg-sea-dark);
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
	cursor: pointer;
	transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.sjg-button:hover {
	background: #f3f9f8;
	box-shadow: 0 5px 16px rgba(21, 53, 58, 0.1);
	transform: translateY(-1px);
}

.sjg-button:active {
	box-shadow: none;
	transform: translateY(0);
}

.sjg-button--primary {
	border-color: var(--sjg-sea);
	background: var(--sjg-sea);
	color: #fff;
}

.sjg-button--primary:hover {
	background: var(--sjg-sea-dark);
	color: #fff;
}

.sjg-button[hidden] {
	display: none;
}

.sjg-manual-fallback {
	display: grid;
	gap: 7px;
	padding: 12px;
	border: 1px dashed #a9c3c0;
	border-radius: 12px;
	background: #f7faf9;
}

.sjg-manual-fallback > label {
	color: var(--sjg-ink);
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.4;
}

.sjg-manual-fallback > div {
	display: grid;
	grid-template-columns: minmax(64px, 90px) auto minmax(0, 1fr);
	align-items: center;
	gap: 7px;
}

.sjg-manual-fallback input {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #adc7c4;
	border-radius: 10px;
	background: #fff;
	color: var(--sjg-ink);
	font-weight: 800;
}

.sjg-manual-fallback > div > span {
	color: var(--sjg-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.sjg-manual-fallback .sjg-button {
	min-height: 44px;
}

.sjg-manual-fallback small {
	color: var(--sjg-muted);
	font-size: 0.65rem;
	line-height: 1.45;
}

.sjg-live-status {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--sjg-sea-soft);
	color: var(--sjg-sea-dark);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.5;
}

.sjg-live-status[data-tone="warning"] {
	background: #fff1df;
	color: #80531d;
}

.sjg-live-status[data-tone="error"] {
	background: #ffebe7;
	color: #8b3024;
}

.sjg-safety-note {
	margin: -4px 0 0;
	color: var(--sjg-muted);
	font-size: 0.68rem;
	line-height: 1.6;
}

.sjg-footer-note {
	display: grid;
	gap: 4px;
	margin: 14px 3px 0;
	padding: 14px 15px;
	border-radius: 13px;
	background: #edf3f1;
	color: var(--sjg-muted);
	font-size: 0.72rem;
	line-height: 1.55;
}

.sjg-footer-note strong {
	color: var(--sjg-ink);
}

@media (min-width: 620px) {
	.sjg-hero {
		padding: 34px 34px 30px;
	}

	.sjg-journey-controls {
		grid-template-columns: minmax(130px, 0.7fr) minmax(150px, 0.9fr) minmax(260px, 1.5fr);
		align-items: end;
		margin-right: 18px;
		margin-left: 18px;
		padding: 18px;
	}

	.sjg-map-card {
		padding: 22px;
	}

	.sjg-map {
		min-height: 520px;
	}

	.sjg-departure-card {
		padding: 26px;
	}

	.sjg-action-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.sjg-workspace {
		grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
		align-items: stretch;
	}

	.sjg-detail-card {
		display: flex;
		flex-direction: column;
	}

	.sjg-owner-note {
		margin-top: auto;
	}

	.sjg-action-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 420px) {
	.sjg-guide {
		font-size: 15px;
	}

	.sjg-hero {
		padding-right: 17px;
		padding-left: 17px;
		border-radius: 20px 20px 12px 12px;
	}

	.sjg-hero__heading {
		display: block;
	}

	.sjg-demo-badge {
		margin-top: 13px;
	}

	.sjg-journey-controls {
		margin-right: 6px;
		margin-left: 6px;
		padding: 13px;
	}

	.sjg-map-card,
	.sjg-departure-card {
		border-radius: 20px;
	}

	.sjg-map-card {
		padding: 13px;
	}

	.sjg-map {
		min-height: 390px;
		border-radius: 15px;
	}

	.sjg-map__port {
		transform: translate(-10px, -34px);
	}

	.sjg-map__port strong {
		display: none;
	}

	.sjg-pin__label {
		max-width: 105px;
	}

	.sjg-detail-hero,
	.sjg-store-summary,
	.sjg-menu-section,
	.sjg-facts {
		padding-right: 16px;
		padding-left: 16px;
	}

	.sjg-today,
	.sjg-owner-note {
		margin-right: 16px;
		margin-left: 16px;
	}

	.sjg-departure-card {
		padding-right: 16px;
		padding-left: 16px;
	}
}

/* Real-road, store-first map shell (v0.4.0). */
.sjg-guide[data-shinojima-guide] {
	--sjg-panel: rgba(255, 255, 255, 0.96);
	--sjg-panel-border: rgba(255, 255, 255, 0.82);
	--sjg-map-shadow: 0 16px 44px rgba(12, 48, 51, 0.2);
	background: #d8e9e6;
}

.sjg-guide .sjg-map-card,
.sjg-guide .sjg-map,
.sjg-guide .sjg-map__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

.sjg-guide .sjg-map-card {
	z-index: 0;
	overflow: hidden;
	background: #d8e9e6;
	box-shadow: none;
}

.sjg-guide .sjg-map {
	overflow: hidden;
	background:
		linear-gradient(rgba(219, 235, 232, 0.88), rgba(219, 235, 232, 0.88)),
		#d8e9e6;
}

.sjg-guide .sjg-map::before,
.sjg-guide .sjg-map-card > .sjg-section-heading,
.sjg-guide .sjg-map-card > .sjg-map-help {
	display: none !important;
}

.sjg-map__canvas {
	z-index: 1;
	background: #d8e9e6;
}

.sjg-map__status {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid rgba(20, 83, 87, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 30px rgba(13, 64, 67, 0.15);
	color: var(--sjg-ink);
	font-size: 0.78rem;
	font-weight: 850;
	transform: translate(-50%, -50%);
}

.sjg-map__status[hidden] {
	display: none;
}

.sjg-guide .sjg-map__caption {
	display: none;
}

.sjg-guide .leaflet-container {
	background: #d8e9e6;
	font: inherit;
}

.sjg-guide .leaflet-control-attribution {
	margin: 0 8px calc(104px + env(safe-area-inset-bottom)) 0 !important;
	padding: 3px 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.88);
	color: #435b5e;
	font-size: 9px;
	line-height: 1.35;
}

.sjg-guide[data-store-selected="true"] .leaflet-control-attribution {
	margin-bottom: calc(232px + env(safe-area-inset-bottom)) !important;
}

.sjg-guide[data-detail-expanded="true"] .leaflet-control-attribution {
	margin-bottom: calc(min(66dvh, 660px) + 16px) !important;
}

.sjg-guide[data-ferry-open="true"] .leaflet-control-attribution {
	display: none;
}

.sjg-guide .leaflet-control-attribution a {
	color: #235d62;
}

.sjg-guide .leaflet-control-zoom {
	margin-top: 142px !important;
	margin-left: max(10px, env(safe-area-inset-left)) !important;
	overflow: hidden;
	border: 0 !important;
	border-radius: 12px;
	box-shadow: 0 7px 24px rgba(7, 52, 57, 0.18);
}

.sjg-guide .leaflet-control-zoom a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-color: #d7e3e1;
	background: rgba(255, 255, 255, 0.96);
	color: var(--sjg-sea-dark);
	font-weight: 800;
	line-height: 1;
}

.sjg-guide .leaflet-popup-content-wrapper,
.sjg-guide .leaflet-popup-tip {
	background: #fff;
	color: var(--sjg-ink);
}

.sjg-guide .leaflet-popup-content-wrapper {
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(10, 51, 54, 0.2);
}

.sjg-guide .leaflet-popup-content {
	margin: 12px 14px;
	font: 800 0.78rem/1.45 "Helvetica Neue", "Hiragino Kaku Gothic ProN",
		"Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.sjg-map-pin,
.sjg-leaflet-pin {
	position: relative;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 12px;
	background: var(--sjg-sea-dark);
	box-shadow: 0 7px 18px rgba(5, 51, 55, 0.3);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 900;
	line-height: 1;
	transform: rotate(-45deg);
}

.sjg-map-pin > span,
.sjg-leaflet-pin > span {
	transform: rotate(45deg);
}

.sjg-map-pin.is-selected,
.sjg-leaflet-pin.is-selected {
	background: var(--sjg-coral);
	box-shadow:
		0 8px 20px rgba(105, 43, 31, 0.3),
		0 0 0 5px rgba(231, 101, 79, 0.2);
}

.sjg-map-spot,
.sjg-leaflet-spot {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #fcba55;
	box-shadow: 0 5px 14px rgba(71, 55, 23, 0.25);
	color: #573d15;
	font-size: 0.72rem;
	font-weight: 900;
}

.sjg-map-spot[data-type="port"],
.sjg-leaflet-spot[data-type="port"] {
	background: #15353a;
	color: #fff;
}

.sjg-guide .sjg-hero {
	position: absolute;
	left: max(10px, env(safe-area-inset-left));
	top: max(10px, env(safe-area-inset-top));
	right: auto;
	z-index: 35;
	width: min(66vw, 430px);
	height: 58px;
	min-height: 0;
	margin: 0;
	padding: 9px 13px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.44);
	border-radius: 16px;
	background:
		radial-gradient(circle at 92% 8%, rgba(255, 222, 151, 0.34), transparent 30%),
		linear-gradient(132deg, rgba(7, 95, 102, 0.96), rgba(19, 137, 141, 0.94));
	box-shadow: var(--sjg-map-shadow);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.sjg-guide .sjg-hero::after,
.sjg-guide .sjg-hero__eyebrow,
.sjg-guide .sjg-hero__heading p,
.sjg-guide .sjg-data-notice,
.sjg-guide .sjg-demo-badge {
	display: none;
}

.sjg-guide .sjg-hero__heading,
.sjg-guide .sjg-hero__heading > div {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
}

.sjg-guide .sjg-hero h2 {
	margin: 0;
	overflow: hidden;
	color: #fff;
	font-size: clamp(0.96rem, 3.7vw, 1.25rem);
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjg-ferry-chip {
	position: absolute;
	top: max(10px, env(safe-area-inset-top));
	right: max(10px, env(safe-area-inset-right));
	z-index: 42;
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: 18px 22px;
	align-items: center;
	justify-content: center;
	column-gap: 6px;
	width: 118px;
	height: 58px;
	margin: 0;
	padding: 7px 10px;
	border: 1px solid var(--sjg-panel-border);
	border-radius: 16px;
	background: var(--sjg-panel);
	box-shadow: var(--sjg-map-shadow);
	color: var(--sjg-ink);
	cursor: pointer;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.sjg-ferry-chip > span {
	grid-row: 1 / 3;
	font-size: 1.25rem;
}

.sjg-ferry-chip small,
.sjg-ferry-chip b {
	overflow: hidden;
	color: var(--sjg-muted);
	font-size: 0.61rem;
	font-weight: 850;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjg-ferry-chip strong {
	align-self: end;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1;
}

.sjg-ferry-chip[aria-expanded="true"] {
	background: var(--sjg-sea-dark);
	color: #fff;
}

.sjg-ferry-chip[aria-expanded="true"] small,
.sjg-ferry-chip[aria-expanded="true"] b {
	color: #c8eeea;
}

.sjg-guide .sjg-store-browser {
	position: absolute;
	left: max(10px, env(safe-area-inset-left));
	right: max(10px, env(safe-area-inset-right));
	top: auto;
	bottom: max(10px, env(safe-area-inset-bottom));
	z-index: 28;
	display: flex;
	height: 82px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--sjg-panel-border);
	border-radius: 18px;
	background: var(--sjg-panel);
	box-shadow: var(--sjg-map-shadow);
	backdrop-filter: blur(18px) saturate(1.08);
	-webkit-backdrop-filter: blur(18px) saturate(1.08);
	transition:
		bottom 220ms ease,
		opacity 180ms ease,
		transform 220ms ease;
}

.sjg-guide .sjg-store-browser__search {
	flex: 0 0 min(37vw, 156px);
}

.sjg-guide .sjg-store-browser__search input {
	padding-left: 32px;
	font-size: 0.78rem;
	font-weight: 750;
}

.sjg-guide .sjg-store-chip {
	min-width: 146px;
	min-height: 64px;
	padding: 8px 11px;
	border-radius: 13px;
}

.sjg-guide .sjg-store-chip strong {
	font-size: 0.8rem;
}

.sjg-guide .sjg-store-chip small {
	font-size: 0.64rem;
}

.sjg-guide[data-store-selected="true"] .sjg-store-browser {
	bottom: calc(142px + env(safe-area-inset-bottom));
}

.sjg-guide[data-detail-expanded="true"] .sjg-store-browser,
.sjg-guide[data-ferry-open="true"] .sjg-store-browser {
	visibility: hidden;
	opacity: 0;
	transform: translateY(18px);
	pointer-events: none;
}

.sjg-guide .sjg-detail-card {
	display: none;
	position: absolute;
	left: max(8px, env(safe-area-inset-left));
	right: max(8px, env(safe-area-inset-right));
	top: auto;
	bottom: max(8px, env(safe-area-inset-bottom));
	z-index: 38;
	width: auto;
	height: 126px;
	max-height: calc(100dvh - 18px);
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--sjg-panel-border);
	border-radius: 22px;
	background: var(--sjg-panel);
	box-shadow: var(--sjg-map-shadow);
	backdrop-filter: blur(18px) saturate(1.08);
	-webkit-backdrop-filter: blur(18px) saturate(1.08);
	transition: height 230ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sjg-guide[data-store-selected="true"] .sjg-detail-card {
	display: block;
}

.sjg-guide[data-detail-expanded="true"] .sjg-detail-card {
	height: min(66dvh, 660px);
}

.sjg-detail-close {
	position: absolute;
	right: 10px;
	top: 8px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 1px solid #d7e3e1;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: var(--sjg-ink);
	font: inherit;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.sjg-guide .sjg-detail-toggle {
	padding-right: 52px;
}

.sjg-guide .sjg-detail-peek {
	height: 82px;
	padding-right: 56px;
}

.sjg-guide .sjg-detail-body {
	height: calc(100% - 44px);
	padding-bottom: env(safe-area-inset-bottom);
}

.sjg-route-actions {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 8px;
	margin: 0;
	padding: 0 22px 18px;
}

.sjg-route-action {
	display: grid;
	place-items: center;
	min-height: 46px;
	margin: 0;
	padding: 8px 9px;
	border: 1px solid #b9cecb;
	border-radius: 12px;
	background: #fff;
	color: var(--sjg-sea-dark);
	font: inherit;
	font-size: 0.7rem;
	font-weight: 900;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.sjg-route-action--primary {
	border-color: var(--sjg-sea-dark);
	background: var(--sjg-sea-dark);
	color: #fff !important;
}

.sjg-guide[data-route-visible="true"][data-route="shortest"] [data-route-shortest],
.sjg-guide[data-route-visible="true"][data-route="scenic"] [data-route-scenic] {
	border-color: var(--sjg-coral);
	background: #fff0eb;
	color: #9a3f29;
	box-shadow: inset 0 0 0 1px var(--sjg-coral);
}

.sjg-guide .sjg-route-guide {
	display: none;
}

.sjg-guide[data-route-visible="true"] .sjg-route-guide {
	display: grid;
}

.sjg-guide .sjg-store-actions {
	grid-template-columns: 1fr 1fr;
}

.sjg-guide .sjg-store-action:last-child {
	grid-column: 1 / -1;
}

.sjg-guide .sjg-journey-controls,
.sjg-guide .sjg-departure-card {
	display: none;
	position: absolute;
	left: max(8px, env(safe-area-inset-left));
	right: max(8px, env(safe-area-inset-right));
	z-index: 48;
	margin: 0;
	border: 1px solid var(--sjg-panel-border);
	border-radius: 20px;
	background: var(--sjg-panel);
	box-shadow: var(--sjg-map-shadow);
	backdrop-filter: blur(20px) saturate(1.08);
	-webkit-backdrop-filter: blur(20px) saturate(1.08);
}

.sjg-guide[data-ferry-open="true"] .sjg-journey-controls,
.sjg-guide[data-ferry-open="true"] .sjg-departure-card {
	display: grid;
}

.sjg-guide .sjg-journey-controls {
	top: calc(max(10px, env(safe-area-inset-top)) + 66px);
	bottom: auto;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
	padding: 13px;
	overflow: visible;
}

.sjg-ferry-panel__heading {
	grid-column: 1 / -1;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.sjg-ferry-panel__heading strong {
	color: var(--sjg-ink);
	font-size: 0.92rem;
}

.sjg-ferry-panel__heading small {
	color: var(--sjg-muted);
	font-size: 0.65rem;
	font-weight: 750;
}

.sjg-guide .sjg-departure-card {
	top: calc(max(10px, env(safe-area-inset-top)) + 236px);
	bottom: max(8px, env(safe-area-inset-bottom));
	gap: 10px;
	max-height: none;
	padding: 15px;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: none;
}

.sjg-guide .sjg-departure-card::before {
	height: 4px;
}

.sjg-guide .sjg-departure-card .sjg-kicker,
.sjg-guide .sjg-departure-card__lead > p {
	display: block;
}

.sjg-guide .sjg-departure-card h3 {
	font-size: clamp(1.05rem, 5vw, 1.4rem);
}

.sjg-guide .sjg-action-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	overflow: visible;
}

.sjg-guide .sjg-action-grid .sjg-button {
	width: 100%;
	min-height: 44px;
	padding: 8px;
	font-size: 0.7rem;
}

.sjg-guide .sjg-schedule-note {
	display: none;
}

.sjg-ferry-map-attribution {
	margin: auto 0 0;
	color: var(--sjg-muted);
	font-size: 0.62rem;
	line-height: 1.4;
}

.sjg-ferry-map-attribution a {
	font-weight: 800;
}

.sjg-guide .sjg-footer-note {
	display: none;
}

@media (min-width: 760px) {
	.sjg-guide .sjg-hero {
		width: 410px;
		height: 66px;
		padding-right: 18px;
		padding-left: 18px;
	}

	.sjg-guide .sjg-hero h2 {
		font-size: 1.28rem;
	}

	.sjg-ferry-chip {
		width: 136px;
		height: 66px;
	}

	.sjg-guide .sjg-store-browser {
		left: 50%;
		right: auto;
		width: min(720px, calc(100% - 32px));
		transform: translateX(-50%);
	}

	.sjg-guide[data-detail-expanded="true"] .sjg-store-browser,
	.sjg-guide[data-ferry-open="true"] .sjg-store-browser {
		transform: translate(-50%, 18px);
	}
}

@media (min-width: 1024px) {
	.sjg-guide .sjg-hero {
		left: 18px;
		top: 18px;
	}

	.sjg-ferry-chip {
		top: 18px;
		right: 18px;
	}

	.sjg-guide .leaflet-control-zoom {
		margin-top: 104px !important;
		margin-left: 18px !important;
	}

	.sjg-guide .leaflet-control-attribution {
		margin-right: 448px !important;
		margin-bottom: 18px !important;
	}

	.sjg-guide[data-store-selected="true"] .leaflet-control-attribution,
	.sjg-guide[data-detail-expanded="true"] .leaflet-control-attribution {
		margin-bottom: 18px !important;
	}

	.sjg-guide .sjg-store-browser {
		left: 18px;
		right: 448px;
		bottom: 18px;
		width: auto;
		transform: none;
	}

	.sjg-guide[data-store-selected="true"] .sjg-store-browser {
		bottom: 18px;
	}

	.sjg-guide[data-detail-expanded="true"] .sjg-store-browser {
		visibility: visible;
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}

	.sjg-guide[data-ferry-open="true"] .sjg-store-browser {
		transform: translateY(18px);
	}

	.sjg-guide .sjg-detail-card,
	.sjg-guide[data-detail-expanded="true"] .sjg-detail-card {
		left: auto;
		right: 18px;
		top: 96px;
		bottom: 18px;
		width: 412px;
		height: auto;
		max-height: none;
		border-radius: 24px;
	}

	.sjg-guide .sjg-detail-toggle,
	.sjg-guide .sjg-detail-peek {
		display: none;
	}

	.sjg-guide .sjg-detail-body {
		height: 100%;
		padding-top: 10px;
	}

	.sjg-detail-close {
		top: 12px;
		right: 12px;
	}

	.sjg-guide .sjg-journey-controls,
	.sjg-guide .sjg-departure-card {
		left: 18px;
		right: auto;
		width: 374px;
	}

	.sjg-guide .sjg-journey-controls {
		top: 96px;
	}

	.sjg-guide .sjg-departure-card {
		top: 266px;
		bottom: 118px;
	}

	.sjg-guide[data-ferry-open="true"] .sjg-store-browser {
		opacity: 0;
		pointer-events: none;
	}
}

@media (max-width: 420px) {
	.sjg-guide .sjg-hero {
		width: calc(100% - 148px - max(10px, env(safe-area-inset-left)));
	}

	.sjg-guide .sjg-store-browser {
		height: 76px;
		padding: 7px;
	}

	.sjg-guide .sjg-store-browser__search {
		flex-basis: 116px;
	}

	.sjg-guide .sjg-store-chip {
		min-width: 134px;
		min-height: 60px;
	}

	.sjg-guide[data-store-selected="true"] .sjg-store-browser {
		bottom: calc(136px + env(safe-area-inset-bottom));
	}

	.sjg-route-actions,
	.sjg-guide .sjg-contact-facts,
	.sjg-guide .sjg-store-actions,
	.sjg-guide .sjg-source-note {
		padding-right: 16px;
		padding-left: 16px;
	}

	.sjg-guide .sjg-route-guide {
		margin-right: 16px;
		margin-left: 16px;
	}

	.sjg-ferry-panel__heading {
		display: grid;
	}

	.sjg-guide .sjg-departure-card {
		top: calc(max(10px, env(safe-area-inset-top)) + 240px);
	}
}

/* Store-first discovery and source-backed details (v0.3). */
.sjg-store-browser {
	position: absolute;
	left: max(10px, env(safe-area-inset-left));
	right: max(10px, env(safe-area-inset-right));
	top: calc(max(10px, env(safe-area-inset-top)) + 306px);
	z-index: 22;
	display: flex;
	align-items: stretch;
	gap: 8px;
	min-width: 0;
	height: 62px;
	padding: 7px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 34px rgba(7, 52, 57, 0.18);
	backdrop-filter: blur(18px) saturate(1.08);
	-webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.sjg-store-browser__search {
	position: relative;
	flex: 0 0 116px;
}

.sjg-store-browser__search::before {
	position: absolute;
	left: 11px;
	top: 50%;
	color: var(--sjg-muted);
	content: "⌕";
	font-size: 1.05rem;
	transform: translateY(-50%);
	pointer-events: none;
}

.sjg-store-browser__search input {
	width: 100%;
	height: 100%;
	min-height: 46px;
	padding: 8px 8px 8px 31px;
	border: 1px solid var(--sjg-line);
	border-radius: 12px;
	background: #fff;
	color: var(--sjg-ink);
	font: inherit;
	font-size: 16px;
}

.sjg-store-list {
	display: flex;
	flex: 1 1 auto;
	gap: 7px;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.sjg-store-list::-webkit-scrollbar {
	display: none;
}

.sjg-store-chip {
	display: grid;
	align-content: center;
	flex: 0 0 auto;
	min-width: 126px;
	min-height: 46px;
	padding: 6px 10px;
	border: 1px solid #d7e3e1;
	border-radius: 12px;
	background: #fff;
	color: var(--sjg-ink);
	font: inherit;
	line-height: 1.16;
	text-align: left;
	cursor: pointer;
}

.sjg-store-chip strong {
	max-width: 170px;
	overflow: hidden;
	font-size: 0.76rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjg-store-chip small {
	margin-top: 3px;
	color: var(--sjg-muted);
	font-size: 0.61rem;
	font-weight: 800;
}

.sjg-store-chip[aria-pressed="true"] {
	border-color: var(--sjg-sea);
	background: var(--sjg-sea-dark);
	color: #fff;
	box-shadow: 0 7px 18px rgba(7, 93, 99, 0.24);
}

.sjg-store-chip[aria-pressed="true"] small {
	color: #c8eeea;
}

.sjg-store-chip[data-store-status="paused"] small {
	color: #a43f1f;
}

.sjg-store-chip[data-store-status="paused"][aria-pressed="true"] {
	border-color: #b8532f;
	background: #86391f;
}

.sjg-store-chip[data-store-status="paused"][aria-pressed="true"] small {
	color: #ffe0d2;
}

.sjg-store-chip[hidden],
.sjg-store-list__empty[hidden] {
	display: none !important;
}

.sjg-store-list__empty {
	align-self: center;
	margin: 0 10px;
	color: var(--sjg-muted);
	font-size: 0.72rem;
	font-weight: 800;
	white-space: nowrap;
}

.sjg-unverified[data-store-status="paused"] {
	border-color: #d98b6e;
	background: #fff0e9;
	color: #8b351a;
}

.sjg-contact-facts {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0 22px 18px;
}

.sjg-contact-facts > div {
	display: grid;
	grid-template-columns: minmax(88px, 0.38fr) minmax(0, 1fr);
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--sjg-line);
}

.sjg-contact-facts dt {
	color: var(--sjg-muted);
	font-size: 0.7rem;
	font-weight: 800;
}

.sjg-contact-facts dd {
	margin: 0;
	color: var(--sjg-ink);
	font-size: 0.76rem;
	font-weight: 750;
	line-height: 1.55;
}

.sjg-route-guide {
	display: grid;
	gap: 7px;
	margin: 0 22px 18px;
	padding: 15px;
	border: 1px solid #cae4e1;
	border-radius: 15px;
	background: #edf8f6;
}

.sjg-route-guide > span {
	color: var(--sjg-sea-dark);
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.13em;
}

.sjg-route-guide > strong {
	color: var(--sjg-ink);
	font-size: 0.88rem;
	line-height: 1.4;
}

.sjg-route-guide p {
	margin: 0;
	color: var(--sjg-muted);
	font-size: 0.73rem;
	line-height: 1.65;
}

.sjg-route-guide a {
	width: fit-content;
	font-size: 0.72rem;
	font-weight: 900;
}

.sjg-store-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0 22px 15px;
}

.sjg-store-action {
	display: grid;
	place-items: center;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--sjg-sea);
	border-radius: 11px;
	background: #fff;
	color: var(--sjg-sea-dark);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.sjg-store-action:last-child {
	grid-column: 1 / -1;
	background: var(--sjg-sea-dark);
	color: #fff;
}

.sjg-store-action[hidden] {
	display: none !important;
}

.sjg-source-note {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0 22px 24px;
	color: var(--sjg-muted);
	font-size: 0.68rem;
	line-height: 1.55;
}

.sjg-source-note a {
	font-weight: 850;
}

.sjg-source-note small {
	flex-basis: 100%;
}

@media (min-width: 1024px) {
	.sjg-store-browser {
		left: 410px;
		right: calc(min(410px, 36vw) + 36px);
		top: 18px;
	}
}

@media (max-height: 700px) and (max-width: 1023px) {
	.sjg-store-browser {
		top: calc(max(10px, env(safe-area-inset-top)) + 286px);
	}
}

@media (max-width: 420px) {
	.sjg-store-browser {
		left: max(8px, env(safe-area-inset-left));
		right: max(8px, env(safe-area-inset-right));
	}

	.sjg-store-browser__search {
		flex-basis: 104px;
	}

	.sjg-contact-facts,
	.sjg-store-actions,
	.sjg-source-note {
		padding-right: 16px;
		padding-left: 16px;
	}

	.sjg-route-guide {
		margin-right: 16px;
		margin-left: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sjg-guide *,
	.sjg-guide *::before,
	.sjg-guide *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media (prefers-contrast: more) {
	.sjg-guide {
		--sjg-muted: #405558;
		--sjg-line: #819b98;
	}

	.sjg-button,
	.sjg-field select,
	.sjg-route-switch span {
		border-width: 2px;
	}
}

/* Map-first application shell (v0.2.0). */
html:has(body.shinojima-guide-page) {
	overflow: hidden;
	margin-top: 0 !important;
}

body.shinojima-guide-page {
	overflow: hidden;
	min-height: 100vh;
	min-height: 100dvh;
	background: #4ba7ad;
}

body.shinojima-guide-page #wpadminbar {
	display: none !important;
}

body.shinojima-guide-page .wp-site-blocks,
body.shinojima-guide-page .wp-site-blocks > main,
body.shinojima-guide-page .wp-block-post-content,
body.shinojima-guide-page .wp-block-post-content > .alignfull {
	width: 100% !important;
	height: 100vh;
	height: 100dvh;
	overflow: hidden !important;
}

body.shinojima-guide-page .wp-site-blocks .wp-block-group.alignfull {
	height: 100% !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.shinojima-guide-page .sjg-guide {
	width: 100%;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.sjg-guide {
	--sjg-glass: rgba(255, 255, 255, 0.94);
	--sjg-app-gap: max(10px, env(safe-area-inset-left));
	isolation: isolate;
}

.sjg-workspace {
	display: contents;
}

.sjg-map-card {
	position: absolute;
	inset: 0;
	z-index: 0;
	min-width: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #4ba7ad;
	box-shadow: none;
}

.sjg-map-card > .sjg-section-heading,
.sjg-map-card > .sjg-map-help {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.sjg-map {
	position: absolute;
	inset: 0;
	min-height: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background:
		radial-gradient(circle at 47% 44%, rgba(226, 255, 246, 0.25), transparent 23%),
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 22%),
		linear-gradient(145deg, #3c99a3, #6ec0ba);
}

.sjg-map::before {
	z-index: 0;
	background:
		repeating-radial-gradient(
			ellipse at 50% 50%,
			transparent 0 25px,
			rgba(255, 255, 255, 0.055) 26px 27px,
			transparent 28px 52px
		);
}

.sjg-map__stage {
	position: absolute;
	left: 50%;
	top: calc(50% + 90px);
	z-index: 1;
	width: min(112vw, clamp(300px, calc(100dvh - 350px), 440px));
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
}

.sjg-map__art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 24px 35px rgba(8, 67, 72, 0.16));
}

.sjg-map__port {
	z-index: 5;
}

.sjg-pin {
	z-index: 6;
	min-width: 48px;
	min-height: 48px;
}

.sjg-pin__dot {
	width: 48px;
	height: 48px;
	box-shadow:
		0 8px 20px rgba(21, 53, 58, 0.32),
		0 0 0 1px rgba(7, 93, 99, 0.14);
}

.sjg-map__caption {
	right: max(10px, env(safe-area-inset-right));
	bottom: calc(138px + env(safe-area-inset-bottom));
	z-index: 8;
}

.sjg-hero,
.sjg-journey-controls,
.sjg-departure-card,
.sjg-detail-card {
	border: 1px solid rgba(255, 255, 255, 0.72);
	background-color: var(--sjg-glass);
	box-shadow:
		0 18px 50px rgba(7, 52, 57, 0.2),
		0 1px 0 rgba(255, 255, 255, 0.7) inset;
	backdrop-filter: blur(18px) saturate(1.08);
	-webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.sjg-hero {
	position: absolute;
	left: max(10px, env(safe-area-inset-left));
	right: max(10px, env(safe-area-inset-right));
	top: max(10px, env(safe-area-inset-top));
	z-index: 20;
	height: 54px;
	padding: 8px 10px;
	overflow: hidden;
	border-radius: 16px;
}

.sjg-hero::after,
.sjg-hero__eyebrow,
.sjg-hero__heading p,
.sjg-data-notice {
	display: none;
}

.sjg-hero__heading {
	align-items: center;
	height: 100%;
}

.sjg-hero h2 {
	overflow: hidden;
	color: #fff;
	font-size: clamp(0.93rem, 4vw, 1.08rem);
	letter-spacing: -0.035em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjg-demo-badge {
	min-height: 26px;
	padding: 4px 8px;
	font-size: 0.64rem;
}

.sjg-journey-controls {
	position: absolute;
	left: max(10px, env(safe-area-inset-left));
	right: max(10px, env(safe-area-inset-right));
	top: calc(max(10px, env(safe-area-inset-top)) + 62px);
	z-index: 20;
	display: flex;
	align-items: end;
	gap: 8px;
	margin: 0;
	padding: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 16px;
	background: var(--sjg-glass);
	box-shadow: 0 12px 34px rgba(7, 52, 57, 0.18);
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.sjg-journey-controls::-webkit-scrollbar,
.sjg-departure-card::-webkit-scrollbar,
.sjg-action-grid::-webkit-scrollbar,
.sjg-detail-body::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.sjg-journey-controls .sjg-field {
	flex: 0 0 116px;
}

.sjg-journey-controls .sjg-route-switch {
	flex: 0 0 218px;
}

.sjg-field__label,
.sjg-route-switch legend {
	font-size: 0.64rem;
}

.sjg-field select,
.sjg-route-switch span {
	min-height: 44px;
}

.sjg-route-switch small {
	display: none;
}

.sjg-schedule-note {
	display: none;
}

.sjg-departure-card {
	position: absolute;
	left: max(10px, env(safe-area-inset-left));
	right: max(10px, env(safe-area-inset-right));
	top: calc(max(10px, env(safe-area-inset-top)) + 142px);
	z-index: 18;
	display: grid;
	gap: 8px;
	max-height: 156px;
	margin: 0;
	padding: 11px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-radius: 16px;
	scrollbar-width: none;
}

.sjg-departure-card::before {
	height: 4px;
}

.sjg-departure-card .sjg-kicker,
.sjg-departure-card__lead > p {
	display: none;
}

.sjg-departure-card h3 {
	font-size: clamp(1rem, 4.5vw, 1.24rem);
	line-height: 1.25;
}

.sjg-trip-metrics > div {
	padding: 7px 5px;
}

.sjg-action-grid {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.sjg-action-grid .sjg-button {
	flex: 0 0 152px;
	min-height: 44px;
	padding: 8px 10px;
	font-size: 0.76rem;
}

.sjg-manual-fallback {
	flex: 0 0 auto;
}

.sjg-detail-card {
	position: absolute;
	left: max(8px, env(safe-area-inset-left));
	right: max(8px, env(safe-area-inset-right));
	bottom: max(8px, env(safe-area-inset-bottom));
	z-index: 30;
	height: 128px;
	max-height: calc(100dvh - 18px);
	overflow: hidden;
	border-radius: 22px;
	transition:
		height 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
		border-radius 240ms ease;
}

.sjg-guide[data-detail-expanded="true"] .sjg-detail-card {
	height: min(56dvh, 620px);
	border-radius: 22px 22px 14px 14px;
}

.sjg-detail-peek {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 84px;
	padding: 12px 16px 16px;
	background:
		radial-gradient(circle at 94% 6%, rgba(255, 255, 255, 0.17), transparent 29%),
		linear-gradient(135deg, var(--sjg-ink), #245d62);
	color: #fff;
}

.sjg-detail-peek > div {
	display: grid;
	min-width: 0;
}

.sjg-detail-peek span,
.sjg-detail-peek small {
	color: #bfe7e3;
	font-size: 0.67rem;
	font-weight: 800;
	line-height: 1.35;
}

.sjg-detail-peek strong {
	overflow: hidden;
	font-size: 1.18rem;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjg-detail-peek small {
	flex: 0 0 auto;
	max-width: 42%;
	text-align: right;
}

.sjg-guide[data-detail-expanded="true"] .sjg-detail-peek {
	display: none;
}

.sjg-detail-toggle {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	gap: 3px;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 5px 12px 7px;
	border: 0;
	border-bottom: 1px solid var(--sjg-line);
	background: rgba(255, 255, 255, 0.98);
	color: var(--sjg-sea-dark);
	font: inherit;
	font-size: 0.7rem;
	line-height: 1.2;
	cursor: pointer;
}

.sjg-detail-toggle > span {
	display: block;
	width: 44px;
	height: 4px;
	border-radius: 999px;
	background: #a7bcba;
}

.sjg-detail-toggle strong {
	font-size: 0.68rem;
}

.sjg-detail-body {
	height: calc(100% - 44px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}

.sjg-detail-body[hidden] {
	display: none !important;
}

.sjg-detail-hero {
	padding-top: 14px;
	padding-bottom: 12px;
}

.sjg-detail-card h3 {
	font-size: clamp(1.28rem, 5vw, 1.8rem);
}

.sjg-footer-note {
	display: none;
}

@media (min-width: 1024px) {
	.sjg-map__stage {
		left: 53%;
		top: 50%;
		width: min(94vw, 94dvh);
	}

	.sjg-map__caption {
		right: 438px;
		bottom: 18px;
	}

	.sjg-hero {
		left: 18px;
		right: auto;
		top: 18px;
		width: 374px;
		height: auto;
		min-height: 112px;
		padding: 17px 18px;
	}

	.sjg-hero__eyebrow {
		display: block;
		margin-bottom: 5px;
	}

	.sjg-hero__heading {
		align-items: flex-start;
		height: auto;
	}

	.sjg-hero h2 {
		font-size: 1.42rem;
		line-height: 1.22;
		white-space: normal;
	}

	.sjg-journey-controls {
		left: 18px;
		right: auto;
		top: 145px;
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 374px;
		padding: 12px;
		overflow: visible;
	}

	.sjg-journey-controls .sjg-field,
	.sjg-journey-controls .sjg-route-switch {
		flex: none;
	}

	.sjg-journey-controls .sjg-route-switch {
		grid-column: 1 / -1;
	}

	.sjg-departure-card {
		left: 18px;
		right: auto;
		top: 335px;
		bottom: 18px;
		width: 374px;
		max-height: none;
		padding: 16px;
	}

	.sjg-departure-card .sjg-kicker,
	.sjg-departure-card__lead > p {
		display: block;
	}

	.sjg-departure-card h3 {
		font-size: clamp(1.2rem, 1.65vw, 1.65rem);
	}

	.sjg-action-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		overflow: visible;
	}

	.sjg-action-grid .sjg-button {
		width: 100%;
		font-size: 0.76rem;
	}

	.sjg-detail-card {
		left: auto;
		right: 18px;
		top: 18px;
		bottom: 18px;
		width: min(410px, 36vw);
		height: auto;
		max-height: none;
		border-radius: 24px;
	}

	.sjg-guide[data-detail-expanded="true"] .sjg-detail-card {
		height: auto;
		border-radius: 24px;
	}

	.sjg-detail-toggle {
		display: none;
	}

	.sjg-detail-peek {
		display: none;
	}

	.sjg-detail-body {
		height: 100%;
	}

	.sjg-pin__label {
		display: block;
		max-width: 150px;
		font-size: 0.7rem;
	}
}

@media (max-height: 700px) and (min-width: 1024px) {
	.sjg-hero {
		min-height: 94px;
	}

	.sjg-hero__heading p {
		display: none;
	}

	.sjg-journey-controls {
		top: 128px;
	}

	.sjg-departure-card {
		top: 318px;
	}
}

@media (max-width: 420px) {
	.sjg-map {
		min-height: 0;
		border-radius: 0;
	}

	.sjg-map__port {
		transform: translate(6px, -50%);
	}

	.sjg-detail-hero,
	.sjg-store-summary,
	.sjg-menu-section,
	.sjg-facts {
		padding-right: 16px;
		padding-left: 16px;
	}

	.sjg-departure-card {
		padding-right: 10px;
		padding-left: 10px;
	}
}

/* v0.4 final cascade guard: keep this section last. */
.sjg-guide[data-shinojima-guide] .sjg-workspace {
	display: contents;
}

.sjg-guide[data-shinojima-guide] .sjg-map-card,
.sjg-guide[data-shinojima-guide] .sjg-map,
.sjg-guide[data-shinojima-guide] .sjg-map__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

.sjg-guide[data-shinojima-guide] .sjg-map-card {
	z-index: 0;
	overflow: hidden;
	background: #d8e9e6;
	box-shadow: none;
}

.sjg-guide[data-shinojima-guide] .sjg-map {
	overflow: hidden;
	background: #d8e9e6;
}

.sjg-guide[data-shinojima-guide] .sjg-map::before,
.sjg-guide[data-shinojima-guide] .sjg-map-card > .sjg-section-heading,
.sjg-guide[data-shinojima-guide] .sjg-map-card > .sjg-map-help,
.sjg-guide[data-shinojima-guide] .sjg-map__caption,
.sjg-guide[data-shinojima-guide] .sjg-schedule-note,
.sjg-guide[data-shinojima-guide] .sjg-footer-note {
	display: none !important;
}

.sjg-guide[data-shinojima-guide] .sjg-hero {
	position: absolute;
	left: max(10px, env(safe-area-inset-left));
	right: auto;
	top: max(10px, env(safe-area-inset-top));
	z-index: 35;
	width: min(66vw, 430px);
	height: 58px;
	min-height: 0;
	margin: 0;
	padding: 9px 13px;
	overflow: hidden;
	border-radius: 16px;
}

.sjg-guide[data-shinojima-guide] .sjg-hero::after,
.sjg-guide[data-shinojima-guide] .sjg-hero__eyebrow,
.sjg-guide[data-shinojima-guide] .sjg-hero__heading p,
.sjg-guide[data-shinojima-guide] .sjg-data-notice,
.sjg-guide[data-shinojima-guide] .sjg-demo-badge {
	display: none;
}

.sjg-guide[data-shinojima-guide] .sjg-hero__heading,
.sjg-guide[data-shinojima-guide] .sjg-hero__heading > div {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
}

.sjg-guide[data-shinojima-guide] .sjg-hero h2 {
	margin: 0;
	overflow: hidden;
	color: #fff;
	font-size: clamp(0.96rem, 3.7vw, 1.25rem);
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjg-guide[data-shinojima-guide] .sjg-store-browser {
	position: absolute;
	left: max(10px, env(safe-area-inset-left));
	right: max(10px, env(safe-area-inset-right));
	top: auto;
	bottom: max(10px, env(safe-area-inset-bottom));
	z-index: 28;
	display: flex;
	height: 82px;
	margin: 0;
	padding: 8px;
	overflow: hidden;
	border-radius: 18px;
}

.sjg-guide[data-store-selected="true"] .sjg-store-browser {
	bottom: calc(142px + env(safe-area-inset-bottom));
}

.sjg-guide[data-detail-expanded="true"] .sjg-store-browser,
.sjg-guide[data-ferry-open="true"] .sjg-store-browser {
	visibility: hidden;
	opacity: 0;
	transform: translateY(18px);
	pointer-events: none;
}

.sjg-guide[data-shinojima-guide] .sjg-detail-card {
	display: none;
	position: absolute;
	left: max(8px, env(safe-area-inset-left));
	right: max(8px, env(safe-area-inset-right));
	top: auto;
	bottom: max(8px, env(safe-area-inset-bottom));
	z-index: 38;
	width: auto;
	height: 126px;
	max-height: calc(100dvh - 18px);
	margin: 0;
	overflow: hidden;
	border-radius: 22px;
}

.sjg-guide[data-store-selected="true"] .sjg-detail-card {
	display: block;
}

.sjg-guide[data-detail-expanded="true"] .sjg-detail-card {
	height: min(66dvh, 660px);
	border-radius: 22px;
}

.sjg-guide[data-shinojima-guide] .sjg-detail-body {
	height: calc(100% - 44px);
	overflow-x: hidden;
	overflow-y: auto;
}

.sjg-guide[data-shinojima-guide] .sjg-detail-body[hidden] {
	display: none !important;
}

.sjg-guide[data-shinojima-guide] .sjg-journey-controls,
.sjg-guide[data-shinojima-guide] .sjg-departure-card {
	display: none;
	position: absolute;
	left: max(8px, env(safe-area-inset-left));
	right: max(8px, env(safe-area-inset-right));
	z-index: 48;
	margin: 0;
	border-radius: 20px;
}

.sjg-guide[data-ferry-open="true"] .sjg-journey-controls,
.sjg-guide[data-ferry-open="true"] .sjg-departure-card {
	display: grid;
}

.sjg-guide[data-shinojima-guide] .sjg-journey-controls {
	top: calc(max(10px, env(safe-area-inset-top)) + 66px);
	bottom: auto;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
	padding: 13px;
	overflow: visible;
}

.sjg-guide[data-shinojima-guide] .sjg-journey-controls .sjg-field {
	flex: none;
}

.sjg-guide[data-shinojima-guide] .sjg-departure-card {
	top: calc(max(10px, env(safe-area-inset-top)) + 236px);
	bottom: max(8px, env(safe-area-inset-bottom));
	gap: 10px;
	max-height: none;
	padding: 15px;
	overflow-x: hidden;
	overflow-y: auto;
	border-radius: 20px;
}

.sjg-guide[data-shinojima-guide] .sjg-departure-card .sjg-kicker,
.sjg-guide[data-shinojima-guide] .sjg-departure-card__lead > p {
	display: block;
}

.sjg-guide[data-shinojima-guide] .sjg-action-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	overflow: visible;
}

.sjg-guide[data-shinojima-guide] .sjg-action-grid .sjg-button {
	width: 100%;
	flex: none;
}

.sjg-guide[data-shinojima-guide] .sjg-route-guide {
	display: none;
}

.sjg-guide[data-route-visible="true"] .sjg-route-guide {
	display: grid;
}

@media (min-width: 1024px) {
	.sjg-guide[data-shinojima-guide] .sjg-hero {
		left: 18px;
		top: 18px;
		width: 410px;
		height: 66px;
		min-height: 0;
		padding: 9px 18px;
	}

	.sjg-guide[data-shinojima-guide] .sjg-hero h2 {
		font-size: 1.28rem;
		white-space: nowrap;
	}

	.sjg-guide[data-shinojima-guide] .sjg-store-browser {
		left: 18px;
		right: 448px;
		top: auto;
		bottom: 18px;
		width: auto;
		transform: none;
	}

	.sjg-guide[data-store-selected="true"] .sjg-store-browser {
		bottom: 18px;
	}

	.sjg-guide[data-detail-expanded="true"] .sjg-store-browser {
		visibility: visible;
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}

	.sjg-guide[data-ferry-open="true"] .sjg-store-browser {
		visibility: hidden;
		opacity: 0;
		transform: translateY(18px);
		pointer-events: none;
	}

	.sjg-guide[data-shinojima-guide] .sjg-detail-card,
	.sjg-guide[data-detail-expanded="true"] .sjg-detail-card {
		left: auto;
		right: 18px;
		top: 96px;
		bottom: 18px;
		width: 412px;
		height: auto;
		max-height: none;
		border-radius: 24px;
	}

	.sjg-guide[data-shinojima-guide] .sjg-detail-toggle,
	.sjg-guide[data-shinojima-guide] .sjg-detail-peek {
		display: none;
	}

	.sjg-guide[data-shinojima-guide] .sjg-detail-body {
		height: 100%;
		padding-top: 10px;
	}

	.sjg-guide[data-shinojima-guide] .sjg-journey-controls,
	.sjg-guide[data-shinojima-guide] .sjg-departure-card {
		left: 18px;
		right: auto;
		width: 374px;
	}

	.sjg-guide[data-shinojima-guide] .sjg-journey-controls {
		top: 96px;
	}

	.sjg-guide[data-shinojima-guide] .sjg-departure-card {
		top: 266px;
		bottom: 118px;
	}

	.sjg-guide[data-store-selected="true"] .leaflet-control-attribution,
	.sjg-guide[data-detail-expanded="true"] .leaflet-control-attribution {
		margin-bottom: 18px !important;
	}
}

@media (max-width: 420px) {
	.sjg-guide[data-shinojima-guide] .sjg-map {
		min-height: 0;
		border-radius: 0;
	}

	.sjg-guide[data-shinojima-guide] .sjg-store-browser {
		height: 76px;
		padding: 7px;
	}

	.sjg-guide[data-shinojima-guide] .sjg-departure-card {
		top: calc(max(10px, env(safe-area-inset-top)) + 240px);
		padding-right: 15px;
		padding-left: 15px;
	}
}

.sjg-guide .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.sjg-ferry-panel__note {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--sjg-muted);
	font-size: 0.65rem;
	line-height: 1.45;
}

.sjg-ferry-panel__note a {
	font-weight: 900;
}

.sjg-guide[data-ferry-open="true"][data-store-selected="false"] .sjg-departure-card {
	display: none;
}

.sjg-guide[data-ferry-open="true"] .leaflet-control-attribution {
	display: block !important;
}

body.shinojima-guide-page .sjg-guide[data-shinojima-guide] {
	position: fixed !important;
	inset: 0 !important;
	z-index: 10;
	width: 100vw !important;
	max-width: none !important;
	height: 100vh !important;
	height: 100dvh !important;
	margin: 0 !important;
}
