@charset 'utf-8';

ul,
li,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

dl,
dt,
dd {
	margin: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
	padding: 0;
}

li img,
dt img,
dd img {
	vertical-align: top;
}

img {
	border: 0;
}

form {
	margin: 0;
	padding: 0;
}

a {
	cursor: pointer;
	outline: none;
}

* {
	box-sizing: border-box;
	text-decoration: none;

}

i {
	font-style: normal;
}

.wrapper,
.function,
.body {
	max-width: 640PX;
}

body {
    padding: 0;
    margin: 0 auto;
    font-family: 'STHeiti', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
    background: url("../images/bg.html") no-repeat top center #f5f5f5;
    background-size: 100% auto !important;
    min-height: 100vh; /* Minimum full viewport height */
    display: flex;
    flex-direction: column;
}

html {
	background: #bec7da;
}

:root {
	--app-height: 100%;
}

html,
body {
	padding: 0;
	margin: 0;
	width: 100vw;
	height: 100vh;
	height: var(--app-height);
}


body {
	padding: 0;
	margin: 0 auto;
	font-family: 'STHeiti', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
	background: url("../images/bg.html") no-repeat top center #f5f5f5;
	background-size: 100% auto !important;

}


.container {
	margin-left: auto;
	margin-right: auto;
}

.flex_center {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.wrapper {
    overflow: hidden;
    flex: 1; /* Take all available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1vmin;
    margin: 0 auto;
    background: #fff6ed;
    width: 100%;
    min-height: 0;
}

.head_nav {
	background: #fff;
	width: 100%;
	height: 1.2rem;
	box-sizing: border-box;
	margin: 0 auto auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	padding: .15rem 0 .1rem;
	border-bottom: #e5e5e5 1px solid;
}


.head_nav a.logo {
	width: 100%;
	margin: auto;
	vertical-align: middle;
	text-align: center;
}

.logo img {
	margin: 0 auto;
	width: 3.3rem;
}


.zright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    flex: 1; /* Take remaining space */
    min-height: 0;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Contain the swiper */
}

/* Ensure swiper expands to fill available space */
.swiper {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    flex: 1;
    min-height: 0;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Cover entire slide area with image */
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show full image without cropping */
    object-position: center; /* Center the image */
    position: absolute;
    top: 0;
    left: 0;
    /* Add background for transparent PNGs */
    background: linear-gradient(180deg,#fcdfc0, #fff6ed 100%);/* Match your page background */
}

/* Adjust zleft to not constrain zright */
.zleft {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    flex: none; /* Don't grow or shrink */
}


#main {
	width: 100%;
	max-width: 750px;
	background: #f5f5f5;

}

#main .navi {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	
}

#main .navi>li {
	width: 50%;
	
	
	display: flex;
	justify-content: center;

}

#main .navi>li:nth-child(2n) {
	border-right: none;
}

#main .navi>li>a {
    position: relative;
    width: 100%;
    height: 2.26rem;
    display: flex;
    align-items: center;
    justify-content: center;
    

    
    box-sizing: border-box;
    overflow: hidden;

    /* Card background */
    background: #fff;

    /* OUTER glow (main effect) */
    
}

#main .navi>li>a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    /* Soft inner glow */
    box-shadow:
        inset 0 0 18px rgba(255, 220, 180, 0.9),
        inset 0 0 2px rgba(255, 255, 255, 0.9);

    pointer-events: none;
}

#main .navi>li>a:hover {
    background: rgba(255, 246, 237, 0.4);
    /* Intensified shadows/glow on hover */
    
}

#main .navi>li.on>a {
	background: #866638;
}

#main .navi>li>a .img {

	display: block;
	float: left;
}

#main .navi>li>a .img img {
	width: auto;
	height: 0.63rem;
}

#main .navi>li.on>a .img {
	background: url(../images/img02_on.png) no-repeat center top;
	background-size: auto 100%;
}

#main .navi>li.on>a .img img {
	visibility: hidden;

}

#main .navi>li>a .txt {
	display: block;
	width: 2.6rem;
	padding-left: .4rem;
	color: #cdb566;
	font-size: 0.22rem;
	white-space: nowrap;
}

#main .navi>li>a .txt span {
	margin-bottom: 0.08rem;
	display: block;
	color: #bca147;
	font-size: 0.32rem;
	font-weight: bold;
}

#main .navi>li.on>a .txt,
#main .navi>li.on>a .txt span {
	color: #fff;
}

#main .navi>li .jsBox {
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	box-sizing: border-box;
	border: 1px solid #866638;
	background: rgba(255, 255, 255, 0.98);
	transform: translateY(-100%);
	-webkit-transform: translateY(-100%);
	z-index: 999;
}

#main .navi>li .jsBox p{
	color: #666;
	font-size: .32rem;
	margin: 0.4rem 0 .1rem;
	text-align: center;
}

#main .navi>li .jsBox .txtapp {
	background: #866638;
	/* border: 1px solid #3d449a; */
	color: #fff;
	padding: .12rem .4rem;
	border-radius: 2rem;
	font-size: .32rem;
	font-weight: bold;
	margin: 0 auto;
	text-align: center;
	display: block;
	width: 80%;
}


#main .navi>li.on .jsBox {
	display: block;
}

#main .navi>li .jsBox ul {
	padding: 0.44rem 0.5rem 0.2rem;
}

#main .navi>li .jsBox li {
	margin-bottom: 0.25rem;
	overflow: hidden;
	zoom: 1;
}

#main .navi>li .jsBox li span {
	display: block;
	float: left;
	color: #414755;
	font-size: 0.3rem;
	line-height: 0.7rem;
	text-align: center;
	background: #F0F7FE;
	box-sizing: border-box;
}

#main .navi>li .jsBox li .ms {
	width: 1.4rem;
	border: 1px solid #CED3DC;
	padding: 0 .08rem;
}

#main .navi>li .jsBox li img {
	margin: 0.25rem 0.28rem 0 0.38rem;
	width: 0.4rem;
	display: block;
	float: left;
}

#main .navi>li .jsBox li .url {
	width: 4rem;
	border: 1px solid #CED3DC;
}

#main .navi>li .jsBox li a {
	width: 2rem;
	display: block;
	float: right;
	color: #fff;
	font-size: 0.3rem;
	font-weight: bold;
	line-height: 0.7rem;
	text-align: center;
	border: 1px solid #414755;
	background: linear-gradient(90deg, #7e512b 0%, #a36d3e 100%);
	box-sizing: border-box;
}

#main .navi>li .jsBox .arrow {
	margin-left: -0.12rem;
	width: 0.25rem;
	position: absolute;
	left: 25%;
	bottom: -0.16rem;
}

.footer {
	background: #f5f5f5;
	overflow: hidden;
	width: 100%;
	display: flex;
	/* Adjusted height if needed */
	height: 1.2rem;
	align-items: center;
	justify-content: center;
}

.footer p {
	color: #999;
	font-size: 0.28rem;
	text-align: center;
}

@media screen and (max-width: 750px) {
    .wrapper {
        height: 100vh;
        max-width: 100vw;
        overflow: visible; /* Allow full image display */
    }

    .zright {
        flex: 1;
        min-height: 0;
        height: auto;
        min-height: 100vh;
        overflow: visible; /* Important for full image display */
    }

    .swiper {
        width: 100%;
        height: 100%;
        flex: 1;
        min-height: 0;
        overflow: visible; /* Critical for full PNG display */
    }

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain; /* Show full PNG without cropping */
        object-position: center;
        position: absolute;
        top: 0;
        left: 0;
        /* Background for transparent PNG areas */
        /* Ensure no clipping */
        max-width: 100%;
        max-height: 100%;
    }

    body {
        background-size: 100% auto;
        max-width: 100vw;
        overflow-x: hidden;
    }
}



@media screen and (max-width: 480px) {
    .zright {
        min-height: 60vh; /* More space for images on smaller screens */
    }
    
    .head_nav {
        height: 1rem; /* Slightly smaller nav on small screens */
        padding: .1rem 0;
    }
    
    .logo img {
        width: 2.8rem; /* Smaller logo on small screens */
    }
}

/* For very small mobile devices */
@media screen and (max-width: 360px) {
    .zright {
        min-height: 65vh; /* Even more space for images */
    }
}
@media screen and (min-width:750px) {
	#main .navi>li .jsBox li .url {
		width: 6rem;
	}
	
}
