@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
	width: 100%;
	min-height: 100%;
}

body {
	color: rgba(0, 0, 0, 1);
	background: rgba(255, 225, 0, 1);
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

#container {
	width: 100%;
	min-height: 100vh;
}

.hero-page {
	min-height: 13.5rem;
	padding: 0.1375rem 0 1.25rem;
	background: url("../image/sweetmatch-hero-bg.png") center center / cover no-repeat;
}

.site-header,
.hero {
	width: 16.4875rem;
	margin: 0 auto;
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 0.75rem;
}

.brand {
	display: flex;
	align-items: flex-start;
}

.brand__badge {
	width: 0.75rem;
	height: 0.75rem;
	flex: none;
}

.brand__name {
	margin: 0.1375rem 0 0 0.15rem;
	font-size: 0.325rem;
	font-weight: 600;
	line-height: 0.4625rem;
	white-space: nowrap;
}

.site-nav {
	display: flex;
	align-items: center;
}

.site-nav a {
	font-size: 0.3rem;
	font-weight: 400;
	line-height: 0.4125rem;
	text-decoration: underline;
	text-underline-offset: 0.04rem;
	white-space: nowrap;
}

.site-nav a + a {
	margin-left: 1.1rem;
}

.hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 16.0875rem;
	margin-top: 1.3625rem;
}

.hero__content {
	width: 10.925rem;
	padding-top: 0.3375rem;
}

.hero__content h1 {
	width: 9.65rem;
	font-size: 0.4rem;
	font-weight: 600;
	line-height: 0.5625rem;
	white-space: nowrap;
}

.hero__content p {
	width: 10.925rem;
	margin-top: 0.4rem;
	font-size: 0.35rem;
	font-weight: 400;
	line-height: 0.5rem;
}

.hero__store {
	display: inline-block;
	width: 4.2375rem;
	margin-top: 0.4rem;
}

.hero__store img {
	width: 100%;
	height: auto;
}

.hero__visual {
	width: 4.6125rem;
}

.phone-frame {
	width: 4.6125rem;
	height: 10rem;
	overflow: hidden;
	border: 0.1904761904761905rem solid rgba(255, 255, 255, 0.65);
	border-radius: 0.4875rem;
	background: rgba(216, 216, 216, 1);
}

.phone-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 1200px) {
	.site-header,
	.hero {
		width: calc(100% - 2rem);
	}

	.hero {
		gap: 0.8rem;
	}

	.hero__content {
		width: 10rem;
	}

	.hero__content h1,
	.hero__content p {
		width: 100%;
		white-space: normal;
	}
}

@media screen and (max-width: 900px) {
	.hero-page {
		padding: 0.4rem 0 0.8rem;
	}

	.site-header,
	.hero {
		width: calc(100% - 1rem);
	}

	.site-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.3rem;
	}

	.hero {
		flex-direction: column;
		margin-top: 0.8rem;
		gap: 0.7rem;
	}

	.hero__content,
	.hero__visual {
		width: 100%;
	}

	.hero__content {
		padding-top: 0;
	}

	.hero__content h1,
	.hero__content p {
		width: 100%;
		white-space: normal;
	}

	.hero__visual {
		display: flex;
		justify-content: center;
	}

	.phone-frame {
		width: 4.6125rem;
		height: 10rem;
	}
}
