@charset "utf-8";
/* -------------------------------- 

Primary style

-------------------------------- */
*,
*::after,
*::before {
	box-sizing: border-box;
}
* {
	color: #333;
}
body {
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    padding: 90px 0 0;
    background-color: #f8f2e8;
}
@media only screen and (max-width: 768px) {
    body {
        padding: 60px 0 0;
    }
}
/* -------------------------------- 

导航

-------------------------------- */
.header {
	display: flex;
	justify-content: space-between;
	position: fixed;
	z-index: 3;
	top: 0;
	width: 100%;
	height: 90px;
	padding: 0 7%;
/*
	-webkit-backdrop-filter:saturate(180%) blur(20px);
	backdrop-filter:saturate(180%) blur(20px);
*/
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	-webkit-transform: translateZ(0);
	        transform: translateZ(0);
	will-change: transform;
	-webkit-transition: -webkit-transform .5s;
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s, -webkit-transform .5s;
	background-color: #dbbf8d;
}
.header.is-hidden {
	-webkit-transform: translateY(-100%);
	    -ms-transform: translateY(-100%);
	        transform: translateY(-100%);
}
@media only screen and (max-width: 768px) {
	.header {
		height: 60px;
		padding: 0 0 0 5%;
	}
}

.logo {
	left: 5%;
	display: flex;
	align-items: center;
	font-size: 40px;
}
.nav {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.nav-trigger {
	display: none;
}
.icon-logo1 {
	z-index: 3;
    font-size: 50px;
}
@media only screen and (max-width: 768px) {
	.logo {
		font-size: 24px;
	}
	.nav-trigger {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		width: 70px;
		z-index: 3;
	}
    .icon-logo1 {
        font-size: 32px;
    }
}

.nav > ul {
	z-index: 2;
	display: flex;
	flex-direction: row;
	padding-top: 0;
	justify-content: space-between;
	align-items: center;
	position: static;
	width: 500px;
	height: 0;
	background-color: transparent;
	box-shadow: none;
	opacity: 1;
	transform: translateY(0);
	transition: .5s;
}
.nav > ul > li {
	width: 100%;
	text-align: center;
}
.nav > ul a {
	color: #424242;
	font-size: 1em;
	font-weight: bold;
	height: 100%;
	line-height: normal;
    padding: 10px 15px;
	border: none;
	transition: all .5s;
}
.nav > ul a:hover,
.nav > ul a.active {
	color: #dbbf8d;
    background-color: #424242;
}
.nav-open .nav ul,
.nav ul:target {
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 1;
	transform: translateY(0);
}
@media only screen and (max-width: 768px) {
	.nav > ul {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		padding-top: 30px;
		background-color: #dbbf8d;
		flex-direction: column;
		justify-content: flex-start;
		transform: translateY(-100%);
		opacity: 0;
		transition: .5s;
	}
	.nav > ul > li:first-child {
		margin-top: 30px;
	}
	.nav > ul > li {
		width: 100%;
		text-align: center;
	}
	.nav > ul a {
		display: block;
		height: 50px;
		line-height: 50px;
		color: #424242;
        padding: 0;
		border-top: 1px solid rgba(255,255,255,0.1);
	}
	.nav > ul > li:last-child {
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
}

/* -------------------------------- 

banner

-------------------------------- */
#banner {
	width: 100%;
	height: 760px;
	margin-left: auto;
	margin-right: auto;
}
#banner1 {
	background-image: url("../resource/banner1.jpg");
	background-size: cover;
}
#banner2 {
	background-color: antiquewhite;
}
#banner3 {
	background-color: grey;
}
.swiper-slide {
	text-align: center;
	font-size: 18px;
	background-size: cover;
	background-position: center;
	background-repeat:no-repeat;

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
/* swiper颜色 */
.swiper-container{
	--swiper-pagination-color: #ffffff;/* 分页器 */
	--swiper-navigation-color: #ffffff;/* 前进后退按钮 */
}
#banner-btn-p,
#banner-btn-n {
	outline: none;
	display: block;
	height: 80px;
	width: 40px;
	line-height: 80px;
	text-align: center;
	opacity: 0.5;
	color: #424242;
	background-color: #dbbf8d;
	z-index: 1;
	transition: all 0.25s ease;
	position: absolute;
	top: 420px;
	--swiper-navigation-size: 24px;/* 前进后退按钮大小 */
}
#banner-btn-p:hover,
#banner-btn-n:hover {
	opacity: 1;
}
#banner-btn-p {
	left: 0;
}
#banner-btn-n {
	right: 0;
}
@media only screen and (max-width: 768px) {
	#banner {
        height: 240px;
	}
	#banner-btn-p,
	#banner-btn-n {
		width: 40px;
        top: 150px;
	}
    #banner-btn-p:hover,
    #banner-btn-n:hover {
        opacity: 0.5;
    }
}

/* -------------------------------- 

页脚

-------------------------------- */
footer {
	width: 100%;
	height: 50px;
	background-color: #dbbf8d;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 0 7%;
}
footer span {
	font-size: 40px;
}
footer a {
	display: block;
	color: #424242;
	font-size: 0.75em;
	text-align: right;
	line-height: 1.5;
}
#footer-slogan {
    font-size: 24px;
    color: #424242;
}
@media only screen and (max-width: 768px) {
	footer {
		height: 40px;
	}
	footer span {
		font-size: 24px;
	}
	footer::before {
		display: none;
	}
    footer a {
        font-size: 10px;
    }
    #footer-slogan {
        font-size: 18px;
    }
}
/* --------------------------------

产品列表

-------------------------------- */
.product-ul {
	width: 960px;
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 3;
	margin: 150px auto 0;
}
.product-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 320px;
	margin: auto auto 120px;
}
.product-list img {
	width: 180px;
	transition: .5s;
}
.product-list:hover img {
	transform: translateY(-10px);
}
.product-list p {
	width: 184px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
    text-overflow: ellipsis;
}
.product-list p:nth-child(2) {
	font-size: 14px;
	color: #424242;
	margin-top: 40px;
}
.product-list p:nth-child(3) {
	font-size: 12px;
    color: #dbbf8d;
	margin-top: 14px;
}
@media only screen and (max-width: 768px) {
	.product-ul {
		width: 80%;
		margin: 50px auto 0;
	}
	.product-list {
		width: 50%;
		margin: auto auto 50px;
	}
	.product-list img {
		width: 100px;
	}
	.product-list p {
		width: 100px;
	}
	.product-list p:nth-child(2) {
		font-size: 14px;
		margin-top: 16px;
	}
	.product-list p:nth-child(3) {
		font-size: 10px;
		margin-top: 8px;
	}
}
/* --------------------------------

产品详情页

-------------------------------- */
/* 左右箭头 */
.arrow {
	position: fixed;
	left: 50%;
	top: 50%;
	transform:translate(-50%,-50%);
	display: flex;
	justify-content: space-between;
	width: 90%;
}
.arrow i::before {
	color: #424242;
	transition: .5s;
}
.arrow i:hover::before{
    color: #dbbf8d;
}
.arrow a i {
	font-size: 2.5em;
}
/* 布局 */
.product-box {
	width: 760px;
	margin: 200px auto 100px;
	display: flex;
	justify-content: space-between;
}
.product {
	width: 244px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.product p {
	font-size: 14px;
	color: #666;
	margin: 36px auto 0;
}
.product-detail {
	width: 320px;
}
.product-detail h2 {
	margin: 20px 0 50px;
	color: #424242;
}
.product-detail p {
	font-size: 12px;
	line-height: 18px;
	text-align: justify;
	color: #666;
	margin-bottom: 50px;
	letter-spacing: .5px;
}
.product-detail h3 {
	font-size: 14px;
	font-weight: bold;
	color: #666;
}
.back {
	font-size: 18px;
	font-weight: normal;
	width: 100%;
	height: 30px;
	line-height: 30px;
	background: #dbbf8d;
	display: flex;
	margin: 0;
}
.feed-back {
	width: 960px;
	margin: 0 auto 100px;
}
.back a {
	display: block;
	color: #fff;
	height: 100%;
	text-align: center;
	transition: .5s;
}
.back a:first-child {
	width: 50%;
	background: #424242;
}
.back a:first-child::after {
	content: "";
	display: block;
	width: 21px;
	height: 21px;
	background: #424242;
	transform: translate(-50%,-50%) rotate(45deg);
	position: relative;
	right: -100%;
	top: -50%;
	transition: .5s;
}
.back a:last-child {
	width: 50%;
    color: #424242;
}
.back a:hover {
	width: 65%;
}
.back a:hover:first-child::after {
	background: #424242;
}
@media only screen and (max-width: 768px) {
	/* 左右箭头 */
	.arrow a i {
		font-size: 1.5em;
	}
	/* 布局 */
	.product-box {
		width: 70%;
		margin: 160px auto 50px;
		flex-direction: column;
	}
	.product {
		width: 100%;
		margin: 0 auto 50px;
	}
	.product div {
		max-width: 60%;
		margin: 0 auto;
	}
	.product img {
		width: 100%;
	}
	.product p {
		margin: 16px auto 0;
	}
	.product-detail {
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	.product-detail h2 {
		margin: 10px auto 50px;
		text-align: center;
	}
	.back {
		margin: 16px auto 48px;
	}
	.feed-back {
		width: 90%;
	}
}

/*首页*/
.intro-container {
    width: 100%;
    min-width: 1200px;
    height: 386px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.intro-wraper .icon-slogan1 {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}
.intro {
    width: 480px;
    height: auto;
    margin-right: 80px;
    font-size: 1em;
    line-height: 1.5;
    text-align: justify;
}
.icon-pic {
    display: block;
    width: 560px;
    height: 187px;
    font-size: 185px;
}
@media only screen and (max-width: 768px) {
    .intro-container {
        flex-direction: column;
        min-width: auto;
        height: auto;
    }
    .intro-wraper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .intro-wraper .icon-slogan1 {
        font-size: 40px;
        margin: 30px auto 20px;
    }
    .intro {
        width: 90%;
        display: block;
        margin: 0 auto;
        font-size: .875em;
    }
    .icon-pic {
        font-size: 100px;
        width: 90%;
        text-align: center;
        height: auto;
        margin: 30px auto 40px;
    }
}

.food-container {
    width: 100%;
    min-width: 1200px;
    display: flex;
    cursor: pointer;
}
.food-wraper {
	width: 16.5%;
	height: 0;
	padding-bottom: 16.5%;
	background-repeat: no-repeat;
	background-size: cover;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.food-wraper::before {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-top: 100%;
    background-color: #000;
    position: absolute;
    opacity: 0;
}
.food-wraper:hover::before {
    opacity: 0.8;
}
.food-wraper:first-of-type {background-image: url("../resource/food-1.jpg");}
.food-wraper:nth-of-type(2) {background-image: url("../resource/food-2.jpg");}
.food-wraper:nth-of-type(3) {background-image: url("../resource/food-3.jpg");}
.food-wraper:nth-of-type(4) {background-image: url("../resource/food-4.jpg");}
.food-wraper:nth-of-type(5) {background-image: url("../resource/food-5.jpg");}
.food-wraper:last-of-type {background-image: url("../resource/food-6.jpg");}
.food-wraper p {
    color: #fff;
    position: relative;
    z-index: 1;
    padding: 0 5%;
    opacity: 0;
}
.food-wraper p:first-of-type {
    text-align: center;
    padding-top: 20%;
    font-size: 1.5em;
}
.food-wraper p:last-of-type {
    text-align: justify;
    padding-top: 1em;
    font-size: 0.875em;
    line-height: 1.5;
}
.food-wraper:hover p {
    opacity: 1;
}
@media only screen and (max-width: 768px) {
    .food-container {
        min-width: auto;
        flex-wrap: wrap;
    }
    .food-wraper {
        width: 50%;
        padding-bottom: 50%;
    }
    .food-wraper p:first-of-type {
        padding-top: 15%;
    }
    .food-wraper p:last-of-type {
        line-height: 1.2;
    }
}

.guarantee-container {
    width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.guarantee-title {
    display: block;
    width: 240px;
    height: 41px;
    margin: 32px auto;
}
.guarantee {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.guarantee div {
    width: 48%;
    border: 2px dotted #424242;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1% 0;
    margin-bottom: 32px;
}
.guarantee img {
    width: 20%;
}
.guarantee p {
    text-align: justify;
    font-size: 12px;
    line-height: 1.2;
    width: 70%;
}
@media only screen and (max-width: 768px) {
    .guarantee-container {
        width: 100%;
    }
    .guarantee div {
        width: 90%;
        margin: 0 auto 16px;
    }
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
/*    background-color: #f8f2e8;*/
    background-color: #ebdbc0;
    width: 100%;
    height: 200px;
}
.contact img {
    display: block;
}
@media only screen and (max-width: 768px) {
    .contact {
        height: 150px;
    }
    .contact img {
        width: 90%;
    }
}
/* --------------------------------

关于页面

-------------------------------- */
.about {
    width: 100%;
    min-width: 1200px;
    min-height: calc(100vh - 140px);
    padding: 0 calc(50% - 600px);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.about img {
    display: block;
    width: 600px;
    height: auto;
}
.about div {
    width: 45%;
}
.about p {
    color: #424242;
    line-height: 1.5;
    margin: 1em 0;
}
@media only screen and (max-width: 768px) {
    .about {
        min-width: inherit;
        min-height: calc(100vh - 100px);
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }
    .about img {
        width: 80%;
        height: auto;
    }
    .about div {
        width: 80%;
    }
    .about p {
        text-align: justify;
    }
}