/* 選地智慧 */
.public {
    height: 500px;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
} 

.public .title {
    position: absolute;
    left: 40px;
    top: 60px;
    font-size: 3.2rem;
    /* font-family: 'Noto Serif TC', serif; */
    writing-mode: vertical-rl;
    line-height: 1.5;
    text-align: left;
    padding-right: 40px;
    border-right: 1px solid #000000;
}
.index .public .title01 {
    padding-bottom: 0;
    left: 0;
}
.index .public .title01::before {
    left: 0;
}
.public .sub {
    font-size: 2rem;
    padding-bottom: 10px;
}

.public .text {
    position: absolute;
    display: inline-block;
    width: 800px;
    right: 0;
    padding: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background: #eee;
    /* font-family: 'Noto Serif TC', serif; */
    line-height: 1.8;
    text-align: left;
    padding: 50px 8vw 50px 200px;
    /* border-left: 1px solid #fff;*/
}

@media screen and (max-width: 1000px) {
    .public {
        height: auto;
        color: #fff;
        display: flex;
        align-items: center;
        background-size:cover !important;
        height: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-size: contain;
        background-attachment: local;
        background-image: none !important;
    }
    .public .title {
        display: none;
        position: relative;
        left: auto;
        top: auto;
        font-size: 1.6rem;
        /* color: #fff; */
        /* font-family: 'Noto Serif TC', serif; */
        writing-mode: rl-tb;
        /* line-height: 1.5; */
        text-align: center;
        /* text-shadow: rgb(66 66 66 / 30%) 2px 2px 4px; */
        border-right: none;
        padding: 0 0 20px;
    }
    .public .text {
        position: relative;
        display: inline-block;
        width: 100%;
        right: auto;
        font-size: 1rem;
        padding: 40px 0px;
        border-left: none;
        bottom: auto;
        text-align: center;
        background: #eee;
    }
    .index .public .title01::before {
        left: calc(50% - 25px);
    }
} 

@media screen and (max-width: 600px) {
    .public .text {
        font-size: 3.5vw;
    }
}