@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap');
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
	font-family: "Montserrat", sans-serif, 'Noto Sans TC', sans-serif;
	letter-spacing: 1px;
}
body {
	overflow-x: hidden;
	background-color: #fff;
}
img {
	max-width: 100%;
	height: auto;
}
div:focus {
	outline: none;
}
.gotop {
	position: fixed;
	right: 10px;
	bottom: 25%;
	z-index: 9999;
	width: 60px;
	text-align: center;
}
a {
	text-decoration: none;
	color: #000;
}
a:hover {
	color: #333;
}
textarea {
	resize: none;
}
.img_hover {
	line-height: 0px;
	position: relative;
	overflow: hidden;
	margin: auto;
	width: 100%;
}
.img_hover img {
	-webkit-filter: opacity(100%); /* Safari */
	filter: opacity(100%);
	width: 100%;
	object-fit: cover;
	-webkit-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
	transform: scale(1, 1);
}
.img_hover img:hover, a:hover .img_hover img {
	-webkit-filter: opacity(20%); /* Safari */
	filter: opacity(100%);
	transform: scale(1.1, 1.1);
}
.pic_size {
	width: 100%;
	height: 0;
	padding-bottom: 75%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.pic_size_50 {
	width: 100%;
	height: 0;
	padding-bottom: 50%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.border_color {
	border: 1px solid #cc9d58;
}
/*btn*/
.btn:focus {
	box-shadow: 0 0 0 0rem rgba(0, 140, 255, 1.00);
	-webkit-box-shadow: 0 0 0 0rem rgba(0, 140, 255, 1.00);
}
.main_btn {
	color: #fff;
	font-size: 16px;
	background-color: #1c1c1c;
	padding-top: 8px;
	padding-bottom: 8px;
	position: relative;
	border: 1px solid #1c1c1c;
	border-radius: 0px;
}
.main_btn:hover, a:hover.main_btn {
	background: #000;
	border-radius: 0px;
	color: #fff;
	border: 1px solid #000;
}
.position_icon {
	position: fixed;
	bottom: 20%;
	right: 10px;
	width: 40px;
	z-index: 99999;
}
.play_btn {
	width:10%;
	position:absolute;
	top:45%;
	left:45%;
	text-align:center;
	-webkit-filter: opacity(100%); /* Safari */
	filter: opacity(100%);
	object-fit: cover;
	-webkit-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
	transform: scale(1, 1);
}
.play_btn:hover {
	-webkit-filter: opacity(20%); /* Safari */
	filter: opacity(100%);
	transform: scale(1.5, 1.5);
}
/*--------------------------------------------------------------
# form style
--------------------------------------------------------------*/
.form-control {
	line-height: 28px;
	border-radius: 0px;
}
.form-control:focus {
	border-color: #fff;
	border: 1px solid #000;
	box-shadow: 0 0 0 0 transparent;
}
.form-select:focus {
	border-color: #fff;
	border: 1px solid #000;
	box-shadow: 0 0 0 0 transparent;
}
.form-select {
	line-height: 28px;
	border-radius: 0px;
}
/*--------------------------------------------------------------
# radio style
--------------------------------------------------------------*/
.radio-input {
	visibility: hidden; /* 把原本的input藏起來 */
	margin-left: -20px;
}
.radio-label {
	cursor: pointer;
	position: relative;
	padding-left: 25px;
	width: 80px;
}
.radio-button {
	/* 自定義樣式的span */
  height: 20px;
	width: 20px;
	border: 1px solid #ccc;
	border-radius: 50%;
	display: inline-block;
	position: absolute;
	left: 0;
	top: 0;
}
.radio-button::after { /* 中間點點 */
 content: "";
 display: block;
 height: 10px;
 width: 10px;
 border-radius: 50%;
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 background-color: #333;
 opacity: 0;
 transition: opacity 0.2s;
}
.radio-input:checked ~ .radio-label .radio-button::after {
  /* 選中radio時 才顯示中間點點 */
  opacity: 1;
}
/*--------------------------------------------------------------
# color
--------------------------------------------------------------*/
.main_color {
	color: #bfac98;
}
.bg_main_color {
	background-color: #1c1c1c;
}
/*--------------------------------------------------------------
# breadcrumb
--------------------------------------------------------------*/
.breadcrumb {
	color: #333;
}
.breadcrumb-item.active, .breadcrumb-item a:hover {
	color: #cc9d58;
}
.breadcrumb-item + .breadcrumb-item::before {
 float: left;
 padding-right: 0;
 color: #333;
 content: var(--bs-breadcrumb-divider, "〉");
}
/*--------------------------------------------------------------
# pagination
--------------------------------------------------------------*/
.pagination {
	justify-content: center;
}
.page-link {
	color: #333;
	border-radius: 50px;
	margin: 0 10px;
	width: 35px;
	height: 35px;
	line-height: 35px;
	padding: 0;
	background-color: #d9d9d9;
	border: 0;
}
.page-item.active .page-link {
	z-index: 3;
	color: #fff;
	background-color: #cc9d58;
	border-color: #cc9d58;
}
.page-link:hover {
	color: #fff;
	background-color: #cc9d58;
	border-color: #cc9d58;
}
.page-link:focus {
	z-index: 3;
	color: #fff;
	background-color: #cc9d58;
	outline: 0;
	box-shadow: 0 0 0 0rem rgba(13, 110, 253, .25);
}
.page-item:first-child .page-link {
	border-radius: 50px;
}
.page-item.active .page-link {
	border-radius: 50px;
}
.page-item:last-child .page-link {
	border-radius: 50px;
}
/*--------------------------------------------------------------
# font-size
--------------------------------------------------------------*/
.fs_6 {
 --min-size: 12;
 --max-size: 16;
 --font-size: calc((var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)));
 font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
}
.fs_5 {
 --min-size: 16;
 --max-size: 18;
 --font-size: calc((var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)));
 font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
}
.fs_4 {
 --min-size: 18;
 --max-size: 24;
 --font-size: calc((var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)));
 font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
}
.fs_3 {
 --min-size: 25;
 --max-size: 32;
 --font-size: calc((var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)));
 font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
}
.fs_2 {
 --min-size: 30;
 --max-size: 40;
 --font-size: calc((var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)));
 font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
}
.fs_1 {
 --min-size: 40;
 --max-size: 50;
 --font-size: calc((var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)));
 font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
}
.fs_small {
 --min-size: 12;
 --max-size: 13;
 --font-size: calc((var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)));
 font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
}
.font_vertical {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	height: 120px;
}
/*--------------------------------------------------------------
# social_media
--------------------------------------------------------------*/
ul.social_media {
	display: inline;
	padding: 0px;
	margin: 0;
	text-align: center;
}
ul.social_media li {
	display: inline-block;
	position: relative;
}
ul.social_media li a i {
	width: 45px;
	height: 45px;
	line-height: 45px;
	border-radius: 5px;
	font-size: 30px;
	text-align: center;
	border-radius: 50px;
	color: #000;
}
ul.social_media li a:hover i {
	color: #fff;
}
ul.social_media li a img {
	width: 45px;
	height: 45px;
	line-height: 45px;
}
/*--------------------------------------------------------------
# navbar
--------------------------------------------------------------*/
.navbar {
	padding: 0;
}
.navbar-expand-lg .navbar-nav .nav-link {
	padding-right: 0px;
	padding-left: 0px;
}
.navbar-light .navbar-nav .nav-link {
	color: #1c1c1c;
	padding: 12px 8px;
	font-size: 16px;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link .show {
	color: #fff;
	background-color: #1c1c1c;
}
.dropdown-menu {
	padding: 0 0;
	border: 0;
	min-width: 230px;
	font-size: 15px;
}
.dropdown-item {
	padding: 10px 15px;
	color: #1c1c1c;
	border-bottom: 1px solid #eee;
}
.dropdown-item:hover {
	color: #fff;
	background-color: #1c1c1c;
}
.dropdown-menu li {
	position: relative;
}
.dropdown-toggle::after {
 position: absolute;
 right: 10px;
 font-size: 16px;
 font-family: "Font Awesome 6 Free";
 content: '\f107';
 font-weight: 700;
 border: 0;
 top: 20px;
}
/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
.logo_area {
	padding:15px 0;
}
.logo_area img {
	max-height:30px;
}
.mt_top {
	margin-top: 70px;
}
/*--------------------------------------------------------------
# faq
--------------------------------------------------------------*/
.accordion-item {
	background-color: transparent;
	padding: 0;
	border: 0;
	margin-bottom: 1px;
}
.accordion-button {
	color: #000;
	background-color: #efefef;
	border-radius: 0px;
	padding: 15px 40px 15px 15px;
}
.accordion-item:first-of-type .accordion-button {
	border-radius: 0px;
}
.accordion-button:not(.collapsed) {
 color: #000;
 background-color: #efefef;
 border-radius: 0px;
 box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0);
}
.accordion-button:not(.collapsed)::after {
 display: none;
}
.accordion-button:not(.collapsed)::before {
 font-family: "Font Awesome 6 Free" !important;
 content: '\f0de';
 font-weight: 600 !important;
 position: absolute;
 top: 25%;
 right: 2%;
 color: #000;
 font-size: 30px;
}
.accordion-button::after {
 display: none;
}
.accordion-button::before {
 font-family: "Font Awesome 6 Free" !important;
 content: '\f0dd';
 font-weight: 600 !important;
 position: absolute;
 top: 0%;
 right: 2%;
 font-size: 30px;
}
.accordion-body {
	background-color: #f9f9f9;
}
/*--------------------------------------------------------------
# index
--------------------------------------------------------------*/
.kv_pic {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 100vh;
}
.about_pic {
	background-image: url("../images/a_bg_m.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 100vh;
}
.trustworthy_pic {
	background-image: url("../images/c_bg_m.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 100vh;
}
.work_pic {
	background-image: url("../images/w_bg_m.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height:100vh;
}
.calculator_pic {
	background-image: url("../images/t_bg_m.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 100vh;
}
.slogan_pic {
	background-image: url("../images/s_bg_m.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 100vh;
}
.scroll_box {
	height: 200px;
	overflow-y: scroll;
	overflow-x: hidden;
}
.scroll_box::-webkit-scrollbar {
 width: 3px;
 height: 15px;
 background-color: #fff; /* or add it to the track */
}
/* Add a thumb */
.scroll_box::-webkit-scrollbar-thumb {
 background: #000;
 border: 1px solid #ffece0;
 border-radius: 10px;
}
footer a:hover, footer a{
	color:#fff;
}
@media (min-width: 576px) {
}
@media (min-width: 768px) {
  /*--------------------------------------------------------------
# index
--------------------------------------------------------------*/
.logo_area img {
	max-height:45px;
}
  .kv_pic {
 height: 45vh;
}
 .about_pic {
 background-image: url("../images/a_bg.jpg");
 height: 70vh;
}
 .trustworthy_pic {
 background-image: url("../images/c_bg.jpg");
 height: 70vh;
}
 .calculator_pic {
 height: 50vh;
 background-image: url("../images/t_bg.jpg");
}
.about_pic {
 background-image: url("../images/a_bg.jpg");
}
.slogan_pic {
 background-image: url("../images/s_bg.jpg");
 height: 50vh;
}
.work_pic {
 background-image: url("../images/w_bg.jpg");
 width: 100%;
 background-position: center center;
 height:auto;
}
}
@media (min-width: 992px) {
  /*--------------------------------------------------------------
# navbar
--------------------------------------------------------------*/
  .navbar-expand-lg .navbar-nav .nav-link {
 padding: 20px 8px;
}
 .dropdown-toggle::after {
 display: none;
}
  /*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
  .mt_top {
 margin-top: 80px;
}
}
@media (min-width: 1200px) {
  /*--------------------------------------------------------------
# navbar
--------------------------------------------------------------*/
  .navbar-expand-lg .navbar-nav .nav-link {
 padding: 25px 18px;
}
}
@media (min-width: 1400px) {
  /*--------------------------------------------------------------
# navbar
--------------------------------------------------------------*/
  .navbar-expand-lg .navbar-nav .nav-link {
 padding: 30px 20px;
}
  /*--------------------------------------------------------------
# index
--------------------------------------------------------------*/
.kv_pic {
 height: 60vh;
}
 .about_pic {
 height: 100vh;
}
 .trustworthy_pic {
 height: 100vh;
}
 .calculator_pic {
 height: 60vh;
}
.slogan_pic {
 height: 30vh;
}
}
@media (min-width: 1920px) {
}
