@charset "UTF-8";
/* CSS Document */

@media screen and (min-width:601px) { /*桌面*/

    /*=========================選單=========================*/
    .nav {
	color: hsla(0, 0%, 100%, 1.00);
	width:100%;
	height: 50px;
	display: block;
	/*position:absolute;
	top: 0px;
	left: 10%;*/
	z-index: 2;
	border:0px solid #000000;
    }
    #toggle {
        width: 50px;
        height: 40px;
        position: fixed;
        top: 22px;
        right: 10px;
        border: 0px solid hsla(0, 0%, 95%, 1.00);
        z-index: 1000;
        padding-left: 5px;
        padding-right: 5px;
        border-radius: 3px;
        margin: 0;
        display: none;
        cursor: pointer;
        background-color: hsla(0, 0%, 0%, 0.50);
    }
    .line {
        height: 1px;
        margin-top: 9px;
        margin-bottom: 9px;
        background-color: hsla(0, 0%, 100%, 1.00);
        border-radius: 10px;
        -webkit-box-shadow: 0px 0px;
        box-shadow: 0px 0px;
        display: block;
    }
    #cloesBt {
        width: 50px;
        height: 40px;
        position: fixed;
        top: 22px;
        right: 7px;
        border: 0px solid hsla(0, 0%, 95%, 1.00);
        z-index: 1001;
        padding-left: 5px;
        padding-right: 5px;
        border-radius: 3px;
        margin: 0;
        display: none;
        cursor: pointer;
        background-color: hsla(0, 0%, 0%, 0.50);
    }
    .cles_line {
        height: 35px;
        width: 1px;
        background-color: hsla(0, 0%, 100%, 1.00);
        position: absolute;
        left: 18px;
        top: 2px;
        border-radius: 10px;
        display: block;
    }
    /* 主選單樣式 */
    .menu {
        list-style: none;
        padding: 0;
        margin: 0;
        z-index: 100;
		border: 0px solid hsla(359, 67%, 44%, 1.00);
		width:100%;
		display: flex;
		/* justify-content: center;*/
      align-items: center;
    }
    .menu li {
        display: inline-block;
        position: relative;
        border: 0px solid hsla(359, 67%, 44%, 1.00);
		width:100%;
		text-align:center;
    }
    .menu li a {
        display: block;
        padding-top: 13px;
        padding-bottom: 38px;
        color:#7D7D7D;
        text-decoration: none;
        transition: color 0.8s; /* 添加文本颜色过渡效果 */
    }
	
	.menu li a img{
		width:11px;
		height:auto;
		margin-left:3px;
		margin-top:2px; 
	}
    .menu li a:hover {
	color: #19550E; /* 鼠标悬停时改变文字颜色 */
    }
    /* 隱藏子選單 */
    .menu .submenu {
	/*display: none;*/
	visibility: hidden;
	position: absolute;
	top: 100%;
	left: 0;
	width: 250px;
	background-color: hsla(0,0%,100%,0.90);
	opacity: 0; /* 初始设为透明 */
	padding: 0;
	transition: opacity 0.8s; /* 添加透明度过渡效果 */
	-webkit-box-shadow: 0px 5px 10px hsla(0,0%,0%,0.10);
	box-shadow: 0px 5px 10px hsla(0,0%,0%,0.10);
    }
    .menu .submenu li {
        width: 100%;
        text-align: center;
        border: 0px solid hsla(359, 67%, 44%, 1.00);
        position: relative;
    }
    /* 當滑鼠移至父選單時，顯示子選單 */
    .menu li:hover > .submenu {
        visibility: visible;
        opacity: 1; /* 鼠标悬停时透明度变为1 */
    }
    /* 讓三層子選單向右偏移 */
    .submenu .submenu {
        left: 100%;
        top: 0;
    }
    .menu li .icon-arrow_down {
        position: absolute;
        top: 15px;
		font-size:18pt;
		display: none;
    }
	
	.menu li .icon-arrow_right{
		position: absolute;
        top: 14px;
		font-size:18pt;
	}
	
	#Hnav{
		display: none;
	}
    /*=========================選單=========================*/
}
@media screen and (max-width:600px) { /*行動裝置*/
    /*=========================選單=========================*/
    .nav {
	position: fixed;
	z-index: 1000;
	width: 100%;
	}
    #toggle {
        width: 7.5vw;
        height: 7.5vw;
        position: fixed;
        top: 5vw;
        right: 1.2vw;
        border: 0px solid hsla(0, 0%, 95%, 1.00);
        padding-left: 2vw;
        padding-right: 2vw;
        border-radius: 3px;
        margin: 0;
        display: block;
        cursor: pointer;
       /* background-color: hsla(0, 0%, 0%, 0.50);*/
    }
    .line {
	height: 1px;
	margin-top: 1vw;
	margin-bottom: 1vw;
	background-color: #7D7D7D;
	border-radius: 10px;
	-webkit-box-shadow: 0px 0px;
	box-shadow: 0px 0px;
	display: block;
    }
 #cloesBt {
    width: 7.5vw;
    height: 7.5vw;
    position: fixed;
    top: 3vw;
    right: 1vw;
    border: 0px solid hsla(0, 0%, 95%, 1.00);
    z-index: 1001;
    padding: 0 !important;  /* 加 !important 確保生效 */
    border-radius: 3px;
    margin: 0;
    display: none;
    cursor: pointer;
}

.cles_line {
    height: 15px;
    width: 1px;
    background-color: #7D7D7D;
    position: absolute;
    left: 50% !important;  /* 加 !important */
    top: 50% !important;   /* 加 !important */
    transform-origin: center center;
    border-radius: 10px;
    display: block;
}

#CL1 {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

#CL2 {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}
    /* 主選單樣式 */
    .menu {
	list-style: none;
	padding-top: 50px;
	padding-right: 0;
	padding-left: 0;
	margin: 0;
	z-index: 100;
	background-color: hsla(0,0%,100%,0.70);
	position: fixed;
	top: 0px;
	height: 100vh;
	width: 100%;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	display: none;
	overflow-y: auto;
    }
    .menu li {
        display: block;
        position: relative;
        text-align: center;
        border: 0px solid hsla(0, 0%, 100%, 1.00);
    }
	
		.menu li a img{
		width:11px;
		height:auto;
		margin-left:3px;
		margin-top:2px; 
	}
    .menu li a {
        display: block;
        padding: 15px;
        color: #B5B5B5;
        text-decoration: none;
        transition: color 0.3s; /* 添加文本颜色过渡效果 */
        font-size: 18px;
    }
    .menu li a:hover {
    color: #4CAF50; /* 鼠标悬停时改变文字颜色 */
    }
    /* 隱藏子選單 */
    .menu .submenu {
        visibility: hidden;
        position: absolute;
        width: 100%;
        /*background-color: hsla(0,0%,22%,0.70);*/
        opacity: 0;
        padding: 0;
        transition: opacity 0.5s; /* 添加透明度过渡效果 */
        border-top: 1px solid hsla(0, 0%, 56%, 1.00);
        border-bottom: 1px solid hsla(0, 0%, 56%, 1.00);
    }
    .menu .submenu li {
        width: 100%;
        display: block;
        text-align: center;
    }
    .menu .submenu .submenu {
        border: 0px;
        background-color: hsla(0, 0%, 0%, 0.30);
    }
    .menu .submenu li a {
        font-size: 15px;
    }
    /* 當滑鼠移至父選單時，顯示子選單 */
    .menu li:hover > .submenu {
        opacity: 1; /* 鼠标悬停时透明度变为1 */
        visibility: visible;
        position: relative;
    }
	
	 .menu li .icon-arrow_down {
        position: absolute;
        top: 17px;
		font-size:18pt;
		display: none;
    }
	
	.menu li .icon-arrow_right{
		position: absolute;
        top: 14px;
		font-size:18pt;
		transform: rotate(90deg);
		display: none;
	}
	
	#Hnav{
		display: block;
	}
    /*=========================選單=========================*/
}