body {
	/* font-family: "微軟正黑體", sans-serif; */
	font-family: "Noto Sans Tc", Helvetica, Arial, "微軟正黑體", Heiti TC, "メイリオ", sans-serif;
	/*g-font-size:16*/
	font-size: 1.14286rem;
	color: #333333;
}

body:before {
	width: 1px;
	height: 100%;
	background: #DB984E;
	right: 3%;
	top: 0;
	position: fixed;
	content: '';
	z-index: 1;
}

html {
	font-size: 16px !important;
	/* base */
}

a {
	color: rgb(51, 51, 51);
	text-decoration: none;
}

ul ul,
ol ul {
	list-style-type: none;
}


.g-min-width-60 {
	min-width: 60px !important;
}

.g-bg-lightred {
	background-color: #cd0000 !important;
}

.g-bg-lightred--hover:hover {
	background-color: #cd0000 !important;
}

.g-bg-gray-2 {
	background-color: #CD0000;
}

.g-bg-line {
	background-color: #00B900;
}

.g-bg-blue-2 {
	background-color: #00389A;
}

.g-bg-blue-2--hover:hover {
	background-color: #316DD6;
}

.g-bg-blue-3 {
	background-color: #316DD6;
}

.g-bg-gray-2 {
	background-color: #989898;
}

.g-bg-gray-3 {
	background-color: #404040;
}

.g-bg-gray-3--hover:hover {
	background-color: #2d2d2d;
}

.only-one-line {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.only-two-line {
	overflow: hidden;
	word-wrap: break-word;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.only-three-line {
	overflow: hidden;
	word-wrap: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.mid-banner {
	/* background-size: cover;
	background-repeat: no-repeat;
	background-position: center; */
	background-repeat: repeat-y;
	background-position: center;
	background-attachment: fixed;
	background-size: cover;
}

.text-shadow {
	text-shadow: 2px 2px 3px #434a54;
}

.box-shadow {
	box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.25);
}

.btn-link {
	color: #e91e63;
}

.btn-link:hover {
	color: #c11d55;
}



.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
	position: absolute;
	width: 24px;
	height: 2px;
	transition-timing-function: ease;
	transition-duration: .15s;
	transition-property: transform;
	border-radius: 0px;
	background-color: #000;
}

.hamburger {
	padding-top: 20px;
}

@media (min-width: 1199px) {
	.navbar-nav li {
		padding-top: 8px !important;
		/* padding-bottom: 8px !important; */
	}
}

@media (max-width: 1024px) {
	.dropdown-menu {
		display: none;
	}

	.dropdown-menu.show {
		display: block;
	}
}


@media (min-width: 1025px) {
	.dropdown:hover .dropdown-menu {
		display: block;
	}
}

.dropdown-menu {
	padding: 0;
	margin: 0;
	left: -5px;
	color: #212529;
	text-align: center;
	list-style: none;
	background-color: #fff;
	/* border: 1px solid rgba(0, 0, 0, .15); */
	border: 0;
	border-radius: 0;
	line-height: 35px;
	box-shadow: 0 1px 5px hsla(0, 0%, 0%, 0.15);
}

.dropdown-toggle::after {
	display: inline-block;
	width: 0;
	height: 0;
	/* margin-left: .255em; */
	vertical-align: .255em;
	content: "";
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
}

.navbar-brand {
	max-width: 250px;
}

.menu-toggle {
	border: 0;
	padding: 0;
	background-color: transparent;
}

/*手機版 logo限制寬度*/
@media (max-width: 1400px) {
	.navbar-brand img {
		width: 250px;
	}
}

@media (max-width: 760px) {
	.navbar-brand img {
		width: 160px;
	}
}

a:hover {
	text-decoration: none;
}

#loading-bg {
	position: fixed;
	z-index: 9999;
	background-color: #fff;
	width: 100vw;
	height: 100vh;
	opacity: 1;
	transition: opacity 0.5s ease;
}

#loading-bg.hidden {
	opacity: 0;
	pointer-events: none;
}


@media (min-width: 1400px) {
	.container-xxl {
		max-width: 1600px;
	}
}

/* 主選單 */
.nav {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.navbar {
	width: 100%;
	z-index: 1020;
}

/* 1020改 */
.navbar>li {
	position: relative;
}

.navbar>li a {
	font-weight: 700;
	/* line-height: 1.17; */
	height: auto;
	display: flex;
	align-items: center;
	/* padding: 0.7rem 2rem 0 0; */
	text-decoration: none;
	font-size: 1rem;
}

.navbar>li.hover>a,
.navbar>li a:hover,
.navbar>li a:focus {
	transform: translateX(3px);
	color: #DB984E;
}

a {
	transition: all .2s ease-in-out;
}

.navbar>li>a span {
	display: block;
	/* line-height: 1.2; */
	position: relative;
	padding-bottom: 0.7rem;
}

.navbar>li>a span::after {
	content: "";
	width: 0;
	height: 4px;
	background: #DB984E;
	border-radius: 20px;
	position: absolute;
	bottom: -10px;
	left: -5px;
	z-index: -1;
	transition: width 0.3s;
}

.navbar>li.hover>a span::after,
.navbar>li:hover>a span::after,
.navbar>li>a:focus span::after {
	width: calc(100% + 10px);
	transition: width 0.3s;
}

a:focus {
	outline: none;
	/* 移除預設 */
}



.navbar>li.hover>a span,
.navbar>li:hover>a span,
.navbar>li:focus>a span {
	color: #DB984E;
}

@media screen and (min-width: 1239.9px) {
	.nav {
		width: 100%;
		position: relative;
		/* justify-content: flex-end; */
	}

	.navbar {
		width: auto !important;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: center;
		height: auto;
		margin-bottom: 0;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.navbar>li {
		position: relative;
		margin-right: 0.5rem;
	}

	.navbar li {
		position: relative;
		margin: 0 1.85rem;
		line-height: 1.2;
		height: auto;
		width: auto;
	}

	/* 1020改
	.sub-menu.layer-1 {
		display: none;
		text-align: left;
		position: absolute;
		z-index: 11;
		padding-top: 1.5rem;
		padding-left: 0;
		width: 100%;
	} */

	.sub-menu {
		display: none;
		position: absolute;
		top: 2.5rem;
		left: 50%;
		transform: translateX(-50%);
		background: transparent;
		padding: 1rem;
		z-index: -1;
		text-align: center;
		background: #faf3e4;
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-radius: 15px;
		transition: all 0.5s;
	}

	.sub-menu li {
		margin-left: 0;
		margin-right: 0;
		margin: 0.5rem 0 0.8rem 0;
		width: 6.5rem;
		list-style: none;
		display: inline-block;
		text-align: center;
	}

	.sub-menu li a {
		font-weight: 600;
		font-size: 1rem;
		line-height: 1.6;
		color: #3b3b3b;
		display: inline;
		position: relative;
		padding: 0;
		word-break: break-word;
		text-decoration: none;
		transition: color 0.2s;
	}
}

/* 1020改
.nav-menu-wrapper {
	width: 100%;
	position: absolute;
	left: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.85);
	top: 86px;
	filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.04));
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	display: none;
	overflow: hidden;
	z-index: 10;
	border-top: 1px solid #DB984E;
} */

.nav-menu-wrapper {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid #DB984E;
	filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.04));
	display: none;
	overflow: hidden;
	z-index: 10;
	padding: 1.2rem 0;
	transition: all 0.25s ease-in-out;
}



/* 手機版選單 */

@media screen and (max-width: 1239.9px) {
	.mainHeader {
		height: 4.97rem;
	}

	.nav {
		position: fixed;
		top: 79.5px;
		left: -480px;
		width: 370px;
		height: 100vh;
		background: #fff;
		flex-direction: column;
		padding: 0;
		overflow-y: auto;
		transition: left 0.3s ease;
		z-index: 2000;
		border-top: 1px solid #DB984E;
		/* box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1); */
	}

	.nav.active {
		left: 0;
	}

	.navbar {
		flex-direction: column;
		padding: 0;
		margin: 0;
	}

	.navbar>li {
		width: 100%;
		border-bottom: 1px solid #eee;
		margin: 0;
	}

	.navbar>li>a {
		position: relative;
		display: block;
		padding: 15px 20px;
		font-weight: 600;
		color: #333;
		font-size: 1.1rem;
	}

	.navbar>li>a span {
		padding-bottom: 0;
	}

	.navbar>li:hover>a span::after {
		display: none;
	}

	.navbar>li:hover>a span {
		color: #333;
	}

	.navbar>li>a:focus span::after {
		width: 0;
	}


	.navbar>li>.sub-menu {
		border-top: 1px solid #eee;
		padding: 0 20px;
		background-color: #f9f3e6;
	}

	.navbar>li .sub-menu li {
		font-size: 0.8rem;
		line-height: 3.2;
		color: #474747;
		font-weight: 600;
		padding-left: 1rem;
		border-bottom: 1px dashed #beb8af;
	}

	.navbar>li .sub-menu li a {
		color: #a05e00;
	}

	.sub-menu.layer-1 {
		display: none;
		flex-direction: column;
		padding-left: 20px;
		background: #f9f9f9;
	}

	.menu-item-has-children.open>.sub-menu.layer-1 {
		display: flex;
	}

	.menu-toggle {
		width: 25px;
		height: 20px;
		position: relative;
		cursor: pointer;
		z-index: 2100;
	}

	.menu-toggle span {
		display: block;
		height: 2px;
		background: #d88831;
		margin-bottom: 7px;
		border-radius: 5px;
		transition: 0.3s;
	}

	.menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
	}

	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	/* 在有子選單的主選單右側加箭頭 */
	.menu-item-has-children>a::after {
		position: absolute;
		content: '\f105';
		/* 預設箭頭 */
		right: 1.5rem;
		top: 1rem;
		transition: transform 0.3s;
		font-family: "Font Awesome 7 Free";
		color: #a05e00;
	}

	/* 展開時箭頭旋轉 */
	.menu-item-has-children.open>a::after {
		transform: rotate(90deg);
	}

	.owl-item {
		border-radius: 50px;
		overflow: hidden;
	}
}

@media screen and (max-width: 373px) {
	.nav {
		top: 51px;
	}
}

/* 主選單---END */

/* 輪播圖 */
#customers-testimonials .item {
	text-align: center;
	opacity: 1;
	-webkit-transform: scale3d(1.0, 1.0, 1);
	transform: scale3d(1.0, 1.0, 1);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	position: relative;
	width: 100%;
	padding-top: 69%;
}

#customers-testimonials .owl-item.active.center .item {
	opacity: 1;
	-webkit-transform: scale3d(1.0, 1.0, 1);
	transform: scale3d(1.0, 1.0, 1);
}

.owl-item {
	border-radius: 50px;
	overflow: hidden;
	cursor: pointer;
}

.owl-carousel .owl-item img {
	transform-style: preserve-3d;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot.active span,
#customers-testimonials.owl-carousel .owl-dots .owl-dot:hover span {
	background: #FFEC76;
	/* transform: translate3d(0px, -50%, 0px) scale(0.7); */
}

#customers-testimonials.owl-carousel .owl-dots {
	text-align: center;
	display: flex;
	justify-content: center;
	width: auto;
	margin-top: 15px;
	margin-left: auto;
	transform: none;
	position: relative;
	background: none;
	/* margin-right: 13%; */
	height: auto;
	align-items: center;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot {
	display: inline-flex;
	margin: 0 5px;
	flex: none;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot span {
	width: 1rem;
	height: 1rem;
	background: #E8953C;
	border-radius: 50%;
	display: block;
	transition: all 250ms ease-out 0s;
}

.owl-dots .owl-dot:first-of-type {
	border-radius: 6px 0 0 6px;
}

.wave {
	pointer-events: none;
	position: relative;
	width: 100%;
	height: 120px;
	background-image: url(../images/wave.png);
	background-repeat: repeat-x;
	background-position: 0 center;
	background-position-y: center;
	background-size: auto 120px;
	/* 確保高度固定，寬度依圖檔 */
	-webkit-animation: 35s wave1 linear infinite;
	animation: 35s wave1 linear infinite;
}

@media (max-width: 1180px) {
	.wave {
		height: 50px;
		background-size: cover;
		-webkit-animation-duration: 60s;
		animation-duration: 60s;
	}
}

.first-about-wrap::before {
	content: "";
	position: absolute;
	top: 2rem;
	right: 0;
	width: 12%;
	height: 30%;
	background-image: url(../images/first_about_img.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 1;
}

.ball-img {
	width: 220px;
}

.people-img {
	margin-top: -15rem;
	z-index: 10;
}

.news-left {
	width: 15%;
}

.news-bg {
	width: 85%;
	background-color: #fff;
	border-top-left-radius: 88px;
	border-bottom-left-radius: 88px;
	z-index: 2;
}

.first-tit {
	font-size: 1.875rem;
	color: #525252;
}

.breadcrumb {
	font-size: .95rem;
}

.breadcrumb .active {
	color: #d97a04;
}

.list-group-item {
	width: 12.5rem;
	height: 3.12rem;
	font-size: 1.1rem;
	color: #5C5C5C;
	text-align: center;
	line-height: 2rem;
}

.list-group-item-action:not(.active):focus,
.list-group-item-action:not(.active):hover,
.list-group-item.active {
	color: #fff;
	background: url("../images/slide-menu-hover.svg") no-repeat center;
	background-size: contain;
}

.slide-menu:before {
	position: absolute;
	width: 85%;
	height: 100%;
	content: "";
	background-color: #FFEDCA;
	border-top-right-radius: 24px;
	border-bottom-right-radius: 24px;
	z-index: -1;
}

.w-90 {
	width: 90% !important;
}


/* 一開始預設樣式 */
#mainHeader {
	position: relative;
	transition: all 0.3s ease;
}

/* 滾動到一定距離後啟用固定 */
.fixed-header {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1030;
	border-bottom: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav-news {
	width: 100%;
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	/* 不要換行 */
	overflow-x: auto;
	/* 超出可水平捲動 */
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	/* iOS 慣性滑動 */
	padding-left: 0;
	margin-bottom: 3rem;
	list-style: none;
	scrollbar-width: none;
	/* Firefox 隱藏 scrollbar */
	font-size: 1.25rem;
	font-weight: bold;
}

.nav-news::-webkit-scrollbar {
	display: none;
	/* Chrome/Safari 隱藏 scrollbar */
}

.nav-tabs .nav-link {
	flex: 0 0 auto;
	/* 每個 tab 固定寬度，不要被壓縮 */
	position: relative;
	margin: 0 2rem;
	/* 調整間距 */
	border: none !important;
	white-space: nowrap;
	/* 文字不換行 */
}



.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
	border-bottom: 1px solid #C9C9C9;
}

.nav-tabs .nav-link::after {
	content: "";
	width: 0;
	height: 3px;
	background: #EBA254;
	border-radius: 20px;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	transition: width 0.3s;
}

.nav-tabs .nav-link:hover::after,
.nav-tabs .nav-link.active::after {
	width: 100%;
}

.news-img {
	position: relative;
	padding-top: 80%;
	border-radius: 21px;
}

.news-img-video {
	position: relative;
	/* padding-top: 56%; */
}

.news-img-buy {
	padding-top: 100%;
}

.news-img-service {
	padding-top: 60%;
}

.donation-img {
	position: relative;
	padding-top: 70%;
	border-radius: 21px;
}

.news-img img,
.donation-img img {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all 0.3s;
}

.news-item {
	display: block;
	transition: all 0.3s;
}

.news-item:hover h3,
.news-item:hover h4,
.news-item:hover h5 {
	color: #E8953C;
}

.news-item:hover .news-img img {
	transition: all .5s ease;
	transform: scale(1.1, 1.1)
}

.news-date {
	font-size: 1.1rem;
	font-weight: bold;
	color: #8C8C8C;
	font-family: Noto Serif TC;
}

.news-badge {
	font-size: 1.1rem;
	color: #d97a04;
	font-weight: 500;
	border: 1px #d97a04 solid;
	border-radius: 50px;
	padding: .3rem .9rem;
}

.pink-bg {
	position: absolute;
	width: 100%;
	height: 13.75rem;
	background-color: #F8EAE3;
	bottom: 0;
	z-index: 0;
}

.donation-txt {
	font-size: 1.1rem;
	color: #787878;
}

.donation-momey {
	font-size: 1rem;
	color: #676767;
}

.Cloud {
	-webkit-animation: aboutCloud 8s 0.5s infinite linear;
	animation: aboutCloud 8s 0.5s infinite linear;
}

.Cloud2 {
	-webkit-animation: aboutCloud2 8s infinite linear;
	animation: aboutCloud2 8s infinite linear;
}

@keyframes aboutCloud {
	0% {
		-webkit-transform: translateX(0%);
		transform: translateX(0%);
	}

	50% {
		-webkit-transform: translateX(-100px);
		transform: translateX(-100px);
	}

	100% {
		-webkit-transform: translateX(0%);
		transform: translateX(0%);
	}
}

@keyframes aboutCloud2 {
	0% {
		-webkit-transform: translateX(-50px);
		transform: translateX(-50px);
	}

	50% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	100% {
		-webkit-transform: translateX(-50px);
		transform: translateX(-50px);
	}
}

.slick-slide {
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}


.slick-track {
	height: 43.75rem;
}


.slick-current {
	-webkit-transform: translateY(85px);
	transform: translateY(85px);
}

.arrowBox {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-column-gap: 28px;
	-moz-column-gap: 28px;
	column-gap: 28px;
	position: relative;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin-bottom: 20px;
	z-index: 5;
}

@media (min-width: 1200px) {
	.arrowBox {
		top: 0;
		left: 50%;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		margin: 0;
	}
}

.slick-next,
.slick-prev {
	display: inline-block !important;
	width: 45px !important;
	height: 45px !important;
	background-color: #E8953C !important;
	cursor: pointer !important;
	border-radius: 50% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	z-index: 6;
}

.slick-prev {
	background-image: url(../images/arrow-prev.png) !important;
}

.slick-next {
	background-image: url(../images/arrow-next.png) !important;
}

.slick-prev:before,
.slick-next:before {
	content: none !important;
}

.slick-prev {
	top: -1.5rem !important;
	left: 41% !important;
}

.slick-next {
	top: -1.5rem !important;
	right: 41% !important;
}

.arrowBox .page span {
	font-size: 20px;
	line-height: 2.5;
	letter-spacing: 0;
	font-weight: bold;
}

.arrowBox .page span:first-child {
	color: #E8953C;
}

.arrowBox .page span:nth-child(2) {
	margin: 0 15px;
	font-weight: lighter;
}

.slick-toggle {
	position: absolute;
	background: #E8953C;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 5px 12px;
	font-size: 14px;
	cursor: pointer;
	top: 3rem;
}

.slick-toggle:focus {
	outline: 2px solid #333;
}


.movie-bg {
	display: flex;
	width: 85%;
	box-sizing: border-box;
	height: 50vh;
}

.movie-box {
	flex: 1;
	overflow: hidden;
	transition: 0.5s;
	line-height: 0;
	position: relative;
	background: #000;
	cursor: pointer;
}

.movie-box>img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	transition: 0.5s;
}

.movie-box::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .75) 100%);
	transition: right .5s ease-in-out, opacity .5s ease-in-out;
}

.movie-box span {
	position: absolute;
	top: 50%;
	left: 45%;
	transform: translate(-50%, -50%);
	width: 4rem;
	height: 4rem;
	opacity: 0;
	content: "";
	z-index: 100;
	background: url(../images/movie-play.svg) no-repeat center;
	background-size: contain;
	transition: right .5s ease-in-out, opacity .5s ease-in-out;
}

.movie-box2::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 100%);
	transition: right .5s ease-in-out, opacity .5s ease-in-out;
}

.movie-box2 span {
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 3rem;
	height: 3rem;
	opacity: 1;
	content: "";
	z-index: 100;
	background: url(../images/movie-play.svg) no-repeat center;
	background-size: contain;
	transition: right .5s ease-in-out, opacity .5s ease-in-out;
}

.movie-box:hover {
	flex: 1 1 20%;
}

.movie-box:hover::after {
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, .9) 100%);
}

.news-item:hover .movie-box2::after {
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, .8) 100%);
}

.movie-box:hover>img {
	width: 100%;
	height: 100%;
}

.movie-box h3 {
	position: absolute;
	color: #fff;
	z-index: 10;
	bottom: 5rem;
	padding: 0 1rem;
	line-height: 1.5;
	opacity: 0;
	transition: 0.5s;
	transform: translateY(0%);
}

.movie-box:hover h3,
.movie-box:hover span {
	opacity: 1;
}

/* Modal 黑幕 */
.video-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.video-modal-content {
	position: relative;
	width: 90%;
	max-width: 1200px;
	aspect-ratio: 16 / 9;
	background: black;
}

.video-modal iframe {
	width: 100%;
	height: 100%;
}

.close-btn {
	position: absolute;
	top: -40px;
	right: 0;
	font-size: 2rem;
	color: white;
	cursor: pointer;
	border: none;
	background-color: transparent;
}

.btn-donate-float {
	position: fixed;
	right: .65rem;
	width: 6.25rem;
	height: 6.25rem;
	bottom: 6rem;
	z-index: 100;
}

.btn-donate-float::after {
	position: absolute;
	content: '立即捐款';
	width: 100%;
	text-align: center;
	top: 1.4rem;
	transition: transform 0.3s;
	color: #fff;
	font-size: 1.2rem;
	letter-spacing: 4px;
	font-weight: bold;
	padding: 0 1.2rem 0 1.7rem;
}


/* 浮動按鈕-聯絡我們 */
.contact-actions {
	position: fixed;
	right: 2rem;
	bottom: 14rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 100;
	gap: 0.93rem;
	max-height: 200px;
}

/* 個別按鈕樣式 */
.contact-btn {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	color: #fff;
	font-size: 20px;
	text-decoration: none;
	transition: transform 0.3s;
	/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); */
}

.contact-btn.call {
	background-color: #006bff;
}

.contact-btn.line {
	background-color: #00c300;
}

.contact-btn:hover {
	transform: scale(1.2);
	color: #FFF;
}

.title {
	width: 100%;
	height: auto;
	background: url(../images/title_bg.png) no-repeat center right;
	background-size: cover;
}

.page-name {
	font-size: 2.3rem;
	color: #5E5E5E;
	font-weight: bold;
}

.card {
	margin-bottom: 1rem;
	border: 0;
	border-radius: 21px;
	-webkit-box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
	box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
}


/* 捐款表單 */

#heading {
	text-transform: uppercase;
	color: #673AB7;
	font-weight: normal
}

#msform {
	text-align: center;
	position: relative;
	margin-top: 20px
}

#msform fieldset {
	background: white;
	border: 0 none;
	border-radius: 0.5rem;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding-bottom: 20px;
	position: relative
}

.form-card {
	text-align: left
}

#msform fieldset:not(:first-of-type) {
	display: none
}

.form-control {
	padding: 8px 15px 8px 15px;
	border: 1px solid #ccc;
	border-radius: 0.375rem;
	box-sizing: border-box;
	color: #232527;
	background-color: #fff;
	font-size: 16px;
	letter-spacing: 1px;
	box-shadow: none !important;
}

.form-control::placeholder {
	color: #999;
	opacity: 1;
	/* 避免某些瀏覽器自動降低透明度 */
}


/* 預設 focus 樣式（滑鼠點擊時） */
.form-select:focus:not(:focus-visible),
.form-control:focus:not(:focus-visible) {
	outline: none !important;
	box-shadow: none !important;
	border: 1px solid #f28a0b;
	/* 你原本希望滑鼠點選時的橘框 */
}

a:focus-visible,
button:focus-visible,
.btn-money:focus-visible,
.btn-pay:focus-visible,
.btn-gift:focus-visible,
.form-select:focus-visible,
.form-control:focus-visible,
.form-check-input:focus-visible,
.card-header:focus-visible,
#main-content:focus-visible {
	/* display: inline-block; */
	outline: 4px dashed rgb(212, 35, 0) !important;
	outline-offset: 3px !important;
	box-shadow: none;
	border-color: transparent !important;
	/* 防止橘框與紅框重疊 */
}


.form-control:focus,
.form-select:focus,
.money-input:focus,
.gift-input:focus,
.money-input.active {
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	border: 1px solid #f28a0b !important;
	outline: none;
}

#msform .action-button {
	width: auto;
	background: #f68700;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 50px;
	cursor: pointer;
	margin: 10px 0px 10px 5px;
	padding: .8rem 1.4rem;
	transition: all .2s ease;
	font-size: 1rem;
}

.member-button {
	border: 1px solid #f68700 !important;
	color: #f68700 !important;
	background: none !important;
}

.quick-button {
	border: 1px solid #fc471f !important;
	color: #fff !important;
	background-color: #fc471f !important;
}

.other-button {
	border: 1px solid #474747 !important;
	color: #474747 !important;
	background: none !important;
}

.member-button:hover,
.member-button:focus,
.quick-button:hover,
.quick-button:focus {
	border: 1px solid #ffae00 !important;
	color: #fff !important;
	background-color: #ffae00 !important;
}

.other-button:hover,
.other-button:focus {
	border: 1px solid #474747 !important;
	color: #fff !important;
	background-color: #474747 !important;
}

#msform .action-button:hover,
#msform .action-button:focus {
	background-color: #ffae00;
}

#msform .action-button-previous {
	width: auto;
	background: #a4a4a4;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 50px;
	cursor: pointer;
	padding: .8rem 1.4rem;
	margin: 10px 5px 10px 0px;
	transition: all .2s ease;
	font-size: 1rem;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
	background-color: #000000
}

.fs-title {
	font-size: 25px;
	color: #673AB7;
	margin-bottom: 15px;
	font-weight: normal;
	text-align: left
}

.purple-text {
	color: #673AB7;
	font-weight: normal
}

.steps {
	font-size: 25px;
	color: gray;
	margin-bottom: 10px;
	font-weight: normal;
	text-align: right
}

.fieldlabels {
	color: #373737;
	text-align: left
}

.donate-tab {
	background: #ededed !important;
	color: #373737 !important;
	margin: 0 1rem 0 0;
}

.nav-pills .nav-link.donate-tab.active,
.nav-pills .show>.nav-link.donate-tab {
	background-color: #ffe547 !important;
	color: #373737 !important;
}

#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	color: lightgrey
}

#progressbar .active {
	color: #333
}

#progressbar li {
	list-style-type: none;
	font-size: 1rem;
	width: 25%;
	float: left;
	position: relative;
	font-weight: 400
}

#progressbar #account:before {
	font-family: FontAwesome;
	content: "\f4be"
}

#progressbar #personal:before {
	font-family: FontAwesome;
	content: "\f007"
}

#progressbar #payment:before {
	font-family: FontAwesome;
	content: "\f06b"
}

#progressbar #confirm:before {
	font-family: FontAwesome;
	content: "\f00c"
}

#progressbar li:before {
	position: relative;
	width: 50px;
	height: 50px;
	line-height: 45px;
	display: block;
	font-size: 20px;
	color: #ffffff;
	background: #e0e0e0;
	border-radius: 50%;
	margin: 0 auto 10px auto;
	padding: 2px;
	z-index: 1;
}

#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: #d3d3d3;
	position: absolute;
	left: 0;
	top: 25px;
	z-index: 0;
}



.first-step:after {
	width: 50% !important;
	left: 50% !important;
}

.last-step:after {
	width: 50% !important;
	right: 50% !important;
}


#progressbar li.active:before,
#progressbar li.active:after {
	background: #F38C32
}

.progress {
	/* height: 20px */
}

.progress-bar {
	background-color: #F38C32
}

.fit-image {
	width: 100%;
	object-fit: cover
}

.money-group,
.gift-group,
.pay-group {
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	align-items: center;
}

.btn-money,
.btn-pay {
	background-color: #ededed;
	color: #373737;
	font-size: 1rem;
	border-radius: 0.375rem;
	padding: .5rem 1rem;
	margin-right: .8rem;
}

.btn-gift {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	background-color: #ededed;
	color: #373737;
	font-size: 1rem;
	border-radius: 0.375rem;
	padding: .5rem 1rem;
	margin-right: 1rem;
	cursor: pointer;
	border: 1px solid #ededed;
	transition: all 0.2s ease-in-out;
}

.money-input {
	display: inline-block;
	width: 9.5rem;
	text-indent: 2rem;
	border: 1px solid #bbb;
	border-radius: 0.375rem;
	box-sizing: border-box;
	background: #fff;
	text-align: right;
	font-size: 1rem;
	padding: 8px 15px 8px 15px;
}

.form-check-input {
	border: 1px solid #bbb;
}

.btn-gift:hover,
.btn-gift.selected,
.btn-money:focus,
.btn-money:hover,
.btn-pay:focus,
.btn-pay:hover,
.btn-pay.active,
.btn-money.active,
.active-pay {
	border: 1px solid #ffe547 !important;
	background: #ffe547 !important;
	color: #373737 !important;
}

.btn-gift.disabled {
	cursor: not-allowed;
	pointer-events: all;
	/* select 仍然可用 */
	background-color: #fff !important;
	border: 1px solid #ededed !important;
	color: #555 !important;
}

/* tooltip 容器 */
.btn-gift.disabled::after {
	content: attr(title);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #333;
	color: #fff;
	padding: 4px 8px;
	font-size: 12px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.qty {
	display: block;
	width: 2.3rem;
	text-align: center;
}

.qty-controls {
	display: none;
	align-items: center;
	margin-left: 5px;
}

/* 當按鈕被選取時顯示 */
.btn-gift.selected .qty-controls {
	display: inline-flex;
}

.qty-btn {
	/* width: 25px;
	height: 25px;
	line-height: 25px; */
	color: #656565;
	font-size: 0.9rem;
	text-align: center;
	border: 1px solid #ededed;
	background: #fff;
	cursor: pointer;
	margin: 0 2px;
}

.btn-gift.disabled:hover::after {
	content: "🚫";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#noGiftBtn.selected {
	background: #ffe547;
}

.money-input:focus,
.money-input:hover {
	border: 1px solid #feda00 !important;
	background: #fff !important;
}

.breadcrumb {
	justify-content: center;
}


.is-invalid {
	border-color: red !important;
	outline: none;
}


#payMessage {
	font-size: 0.95rem;
}

#payMessage.linepay {
	color: #06c755;
	/* LINE 綠 */
}

#payMessage.atm {
	color: #d9534f;
	/* 紅色警示 */
}

#payMessage.credit {
	color: #6c757d;
	/* 灰色 */
}

.swiper-slide {
	position: relative;
	width: 100%;
	padding-top: 120%;
}

.swiper-slide img {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}


.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
	content: '' !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
	content: '' !important;
}

.swiper-button-next,
.swiper-button-prev {
	color: #9f9f9f !important;
	font-size: 2rem !important;
}

.swiper-pagination-bullet {
	width: .8rem !important;
	height: .8rem !important;
	margin: 0 .5rem !important;
}

.swiper-pagination-bullet-active {
	background: #f68700 !important;
}

.text-box {
	display: block;
	height: 25.5rem;
	overflow-y: auto;
	padding: .6rem;
	background-color: #f7f7f7;
}

/* 美化右側文字區塊的捲軸 */
.text-box::-webkit-scrollbar {
	width: 6px;
	/* 捲軸寬度 */
}

.text-box::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.2);
	/* 捲軸顏色 */
	border-radius: 3px;
	/* 圓角 */
}

.text-box::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 0, 0, 0.4);
	/* 滑過變深 */
}

.text-box::-webkit-scrollbar-track {
	background: transparent;
	/* 背景透明 */
}

.nav-donate {
	display: flex;
	width: 100%;
	position: relative;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.showgift {
	width: 70% !important;
}

.card-input__input {
	flex: 1;
	margin-right: 15px;
}

.card-input__input:last-child {
	margin-right: 0;
}

.card-input__input {
	width: 100%;
	height: 50px;
	border-radius: 5px;
	box-shadow: none;
	border: 1px solid #ced6e0;
	transition: all 0.3s ease-in-out;
	font-size: 18px;
	padding: 5px 15px;
	background: none;
	color: #1a3b5d;
	font-family: "Source Sans Pro", sans-serif;
}

.card-input__input:hover,
.card-input__input:focus {
	border-color: #3d9cff;
}

.card-input__input:focus {
	box-shadow: 0px 10px 20px -13px rgba(32, 56, 117, 0.35);
}

.tab-main {
	overflow: hidden;
}

.custom-backdrop {
	position: fixed;
	inset: 0;
	/* 等同 top/left/right/bottom: 0 */
	background: rgba(255, 255, 255, 0.8);
	/* 半透明黑色 */
	z-index: 101;
	/* 比 Swal backdrop 小一層，避免蓋掉訊息 */
}


.document-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.document-item {
	background-color: #fff;
	border: 1px solid #ffc107;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.document-item:hover {
	transform: translateY(-5px);
}

.document-item:hover .document-title {
	color: #834500;
}

.document-content {
	flex-grow: 1;
}

.document-title {
	font-size: 1.1rem;
	font-weight: bold;
}

.document-meta {
	font-size: 0.9rem;
	color: #9a9a9a;
	font-weight: 400;
	float: inline-end;
}

.document-meta span {
	margin-right: 1.5rem;
}

.download-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #69727c;
	padding-left: 2rem;
	transition: color 0.3s ease;
}

.download-link:hover {
	color: #F7C14A;
}

.download-icon {
	font-size: 2rem;
	margin-bottom: 0.25rem;
}

.download-text {
	font-size: 0.9rem;
	white-space: nowrap;
}


.custom-tab-btn {
	background-color: transparent;
	color: #532d00;
	border-radius: 50px;
	border: 0.15rem dashed #f68700;
	transition: background-color 0.3s, color 0.3s;
}


.custom-tab-btn.active,
.custom-tab-btn:hover {
	background-color: #f68700;
	border: 0.15rem solid #f68700;
	color: #fff;
}

.qa-item {
	border: 1px solid #ffc107;

	background-color: #fff;

	border-radius: 0.5rem;

	margin-bottom: 1rem;

	transition: box-shadow 0.2s ease-in-out;

	/* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); */

}


.qa-toggle {
	width: 100%;
	text-align: left;
	background: #fff;
	border: none;
	font-size: 1rem;
	font-weight: 500;
	color: #343a40;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	text-decoration: none;
	border-radius: 0.5rem;
	transition: background-color 0.2s ease-in-out;
	align-items: flex-start;
	gap: .3rem;
	line-height: 1.5;
}


.qa-toggle:hover,
.qa-toggle[aria-expanded="true"] {
	background-color: #ffedca;
	color: #834500;
}


.qa-answer {
	padding: 0 1rem;
}

.qa-text {
	color: #404040;
	font-size: 1rem;
	padding-bottom: .5rem;
	text-align: justify;
}


.qa-toggle[aria-expanded="true"] {
	/* border-bottom: 1px solid #dee2e6; */
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.qa-item .qa-answer.collapse.show {
	border-bottom-left-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem;
}


.page-link {
	color: #ff9e27 !important;
	border: none;
	margin: 0 .8rem;
	border-radius: 0.35rem;
}

.active>.page-link,
.page-link.active {
	color: #fff !important;
	background-color: #ff9e27 !important;
	border-color: #ff9e27 !important;
}

.logo-img {
	object-fit: contain;
	/* 保持比例，不裁切 */
	transition: transform 0.3s ease;
}

.logo-img:hover {
	transform: scale(1.05);
}

.qty.highlight {
	animation: qtyFlash 0.3s ease;
}

.fade:not(.show) {
	opacity: 1;
}


@keyframes qtyFlash {
	0% {
		background-color: #fff3cd;
	}

	50% {
		background-color: #ffc107;
	}

	100% {
		background-color: transparent;
	}
}



/* 手機版：彈性排列，依文字寬度決定一列幾個 */
@media (max-width: 1199.98px) {
	.list-tab-grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		/* 最後一列置中 */
		gap: 0.5rem;
		/* 按鈕間距 */
	}

	.list-tab-grid button {
		flex: 0 1 auto;
		/* 寬度依文字自適應 */
		margin-bottom: 0.5rem;
	}
}

/* 桌機版：垂直排列 */
@media (min-width: 1200px) {
	.list-tab-grid {
		display: block;
	}

	.list-tab-grid button {
		width: 100%;
		margin-bottom: 2rem;
	}
}



/* RWD：小螢幕調整位置 */
@media (max-width: 768px) {

	.btn-donate-float,
	.contact-actions {
		display: none !important;
	}
}

@media (max-width: 1199px) {
	.slick-current {
		transform: none !important;
	}

	.arrowBox {
		margin: 0 0 3.13rem 0;
	}

	.slick-prev,
	.slick-next {
		top: -4.5rem !important;
	}

	.movie-bg {
		width: 100%;
	}
}

@media (max-width: 992px) {

	.slick-prev,
	.slick-next {
		top: -4.5rem !important;
	}

	.slick-next {
		right: 21% !important;
	}

	.slick-prev {
		left: 21% !important;
	}
}

@keyframes wave1 {
	0% {
		background-position-x: 0;
	}

	100% {
		background-position-x: 2099px;
		/* 移動一個圖的寬度 (或倍數) */
	}
}

@media screen and (max-width: 1600px) {
	body:before {
		display: none;
	}

	.owl-item {
		border-radius: 35px;
	}

	.text-dark-sm {
		color: #333 !important;
	}

	.ball-img {
		width: 180px;
	}

	.people-img {
		margin-top: -14.5rem;
	}
}

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

	.ball-img {
		width: 170px;
	}

	.people-img {
		margin-top: -12rem;
	}
}

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

	.owl-item {
		border-radius: 20px;
	}

	.ball-img {
		width: 160px;
	}

	.people-img {
		margin-top: -10rem;
	}

	.first-about-wrap::before {
		width: 15%;
	}

	.slide-menu:before {
		display: none;
	}

	.w-90 {
		width: 100% !important;
	}
}

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

	.first-about-wrap::before {
		width: 20%;
	}

	.ball-img {
		width: 220px;
	}

	.people-img {
		margin-top: -14.5rem;
		width: 80%;
	}

	.movie-bg {
		flex-direction: column;
		/* 改直排 */
		width: 100%;
		height: auto;
		/* 不要固定 50vh，讓它隨內容 */
	}

	.movie-box {
		flex: 1 1 100%;
		/* 一列一個 */
		height: 80vh;
		/* 每個影片自己固定高度（可依需求調整） */
	}

	/* 手機直接顯示標題和 icon */
	.movie-box h3,
	.movie-box span {
		opacity: 1 !important;
		/* 不用 hover 就顯示 */
		transform: none !important;
	}

	.movie-box::after {
		background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, .8) 100%);
	}

	.movie-box span {
		width: 3rem;
		height: 3rem;
		top: 40%;
	}

	.movie-box h3 {
		bottom: 2rem;
		padding: 0 1rem;
	}
}

@media screen and (max-width: 768px) {
	#customers-testimonials.owl-carousel .owl-dots {
		margin-right: 5%;
		height: 5px;
	}

	.first-about-wrap::before {
		width: 30%;
	}

	.ball-img {
		width: 150px;
	}

	.people-img {
		margin-top: -8rem;
		width: 100%;
	}

	.news-bg {
		width: 100%;
		background-color: #fff;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}

	.btn-news {
		position: absolute !important;
		bottom: 2rem;
		left: 30%;
		margin-top: 5rem;
	}

	.nav-tabs .nav-link {
		margin: 0 1.5rem;
		font-size: 1.1rem;
	}

	.slick-track {
		height: 33.75rem;
	}

	.showgift {
		width: 100% !important;
	}

	.donation-wrapper .tab-main {
		flex-direction: column;
	}

	.donation-wrapper .tab-main>.tab-pane {
		flex: 1 1 auto;
		height: auto !important;
		min-height: auto !important;
		max-width: 100% !important;

	}

	.fade:not(.show) {
		display: none;
	}

	#customers-testimonials.owl-carousel .owl-dots .owl-dot span {
		width: 0.8rem;
		height: 0.8rem;
	}

	.title {
		width: 100%;
		height: auto;
		background: url(../images/title_bg.png) no-repeat right top;
		background-size: 220%;
	}

	.page-name {
		font-size: 1.7rem;
	}

	.list-tab-grid {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: space-evenly;
		gap: 0;
	}

	.flex-column {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
	}

	.list-group-item-action:not(.active):focus,
	.list-group-item-action:not(.active):hover,
	.list-group-item.active {
		color: #fff;
		background: #f8b423;
		border-radius: 10px;
	}

	.list-group-item {
		width: auto;
		padding: 0 1rem;
		white-space: nowrap !important;
	}

	@media (min-width: 992px) {
		.pt-lg-5 {
			padding-top: 3rem !important;
		}
	}

	@media (prefers-reduced-motion: reduce) {

		.faa-float,
		.animated,
		.wow,
		.zoomInDown,
		.slideInDown,
		.slideInRight,
		.slideInUp,
		.slideInLeft {
			animation: none !important;
			transition: none !important;
		}
	}
}