/* data */

.stats-cards {
  margin-top: 180px;
  padding-bottom: 365px;
}

@media only screen and (max-width: 768px) {
  .stats-cards {
    margin-top: 60px;
    padding-bottom: 160px;
  }
}

.stats-cards__wrapper {
  display: flex;
  flex-direction: column;
  gap: 211px;
}

@media only screen and (max-width: 768px) {
  .stats-cards__wrapper {
    gap: 80px;
  }
}

.stats-cards__heading {
  position: relative;
  font-size: 3.2rem;
  font-weight: 700;
  color: #000;
  padding-left: 30px;
}

@media only screen and (max-width: 768px) {
  .stats-cards__heading {
    font-size: 2.4rem;
    padding-left: 20px;
  }
}

.stats-cards__heading::before {
  position: absolute;
  content: "";
  background-color: #f0831e;
  width: 14px;
  height: 14px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.stats-cards__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, auto);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

.stats-cards__grid--second {
  grid-template-rows: repeat(3, auto);
}

@media only screen and (max-width: 1200px) {
  .stats-cards__grid,
  .stats-cards__grid--second {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 15px;
  }
}

@media only screen and (max-width: 768px) {
  .stats-cards__grid,
  .stats-cards__grid--second {
    gap: 20px;
  }
}

.stats-cards__item01 {
  grid-area: 1 / 1 / 2 / 4;
  min-height: 250px;
}

.stats-cards__item02 {
  grid-area: 2 / 1 / 3 / 2;
  min-height: 350px;
}

.stats-cards__item03 {
  grid-area: 3 / 1 / 5 / 2;
  min-height: 350px;
}

.stats-cards__item04 {
  grid-area: 2 / 2 / 4 / 4;
}

.stats-cards__item05 {
  grid-area: 4 / 2 / 5 / 4;
  min-height: 190px;
}

.stats-cards__item06 {
  grid-area: 5 / 1 / 6 / 2;
  width: 100%;
}

.stats-cards__item07 {
  grid-area: 5 / 2 / 6 / 3;
  width: 100%;
}

.stats-cards__item08 {
  grid-area: 5 / 3 / 6 / 4;
  width: 100%;
}

.stats-cards__item09 {
  grid-area: 1 / 1 / 2 / 3;
}

.stats-cards__item10 {
  grid-area: 1 / 3 / 2 / 4;
}

.stats-cards__item11 {
  grid-area: 2 / 1 / 3 / 2;
}

.stats-cards__item12 {
  grid-area: 2 / 2 / 3 / 4;
}

@media only screen and (max-width: 768px) {
  .stats-cards__item01,
  .stats-cards__item02,
  .stats-cards__item03,
  .stats-cards__item05,
  .stats-cards__item14 {
    min-height: auto;
  }
}

.stats-cards__item {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  padding: 20px;
}

@media only screen and (max-width: 768px) {
  .stats-cards__item {
    padding: 10px;
  }
}

.stats-card__content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media only screen and (max-width: 1200px) {
  .stats-card__content {
    flex-direction: column;
  }
}

.stats-card__content--flex {
  flex-direction: column;
  width: 100%;
}

.stats-card__content--gap {
  gap: 76px;
}

.stats-card__content--gaps {
  gap: 65px;
}

@media only screen and (max-width: 1200px) {
  .stats-card__content--gap,
  .stats-card__content--gaps {
    gap: 20px;
  }
}

.stats-card__content--height {
  height: auto;
}

@media only screen and (max-width: 768px) {
  .stats-card__content--height {
    flex-direction: column-reverse;
  }
}

.stats-card__label {
  display: flex;
  flex-direction: column;
  width: fit-content;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  height: 62px;
}

@media only screen and (max-width: 768px) {
  .stats-card__label {
    font-size: 2.2rem;
    height: auto;
    margin: 0 auto;
  }
}

.stats-card__label--none {
  height: auto;
}

.stats-card__label--small {
  height: auto;
}

.stats-card__label--bottom {
  position: relative;
  width: auto;
}

@media screen and (max-width: 1200px) {
  .stats-card__label--bottom {
    border-bottom: 1px solid #d9d9d9;
    margin: 0;
    padding-bottom: 10px;
  }
}

.stats-card__label--bottom::before {
  position: absolute;
  content: "";
  width: 95%;
  height: 1px;
  background-color: #d9d9d9;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
}

@media screen and (max-width: 1200px) {
  .stats-card__label--bottom::before {
    display: none;
  }
}

.stats-card__icon img {
  max-width: 187px;
  width: 100%;
  margin-top: 30px;
}

@media only screen and (max-width: 768px) {
  .stats-card__icon img {
    margin-top: 20px;
    max-width: 100px;
  }
}

.stats-card__icon--none img {
  margin-top: 0;
}

.stats-card__icon--small img {
  max-width: 111px;
}

.stats-card__icon--small02 img {
  max-width: 111px;
  margin-top: 14px;
}

@media only screen and (max-width: 768px) {
  .stats-card__icon--small img {
    max-width: 100px;
  }
}

.stats-card__icon--large img {
  max-width: 328px;
}

@media only screen and (max-width: 768px) {
  .stats-card__icon--large img {
    max-width: 200px;
  }
}

.stats-card__note {
  font-size: 1.6rem;
  font-weight: 500;
  color: #000;
}

@media only screen and (max-width: 768px) {
  .stats-card__note,
  .stats-card__note--regular {
    font-size: 1.4rem;
  }
}

.stats-card__note--regular {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: -12px;
}

@media only screen and (max-width: 768px) {
  .stats-card__note--regular {
    margin-top: -6px;
    font-size: 1.4rem;
  }
}

.stats-card__kpi {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.stats-card__kpi--auto {
  margin-top: auto;
}

.stats-card__num {
  font-size: 9rem;
  font-weight: 700;
  color: #000;
  font-style: italic;
  font-family: "Roboto", sans-serif;
}

.stats-card__num--large {
  font-size: 11rem;
}

@media only screen and (max-width: 1200px) {
  .stats-card__num--large {
    font-size: 9rem;
  }
}

@media only screen and (max-width: 768px) {
  .stats-card__num,
  .stats-card__num--large {
    font-size: 4.5rem;
  }
}

.stats-card__unit {
  font-size: 4rem;
  font-weight: 700;
  color: #000;
}

@media only screen and (max-width: 768px) {
  .stats-card__unit {
    font-size: 1.6rem;
  }
}

.stats-card__small {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #777;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.stats-card__bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  height: 100%;
}

@media only screen and (max-width: 1200px) {
  .stats-card__bottom {
    flex-direction: column;
    gap: 20px;
  }
}

.stats-card__bottom-flex-wrap {
  display: flex;
  gap: 145px;
  justify-content: center;
}

@media only screen and (max-width: 1200px) {
  .stats-card__bottom-flex-wrap {
    gap: 30px;
    flex-direction: column;
  }
}

.stats-card__bottom-flex {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: center;
  gap: 164px;
}

@media only screen and (max-width: 1200px) {
  .stats-card__bottom-flex {
    flex-direction: column;
    gap: 20px;
    margin-left: 0;
  }
}

.stats-card__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media only screen and (max-width: 768px) {
  .stats-card__list {
    flex-direction: column-reverse;
  }
}

/* ドーナツチャート */
.stats-card__chart {
  margin-top: 31px;
  position: relative;
}

.stats-card__donut {
  max-width: 726px;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .stats-card__donut {
    max-width: initial;
  }
}

.stats-card__donut img {
  width: 100%;
  display: block;
}

@media only screen and (max-width: 768px) {
  .stats-card__donut img {
    width: 73vw;
  }
}

.stats-card__legend-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}

@media only screen and (max-width: 768px) {
  .stats-card__legend-item {
    gap: 0;
  }
}

.stats-card__legend-item--top {
  top: -2%;
  left: 4%;
}

@media only screen and (max-width: 768px) {
  .stats-card__legend-item--top {
    top: -1vw;
    left: 5vw;
  }
}

.stats-card__legend-item--middle {
  top: 56%;
  left: 1%;
}

@media only screen and (max-width: 768px) {
  .stats-card__legend-item--middle {
    top: 19.5vw;
    left: -1vw;
  }
}

.stats-card__legend-item--bottom {
  bottom: 35%;
  right: 2%;
}

@media only screen and (max-width: 768px) {
  .stats-card__legend-item--bottom {
    bottom: 11.5vw;
    right: 2vw;
  }
}

.stats-card__legend-text,
.stats-card__legend-unit {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  font-style: normal;
}

@media only screen and (max-width: 768px) {
  .stats-card__legend-text,
  .stats-card__legend-unit {
    font-size: 2.4vw;
  }
}

.stats-card__legend-num-wrapper {
  display: flex;
  align-items: flex-end;
}

.stats-card__legend-num {
  font-size: 6rem;
  font-weight: 700;
  color: #000;
  font-family: "Roboto", sans-serif;
  font-style: italic;
  font-weight: 700;
}

@media only screen and (max-width: 768px) {
  .stats-card__legend-num {
    font-size: 5.5vw;
  }
}

.stats-card__legend-unit--block {
  margin-left: auto;
  margin-top: -15px;
}

@media only screen and (max-width: 768px) {
  .stats-card__legend-unit--block {
    margin-top: 0;
  }
}
