/* CSS Document */

* {	font-family: '微軟正黑體', "Microsoft JhengHei";
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition: 0.8s;
	color: #333;
	text-align: center;
	overflow-wrap: anywhere;
	}


html {
	height: 100%;
	overflow-x:hidden;
	
}

body {
	position: relative;
	margin: 0;
	padding: 0;
	min-height: 100%;
	margin-bottom: 0;
	overflow-x:hidden;
}

/* p {
	font-size: 22px;
	font-weight: 600;
	line-height: 16px;
	text-align: justify;
	text-justify: distribute;
} */

img{
	border: 0;
	max-width: 100%;
	height: auto;
}

a:link, a:checked, a:visited{
	color:#db491d;
	text-decoration: none;}

.cursorPointer {
    cursor: pointer;
}


/* ==================================================
   navbar
   ================================================== */

.my-navbar {
    background-color: #007c7c;
    position: relative;
}


.my-navbar .nav-link {
    color: #fff;
	font-size: 18px;
    font-weight: 600;
    padding: 10px 14px !important;
    position: relative;
    transition: 0.3s;
}


/* Hover文字變色 */

.my-navbar .nav-link:hover {
    color: #fae88f;
}


/* Hover底線 */

.my-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 3px;
    height: 2px;
    background-color: #ffe874;
    transform: scaleX(0);
    transition: 0.3s;
}

.my-navbar .nav-link:hover::after {
    transform: scaleX(1);
}


/* 漢堡選單 */

.my-navbar .navbar-toggler {
    border: none;
    width: 40px;
    height: 40px;
    padding: 0;
    position: relative;
}

.my-navbar .navbar-toggler:focus {
    box-shadow: none;
}


/* 漢堡選單三條線 */

.menu-icon {
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #fff;
    left: 0;
    transition: 0.3s;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    top: 8px;
}



/* 漢堡選單關閉按鈕 */
.my-navbar .navbar-toggler[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.my-navbar .navbar-toggler[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.my-navbar .navbar-toggler[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}


@media (max-width: 991.98px) {
    .my-navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        /* padding: 10px 0 15px; */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        z-index: 1000;
    }


    /* 選單寬度滿版 */

    .my-navbar .navbar-nav {
        width: 100%;
    }

    .my-navbar .nav-item {
        width: 100%;
    }


    /* 手機文字置中 */

    .my-navbar .nav-link {
        color: #333;
        text-align: center;
        padding: 13px 20px;
    }


    /* Hover */

    .my-navbar .nav-link:hover {
        color: #1e5443;
        background-color: #f7f7f7;
    }


    /* 手機底線 */

    .my-navbar .nav-link::after {
        left: 50%;
        right: auto;
        width: 70px;
        background-color: #1e5443;
        transform: translateX(-50%) scaleX(0);
		bottom: 10px;
    }


    .my-navbar .nav-link:hover::after {
        transform: translateX(-50%) scaleX(1);
    }

}


/*---- Header----*/

header{
	width: 100%;
	height: 70px;
	background: #007c7c;
	position: fixed;
    top: 0;
	z-index: 999;}

.header-wrap{
	display: flex;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	padding: 15px 2%;
	max-width: 1200px;}

.logo-wrap{
	display: inline-block;
	position: relative;
	width: auto;
	text-align: left;
	height: 55px;
	margin: 5px 0;
	line-height: 4px;
	z-index: 1;
	color: #fff;
	font-size: 22px;}

.logo-wrap img{
	height: 100%;
	vertical-align: middle;}


@media screen and (max-width: 261px) {
	.my-navbar .navbar-toggler{
		display:none
	}
}

/* ==================================================
   kv
   ================================================== */

.container {
	position: relative;
}

.theme-wrap {
	position: relative;
	width: 100%;
	margin: 0 auto;
	background: url(../images/theme_bg.png) bottom center no-repeat;
	background-size: cover;
	margin-top: 80px;
}

.theme_title {
	position: relative;
	width: 100%;
	max-width: 824px;
	height: auto;
	display: block;
	margin: 80px auto 0 ;
}

.theme_title_m {
	position: relative;
	width: 126%;
	max-width: 824px;
	height: auto;
	display: block;
	margin: 60px auto 0 ;
    left: 50%;
	transform: translateX(-50%);
}


.deco_shine{
	position: absolute;
	width: 100%;
	max-width: 824px;
	top: 0;
}
.deco_shine img{
	width: 100%;
	display: block;
    animation: change 1s infinite;
}

.deco_shine img:nth-child(2){
	position: absolute;
	top: 0;
	left: 0;
	animation: change 1s infinite;
}

@keyframes change {
	0%,45% {
		opacity: 0;
		-webkit-opacity: 0;
	}
	50%,95% {
		opacity: 1;
		-webkit-opacity: 1;
	}
	100% {
		opacity: 0;
		-webkit-opacity: 0;
	}
}

/* 左右側緞帶 */
.deco_ribbonR {
	position: absolute;
	width: 60%;
	bottom: 0;
	right: -22%;
}

.deco_ribbonL {
	position: absolute;
	width: 60%;
	top: -6%;
	left: -22%;
}

/* 緞帶 */
.kv-wrap {
    position: relative;
    overflow: hidden;
}


.ribbon {
    position: absolute;
    top: -150px;
    z-index: 2;
    width: 27px;
    height: auto;
    opacity: 0;

    animation: ribbon-fall 5s linear infinite;
}


.ribbon-1 {
    left: 10%;
    width: 27px;
    animation-delay: 0s;
    --rotate: 25deg;
}

.ribbon-2 {
    left: 25%;
    width: 20px;
    animation-delay: 1.2s;
    --rotate: -35deg;
}

.ribbon-3 {
    left: 43%;
    width: 14px;
    animation-delay: 2.1s;
    --rotate: 50deg;
}

.ribbon-4 {
    left: 60%;
    width: 27px;
    animation-delay: 0.7s;
    --rotate: -20deg;
}

.ribbon-5 {
    left: 76%;
    width: 22px;
    animation-delay: 1.8s;
    --rotate: 40deg;
}

.ribbon-6 {
    left: 90%;
    width: 16px;
    animation-delay: 2.8s;
    --rotate: -45deg;
}

.ribbon-7 {
    left: 18%;
    width: 16px;
    animation-delay: 2.8s;
    --rotate: 25deg;
}

.ribbon-8 {
    left: 80%;
    width: 20px;
    animation-delay: 3.6s;
    --rotate: -20deg;
}


@keyframes ribbon-fall {

 
    0% {
        top: -150px;
        opacity: 0;
		-webkit-opacity: 0;
        transform: rotate(0deg) translateX(0);
		-webkit-transform: rotate(0deg) translateX(0);
    }

    10% {
        opacity: 1;
		-webkit-opacity: 1;
    }

    50% {
        transform: rotate(var(--rotate)) translateX(30px);
		-webkit-transform: rotate(var(--rotate)) translateX(30px);
    }

    80% {
        opacity: 0.8;
		-webkit-opacity: 0.8;
        transform: rotate(calc(var(--rotate) * -1)) translateX(-20px);
		-webkit-transform: rotate(calc(var(--rotate) * -1)) translateX(-20px);
    }

    100% {
        top: 100%;
        opacity: 0;
		-webkit-opacity: 0;
        transform: rotate(var(--rotate)) translateX(20px);
		-webkit-transform: rotate(var(--rotate)) translateX(20px);
    }
}



@media screen and (max-width: 576px) {
    .container-fluid {
        padding: 0 !important;
}
}

@media screen and (max-width: 320px) {
    .theme_title_m {
        margin: 40px auto 0 ;
}
}




/* ==================================================
   main content
   ================================================== */

.bg_service,.bg_activity,.bg_qualification,.bg_process {
	padding: 100px 0 110px;
}
.bg_notices {
	padding: 70px 0 80px;
}
.bg_service,.bg_qualification {
	background-color: #FFFFFF;
}
.bg_activity,.bg_process {
	background-color: #f1eee9;
}

.bg_notices{
	background-color: #d2c8b8;
}

h2 {
	font-size: 38px;
	font-weight: 900;
	line-height: 50px;
	color: #1e5443;
    margin-bottom: 18px;
}

p {
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
	color: #666666;;
	margin-bottom: 40px;
}


/*---section01---*/

.custom-card {
    background-color: #fff;
    border: 1px solid #c9a45c;
    border-radius: 15px; 
    overflow: hidden; 
    min-height: 420px;
	width: 100%;
	max-width: 338px;
	margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 照片上半部 */
.custom-card-img {
    height: 50%;
}

.custom-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	transform-origin: center bottom;
}
.custom-card:hover .custom-card-img img{
	transform: scale(1.05);

}


/* 文字下半部 */
.custom-card-text {
    height: 50%;
    padding: 25px;
    background-color: #fff;
    box-sizing: border-box;
}

.custom-card-text h3 {
    margin: 0 0 15px;
	color: #1e5443;
	font-size: 24px;
	font-weight: 700;
}

.custom-card-text h3::after {
	content: "";
	display: block;
	width: 50px;
	height: 4px;
	background-color: #bb9152;
	margin: 6px auto 15px;
}

.custom-card-text p {
    margin: 0;
    line-height: 26px;
	color: #666666;
	font-size: 16px;
	text-align: justify;
}

.custom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn_product {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: normal;
	overflow-wrap: break-word;
	background-color: #0a7070; 
	color: #FFF; 
	font-size: 13px; 
	font-weight: 700;
	line-height: 18px;
	height: auto;
	min-height: 20px;
	border-radius: 50px;
	padding: 5px 12px;
	margin-top: 10px;
}

.btn_product:link, .btn_product:checked, .btn_product:visited {
	color: #FFF; 
}
.btn_product:hover {
	background-color: #88632b; 
}

/*---section03---*/

.activity-pic {
    margin-top: 30px;
}


.activity-text p{
    text-align: left;
    margin-top: 50px;
}

.btn_activity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: normal;
	overflow-wrap: break-word;
	background-color: #0a7070; 
	color: #FFF; 
	font-size: 18px; 
	font-weight: 700;
	line-height: 24px;
	height: auto;
	min-height: 20px;
	border-radius: 50px;
	padding: 6px 26px;
	margin-top: 10px;
}

.btn_activity:link, .btn_activityt:checked, .btn_activity:visited {
	color: #FFF; 
}
.btn_activity:hover {
	background-color: #88632b; 
}

/*---section03---*/

.criteria-card {
    background-color: #fff;
    border: 1px solid #b8b8b8;
    border-radius: 15px;
    min-height: 250px;
	width: 100%;
	max-width: 338px;
	margin: 0 auto;
    padding: 25px;
    box-sizing: border-box;
    transition:
        transform 0.3s ease,
		box-shadow 0.3s ease;
}


.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


.criteria-label {
    display: table;
    margin: 0 auto 12px;
    padding: 4px 14px;
    background-color: #bb9152;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 6px;
}


/* 標題 */
.criteria-title {
    margin: 0 0 13px;
    color: #164d48;
    font-size: 21px;
    font-weight: 700;
    text-align: center;
}

/* 內文 */
.criteria-text {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    text-align: left;
}

.criteria-card p{
	text-align: justify;
}

/* 強調文字 */
.criteria-highlight {
    color: #88632b;
    font-weight: 700;
	font-size: 18px;
}

/*---section04---*/

.process-section {
    width: 100%;
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 30px 20px;
}


.process-step {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 130px;
    width: 100%;
}

/* 左側STEP+圓圈 */
.process-icon {
    position: relative;
    width: 100px;
    min-width: 100px;
    text-align: center;
    z-index: 2;
}

/* 左側STEP文字 */
.step-number {
    display: block;
    margin-bottom: 5px;
    color: #bb9152;
    font-size: 13px;
	font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

/* 左側圓圈 */
.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #bb9152;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.35s ease,
        transform 0.35s ease;
}


/* icon */
.icon-circle img {
    display: block;
    width: 35px;
    height: auto;
    object-fit: contain;
}
.mt {
	padding-top: 5px;
}

/* hover動態 */
.process-step:hover .icon-circle {
    background-color: #1e5443;
}


/* 右側文字區 */
.process-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    padding-left: 0;
	text-align: left;
}

/* 右側標題 */
.process-content h3 {
    position: relative;
    display: inline-block;
    margin: 0 0 4px;
    color: #1e5443;
    font-size: 24px;
    font-weight: 700;
	text-align: left;
}

/* 標題hover動畫 */
.process-content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #1e5443;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.process-step:hover .process-content h3::after {
    transform: scaleX(1);
}


/* 右側內文 */
.process-content p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
	text-align: left;
}

/* STEP下虛線 */
.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    /*虛線定位*/
    left: 48px;
    /*虛線從哪裡開始 */
    top: 114px;
    /*虛線長度*/
    height: 30px;
    border-left: 4px dotted #bb9152;
    z-index: 1;
}


@media screen and (max-width: 1200px) {
	
	.custom-card-img {
    height: auto;
	}

	.custom-card-img img {
		width: 100%;
		height: auto;
	}
    .criteria-card {
    padding: 22px;
}

}

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

	.btn_product {
		font-size: 15px; 
		font-weight: 700;
		line-height: 20px;
	}
}

@media screen and (max-width: 768px) {
	.btn_product {
		margin-top: 10px;
	}
	.custom-card { 
		min-height: auto;
	}
    .activity-text p{
    text-align: center;
    margin-top: 40px;
    }
    .bg_activity {
        padding: 100px 0 40px;
    }
	
}

@media screen and (max-width: 576px) {
	.col{
		justify-content: center;
	}
	.process-content p {
		padding: 0 10px 0 0;
	}
    h2 {
	font-size: 34px;
	line-height: 46px;
    margin-bottom: 14px;
    }

    p {
        font-size: 18px;
        font-weight: 700;
        line-height: 28px;
        margin-bottom: 40px;
    }

}



@media screen and (max-width: 360px) {
	.custom-card,.criteria-card {
		margin: 0 10px;
	}
}

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


	.process-step {
   	 	min-height: 180px;
	}
	.process-step:not(:last-child)::after {
		top: 136px;
		height: 80px;
	}

}



/* table */
.table{
	border-radius: 15px 15px 0 0;
	overflow: hidden;
}

table td{
	vertical-align: middle !important; 
	font-size: 18px;
	font-weight: 700;
}

tr:nth-child(1) {
	background-color: #007d7d;
	font-size: 1.2rem;
}

.table-title {
	font-size: 21px;
}
.table-bg {
	background-color:#e7f2fa;
}


/*---Footer----*/

.footer {
	background-color: #fff;
	padding-bottom: 1px;

}

.green_line {
	background-color: #007c7c;
	height: 20px;	
}

.footer p {
	font-size: 16px;
	text-align: center;
	padding: 15px 30px 0px 30px;
}


/*-- 注意事項 --*/
hr {
	margin: 40px 0;
	border: #afa28e;
}

.rules {
	text-align: left;
}

.btn_brown {
	display: inline;
	background-color: #bb9152; 
	color: #FFF; 
	font-size: 16px; 
	border-radius: 20px;
	padding: 3px 15px;
	white-space: nowrap;
}

.btn_brown:hover {
	background-color: #88632b; 
}

.rules > h3{
	display: inline;
	font-size: 24px;
	font-weight: 900;
	line-height: 50px;
	z-index: 1;
	
}

.rules ol {
	padding-left: 30px;
    padding-right: 10px;}

.rules p {
	font-size: 15px;
	line-height: 22px;
	font-weight: 500;
	text-align: left;
	margin-bottom: 5px;
}

.rules > ol > li{
	color: #333;
	font-size: 16px;}

.rules ol li{
	font-weight: 700;
	text-align: left;
	line-height: 26px;
	margin-bottom: 10px;}

.rules ol li span{
	color: #eb4c06;}

.rules ol li h3{
	margin: 10px 0;
	text-align: left;
	font-size: 17px;
	white-space: pre-line;
	color: #f44336;}
	
.rules ol li ul{
	background: #eee7dc;
	padding: 10px;
	padding-left: 40px;
	margin-top: 10px;}

.rules ol li ul li{
	list-style: none;
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 5px;}

.rules ol li ul li span{color: #ff5722;}

.rules ol li ol{padding-left: 5px;}

.rules ol li ol li{
	list-style: inherit;
    margin-bottom: 0;
    font-size: 16px;
	text-indent: -22px;
    padding-left: 10px; 
}

.rules ol li ol li ul li{
	list-style: inherit;
    margin-bottom: 0;
    font-size: 16px;
	text-indent: 0px;
    padding-left: 0px; 
}

.sub-list {
	list-style: none;
	counter-reset: sub;
}
.sub-list > li {
	counter-increment: sub;
}
.sub-list > li::before {
	content: "("counter(sub)")";
}

.more_link:link, .more_link:checked, .more_link:visited {
	color:#9e6e27;
	text-decoration: underline;
}


/*----BTN TO TOP ------*/

.section-btnTop {
    display: inline-block;
    position: fixed;
    width: 100%;
    max-width: 1200px;
    height: 1px;
    margin: 0 auto;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: right;
    z-index: 999;
}

.btnTop-Wrap {
    display: inline-block;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 0px;
}

.btnTop {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 30px;
    font-weight: 600;
    padding: 5px;
    background: #88632b;
    line-height: 50px;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 6px 16px -9px rgba(00, 00, 00, 0.8);
}

.btnTop:active,
.btnTop:hover{
	color: #fff;
	background: #1e5443;
	box-shadow: 0 6px 16px -9px rgba(00, 00, 00, 0);} 


	
.cno{
	display: block;
	text-align: right;
	width: 100%;
	background: #007c7c;
	color: #fff;
	font-weight: 900;
	padding: 5px 2%;
	z-index: -1;}

footer{
	padding: 10px 2%;
	font-size: 15px;
	z-index: 1;
	background-color: #fff;
}

@media screen and (max-width: 1330px) {
	.section-btnTop {
    transform: translate(-58%, -50%);
}
}

@media screen and (max-width: 768px) {
	.section-btnTop {
    transform: translate(-60%, -50%);
}
}

@media screen and (max-width: 576px) {
	.section-btnTop {
    transform: translate(-64%, -50%);
	bottom: 26%;
}
}

@media screen and (max-width: 460px) {
	.section-btnTop {
    transform: translate(-68%, -50%);
	}
}

@media screen and (max-width: 280px) {
	.section-btnTop {
    transform: translate(-75%, -50%);
}
}	
	

