
:root {
	--color-case-result:#F6781D; /*案件-成果*/
	--color-case-goon:#178CF7; /*案件-進行中*/
	--color-case-finish:#EF4124; /*案件-已完成*/
	
	--color-case-petition:#4d8a2a; /*案件-我要陳情*/
	
	--color-reserve:#EA972B; /*預約*/
	--color-meeting:#4FAE5C; /*會議*/
	
	--color-apply:#4FAE5C; /*立即申請*/
	--color-addcart:#D54545; /*立即購買*/


	--color-popup-notify:#F59700; /*彈出視窗-通知*/
	--color-popup-warn:#b02726; /*彈出視窗-警告*/

	--color-popup-notify-gradient:linear-gradient(-45deg, var(--color-popup-notify), #f5d758); 
	/* 彈出視窗-通知：深-淺漸層色 */
	
	--color-popup-warn-gradient:linear-gradient(-45deg, var(--color-popup-warn), #f72b2b); 
	/* 彈出視窗-警告：深-淺漸層色 */
}


.wrapper{
	/*background:#fff url(../images/corrugation.png) repeat center;
	background-size:8px 5px;*/
	overflow:hidden;
}


/* 後台編輯器 a連結 */
.editor{
	color:#333;
	line-height:1.8;
}
.editor a{
	color:rgba(0,0,238,1); /*預設藍*/
	text-decoration:underline;
}
.editor a:hover{
	color:var(--color-accent);
}



body.is-menuopen {
    overflow: hidden;
}

body.is-menuopen .main,
body.is-menuopen .header-wrap,
body.is-menuopen .footer{
    -webkit-filter: blur(5px);
            filter: blur(5px);
    opacity: 0.8;

    pointer-events:none;
}







/*------------------------------------------------------------------------------------------- */
/*---- #wrapper */
.header-wrap{
    position:relative;
}

.header{
    position:relative;
	z-index:4;
}










/*------------------------------------------------------------------------------------------- */
/* ----- #header */

.header_main{
}
.header_main .header_row{
	align-items: center;
}
.header_main .header-one{
	flex:1 1 auto;
	width:1%; min-width:0;
	padding:0 1rem;
}
.header_main .header-two{
	display:none;
}
.header_main .header-three{
	flex:0 1 auto;
	width:auto;
}
@media (min-width:1440px){
	.header_main .header-one{
		flex:none;
		width:250px;
		padding:2rem 0 2rem 1rem;
	}
	.header_main .header-two{
		display:block;
		flex:1 1 auto;
		width:1%; min-width:0;
		margin:0 2rem;
		padding:2rem 0;
	}
	.header_main .header-three{
		align-self:stretch;
	}
}



.menu_func{
	display:flex; flex-wrap:wrap;
	align-items:stretch;
	height:100%;
	/*border-left:1px solid rgba(255,255,25,0.5);*/
}
/*.menu_func li{
	height:100%;
}*/
.menu_func li:first-child{
	display:none;
}

.menu_func .menulink{
	position:relative;
	display:block;
	width:100px; height:100%;
	display:flex; flex-wrap:wrap;
	align-items: center; justify-content: center;
	
	background: var(--color-one);
	padding:15px 5px;
	cursor:pointer;
	
	/*取消連結的醒目點選標示*/
	-webkit-tap-highlight-color: transparent;
}
@media (min-width:992px){
	.menu_func .menulink{
		width:120px;
	}
	.menu_func li:first-child{
		display:block;
	}
	.menu_func li:first-child .menulink{
		width:130px;
	}
}
.menu_func .menulink:before{
	position: absolute; top: 0; right:0; content: "";
	display: block;
	width: 0; height: 100%;
	
	background:var(--color-one-light);
	
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.menu_func .menulink:hover:before{
    left: 0;
    width: 100%;
}
.menu_func li:nth-child(2) .menulink{
	background:var(--color-two);
	transition-delay: 0.5s;
}
.menu_func li:nth-child(2) .menulink:before{
	background:var(--color-two-light);
}

.menu_func .menulink .menulink-box{
	position:relative; z-index:5;
}

.menu_func .menulink .iconsvg{
	width:24px; height:24px;
	margin-left:auto; margin-right:auto;
}
.menu_func .menulink .iconsvg:before{
	background-color:#fff;
}
.menu_func .menulink .menu-subtext{
	display:block;
	color:#fff;
	font-size:0.875rem; font-weight:600;
	margin-top:0.4rem;
}

.menu_func .menulink .sign_hamburger{
	width:38px; height:40px;
}
.menu_func .menulink .sign_hamburger:before,
.menu_func .menulink .sign_hamburger:after,
.menu_func .menulink .sign_hamburger-line{
	height:4px;
	background:#fff;
	transition: width 0.5s ease-in-out;
}
.menu_func .menulink:hover .sign_hamburger:before{ width:90%; }
.menu_func .menulink:hover .sign_hamburger:after{ width:75%; }
.menu_func .menulink:hover .sign_hamburger-line{ width:60%; }





.header_fixed{
	position: fixed; z-index: 900; top:-300px; right:0;
	transition:transform 0.6s ease-in-out;
	
	border-width:0 0 1px 1px;
	border-style:solid;
	border-color:#fff;
}
.header_fixed.is-scroll{
	transform:translateY(300px);
}
.header_fixed .menu_func{
	display:block;
	height:auto;
}
.header_fixed .menu_func li{
	height:auto;
}
.header_fixed .menu_func .menulink{
	height:75px;
}
@media (min-width:992px){
	.header_fixed .menu_func{
		display:flex;
	}
	.header_fixed .menu_func .menulink{
		height:90px;
	}
}






/*------------------------------------------------------------------------------------------- */
/*---- #logo */
.logo{
    max-width:250px;
	/*margin:5px 0;*/
}
@media (min-width:992px){
	.logo{
		max-width:300px;
	}
}

/*logo-photo 圖片式*/
.logo-photo{
	max-width:400px;
}

/*logo-text 文字式*/
.logo-text{
	color:var(--color-one);
}










/* ===== menu [in header]：選單 */
.menu{
	display:flex; flex-wrap:wrap;
    justify-content: center;
}
.menu li{
	position:relative;
	display:block;
	margin:5px; margin-top: 0;
}
.menu li a{
	position:relative;
	display:block;
	font-size:1rem; font-weight:600;
	color:#000;
	padding:3px 5px;
	
	/*transition: color 1s;*/
}
.menu li a:before {
    position: absolute; z-index:-1; left: inherit; right: 0; bottom: 0; content: "";
    width: 0; height: 100%;
    background: var(--color-accent);
    transition: all 0.2s;
	opacity:0.1;
}

.menu li a:hover{
	color:var(--color-accent);
}
.menu li a:hover:before{
    width: 100%;
    left: 0;
    right: inherit;
}
.menu .menu-subtext{
	display:none;
}









/*------------------------------------------------------------------------------------------- */
/*---- [20]#language 語系-列表式 */
.language_list{
	justify-content:flex-start;
	padding:0;
}
.language_list > li{ margin-left:0; margin-right:0.5rem; }
.language{ 
	border-radius:0;
}
.language:hover{
    color:var(--color-one);
}
.language.active{
	background:var(--color-accent);
	color:#fff;
	cursor:default;
}






/*------------------------------------------------------------------------------------------- */
/*---- #language_member：會員管理(語系條列式與下拉式裡的css命名皆同) */
.language_member{
	background:var(--color-two);
	border:1px solid #fff;
	border-radius:50%;
	font-size:0;
}
.language_member:before{
	background-color:#fff;
}
.language_member:hover{
	background:var(--color-accent);
	border-color:#fff;
}
.language_member:hover:before{
	background-color:#fff;
}









/*------------------------------------------------------------------------------------------- */
/* ----- #offside */
.offside_mobile{ display: block; }
.offside_desktop{ display: none; }
@media (min-width:992px){
    .offside_mobile{ display: none; }
    .offside_desktop{ display: block; }
}


.offside:before,
.offside:after{
	position:absolute; right:0; content:"";
}
.offside:before{
	z-index:-1; top:0;
	width:60px; height:90%;
	background:var(--color-two);

	-webkit-clip-path: polygon(100% 0, 0 0, 100% 100%);
			clip-path: polygon(100% 0, 0 0, 100% 100%);
			
	/*opacity:0.4;*/
}
.offside:after{
	z-index:-2; bottom:0;
	width:100px; height:100%;
	background:var(--color-one);

	-webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
			clip-path: polygon(100% 0, 0% 100%, 100% 100%);

	/*opacity:0.6;*/
}	


.offside_header{
	position:relative;
	padding: 2.2rem 20px 3rem 20px;
}
.offside_body{
   padding:0 100px 0 20px;
}
@media (min-width:992px){
	.offside:before{
		width:90px;
	}
	.offside:after{
		width:140px;
	}
	.offside_header{
		padding: 3rem 40px;
	}
	.offside_body{
		padding:0 120px 0 40px;
	}
}


/*------------------------------------------------------------------------------------------- */
/* ----- [52]#offside_close：側邊隱藏區塊-關閉鈕 */
.offside_close{
	/*position:absolute;*/ position:fixed; top:0.5rem; right:10px;
	
	display:flex; flex-wrap:wrap;
	align-items:center; justify-content:center;
	
	width:90px; height:90px;
	border-radius:50%;
	background:#fff;
}
@media (min-width:992px){
	.offside_close{
		top:1.5rem; right:100px;
	}
}
.offside_close .sign_close{
	margin:0;
}
.offside_close .sign_close:before ,
.offside_close .sign_close:after{
	background:var(--color-accent);
}
.offside_close-text{
	width:100%;
	color:var(--color-accent);
	font-size:0.875rem; font-weight:600;
	text-align:center;
}






/*------------------------------------------------------------------------------------------- */
/* ----- #menu_offside 側邊區塊-單層選單 */
.menu_offside_single{
	display:flex; flex-wrap:wrap;
}
.menu_offside_single li{
	position:relative;
    width:25%;
    margin-bottom: 2rem;
}
.menu_offside_single li a{
	position:relative;
	display:flex; flex-wrap:wrap;
	font-size:1rem; font-weight:600;
	color:#333;
	padding:3px 5px;
}
.menu_offside_single li a:hover{
	color:var(--color-accent);
}

.menu_offside_single .menu-text{
    position: relative;
    display: inline-block;
    order:2;
    color:#000;
    font-size: 1.125rem; font-weight: 600;
    padding-bottom: 5px;
    overflow: hidden;
}
.menu_offside_single .menu-subtext{
    display:block;
    order:1;
    width: 100%;
    color:#ccc;
    font-size: 0.875rem; font-weight: 600;
}

.menu_offside_single a:hover .menu-text,
.menu_offside_single a:hover .menu-subtext{
    color: var(--color-accent);
}

.menu_offside_single a .menu-text:before{
    position: absolute; left: 0; bottom: 1px; content: "";
    display: block;
    width: 101%; height: 1px;
    background-size: 200.1% 1px;
    background-repeat: repeat-x;

    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, var(--color-accent) 50%);
    -webkit-transition: all 0.3s ease 0.1s;
    transition: all 0.3s ease 0.1s;
}
.menu_offside_single a:hover .menu-text:before{
    -webkit-animation: anime_articleItem_title 1.2s ease-in-out forwards;
    animation: anime_articleItem_title 1.2s ease-in-out forwards;
}






/*------------------------------------------------------------------------------------------- */
/* ----- #menu_offside 側邊區塊選單 */
.menu_offside li a{
	color:var(--color-one);
}


/* ===== menu_offside [文字 at 第一層] */
.menu_offside > li{
	border-color:rgba(var(--color-two-rgb),0.5);
}
.menu_offside > li > a{
	color:#333;
}

.menu_offside > li > a .menu-subbtn:before,
.menu_offside > li > a .menu-subbtn:after{
	background:#333;
}
.menu_offside > li > a .menu-subbtn.is-open:before,
.menu_offside > li > a .menu-subbtn.is-open:after,
.menu-subbtn.is-open:before,
.menu-subbtn.is-open:after{
	background:red;
}


/* ===== menu_offside [is 打開下層選單之提醒] */
.menu_offside li a:before{
	background: var(--color-accent);
}
.menu_offside li a.is-current{
	background: #fff;
	color: var(--color-accent);
}


/* ===== menu_offside [is 有下層之提示圖樣- 第一層] */
.menu_offside > li > a .menu-subbtn.is-open:before,
.menu_offside > li > a .menu-subbtn.is-open:after,
.menu-subbtn.is-open:before,
.menu-subbtn.is-open:after{
	background: var(--color-accent);
}











/*------------------------------------------------------------------------------------------- */
/*---- #footer */
.footer{
	position:relative;
	margin-top:3rem;
}

.footer:before,
.footer:after{
	position:absolute; bottom:0; content:"";
	width:100%;
}
.footer:before{
	z-index:-1; left:0;
	height:150px;
	background:var(--color-one);
	
	-webkit-clip-path: polygon(0 0, 0% 100%, 100% 100%);
			clip-path: polygon(0 0, 0% 100%, 100% 100%);

	opacity:0.4;
}
.footer:after{
	z-index:-2; right:0;
	height:150px;
	background:var(--color-two);
	
	-webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
			clip-path: polygon(100% 0, 0% 100%, 100% 100%);

	opacity:0.6;
}	
@media (min-width:992px){
	.footer:before,
	.footer:after{
		position:absolute; bottom:0; content:"";
		width:80%;
	}	
}




.footer_main{
	padding:4rem 0;
}



.footer_btm{
	padding:1rem 0 7rem 0;
}
@media (min-width:992px){
	.footer_btm{
		padding:1rem 0 2rem 0;
	}
	.footer_btm .footer_row{
		position:relative;
		align-items:center;
	}
	.footer_btm .footer-left{
		width:50%;
	}
	.footer_btm .footer-right{
		width:50%;
	}
}





/* ===== #infolist_footer_company[in footer] */
.infolist_footer_company{
	text-align:center;
}
.infolist_footer_company li{
	margin:0;
}
.infolist_footer_company .info{
	font-size:0.875rem;
	margin:3px 10px;
}
.infolist_footer_company,
.infolist_footer_company a{
	color:#333;
	font-size:0.875rem; font-weight:600;
}
.infolist_footer_company a:hover{
	color:var(--color-accent);
}



/* ===== #infolist-copyright[in footer] */
.copyright,
.web_designer{
	font-size:0.875rem; font-weight:600;
	text-align:center;
}
.copyright,
.web_designer,
.copyright a,
.web_designer a{
	color:#666;
}
.copyright a:hover,
.web_designer a:hover{
	color:var(--color-accent);
}
@media (min-width:992px){
	.copyright{
		text-align:left;
	}
	.web_designer{
		text-align:right;
	}
}





/* ===== navbar_social [base]：社群 */
.navbar_social{
	justify-content:center;
	margin-top:1rem;
}
.navbar_social li{ margin:0.3rem; }
.navbar_social li:first-child{ margin-left:0; }
.navbar_social li:last-child{ margin-right:0; }


.navlink_social{
	position:relative;
	display:block;
	border:1px solid rgba(255,255,255,0.1);
	/*transform:skewY(-5deg);*/
	padding:0;
}

.navlink_social .navlink-text{ display:none; }
.navlink_social .navlink-icon{
	width:36px; height:36px;
	background:var(--color-one);
	transition:transform 0.3s ease;
}
.navlink_social .navlink-icon:before{
	z-index:2;
	background-color:#fff;
	
	-webkit-mask-size:65% 65%;
    mask-size:65% 65%;
}

.navlink_social .navlink-icon:after{
	position: absolute; z-index:1; top: 0; right:0; content: "";
	display: block;
	width: 0; height: 100%;
	
	background:var(--color-accent);
	
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.navlink_social:hover .navlink-icon:after{
    left: 0;
    width: 100%;
}
.navlink_social .navlink-icon.icon-fb{ background-color:#385591; }
.navlink_social .navlink-icon.icon-line{ background-color:#22AA38; }
.navlink_social .navlink-icon.icon-ig{ background:#6946BC; }
.navlink_social .navlink-icon.icon-youtube{ background:#FB0000; }
.navlink_social .navlink-icon.icon-twitter{ background:#489AD4; }
.navlink_social .navlink-icon.icon-weibo{ background:#DE2127; }
.navlink_social .navlink-icon.icon-wechat{ background:#04CF66; }
.navlink_social .navlink-icon.icon-mail{ background-color:#01A6E2; }
.navlink_social .navlink-icon.icon-home{ background-color:#9D1C1F; }











/*------------------------------------------------------------------------------------------- */
/* ----- #main */









/*------------------------------------------------------------------------------------------- */
/*---- #marquee */
.marqueebar{
	background: var(--color-two);
	width:100%;
	padding:5px 0;
}

.marquee_inner{
	position:relative;
	/*background:#fff;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;*/
	padding:0 5px 10px 5px;
}

.marquee_main{
	margin-left:50px;
}

.marquee-tag{
	position:absolute; top:2px; left:10px;
}
.marquee-tag_desktop{ display:none; }
.marquee-tag_mobile{ display:block; }
@media (min-width:992px){
	.marquee_main{
		margin-left:75px;
	}

	.marquee-tag_desktop{ display:block; }
	.marquee-tag_mobile{ display:none; }
}

.marquee-tag_desktop{
	background:#fff;
	font-size:1rem; font-weight:600;
	color:#E94847;
	padding:2px 10px;
	text-align:center;
	margin-top:7px;
}
.marquee-tag_desktop:before{
	position:absolute; top:50%; right:-6px; content:"";
	width:0; height:0;
	margin-top:-6px;
	
	border-width:6px 0 6px 6px;
	border-style:solid;
	border-color:transparent;
	
	border-left-color:#fff;
}

.marquee-tag_mobile{
	width:34px; height:34px;
	background:#E94847;
	border:2px solid #fff;
	border-radius:50%;
	margin-top:3px;
}
.marquee-tag_mobile .iconsvg:before{
	background-color:#fff;
	
	-webkit-mask-size: 80% 80%;
    mask-size: 80% 80%;
}


.marquee-slide{
	height: 34px;
	overflow: hidden;
}

.marquee-slide li{ margin:5px 0; }

.marquee{}

.marquee a{
	display:block;
	color:var(--color-marquee-text);
}
.marquee-text{
	display:block;
	font-size:18px; font-weight:600;
	line-height:34px;
	
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.marquee a:hover{
	color:#fff;
	text-shadow: black 0.1em 0.1em 0.2em
}
@media (min-width:992px){
	.marquee-text{
		font-size:20px;
	}
}










/*------------------------------------------------------------------------------------------- */
/*---- #sidebar 側邊攔 */
@media (min-width:992px){
	.sidebar-left{
		width:200px;
		margin-right:100px;
	}
	.sidebar-right{
		width:calc( 100% - 300px );
	}
}











/*------------------------------------------------------------------------------------------- */
/*---- #infolist 資訊 */

/* ===== [in view] */
.info_view_date{
	display:block;
	color:#666;
	font-size:0.875rem; font-weight:600;
	text-align:center;
	margin-top:10px;
}





/* ===== [in case] ：案件狀態 */

/*案件-進行中*/
.info_case_goon .iconsvg:before{
	background-color:var(--color-case-goon);
}
.info_case_goon .info-text{
	font-weight:600;
	color:var(--color-case-goon);
}

/*案件-已完成*/
.info_case_finish .iconsvg:before{
	background-color:var(--color-case-finish);
}
.info_case_finish .info-text{
	font-weight:600;
	color:var(--color-case-finish);
}





/* ===== [in case-track] ：案件追蹤 */
.infolist_case_track{
	display:flex; flex-wrap:wrap;
	align-items:flex-end;
	margin-bottom:3rem;
}
.infolist_case_track > li{
	width:100%;
	border-bottom:1px dashed #ccc;
	padding:10px 0;
}
.infolist_case_track > li:first-child{
	padding-top:0;
}

.infolist_case_track .info{
    align-items:center;
	font-weight:600;
}
.infolist_case_track .info-title{
	width:100%;
	color:#666;
}
.infolist_case_track .info-text{
	padding-left:1rem;
}
.infolist_case_track .info_status .info-text{
	padding-left:0;
}
@media (min-width:992px){
	.infolist_case_track li.infoline_status{ width:50%; order:2; }
	.infolist_case_track li.infoline_serialnum{ width:50%; order:1; }
	.infolist_case_track li.infoline_subject{ order:3; }
	.infolist_case_track li.infoline_reply{ order:4; }
	
	.infolist_case_track .info{
		display:flex; flex-wrap:wrap;
	}
	.infolist_case_track .info-title{
		position:relative;
		width:120px;
		margin-right:10px;
		padding-right:20px;
		
		/*文字左右對齊*/
		text-align:justify;
		text-align-last:justify;
		text-justify:inter-word;
	}
	.infolist_case_track .info-title:after{
		position:absolute; top:0; right:0; content:"：";
		color:#333;
	}
	.infolist_case_track .info .info-text{
		flex:1 1 auto;
		width:1%;
		min-width:0;
		
		padding-left:0;
	}
	
	.infolist_case_track .info_status{
		justify-content:flex-end;
	}
	.infolist_case_track .info_status .info-text{
		flex:none;
		width:auto;
	}
}











/* ===== [in contact] ：聯絡資料 */
.infolist_contact_company{
	display:flex; flex-wrap:wrap;
	/*margin-top:2rem;*/
}
.infolist_contact_company li{
	width:100%;
	margin-bottom:10px;
}
.infolist_contact_company .info{
	display:flex; flex-wrap:wrap;
	font-size:0.875rem;
}

.infolist_contact_company .info .iconsvg{
	/*display:none;*/
	width:28px; height:28px;
	
	background:var(--color-one);

	border-radius:50%;
	/*margin-top:-3px;*/
	margin-right:9px;
}
.infolist_contact_company .info .iconsvg:before{
	background-color:#fff;
	
	-webkit-mask-size:60% 60%;
	mask-size:60% 60%;
}
.infolist_contact_company .info:hover .iconsvg{
	background:var(--color-accent);
}

.infolist_contact_company .info-title{
	display:none;
	position:relative;
	width:82px;
	color:var(--color-dark);
	font-weight:600;
	margin-right:10px;
	padding-right:10px;
}
.infolist_contact_company .info:hover .info-title{
	color:var(--color-accent);
}

.infolist_contact_company .info-title:after{
	position:absolute; top:50%; right:0; content:"";
	width:4px; height:4px;
	margin-top:-2px;
	background:var(--color-dark);
	border-radius:50%;
	opacity:0.5;
}

.infolist_contact_company .info .info-text{
	flex:1 1 auto;
	width:1%; min-width:0;
}

.infolist_contact_company .info ,
.infolist_contact_company .info a{
	color:#333;
}
.infolist_contact_company .info a:hover{
	color:var(--color-accent);
}


/* 逤填表諮詢隱藏 */
.infolist_contact_company .info{
	font-size:1rem;
}
.infolist_contact_company.sideonly .info-title{
	display:block;
}
@media (min-width:992px){
	.infolist_contact_company.sideonly li{
		width:50%;
	}
}












/*------------------------------------------------------------------------------------------- */
/*---- #itembox 分隔區塊 */


/* ===== [in view]：詳細頁-編輯器 */
.itembox_intro{
	font-size:1.125rem; /*font-weight:600;*/
}
.itembox_intro,
.itembox_intro a{
	color:#333;
}
.itembox_intro a:hover{
	color:var(--color-accent);
}



/* ===== [in about figure]：關於我們-相片集 */
.itembox_about_figure{
}
.itembox_about_figure .itembox_inner{
	max-width:900px;
	margin:0 auto;
}



/* ===== [in view]：詳細頁-地圖 */
.itembox_map{
	background:#fff;
	border:1px solid #cccc;
	border-radius:5px;
	text-align:center;
	padding:1rem;
}
.itembox_map iframe{
	width:100%;
	max-height:250px;
}



/* ===== [in view]：詳細頁-影片 */
.itembox_video{ text-align:center; }
.itembox_video iframe{ max-width:100%;}



/* ===== [in view]：詳細頁-相片集 */
.itembox_view_figure{
	margin:3rem 0;
}
.itembox_view_figure .row{
	justify-content:center;
}



/* ===== [in view]：詳細頁-相簿 */
.itembox_view_albums{
	margin:4rem 0;
}







/* ===== [in view]：詳細頁-知識庫-側邊 */
.itembox_article_sub{
}
.itembox_article_sub:first-child{
	margin-top:0;
}

.heading_article_sub{
	position:relative;
	padding-left:15px;
	margin-bottom:1rem;
}
.heading_article_sub:before{
	position:absolute; top:15%; left:0px; content:"";
	width:5px; height:70%;
	background:var(--color-two);
}
.heading_article_sub .heading-text{
	font-size:1.5rem;
	color:var(--color-two);
}



/* ===== [in view]：詳細頁-文章大標 */
.heading_articleview{
	margin-bottom:3rem;
}
.heading_articleview .heading-text{
	position: relative;
	color:var(--color-one);
	font-size: 1.3rem;
	margin:0;
}
@media (min-width:992px){
	.heading_articleview .heading-text{
		font-size:1.8rem;
	}
}



/* ===== [in view]：詳細頁-知識庫-延伸閱讀 */
.itembox_article_extended{
	position:relative;
	background:rgba(var(--color-two-rgb),0.1);
	padding:2rem;
}
.heading_view_extended{
	margin-bottom:1rem;
}
.heading_view_extended .heading-text{
	font-size:1.5rem;
	color:var(--color-one);
}




/* ===== [in view]：詳細頁-知識庫-您可能有興趣 */
.itembox_article_interest{
}

.heading_view_interest{
	margin-bottom:1rem;
	border-bottom:2px solid var(--color-one);
}
.heading_view_interest .heading-text{
	font-size:1.5rem;
	color:var(--color-one);
}






/* ===== [in agent_pd_view ]：代理商品詳細-內容尾 */
.itembox_view_addcart{
	max-width:500px;
	border:2px solid rgba(var(--color-one-rgb), 0.2);
	padding:1rem;
	margin:4rem auto;
}

.itembox_view_addcart .heading_pageview{
	margin-bottom:1rem;
}

@media (min-width:992px){
	.itembox_view_addcart{
		padding:20px;
	}
}



/* ===== [in view ]：主內容區-頁尾 */
.itembox_mainbtm{
	border-top:1px solid rgba(var(--color-one-rgb), 0.2);
	padding-top:1rem;
	margin-top:1rem;
}
.itembox_mainbtm .itembox_row{ align-items:center; } 
.itembox_mainbtm .itembox-left{ order:3; }
.itembox_mainbtm .itembox-right{ order:2; margin:30px 0; }
.itembox_mainbtm .itembox-center{ order:1; }

@media (min-width:768px){
	.itembox_mainbtm{ padding-top:10px; }
    .itembox_mainbtm .itembox-left{ order:1; width:30%; }
	.itembox_mainbtm .itembox-center{ order:2; width:40%; }
	.itembox_mainbtm .itembox-right{ order:3; width:30%; margin:0; }
}

@media (min-width:992px){
	.itembox_mainbtm .sharelink_bar{ text-align:right; }
}



/* ===== [in page ]：頁面提示說明 */
.itembox_pagenote{
	min-height:200px;
	color:#333;
	font-weight:600;
	text-align:center;
	margin:2rem 0;
}

/*紅字-提示*/
.itembox_redmark{
	font-size:1.1rem; font-weight:600;
	color:red;
	/*text-shadow: black 0.1em 0.1em 0.2em;*/
}











/*------------------------------------------------------------------------------------------- */
/*---- #heading 標題 */



/* ===== [in page]：左側選單-標題 */




/* ===== [in view]：相片集大標 */
.heading_figure{
	margin:1rem 0 2rem 0;
	color:rgba(var(--color-one-rgb), 0.3);
	text-align:center;
	overflow:hidden;
}
.heading_figure .heading-text{
	position:relative;
	font-size:1.1rem;
	letter-spacing:10px;
	text-transform:uppercase;
}
.heading_figure .heading-text:before, 
.heading_figure .heading-text:after{
	position:absolute; top:50%; content:"";
	width:1000px; height:1px;
	background:rgba(var(--color-one-rgb), 0.3);
}
.heading_figure .heading-text:before{ left:-1010px; }
.heading_figure .heading-text:after{ right:-1010px; }









/*------------------------------------------------------------------------------------------- */
/* ----- #mtree 頁面多層menu */
.menu_sidebar{
    display:none;
}
@media (min-width:992px){
	.menu_sidebar{ display:block; }
}

.menu_sidebar li{
	margin-bottom:0.5rem;
}
.menu_sidebar li a{
	background:var(--color-one);
	border-color: rgba(255,255,255,0.2);
	
	color: #fff;
	font-weight:600;
	padding: 9px 25px 9px 18px;
	/*clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);*/
}


.menu_sidebar li a:hover{
	background:var(--color-two);
	color: #fff;
}
.menu_sidebar li a:hover:before, 
.menu_sidebar li a:hover:after{
	background: #fff;
}


/*===== 多層分類-有下一層選項的項目設定(+號) */
.menu_sidebar li.mtree-node > a:before, 
.menu_sidebar li.mtree-node > a:after{
	background: #fff;
}


/*====== 多層分類-選中的項目有標記(圓圈)之設定 */
/*.menu_sidebar li:before{
	position: absolute; top:0; left: 0; content: "";
	width:100%; height:100%;

    background: rgba(255,255,255,0.1);
	clip-path: polygon(0 0, 0% 100%, 35% 100%);
	opacity:0;
}
.menu_sidebar li:after{
	position: absolute; top:0; left: 0; content: "";
	width:100%; height:100%;

    background: rgba(255,255,255,0.2);
	clip-path: polygon(0 0, 100% 0, 35% 100%);
	opacity:0;
}*/
.mtree li.active:before,
.mtree li.active:after{
	opacity:0;
}


.menu_sidebar li.mtree-open > a{
	background:var(--color-three);
	color:#000;
}
.mtree li.mtree-open > a:before, 
.mtree li.mtree-open > a:after{
	background: #000;
}


.menu_sidebar li.active > a{
	background:var(--color-accent);
	color:#fff;
	cursor:default;
}
.menu_sidebar li.active > a:before,
.menu_sidebar li.active > a:after{
	background: #fff;
}











/*------------------------------------------------------------------------------------------- */
/*---- #iconcate 圖標分類 */
.iconcate_box{
	display:none;
}
@media (min-width:992px){
	.iconcate_box{
		display:block;
	}
}

.iconcate_list{}
.iconcate_list li{ margin-bottom:1rem; }
.iconcate_list li:last-child{ margin-bottom:0; }

.iconcate{}
.iconcate_row{
	display:flex; flex-wrap:wrap;
	align-items:center;
}
.iconcate_row .iconsvg,
.iconcate_row .iconcate-text{
	position:relative; z-index:2;
	display:block;
	margin:0 1px;
}
.iconcate .iconsvg{
	width:22px; height:22px;
}
.iconcate .iconsvg:before{
	background-color:#333;
}
.iconcate_row .iconcate-text{
	font-size:1rem; font-weight:600;
	color:#333;
}


/* ===== [in case] */
.iconcate_box_case{
	border-top: 1px solid #eee;
	margin: 2rem 0;
	padding: 2rem 0 0 0;
}


/* ===== [in case] */
/*陳情-我要陳情*/
.iconcate_petition{
	display:none;
}
@media (min-width:992px){
	.iconcate_petition{
		display:block;
	}
}
.iconcate_petition .iconsvg{
	width:40px; height:40px;
}
.iconcate_petition .iconsvg:before{
	background-color:var(--color-case-petition);
}
.iconcate_petition .iconcate-text{
	color:var(--color-case-petition);
}
.iconcate:hover .iconsvg:before{
	background-color:var(--color-accent);
}
.iconcate:hover .iconcate-text{
	color:var(--color-accent);
}


/*陳情-成果*/
.iconcate_case_result:hover .iconsvg:before,
.iconcate_case_result.active .iconsvg:before{
	background-color:var(--color-case-result);
}
.iconcate_case_result:hover .iconcate-text,
.iconcate_case_result.active .iconcate-text{
	color:var(--color-case-result);
}


/*陳情-進行中*/
.iconcate_case_goon:hover .iconsvg:before,
.iconcate_case_goon.active .iconsvg:before{
	background-color:var(--color-case-goon);
}
.iconcate_case_goon:hover .iconcate-text,
.iconcate_case_goon.active .iconcate-text{
	color:var(--color-case-goon);
}


/*陳情-已完成*/
.iconcate_case_finish:hover .iconsvg:before,
.iconcate_case_finish.active .iconsvg:before{
	background-color:var(--color-case-finish);
}
.iconcate_case_finish:hover .iconcate-text,
.iconcate_case_finish.active .iconcate-text{
	color:var(--color-case-finish);
}











/*------------------------------------------------------------------------------------------- */
/*---- #searchbar 搜尋 */
.searchbar{
	margin-bottom: 2rem;
}
.search{
	border: 1px solid #ccc;
}
.search-input{
	padding:0.6rem 5px 0.6rem 0.75rem;
}
.search-btn:hover{
	background:var(--color-accent);
}

/* ===== [in case] */
.searchbar_case{
	margin:0;
}
.searchbar_case .heading_search{
	color:var(--color-dark);
	font-size:0.875rem; font-weight:600;
	margin-bottom:10px;
}
@media (min-width:992px){
	.searchbar_case{
		border-top:1px dashed rgba(var(--color-two-rgb),0.6);
		margin:2rem 0;
		padding:2rem 0 0 0;
	}
}










/*------------------------------------------------------------------------------------------- */
/*---- #price 價錢組 */
.pricebar{}

.price{
	display:inline-block;
	margin:5px 1px;
	font-weight:600; line-height:1;
	font-family:'Notosans2', 'Open-Sans', Roboto, 'Noto Sans TC', sans-serif;
	color:#666;
	text-align:center;
}

.price_unit,
.price_period{
	font-size:0.875rem;
}
.price_sale{
	font-size:1.2rem; font-weight:600;
	color:#cc3333;
}
.price_original{
	font-size:0.875rem;
	text-decoration:line-through;
}

@media (min-width:992px){
	.price_sale{ font-size:1.7rem; }
	.price_original{
		font-size:1rem;
	}
}




/* ===== addcartbox ：price + btnbar 組合列 */
.addcartbox{
	position:relative;
    display:flex; flex-wrap:wrap;
	align-items:center;
    width:100%;
	border-top:1px solid rgba(var(--color-one-rgb), 0.2);
	border-bottom:1px solid rgba(var(--color-one-rgb), 0.2);
	padding:10px;
}
.addcartbox .pricebar{
	position:relative;
    flex:1 1 auto;
    width:1%;
    min-width:0;
}
.addcartbox .btnbar{
	width:140px;
	margin:0;
	padding:0;
}
.addcartbox .btnbar .btn{
	width:100%;
	padding-left:0.3rem;
	padding-right:0.3rem;
	margin:0;
}



/* ===== [in agent_pd_view]：於內容區尾 */
.itembox_view_addcart .addcartbox{
	border-bottom-width:0;
	margin-top:1rem;
	padding-top:1rem;
	padding-bottom:0;
}











/*------------------------------------------------------------------------------------------- */
/* ----- #page 頁碼 */
.page{
	color: #666;
	margin-top:3rem;
}
.page a,
.page span{
	background:#fff;
	border:1px solid var(--color-one); /*border-bottom-width:3px;*/
	border-radius:0;
	color:var(--color-one);
	padding:0.35rem 0.5rem;
	margin:10px 5px;
}
.page span{
	background: var(--color-one);
	border-color: var(--color-one);
	color: #fff;
}
.page a:hover{
	border-color: var(--color-accent);
	color:var(--color-accent);
}











/*------------------------------------------------------------------------------------------- */
/* ----- #btnbar */

/* ===== [in view]：返回 */
@media (min-width:992px){
	.btnbar_pageback{
		text-align:left;
	}
}





/*------------------------------------------------------------------------------------------- */
/*---- #btn */
.btn{
	background: #fff;
	border:1px solid var(--color-one);
	border-radius:0;
	color:var(--color-one);
}
.btn:before{
	position: absolute; top: 0; right:0; content: "";
	display: block;
	width: 0; height: 100%;
	
	background:var(--color-accent);
	
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.btn .iconsvg{
	width:20px; height:20px;
}
.btn .iconsvg:before{
	background-color:var(--color-one);
}
/*-----  base end =-----*/




/* ===== 預約/參加會議[in card_designer] */
.btn_reserve,
.btn_meeting{
	padding:0.7rem 2rem;
	margin:0.5rem 0.1rem;
	overflow:hidden;
}

.btn_reserve{
	border-color:var(--color-reserve);
	color:var(--color-reserve);
}
.btn_reserve:before{
	background:var(--color-accent);
}
.btn_reserve .iconsvg:before{
	background-color:var(--color-reserve);
}


.btn_meeting{
	border-color:var(--color-meeting);
	color:var(--color-meeting);
}
.btn_meeting .iconsvg:before{
	background-color:var(--color-meeting);
}
.btn_meeting:before{
	background:var(--color-meeting);
}




/* ===== 立即申請 & 立即購買[in agent_pd] */
.btn_apply,
.btn_addcart{
	padding:0.7rem 2rem;
	margin:0.5rem 0.1rem;
	overflow:hidden;
}

.btn_apply{
	border-color:var(--color-apply);
	color:var(--color-apply);
}
.btn_apply:before{
	background:var(--color-apply);
}
.btn_apply .iconsvg:before{
	background-color:var(--color-apply);
}


.btn_addcart{
	border-color:var(--color-addcart);
	color:var(--color-addcart);
}
.btn_addcart .iconsvg:before{
	background-color:var(--color-addcart);
}
.btn_addcart:before{
	background:var(--color-addcart);
}




/* ===== 問題諮詢[in view] */
.btn_consult{
	background:#fff;
	border:1px solid #CC3333;
	border-radius:22px;
	color:#CC3333;
	font-size:1rem;
	padding:0.7rem 2.6rem 0.7rem 2rem;
	overflow:hidden;
}
.btn_consult:before{
	background:#CC3333;
}
.btn_consult .iconsvg{
	position:absolute; right:-5px; top:50%;
	width:54px; height:54px;
	margin-top:-28px;
	opacity:0.2;
	transform:rotate(10deg);
}
.btn_consult .iconsvg:before{
	background-color:#CC3333;
}
.btn_consult:hover{
	box-shadow:1px 1px 3px rgba(0,0,0,0.3);
} 





/*------------------------------------------------------------------------------------------- */
.btn:hover{
	border-color:var(--color-accent);
	color:#fff;
}
.btn:hover:before{
    left: 0;
    width: 100%;
}
.btn:hover .iconsvg:before{
	background-color:#fff;
}



/* ===== 預約/參加會議[in card_designer] */
.btn_reserve:hover{
	border-color:var(--color-reserve);
}
.btn_meeting:hover{
	border-color:var(--color-meeting);
}



/* ===== 立即申請 & 立即購買[in agent_pd] */
.btn_apply:hover{
	border-color:var(--color-apply);
}
.btn_addcart:hover{
	border-color:var(--color-addcart);
}













/*------------------------------------------------------------------------------------------- */
/* ----- #formbox 表單 */

/*===== #form-title：標題 */
.form-title{
	color:var(--color-dark);
}
.form-title:after{
	color:var(--color-dark);
}


/*===== #form-control：欄位*/
.form-control,
.form-select{
    background-color:#fff;
    border:1px solid #ccc;
    border-radius:4px;
	padding:10px;
}


/*===== #formbtn：按鈕列*/
.formbtn{
	background:var(--color-one);
	border:2px solid #fff;
	border-radius:10rem;
	color:#fff;
	box-shadow:1px 1px 5px rgba(0, 0, 0, 0.2);
}
.formbtn:hover{
	background:var(--color-accent);
	color:#fff;
	box-shadow:2px 2px 10px rgba(0, 0, 0, 0.5);
}
/* -----  base end =-----*/






/* ===== 登入[in case_login、case_petition_a] */
.formbox_case_login,
.formbox_petition_login{
	max-width:450px;
	margin:3rem auto;
}



/* ===== 填寫資料[in case_petition_b] */
@media (min-width:992px){
	.formbox_petition{
		max-width:1200px;
		margin:3rem auto;
	}

	.formlist_petition > li{
		width:50%;
	}
	.formlist_petition > li.formline_subject,
	.formlist_petition > li.formline_cate,
	.formlist_petition > li.formline_gender,
	.formlist_petition > li.formline_message,
	.formlist_petition > li.formline_file,
	.formlist_petition > li.formline_verifycode,
	.formlist_petition > li.formline_submit{
		width:100%;
	}
}



/* ===== 填表諮詢[in idx & contact] */
.formlist_inquire .form-icon{
	display:none;
}
.formlist_inquire .form-title{
	color:#333;
}
@media (min-width:992px){
	.formlist_inquire > li{
		width:50%;
	}
	.formlist_inquire .formline_subject,
	.formlist_inquire .formline_message,
	.formlist_inquire .formline_verifycode,
	.formlist_inquire .formline_submit{
		width:100%;
	}
	
	.formlist_inquire .formline_submit{
		padding-left:0;
	}
}





/* ===== 分類-下拉選單式 */
.formbox_cateselect{
	position:relative; z-index:2;
	max-width:400px;
	margin:4rem auto 3rem auto;
}

.formbox_cateselect .input_group{
	align-items:center;
}

.formbox_cateselect .form-label{
	margin-bottom:0;
}

@media (min-width:992px){
	.formbox_cateselect .form-select{
		flex:1 1 auto;
		width:1%;
		min-width:0;
		
		font-size:0.875rem;
		border:1px solid #ccc;
	}
}
@media (min-width:992px){
	
	/* ===== [in timeline] */
	/*.formbox_cateselect_timeline{
		max-width:200px;
		margin:0 0 5px 0;
	}*/


	/* ===== [in franchiser_albums 、 franchiser_albums_view] */
	/*.formbox_cateselect_franchiser_albums{
		margin-left:0; margin-right:0;
	}*/


	/* ===== [in designer_pic] */
	/*.formbox_cateselect_designer{
		margin-left:0; margin-right:0;
	}*/
		
}











/*------------------------------------------------------------------------------------------- */
/* ----- #popup 用於設計師視訊列表、首頁app下載 */

/* ===== 視訊會議[in designer meeting] */
.popupbox_meeting .popup_limit{
	background:#fff;
	border-radius:10px;
}
.popupbox_meeting .popup_main{
	width:100%; height:100%;
	padding:30px;
}

@media (min-width:992px){
	.popupbox_meeting .popup_limit{
		width:80%; height:70%;
	}
    
	/* ===== app下載[in appdownload] */
	.popupbox_appdownload .popup_limit{
		height:auto;
		margin-top:0;
	}
	.popupbox_appdownload .popup_main{
		height:auto;
		overflow-y:auto;
	}
}


/* ===== 跳出框(app下載)[in appdownload] */
.heading_popup_appdownload .heading-icon{
	width:60px;
}
.heading_popup_appdownload .heading-text{
	font-size:26px;
	color:#fff;
}




















/*------------------------------------------------------------------------------------------- */
/* ----- #idx */
.secbox_idx{
	position:relative;
	padding:1rem 0;
}
.secbox_idx .secbox_inner{
	position:relative; z-index: 20;
	padding:1rem 0;
}
@media (min-width:992px){
	.secbox_idx .secbox_inner{
		padding:3rem 0;
	}
}




/* ===== [in idx]：首頁大標 ===== */
.heading_sec{
	position:relative;
}

/*大標 + 序號*/
.secbox_idx .heading_sec .heading-main{
	position:relative;
	text-align:center;
	margin-top:3rem;
	margin-bottom:6rem;
}
.secbox_idx .secbox-order{
	position:absolute; top:-27px; left:50%;
	display:block;
	width:50px;
	margin-left:-25px;
	color:#fff;
	font-size:2rem; font-weight:600; line-height:1;
	font-family: 'Trebuchet MS', sans-serif;
	padding:3px;
	/*transform:translate(-50%, 0);*/

	text-shadow: 1px 0 var(--color-one), -1px 0 var(--color-one),
				0 1px var(--color-one), 0 -1px var(--color-one),
				1px 1px var(--color-one), -1px -1px var(--color-one),
				1px -1px var(--color-one), -1px 1px var(--color-one);
}
.secbox_idx .secbox-order:before{
	position:absolute; z-index:-1; top:20px; left:0; content:"";
	width:110%; height:110%;
	background:rgba(var(--color-one-rgb),0.4);
	
	transform: skewY(-20deg);
	transform-origin: bottom left;
}
.secbox_idx .heading_sec .heading-text{
	position:relative;
	display:inline-block;
	font-size:2rem; font-weight:bold;
	padding:5px;
	color:#333;
}
.secbox_idx .heading_sec .heading-text:before {
    position: absolute; z-index: 2; top: 100%; left: 50%; content: "";
    display: block;
    background-color: #333;
    margin: 6px 0 15px 0;
    width: 2px;
    height: 40px;
    transform:translate(-50%, 0);
    
    animation: elasticus 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}


/*搭配 scroll 動畫*/
.secbox_idx .heading_sec.js-scroll .secbox-order{
    opacity: 0;
    
	-webkit-transform: translateY(-2rem);
			transform: translateY(-2rem);
    
	-webkit-transition-property: opacity, -webkit-transform;
    		transition-property: opacity, -webkit-transform;
    		transition-property: opacity, transform;
    		transition-property: opacity, transform, -webkit-transform;
    
	-webkit-transition-duration: 1s;
    		transition-duration: 1s;
			
    -webkit-transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
    		transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}
.secbox_idx .heading_sec.js-scroll.is-active .secbox-order{
    opacity: 1;
    -webkit-transform: translateY(0);
    		transform: translateY(0);
}









.secbox_idx .secbox_main{
    min-height: 300px;
}

.secbox_idx:before{
    /*上斜*/
	position:absolute; z-index:5; top:0; left:0; content:"";
	width:100%; height:50px;
}
.secbox_idx:after{
    /*下斜*/
	position:absolute; z-index:5; bottom:0; left:0; content:"";
	width:100%; height:50px;
}
@media (min-width:768px){
	.secbox_idx:before,
    .secbox_idx:after{
		height:100px;
	}
}

/* 上 / 下斜切*/
.secbox_idx .secbox_dec01,
.secbox_idx .secbox_dec02{
    position:absolute; top: 0; left: 0;
    width: 100%; height: 100%;
}



/*序列1*/
.secbox_idx:nth-of-type(6n-5){
    padding:50px 0 0 0;
}
.secbox_idx:nth-of-type(6n-5) .secbox_dec01:before{
    /*右上切*/
	position:absolute; z-index:4; top:0; right:0; content:"";
	width:100%; height:100px;
	background:var(--color-two);
	
	-webkit-clip-path: polygon(0 0, 100% 100%, 100% 0);
			clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.secbox_idx:nth-of-type(6n-5):after{
    /*下斜*/
	background:#fff;
	
	transform: skewY(-3deg);
	transform-origin: bottom right;
}
@media (min-width:992px){
	.secbox_idx:nth-of-type(6n-5){
		padding:150px 0 0 0;
	}
	.secbox_idx:nth-of-type(6n-5) .secbox_dec01:before{
		/*右上切*/
		height:200px;
	}
}



/*序列2*/
.secbox_idx:nth-of-type(6n-4){
	background:var(--color-one-lighter);
	padding:50px 0 150px 0;
}
.secbox_idx:nth-of-type(6n-4) .secbox_dec01:before{
    /*左上切*/
	position:absolute; z-index:4; top:0; left:0; content:"";
	width:80%; height:100px;
	background:var(--color-one);
	
	-webkit-clip-path: polygon(0 0, 0 100%, 100% 0);
			clip-path: polygon(0 0, 0 100%, 100% 0);
}
.secbox_idx:nth-of-type(6n-4) .secbox_dec02:before{
    /*左下切*/
	position:absolute; z-index:4; bottom:0; left:0; content:"";
	width:70%; height:120px;
	background:var(--color-two);
	
	-webkit-clip-path: polygon(0 0, 0 100%, 100% 100%);
			clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.secbox_idx:nth-of-type(6n-4) .secbox_dec02:after{
    /*右下切*/
	position:absolute; z-index:4; bottom:0; right:0; content:"";
	width:80%; height:110px;
	background:var(--color-three);
	
	-webkit-clip-path: polygon(100% 0, 0 100%, 100% 100%);
			clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
@media (min-width:992px){
	.secbox_idx:nth-of-type(6n-4){
		padding:100px 0 200px 0;
	}

	.secbox_idx:nth-of-type(6n-4) .secbox_dec01:before{
		/*左上切*/
		height:200px;
	}
	.secbox_idx:nth-of-type(6n-4) .secbox_dec02:before{
		/*左下切*/
		height:240px;
	}
	.secbox_idx:nth-of-type(6n-4) .secbox_dec02:after{
		/*右下切*/
		height:220px;
	}
}



/*序列3*/
.secbox_idx:nth-of-type(6n-3){
}
.secbox_idx:nth-of-type(6n-3):before{
    /*上斜*/
	background:#fff;

	transform: skewY(-3deg);
	transform-origin: top left;
}
.secbox_idx:nth-of-type(6n-3):after{
    /*下斜*/
	background:#fff;
	
	transform: skewY(3deg);
	transform-origin: bottom left;
}




/*序列4*/
.secbox_idx:nth-of-type(6n-2){
	background:var(--color-two-lighter);
    padding:50px 0 100px 0;
}
.secbox_idx:nth-of-type(6n-2) .secbox_dec02:before{
    /*左下切*/
	position:absolute; z-index:4; bottom:0; left:0; content:"";
	width:70%; height:120px;
	background:var(--color-two);
	
	-webkit-clip-path: polygon(0 0, 0 100%, 100% 100%);
			clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.secbox_idx:nth-of-type(6n-2) .secbox_dec02:after{
    /*右下切*/
	position:absolute; z-index:4; bottom:0; right:0; content:"";
	width:80%; height:110px;
	background:var(--color-three);
	
	-webkit-clip-path: polygon(100% 0, 0 100%, 100% 100%);
			clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
@media (min-width:992px){
	.secbox_idx:nth-of-type(6n-2){
		padding:100px 0 200px 0;
	}
	.secbox_idx:nth-of-type(6n-2) .secbox_dec02:before{
		/*左下切*/
		height:240px;
	}
	.secbox_idx:nth-of-type(6n-2) .secbox_dec02:after{
		/*右下切*/
		height:220px;
	}
}



/*序列5*/
.secbox_idx:nth-of-type(6n-1){
}
.secbox_idx:nth-of-type(6n-1):before{
    /*上斜*/
	background:#fff;

	transform: skewY(-3deg);
	transform-origin: top left;
}
.secbox_idx:nth-of-type(6n-1):after{
    /*下斜*/
	background:#fff;
	
	transform: skewY(3deg);
	transform-origin: bottom left;
}



/*序列6*/
.secbox_idx:nth-of-type(6n){
	background:var(--color-two-lighter);
    padding:100px 0 0 0;
}
.secbox_idx:nth-of-type(6n):after{
    /*下斜*/
	background:var(--color-two-lighter);
	
	transform: skewY(3deg);
	transform-origin: bottom left;
}
.secbox_idx:nth-of-type(6n) .secbox_dec01:before{
    /*左上切*/
	position:absolute; z-index:4; top:0; left:0; content:"";
	width:80%; height:120px;
	background:var(--color-two);
	
	-webkit-clip-path: polygon(0 0, 0 100%, 100% 0);
			clip-path: polygon(0 0, 0 100%, 100% 0);
}
.secbox_idx:nth-of-type(6n) .secbox_dec01:after{
     /*右上切*/
	position:absolute; z-index:3; top:0; right:0; content:"";
	width:80%; height:100px;
	background:var(--color-one);
	
	-webkit-clip-path: polygon(0 0, 100% 100%, 100% 0);
			clip-path: polygon(0 0, 100% 100%, 100% 0);
}
@media (min-width:992px){
	.secbox_idx:nth-of-type(6n){
		padding:150px 0 0 0;
	}
	.secbox_idx:nth-of-type(6n) .secbox_dec01:before{
		/*左上切*/
		height:240px;
	}
	.secbox_idx:nth-of-type(6n) .secbox_dec01:after{
		 /*右上切*/
		height:200px;
	}
}



.secbox_idx:nth-last-of-type(1){
	background:#fff;
	padding-bottom:50px;
}
.secbox_idx:nth-last-of-type(1):after,
.secbox_idx:nth-last-of-type(1) .secbox_dec02:before,
.secbox_idx:nth-last-of-type(1) .secbox_dec02:after{
	display:none;
}







/*首頁-左右排列*/
.secbox_idx.secbox_idx_leftphotos .secbox_decphoto{
	display:none;
}
@media (min-width:992px){
    .secbox_idx.secbox_idx_leftphotos .secbox_bg{
        padding:50px 0;
    }
	.secbox_idx.secbox_idx_leftphotos .secbox_inner{
		position:relative;
		padding-left:600px;
		min-height:650px;
	}
    .secbox_idx.secbox_idx_leftphotos .itembox_sectop{
		position:absolute; top:40px; left:0;
		padding:2rem;
        margin: 0;
	}
	.secbox_idx.secbox_idx_leftphotos .itembox_sectop:before{
		position:absolute; top:0; left:0; content:"";
		width:100%; height:100%;
		background:var(--color-one);
		border:2px solid #fff;
		
		-webkit-clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
				clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
	}
	
	.secbox_idx.secbox_idx_leftphotos .heading_sec {
		margin: 3rem 0;
	}
    .secbox_idx.secbox_idx_leftphotos .heading_sec .heading-main .secbox-order{
        color:var(--color-one);
        text-shadow: 1px 0 #fff, -1px 0 #fff,
                    0 1px #fff, 0 -1px #fff,
                    1px 1px #fff, -1px -1px #fff,
                    1px -1px #fff, -1px 1px #fff;
    }
	.secbox_idx.secbox_idx_leftphotos .heading_sec .heading-main .secbox-order:before{
		background:rgba(255,255,255,0.3);
	}
	.secbox_idx.secbox_idx_leftphotos .heading_sec .heading-main .secbox-order:after{
		background:var(--color-one);
	}

    .secbox_idx.secbox_idx_leftphotos .heading_sec .heading-main .heading-text{
        color:#fff;
    }
    .secbox_idx.secbox_idx_leftphotos .heading_sec .heading-main:before{
        display: none;
    }
    .secbox_idx_leftphotos .heading_sec .heading-main .heading-text:before{
        background: #fff;
    }
    
    .secbox_idx.secbox_idx_leftphotos .secbox_decphoto{
		display:block;
		position:absolute; z-index:-1; top:20px; left:50px;
		width:400px; height:600px;
        background-color: var(--color-two);
		background-size:cover;
		
		-webkit-clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
				clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
				
		/*box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 10px 0px;*/
	}
	
	
	/*加上 scroll動畫特效*/
	.secbox_idx.secbox_idx_leftphotos .secbox_decphoto.js-scroll{
		-webkit-transform: scale(0);
				transform: scale(0);
		
		-webkit-transition-property: -webkit-transform;
				transition-property: -webkit-transform;
				transition-property: transform;
				transition-property: transform, -webkit-transform;
		
		-webkit-transition-duration: 1s;
				transition-duration: 1s;
				
		-webkit-transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
				transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
	}
	.secbox_idx.secbox_idx_leftphotos .secbox_decphoto.js-scroll.is-active {
		-webkit-transform: scale(1);
				transform: scale(1);
	}
}



/* ===== btn_idxmore [in idx]：更多 */
.btnbar_idxmore{
	margin:3rem 0;
}
@media (min-width:992px){
	.btnbar_idxmore{
		margin:3rem 0 0 0;
	}
}
.btn_idxmore{
	background:transparent;
	color:var(--color-one);
	padding:10px 40px;
}
.btn_idxmore .iconsvg:before{
	background-color:var(--color-one);
}

.secbox_idx:hover .btn_idxmore{
	background:var(--color-one);
	color:#fff;
}
.secbox_idx:hover .btn_idxmore .iconsvg:before{
	background-color:#fff;
}











.header-wrap{
	background:#fff;
	overflow:hidden;
}




.secbox_page{
	position:relative; z-index:2;
	overflow:hidden;
}
.secbox_page .secbox_inner{
	min-height:300px;
}




/* ===== [in page]：區塊-主內容上列 */
.itembox_maintop{
	position:relative; z-index:3;
	margin:0;
	padding-top:1rem;
	margin-bottom:5rem;
}
.itembox_maintop:before{
	position:absolute; z-index:-5; top:0; left:0; content:"";
	width:100%; height:100px;
	background:var(--color-one);
	
	-webkit-clip-path: polygon(0 0, 0% 100%, 100% 0);
			clip-path: polygon(0 0, 0% 100%, 100% 0);
}
.itembox_maintop:after{
	position:absolute; z-index:-4; top:-10px; right:50%; content:"";
	width:2200px; height:180px;
	margin-right:-1100px;
	background:var(--color-two);

	transform: skewY(5deg);
	transform-origin:top right;
}
@media (min-width: 992px){
	.itembox_maintop{
		padding-top:0.8rem;
	}
	.itembox_maintop:before{
		width:40%; height:120px;
	}
	.itembox_maintop:after{
		height:200px;
	}
}





/*------------------------------------------------------------------------------------------- */
/*---- #banner */

/* ========== banner [in idx] */
.slide-banner .slick-slide img{
	display:block; max-width:100%; height:auto;
    margin:0 auto;
}
/*@media (min-width: 1100px){
	.slide-banner{
		padding-left:150px;
	}
	
	.slide-banner .slick-prev, 
	.slide-banner .slick-next{
		bottom: 50px; top: auto; left: 100px; right:auto;
		width: 50px; height: 50px;
		border:2px solid #fff;
		transform: translateX(0);
	}
	.slide-banner .slick-prev{
		bottom: 100px;
		background:var(--color-one);
	} 
	.slide-banner .slick-next{
		background:var(--color-two);
	} 
	
	.slide-banner .slick-prev:hover, 
	.slide-banner .slick-next:hover{
		background: var(--color-accent);
	}
	.slickarrow .slick-prev:hover:before, 
	.slickarrow .slick-next:hover:before{
		border-color:#fff;
	}
}*/











/* ========== banner [in page] */
.banner-single img{
	display: block; max-width: 100%; height: auto;
    margin: 0 auto;
}



/* ===== [in page]：模組大標 */
.heading_module{
	display:none;
}
@media (min-width:992px){
	.heading_module{
		display:block;
		text-align:right;
		padding-right:2rem;
	}
}
.heading_module .heading-text,
.heading_module .heading-subtext{
	display:block;
	margin:3px 0;
	font-weight:600;
	padding:0;
}
.heading_module .heading-text{
	position:relative;
	font-size:1.1rem;
	/*color:var(--color-one);*/
	
	color:#fff;
	transform: skewY(5deg);
}
.heading_module .heading-subtext{
	display:none;
}
@media (min-width:992px){
	.heading_module .heading-text{
		font-size:5rem;
	}
}





/*------------------------------------------------------------------------------------------- */
/*---- #breadcrumb-nav 導覽路徑 */
.breadcrumb-nav{
	text-align:right;
}
@media (min-width:992px){
	.breadcrumb-nav{
		margin:0;
		transform: skewY(5deg);
		margin:-1rem 0 1rem 0;
	}
}

.breadcrumb li{ display:inline-block; }
.breadcrumb li:after{
	content:"/";
	color:#666;
	font-size:0.75rem;
	margin-left:2px;
}
.breadcrumb li:last-child:after{ display:none; }

.breadcrumb-item{
	display:inline-block; vertical-align:middle;
	font-size:0.875rem; line-height:1.5; letter-spacing:0;
}
.breadcrumb-item,
.breadcrumb-item a{
	color:#333; font-weight:600;
}
.breadcrumb-item a:hover{
	color:var(--color-accent);
}
/*.breadcrumb-item.active{
	color:var(--color-two);
}*/





/*------------------------------------------------------------------------------------------- */
/*---- #category 分類 */
.category_box{
	display:none;
}
@media (min-width:992px){
	.category_box{
		position:relative;
		display:block;
		margin:0 0 3rem 0;
	}
}

.category_list{
	text-align:center;
}
.category_list li{
	position:relative;
	display:inline-block;
	text-align:center;
	margin:0 0.5rem;
	padding:0.5rem;
}
.category_list li:before,
.category_list li:first-child:after{
	position:absolute; top:50%; right:-0.5rem; content:"";
	width:1px; height:16px;
	margin-top:-8px;
	background:#666;
	transform: skewX(-10deg);
}
.category_list li:first-child:after{
	right:auto; left:-0.5rem;
}
.category_list li:last-child{
	margin-right:0;
}

.category_list li a{
	position:relative;
	display:block;
	color:#333;
	font-size:1rem; font-weight:600;
	padding:3px 10px 4px 10px;
	text-align:center;
}
.category_list li a:before{
	position:absolute; z-index:-1; top:0; left:0; content:"";
	width:100%; height:100%;
	background:var(--color-accent);
	transform: skewX(-10deg);
	opacity:0;
}
.category_list li a:hover{
	color:var(--color-one);
}
.category_list li.active a{
	color:#fff;
	cursor:default;
}
.category_list li.active a:before{
	opacity:1;
}









/* ===== [in page]：內頁大標 */
.heading_main,
.heading_pageview{
	text-align:center;
	margin-bottom:4rem;
}
.heading_main .heading-text,
.heading_pageview .heading-text{
	position:relative;
	display:inline-block;
	font-size:2rem; font-weight:bold;
	padding:0;
	color:var(--color-one-dark);
}
.heading_main .heading-text:before {
	position: absolute; z-index: 2; top: 100%; left: 50%; content: "";
	display: block;
	width: 2px; height: 30px;
	background-color: var(--color-one-dark);
	margin: 6px 0 15px 0;
	transform:translate(-50%, 0);
	animation: elasticus 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}
.heading_main .heading-text:after{
	position:absolute; z-index:-1; top:-5px; left:50%; content:"";
	width:30px; height:30px;
	margin-left:-15px;
	background:rgba(var(--color-two-rgb),0.5);
	transform:skewY(-10deg);
}
@media (min-width:992px){
	.heading_main,
	.heading_pageview{
		margin:4rem 0 5rem 0;
	}
	.heading_main .heading-text,
	.heading_pageview .heading-text{
		font-size:2rem;
	}
}



/*產品*/
.heading_pageview_product{
	text-align:left;
	margin:0 0 1rem 0;
}



.heading_case_goon .heading-text:before,
.heading_case_goon .heading-text:after,
.heading_case_finish .heading-text:before,
.heading_case_finish .heading-text:after,
.heading_case_result .heading-text:before,
.heading_case_result .heading-text:after,
.heading_petition .heading-text:before,
.heading_petition .heading-text:after{
	display:none;
}

.heading_case_goon .iconsvg,
.heading_case_finish .iconsvg,
.heading_case_result .iconsvg,
.heading_petition .iconsvg{
	width:36px; height:36px;
}
.heading_case_goon .heading-text,
.heading_case_finish .heading-text,
.heading_case_result .heading-text,
.heading_petition .heading-text{
	background:none;
}

/*案件-進行中*/
.heading_case_goon .heading-icon:before{ background-color:var(--color-case-goon); }
.heading_case_goon .heading-text{ color:var(--color-case-goon); }

/*案件-已完成*/
.heading_case_finish .heading-icon:before{ background-color:var(--color-case-finish); }
.heading_case_finish .heading-text{ color:var(--color-case-finish); }

/*案件-成果*/
.heading_case_result .iconsvg:before{ background-color:var(--color-case-result); }
.heading_case_result .heading-text{ color:var(--color-case-result); }

/*我要陳情*/
.heading_petition .iconsvg:before{ background-color:var(--color-case-petition); }
.heading_petition .heading-text{ color:var(--color-case-petition); }

.heading_case_goon .heading-text,
.heading_case_finish .heading-text,
.heading_case_result .heading-text,
.heading_petition .heading-text{
	background-image:none;
}






















/*------------------------------------------------------------------------------------------- */
/* ----- #msgpopup [ msgpopup_1:資訊 / msgpopup_2:通知 /  msgpopup_3:警告 ] */
.msgpopup{
	position:fixed; z-index:2000; top:0; left:0;
	width:100%; height:100vh;
	background:rgba(40,40,40,0.9);
	overflow:hidden;
	
	opacity:0;
	pointer-events:none;
	visibility:hidden;
	
	transition:opacity 0.5s;
}
.msgpopup.msgpopup-show{
    opacity:1;
    pointer-events:auto;
    visibility:visible;
}

.msgpopup_row{
	display:flex; flex-wrap:wrap;
	align-items:center; justify-content:center;
	width:100%; height:100vh;
}
.msgpopup_limit{
	width:500px; min-height:40%;
	padding:1rem;
}


.msgpopup_inner{
	position:relative;
	width:100%; height:100%;		
	transform:scale(0.8);
	transition:transform 0.7s;
}
.msgpopup.msgpopup-show .msgpopup_inner{
	transform:scale(1);
}



.card_msgpopup{
	position:relative;
	border-radius:20px;
	padding:3rem 3rem 3rem 0;
	overflow:hidden;
}
.card_msgpopup:before{
	position: absolute; z-index:0; top:0; right:0; content:"";
	width:90%; height:100%;
	border-radius:20px;
	background:var(--color-one);
			
	box-shadow: rgba(255, 255, 255, 0.17) 0px -13px 15px 0px inset, 
				rgba(255, 255, 255, 0.15) 0px -26px 20px 0px inset, 
				rgba(255, 255, 255, 0.1) 0px -59px 30px 0px inset, 
				rgba(0, 0, 0, 0.3) 0px 19px 38px,
				rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
.card_msgpopup:after{
	position: absolute; z-index:0; bottom:0; right:0; content:"";
	width:60%; height:100%;
	background:var(--color-two);

	-webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
			clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}


.card_msgpopup .card-header{
	display:none;
}
.card_msgpopup .card-type{
	display:none;
}


/* [style set] msgpopup_2：通知*/
.msgpopup_2 .card_msgpopup:before{
	background:var(--color-popup-notify);
	background:var(--color-popup-notify-gradient);
}


/* [style set] msgpopup_3：警告*/
.msgpopup_3 .card_msgpopup:before{
	background:var(--color-popup-warn);
	background:var(--color-popup-warn-gradient);
}



.card_msgpopup .card-body{
	position:relative; z-index:1;
	background:#fff;
	border-radius:20px;
	font-weight:600;
	color:#333;
	min-height:250px;
	padding:1rem;
	overflow:hidden;
}
.card_msgpopup .card-text{
	position:relative; z-index:2;
	color:#333;
}
@media (min-width:992px){
	.card_msgpopup .card-body{
		padding:2rem;
	}
}

.card_msgpopup .card-body:before{
	position: absolute; z-index:1;
	top:auto; left:auto; bottom:-30px; right:-30px; content: "";
	width:200px; height:200px;
	background-color:var(--color-one);
	
	-webkit-mask-position: center;
    mask-position: center;
    
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
	
	/*初始-資訊*/
    -webkit-mask-image: url(../images/msgpopup/msgpopup_type1.svg);
    mask-image: url(../images/msgpopup/msgpopup_type1.svg);
	
	opacity:0.3;
}

/* [style set] msgpopup_2：通知*/
.msgpopup_2 .card_msgpopup .card-body:before{
	background-color:var(--color-popup-notify);
}


/* [style set] msgpopup_3：警告*/
.msgpopup_3 .card_msgpopup .card-body:before{
	background-color:var(--color-popup-warn);
}



.msgpopup_logo{
	display:none;
}


.msgpopup_close{
	display:block;
	position:absolute; z-index:5; top:0; right:0;
	width:60px; height:60px;
	
	display:flex; flex-wrap:wrap;
	align-items:center; justify-content:center;
	
	border-radius:0 20px 0 20px;
	transition:transform 0.7s ease;
	opacity:0.5;
}
.msgpopup_close .sign_close{
	width:26px; height:26px;
	transform:rotate(0deg);
	transition:transform 0.7s ease;
}
.msgpopup_close .sign_close:before,
.msgpopup_close .sign_close:after{
	background-color:#fff;
}

.msgpopup_close-text{ display:none; }


.msgpopup_close:hover{
	background:rgba(255,255,255,0.1);
	opacity:1;
}
.msgpopup_close:hover .sign_close{
	transform: rotate(180deg);
}
/* .msgpopup_close:hover .sign_close:before,
.msgpopup_close:hover .sign_close:after{
	background-color:var(--color-accent);
} */




