@charset "utf-8";

body {
  background: #f4f4f4;
}

.chart-wrap {
  background-color: #F4F4F4;
  padding: 56px;
}

.chart-block-01, .chart-block-02 {
  max-width: 740px;
  margin-inline: auto;
}

.chart-block-01 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.chart-item {
  background-color: #FFF;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  padding: 48px 10px;
  font-size: 16px;
  gap: 0;
  text-align: center;
  max-width: 230px;
  flex: 1;
  box-sizing: border-box;
}

.chart-item__icon {
  margin-bottom: 32px;
}

.chart-item__ttl {
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
}

.chart-item__data {
  font-weight: 600;
  margin-bottom: 30px;
}

.chart-item__data.is-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.chart-item__data-num {
  color: #DC1E37;
  vertical-align: text-bottom;
  font-size: 56px;
  transform: skew(-8deg);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: 0.4px;
  display: inline-block;
  margin: 0 0.2em 0 0.1em;
  font-family: "Noto Sans JP", sans-serif;
}

.chart-item__note {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.4px;
}

.chart-block-02 {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.chart-block-02 .chart-item {
  display: block;
}

.chart-item2 {
  padding: 48px;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 32px;
  background-color: #FFF;
  align-items: center;
}

.chart-item2 .chart-item__ttl {
  line-height: 1.6;
}

.chart-item2.is-reverse {
  flex-direction: row;
}

@media only screen and (min-width: 0px) and (max-width: 750px) {
  .chart-wrap {
    padding: 24px 16px;
  }

  .chart-block-01 {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
  }

  .chart-item {
    max-width: none;
    padding: 32px 10px 25px;
  }

  .chart-item__icon {
    margin-bottom: 20px;
  }

  .chart-item__ttl {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 12px;
  }

  .chart-item__data {
    margin-bottom: 20px;
  }

  .chart-item__data-num {
    font-size: 40px;
  }

  .chart-block-02 {
    flex-direction: column;
  }

  .chart-block-02 .chart-item {
    max-width: none;
  }

  .chart-item2 {
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
  }
}