@charset "UTF-8";
/*思源黑體*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
/*Lexend 英文數字使用*/
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Noto+Sans+TC:wght@100..900&display=swap');
/*reset*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,iframe,button,a{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	letter-spacing: 0.7px;
	vertical-align: baseline;
	text-decoration: none;
	box-sizing: border-box;
	line-height: 100%;
	font-weight: 400;
}

body {
	color: #2D2D2F;
	font: 18px/100% 'Lexend', 'Noto Sans TC';
}

html, body { height: 100%;scroll-behavior: smooth; }

a{
	color:#2D2D2F;
	text-decoration:none;
}
button{	background: none; }

h1, h2, h3, h4, h5, h6{ font-weight: 300; font-size:1rem; }

ol, ul {
	list-style: none;
}

table {width:auto; 	border-collapse: collapse; border-spacing: 0; }

input, button, textarea,select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  outline: none;
}
/*reset end*/

/*Input*/
input[type="text"],
input[type="password"] { width: 100%; background-color: transparent;}

/*select*/
select { width: 100%; min-width: 60px; height: 40px; line-height: 32px; padding: 0 35px 0 10px; vertical-align:middle; color: #434343;
 appearance:none; -moz-appearance:none; -webkit-appearance:none;
 background-image:url(../images/icon_select.png); background-repeat: no-repeat; background-size: auto 12px; background-position: calc(100% - 10px) center; border: solid 1px #ddd;  }
select::-ms-expand { display: none; }

/*checkbox*/

input[type="checkbox"]{ display: none; appearance: none; outline:none; opacity: 0; line-height: 24px; }
input[type="checkbox"] + label { line-height: 24px; cursor: pointer; display: flex; align-items: center; font-size: 16px; }
input[type="checkbox"] + label span { display: inline-block; width:24px; height:24px;  margin: 0 10px 0 0; padding: 0; vertical-align: middle; cursor: pointer; background-color: #F7F7F7; border-radius: 4px;}
input[type="checkbox"]:checked + label span { background:#8673FF url(../images/icon_check.svg) left bottom no-repeat; background-size: 24px auto; }
input[type="checkbox"] + label span.reverse { margin: 0 0 0 10px; }



textarea { width: 100%; min-height: 120px; padding: 10px 10px; border: solid 1px #ddd; overflow-y: auto; resize: none; }

.smallT { font-size: 14px; }
.bigT { font-size: 21px; }
.biggerT { font-size: 24px; }
.biggestT { font-size: 28px; }

.tL{ text-align:left; }
.tR{ text-align:right; }
.tC{ text-align:center; }
.tB{ font-weight:bold; }

.fL{ float:left; }
.fR{ float:right; }

.inline{display: inline-block}
.clr{clear:both;}

.web{ display:block; }
.pad, .mobile{ display:none; }

.fs-s{font-size: 14px;}
.fs-m{font-size: 16px;}
.fs-ml { font-size: 18px; }
.fs-xl { font-size: 40px; }


.botM0 { margin-bottom: 0; }
.botM { margin-bottom: 15px !important; }
.botM2 { margin-bottom: 30px !important; }

.paddT-60{padding-top: 60px;}


.red { color: #e60012; }
.redlight { color: #FE3371; }
.orange { color: #ea9214; }
.green { color: #22ac38; }
.blue { color: #3e8abe; }
.gray { color: #B2B2B4; }
.tiffany{color: #c09400;}

.bg_blue { background-color: #eff6fa; }
.bg_gray { background-color: #f8f8f8; }


/*img*/
.imgbox img { display: block; max-width: 100%; }
.imgbox.tC img { margin: 0 auto; }

.img_bx {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.img_bx img {
    width: 100%;
    height: auto
}

/*gap*/
.gap1x{display: flex; flex-direction: column; flex-wrap: wrap; gap: 15px;}
.gap60{display: flex; flex-direction: column; flex-wrap: wrap; gap: 60px;}

/*flex*/
.d-flex{ display: flex; justify-content: space-between;}
.d-flex.gap-20{gap: 20px;}
.d-flex.w-100perc{width: 100%;}
/*-----------------頁面-----------------*/
.wrapper { position: relative; padding-top: 84px; }
.pagesize { max-width: 1160px; margin: 0 auto; }


/* header */
.header { width: 100%; height: 84px; padding: 17px 0;position: fixed; top: 0; left: 0; background-color: #fff;z-index: 9999;transition: 0.2s;}
.headerIn { display: flex; justify-content: space-between; align-items: center; position: relative;}
.headerIn .logo a { display: block; width: 266px; height:30px; background: url(../images/logo.png) center no-repeat; background-size: contain; }


/*選單*/
.headerNav { display: flex; align-items: center; }
.headerMenu { display: flex; align-items: center; gap: 40px;}
.headerMenu a{ color: #2D2D2F;font-size: 16px; font-weight: bold; line-height: 40px; display: block; border-bottom: 4px solid transparent;}
.headerMenu a:hover, .headerMenu a.on{ font-weight: bold;transition-duration: 0.3s; border-color: #2D2D2F;}

.sideNav ul{display: flex; justify-content:right; align-items: center; gap: 10px;}
.sideNav ul li{position: relative;}
.sideNav a{display: block;}
.sideNav .login a{width: 24px; height: 24px; background: url(../images/ic_user.svg) center no-repeat; background-size: 24px;}
.sideNav .login a:hover{opacity: .6;}
.sideNav .selectLang > a{ padding: 0 14px 0 30px; background: url(../images/ic_lang.svg) 0 center no-repeat; background-size: 24px;font-weight: bold; font-size: 15px; line-height: 24px; display: block;}

.sideNav .selectLang > a::after{content: "";
    position: absolute;
    top: 9px;
    right: 0;
    border-top: 6px solid #2D2D2F;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;}
.selectLang .langMenu{display: none;}
.selectLang .langMenu.show{display: block;}
.selectLang .langMenu{position: absolute; top: 30px; right: 0; border: 1px solid #2D2D2F; background-color: #fff; border-radius: 4px; overflow: hidden; width: 80px;}
.selectLang .langMenu li a{display: block; padding: 10px 14px; font-size: 16px; font-weight: 500;}
.selectLang .langMenu li a:hover{background-color: #ececec;}


/*header 捲動*/
.header.sticky { height: 60px; padding:0; }
.header.sticky .headerIn { height: 60px; }
.header.sticky .headerIn .logo a {  }
.header.sticky .headerMenu > li { font-size: 18px; }
.header.sticky .patentCode { display: none; }

/*footer*/
.footer { margin: 0; padding: 0; background: #fff; position: relative;}
.footer::before{content: ''; width: 100%; height: 4px; position: absolute; top: 0; right: 0; left: 0;
background: linear-gradient(to right,  #60327e 0%,#a74296 50%,#2f70b5 78%,#57a8d3 100%); }

.footer .pagesize{display: flex; justify-content: space-between;  color: #494C4D; font-size: 14px; padding: 20px;}
.footer_info{display: flex; flex-direction: column; justify-content: center; gap: 20px; flex: 1 1 40%;}
.footer .logo{width: 350px; height: 60px; background: url(../images/logo_with_icon.png) center no-repeat; background-size: contain;}
.footer p{line-height:180%;}
.footer a{ color: #799FCF; transition-duration: .3;}
.footer a:hover{color: #5A5ECA;}

.company_info{display: flex; flex-direction: column;flex: 1 1 20%;}
.other_link{display: flex; align-items: center; justify-content: end; gap: 10px;flex: 1 1 10%;}
.other_link a{width: 38px; height: 38px; transition-duration:.3 ;}
.other_link a:hover{opacity: .8;}
.ic-line{background: url(../images/footer-line.png) center / contain no-repeat;}
.ic-mail{background: url(../images/footer-mail.png) center / contain no-repeat;}
.ic-fb{background: url(../images/footer-fb.png) center / contain no-repeat;}



#pageMenu{display: none;}


/*popup*/
.pop_overlay {
  z-index: 100;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: block;
  background: rgba(0, 0, 0, 0.5);
}


.pop_bx {
  z-index: 101;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  padding: 30px 100px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center; gap: 30px;
box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15);
}

.pop_close{width: 32px; height: 32px; background: #9F9F9F url(../images/pop_close.svg) center / contain no-repeat; border-radius: 100%; position: absolute; top: 10px; right: 10px;}
.pop_close:hover{background-color: #5278F6;}
.pop_bx h2{text-align: center; color: #000; font-size: 30px; font-weight:500;}
.pop_bx .in_bx{ display: flex; flex-direction: column; gap: 20px; width: 100%;}
.pop_bx .in_bx a.btn{flex: 1 1 100%; }

/*在 img_bx 裡的popup*/
.pop_bx.inImg{
position: absolute;
}



@media screen and (max-width: 1220px) {
	.pagesize { padding: 0 20px; }

}

@media screen and (max-width: 1100px) {




}

@media screen and (max-width: 1024px) {
	.pad-none{display: none;}
	.pad{ display:block; }

}

@media screen and (max-width: 821px) {
	.web{ display:none; }
	.pad{ display:none; }
	.mobile{ display:block; }

.fs-m{font-size: 14px;}
  .fs-ml { font-size: 16px; }
.fs-xl { font-size: 24px; }

.botM { margin-bottom: 10px !important; }
.botM2 { margin-bottom: 20px !important; }


	body { font-size: 16px; }

	.wrapper { padding-top: 0; }
	.pagesize { padding: 0 20px; }

	/* page */
	.wrapper { border-top: 0; }

	.bigT { font-size: 18px; }
	.biggerT { font-size: 21px; }
	.biggestT { font-size: 24px; }

/*gap*/
.gap60{ gap: 20px;}

/* header */
.header {background-color: #F6F6F6; height: 48px; padding: 8px 0; border-bottom: 0; z-index: 1000; position: relative; transition: 0.2s; }
.headerIn .logo a  { display: block; width: 180px; height: 32px; background-size: contain; }
.header .headerMenu{ display: none;}
.headerMenu{border-bottom: 1px solid #DDDDDD; justify-content: center; gap: 20px;background-color: #fff; }

.m-sticky{position: sticky; top: 0; left: 0; right: 0; z-index: 999;}

/* 選單為 5 項，窄螢幕以 20px 間距會剛好塞滿或擠成兩行，故縮小間距並禁止折行 */
.m-sticky .headerMenu a{ white-space: nowrap;}

/*footer*/

.footer .pagesize{ flex-direction: column; align-items: center; gap: 10px;}
.footer p{text-align: center;}
.footer_info, .company_info, .other_link{flex: 1 1 100%;}
.footer .logo{width: 240px; height: 40px; }
.footer_info{gap: 10px; align-items: center;}
.other_link{justify-content:center; }


/*popup*/
.pop_bx {
  width: 80%;
  padding: 30px;
}
.pop_bx h2{ font-size: 24px;}

}

@media screen and (max-width: 800px) {


/* --------------------------------------- */
/*#pageMenu */
/* --------------------------------------- */
#pageMenu .hasSub button, .pageMenu-btn .line, #pageMenu, .page {
  transition: 0.2s;
}
.page {
  /* 100vw 含垂直捲軸寬度，會讓 800px 以下每頁都多出 15px 橫向捲動；
     plan.css 的同一條規則已是 100%，此處比照 */
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.page_cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(0, 0, 0, 0.3);*/
  z-index: -2;
}
.openmenu {
  position: fixed;
}
.page.openmenu .page_cover {
  z-index: 1001;
}


/* --------------------------------------- */
/* menu */
/* --------------------------------------- */
#pageMenu {
  position: fixed;
  z-index: 9999;
  width: 300px; 
  min-height: 100vh; box-sizing: border-box;
  background: #f3f3f3;display: block;
}

/* menu_清單 */
#pageMenu ul {
  list-style: none;
}

#pageMenu ul a {
  display: block;
    padding: 0 10px; font-size: 18px;
  line-height: 50px; text-align: center;
  border-bottom: solid 1px #ccc;
  color:#333;
  text-decoration: none;
}
#pageMenu ul a.on{
 color: #c09400;font-weight: bold;
}
/* menu_按鈕 */
.pageMenu-btn {
  display: block;
  position: absolute;
 right: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
  background-size: 24px;
  outline: none;
  border: none;
}

.pageMenu-btn .line {
  display: block;
  position: absolute;
  left: 4px;
  width: 20px;
  height: 2px;
  background-color: #c09400;
  border-radius: 2px;
}

.pageMenu-btn .line01 {
  top: 7px;
}

.pageMenu-btn .line02 {
  top: 14px;
}

.pageMenu-btn .line03 {
  top: 21px;
}

/* menu_按鈕_展開 */
.openmenu .pageMenu-btn .line01 {
  width: 24px;
  top: 14px;
  left: 2px;
  transform: rotate(-45deg);
}

.openmenu .pageMenu-btn .line02 {
  display: none;
}

.openmenu .pageMenu-btn .line03 {
  width: 24px;
  top: 14px;
  left: 2px;
  transform: rotate(45deg);
}

/* --------------------------------------- */
.show-left.openmenu {
  transform: translateX(300px);
}

.show-left ~ #pageMenu {
  top: 0;
  left: -300px;
}

.show-left.openmenu ~ #pageMenu {
  left: 0;
}

.show-right.openmenu {
  transform: translateX(-300px);
}

.show-right ~ #pageMenu {
  left: auto;
  right: -300px;
}

.show-right.openmenu ~ #pageMenu {
  right: 0;
}

.show-up ~ #pageMenu {
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.show-up.openmenu ~ #pageMenu {
  top: 0;
}

.show-up.openmenu {
  transform: translateX(0);
}

/* --------------------------------------- */

#pageMenu .hasSub {
  position: relative;
}
#pageMenu .hasSub button {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: url(../images/arrow.svg) center center no-repeat;
  background-size: auto 32px;
  cursor: pointer;
  outline: none;
  border: none;
}
#pageMenu .hasSub.open > button {
  transform: scaleY(-1);
}

}

@media screen and (max-width: 767px){
	.pagesize { padding: 0 10px; }
}

/* 選單 5 項不折行時自然寬度約 434px（gap 14），放不進 480px 以下的螢幕。
   故縮小間距，並在 480px 以下改為左靠 + 橫向捲動 —
   若維持 justify-content:center，溢出會同時往左右兩側跑，左邊項目會被推出畫面外。 */
@media screen and (max-width: 821px){
	.m-sticky .headerMenu { gap: 14px; }
	.m-sticky .headerMenu li { flex: 0 0 auto; }
}

@media screen and (max-width: 480px){
	.m-sticky .headerMenu { justify-content: flex-start; overflow-x: auto; padding: 0 12px; }
}
