html,
body,
form {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

input,
select {
	vertical-align: middle;
}

table {
	border-collapse: separate;
	empty-cells: show;
}

a img {
	border-style: none;
}

a {
	color: #91322C;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* 去除連結需線框 */
/*a {*/
/*outline: none;*/
/* for Firefox */
/*hlbr: expression(this.onFocus=this.blur());*/
/* for IE */
/*-o-transition: .2s ease-in;*/
/*-ms-transition: .2s ease-in;*/
/*-moz-transition: .2s ease-in;*/
/*-webkit-transition: .2s ease-in;*/
/*transition: .2s ease-in;*/
/*}*/

html,
body {
	font-family: Arial, Helvetica, "微軟正黑體", "Microsoft JhengHei", "儷黑 Pro", "LiHei Pro", "文泉驛正黑", "WenQuanYi Zen Hei", sans-serif;
	font-size: 10px;
	line-height: 1.7;
	color: #4C3F38;
	margin: 0;
	padding: 0;
}

body {
	padding: 70px 0 0;
}

@media all and (max-width : 768px) {
	body {
		padding: 0;
	}
}


img {
	max-width: 100% !important;
	width: auto !important;
	max-height: 100% !important;
	height: auto !important;
	vertical-align: top;
}

.gm-svpc img {
	width: 30px !important;
	height: 30px !important;
	max-width: 30px !important;
	max-height: 30px !important;
}

.gm-ui-hover-effect img {
	width: 14px !important;
	height: 14px !important;
	max-width: 14px !important;
	max-height: 14px !important;
}

div,
a,
span,
ul,
li,
dl,
dt {
	box-sizing: border-box;
}

iframe {
	display: block;
}



header {
	position: fixed;
	top: 0;
	z-index: 9999;
	background-color: #91322C;
	width: 100%;
	height: 70px;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, .3);
}

@media all and (max-width : 768px) {
	header {
		position: relative;
	}
}

@media all and (max-width : 375px) {
	header {
		height: 60px;
	}
}

@media all and (max-width : 320px) {
	header {
		height: 50px;
	}
}


.header_body,
.focus_body,
.info_body,
.contact_body,
.links_body {
	position: relative;
	max-width: 1250px;
	margin: auto;
}

#logo {
	position: absolute;
	left: 0;
	width: 330px;
	height: 70px;
	display: block;
	padding: 20px 0 0;
}

@media all and (max-width : 1216px) {
	#logo {
		left: 10px;
	}
}

@media all and (max-width : 375px) {
	#logo {
		width: 310px;
		height: 60px;
		padding: 15px 0 0;
	}
}

@media all and (max-width : 320px) {
	#logo {
		width: 250px;
	}
}


.ch {
	border-top: 2px solid #c9bcb6;
}

.ch a,
.ch b {
	color: #4C3F38;
	font-size: 2.6rem;
	text-align: center;
	display: block;
	margin: -22px auto 0;
	width: 160px;
	background-color: #fff;
	letter-spacing: 4px;
}

.focus_body {
	overflow: hidden;
	padding: 0;
}


div.news {
	width: calc(97.5% - 390px);
	float: left;
	padding: 0 0 0 5%;
}

@media all and (max-width : 767px) {
	div.news {
		width: 100%;
		float: none;
		padding: 0 5%;
	}
}

div.news ul,
ul.news {
	margin: 0;
	padding: 0;
}

.news li {
	list-style: none;
}

.news i {
	font-style: normal;
}

.news a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid #e9e4e2;
}

.news a:hover {
	text-decoration: none;
	background-color: #fff9e5;
}

.news li:last-child a {
	border: none;
}

@media all and (max-width : 767px) {
	.news li:last-child a {
		border-bottom: 1px solid #e9e4e2;
	}
}

.news h3 {
	font-size: 1.6rem;
	font-weight: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin: 0;
}

.news b {
	padding: 0 0 0 20px;
	color: #937a6c;
	font-size: 1.3rem;
	font-weight: normal;
	display: block;
}



.video {
	width: 390px;
	float: right;
	padding: 0 5% 0 0;
}

@media all and (max-width : 767px) {
	.video {
		width: 100%;
		float: none;
		padding: 0 5%;
	}
}

.video h3 {
	font-size: 1.6rem;
	font-weight: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin: 0;
}

@media all and (max-width : 767px) {
	.video h3 {
		padding: 10px 0 5px;
	}

	.video h3:before {
		content: "▣";
	}
}

.video-container {
	position: relative;
	padding-bottom: 56%;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



.album {
	padding: 30px 0 0;
	margin: 30px 0 0;
	background-color: #e9e4e2;
	display: inline-block;
	width: 100%;
}

.album_slick {
	width: 100%;
	margin: 0;
	padding: 0 5% 50px;
}

.album_slick a {
	padding: 10px;
	background-color: #fff;
	text-align: center;
	/* width: calc((100% - 120px) / 5); */
	width: 200px;
	height: 140px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
	margin: 0 0 5px;
}

.album_slick a:hover {
	position: relative;
	top: -1px;
	left: -1px;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, .2);
}

.album_slick a img {
	margin: auto;
}

.album_slick .slick-prev,
.album_slick .slick-next {
	top: calc(50% + -20px);
}

.album_slick .slick-dots {
	width: calc(100% - 5%);
	margin: 0 0 0 -2.5%;
}

.album_slick .slick-slide a {
	margin: 0 auto 5px;
}

@media screen and (max-width: 375px) {
	.album_slick .slick-dots li {
		margin: 0 4px;
	}
}

.info {
	background-color: #4c3f38;
}

.info_body {
	overflow: hidden;
	padding: 5% 0;
}

.info .ch a {
	background-color: #4c3f38;
	color: #fff;
}

.info ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	width: 100%;
	margin: auto;
	padding: 0 5%;
}

@media screen and (max-width: 1016px) {
	.info ul {
		max-width: 660px;
	}
}

.info li {
	display: flex;
	flex-flow: column nowrap;
	/* width: calc((100% - 120px) / 5); */
	width: 200px;
	text-align: center;
}

@media screen and (max-width: 1016px) {
	.info li {
		margin: 0 0 30px;
	}
}

@media screen and (max-width: 767px) {
	.info li {
		margin: 0 0 20px;
	}
}

@media screen and (max-width: 320px) {
	.info li {
		margin: 0 0 15px;
	}
}

.info h4 {
	margin: 0;
	font-size: 1.8rem;
}

.info img {
	opacity: 0.6;
}

.info a:hover img {
	opacity: 1;
}

.info a {
	color: #fff;
}


#contact {
	padding-top: 5%;
	margin-top: -5%;
}

.contact h4 {
	font-size: 1.8rem;
	margin: 0;
}

.contact span {
	display: block;
}

.contact_body {
	overflow: hidden;
	padding: 5% 0;
}

.contact_info {
	float: left;
	width: 40%;
	padding: 30px 2.5% 30px 5%;
	border-right: 1px solid #e9e4e2;
}

@media screen and (max-width: 767px) {
	.contact_info {
		float: none;
		width: 100%;
	}
}

.contact_come {
	float: left;
	width: 60%;
	padding: 30px 5% 0 2.5%;
}

@media screen and (max-width: 767px) {
	.contact_come {
		float: none;
		width: 100%;
	}
}

.contact_come .bycar {
	padding: 16px 16px 50px;
}

.contact_come ol {
	margin: 16px;
	padding: 0 16px;
}



.links,
.links_body .ch b {
	background-color: #e9e4e2;
}

.links_body {
	overflow: hidden;
	padding: 5% 0;
}

.links_bar {
	text-align: center;
}

.links_bar a {
	vertical-align: top;
	margin: 0 20px;
	width: 120px;
	display: inline-block;
	font-size: 1.4rem;
	color: #4C3F38;
}

@media screen and (max-width: 768px) {
	.links_bar a {
		margin: 0 20px 20px;
	}
}

.links_bar b {
	display: block;
	padding: 6px 0 0;
	line-height: 1.4;
}

.links_bar img {
	border-radius: 50px;
	border: 3px solid #fff;
	box-sizing: border-box;
}

.links_bar .fb b:before {
	content: "";
	background-image: url(/img/facebook.png);
	background-size: 16px;
	width: 16px;
	height: 16px;
	display: inline-block;
	margin: 0 4px 0 0;
	vertical-align: top;
}

.links_bar .youtube b:before {
	content: "";
	background-image: url(/img/youtube.png);
	background-size: 24px;
	width: 24px;
	height: 20px;
	display: inline-block;
	margin: -2px 4px 0 0;
	vertical-align: top;
}

.links_bar .instagram b:before {
	content: "";
	background-image: url(/img/instagram.png);
	background-size: 16px;
	width: 16px;
	height: 16px;
	display: inline-block;
	margin: 0 4px 0 0;
	vertical-align: top;
}






body.cke_show_borders {
	position: relative;
	margin: auto;
	font-size: 1.6rem;
	width: 100%;
	padding: 0;
}

#container {
	position: relative;
	margin: auto;
	overflow: hidden;
	font-size: 1.6rem;
	width: 100%;
}



#wrapper {
	overflow: hidden;
	position: relative;
	max-width: 1200px;
	margin: auto;
	padding: 2.5% 0;
}

@media screen and (max-width: 1216px) {
	#wrapper {
		max-width: 1000px;
		padding: 2.5% 10px;
	}
}

#navbar {
	max-width: 1200px;
	margin: auto;
	line-height: 50px;
	color: #c9bcb6;
}

@media screen and (max-width: 1216px) {
	#navbar {
		max-width: 1000px;
		padding: 0 10px;
	}
}

#main {
	width: calc(95% - 330px);
	float: left;
	border-right: 1px solid #e9e4e2;
	padding: 0 5% 5% 0;
	min-height: 50vh;
}

@media screen and (max-width: 1216px) {
	#main {
		width: calc(95% - 280px);
	}
}

@media screen and (max-width: 1016px) {
	#main {
		border-right: none;
		padding: 0 0 5% 0;
		width: 100%;
		float: none;
	}
}

#sidebar {
	width: 330px;
	float: right;
}

@media screen and (max-width: 1216px) {
	#sidebar {
		width: 280px;
	}
}

@media screen and (max-width: 1016px) {
	#sidebar {
		width: 100%;
		float: none;
	}
}

footer {
	font-size: 1.3rem;
	color: #fff;
	background-color: #91322C;
	text-align: center;
	padding: 40px 0;
}













.main_title {
	font-size: 3rem;
	color: #000;
	margin: 0 0 30px;
	line-height: 1.2;
}

.main_title span {
	margin: 0 8px 0 0 !important;
	padding: 2px 5px 0 !important;
}

#article strong {
	color: #000;
}

#side_list dl {
	padding: 0;
	margin: 0;
}

#side_list dd {
	padding: 0;
	margin: 0;
}

#side_list .side_menus_title {
	font-size: 2.4rem;
	color: #91322C;
	margin: 0 0 15px;
	padding: 0 0 10px;
	border-bottom: 1px solid #c9bcb6;
	font-weight: bold;
}

#side_list dd a {
	color: #000;
	font-size: 1.8rem;
	/* border-bottom: 1px solid #c9bcb6; */
	display: block;
	line-height: 50px;
	padding: 0 0 0 30px;
}

@media screen and (max-width: 1216px) {
	#side_list dd a {
		padding: 0 0 0 20px;
	}
}

#side_list dd a:hover {
	color: #91322C;
	text-decoration: none;
	background-color: #fff9e5;
}

#side_list dd a.nowat {
	color: #91322C;
}





.list ul {
	margin: 0;
}

.list li {
	border-bottom: 1px dashed #c9bcb6;
}

.list li a {
	display: block;
	color: #4C3F38;
	font-size: 1.8rem;
	line-height: 1.4;
	padding: 14px 0 10px;
}

.list li a:hover {
	color: #91322C;
	text-decoration: none;
	background-color: #fff9e5;
}




.pagelink {
	margin: 10px auto 60px;
	padding: 10px 0;
	max-width: 1250px;
	text-align: center;
}

@media screen and (max-width: 1216px) {
	.pagelink {
		max-width: 1000px;
	}
}

@media screen and (max-width: 1016px) {
	.pagelink {
		max-width: 750px;
	}
}

@media screen and (max-width: 767px) {
	.pagelink {
		max-width: 100%;
	}
}

.pagelink a,
.pagelink strong {
	display: inline-block;
	min-width: 32px;
	height: 32px;
	text-align: center;
	line-height: 32px;
	border: 1px solid #e9e4e2;
	font-size: 1.6rem;
	padding: 0 10px;
	box-sizing: border-box;
	margin: 0 4px;
}

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

	.pagelink a,
	.pagelink strong {
		margin: 0 4px 10px;
	}
}

.pagelink a:hover,
.pagelink strong {
	background-color: #4c3f38;
	color: #fff;
	text-decoration: none;
	border: 1px solid #4c3f38;
}





#all_album ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0;
}

#all_album ul::after {
	height: 0;
	width: 30%;
	content: "";
}

#all_album li {
	display: flex;
	flex-flow: column nowrap;
	background-color: #fff;
	width: 30%;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
	margin: 0 0 30px;
}

@media screen and (max-width: 767px) {
	#all_album li {
		width: 48%;
	}
}

@media screen and (max-width: 400px) {
	#all_album li {
		width: 100%;
	}
}

#all_album a {
	text-decoration: none;
}

#all_album li:hover {
	background-color: #fff9e5;
}

#all_album table a {
	width: 100%;
	height: 150px;
	line-height: 150px;
	overflow: hidden;
	display: block;
	background-color: #000;
}

#all_album table a img {
	vertical-align: middle;
}

.album_info {
	position: relative;
	height: 100%;
	border-left: 1px solid #e9e4e2;
	border-right: 1px solid #e9e4e2;
	border-bottom: 1px solid #e9e4e2;
}

.album_name a {
	padding: 5% 5% 46px;
	line-height: 1.4;
	display: block;
}

.photos_num a {
	position: absolute;
	bottom: 0;
	padding: 5%;
	font-size: 1.4rem;
	color: #937a6c;
	display: block;
	width: 100%;
}




#all_photo ul {
	font-size: 0;
	display: -ms-flexbox;
	-ms-flex-wrap: wrap;
	-ms-flex-direction: column;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	display: -webkit-box;
	display: flex;
	padding: 0;
	margin: 0;
}

#all_photo li {
	width: 20%;
	padding: 0 .5vw 1vw;
}

@media screen and (max-width: 767px) {
	#all_photo li {
		width: 25%;
	}
}

@media screen and (max-width: 425px) {
	#all_photo li {
		width: 33.33%;
	}
}

@media screen and (max-width: 375px) {
	#all_photo li {
		width: 50%;
	}
}

@media screen and (max-width: 400px) {
	#all_photo li {
		margin: 0;
	}

	#all_photo {
		padding: 0;
	}
}






#gotop {
	display: none;
	width: 45px;
	height: 45px;
	overflow: hidden;
	position: fixed;
	right: 10px;
	bottom: 30px;
	z-index: 99;
	color: #fff;
	text-align: center;
	background-color: #4C3F38;
	line-height: 45px;
	font-size: 2rem;
	border-radius: 5px;
	text-decoration: none;
}

#gotop:hover {
	background-color: #333;
	text-decoration: none;
}







ul.gift {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0;
}

ul.gift li {
	display: flex;
	flex-flow: column nowrap;
	background-color: #fff;
	width: 48%;
	border: 2px solid #e9e4e2;
	margin: 0 0 30px;
	padding: 2%;
	border-radius: 10px;
}

@media screen and (max-width: 640px) {
	ul.gift li {
		width: 100%;
	}
}

ul.gift li:hover {
	background-color: #fff9e5;
}

ul.gift a:hover {
	text-decoration: none;
}

.gift_photo {
	width: 100%;
	overflow: hidden;
	display: block;
	height: 220px;
	line-height: 220px;
}

.gift_photo img {
	vertical-align: middle;
	margin: auto;
	display: block;
}

.gift_topic {
	font-size: 2rem;
	margin: 10px 0;
	line-height: 1.4;
}

.gift_info {
	position: relative;
	color: #4C3F38;
	font-size: 1.4rem;
}

.gift_amt {
	text-align: right;
	color: #4C3F38;
}

.gift_amt b {
	font-size: 2.4rem;
	color: #91322C;
}

.main_title b {
	color: #91322C;
}











.all_video ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0;
}

.all_video li {
	display: flex;
	flex-flow: column nowrap;
	background-color: #fff;
	width: 30%;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
	margin: 0 0 30px;
}

@media screen and (max-width: 767px) {
	.all_video li {
		width: 480%;
	}
}

@media screen and (max-width: 400px) {
	.all_video li {
		width: 100%;
	}
}



.all_video a {
	text-decoration: none;
}

.all_video ul::after {
	height: 0;
	width: 30%;
	content: "";
}

.all_video li {
	overflow: hidden;
}

.all_video li:hover {
	background-color: #fff9e5;
}

.hqdefault {
	position: relative;
	background: #000;
	text-align: center;
}

.hqdefault:before {
	content: "";
	position: absolute;
	background-image: url("/img/video.png");
	bottom: 0;
	color: #fff;
	left: 0;
	height: 32px;
	margin: auto;
	opacity: 0.8;
	right: 0;
	top: 0;
	width: 32px;
	content: "";
	z-index: 999;
}

.hqdefault:hover:before {
	opacity: 1;
}

.all_video_topic {
	padding: 5%;
	margin: 0;
	border-left: 1px solid #e9e4e2;
	border-right: 1px solid #e9e4e2;
	border-bottom: 1px solid #e9e4e2;
	font-size: 1.6rem;
	line-height: 1.4;
	color: #333;
	font-weight: normal;
	height: 100%;
}

.all_video li:hover .all_video_topic {
	color: #91322C;
}








#main.main_results {
	float: none;
	border-right: none;
	margin: auto;
	padding: 0;
}

#results_list dl {
	margin: 0;
}

#results_list dd {
	display: block;
	padding: 12px 0;
	margin: 0;
	border-bottom: 1px solid #e9e4e2;
}

#results_list dd:hover {
	background-color: #fff9e5;
}

#results_list .titles {
	font-size: 1.6rem;
	font-weight: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#results_list .titles a:last-child img {
	vertical-align: middle;
}

#results_list .titles i {
	font-style: normal;
}

#results_list .datetimes {
	color: #937a6c;
	font-size: 1.3rem;
	font-weight: normal;
	display: block;
}




.mobile_br {
	display: none;
}

@media screen and (max-width: 767px) {
	.mobile_br {
		display: block;
		clear: both;
	}
}

.skip-link-top {
	position: absolute;
	top: -40px;
	left: 0;
	background-color: #000;
	color: #fff;
	padding: 0px 8px;
	text-decoration: none;
	z-index: 1000;
	border: 2px solid transparent;
	font-size: 16px;
	transition: top 0.2s ease;
}

a {
	transition: top 0s ease;
}

/* 統一的 focus 樣式 - 符合 WCAG 2.1 AA 標準 */
a:focus,
input:focus,
select:focus,
button:focus,
textarea:focus,
label:focus {
	top: 0;
	border: 3px solid #0066cc;
	/* 使用高對比度的藍色邊框 */
	background-color: rgba(0, 102, 204, 0.1);
	/* 淺藍色背景增強可見性 */
	outline: 2px solid #ff6600;
	/* 橙色外框提供雙重指示 */
	outline-offset: 2px;
	/* 外框偏移避免重疊 */
	box-shadow: 0 0 0 1px #ffffff;
	/* 白色陰影確保在深色背景上也可見 */
}

/* 為 checkbox 和 radio 提供特殊的 focus 樣式 */
input[type="checkbox"]:focus,
input[type="radio"]:focus {
	outline: 3px solid #0066cc;
	outline-offset: 2px;
	box-shadow: 0 0 0 1px #ffffff, 0 0 0 4px #ff6600;
}

/* 為提交按鈕提供更明顯的 focus 樣式 */
input[type="submit"]:focus,
button[type="submit"]:focus,
.subme:focus {
	border: 3px solid #ff6600 !important;
	background-color: rgba(255, 102, 0, 0.1) !important;
	outline: 2px solid #0066cc !important;
	outline-offset: 2px;
	box-shadow: 0 0 0 1px #ffffff, 0 0 8px rgba(0, 102, 204, 0.5) !important;
}

/* 確保 focus 樣式不會被其他樣式覆蓋 */
*:focus {
	outline-width: 2px;
	outline-style: solid;
	outline-color: #0066cc;
}

/* 輪播控制按鈕樣式 */
.carousel-controls {
	text-align: center;
	margin: 10px 0;
	position: relative;
	z-index: 1000;
}

.play-pause-btn {
	background: #91322C;
	border: 2px solid #91322C;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #ffffff;
}

.play-pause-btn:hover {
	background: rgba(0, 102, 204, 1);
	transform: scale(1.1);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.play-pause-btn:focus {
	background: rgba(0, 102, 204, 1);
	outline: 3px solid #ff6600 !important;
	outline-offset: 3px;
	box-shadow: 0 0 0 1px #ffffff, 0 0 0 5px #ff6600;
}

.play-pause-btn:active {
	transform: scale(0.95);
}

.pause-icon,
.play-icon {
	font-size: 20px;
	line-height: 1;
	transition: all 0.2s ease;
}

/* 為不支援 emoji 的瀏覽器提供替代方案 */
.play-pause-btn .pause-icon:before {
	content: "⏸️";
}

.play-pause-btn .play-icon:before {
	content: "▶️";
}

/* 螢幕閱讀器專用文字 - 符合 WCAG 2.1 無障礙性標準 */
.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

#kw {
	transition: top 0s ease;
}

#kw:focus {
	position: relative;
	border: 3px solid #0066cc !important;
	background-color: rgba(0, 102, 204, 0.1) !important;
	outline: 2px solid #ff6600 !important;
	outline-offset: 2px;
	/* 搜尋框的 focus 樣式 - 符合無障礙性標準 */
}
