<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    header img {
        width: 100px;
        /*height: 100px;*/
    }
    header h1 {
        font-size: 20px;
        color: #333;
        margin: 0;
    }
        .logo-container {
            width: 200px;
            height: 100px;
            overflow: hidden;
            display: inline-block;
        }

        .logo-container video {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }
	section, .carousel-container {
	    padding-left: 5px;
	    padding-right: 5px;
	}
    nav {
        display: flex;
        align-items: center;
    }
    nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 10px;
    }
    nav ul li {
        display: inline;
    }
    nav ul li a {
        text-decoration: none;
        padding: 5px 10px;
        background-color: #007bff;
        color: white;
        border-radius: 5px;
        transition: background-color 0.3s;
    }
    nav ul li a:hover {
        background-color: #0056b3;
    }
    .hamburger-menu {
        display: none;
        flex-direction: column;
        cursor: pointer;
    }
    .hamburger-menu div {
        width: 15px;
        height: 2px;
        background-color: #333;
        margin: 2px 0;
    }
    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #f8f9fa;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .carousel {
		position: relative;
		width: 75%;
		height: 75vh;  /*視窗高度的 75vh */
		max-width: 100%;
		margin: auto;
		overflow: hidden;
    }
    .carousel-images {
		display: flex;
		transition: transform 0.5s ease-in-out;
		width: 100%;
		height: 100%;  /*繼承父容器高度 75vh*/
    }
    .carousel-images img {
        width: 100%;
        flex-shrink: 0;
    }
    .carousel-buttons {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
    }
    .carousel-buttons button {
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 5px;
        cursor: pointer;
        margin: 0 10px;
    }
    .carousel-buttons button:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }
	/* 表格容器 */
	.table-container {
	    display: flex;
	    justify-content: space-between;
	    margin: 2px 0;
	    padding: 10px;
	}
	.table-container h3{
        font-size: 18px;
        color: #fff;
        margin: 0;
	}
	/* 單個表格的樣式 */
	.table-wrapper {
	    flex: 1;
	    background-color: #0056b3;
	}
	
	/* 內部表格樣式 */
	.inner-table {
	    width: 100%;
	    height: 35px;
	    border-collapse: collapse;
	}
	
	.inner-table td {
	    padding: 5px;
	    border: 1px solid #ddd;
	}
	
	/* 表格容器2 */
	.table-container2 {
		display: grid;
		grid-template-columns: repeat(7, 1fr); /* 桌面版一行 7 列 */
		gap: 5px; /* 圖片之間的間距 */
		margin: 2px 0;
		text-align: center;
		margin-bottom: 0;
		align-items: top;
	}
	
	/* 單個表格的樣式 */
	.table-wrapper2 {
	    flex: 1;
	    / * background-color: #0056b3;*/
	}
	
	/* 內部表格樣式 */
	.inner-table2 {
	    width: 100%;
	    height: 35px;
	    border-collapse: collapse;
	}
	
	.inner-table2 td {
	    padding: 5px;
	    border: 1px solid #ddd;
	}
	.inner-table2 img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;  /*讓圖片填滿格子，保持比例裁剪 */
		object-position: center; /* 將圖片的重點置於中心 */
		transition: transform 0.5s ease-in-out;
	}
	
	/* 表格容器3 */
	.table-container3 {
            display: flex;
            flex-wrap: wrap;
	}
	
	/* 單個表格的樣式 */
        .table-item3 {
            flex: 1 0 14%; /* 7 items per row */
            max-width: 14%;
            box-sizing: border-box;
            padding: 5px;
        }
        .inner-table3 {
            width: 100%;
            border: 1px solid #ddd;
            border-collapse: collapse;
        }
        .inner-table3 td {
            border: 1px solid #ddd;
            padding: 10px;
        }
	
	/* 表格容器4 */
	.table-container4 {
	    display: grid;
	    grid-template-columns: repeat(3, 1fr); /* 桌面版一行 3 列 */
	    gap: 5px; /* 圖片之間的間距 */
	    margin: 0;
	    text-align: center;
	    margin-bottom: 0;
	    align-items: top;
	}
	/* 表格容器5 */
	.table-container5 {
	    display: grid;
	    grid-template-columns: repeat(5, 1fr); /* 桌面版一行 3 列 */
	    gap: 5px; /* 圖片之間的間距 */
	    margin: 0;
	    text-align: center;
	    margin-bottom: 0;
	    align-items: top;
	}
	/* 單個表格的樣式 */
	.table-wrapper4 {
		padding: 0px;
		box-sizing: border-box;
		width: 100%;
		height: 100%; /* 設置固定高度 */
		overflow: hidden; /* 防止內容溢出 */
	}
	
	/* 內部表格樣式 */
	.inner-table4 {
		display: block;
		width: 100%;
		height: 100%; /* 設置固定高度 */
		object-fit: cover; /* 讓圖片填滿格子，保持比例裁剪 */
		object-position: center; /* 將圖片的重點置於中心 */
		transition: transform 0.5s ease-in-out;
	}
	
	.inner-table4 td {
	    padding: 5px;
	    border: 1px solid #ddd;
	}
	.inner-table4 img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover; /* 讓圖片填滿格子，保持比例裁剪 */
		object-position: center; /* 將圖片的重點置於中心 */
		transition: transform 0.5s ease-in-out;
	}

	.video-container {
	    position: relative;
	    width: 100%; /* 容器寬度為全寬 */
	    padding-bottom: 56.25%; /* 16:9 的影片比例 = 高度/寬度 */
	    height: 0;
	    overflow: hidden;
	}
	
	.video-container iframe {
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    border: 0;
	}
	
	.image-container {
	    position: relative;
	    width: 100%; /* 容器寬度為全寬 */
	    max-width:100%; /* 可選：設定最大寬度，避免圖片過大 */
	    margin: 0 auto; /* 可選：居中容器 */
	}
	
	.image-container img {
	    width: 100%; /* 圖片寬度跟隨容器 */
	    height: 100%;  高度自動調整，維持比例 */
	    display: block; /* 移除圖片底部的間距問題 */
	}
	
/* ===== 下拉選單樣式 ===== */ 
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 150px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
    list-style: none;  /* 移除黑點 */
    padding: 0;
    margin: 0;
}

.dropdown-content li {
    display: block;
}

.dropdown-content li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    background-color: #fff;
    text-decoration: none;
}

/* 滑鼠移上第二層選單變色 */
.dropdown-content li:hover a {
    background-color: #007bff;
    color: white;
}

/* 滑鼠移上主按鈕展開選單 */
.dropdown:hover .dropdown-content {
    display: block;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}
    @media (max-width: 768px) {
        header {
            flex-direction: column;
            align-items: flex-start;
        }
        header h1 {
            font-size: 16px;
            color: #333;
            margin: 0;
        }
        nav {
            display: none;
            width: 100%;
        }
        .hamburger-menu {
            display: flex;
        }
        .mobile-nav {
            display: none;
            background-color: #fff;
            border-radius: 5px;
            margin-top: 5px;
            padding: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .mobile-nav.show {
            display: flex;
        }
        .mobile-nav a {
            text-decoration: none;
            padding: 5px 15px;
            background-color: #007bff;
            color: white;
            border-radius: 5px;
            text-align: center;
            transition: background-color 0.3s;
        }
        .mobile-nav a:hover {
            background-color: #0056b3;
        }
        .carousel {
			position: relative;
			width: 100%;
			height: 100%;  /*視窗高度的 75vh */
			max-width: 100%;
			margin: auto;
			overflow: hidden;
        }
        .carousel-images {
			display: flex;
			transition: transform 0.5s ease-in-out;
			width: 100%;
			height: 100%;  /*繼承父容器高度 75vh*/
        }
	    .table-container {
	        flex-direction: column;
	    }
	    .table-container2,.table-container4,.table-container5 {
	        flex-direction: column;
	        grid-template-columns: repeat(1, 1fr); /* 手機和平板一行 2列 */
	    }
	    
            .custom-cell {
                width: 100%;
            }
            .table-item3 {
                flex: 1 0 50%; /* 2 items per row */
                max-width: 50%;
            }
        .carousel-images2 {
			display: flex;
			transition: transform 0.5s ease-in-out;
			width: 100%;
			height: 100%;  /*繼承父容器高度 75vh*/
        }
	.table-wrapper2 {
		flex: 1 1 100%; /* 每個表格佔滿一行 */
	}
	.inner-table2 img {
		display: flex;
		transition: transform 0.5s ease-in-out;
		width: 100%;
		height: 100%;  /*繼承父容器高度 75vh*/
	}
	.table-wrapper4 {
		flex: 1 1 100%; /* 每個表格佔滿一行 */
	}
	.table-wrapper5 {
		flex: 1 1 100%; /* 每個表格佔滿一行 */
	}
	.inner-table4 img {
		display: flex;
		transition: transform 0.5s ease-in-out;
		width: 100%;
		height: 100%;  /*繼承父容器高度 75vh*/
	}
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        list-style: none; /* 手機也移除黑點 */
        padding: 0;
        margin: 0;
    }
    .dropdown-content li a {
        background-color: #007bff;
        color: white;
        border-radius: 5px;
        margin-top: 3px;
    }
    .dropdown-content li:hover a {
        background-color: #0056b3; /* 手機 hover 顏色 */
    }
</style>