@charset "UTF-8";

/* Full-viewport layout — mobile: edge-to-edge; desktop: original centered card */

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

html {
	height: 100%;
	height: -webkit-fill-available;
	-webkit-text-size-adjust: 100%;
}

body#home {
	--page-height: var(--app-height, 100svh);
	display: flex;
	flex-direction: column;
	height: var(--page-height);
	max-height: var(--page-height);
	max-width: 987px;
	width: 100%;
	margin: 0 auto;
	padding:
		max(6px, env(safe-area-inset-top))
		max(0px, env(safe-area-inset-right))
		max(0px, env(safe-area-inset-bottom))
		max(0px, env(safe-area-inset-left));
	overflow: hidden;
	color: #111111;
	font-size: 16px;
	line-height: 1.55;
}

body#home header {
	flex: 0 0 auto;
	padding: 0 10px;
}

body#home main#container {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
	background-color: #FFFFFF;
	overflow: hidden;
}

body#home div#content {
	float: none;
	width: 100%;
	flex: 1 1 0;
	min-height: 0;
	padding: 12px 16px 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	overflow: hidden;
}

body#home img#logo {
	display: block;
	flex: 0 0 auto;
	max-width: min(280px, 88vw);
	width: 100%;
	height: auto;
	margin: 0;
	margin-left: 0;
}

body#home div#content img {
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	max-width: 100%;
	width: min(800px, 100%);
	height: auto;
	max-height: none;
	object-fit: contain;
}

body#home div#content p.fw-bolder {
	flex: 0 0 auto;
	margin: 0;
	max-width: 52rem;
	color: #111111;
	font-size: clamp(0.875rem, 3.8vw, 1.05rem);
	font-weight: 700;
	line-height: 1.5;
}

body#home footer#footer {
	flex: 0 0 auto;
	margin-top: 0;
	padding:
		10px 12px
		max(10px, env(safe-area-inset-bottom));
	text-align: center;
	background-color: #375AA0;
	border-radius: 0;
}

body#home footer#footer address {
	font-style: normal;
}

body#home ul#footer_nav {
	margin: 0;
	padding: 0;
}

body#home ul#footer_nav li {
	display: block;
	list-style: none;
	border-right: none;
	padding: 2px 0;
	font-size: clamp(0.78rem, 3.4vw, 0.95rem);
	line-height: 1.4;
	color: #FFFFFF;
}

body#home ul#footer_nav li.last_item {
	border-right: none;
}

body#home footer#footer a {
	color: #FFFFFF;
	font-weight: 700;
}

body#home footer#footer a:hover {
	color: #E8F0FF;
}

.visually-hidden {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Mobile: full-width panel, footer bar */
@media screen and (max-width: 767px) {
	html {
		background-color: #375AA0;
		background-image: none;
	}

	body#home {
		max-width: none;
		background-color: #375AA0;
	}

	body#home header {
		padding: 14px 16px 10px;
		text-align: center;
	}

	body#home img#logo {
		max-width: min(300px, 90vw);
		margin: 0 auto;
	}

	body#home div#content {
		justify-content: center;
		gap: 1.1rem;
		padding: 16px 18px 18px;
	}

	body#home div#content img {
		flex: 0 0 auto;
		max-height: min(34vh, 240px);
	}

	body#home div#content p.fw-bolder {
		font-size: clamp(0.9rem, 4vw, 1rem);
		line-height: 1.55;
	}

	body#home footer#footer {
		width: 100%;
	}
}

/* Desktop: match original index-old.html layout */
@media screen and (min-width: 768px) {
	body#home {
		justify-content: center;
		padding:
			max(30px, env(safe-area-inset-top))
			0
			max(20px, env(safe-area-inset-bottom));
	}

	body#home header {
		flex: 0 0 auto;
		padding: 0;
	}

	body#home img#logo {
		max-width: 300px;
		width: 300px;
		height: 64px;
		margin: 0 0 60px -5%;
		object-fit: contain;
		object-position: left center;
	}

	body#home main#container {
		flex: 0 0 auto;
		overflow: visible;
	}

	body#home div#content {
		flex: 0 0 auto;
		padding: 40px 90px 62px 50px;
		justify-content: flex-start;
		gap: 0;
		overflow: visible;
	}

	body#home div#content img {
		flex: 0 0 auto;
		width: auto;
		max-width: 100%;
		height: auto;
		max-height: none;
		margin-bottom: 2.5rem;
	}

	body#home div#content p.fw-bolder {
		font-size: 15px;
		font-weight: bolder;
		line-height: 20px;
	}

	body#home footer#footer {
		flex: 0 0 auto;
		margin-top: 10px;
		padding: 0 0 5px;
		background-color: transparent;
		border-radius: 0;
	}

	body#home ul#footer_nav li {
		display: inline;
		border-right: 1px solid #FFFFFF;
		padding: 0 10px 0 5px;
		font-size: 15px;
		line-height: 20px;
	}

	body#home ul#footer_nav li.last_item {
		border-right: none;
	}
}

@media screen and (max-height: 700px) and (max-width: 767px) {
	body#home img#logo {
		max-width: min(220px, 78vw);
	}

	body#home div#content {
		padding: 8px 14px 10px;
		gap: 0.5rem;
	}

	body#home div#content p.fw-bolder {
		font-size: 0.82rem;
		line-height: 1.42;
	}

	body#home footer#footer {
		padding: 7px 10px max(7px, env(safe-area-inset-bottom));
	}

	body#home ul#footer_nav li {
		font-size: 0.72rem;
		line-height: 1.32;
		padding: 1px 0;
	}
}
