
#header{position:relative;width:100%;/* border-bottom:1px solid #ebebeb; */}
#header .wrap{position:relative;width:100%;max-width: 1400px;margin: 0px auto;min-height: 130px;background: #ffffff;}
#header.on{ position:fixed; z-index:9998; }
#header .wrap .logo{position:absolute;top: 10px;left: 15px;}
#header .wrap > #mobileMenu{display:none;position:absolute;top: 35%;right: 10px;width: 35px;height: 30px;font-size: 25px;color: #356684;padding: 6px 8px;border: 2px solid #356684;cursor:pointer;border-radius: 5px;}

/* ACRA2026 Home 按鈕樣式 (電腦版) - 純文字連結 */
.acra-home-btn {
  position: absolute;
  top: 25px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background-color: transparent;
  color: #356684;
  text-decoration: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  z-index: 10;
}

.acra-home-btn:hover {
  color: #2a5268;
  text-decoration: none;
}

.acra-home-btn i {
  font-size: 16px;
}

.acra-home-btn span {
  letter-spacing: 0.5px;
}


#header nav{position:absolute;top: 25px;right: 20px;width: 500px;text-align: right;padding:0;margin:0;list-style:none;}
#header nav input[type='text']{box-sizing:border-box;font-size: 15px;/* border: 1px solid #c4c4c4; */padding: 7px 15px 7px 15px;letter-spacing:1px;color:#666;outline:0;width: 320px;background: #ffffff;transition: all 0.5s ease;}
#header nav span{ position:relative; }
#header nav span div{color: #dcaa81;font-size: 17px;position:absolute;top: 0px;left: 10px;cursor: pointer;}

#header > ul{
   width: 100%;
   margin: 10px 0;
   max-width: 1400px;
   /* position:absolute; */
   left: 0;
   right: 0;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 0;
   padding: 0px 0px;
   bottom: 0px;
   list-style: none;
   background: #758390;
   display: flex;
   justify-content: center;
   /* border: 1px solid #e0e0e0; */
   border-radius: 25px;
   /* box-shadow: 3px 3px 5px rgb(38 38 102 / 10%); */
   /* -webkit-transition: width 0.2s ease-in-out; */
   -moz-transition: width 0.2s ease-in-out;
   -o-transition: width 0.2s ease-in-out;
   /* transition: width 0.2s ease-in-out; */
}
#header > ul > li{position:relative;float:left;font-size: 16px;padding: 0 2vw;/* border-left: 1px solid #ebebeb; */color: #ffffff;font-family: 'Noto Sans TC', sans-serif;transition: all 0.5s ease;}
#header > ul > li:last-child{/* border-right: 1px solid #ebebeb; */}
#header > ul > li:hover{  }
#header > ul > li > a{color: #ffffff;/* font-weight: bold; */letter-spacing: 1px;/* border-bottom:3px solid #ffffff; */text-decoration:none;display: inline-block;padding: 15px 0vw 15px 0vw;/* border-right: 1px solid #ffffff; */}
#header > ul > li > a:hover{ /*border-bottom:3px solid #90c31f;*/ color:#bfdae1; }
#header > ul > li:before{/*content:url(../../images/header-icon-flower.png);padding-right:10px;vertical-align: -15%;*/}
#header > ul > li:hover:before{ -webkit-filter:contrast(2); -webkit-transition:.6s;-ms-transition:.6s;-moz-transition:.6s; }
#header > ul > li:last-child a{/* border:0; */}
#header > ul.on{width: 100%;position:fixed;background: #758390;max-width:none;border-bottom: 1px solid #cccccc;top: 0px;left: 0;z-index:9998;bottom:inherit;-webkit-border-radius: 0px;margin: 0;}
#header > ul > li ul {
    display: block;
    list-style: none;
    color: #fdf3f2;
    z-index: 99;
    padding: 0px;
    margin: 0;
    display: none;
    position: absolute;
    top: 46px;
    left: 50%; 
    transform: translateX(-50%); /* 使用 transform 來移動 */
    width: 220px;
    line-height: 25px;
    color: #4D4435;
    background: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#header > ul > li:hover > ul {
    display: block;
}
#header > ul > li ul li{position:relative;font-weight:normal;padding: 10px 5px 10px 5px;text-align:center;border-bottom: 1px solid #ebebeb;}
#header > ul > li ul li:last-child{ border:0; }
#header > ul > li ul li a{color: #4D4435 !important;letter-spacing:1px;text-decoration:none;text-align:center;border-bottom:0 !important;padding: 0 5px;}
#header > ul > li ul li:hover{ background:#ebebeb;}
#header > ul > li ul li a:hover{ color:#DF941F; }

#header > ul > li > ul > li > ul{display:none;position:absolute;left: 330px;top: 0px;}
#header > ul > li > ul > li:hover ul{ display:block; }

#header > ul > li > ul > li > ul > li > ul{display:none !important;position:absolute;left: 200px;top: 0px;}
#header > ul > li > ul > li > ul > li:hover ul{ display:block !important; }



#mobileMenu {
	 width: 30px;
	 height: 25px;
	 position: absolute;
	 bottom:20px;
	 z-index: 999;
	 cursor: pointer
}
#mobileMenu span {
	 width: 15px;
	 height: 2px;
	 display: block;
	 background: #356684;
	 margin-top: 4px;
	 -webkit-transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
	 -moz-transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
	 -ms-transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
	 -o-transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
	 transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
}
.mobileMenu_spac {
	background: #fff !important
}
#mobileMenu span:first-child {
	margin-top: 0;
}
#mobileMenu .top {
	 position: absolute;
	 top: 10px;
	 -webkit-transform: rotate(225deg);
	 -moz-transform: rotate(225deg);
	 transform: rotate(225deg)
}
#mobileMenu .bottom {
	 position: absolute;
	 top: 10px;
	 margin-top: 0 !important;
	 -webkit-transform: rotate(-225deg);
	 -moz-transform: rotate(-225deg);
	 transform: rotate(-225deg)
}
#mobileMenu .middle {
	opacity: 0
}

.header-nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 570px;
  position: absolute;
  top: 80px;
  right: 20px;
}

.header-nav-left {
  flex: 1;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 1px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  width: 260px;
}

.search-bar input[type="text"] {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 16px;
  outline: none;
  background: transparent;
}

.search-btn {
  background: #b3d3e6;
  border: none;
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #7bb6d6;
}

.search-btn i {
  color: #337ca8;
  font-size: 18px;
}

.header-nav-right {
  display: flex;
  gap: 40px;
}

.header-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.header-icon-btn img {
  /* width: 50px; */
  /* height: 50px; */
  margin-bottom: 6px;
}

.header-icon-btn div {
  margin-top: 2px;
  font-size: 16px;
  letter-spacing: 2px;
}

@media screen and (max-width : 1220px) {
	#header > ul{}
	#header .wrap .nav{ right:23px; }
	#header nav{ right:10px; }
}
@media screen and (max-width : 1024px) {
	#header > ul > li{ font-size:14px; }
}
@media screen and (max-width : 900px) {

	#header .wrap{min-height:inherit;border-bottom: 1px solid #ebebeb;}
	#header nav{ display:none; }
	#header .wrap > #mobileMenu{display: block;}
	
	#header .wrap .logo{position:inherit;padding: 10px 10px 10px 10px;max-width: 315px;}
	#header .wrap .nav{ display:none; top:35%; width:35px; right:50px; }
	#header .wrap .nav i{ display:none; }
	#header ul{ display:none; }
	#header .wrap .nav{ display:none; }
	
	/* 手機版隱藏 ACRA2026 Home 按鈕 */
	.acra-home-btn {
		display: none !important;
	}

}

