@charset "utf-8";
/****************** 基本 ******************/

* {
	font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
	/* outline: 1px solid red; */
}


html {
	scroll-behavior: smooth;
}

body {
	font-size: 17px;
	font-weight: 400;
	line-height: 1.8;
	color: #323232;
	background-color: #fff;
	height: 100%;
	position: relative;
	/* padding-top: 70px; */
	overflow-x: hidden;
}

hr {
	border-top: 1px solid #afafaf;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #000;
	font-weight: 400;
	line-height: 1.2;
}

p {
	margin-bottom: 1em;
}

a {
	color: #009999;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
	text-decoration: none;
}

a:hover,
a:active,
a:focus,
a:visited {
	/* color: #006464; */
	outline: none;
	text-decoration: none;
}

img,
object,
embed,
video {
	max-width: 100%;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	background: #000;
	opacity: .2;
}

/* animate */

.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
	opacity: 0;
}

.js .animate-box {
	opacity: 0;
}

/*
--- 按鈕 btn ---*/

.btn:hover,
.btn:active,
.btn:focus {
	background: #393e46;
	color: #fff;
	outline: none;
}

.btn {
	border-radius: 0px;
}

.btn.btn-primary {
	background: #009999;
	color: #fff;
	border: none !important;
	border: 2px solid transparent !important;
	display: inline-block;
	margin-top: 5px;
}

/* btn-gold */

.btn-gold {
	background: #959595;
	color: #fff;
	border: none !important;
	border: 2px solid transparent !important;
	display: inline-block;
	margin-top: 5px;
	z-index: 5;
}

.btn-outline-gold {
	border-color: var(--u_primary);
	color: var(--u_primary) !important;
	margin-top: 15px;
}

.btn-outline-gold:hover {
	border-color: var(--u_primary);
	color: #FFFFFF !important;
}


@media screen and (max-width: 576px) {
	.btn.btn-lg {
		padding-top: 10px;
		padding-right: 8px;
		padding-left: 8px;
		padding-bottom: 10px;
		font-size: 16px;
	}
}


/****************** 導覽列 navbar ******************/

.navbar {
	background-color: #f8f8f8;
	/* border-bottom: 1px solid #e8e8e8; */
	padding: 0;
	/* border-top: 1px solid #e8e8e8; */
}

/*
--- 聯邦LOGO navbar-brand ---*/

.navbar-brand {
	padding-right: 0;
}

.navbar .navbar-brand {
	margin-right: 50px;
	margin-left: 20px;
	width: 250px;
	height: 70px;
	background: url(../../include/images/UBLogo.png) no-repeat 0 50%;
	background-size: contain;
}

.navbar-header .navbar-brand img {
	width: 90%;
}

.navbar-light .navbar-toggler {
	border: none;
}

.navbar-light .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 153, 153, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggle .icon-bar {
	background-color: #009999;
}

.navbar-light .navbar-nav .nav-link {
	color: rgba(0, 0, 0, .9);
}

.navbar-light .navbar-toggle:hover,
.navbar-light .navbar-toggle:focus {
	background-color: #f8f8f8;
}

.navbar-nav>li>a {
	font-weight: 900;
	margin-left: 15px;
	margin-top: 10px;
	display: block;
}

.navbar-light .navbar-nav>li>a:hover,
.navbar-light .navbar-nav>li>a:focus {
	color: #009999;
	background-color: transparent;
}

.navbar-light .navbar-nav>.active>a,
.navbar-light .navbar-nav>.active>a:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav>.active>a:focus {
	color: #009999;
}

.navbar-toggle {
	margin-top: 13px;
	margin-bottom: 15px;
	border: 0px;
	border-radius: 0px;
}
/*target錨點定位*/
.target-fix {
    position: relative;
    top: -58px;
    display: block;
    height: 0;
    overflow: hidden;
}
@media screen and (max-width: 768px) {
	.target-fix {
	 top: 0px;
	}
}
/*
--- 導覽列下拉dropdown-menu ---*/

.dropdown-menu {
	background-color: rgba(255, 255, 255, 0.8);
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-item.active,
.dropdown-item:active {
	background-color: #009999;
}

.dropdown-item:hover,
.dropdown-item:focus {
	background-color: #eaeaea;
}

@media screen and (max-width: 1200px) {
	.navbar .navbar-brand {
		margin-right: 0px;
		margin-left: 20px;
		width: 200px;
		height: 60px;
		/* 60 only*/
	}
}

@media screen and (max-width: 576px) {
	.navbar .navbar-brand {
		margin-right: 40px;
		margin-left: 15px;
	}
}

@media screen and (max-width: 576px) {
	.navbar .navbar-brand {
		margin-right: 40px;
		margin-left: 0px;
	}
}


/************************* 主要內容開始 *************************/
.kv {
	position: relative;
	width: 100%;
	aspect-ratio:1920/400;
    display: block;
	background-image: url(../images/top_01.jpg);
	background-size: cover;
}
@media (max-width:768px) {
    .kv {
        aspect-ratio:768/250;
		background-image: url(../images/top_01_m.jpg);
    }
}



/*
--- 版權宣告footer ---*/

footer {
	width: 100%;
	background-color: #f4f4f4;
}

#footer {
	background-color: #eeeeee;
}

.copyright a {
	color: #7f7f7f;
	outline: none;
	text-decoration: none;
}

.copyright h4,
.copyright h5 {
	margin-top: 15px;
}

.copyright h4 {
	font-size: 26px;
	text-align: right;
}

.copyright h5 {
	font-size: 12px;
	text-align: left;
	color: #777;
	margin-left: 70px;
}

.copyright p {
	font-size: 16px;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}

.copyright .list-inline {
	margin-bottom: 0;
}

@media screen and (max-width: 992px) {
	.copyright h4 {
		font-size: 20px;
		text-align: center;
	}

	.copyright h5 {
		font-size: 12px;
		margin-left: auto;
	}

	.copyright p {
		font-size: 12px;
		text-align: center;
	}
}

@media only screen and (max-width: 768px) {
	#footer {
		padding: 10px 0;
		color: #7f7f7f;
		background-color: #eeeeee;
		padding-bottom: 100px;
	}

	#footer .copyright {
		margin-bottom: 0px;
		padding-bottom: 0;
	}

	.copyright h5 {
		text-align: center;
	}

	.copyright a {
		color: #7f7f7f;
		outline: none;
		text-decoration: none;
	}
}
.introduce {
    background-color: #f9ddbc;
}

.text_primary_custom {
    color: #d45252;
}

.bg_primary_custom {
    background-color: #d45252;
    color: #ffffff;
}

.btn_custom {
    background-color: #d45252;
    color: #ffffff;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid #d45252;
    transition: all 0.3s ease;
}

.btn_custom:hover {
    background-color: #f9ddbc;
    color: #d45252;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 82, 82, 0.3);
}

/* 內容區塊最大寬度 */
.section_text_max {
    max-width: 800px;
    font-weight: bold;
}

/* 卡片設計 */
.card_custom {
    border: 2px solid #d45252;
    border-radius: 16px;
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card_custom:hover {
    box-shadow: 0 10px 25px rgba(212, 82, 82, 0.2);
    transform: translateY(-5px);
}

#banner {
	display: block;
	padding-bottom: 50px;
}
#banner_m {
	display: none;
}
@media only screen and (max-width: 768px) {
	#banner {
	display: none;
	}
	#banner_m {
		display: block;
		padding-bottom: 30px;
	}
}