@charset "utf-8";
/* -------------------------------- 

Primary style

-------------------------------- */
*,
*::after,
*::before {
	box-sizing: border-box;
	color: #333;
}
body {
    font-family: Helvetica, Tahoma, Arial, "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei";
    font-family: "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-image: url("../resource/pattern.jpg");
    padding: 90px 0 0;
}
@media only screen and (max-width: 768px) {
    body {
    padding: 50px 0 0;
    }
}
/* -------------------------------- 

导航

-------------------------------- */
.header {
	display: flex;
	justify-content: center;
	position: fixed;
	z-index: 3;
	top: 0;
	width: 100%;
	height: 90px;
	padding: 0 calc(50% - 600px);
	/*-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-image: url("../resource/pattern.jpg");
    border-bottom: 1px solid #f2ede4;
}
/*
.header.is-hidden {
	-webkit-transform: translateY(-100%);
	    -ms-transform: translateY(-100%);
	        transform: translateY(-100%);
}
*/
.header.is-hidden {
	-webkit-transform: translateY(-114px);
	    -ms-transform: translateY(-114px);
	        transform: translateY(-114px);
}
@media only screen and (max-width: 768px) {
	.header {
	    justify-content: space-between;
		height: 50px;
		padding: 0 0 0 5%;
	}
}

.logo {
	display: none;
}
.icon-lilang-logo {
    font-size: 2.5em;
}
.nav {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.nav-trigger {
	display: none;
}
@media only screen and (max-width: 768px) {
    .logo {
        left: 5%;
        display: flex;
        align-items: center;
        z-index: 3;
    }
    .header .icon-guanbang-logo {
        font-size: 1.5em;
    }
    .icon-guanbang-icon {
        font-size: 1.5em;
    }
	.nav-trigger {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		width: 70px;
		z-index: 3;
	}
}

.nav > ul {
	z-index: 2;
	display: flex;
	flex-direction: row;
	padding-top: 0;
	justify-content: space-between;
	align-items: center;
	position: static;
	width: 100%;
	height: 0;
	background-color: transparent;
	box-shadow: none;
	opacity: 1;
	transform: translateY(0);
	transition: .5s;
}
.nav > ul > li {
	width: 100%;
	text-align: center;
    cursor: pointer;
    margin: 0 2em;
}
.nav > ul a {
	color: #4f3d22;
	font-size: 1em;
	font-weight: normal;
	height: 100%;
	line-height: normal;
	padding: 0;
	border: none;
	transition: all .5s;
}
.nav > ul a:hover,
.nav > ul a.active {
	font-weight: bold;
}
.nav-open .nav ul,
.nav ul:target {
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 1;
	transform: translateY(0);
}
.logo-mobile-hidden {
    position: relative;
    top: 20px;
}
@media only screen and (max-width: 768px) {
	.nav > ul {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		padding-top: 50px;
	    background-image: url("../resource/pattern.jpg");
		flex-direction: column;
		justify-content: flex-start;
		transform: translateY(-100%);
		opacity: 0;
		transition: .5s;
	}
	.nav > ul > li {
		width: 100%;
		text-align: center;
	}
	.nav > ul a {
		display: block;
		height: 50px;
		line-height: 50px;
		color: #4f3d22;
		border-top: 1px solid #f2ede4;
	}
	.nav > ul > li:last-child {
		border-bottom: 1px solid #f2ede4;
	}
    .logo-mobile-hidden {
        display: none;
    }
}

/* -------------------------------- 

banner

-------------------------------- */
#banner {
	width: 100%;
	height: 660px;
}
#banner1 {
	background-image: url("../resource/banner-1.jpg");
}
#banner2 {
	background-color: antiquewhite;
}
#banner3 {
	background-color: #cb4a2a;
}
.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-container{
	--swiper-pagination-color: #cb4a2a;/* 两种都可以 */
}
@media only screen and (max-width: 768px) {
	#banner {
		height: 220px;
	}
}

/* -------------------------------- 

页脚

-------------------------------- */
footer {
	width: 100%;
	height: 300px;
	display: flex;
    flex-direction: column;
	align-items: center;
	justify-content: center;
    background-image: url("../resource/footer.jpg");
}
footer ul {
    width: 100%;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer ul li {
    margin: 0 3em
}
footer ul li p {
	color: #4f3d22;
}
footer > div {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 0.75em;
    border-top: 1px solid #f2ede4;
}
footer > div > p,
footer > div > a {
	color: #4f3d22;
}
footer .icon-guanbang-logo {
    font-size: 2em;
}
@media only screen and (max-width: 768px) {
    footer {
        height: calc(5em + 50px);
    }
    footer ul {
        height: 5em;
    }
    footer ul li {
        margin: 0 1em
    }
    footer .icon-guanbang-logo {
        font-size: 1em;
    }
    footer > div {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        line-height: 25px;
        height: 50px;
    }
}


.seven {
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.seven img {
    display: block;
    height: 500px;
}
@media only screen and (max-width: 768px) {
    .seven {
        width: 100%;
        height: auto;
    }
    .seven img {
        width: 80%;
        height: auto;
        margin: 20px 0;
    }
}

.info {
    width: 100%;
    height: 25vw;
    display: flex;
}
.info-left,
.info-right {
    width: 50%;
    height: 100%;
}
.info-left a {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
}
.info-left a > img,
.info-left a div {
    width: 100%;
    height: 50%;
}
.info-left a > img {
    display: block;
}
.info-left,
.info-left a div {
    display: flex;
}
.info-left a div {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info-left a div p {
    width: 80%;
    font-size: 0.75em;
    line-height: 1.5;
    text-align: justify;
    margin-top: 16px;
    color: #4f3d22;
}
.info-left a:last-of-type > div {
    border: 1px solid #bd5336;
}
.info-right {
    display: block;
    background-image: url("../resource/allproduct.png");
    background-size: cover;
    background-repeat: no-repeat;
}
@media only screen and (max-width: 768px) {
    .info {
        flex-direction: column;
        height: 100vw;
    }
    .info-left {
        width: 100%;
        height: 50vw;
    }
    .info-right {
        width: 100%;
        height: 50vw;
    }
    .info-left a div {
        height: 50%;
    }
    .info-left a > img {
        height: 50%;
    }
    .info-left a div img {
        width: 80%;
    }
}

/* --------------------------------

关于页面

-------------------------------- */
.about {
    width: 100%;
    min-width: 1200px;
    min-height: calc(100vh - 390px);
    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: 489px;
    height: 348px;
}
.about div {
    width: 45%;
}
.about p {
    color: #4f3d22;
    line-height: 1.5;
    margin: 1em 0;
}
@media only screen and (max-width: 768px) {
    .about {
        min-width: inherit;
        min-height: inherit;
        -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;
    }
}
/* --------------------------------

产品列表

-------------------------------- */
.product-ul {
	width: 960px;
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 3;
	margin: 120px 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: #cb4a2a;
	margin-top: 40px;
}
.product-list p:nth-child(3) {
	font-size: 12px;
    color: #4f3d22;
	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: #4f3d22;
	transition: .5s;
}
.arrow i:hover::before{
	color: #cb4a2a;
}
.arrow a i {
	font-size: 2.5em;
}
/* 布局 */
.product-box {
	width: 760px;
	margin: 150px 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: #4f3d22;
	margin: 36px auto 0;
}
.product-detail {
	width: 320px;
}
.product-detail h2 {
	margin: 20px 0 50px;
	color: #cb4a2a;
}
.product-detail p {
	font-size: 12px;
	line-height: 18px;
	text-align: justify;
	color: #4f3d22;
	margin-bottom: 50px;
	letter-spacing: .5px;
}
.product-detail h3 {
	font-size: 14px;
	font-weight: bold;
	color: #4f3d22;
}
.back {
	font-size: 18px;
	font-weight: normal;
	width: 100%;
	height: 30px;
	line-height: 30px;
	background: #a79e90;
	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: #4f3d22;
}
.back a:first-child::after {
	content: "";
	display: block;
	width: 21px;
	height: 21px;
	background: #4f3d22;
	transform: translate(-50%,-50%) rotate(45deg);
	position: relative;
	right: -100%;
	top: -50%;
	transition: .5s;
}
.back a:last-child {
	width: 50%;
}
.back a:hover {
	background: #cb4a2a;
}
.back a:hover {
	width: 65%;
}
.back a:hover:first-child::after {
	background: #cb4a2a;
}
/* 文字颜色
.c1 {
	color: #197c81;
} */
@media only screen and (max-width: 768px) {
	/* 左右箭头 */
	.arrow a i {
		font-size: 1.5em;
	}
	/* 布局 */
	.product-box {
		width: 70%;
		margin: 80px 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%;
	}
}
/* --------------------------------

产品列表

-------------------------------- */
.product-sort {
    width: 100%;
    padding: 0 calc(50% - 600px);
    min-width: 1200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 80px 0 0;
    cursor: pointer;
}
.product-sort li {
    width: 20%;
    text-align: center;
    line-height: 4;
}
.product-sort li:nth-child(odd) {
    background-color: #eeeeee42;
}
.product-sort li:nth-child(even) {
    background-color: #dddddd61;
}
.product-sort li:hover {
    background-color: #452b18;
}
.product-sort li:hover a {
    color: #fff;
}
.product-sort li a {
    display: block;
    width: 100%;
    height: 100%;
}
#product-sort-current {
    background-color: #452b18;
}
#product-sort-current a {
    color: #fff;
}
@media only screen and (max-width: 768px) {
    .product-sort {
        width: 100%;
        padding: 0 10%;
        min-width: inherit;
        margin: 40px 0 0;
    }
    .product-sort li {
        width: 50%;
    }
    .product-sort li:nth-child(4n+1) {
        background-color: #eeeeee42;
    }
    .product-sort li:nth-child(4n+2) {
        background-color: #dddddd61;
    }
    .product-sort li:nth-child(4n+3) {
        background-color: #cccccc42;
    }
    .product-sort li:nth-child(4n) {
        background-color: #bbbbbb61;
    }
}
