body {
	background: #f6fbff;
	color: #16202b;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.hmg-site-header *,
.hmg-site-footer *,
.hmg-site-header *::before,
.hmg-site-footer *::before,
.hmg-site-header *::after,
.hmg-site-footer *::after {
	box-sizing: border-box;
}

.hmg-site-header a,
.hmg-site-footer a {
	color: inherit;
	text-decoration: none;
}

.hmg-site-header.site-header {
	align-items: center;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid #dbe8f4;
	box-shadow: none;
	column-gap: 24px;
	display: grid;
	grid-template-areas: "brand nav actions";
	grid-template-columns: minmax(260px, 1fr) minmax(330px, auto) minmax(220px, 300px);
	left: 0;
	margin: 0;
	margin-bottom: 0 !important;
	padding: 18px 38px;
	position: sticky;
	right: 0;
	top: 0;
	z-index: 20;
	row-gap: 0;
}

.hmg-brand {
	align-items: center;
	display: inline-flex;
	gap: 12px;
	grid-area: brand;
	min-width: 0;
}

.hmg-brand__mark {
	align-items: center;
	display: inline-flex;
	flex: 0 0 56px;
	height: 40px;
	justify-content: center;
	overflow: hidden;
	width: 56px;
}

.hmg-brand__mark img,
.hmg-brand__mark svg {
	display: block;
	height: 100%;
	object-fit: contain;
	object-position: center;
	width: 100%;
}

.hmg-brand__text {
	display: grid;
	gap: 3px;
	line-height: 1.2;
	min-width: 0;
}

.hmg-brand__text strong {
	color: #101820;
	font-family: "Exo 2", sans-serif;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 0;
	white-space: nowrap;
}

.hmg-brand__text small {
	color: #5b6b7c;
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1180px) and (min-width: 1081px) {
	.hmg-site-header.site-header {
		column-gap: 16px;
		grid-template-columns: minmax(240px, 0.9fr) minmax(300px, auto) minmax(190px, 240px);
		padding-left: 24px;
		padding-right: 24px;
	}

	.hmg-brand {
		gap: 10px;
	}

	.hmg-brand__text small {
		display: none;
	}
}

.hmg-nav {
	align-items: center;
	display: flex;
	gap: clamp(12px, 1.4vw, 22px);
	grid-area: nav;
	justify-content: center;
	min-width: 0;
}

.hmg-nav a {
	color: #263240;
	flex: 0 0 auto;
	font-size: clamp(12px, 1.1vw, 14px);
	font-weight: 700;
	padding: 8px 0;
	position: relative;
	white-space: nowrap;
}

.hmg-nav a.is-active {
	color: #0877df;
}

.hmg-nav a.is-active::after {
	background: #0877df;
	border-radius: 999px;
	bottom: 0;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
}

.hmg-header-actions {
	align-items: center;
	display: flex;
	gap: 12px;
	grid-area: actions;
	justify-content: flex-end;
	min-width: 0;
}

.hmg-search {
	align-items: center;
	background: #fff;
	border: 1px solid #d8e4ee;
	border-radius: 10px;
	display: flex;
	height: 42px;
	margin: 0;
	min-width: 0;
	overflow: hidden;
	width: min(100%, 220px);
}

.hmg-search .screen-reader-text {
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.hmg-search input[type="search"] {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #25313c;
	flex: 1;
	font-size: 13px;
	height: 100%;
	line-height: 1;
	margin: 0;
	min-width: 0;
	padding: 0 14px;
}

.hmg-search button,
.hmg-cart-link {
	align-items: center;
	background: #eef5fc;
	border: 0;
	border-radius: 8px;
	color: #12202d;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 800;
	height: 36px;
	justify-content: center;
	margin-right: 3px;
	min-width: 38px;
	padding: 0 12px;
}

.hmg-search button img {
	display: block;
	height: 20px;
	width: 20px;
}

.hmg-cart-link {
	gap: 7px;
	height: 42px;
	margin: 0;
	min-width: 58px;
}

.hmg-cart-link img {
	display: block;
	height: 20px;
	width: 20px;
}

.hmg-site-footer.site-footer {
	background: #f8fcff;
	border-top: 0;
	box-shadow: none;
	color: #16202b;
	display: grid !important;
	gap: 32px;
	grid-template-columns: minmax(320px, 1.6fr) repeat(3, minmax(140px, 0.7fr));
	margin: 40px auto 0 !important;
	max-width: 1280px;
	padding: 34px 32px 26px !important;
	position: relative;
	width: calc(100% - 64px);
}

.hmg-site-footer.site-footer::after {
	content: none !important;
	display: none !important;
}

.hmg-site-footer.site-footer::before {
	background: #dce8f2;
	content: "";
	display: block !important;
	height: 1px;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 100vw;
}

.hmg-brand--footer .hmg-brand__mark {
	flex-basis: 40px;
	height: 30px;
	width: 40px;
}

.hmg-brand--footer .hmg-brand__text strong {
	font-size: 16px;
	line-height: 1.3;
	white-space: normal;
	word-break: keep-all;
}

.hmg-brand--footer .hmg-brand__text small {
	margin-top: 8px;
	white-space: normal;
}

.hmg-socials {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.hmg-socials a {
	align-items: center;
	background: #eef5fb;
	border-radius: 50%;
	display: inline-flex;
	font-size: 12px;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.hmg-site-footer h3 {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 12px;
}

.hmg-site-footer a {
	color: #0877df;
	display: block;
	font-size: 13px;
	line-height: 2;
}

.hmg-site-footer .hmg-brand {
	align-items: center;
	color: inherit;
	display: inline-flex;
	line-height: 1.2;
}

.hmg-site-footer .hmg-socials a {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	line-height: 1;
}

.hmg-socials img {
	display: block;
	height: 16px;
	width: 16px;
}

.hmg-site-footer > div {
	min-width: 0;
}

.hmg-footer-copyright {
	color: #6b7c8c;
	font-size: 12px;
	grid-column: 1 / -1;
	line-height: 1.6;
	margin: 0;
	position: relative;
	padding-top: 18px;
	text-align: center;
}

.hmg-footer-copyright::before {
	background: #dce8f2;
	content: "";
	display: block;
	height: 1px;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 100vw;
}

.hmg-newsletter {
	background: #eef6fd;
	border-radius: 8px;
	padding: 22px;
}

.hmg-newsletter p {
	color: #627486;
	font-size: 12px;
	margin: 0 0 14px;
}

.hmg-newsletter form {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr auto;
	margin: 0;
}

.hmg-newsletter input {
	background: #fff;
	border: 1px solid #caddea;
	border-radius: 6px;
	box-shadow: none;
	font-size: 13px;
	margin: 0;
	min-height: 38px;
	min-width: 0;
	padding: 0 12px;
}

.hmg-newsletter button {
	background: #0877df;
	border: 0;
	border-radius: 6px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	padding: 0 16px;
	white-space: nowrap;
}

@media (max-width: 1080px) {
	.hmg-site-header.site-header {
		grid-template-areas:
			"brand"
			"nav"
			"actions";
		grid-template-columns: 1fr;
		padding: 18px 24px 0;
		row-gap: 12px;
	}

	.hmg-nav {
		justify-content: flex-start;
		overflow-x: auto;
	}

	.hmg-header-actions {
		justify-content: flex-start;
		overflow-x: visible;
		padding-top: 4px;
	}

	.hmg-search {
		flex: 1 1 260px;
		width: auto;
	}

	.hmg-site-footer.site-footer {
		grid-template-columns: 1fr;
		width: calc(100% - 48px);
	}
}

@media (max-width: 720px) {
	.hmg-brand__text strong {
		font-size: 17px;
		white-space: normal;
	}

	.hmg-brand__text small {
		white-space: normal;
	}

	.hmg-nav {
		gap: 18px;
	}

	.hmg-header-actions {
		display: grid;
		grid-template-columns: 1fr auto;
		margin-bottom: -2px;
		width: 100%;
	}

	.hmg-site-footer.site-footer {
		padding-left: 18px;
		padding-right: 18px;
		width: calc(100% - 36px);
	}

	.hmg-newsletter form {
		grid-template-columns: 1fr;
	}

	.hmg-newsletter input,
	.hmg-newsletter button {
		min-height: 42px;
	}
}
