@charset "utf-8";
nav img {
    width: auto;
    height: 30px;
    font-size: medium;
}
/* Background color for navbar and dropdown menus */
.navbar-custom, .navbar-custom .dropdown-menu  {
	background-color: rgba(255,255,255,1.00);
}
/* Text color for navbar and dropdown menus */
.navbar-custom .navbar-brand, .navbar-custom .navbar-text,
.navbar-custom .navbar-nav .nav-link,
.navbar-custom .dropdown-item {
	color: rgba(51,51,51,1.00);
	padding-right: 15px;
	padding-left: 15px;
	font-weight: 500;
}
/* Background and text colors for current page link and links on hover and focus */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link,
.navbar-custom .nav-item:focus .nav-link,
.navbar-custom .dropdown-item:hover, 
.navbar-custom .dropdown-item:focus {
	background-color: rgba(232,232,232,1.00);
	color: rgba(34,34,34,1.00);
}

/* Border and text colors for menu icon on small screens */
.custom-toggler.navbar-toggler {
	color: rgba(43,43,43,1.00);
	font-size: 1rem;
}

/* Hamburger icon - use same rgb values as previous rule for stroke */
.custom-toggler .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(43,43,43,1.00)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.dropdown-menu a {
    display: block;
    padding-top: 14px;
    padding-bottom: 14px;
	font-family: Meiryo,"文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", Microsoft YaHei;
    font-size: large;
    font-weight: 500;
}

.dropdown-toggle::after {
    display:none !important;
}

.navbar {
    margin: 0 !important;
    padding-right: 5% !important;
    padding-left: 5% !important;
}

.navbar-font {
    font-size:1.2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}
.breadcrumb, .breadcrumb a,
.breadcrumb a:hover {
    font-size: 0.8rem;
    color: rgba(43,43,43,1.00);
    background-color: rgba(255,255,255,1.00);
    text-decoration: none;
}
.breadcrumb img {
    width: 15px;
    height: 15px;
    margin-top: -9px;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Montserrat', Arial, Meiryo,"文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", sans-serif;
}

body {
    max-width: 100vw; 
	height: 100vh;
	height: 100dvh;
    overflow-x: hidden; 
    background-color: #FFFFFF;
    color: rgba(0, 0, 0, 1.00);
    padding-top: 50px;
}

#hero {
    padding-left: 0px;
	padding-right: 0px;
	position: relative;
	width: 100%;
    overflow: hidden; /* 防止內容溢出 */
}
#hero picture, #hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}
#hero h1 {
	position: absolute;
	color: rgba(255,255,255,1.00);
	text-shadow: 2px 1px 8px rgba(38,38,38,1.00);
    font-size: clamp(1.4rem, 3vw, 3rem) ;
	left: 3%;
	top: 5%;
	transform: translate(-3%, -5%);
}
.hidden-content {
  display: none;
}
footer {
	font-size: 0.8rem;
	background-color: rgba(255,255,255,1.00);
	text-align: center;
	margin-top: 3%;
}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background-color: rgba(0, 42, 131, 0.7);
    color: #fff;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 2s ease, border-color 2s ease;
    border: 5px solid rgba(56,112,219,0.5); 
}

.back-to-top:hover {
    background-color: rgba(0,0,0,0.5); 
	text-decoration: none;
    color: #fff;
    border-color: rgba(32,35,189,0.5); 
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 手機版 (寬度 <= 575px) */
@media screen and (max-width: 575px) {
/* Text for navbar */
.navbar-custom .navbar-brand {
	font-size: 1rem;
}
/* Border and text colors for menu icon on small screens */
.custom-toggler.navbar-toggler {
	font-size: 0.9rem;
}
	.custom-toggler .navbar-toggler-icon {
    font-size: 0.7rem;
}
	footer {
	padding-bottom: 20%;
}
}

/* 平板與小桌面版 (寬度 576px - 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
	footer {
	padding-bottom: 15%;
}
}

/* 桌面版 (寬度 >= 768px) */
@media screen and (min-width: 768px) {
}

/* 調整 Hero 標題樣式，僅在寬度 >= 576px 時應用 */
@media screen and (min-width: 576px) {

}


	

