/* ESG29_1 page-specific styles. Shared colors and spacing live in ../esg-theme.css. */

.esg29-page .esg29-figure-image {
    display: block;
    width: 100%;
    height: auto;
}

.esg29-page .table-wrap {
    border: 1px solid var(--esg-color-teal);
}

.esg29-page .esg29-management-table {
    --esg-management-border-color: var(--esg-color-teal);
}

.esg29-page .esg-table th {
    background: var(--esg-color-teal);
    border: 1px solid var(--esg-color-teal);
}

.esg29-page .esg-table td {
    border: 1px solid var(--esg-color-teal);
}

.esg29-page .esg29-data-table tbody tr:nth-child(even) td {
    background: #fbfefe;
}

.esg29-page .esg29-data-table td.esg29-rowhead {
    background: var(--esg29-rowhead);
    font-weight: 700;
    text-align: center;
}

.esg29-page .esg29-risk-plan-table td,
.esg29-page .esg29-execution-table td {
    vertical-align: top;
}

.esg29-page .esg29-risk-plan-table td p,
.esg29-page .esg29-execution-table td p {
    margin: 0 0 8px 0;
}

.esg29-page .esg29-risk-plan-table td ul,
.esg29-page .esg29-execution-table td ul {
    margin: 0;
    padding-left: 1.2em;
}

.esg29-page .esg29-risk-plan-table td li,
.esg29-page .esg29-execution-table td li {
    margin-bottom: 4px;
}

.esg29-page .esg29-local-material-table th,
.esg29-page .esg29-local-total-table th {
    font-size: 15px;
}

.esg29-page .esg29-local-material-table td,
.esg29-page .esg29-local-total-table td {
    vertical-align: middle;
}

.esg29-page .esg29-data-source {
    margin: 8px 0 0 0;
    text-align: left;
}

.esg29-page .esg29-score-grid {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.esg29-page .esg29-score-panel {
    padding: 22px 20px 18px;
    border: 1px solid var(--esg-color-teal);
    background: #fff;
    display: grid;
    /*grid-template-columns: repeat(2, minmax(0, 1fr));*/
}

.esg29-page .esg29-score-panel h4 {
    margin: 0 0 16px 0;
    color: #222;
    font-size: 22px;
    text-align: center;
    font-weight: 700;
    line-height: 1.35;
}

.esg29-page .esg29-chart-block {
    display: grid;
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.esg29-page .esg29-donut-shell {
    width: min(100%, 280px);
    aspect-ratio: 1;
    margin: 0 auto;
    position: relative;
}

.esg29-page .esg29-donut-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(-90deg);
}

.esg29-page .esg29-donut-svg .track,
.esg29-page .esg29-donut-svg .segment {
    fill: none;
    stroke-width: 18;
}

.esg29-page .esg29-donut-svg .track {
    stroke: #edf7f7;
}

.esg29-page .esg29-donut-svg .segment {
    cursor: pointer;
    transition: stroke-width 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.esg29-page .esg29-donut-svg .segment.quality { stroke: #4db7ba; }
.esg29-page .esg29-donut-svg .segment.leadtime { stroke: #bfd51a; }
.esg29-page .esg29-donut-svg .segment.safety { stroke: #704ba0; }
.esg29-page .esg29-donut-svg .segment.package { stroke: #456eb8; }
.esg29-page .esg29-donut-svg .segment.cert { stroke: #a5acc9; }
.esg29-page .esg29-donut-svg .segment.service { stroke: #ffa233; }

.esg29-page .esg29-donut-svg .segment:hover,
.esg29-page .esg29-donut-svg .segment:focus {
    stroke-width: 20;
    filter: brightness(1.06);
    outline: none;
}

.esg29-page .esg29-donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52%;
    height: 52%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    pointer-events: none;
}

.esg29-page .esg29-donut-center .label,
.esg29-page .esg29-donut-center .value {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 0;
}

.esg29-page .esg29-donut-center .label {
    color: #666;
    font-size: 13px;
    line-height: 1.25;
}

.esg29-page .esg29-donut-center .value {
    color: #2b2b2b;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.esg29-page .esg29-legend {
    margin: 0;
    padding: 0;
    list-style: none;
}

.esg29-page .esg29-legend li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
}

.esg29-page .esg29-legend .swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-block;
}

.esg29-page .esg29-legend .swatch.quality { background: #4db7ba; }
.esg29-page .esg29-legend .swatch.leadtime { background: #bfd51a; }
.esg29-page .esg29-legend .swatch.safety { background: #704ba0; }
.esg29-page .esg29-legend .swatch.package { background: #456eb8; }
.esg29-page .esg29-legend .swatch.cert { background: #a5acc9; }
.esg29-page .esg29-legend .swatch.service { background: #ffa233; }

.esg29-page .esg29-chart-note {
    margin: 10px 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--esg-color-teal);
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-indent: 0;
}

.esg29-page .esg29-score-table th {
    font-size: 16px;
}

.esg29-page .esg29-score-table td {
    font-size: 15px;
}

.esg29-page .esg29-score-notes {
    margin: 16px 0 0 0;
    padding-left: 1.3em;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
}

.esg29-page .esg29-score-notes li {
    margin-bottom: 6px;
}

.esg29-page .esg29-policy-panel {
    max-width: 1080px;
    margin: 60px 0 0 0;
    padding: 24px 24px 24px;
    border: 1px solid var(--esg-color-teal);
    border-radius: 48px;
    background: #eef8f8;
    text-align: center;
}

.esg29-page .esg29-policy-panel h4,
.esg29-page .esg29-policy-panel p {
    margin: 1.5vh 0;
    text-indent: 0;
}

.esg29-page .esg29-policy-panel h4 {
    color: var(--esg-color-teal-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.esg29-page .esg29-policy-panel p {
    color: #222;
    font-size: 28px;
    line-height: 1.7;
    margin-top: 1.5vh;
    text-align: center;
}

.esg29-page .esg29-process-flow {
    max-width: 1200px;
    margin: 0 auto;
}

.esg29-page .esg29-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.esg29-page .esg29-process-card {
    background: #fff;
}

.esg29-page .esg29-process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 16px 28px 16px 40px;
    color: #fff;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%, 9% 50%);
}

.esg29-page .esg29-process-card.is-gr .esg29-process-arrow {
    background: #9FC6C8;
}

.esg29-page .esg29-process-card.is-bl .esg29-process-arrow {
    background: #9FB1C8;
}

.esg29-page .esg29-process-card.is-pu .esg29-process-arrow {
    background: #A79FC8;
}

.esg29-page .esg29-process-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 2;
    align-items: flex-start;
}

.esg29-page .esg29-process-card h4 {
    margin: 14px 0 10px;
    font-size: 19px;
    line-height: 1.35;
    text-align: center;
    font-weight: 700;
    text-indent: 0;
}

/*.esg29-page .esg29-process-card.is-green h4 {
    color: #f25aa2;
}

.esg29-page .esg29-process-card.is-bl h4 {
    color: #5455af;
}

.esg29-page .esg29-process-card.is-orange h4 {
    color: #ff8e2b;
}*/

.esg29-page .esg29-process-list {
    margin: 20px 60px 20px 8px;
    padding: 0;
    list-style: none;
}

.esg29-page .esg29-process-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 18px;
    color: #222;
    font-size: 14px;
    line-height: 1.7;
    text-indent: 0;
}

.esg29-page .esg29-process-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f25aa2;
    transform: translateY(-50%);
}

.esg29-page .esg29-process-card.is-gr .esg29-process-list li::before {
    background: #9FC6C8;
}

.esg29-page .esg29-process-card.is-bl .esg29-process-list li::before {
    background: #9FB1C8;
}

.esg29-page .esg29-process-card.is-pu .esg29-process-list li::before {
    background: #A79FC8;
}

.esg29-page .esg29-criteria-panel {
    padding: 26px 38px 22px;
    border: 1px solid var(--esg-color-teal);
    background: #fff;
}

.esg29-page .esg29-criteria-panel h4 {
    margin: 0 0 18px 0;
    color: #222;
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
    font-weight: 700;
    text-indent: 0;
}

.esg29-page .esg29-criteria-row {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    /* gap: 34px; */
    align-items: center;
    padding: 18px 0;
}

.esg29-page .esg29-criteria-row + .esg29-criteria-row {
    border-top: 1px solid var(--esg-color-teal);
}

.esg29-page .esg29-criteria-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 100%;
    padding: 12px 0;
}

.esg29-page .esg29-criteria-label {
    color: var(--esg-color-teal-text);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.esg29-page .esg29-criteria-body {
    color: #222;
    font-size: 20px;
    line-height: 1.8;
    text-indent: 0;
}

@media (max-width: 900px) {
    .esg29-page .esg29-score-grid {
        grid-template-columns: 1fr;
    }

    .esg29-page .esg29-score-panel h4 {
        font-size: 20px;
    }

    .esg29-page .esg29-policy-panel {
        padding: 34px 26px 36px;
        border-radius: 32px;
    }

    .esg29-page .esg29-policy-panel h4 {
        font-size: 30px;
    }

    .esg29-page .esg29-policy-panel p {
        font-size: 18px;
    }

    .esg29-page .esg29-process-grid {
        grid-template-columns: 1fr;
    }

    .esg29-page .esg29-process-arrow {
        min-height: 86px;
        padding: 14px 24px 14px 38px;
    }

    .esg29-page .esg29-process-title {
        font-size: 22px;
    }

    .esg29-page .esg29-process-card h4 {
        font-size: 18px;
    }

    .esg29-page .esg29-criteria-panel {
        padding: 24px 22px 22px;
    }

    .esg29-page .esg29-criteria-panel h4 {
        font-size: 28px;
    }

    .esg29-page .esg29-criteria-row {
        grid-template-columns: 1fr;
        gap: 18px;
        justify-items: center;
        text-align: center;
    }

    .esg29-page .esg29-criteria-body {
        font-size: 1vw;
    }
}

@media (max-width: 768px) {
    .esg29-page .esg-table-title {
        font-size: 18px;
    }

    .esg29-page .esg29-data-source {
        text-align: left;
    }

    .esg29-page .esg29-score-panel {
        padding: 20px 16px 18px;
    }

    .esg29-page .esg29-chart-block {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .esg29-page .esg29-donut-shell {
        width: min(100%, 240px);
    }

    .esg29-page .esg29-score-panel h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .esg29-page .esg29-legend li {
        font-size: 15px;
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 10px;
    }

    .esg29-page .esg29-legend .swatch {
        width: 22px;
        height: 22px;
    }

    .esg29-page .esg29-chart-note,
    .esg29-page .esg29-score-notes {
        font-size: 14px;
    }

    .esg29-page .esg29-donut-center .label {
        font-size: 12px;
    }

    .esg29-page .esg29-donut-center .value {
        font-size: 18px;
    }

    .esg29-page .esg29-score-table th {
        font-size: 16px;
    }

    .esg29-page .esg29-score-table td {
        font-size: 14px;
    }

    .esg29-page .esg29-policy-panel {
        padding: 24px 16px 26px;
        border-radius: 24px;
    }

    .esg29-page .esg29-policy-panel h4 {
        font-size: 24px;
    }

    .esg29-page .esg29-policy-panel p {
        font-size: 16px;
        line-height: 1.6;
    }

    .esg29-page .esg29-process-arrow {
        justify-content: center;
        min-height: 76px;
        padding: 12px 18px 12px 32px;
    }

    .esg29-page .esg29-process-title {
        font-size: 18px;
    }

    .esg29-page .esg29-process-card h4 {
        margin: 14px 0 10px;
        font-size: 17px;
    }

    .esg29-page .esg29-process-list li {
        font-size: 14px;
        line-height: 1.7;
    }

    .esg29-page .esg29-criteria-panel {
        padding: 22px 16px 20px;
    }

    .esg29-page .esg29-criteria-panel h4 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .esg29-page .esg29-criteria-row {
        padding: 16px 0;
    }

    .esg29-page .esg29-criteria-label {
        font-size: 22px;
    }

    .esg29-page .esg29-criteria-body {
        font-size: 1.2vw;
        line-height: 1.8;
        text-align: left;
    }
}
