/*首頁服務項目*/
.index-service .p-1{
    color: #666666;
    font-size: 17px;
    margin: 0;
    line-height: 1.7;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 3; */
    /* -webkit-box-orient: vertical; */
    /* overflow: hidden; */
    /* height: 86px; */
}
.service-count{
    margin-top: 38px;
}
.service-count .count-list{
    display: flex;
    width: calc(100% + 60px);
    margin-left: -30px;
}
.count-list .box{
    width: calc(100% / 3);
    position: relative;
    text-align: center;
}
.count-list .box + .box:before{
    content: "";
    width: 1px;
    height: 90px;
    background: #D6D6D6;
    position: absolute;
    left: 0;
    top: calc(50% - 45px);
}
.count-list .count-top{
    margin-bottom: 5px;
}
.count-list .number{
    font-family: "Libertinus Sans", sans-serif;
    color: #11ADB8;
    font-size: 80px;
    line-height: 80px;
    font-weight: 600;
}
.count-list .text{
    color: #1F1F1F;
    font-size: 17px;
    font-weight: 500;
}
.count-list .name{
    color: #1F1F1F;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
}
@media screen and (max-width: 1400px) {
    .service-count .count-list {
        width: calc(100%);
        margin-left: 0;
    }
    .count-list .name {
        font-size: 19px;
    }
    .count-list .number {
        font-size: 70px;
        line-height: 70px;
    }
}
@media screen and (max-width: 1000px) {
    .index-service .p-1{
        font-size: 15px;
        display: block;
        height: unset;
    }
    .service-count .count-list {
        flex-direction: column;
    }
    .count-list .box {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: end;
        margin-bottom: 10px;
        padding-bottom: 14px;
        border-bottom: 1px solid #D6D6D6;
    }
    .count-list .number {
        font-size: 40px;
        line-height: 40px;
    }
    .count-list .text {
        font-size: 15px;
    }
    .count-list .box + .box:before {
        display: none;
    }
    .count-list .count-top {
        margin-bottom: 0;
    }
    .count-list .name {
        font-size: 15px;
    }
    .service-count {
        margin-top: 30px;
    }
}
/*首頁關於我們*/
.index-about .p-1{
    color: #666666;
    font-size: 17px;
    margin: 0;
    line-height: 1.7;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 5; */
    /* -webkit-box-orient: vertical; */
    /* overflow: hidden; */
    /* height: 143px; */
}
@media screen and (max-width: 1400px) {
    .index-about .p-1{
        /* -webkit-line-clamp: 8; */
        /* height: 204px; */
    }
}
@media screen and (max-width: 1000px) {
    .index-about .p-1 {
        height: unset;
        display: block;
        font-size: 15px;
    }
}
/*內頁 ESG-公司治理-公司治理架構*/
.page-governance-editor{
    width: 1000px;
    max-width: calc(100vw - 80px);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-top: 30px;
    height: auto;
    aspect-ratio: 1000 / 600;
}
.page-governance-editor .pic{
    position: absolute;
    width: 100%;
}
.page-governance-editor .text{
    color: #333333;
    font-size: 28px;
    font-size: clamp(1px, 2.8vw, 28px);
    font-weight: 500;
    position: absolute;
    letter-spacing: 3px;
}
.page-governance-editor .text.text1 { 
    left: 50%; 
    top: 3%; 
    transform: translateX(calc(-50% + 2px));
}
.page-governance-editor .text.text2 { 
    left: 7%;  
    top: 22%; 
}
.page-governance-editor .text.text3 { 
    left: 50%; 
    top: 41%; 
    transform: translateX(calc(-50% + 2px));
}
.page-governance-editor .text.text4 { 
    left: 7%;  
    top: 60%; 
}
.page-governance-editor .text.text5 { 
    right: 8%; 
    top: 60%; 
}
.page-governance-editor .text.text6 { 
    left: 50%; 
    top: 80%; 
    transform: translateX(calc(-50% + 2px));
}
@media screen and (max-width: 1000px) {
    .page-governance-editor{
        max-width: calc(100vw - 30px);
    }
}
@media screen and (max-width: 800px) {
    .page-governance-editor .text {
        letter-spacing: 1px;
    }
}
/*內頁最新消息*/
.news-editor .p-1{
    margin: 0;
    font-size: 17px;
    margin-bottom: 40px;
}
@media screen and (max-width: 1000px) {
    .news-editor .p-1 {
        font-size: 15px;
        margin-bottom: 20px;
    }
}
/*內頁產品介紹*/
.products-editor-title {
    color: #C0A981;
    font-size: 25px;
    letter-spacing: 3px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 15px;
    font-family: 'Noto Serif TC', serif;
}
@media screen and (max-width: 1280px) {
    .products-editor-title{
        font-size: 18px;
        letter-spacing: 1.5px;
        margin: 0 0 5px;
    }
}
@media screen and (max-width: 1000px) {
    .products-editor-title{
        font-size: 16px;
    }
}
/*內頁 ESG-公司治理-功能性委員會*/
/*內頁 ESG-公司治理-董事會成員*/
.table-editor {
    max-width: 1400px;
    margin: 0 auto 0px;
}
.table-editor .t-1 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #111111;
}
.editor-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 17px;
}
.editor-table .thead {
    display: table-header-group;
    background-color: #D4E9EE;
}
.editor-table .tbody {
    display: table-row-group;
}
.editor-table .tr {
    display: table-row;
}
.editor-table .th,
.editor-table .td {
    display: table-cell;
    padding: 20px 15px;
    vertical-align: middle; 
    text-align: center; 
    line-height: 1.6;
    word-break: break-word; 
    border: 1px solid #E7E7E7;
}
.editor-table .tr:first-child .th,
.editor-table .tr:first-child .td {
    border-top: none;
}
.editor-table .tr:last-child .th,
.editor-table .tr:last-child .td {
    border-bottom: none;
}
.editor-table .th:first-child,
.editor-table .td:first-child {
    border-left: none;
}
.editor-table .th:last-child,
.editor-table .td:last-child {
    border-right: none;
}
.editor-table .th {
    text-align: center;
    color: #1F1F1F;
    font-weight: 500;
    padding-top: 25px;
    padding-bottom: 25px;
}
.editor-table .tr .td{
    background: #F0F0F0;
}
.editor-table .tbody .tr:nth-child(even) .td {
    background-color: #F9F9F9;
}
.editor-table .th:nth-child(1),
.editor-table .td:nth-child(1) { width: 12%; }
.editor-table .th:nth-child(2),
.editor-table .td:nth-child(2) { width: 12%; }
.editor-table .th:nth-child(3),
.editor-table .td:nth-child(3) { width: 26%; }
.editor-table .th:nth-child(4),
.editor-table .td:nth-child(4) { width: 50%; }
@media screen and (max-width: 1000px) {
    .table-editor .t-1 {
        font-size: 20px;
    }
    .editor-table .th {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .editor-table .th, .editor-table .td {
        padding: 10px 15px;
    }
}
/*內頁 ESG-企業永續-幸福人才*/
/*內頁 共用編輯器*/
.global-editor .p-1{
    margin: 0;
}
@media screen and (max-width: 1000px) {
    .global-editor .p-1{
        font-size: 15px;
    }
}
/*內頁 ESG-企業永續-幸福人才*/
.page-happiness-editor {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.page-happiness-editor .t-1{
    width: 520px;
    height: 70px;
    line-height: 70px;
    background: #11AEB8;
    color: #FFF;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    border-radius: 60px;
    margin-top: -35px;
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 2px;
    margin-bottom: 53px;
}
.page-happiness-editor .t-2{
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
        margin-bottom: 37px;
}
.page-happiness-editor .p-1{
    color: #666666;
    font-size: 17px;
    font-weight: 500;
    margin: 0;
    line-height: 2;
    margin-bottom: 30px;
}
.page-happiness-editor .color-1{
    color: #11ADB8;
}
.page-happiness-editor .box + .box{
    margin-top: 89px;
}
.page-happiness-editor .pic-list{
    display: flex;
    justify-content: space-between;
}
.page-happiness-editor .pic-list img{
    width: 25%;
    box-sizing: border-box;
}
@media(max-width:1000px){
    .page-happiness-editor .t-1 {
        width: 400px;
        height: 60px;
        line-height: 60px;
        background: #11AEB8;
        color: #FFF;
        font-size: 24px;
        margin-top: -30px;
        margin-bottom: 20px;
    }
    .page-happiness-editor .t-2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .page-happiness-editor .p-1 {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    .page-happiness-editor .box + .box {
        margin-top: 40px;
    }
}
@media(max-width:767px){
    .page-happiness-editor .t-1 {
        width: calc(100% - 30px);
        height: 50px;
        line-height: 50px;
        font-size: 22px;
        margin-top: -25px;
        letter-spacing: 1px;
    }
    .page-happiness-editor .t-2 {
        font-size: 16px;
    }
    .page-happiness-editor .pic-list {
        flex-wrap: wrap;
    }
    .page-happiness-editor .pic-list img {
        width: 50%;
    }
}
/*內頁 關於長聖-公司沿革*/
.history-content .mo-box {
    display: flex;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}
.history-content .mo-box:before {
    content: "";
    background: #11AEB8;
    width: 1px;
    height: calc(100% - 56px);
    top: 53px;
    left: 14px;
    position: absolute;
}
.history-content .mo-title{
    font-family: "Libertinus Sans", sans-serif;
    color: #11ACB8;
    font-size: 20px;
    font-weight: 600;
    width: 55px;
}
.history-content .mo-text{
    width: calc(100% - 55px);
    box-sizing: border-box;
    padding-left: 0;
    font-family: "Noto Sans TC", sans-serif;
    margin-top: 44px;
}
/*內頁聯絡我們*/
.contact-editor {
    margin: 0 auto;
}
.contact-editor .p-1{
    font-size: 17px;
    margin: 0;
    line-height: 1.8;
}
.contact-editor .t-1{
    font-size: 17px;
    color: #000000;
    margin: 0;
}
.contact-editor .list-1{
    font-size: 17px;
    line-height: 2;
    padding-left: 118px;
    margin: 10px 0;
}
@media screen and (max-width: 1000px) {
    .contact-editor .p-1{
        font-size: 15px;
        line-height: 1.7;
    }
    .contact-editor .t-1{
        font-size: 17px;
    }
    .contact-editor .list-1 {
        font-size: 15px;
        padding-left: 30px;
        line-height: 1.7;
    }
}
/*內頁使用條款*/
.terms-title {
    color: #11AEB8;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 5px;
}
@media screen and (max-width: 1000px) {
    .terms-title {
        font-size: 16px;
    }
}