@charset "UTF-8";
/* 以上是 聲明 css編碼 */

/* 以下是 圖示文字 的 CSS */
@import url('/webeip/HT00100/peggy/fonticons/css/style.css');
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');
@import url('https://fonts.googleapis.com/earlyaccess/cwtexkai.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

/* 以下是 圖示文字 new ver. 的 CSS */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* 以下是 animate 的 CSS */
@import url('/webeip/HT00100/becky/css/animate.css');
/* 以下是 reset 的 CSS */
@import url('/webeip/HT00100/peggy/css/reset.css');

/* 表頭 top */
	header{
		position: fixed;
		z-index: 9999;
		width: 100%;
		background-color: rgba(255,255,255,1);
		box-shadow: 0 0 8px #999;
	}
	.toplogo{
		display: inline-flex;
		justify-content: center;
		align-items: center;
		position: relative;
		margin: 5px;
		transition: all .5s;
	}
	.toplogo > img{
		vertical-align: top;
		width: 170px;
		transition: all .5s;
		border-radius: 10px;
	}
	.toplogo_txt{
		width: 200px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		color: #2a3882;
		box-sizing: border-box;
		font-weight: bolder;
	}
	.toplogo_txt span:first-child{
		font-size: 1.75rem;
		font-family: 'cwTeXKai', serif;
	}
	.toplogo_txt span:nth-child(2){
		display: block;
    	font-size: 1.25rem;
    	font-family: "Noto Serif", serif;
    	font-weight: bolder;
	}
	/* 社群小圖示 */
	.toplink ul{
		display: flex;
		align-items: center;
		justify-content: center;
		list-style: none;
	}
	.toplink ul li a{
		display: block;
	    padding: 0.35rem;
	    box-sizing: border-box;
	    font-size: 1.75rem;
	    margin: 0.35rem;
	    border-radius: 7px;
	}
	.toplink ul li .toplink_totop{
		position: fixed;
		z-index: 99;
		bottom: 0;
		right: 0;
	}

	.underlogin{
		max-width: 160px;
		margin: 10px 0;
		display: block;
		background-color: #fff;
		border-radius: 5px;
		letter-spacing: 5px;
		padding: 5px 0 5px 5px;
		box-sizing: border-box;
		color: #ffffff;
		text-align: center;
		background-color: #F44336;
		cursor: pointer;
		transition: all .5s;
	}
	.underlogin:hover{
		background-color: #03a9f4;
	}

@media (min-width: 850px)
{
	.topwrap{
		width: 100%;
		max-width: 1100px;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.topnav{
		width: 100%;
		background: #c81f12;
        background: -webkit-linear-gradient(top, #c81f12, #FF9800);
		background: linear-gradient(to bottom, #c81f12, #FF9800);
	}
	.topnav ul{
		display: flex;
		align-items: center;
		justify-content: center;
		list-style: none;
	}
	.topnav ul li{ position: relative; }

	.topnav ul li a{
		white-space: nowrap;
		display: block;
		text-align: center;
		color: #FFF;
		padding: 0.7rem 1rem;
		box-sizing: border-box;
		font-size: 1.05rem;
		font-weight: bold;
		border-right: 1px solid rgba(255,255,255,0.5);
		transition: all .3s;
	}
	.topnav ul li:last-child a{ border-right:none; }

	.topnav ul li:hover > a{
		background: #48494b;
        background: -webkit-linear-gradient(top, #48494b, #000000);
        background: linear-gradient(to bottom, #48494b, #000000);
	}

	.topnav ul li > .subnav{
		position: absolute;
		z-index: 99;
		top: 100%;
		left: 50%;
		transform: translate(-50%,0);
		background: #48494b;
        background: -webkit-linear-gradient(top, #000000, #48494b);
        background: linear-gradient(to bottom, #000000, #48494b);
		width: 150%;
		text-align: center;
		display: none;
	}
	.topnav ul li > .subnav li:hover > a{
		background: #FFF;
		color: #000000;
	}

	.topnav ul li > .subnav li > .thirdnav{
		position: absolute;
		top: 10%;
		left: 100%;
		background-color: #DBAB2A;
		width: 80%;
		display: none;
	}
}
@media (max-width: 849px)
{
	.toplink{
		position: fixed;
		z-index: 99;
		bottom: 0;
		right: 0;
	}
	.toplink ul{ display: block; list-style: none;}

	.toplink ul li .toplink_totop{
		position: static;
		z-index: 0;
	}

	header{
		position: fixed;
		z-index: 999;
		top: 0;
		left: 0;
	}
	.topnav_btn{
		width: 40px;
		height: 40px;
		position: absolute;
		top: 5px;
		left: -50px;
		z-index: 10000;
		cursor: pointer;
	}
	.topnav_btn .line_btn{
		position: absolute;
		display: inline-block;
		width: 80%;
		height: 5px;
		transition: all .3s;
		background-color: rgb(42 56 130);
		left: 50%;
		transform: translate(-50%, 0);
	}
	.topnav_btn .line_btn_top{
		top: 7px;
	}
	.topnav_btn .line_btn_center{
		top: 17px;
	}
	.topnav_btn .line_btn_bottom{
		top: 27px;
	}
	.topnav_close{
		left: 20px;
	}
	.topnav_close .line_btn{
		background-color: #fff;
	}
	.topnav_close .line_btn_top{
		top: 10px;
    	width: 60%;
		transform: translate(-50%, 0) rotate(45deg);
	}
	.topnav_close .line_btn_center{
		top: 17px;
	    width: 80%;
	    left: calc(50% - 10px);
	}
	.topnav_close .line_btn_bottom{
		top: 25px;
    	width: 60%;
		transform: translate(-50%, 0) rotate(135deg);
	}

	.topnav{
		background-color: rgb(42 56 130);
        position: fixed;
        z-index: 9999;
        top: 0;
        right: -70%;
        width: 70%;
        padding-top: 70px;
        box-sizing: border-box;
        height: 100%;
        transition: all .5s;
	}
	.topnav ul{
		width: 90%;
		max-width: 500px;
		margin: 0.25rem auto;
		height: 95%;
		overflow: auto;
	}
	.topnav ul li a{
		display: block;
		width: 100%;
		text-align: center;
		color: #FFF;
		border-bottom: 1px solid rgba(255,255,255,0.3);
		font-size: 1.25rem;
		font-weight: bold;
		padding: 1rem;
		box-sizing: border-box;
	}
	.topnav ul li:last-child > a{ border-bottom: none; }

	.topnav ul li .subnav{
		width: 90%;
		background-color: rgb(188 188 188 / 80%);
	}
	.topnav ul li .subnav li .thirdnav{
		width: 95%;
		background-color: rgba(199,32,27,0.9);
	}
	.topnav ul li .subnav li .thirdnav li > a{ color: #FFF; }

	.toplogo > img{
		width: 140px;
	}
	.toplogo_txt{ width: 170px; }
	.toplogo_txt span:first-child{
		font-size: 1.5rem;
	}
}

/* 表尾 */
	footer{
		width: 100%;
		background-color: #332C31;
		color: white;
		position: relative;
		padding-bottom: 30px;
	}
	.undernav{
		background-color: #605F5F;
	}
	.undernav ul{
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
	}
	.undernav ul li a{
		display: block;
		padding: 0.5em 0.2em;
		box-sizing: border-box;
		margin: 0 0.5em;
		color: white;
		text-align: center;
		box-sizing: border-box;
	}
	.undernav ul li a:hover{
		color: rgba(255,255,255,0.7);
	}
	.underwrapbox{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		padding: 10px;
	}
	.underwrap1{
		position: relative;
		
	}
	.underwrap1 p{
		margin: 0.5em 0;
		line-height: 1.5em;
	}
	.underwrap1 p span{
		display: inline-block;
	}
	.underspanwrap{
		padding-right: 1em;
	}
	.visa{
		width: 250px;
		position: absolute;
		bottom: 0;
		right: 0;
	}
	.mascot{
		width: 200px;
		position: absolute;
		bottom: 30px;
		right: -130px;
	}
	.mascot img{
		width: 100%;
		vertical-align: top;
	}
	.visa img{
		width: 100%;
		vertical-align: top;
	}
	.undernav ul li:nth-child(8) a{
		background-color: rgb(230 33 41);
	}

	/*綠視界*/
	.underp{
		position: absolute;
		bottom: 0;
		right: 0;
		text-align: right;
		font-size:0.9em;
		padding: 0.5em 2em;
		box-sizing: border-box;
		color: #605f5f;
	}

	@media screen and (max-width:950px)
	{
		.visa{
			position: static;
		}
		.mascot{
			bottom: 0;
			right: 0;
		}

	}



	@media screen and (max-width:650px)
	{
		.mascot{
			position: static;
		}
		
		.undernav ul li{
			width: 50%;
		}
		.undernav ul li a{
			border-bottom: 2px solid #707070;
		}


		.undernav ul li:nth-child(7) a,
		.undernav ul li:nth-child(8) a{
			border-bottom: 2px solid transparent;
		}
	}
