* {
	padding: 0;
	margin: 0;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-focus-ring-color: rgba(0, 0, 0, 0);
}

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

body {
	/* background-color: #fcd700; */

}

.box {
	width: 100%;
	margin: 0 auto;
	height: 100vh;
	height: 100svh;
	position: relative;
	overflow-x: hidden;
}

.page1 {
	width: 100%;
	height: 100%;
	background-image: url('../img/background.webp');
	background-size: 100% 100%;
	background-position: top center;
	position: relative;
}

.page1_top {
	position: absolute;
	width: 100%;
	top: 8rem;
}

.cenbox {
	position: absolute;
	z-index: 10;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	top: 76rem;

}

.logo {
	width: 33.7rem;


}

.slogan {
	width: 67.9rem;
	margin: 3rem auto;
}

.copy-lines {
	width: 75.6rem;
}

.xk {
	width: 55rem;
	margin-top: 3rem;
}

.page1_btn {
	width: 38.1rem;
	margin: 4rem auto 0;
}

.ystkbox {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	bottom: 5rem;
	width: 100%;
	z-index: 10;
}

.checkbox {
	width: 3.1rem;
	margin-right: 2rem;
}

.consent-label {
	width: 42.7rem;
}

.lefticon {
	position: absolute;
	width: 20.9rem;
	left: 0;
	top: 105rem;
}

.righticon1 {
	width: 34.2rem;
	position: absolute;
	right: 0;
	top: 82rem;

}

.righticon2 {
	width: 21.4rem;
	position: absolute;
	right: 0;
	top: 101rem;

}

.righticon3 {
	width: 15.2rem;
	position: absolute;
	right: 3rem;
	top: 155rem;

}
.page2 {
	width: 100%;
	min-height: 100%;
	background-image: url('../img/page_bg.webp');
	background-size: 100% 100%;
	background-position: bottom center;
	position: relative;
}
.logo2{
	margin: 0 auto;
	padding-top: 4rem;
}
.toppe1{
	position: relative;
	width: 100%;
	margin-top: -20rem;
	z-index: 10;
}
.xfbox{
	width: 103.9rem;
	position: relative;
	z-index: 15;
	left: 50%;
	transform: translateX(-50%);
	margin-left: 2rem;
	margin-top: -33rem;
}
/* ============ page2 · 信封内表单 ============
   设计稿 1080 × 2080，1rem = 10 设计稿 px
   xf.png 内白卡：y 486~1684，x 66~932（1039 × 1821）
   表单内容区：x 178~903（宽 725），纵向节奏 77 + 20
------------------------------------------------ */
.xflrbox {
	/* 尺寸变量：改这里即可整体调整 */
	--ipt-bg: #FEF3D7;
	--ipt-text: #442301;
	--ipt-ph: #C4B393;
	--ipt-radius: 1.3rem;
	--ipt-h: 7.7rem;
	--ipt-gap: 2rem;
	--ipt-px: 2.6rem;
	--ipt-label-w: 39.7rem;

	position: absolute;
	top: 48.6rem;
	left: 6.6rem;
	width: 86.7rem;
	padding: 1.5rem 7.15rem 0;
	box-sizing: border-box;
	font-family: "Songti SC", "STSong", "SimSun", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.xflrbox .xftit {
	width: 72.9rem;
}

.xflrbox .formbox {
	margin-top: 5.6rem;
}

/* ---------- 通用输入行：姓名 / 媒体机构 / 媒体类型 / 电话 / 地址 / 餐厅 ---------- */
.inputbox {
	display: flex;
	align-items: center;
	height: var(--ipt-h);
	margin-bottom: var(--ipt-gap);
	padding: 0 var(--ipt-px);
	background: var(--ipt-bg);
	border-radius: var(--ipt-radius);
	box-sizing: border-box;
}

.ipt-label {
	flex: 0 0 var(--ipt-label-w);
	font-size: 3.2rem;
	line-height: 1;
	letter-spacing: .15rem;
	color: var(--ipt-text);
	white-space: nowrap;
}

.ipt {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
	font-size: 3.2rem;
	line-height: 1;
	color: var(--ipt-text);
}

.ipt::placeholder {
	color: var(--ipt-ph);
}

.ipt:focus {
	outline: none;
}

/* ---------- 媒体类型：自定义下拉 ---------- */
.select {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	height: 100%;
}

.select-value {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 3.2rem;
	line-height: 1;
	color: var(--ipt-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.select-value.is-empty {
	color: var(--ipt-ph);
}

.select-arrow {
	flex: 0 0 auto;
	margin-left: 1.6rem;
	width: 2.9rem;
	height: 2.9rem;
	transition: transform .2s ease;
}

.select.is-open .select-arrow {
	transform: rotate(180deg);
}

.select-options {
	display: none;
	position: absolute;
	top: calc(100% + 1rem);
	left: calc(-1 * var(--ipt-px));
	right: calc(-1 * var(--ipt-px));
	z-index: 30;
	margin: 0;
	padding: 1rem 0;
	list-style: none;
	background: #fff;
	border-radius: 1.6rem;
	box-shadow: 0 .6rem 2rem rgba(68, 35, 1, .18);
}

.select.is-open .select-options {
	display: block;
}

.select-options .opt {
	position: relative;
	padding: 1.6rem var(--ipt-px);
	font-size: 3rem;
	line-height: 1;
	color: var(--ipt-text);
}

.select-options .opt.is-active {
	color: #BB0000;
	background: #FDF6E6;
}

.select-options .opt.is-active::after {
	content: '';
	position: absolute;
	right: var(--ipt-px);
	top: 50%;
	width: 1.5rem;
	height: .8rem;
	border-left: .3rem solid #BB0000;
	border-bottom: .3rem solid #BB0000;
	transform: translateY(-70%) rotate(-45deg);
}

/* ---------- 百味故事 ---------- */
.storybox {
	margin-top: .7rem;
	padding: 2.4rem var(--ipt-px) 1.6rem;
	background: var(--ipt-bg);
	border-radius: var(--ipt-radius);
	box-sizing: border-box;
}

.story-title {
	font-size: 3rem;
	line-height: 1;
	font-weight: 700;
	letter-spacing: .1rem;
	color: #6E5942;
	margin-left: -0.5em;
}

.story-title em {
	font-style: normal;
	font-size: 2.4rem;
	font-weight: 400;
	letter-spacing: 0;
}

.story-ipt {
	display: block;
	width: 100%;
	height: 9.6rem;
	margin-top: 1.2rem;
	padding: 0;
	border: 0;
	background: transparent;
	resize: none;
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
	font-size: 2.4rem;
	line-height: 3.2rem;
	color: var(--ipt-text);
}

.story-ipt::placeholder {
	color: #9A8870;
	font-size: 2rem;
}

.story-ipt:focus {
	outline: none;
}

/* ---------- 提交按钮 ---------- */
.tjbtn {
	width: 38rem;
	margin: 2rem auto 0;
	cursor: pointer;
}

.tjbtn:active {
	opacity: .85;
}
@media screen and (max-height: 700px) {
	.page1_top {
		top: 2rem;
	}

	.cenbox {

		top: 65rem;
		transform: scale(0.9);
	}

	.page1_btn {

		margin: 4rem auto 0;
	}

	.lefticon {

		top: 95rem;
	}

	.righticon1 {
		top: 74rem;
	}

	.righticon2 {

		top: 93rem;

	}

	.righticon3 {

		top: 140rem;

	}
}

/* 适配华为宽屏长屏手机 */
@media screen and (min-height: 800px) and (min-width: 470px) {
	.page1_top {
		top: 2rem;
	}

	.cenbox {
		top: 65rem;
		transform: scale(0.9);
	}

	.page1_btn {
		margin: 4rem auto 0;
	}

	.lefticon {
		top: 95rem;
	}

	.righticon1 {
		top: 74rem;
	}

	.righticon2 {
		top: 93rem;
	}

	.righticon3 {
		top: 140rem;
	}
}