html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	font-size: 12px;
	color: #333333;
	background: #ffffff;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* 禁用所有可点击元素的默认高亮效果 */
a, button, input, textarea, select, label, div, span, img {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* 针对特定元素的触摸高亮效果 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

#wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 80px;
}

#header_wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

/* Hide scrollbar for all browsers */
/* Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    display: none;
}

/* Firefox */
html {
    scrollbar-width: none;
}

/* For IE and Edge */
body {
    -ms-overflow-style: none;
}

a:link, a:visited { color: #5274FF; text-decoration: none; font-weight: normal;} 
a:active, a:hover { color: #5274FF; text-decoration: none;}

p {
	margin: 0px;
	padding: 0px;
}

img {
	margin: 0px;
	padding: 0px;
	border: none;
}


.cleaner { clear: both; width: 100%; height: 0px; font-size: 0px;  }

.margin_bottom_10 { clear: both; width: 100%; height: 10px; font-size: 1px;	}
.margin_bottom_15 { clear: both; width: 100%; height: 15px; font-size: 1px;	}
.margin_bottom_20 { clear: both; width: 100%; height: 20px; font-size: 1px;	}
.margin_bottom_30 { clear: both; width: 100%; height: 30px; font-size: 1px;	}
.margin_bottom_40 { clear: both; width: 100%; height: 40px; font-size: 1px;	}
.margin_bottom_50 { clear: both; width: 100%; height: 50px; font-size: 1px;	}
.margin_bottom_60 { clear: both; width: 100%; height: 60px; font-size: 1px;	}

.margin_right_40 { margin-right: 40px; }
.margin_right_70 { margin-right: 70px; }

.fl { float: left; }
.fr { float: right }

.button_01 a{
	clear: both;
	display: block;
	width: 100px;
	height: 23px;
	padding-top: 5px;
	background: url(images/button_01.png) no-repeat;
	
	
	color: #000;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}


.header_01 {
	clear: both;
	padding-bottom: 10px;
	margin-bottom: 10px;
	font-size: 32px;
	line-height: 40px;	
	color: #000000;
}

.header_02 {
	clear: both;
	padding-bottom: 20px;
	margin-bottom: 15px;
	font-size: 22px;
	letter-spacing: 2px;
	color: #000000;
	background: #f5f5f5;	
}

.header_03 {
	clear: both;
	height: 35px;
	padding: 15px 0 0 20px;
	font-size: 18px;
	color: #000000;
	background: #f0f0f0;
}

.header_04 {
	clear: both;
	font-size: 12px;
	font-weight: bold;
	color: #000000;
}

.header_04 a{
	clear: both;
	font-size: 12px;
	font-weight: bold;
	color: #000000;
	text-decoration: none;
}

.header_05 {
	clear: both;
	font-size: 14px;
	color: #000000;
	width: 128px;
	height: 24px;
	padding: 3px 0 0 20px;
	margin-bottom: 5px;
	background: #f0f0f0;
}


#header_wrapper {
	width: 100%;
	height: 90px;
	margin: 0 auto;
	background: #ffffff;
}

#header {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 40px;
    align-items: center;
}

#header #site_logo {
    width: auto;
    height: 84px;
    font-size: 40px;
    color: #000000;
    background: #ffffff;
    float: none;
    justify-self: start;
}

#menu {
    position: relative;
    height: 47px;
    margin: 20px 0 0 0;
    background: #ffffff;
    float: none;
    justify-self: end;
    width: auto;
}

/* menu */

#menu {
    position: relative;
    float: right;
    height: 47px;
    margin: 20px 0 0 0;
    background: #ffffff;
}

#menu #menu_left{
	position: absolute;
	width: 20px;
	height: 47px;
	top: 0px;
	left: 0px;
	background: #ffffff;
}

#menu ul {
    margin: 10px 0 0 0;
    padding: 0px;
    list-style: none;
}

#menu ul li{
	padding: 0px;
	margin: 0px;
	display: inline;
}

#menu ul li a{
	float: left;
	display: block;
	width: 100px;
	padding: 5px 0;
	background: #ffffff;
	text-align: center;
	font-size: 14px;
	text-decoration: none;
	color: #333333;	
	font-weight: normal;
	outline: none;
}

#menu li a:hover, #menu li .current{
	color: #000000;
}

#menu li .last {
    background: #ffffff;
}

/* end of menu*/

#menu .radio-inputs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border-radius: 0.5rem;
  background-color: #EEE;
  box-sizing: border-box;
  box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
  padding: 0.25rem;
  width: auto;
  font-size: 14px;
  gap: 10px;
}

.hamburger-menu {
  display: none;
}

#menu .radio-inputs .radio {
  flex: 1 1 auto;
  text-align: center;
  cursor: pointer;
  position: relative;
}

#menu .radio-inputs .radio input {
  display: none;
}

#menu .radio-inputs .radio .name {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: none;
  padding: .5rem .75rem;
  color: rgba(51, 65, 85, 1);
  transition: all .15s ease-in-out;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

#menu .radio-inputs .radio input:checked + .name {
  background-color: #fff;
  font-weight: 600;
  padding: .5rem 1.25rem;
}

#menu .radio-inputs .radio .name a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  pointer-events: none;
}

/* logo image sizing */
#header #site_logo {
  display: flex;
  align-items: center;
}

#site_logo_img {
  height: 60px;
  width: auto;
}

/* content */
#content_wrapper {
    clear: both;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    background: #ffffff;
}

#content {
    width: 100%;
    padding: 50px 0;
    background: #ffffff;
    box-sizing: border-box;
}

/* footer */
#footer_wrapper {
    width: 100%;
    background: #ffffff;
    margin-top: auto;
}

#footer {
    width: 100%;
    max-width: 1160px;
    padding: 30px 60px;
    margin: 0 auto;
    box-sizing: border-box;
    color: #333333;
    text-align: center;
}

/* end of header */


/* Mobile Responsive Styles */
/* 使用更明确的媒体查询断点，避免设备类型混淆 */

/* 平板及小屏幕设备 */
@media screen and (max-width: 1024px) {
    #header {
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        padding: 0 15px;
    }
    
    #header #site_logo {
        height: 60px;
    }
    
    #site_logo_img {
        height: 45px;
    }
    
    #menu .radio-inputs {
        gap: 5px;
        padding: 0.2rem;
    }
    
    #menu .radio-inputs .radio .name {
        padding: .4rem .5rem;
        font-size: 13px;
    }
}

/* 手机端设备 */
@media screen and (max-width: 768px) {
    /* Header and layout adjustments */
    #header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        position: relative;
    }
    
    #header #site_logo {
        justify-self: start;
        width: auto;
        text-align: left;
        height: 40px;
        flex: 1;
    }

    .hamburger-menu {
        display: block;
        z-index: 100;
    }
    
    #menu {
        position: absolute;
        top: calc(100% + 2px);
        right: 15px;
        width: auto;
        min-width: 200px;
        margin: 0;
        height: auto;
        background: transparent;
        overflow: hidden;
        transition: background 0.3s ease;
        border-radius: 0.5rem;
        z-index: 999;
    }

    #menu.mobile-menu-open {
        background: #ffffff;
    }

    #menu .radio-inputs.mobile-menu-open {
        background-color: #EEE;
        box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
        padding: 0.25rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }
    
    /* Adjust menu for mobile */
    #menu .radio-inputs {
        flex-direction: column;
        width: 100%;
        gap: 5px;
        max-height: 0;
        overflow: hidden;
        background-color: transparent;
        transition: max-height 0.3s ease;
        display: none;
    }
    
    #menu .radio-inputs .radio {
        width: 100%;
    }
    
    #menu .radio-inputs .radio .name {
        padding: 0.75rem;
        text-align: center;
    }
    
    /* Hamburger menu for mobile */
    .hamburger-menu {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        margin-left: 15px;
    }
    
    .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 3px;
        position: relative;
        width: 30px;
        height: 30px;
    }
    
    .hamburger .icon {
        position: absolute;
        transition: opacity 0.3s ease, transform 0.3s ease;
        fill: #5274FF;
        width: 20px;
        height: 20px;
    }
    
    .hamburger .menu-icon {
        opacity: 1;
        transform: scale(1);
    }
    
    .hamburger .close-icon {
        opacity: 0;
        transform: scale(0.8);
    }
    
    .hamburger .menu-icon.fade-out {
        opacity: 0;
        transform: scale(0.8);
    }
    
    .hamburger .close-icon.fade-in {
        opacity: 1;
        transform: scale(1);
    }
    
    /* 移动菜单样式 */
    
    #menu .radio-inputs.mobile-menu-open {
        display: flex;
        max-height: 300px;
        overflow-y: auto;
    }
    
    /* Content adjustments */
    #content_wrapper {
        padding: 0 10px;
    }
    
    #content {
        padding: 20px 0;
    }
    
    /* Footer adjustments */
    #footer {
        padding: 20px 30px;
    }
}

/* 小屏手机设备 */
@media screen and (max-width: 480px) {
    #header {
        padding: 10px;
        flex-wrap: nowrap;
    }
    
    #header #site_logo {
        height: 35px;
        min-width: 0;
    }
    
    #site_logo_img {
        height: 55px;
        max-width: 180px;
    }
    
    .hamburger-menu {
        margin-left: 10px;
    }
    
    #menu {
        right: 10px;
        min-width: 180px;
    }
    
    .header_01 {
        font-size: 28px;
        line-height: 34px;
    }
    
    .header_02 {
        font-size: 16px;
    }
    
    /* 确保在小屏幕上内容区域有适当的边距 */
    #content {
        padding: 15px 0;
    }
}

/* 针对触摸设备的额外优化 */
@media (hover: none) and (pointer: coarse) {
    /* 适用于触摸设备的样式 */
    .hamburger {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    #menu .radio-inputs .radio .name {
        padding: 1rem; /* 增大触摸目标 */
    }
}

/* 针对不同屏幕方向的优化 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    /* 横屏小高度设备 */
    #header {
        height: 70px;
        align-items: center;
    }
    
    #header #site_logo {
        height: 35px;
    }
    
    #site_logo_img {
        height: 50px;
    }
    
    .hamburger {
        width: 30px;
        height: 30px;
    }
}