﻿@charset "utf-8";

/* operate/Index.aspx：公司簡介頁專用樣式 */
.company-page,
.company-page * {
    box-sizing: border-box;
}

/* operate/tech.aspx：重大主題鑑別 */
.materiality-page {
    width: 100%;
}

.materiality-section {
    margin-bottom: 36px;
}

    .materiality-section p {
        margin: 0 0 12px;
        line-height: 1.8;
        text-align: justify;
    }

.materiality-subtitle {
    margin: 18px 0 10px;
    color: #008ca3;
    font-size: 19px;
    font-weight: bold;
    line-height: 1.45;
}

.material-topic-list {
    display: grid;
    grid-template-columns: repeat(11, minmax(90px, 1fr));
    margin: 18px 0 16px;
    overflow-x: auto;
    padding: 0 0 8px;
}

    .material-topic-list span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 112px;
        margin-left: -4px;
        padding: 10px;
        border-radius: 50%;
        background: #d8f1f3;
        color: #40555a;
        font-weight: bold;
        line-height: 1.45;
        text-align: center;
    }

        .material-topic-list span:nth-child(even) {
            background: #dceef9;
        }

.responsive-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.material-process-table,
.material-change-table {
    width: 100%;
    border-collapse: collapse;
    color: #555;
    line-height: 1.55;
}

    .material-process-table caption {
        padding: 11px 14px;
        background: #cfeef2;
        color: #555;
        font-weight: bold;
        text-align: center;
    }

    .material-process-table th,
    .material-process-table td,
    .material-change-table th,
    .material-change-table td {
        padding: 13px 14px;
        border-bottom: 1px solid #c8c8c8;
        vertical-align: middle;
    }

    .material-process-table th {
        width: 72px;
        background: #f5f5f5;
        text-align: center;
        white-space: nowrap;
    }

    .material-process-table td:nth-child(2) {
        width: 220px;
    }

.material-matrix-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 14px 0 28px;
}

    .material-matrix-list figure {
        margin: 0;
        padding: 16px;
        border: 1px solid #c8e5e9;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 143, 164, 0.12);
    }

    .material-matrix-list figcaption {
        margin: 0 auto 14px;
        padding: 7px 16px;
        border-radius: 999px;
        background: #3daabd;
        color: #fff;
        font-size: 17px;
        text-align: center;
    }

    .material-matrix-list img {
        display: block;
        width: 100%;
        height: auto;
    }

.material-change-table {
    min-width: 760px;
}

    .material-change-table thead th {
        background: #cfeef2;
        text-align: center;
    }

    .material-change-table tbody th {
        width: 95px;
        background: #f5f5f5;
        text-align: center;
    }

    .material-change-table td {
        width: 30%;
    }

@media screen and (max-width: 768px) {
    .materiality-section {
        margin-bottom: 28px;
    }

        .materiality-section p {
            text-align: left;
        }

    .materiality-subtitle {
        font-size: 17px;
    }

    .material-topic-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
    }

        .material-topic-list span {
            min-height: 70px;
            margin-left: 0;
            border-radius: 16px;
        }

    .material-process-table,
    .material-process-table tbody,
    .material-process-table tr,
    .material-process-table th,
    .material-process-table td {
        display: block;
        width: 100%;
    }

        .material-process-table caption {
            display: block;
        }

        .material-process-table tr {
            margin-bottom: 14px;
            border: 1px solid #d7e8eb;
        }

        .material-process-table th {
            padding: 9px 12px;
            background: #cfeef2;
            text-align: left;
        }

        .material-process-table td:nth-child(2) {
            width: 100%;
            color: #008ca3;
            font-weight: bold;
        }

        .material-process-table td:last-child {
            border-bottom: 0;
        }

    .material-matrix-list figure {
        padding: 10px;
        border-radius: 12px;
    }

    .material-matrix-list figcaption {
        font-size: 16px;
    }
}

@media screen and (max-width: 420px) {
    .material-topic-list {
        grid-template-columns: 1fr;
    }

        .material-topic-list span {
            min-height: 58px;
        }
}

/* operate/commit.aspx：重大主題管理 */
.management-page {
    width: 100%;
}

.management-intro {
    margin: 0 0 22px;
    line-height: 1.8;
    text-align: justify;
}

.management-subtitle {
    margin: 0 0 12px;
    color: #008ca3;
    font-size: 19px;
    font-weight: bold;
    line-height: 1.45;
}

.management-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #d7e7ea;
    -webkit-overflow-scrolling: touch;
}

.material-management-table {
    width: 100%;
    min-width: 1500px;
    border-collapse: separate;
    border-spacing: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

    .material-management-table th,
    .material-management-table td {
        padding: 13px 10px;
        border-right: 1px solid #fff;
        border-bottom: 1px solid #c9c9c9;
        vertical-align: middle;
    }

    .material-management-table thead th {
        position: sticky;
        top: 0;
        z-index: 3;
        background: #cbeaf0;
        color: #46565a;
        font-weight: bold;
        text-align: center;
    }

    .material-management-table thead tr:nth-child(2) th {
        top: 46px;
    }

    .material-management-table tbody tr:nth-child(even) td {
        background: #fbfdfd;
    }

    .material-management-table .sticky-col {
        position: sticky;
        left: 0;
        z-index: 2;
        width: 130px;
        min-width: 130px;
        background: #f5f5f5;
        color: #4d5558;
        text-align: center;
    }

    .material-management-table thead .sticky-col {
        z-index: 5;
        background: #cbeaf0;
    }

    .material-management-table td {
        min-width: 138px;
    }

        .material-management-table td:nth-child(2),
        .material-management-table td:nth-child(3) {
            min-width: 165px;
        }

        .material-management-table td:nth-child(7),
        .material-management-table td:nth-child(8) {
            min-width: 180px;
        }

@media screen and (max-width: 768px) {
    .management-intro {
        margin-bottom: 18px;
        text-align: left;
    }

    .management-subtitle {
        font-size: 17px;
    }

    .management-table-wrap {
        border-radius: 8px;
    }

    .material-management-table {
        font-size: 13px;
    }

        .material-management-table th,
        .material-management-table td {
            padding: 10px 8px;
        }
}

.company-page {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.company-section {
    margin: 0 0 40px;
}

.company-section-title {
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 4px solid #58c9db;
    color: #00a4bd;
    font-size: 25px;
    line-height: 1.4;
}

.company-subtitle {
    margin: 24px 0 12px;
    color: #008ca3;
    font-size: 19px;
    font-weight: bold;
}

.company-lead,
.company-paragraph {
    margin: 0 0 18px;
    text-align: justify;
}

.company-page a {
    color: #008ca3;
}

.company-facts {
    width: 100%;
    margin: 0 0 24px;
    border-collapse: collapse;
}

    .company-facts th,
    .company-facts td {
        padding: 10px 14px;
        border: 1px solid #c9d4d6;
        text-align: left;
    }

    .company-facts th {
        width: 125px;
        background: #d7f0f4;
        text-align: center;
    }

.company-area-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

    .company-area-list li {
        padding: 10px 16px;
        border-radius: 18px;
        background: #3aabba;
        color: #fff;
        text-align: center;
    }

.operate-artwork {
    width: 100%;
    margin: 20px 0 30px;
    text-align: center;
}

    .operate-artwork img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

.operate-area-map img {
    max-width: 520px;
}

.operate-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 26px;
}

.operate-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 150px;
    padding: 16px;
    border-radius: 20px;
    background: #d8f1f5;
    text-align: center;
}

    .operate-service-card img {
        display: block;
        width: 68px;
        height: 68px;
        object-fit: contain;
    }

    .operate-service-card h3 {
        margin: 0;
        color: #555;
        font-size: 16px;
        font-weight: normal;
    }

@media screen and (max-width: 768px) {
    .page-title-location {
        width: 100% !important;
        padding-left: 0;
        white-space: normal;
        text-align: left !important;
    }

    .company-page {
        padding: 0 12px;
        font-size: 16px;
        line-height: 1.75;
    }

    .company-section-title {
        font-size: 22px;
    }

    .company-lead,
    .company-paragraph {
        text-align: left;
    }

    .company-facts,
    .company-facts tbody,
    .company-facts tr,
    .company-facts th,
    .company-facts td {
        display: block;
        width: 100%;
    }

        .company-facts th {
            text-align: left;
        }

    .operate-area-map img {
        width: 100%;
    }

    .operate-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operate-service-card {
        min-height: 130px;
        padding: 12px;
    }
}

@media screen and (max-width: 480px) {
    .company-area-list,
    .operate-services {
        grid-template-columns: 1fr;
    }

    .operate-service-card {
        flex-direction: row;
        justify-content: flex-start;
        min-height: 82px;
        text-align: left;
    }

        .operate-service-card img {
            width: 52px;
            height: 52px;
        }
}

/* operate/operate.aspx：公司沿革，統一由上往下閱讀 */
.history-page {
    width: 100%;
}

.tl-wrap {
    position: relative;
    overflow: hidden;
    padding: 22px 24px;
    border: 1px solid #bce5ea;
    border-radius: 18px;
    background: #f8fcfd;
}

    .tl-wrap::before {
        position: absolute;
        top: 30px;
        bottom: 30px;
        left: 211px;
        width: 4px;
        border-radius: 4px;
        background: #a6e0e8;
        content: "";
    }

.tl-item {
    position: relative;
    margin: 0;
}

    .tl-item > .row {
        display: grid;
        grid-template-columns: 160px 28px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        padding: 10px 0;
    }

.tl-date {
    padding: 5px 12px;
    border-radius: 18px;
    background: #d7f0f4;
    color: #37717a;
    font-weight: normal;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

.tl-rail {
    position: relative;
    z-index: 1;
    min-height: 28px;
}

.tl-dot {
    display: block;
    width: 14px;
    height: 14px;
    margin: 7px auto 0;
    border: 3px solid #f8fcfd;
    border-radius: 50%;
    background: #00a4bd;
    box-shadow: 0 0 0 1px #78d2de;
}

.tl-card {
    min-width: 0;
    padding: 3px 0 12px;
    border-bottom: 1px solid #dce8ea;
    line-height: 1.7;
}

.tl-item:last-child .tl-card {
    border-bottom: 0;
}

@media screen and (max-width: 768px) {
    .tl-wrap {
        padding: 16px 14px 16px 42px;
        border-radius: 12px;
    }

        .tl-wrap::before {
            top: 25px;
            bottom: 25px;
            left: 22px;
            width: 3px;
        }

    .tl-item > .row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 9px 0;
    }

    .tl-rail {
        position: absolute;
        top: 9px;
        left: -27px;
        width: 14px;
    }

    .tl-dot {
        margin-top: 8px;
    }

    .tl-date {
        width: fit-content;
        max-width: 100%;
        text-align: left;
    }

    .tl-card {
        padding-bottom: 14px;
    }
}

/* operate/law.aspx：SDGs 永續發展目標 */
.sdgs-page {
    width: 100%;
}

.sdgs-lead {
    margin: 0 0 18px;
    color: #008ca3;
    font-size: 18px;
    font-weight: bold;
}

.sdgs-icon-list {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 22px;
}

    .sdgs-icon-list img {
        display: block;
        width: 100%;
        height: auto;
    }

.sdgs-legend {
    margin: 0 0 12px;
    font-size: 14px;
    text-align: right;
}

.sdgs-topic-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.sdgs-topic-card {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.35fr);
    gap: 20px;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid #d6e8eb;
    border-radius: 12px;
    background: #fff;
}

    .sdgs-topic-card:nth-child(even) {
        background: #f7fbfc;
    }

    .sdgs-topic-card.is-key {
        border-left: 5px solid #00a4bd;
        background: #eef9fa;
    }

    .sdgs-topic-card h2 {
        margin: 0;
        color: #555;
        font-size: 17px;
        line-height: 1.5;
    }

.sdgs-star {
    margin-right: 6px;
    color: #00a4bd;
}

.sdgs-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .sdgs-badges span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        color: #fff;
        font-weight: bold;
        line-height: 1;
    }

.sdg-1 {
    background: #e5243b;
}

.sdg-2 {
    background: #dda63a;
}

.sdg-3 {
    background: #4c9f38;
}

.sdg-4 {
    background: #c5192d;
}

.sdg-5 {
    background: #ff3a21;
}

.sdg-6 {
    background: #26bde2;
}

.sdg-7 {
    background: #fcc30b;
}

.sdg-8 {
    background: #a21942;
}

.sdg-9 {
    background: #fd6925;
}

.sdg-10 {
    background: #dd1367;
}

.sdg-11 {
    background: #fd9d24;
}

.sdg-12 {
    background: #bf8b2e;
}

.sdg-13 {
    background: #3f7e44;
}

.sdg-14 {
    background: #0a97d9;
}

.sdg-15 {
    background: #56c02b;
}

.sdg-16 {
    background: #00689d;
}

.sdg-17 {
    background: #19486a;
}

.sdgs-note {
    margin: 16px 0 0;
    color: #777;
    font-size: 13px;
}

@media screen and (max-width: 768px) {
    .sdgs-lead {
        font-size: 16px;
    }

    .sdgs-icon-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 5px;
    }

    .sdgs-legend {
        text-align: left;
    }

    .sdgs-topic-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px;
    }
}

@media screen and (max-width: 480px) {
    .sdgs-icon-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sdgs-topic-card h2 {
        font-size: 16px;
    }

    .sdgs-badges span {
        width: 34px;
        height: 34px;
    }
}

/* operate/censor.aspx：利害關係人辨識與溝通 */
.stakeholder-page {
    width: 100%;
}

.stakeholder-subtitle,
.stakeholder-list-title {
    margin: 22px 0 12px;
    color: #008ca3;
    font-size: 19px;
    font-weight: bold;
    line-height: 1.5;
}

.stakeholder-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.stakeholder-card {
    overflow: hidden;
    border: 1px solid #c8e4e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 116, 136, 0.08);
}

.stakeholder-card-header {
    padding: 14px 18px;
    background: #d7f0f4;
}

    .stakeholder-card-header h2 {
        margin: 0;
        color: #176d7a;
        font-size: 20px;
        font-weight: bold;
    }

.stakeholder-card-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

    .stakeholder-card-body section {
        min-width: 0;
        padding: 18px;
        border-right: 1px solid #e1ecee;
        border-bottom: 1px solid #e1ecee;
    }

        .stakeholder-card-body section:nth-child(2n) {
            border-right: 0;
        }

        .stakeholder-card-body section:nth-last-child(-n+2) {
            border-bottom: 0;
        }

    .stakeholder-card-body h3 {
        margin: 0 0 10px;
        padding-bottom: 7px;
        border-bottom: 2px solid #a9dce3;
        color: #008ca3;
        font-size: 16px;
        font-weight: bold;
    }

    .stakeholder-card-body ul {
        margin: 0;
        padding-left: 1.4em;
    }

    .stakeholder-card-body li {
        margin-bottom: 5px;
        line-height: 1.65;
    }

        .stakeholder-card-body li:last-child {
            margin-bottom: 0;
        }

    .stakeholder-card-body a {
        overflow-wrap: anywhere;
    }

@media screen and (max-width: 768px) {
    .stakeholder-subtitle,
    .stakeholder-list-title {
        font-size: 17px;
    }

    .stakeholder-list {
        gap: 16px;
    }

    .stakeholder-card-header {
        padding: 12px 14px;
    }

        .stakeholder-card-header h2 {
            font-size: 18px;
        }

    .stakeholder-card-body {
        grid-template-columns: 1fr;
    }

        .stakeholder-card-body section,
        .stakeholder-card-body section:nth-child(2n),
        .stakeholder-card-body section:nth-last-child(-n+2) {
            padding: 14px;
            border-right: 0;
            border-bottom: 1px solid #e1ecee;
        }

            .stakeholder-card-body section:last-child {
                border-bottom: 0;
            }
}
