body,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft JhengHei';
    font-size: 16px;
}
.grey {
    color: #828282;
}
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}

header {
    background-color: #143159 !important;
    position: absolute;
    top: 0;
    z-index: 100;
}

.banner-box {
    position: relative;
}

.banner-box > h2 {
    font-size: 48px;
    color: #ffffff;
}

/* 表格樣式 */

table {
    border-collapse: collapse;
}

td {
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 20px;
    border: #ffffff 2px solid;
    font-size: 16px;
    max-width: 600px;
}

.text-left {
    text-align: left;
}

.underline {
    text-decoration: underline;
}
.lightblue {
    color: #4aaecd;
}
.bg-grey {
    background-color: #f5f5f5;
}

.bg-darkgrey {
    background-color: #f4f4f4;
}

.bd-t-blue {
    border-top: #4aaecd solid 3px !important;
    border-collapse: separate;
    white-space: nowrap;
}

.bd-t-grey {
    border-top: #d9d9d9 solid 2px !important;
}
.bd-b-grey {
    border-bottom: #d9d9d9 solid 2px !important;
}
.bd-r-grey {
    border-right: #d9d9d9 solid 2px !important;
}
.bd-l-grey {
    border-left: #d9d9d9 solid 2px !important;
}

.button {
    background: #d9d9d9;
    color: #000000;
    padding: 10px 40px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.5s ease; /* 添加漸變效果 */
}

.button:hover {
    background: #5db430;
}

td > p {
    line-height: 2em;
}

@media screen and (max-width: 767px) {
     .index-container {
     width: 100%;
 /*position: absolute;*/
     z-index: 1;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
 }

    .icon {
        position: fixed;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        z-index: 5;
    }
	.index-container {
    width: 100%;
    margin-top: 70px; /* 或 header 的高度 */
}
    .icon > a > img {
        max-width: 60px;
    }

    .bd-t-blue {
        text-align: left;
        font-size: 16px !important;
    }

    .area1 {
        width: 100%;
           }
    .area1 > .content {
        width: 100%;
    }
    
	.area1 > .content > .banner-box {
        width: 100%;
        height: 400px;
        background-image: url('/images/m-info-banner.png');
        background-size: cover; /* 讓圖片覆蓋整個區域 */
        background-position: center; /* 讓圖片居中 */
        background-repeat: no-repeat; /* 防止圖片重複 */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .area1 > .content > .banner-box img {
        width: 100%;
        height: 400px;
    }

    .area1 > .content > .banner-box > .banner-text > p {
        color: #ffffff;
        font-weight: 700;
        font-size: 48px;
    }

    .area2 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .area2 > .content {
        width: calc(100% - 80px);
        font-weight: 700;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .area2 > .content > .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 100px 0;
        gap: 10px;
    }
    .area2 > .content > .container > span {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* 底線 */
    .area2 > .content > .container > span::after {
        content: '';
        display: block;
        width: 50%;
        height: 5px;
        background-color: #5db430;
        margin-top: 5px;
    }

    .area2 > .content > .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 60px 0;
    }
    .area2 > .content > .container > p {
        text-align: center;
    }

    .area2 > .content > .container > a {
        width: fit-content;
        text-align: center;
        background-color: #5db430;
        color: #ffffff;
        padding: 10px 30px;
        border-radius: 20px;
    }

    .area2 > .content > .container > .text-box {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin: 40px 0 0 0;
    }

    .area2 > .content > .container > .text-box > .left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .area2 > .content > .container > .text-box > .left > img {
        width: 100%;
    }
    .area2 > .content > .container > .text-box > .right {
        width: 100%;
    }
    .area2 > .content > .container > .text-box > .right > p {
        line-height: 1.5em;
    }

    /* -*---- */

    .area3 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #143159;
    }

    .area3 > .content {
        width: 100%;
        position: relative;
    }
    .area3 > .content > .img-box {
        width: 100px;
    }

    .area3 > .content > .img-box > img {
        width: 150px;
        padding: 0 0 100px 0;
    }

    .area3 > .content > .text-box {
        font-weight: 700;
        font-size: 32px;
        position: absolute;
        right: 120px;
        top: 0;
        display: flex;
        flex-direction: column;
        padding: 60px 0 0 0;
        gap: 70px;
        opacity: 0;
        transform: translateX(10%); /* 初始状态：在右边不可见 */
        transition: opacity 1s ease, transform 1s ease;
    }

    .text-box.visible {
        opacity: 1 !important;
        transform: translateX(0) !important; /* 最终状态：在预设位置 */
    }

    .area3 > .content > .text-box > .text {
        width: 200px;
    }

    .area3 > .content > .text-box > .odd {
    }
    .area3 > .content > .text-box > .even {
    }

    .area3 > .content > .text-box span {
        color: #5db430;
        text-shadow: 6px 6px 4px rgba(0, 0, 0, 0.5);
        font-size: 36px !important;
    }

    .area3 > .content > .text-box p {
        width: 100%;
        color: #ffffff;
        padding: 0 0 0 100px;
        font-size: 14px;
    }
}

@media screen and (min-width: 768px) {
    .info-container {
        width: 100%;
        position: absolute;
        z-index: 1;
        position: absolute;
        top: 100px;
    }
	.index-container {
        width: 100%;
        margin-top: 135px; /* 或 header 的高度 */
    }

    .icon {
        position: fixed;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        z-index: 5;
    }
    .icon > a > img {
        max-width: 60px;
    }

    .area1 {
        width: 100%;
    }
    .area1 > .content {
        width: 100%;
    }
    .area1 > .content > .banner-box {
        width: 100%;
        height: 500px;
        background-image: url('/images/m-info-banner.png');
        background-size: cover; /* 讓圖片覆蓋整個區域 */
        background-position: center; /* 讓圖片居中 */
        background-repeat: no-repeat; /* 防止圖片重複 */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .area1 > .content > .banner-box img {
        width: 100%;
    }

    .area2 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .area2 > .content {
        max-width: 1280px;
        width: calc(100% - 400px);
        font-weight: 700;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .area2 > .content > .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 100px 0;
        gap: 10px;
    }
    .area2 > .content > .container > span {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* 底線 */
    .area2 > .content > .container > span::after {
        content: '';
        display: block;
        width: 50%;
        height: 5px;
        background-color: #5db430;
        margin-top: 5px;
    }

    .area2 > .content > .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 60px 0;
    }
    .area2 > .content > .container > p {
        text-align: center;
    }

    .area2 > .content > .container > a {
        width: fit-content;
        text-align: center;
        background-color: #5db430;
        color: #ffffff;
        padding: 10px 30px;
        border-radius: 20px;
    }

    .area2 > .content > .container > .text-box {
        display: flex;
        gap: 40px;
        margin: 40px 0 0 0;
    }

    .area2 > .content > .container > .text-box > .left {
        width: 350px;
    }
    .area2 > .content > .container > .text-box > .right {
        width: 500px;
    }
    .area2 > .content > .container > .text-box > .right > p {
        line-height: 1.5em;
    }

    /* -*---- */

    .area3 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #143159;
    }

    .area3 > .content {
        width: 40vw;
        position: relative;
    }

    /* .area3 > .content > span::after {
        content: '';
        display: flex;
        width: 50%;
        height: 5px;
        text-align: center;
        background-color: #5db430;
        margin-top: 5px;
    } */
    .area3 > .content > .img-box {
        width: fit-content;
    }

    .area3 > .content > .img-box > img {
        padding: 0 0 100px 0;
    }

    .area3 > .content > .text-box {
        font-weight: 700;
        position: absolute;
        left: 6vw;
        top: 0;
        display: flex;
        flex-direction: column;
        padding: 120px 0 0 0;
        gap: 80px;
        opacity: 0;
        transform: translateX(100%); /* 初始状态：在右边不可见 */
        transition: opacity 1s ease, transform 1s ease;
    }

    .text-box.visible {
        opacity: 1 !important;
        transform: translateX(0) !important; /* 最终状态：在预设位置 */
    }

    .area3 > .content > .text-box > .text {
        width: 500px;
    }

    .area3 > .content > .text-box > .odd {
    }
    .area3 > .content > .text-box > .even {
        padding: 0 0 0 200px;
    }

    .area3 > .content > .text-box span {
        color: #5db430;
        text-shadow: 6px 6px 4px rgba(0, 0, 0, 0.5);
    }

    .area3 > .content > .text-box p {
        width: 400px;
        color: #ffffff;
        padding: 0 0 0 100px;
    }

    /* ------ */

    /* ----- */
}
