﻿


.rwd-section-top {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
   
}

.rwd-image-top {
    width: 100%;
    height: auto;
    background-size: cover;
    border-top-left-radius: 70pt;
    border-bottom-right-radius: 70pt;
    
   
    box-sizing: border-box;
  
}

.overlay-text {
    position: absolute;
    z-index: 2;
    top: 20%;
    left: 10%;
    min-width: 100%;
    min-height: 30%;
    /*transform: translate(-50%, -50%);*/

    font-size: 32pt;
    font-family: 微軟正雅體;
    text-align: left;
    color: orange; /* 半透明文字背景 */
    border-radius: 8px;
}

.overlay-text-sub {
    position: absolute;
    z-index: 2;
    top: 25%;
    left: 2%;
    min-width: 100%;
    min-height: 30%;
    /*transform: translate(-50%, -50%);*/
    color: white;
    font-size: 24pt;
    font-family: 微軟正雅體;
    text-align: left;
    /*background-color: rgba(0, 0, 0, 0.4);*/ /* 半透明文字背景 */
    /*padding: 20px;*/
    color:navajowhite;
    border-radius: 8px;
}


.overlay-default-text {
    position: absolute;
    top: 0%;
    left: 15%;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 12px;
    color: white;
    word-break: break-word; /* 防止長字串溢出 */
}

.rwd-container-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: left;
    align-items: start;
  
    gap: 20px;
}
.rwd-content-footer {
    flex: 1 1 300px;
    justify-content: left;
    align-items: start;
    text-align:left;
    font-size: 0.9rem;
   
}

.rwd-container-start {
    display: flex;
    flex: 1 1 30% 70%;
    flex-wrap: wrap;
    align-items: start;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 20px;
}
.rwd-container {
    display: flex;
    flex: 1 1 40% 70%;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
}
.rwd-sidemenu {
    align-items: start;
    min-width:400px;
    max-width: 90%;
}

.rwd-image {
    flex: 1 1 300px;
    max-width: 500px;
}

    .rwd-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

.rwd-content {
    flex: 1 1 300px;
    max-width: 600px;
    min-height: 40vh;
    font-size: 1.4rem;
    line-height: 1.6;
}
.rwd-font-size {
    font-size: 1.4rem !important;
}
.rwd-font-M-size {
    font-size: 1.2rem !important;
}
.rwd-font-S-size {
    font-size: 1rem !important;
}

.card-image {
    height: auto;
    width: 100%;
    max-height: 50vh;
    max-width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.card-contect-img {
    justify-content: center;
    height: 50vh;
    width: 100%;
}

.card-contect {
    color: #003BB0;
    font-weight: 900;
    height: 10vh;
}

.card-text {
    width: 100%;
    word-wrap: normal;
    color:black;
}
@media (max-width: 768px) {
    .rwd-content-footer {
        flex: 1 1 300px;
        justify-content: left;
        align-items: start;
        font-size: 0.9rem;
    }
    .rwd-sidemenu {
       display:none;
       visibility:hidden;
    }
    .rwd-container {
        display: flex;
        flex-wrap: wrap;
        align-items: start;
        justify-content: left;
        padding: 0px 0px;
        gap: 10px;
    }
    .rwd-image-top {
        z-index:1;
        width: 100%;
        height: auto;
        background-size: cover;
        border-radius: 8px;
    }

    .overlay-text {
        z-index: 2;
        position: absolute;
        min-width: 100%;
        min-height: 20%;
        top: 20%;
        left: 10%;
        color:orange;
        font-size: 1.4rem;
    }

    .overlay-text-sub {
        z-index: 2;
        position: absolute;
        min-width: 100%;
        min-height: 20%;
        top: 25%;
        left: 5%;
        font-size: 1rem;
        color:orangered;
    }

    .rwd-section-top {
        flex-direction: column;
      
    }

    

    .rwd-content {
        font-size: 1rem;
        padding-top: 20px;
        min-height: 40vh;
    }

    .rwd-font-size {
        font-size: 1.2rem !important;
    }
    .rwd-font-M-size {
        font-size: 1rem !important;
    }
    .rwd-font-S-size {
        font-size: 0.8rem !important;
    }

    .card-image {
        height: auto;
        width: 100%;
        max-height: 50vh;
        max-width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .card-contect-img {
        justify-content: center;
        height: 30vh;
        width: 100%;
    }

    .card-contect {
        color: #003BB0;
        font-weight: 900;
        height: 10vh;
    }

    .card-text {
        width: 100%;
        word-wrap: normal;
        color: black;
    }
}
