/* 最新消息標題區塊樣式 */
.bigtitle {
    position: relative;
    padding: 60px 40px;
    margin-top: -5%;
    margin-left: -13%;
    z-index: 6;
    background-image: url('/images/title05.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    min-height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
}

/* 移除原本的 title01 圖片 */
.title01 {
    display: none;
}

/* 標題文字容器 */
.title-content {
    position: relative;
    z-index: 7;
    padding: 5px 10px;
    margin-left: 8%;
    margin-bottom: 1%;
}

/* 跑馬燈容器樣式 */
.marquee-wrapper {
    position: relative;
    margin-top: -12%;
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.2);
    width: 100%;
}

.marquee {
    width: 80%;
    margin: 0 auto;
    padding: 5px 0;
}

.marquee-item {
    color: #6895D2;
    font-size: 14pt;
    letter-spacing: 2pt;
    font-style: italic;
    text-align: center;
}

/* 響應式調整 */
@media (max-width: 767.98px) {
    .bigtitle {
        padding: 15px 20px;
        margin-top: -15%;
        min-height: 80px;
    }
    
    .title-content {
        margin-left: 5%;
    }
    
    .news01 {
        font-size: 1.4rem;
    }
    
    .news02 {
        font-size: 0.7rem;
    }
    
    .marquee-wrapper {
        margin-top: 20px;
    }
    
    .marquee-item {
        font-size: 11pt;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .bigtitle {
        margin-top: -10%;
        min-height: 100px;
    }
    
    .title-content {
        margin-left: 10%;
    }
    
    .marquee-item {
        font-size: 12pt;
    }
    
    .marquee-wrapper {
        margin-top: 25px;
    }
}

/* 標題文字樣式 */
.news01, .news02 {
    position: relative;
    z-index: 7;
}

/* 確保容器有正確的定位 */
.sec01left {
    position: relative;
    padding-top: 100px;
}

/* 關於我們標題區塊 */
.bigtitle2 {
    position: relative;
    padding: 60px 80px;
    margin-top: -20%;
    margin-left: 28%;
    z-index: 3;
    background-image: url('/images/title02.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center left;
    min-height: 120px;
    width: 80%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.title02 {
    display: none;
}

.bigtitle2 .title-content {
    position: relative;
    z-index: 3;
    padding: 5px 10px;
    margin-left: 15%;
    margin-bottom: -1%;
}

/* 關於我們區塊整體調整 */
.section02 {
    position: relative;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
}

.sec2t {
    margin-top: 30px;
    margin-left: 1%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.title-content2{
    margin-left: 3%;
    position: relative;
    z-index: 7;
    padding: 5px 10px;
}

.sec2txt {
    width: 100%;
    max-width: 57ch;
    margin-top: 120px;
    line-height: 1.8;
    padding-right: 20px;
}

/* 加入會員標題區塊 */
.bigtitle3 {
    position: relative;
    padding: 80px 100px;
    top:-24%;
    margin-left: 80%;
    z-index: 3;
    background-image: url('/images/title03.png');
    background-size: 120% auto;
    background-repeat: no-repeat;
    background-position: center left;
    min-height: 150px;
    width: 220%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.title03 {
    display: none;
}
.title-content3{
    margin-left: 40%;
    position: relative;
    padding: 5px 10px;
}

.list02{
    width:100%;
    align-items: center;
    justify-content: center;
    position: relative;
    top:-20%;
}

/* 聯絡我們標題區塊 */
.list03{
    width:100%;
    position: relative;
    top:-20%;
    left: -55% !important;;
}
.bigtitle4 {
    position: relative;
    padding: 50px 10px;
    margin-top: -34%;
    margin-left: 35%;
    z-index: 3;
    background-image: url('/images/title04.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center left;
    min-height: 120px;
    width: 90%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.title04 {
    display: none;
}
.title-content4{
    margin-left: 10%;
    position: relative;
    padding: 5px 25px;
    margin-top: 2%;
}

/* 共用標題文字容器樣式 */
.bigtitle2 .title-content,
.bigtitle3 .title-content,
.bigtitle4 .title-content {
    position: relative;
    z-index: 7;
    padding: 5px 10px;
    margin-left: 15%;
    margin-bottom: 1%;
}

/* 區塊整體調整 */
.section02 {
    position: relative;
    padding-top: 20px;
    padding-left: 0;
}

.section03 {
    position: relative;
    padding-top: 0px;
}

.section04 {
    position: relative;
    padding-top: 30px;
    min-height: 600px;
}

.section04 .list03 {
    padding: 0;
    margin: 0;
}

.section04 .row {
    display: flex;
    justify-content: space-between;
}

/* 響應式調整 */
@media (max-width: 767.98px) {
    .bigtitle2,
    .bigtitle3,
    .bigtitle4 {
        padding: 30px 20px;
        margin-top: -10%;
        margin-left: 5%;
        background-size: 110% auto;
    }
    
    .title-content2,
    .title-content3,
    .title-content4 {
        margin-left: 2%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .bigtitle2,
    .bigtitle3,
    .bigtitle4 {
        padding: 40px 30px;
        margin-top: -8%;
        margin-left: 10%;
        background-size: 120% auto;
    }
    
    .title-content2,
    .title-content3,
    .title-content4 {
        margin-left: 3%;
    }
}

/* 聯絡我們區塊整體調整 */
.list03 {
    width: 100%;
    position: relative;
    top: -10%;
    left:-20%;
    padding: 0 !important;
}

.items1 {
    padding-left: 0 !important;
    padding-right: 30px;
   
}

.map-container {
    width: 130%;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.items2 {
    padding: 20px 40px;
   
}

/* 響應式調整 */
@media (max-width: 767.98px) {
    .items1 {
        padding-right: 15px;
        margin-left: 0 !important;
    }
    
    .map-container {
        width: 100%;
        height: 350px;
        margin-bottom: 20px;
    }
    
    .items2 {
        padding: 15px;
       
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .items1 {
        margin-left: -5% !important;
    }
    
    .map-container {
        width: 105%;
    }
    
    
}