 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #133284;
    --navy-light: #2a5080;
    --orange: #e82782;
    --bg: #ffffff;
    --text: #1B3A5C;
    --text-muted: #6b7a8d;
    --border: rgba(27,58,92,0.15);
  }
.kpi-row02 {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap:15px;
    margin-bottom: 64px;
  }
.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:15px;
    margin-bottom: 64px;
  }



.kpi-item {
    text-align: center;
     opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  }
  @media (max-width: 640px) {
    .kpi-row {
      grid-template-columns: repeat(2, 1fr);
          gap:30px 20px;
    }
  }

  .kpi-item:last-child { border-right: none; }
  @media (max-width: 640px) {
    .kpi-item:nth-child(2) { border-right: none; }
    .kpi-item:nth-child(3) { border-top: none; }
    .kpi-item:nth-child(4) { border-top: none; }
   
  }
  .kpi-item.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .kpi-icon {
      display: block;
 
    line-height: 1;
    width: 50%;
      margin: 0 auto 1rem;
  }
.kpi-icon02 {
      display: block;
 width: 33%;
    line-height: 1;

      margin: 0 auto 1rem;
  }

  .kpi-label {
    font-size: 1.25rem;
      font-weight: 600;
  
    color: var(--navy);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    line-height: 1.5;
  }
  .kpi-label small {
    font-size: 12px;
    font-weight: 400;
      display: block;
  }
  .kpi-value {
    font-size: clamp(36px, 4vw, 72px);
  font-weight: 400;
    color: var(--orange);
    line-height: 0.5;
    letter-spacing: -0.02em;
   
    align-items: baseline;
    gap: 3px;
    flex-wrap: wrap;
      margin-bottom: 2rem;
      white-space: nowrap;
  }

  .kpi-value .unit {
    font-size: 0.3em;
    font-weight: 400;
    color: var(--orange);
    letter-spacing: 0;
  }
  .kpi-value .prefix {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
  }
  .kpi-note {
    text-align: left;
    font-size: 12px;
    color: var(--navy);
    margin-top: 1rem;
    line-height: 1.7;
    font-weight: 300;
  }

  /* ===== SECTION HEADING ===== */
  .section-heading {
    margin-bottom: 40px;
  }
  .section-heading h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--navy);
    display: inline-block;
  }

  /* ===== CHARTS ROW ===== */
  .charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
        max-width: 1600px;
  margin: 0 auto; 
  }
  @media (max-width: 640px) {
    .charts-row { grid-template-columns: 1fr; }
  }

  .chart-section {
    padding: 16px 0px 28px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .chart-section:first-child {
   
  }

  .chart-section.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .chart-title {
      font-size: 1.25rem;
    font-weight: 400;
    color: var(--navy);
    text-align: center;
    margin-bottom: -25px;
  }
  .chart-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 12px;
  }
.chart-section {
    padding: 0px;
  }
  .chart-wrap {
  width: 100%;
  position: relative;
  aspect-ratio: 1 / 1; /* 正方形を維持 */
  }
  .chart-wrap canvas {
    display: block;
    margin: 0 auto;
       width: 100%!important;
    height: auto!important;
  }
  .chart-legend {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: center;
  }
  .legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .legend-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .legend-item strong {
    color: var(--navy-light);
    font-weight: 600;
  }.legend-dot--0 { background: #0d3a5c; }
.legend-dot--1 { background: #1a5276; }
.legend-dot--2 { background: #2e6d94; }
.legend-dot--3 { background: #4389b0; }
.legend-dot--4 { background: #5fa5cb; }
.legend-dot--5 { background: #7bbfdf; }
.legend-dot--6 { background: #9ed0e8; }
.legend-dot--7 { background: #b8dff0; }
.legend-dot--8 { background: #cde9f5; }
.legend-dot--9 { background: #dff2f9; }

  @media (max-width: 640px) {
    .chart-section:first-child {
      border-right: none;
      
    } .kpi-note {
     font-size: 10px;
      margin-top: 1.5rem;
    line-height: 1.4;
    font-weight: 300;
  }
      
        .chart-wrap {
  width: 100%;
  position: relative;
  /* aspect-ratio: 1 / 1; 正方形を維持 */
  }
  .chart-wrap canvas {
    display: block;
    margin: 0 auto;
       width: 100% !important;
    height: auto !important;
  }
        .chart-title {
      font-size: 2rem;
    font-weight: 400;
    color: var(--navy);
    text-align: center;
    margin-bottom: 0px;
  }
 .chart-section:last-child .chart-wrap {
    margin-top: -30px;
  }
      .chart-section:first-child .chart-wrap {
    margin-bottom: 20px;
  }
        .chart-wrap {
    aspect-ratio: unset;
    height: auto;
  }
      #chart2 {
    margin-bottom: -30px;
  }
       .legend-item {
   
    font-size: 12px;
text-align: left;
           letter-spacing: 0px;
  }
       .chart-legend {
 
    justify-content: flex-start;
  }
       .chart-subtitle {
    font-size: 12px;
   
    text-align: left;
    
  } .chart-section:first-child {
    margin-bottom: -40px;
  }.kpi-row02 {
    grid-template-columns: 1fr 1fr;
  }  .kpi-row02 .kpi-item:last-child {
    grid-column: 1 / -1;
  }
      .kpi-row {
          margin-bottom: 32px
      }
      .kpi-label {
    font-size: 1.5rem;
 
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
      .kpi-row02 .kpi-item:first-child {
    grid-column: span 1;
    width: 85%;
  }
  .kpi-row02 .kpi-item:nth-child(2) {
    grid-column: span 1;
    width: 115%;
      }
.kpi-value {
    margin-bottom: 2rem
      }

.legend-dot--0 { background: #0d3a5c; }
.legend-dot--1 { background: #1a5276; }
.legend-dot--2 { background: #2e6d94; }
.legend-dot--3 { background: #4389b0; }
.legend-dot--4 { background: #5fa5cb; }
.legend-dot--5 { background: #7bbfdf; }
.legend-dot--6 { background: #9ed0e8; }
.legend-dot--7 { background: #b8dff0; }
.legend-dot--8 { background: #cde9f5; }
.legend-dot--9 { background: #dff2f9; }

}