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

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

    /*=========================選單=========================*/
    .nav {
    /*background-color: hsla(0,0%,0%,1.00);*/
    color: hsla(0,0%,63%,1.00);
    min-height: 50px;
    display: block;
    /*position: fixed;
	top: 80px;*/
    width: 100%;
    z-index: 2;
    }
    #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;
		font-family: "NAV", sans-serif;
    }
    .menu li {
        display: inline-block;
        position: relative;
        border: 0px solid hsla(359, 67%, 44%, 1.00);
    }
    .menu li a {
    display: block;
    padding-top: 13px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 13px;
    color: #7E7E7E;
    text-decoration: none;
    transition: color 0.8s, transform 0.3s ease; /* 加入 transform 過渡 */
    }
    .menu li a:hover {
    color: #836741; /* 鼠标悬停时改变文字颜色 */
	transform: scale(1.1); /* 放大 1.2 倍 */	
    }
	
	.menu li a img {
        display:block;
        width:30px;
		margin:0 auto 0 auto;
	
    }
	
	
    /* 隱藏子選單 */
    .menu .submenu {
        /*display: none;*/
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        width: 250px;
        background-color: hsla(0, 0%, 0%, 0.85);
        opacity: 0; /* 初始设为透明 */
        padding: 0;
        transition: opacity 0.8s; /* 添加透明度过渡效果 */
    }
    .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: 13px;
		font-size:18pt;
    }
	
	.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: 13;
	width: 100%;
	}
    #toggle {
    width: 50px;
    height: 40px;
    position: fixed;
    top: 30px;
    right: 10px;
    border: 0px solid hsla(0, 0%, 95%, 1.00);
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 3px;
    margin: 0;
    display: block;
    cursor: pointer;
    }
    .line {
    height: 2px;
    margin-top: 9px;
    margin-bottom: 9px;
    background-color: hsla(29,50%,26%,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: 10px;
        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: 24px;
        top: 2px;
        border-radius: 10px;
        display: block;
    }
    /* 主選單樣式 */
    .menu {
    list-style: none;
    padding-top: 80px;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
    z-index: 14;
    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 {
    display: block;
    padding: 15px;
    color: #434343;
    text-decoration: none;
    transition: color 0.3s; /* 添加文本颜色过渡效果 */
    font-size: 18px;
    }
    .menu li a:hover {
        color: hsla(0, 0%, 100%, 1.00); /* 鼠标悬停时改变文字颜色 */
    }
    
    .menu li a img{
        display: inline-block;
        width:30px;
        height:auto;
        position: relative;
        top:-2px;
        right:10px;
    }
    
    /* 隱藏子選單 */
    .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;
    }
	
	.menu li .icon-arrow_right{
		position: absolute;
        top: 14px;
		font-size:18pt;
		transform: rotate(90deg);
	}
	
	#Hnav{
		display: block;
	}
    /*=========================選單=========================*/
}