/* byNumber content */
main#number {
  background: #e6ecf0;
}

main#number section {
  justify-content: center;
  gap: 1.6rem;
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 22rem;
}

main#number section .left-content,
main#number section .right-content {
  flex-direction: column;
  gap: 1.6rem;
  width: calc(50% - 8px);
}

main#number section .left-content > div,
main#number section .right-content > div {
  position: relative;
  height: 100%;
  border-radius: 2.4rem;
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}
main#number section .box-list > div p {
  position: absolute;
  color: #006dff;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.72px;
}
main#number section .box-list > div p strong {
  font-weight: 700;
  font-size: 9.6rem;
  font-family: "Montserrat", sans-serif;
}
main#number section .box-list > div p .text-40 {
  font-weight: 700;
  font-size: 4rem;
}
main#number section .box-list > div p .block-area {
  display: block;
}
main#number section .box-list > div p .cfx {
  align-items: center;
}
main#number section .box-list > div p .cfx-column {
  flex-direction: column;
  align-items: center;
}
main#number section .box-list > div p .custom-wide {
  display: inline-block;
  max-width: 28rem;
}
main#number section .box-list > div p .text-wrap {
  display: block;
  margin: 0 0 0 auto;
  font-size: 14px;
}

.content-year {
  aspect-ratio: 264 / 269;
  max-height: 53.8rem;
  background-image: url("../images/illust-number_year.svg");

  p {
    top: 3.4rem;
    left: 7.1rem;
  }
}
.content-employee {
  aspect-ratio: 264 / 149;
  max-height: 29.8rem;
  background-image: url("../images/illust-number_employee.svg");
  background-position: left bottom !important;

  p {
    top: 4.2rem;
    left: 31.9rem;
  }
}
.content-malefemale {
  aspect-ratio: 8 / 7;
  max-height: 46.2rem;
  background-image: url("../images/illust-number_malefemale.svg");
  background-size: 85% !important;

  p {
    top: 2.8rem;
    left: 5rem;
  }
}
.content-bunri {
  aspect-ratio: 88 / 61;
  max-height: 36.6rem;
  background-image: url("../images/illust-number_bunri.svg");
  background-position: right bottom !important;
  background-size: 50% !important;

  p {
    top: 1.8rem;
    left: 2.7rem;
  }
}
.content-sales {
  aspect-ratio: 264 / 239;
  max-height: 47.8rem;
  background-image: url("../images/illust-number_sales.svg");
  background-size: 90% !important;

  p {
    top: 3.6rem;
    left: 5rem;
  }
}
.content-length {
  aspect-ratio: 528 / 293;
  max-height: 29.3rem;
  background-image: url("../images/illust-number_length.svg");
  background-position: right 35px bottom !important;
  background-size: 55% !important;

  P {
    top: 2.1rem;
    left: 2.8rem;
  }
}
.content-vacances {
  aspect-ratio: 528 / 229;
  max-height: 22.9rem;
  background-image: url("../images/illust-number_vacances.svg");
  background-position: left bottom !important;

  p {
    top: 4rem;
    left: 27.4rem;
  }
}
.content-old {
  aspect-ratio: 176 / 127;
  max-height: 38.1rem;
  background-image: url("../images/illust-number_old.svg");
  background-position: right bottom !important;
  background-size: 75% !important;

  p {
    top: 3.4rem;
    left: 4.6rem;
  }
}
.content-parental {
  aspect-ratio: 176 / 151;
  max-height: 45.3rem;
  background-image: url("../images/illust-number_parental.svg");
  background-position: right bottom !important;

  p {
    top: 2.6rem;
    left: 4rem;
  }
}
.content-mycar {
  aspect-ratio: 264 / 215;
  max-height: 43rem;
  background-image: url("../images/illust-number_mycar.svg");

  p {
    top: 2.7rem;
    left: 4rem;
  }

  .cfx {
    margin-top: 1rem;
  }
}
.content-exchange {
  aspect-ratio: 132 / 85;
  max-height: 34rem;
  background-image: url("../images/illsut-number_exchange.svg");
  background-position: left bottom !important;

  p {
    top: 3.4rem;
    left: 22.4rem;
  }
}

@media screen and (min-width: 1513px) {
  main#number section {
    gap: 16px;
    padding: 0 220px;
  }
  main#number section .left-content,
  main#number section .right-content {
    gap: 16px;
  }
  main#number section .left-content > div,
  main#number section .right-content > div {
    border-radius: 24px;
  }
  main#number section .box-list > div p {
    font-size: 24px;
  }
  main#number section .box-list > div p strong {
    font-size: 96px;
  }
  main#number section .box-list > div p .text-40 {
    font-size: 40px;
  }
  main#number section .box-list > div p .custom-wide {
    max-width: 280px;
  }
  .content-year {
    max-height: 538px;
    p {
      top: 34px;
      left: 71px;
    }
  }
  .content-employee {
    max-height: 298px;
    p {
      top: 42px;
      left: 319px;
    }
  }
  .content-malefemale {
    max-height: 462px;
    p {
      top: 28px;
      left: 50px;
    }
  }
  .content-bunri {
    max-height: 366px;
    p {
      top: 18px;
      left: 27px;
    }
  }
  .content-sales {
    max-height: 478px;
    p {
      top: 36px;
      left: 50px;
    }
  }
  .content-length {
    max-height: 293px;
    P {
      top: 21px;
      left: 28px;
    }
  }
  .content-vacances {
    max-height: 229px;
    p {
      top: 40px;
      left: 274px;
    }
  }
  .content-old {
    max-height: 381px;
    p {
      top: 34px;
      left: 46px;
    }
  }
  .content-parental {
    max-height: 453px;
    p {
      top: 26px;
      left: 40px;
    }
  }
  .content-mycar {
    max-height: 430px;
    p {
      top: 27px;
      left: 40px;
    }
    .cfx {
      margin-top: 10px;
    }
  }
  .content-exchange {
    max-height: 340px;

    p {
      top: 34px;
      left: 224px;
    }
  }
}

@media screen and (max-width: 768px) {
  main#number section {
    padding: 0;
  }
  main#number section,
  main#number section .left-content,
  main#number section .right-content {
    gap: 0.6rem;
  }
  main#number section .left-content > div,
  main#number section .right-content > div {
    border-radius: 0.8rem;
  }
  main#number section .box-list > div p {
    font-size: 0.9rem;
    letter-spacing: 0;
  }
  main#number section .box-list > div p strong {
    font-size: 3.2rem;
  }
  main#number section .box-list > div p .text-40 {
    font-size: 1.4rem;
  }
  main#number section .box-list > div p .custom-wide {
    max-width: 10rem;
  }
  main#number section .box-list > div p .text-wrap {
    font-size: 8px;
  }
  .content-year {
    aspect-ratio: 44 / 45;
    max-height: 18rem;

    p {
      top: 1.1rem;
      left: 1rem;
    }
  }
  .content-employee {
    aspect-ratio: 44 / 25;
    max-height: 10rem;

    p {
      top: 1.5rem;
      left: 10.4rem;
    }
  }
  .content-malefemale {
    aspect-ratio: 176 / 155;
    max-height: 15.5rem;

    p {
      top: 0.9rem;
      left: 0.6rem;
    }
  }
  .content-bunri {
    aspect-ratio: 176 / 123;
    max-height: 12.3rem;

    p {
      top: 0.9rem;
      left: 0.9rem;
    }
  }
  .content-sales {
    aspect-ratio: 11 / 10;
    max-height: 16rem;

    p {
      top: 1.2rem;
      left: 0.8rem;
    }
  }
  .content-length {
    aspect-ratio: 88 / 49;
    max-height: 98rem;
    background-position: right 1rem bottom !important;

    p {
      top: 0.7rem;
      left: 0.6rem;
    }
  }
  .content-vacances {
    aspect-ratio: 176 / 75;
    max-height: 75rem;

    p {
      top: 1.4rem;
      left: 8.6rem;
    }
  }
  .content-old {
    aspect-ratio: 11 / 8;
    max-height: 12.8rem;

    p {
      top: 1.1rem;
      left: 1.1rem;
    }
  }
  .content-parental {
    aspect-ratio: 22 / 19;
    max-height: 15.2rem;

    p {
      top: 1.1rem;
      left: 1.1rem;
    }
  }
  .content-mycar {
    aspect-ratio: 11 / 9;
    max-height: 14.4rem;

    p {
      top: 0.8rem;
      left: 0.8rem;
    }
    .cfx {
      margin-top: 0.5rem;
    }
  }
  .content-exchange {
    aspect-ratio: 88 / 57;
    max-height: 11.4rem;
    background-position: left -0.6rem bottom !important;
    background-size: 45% !important;

    p {
      top: 1.1rem;
      left: 6.6rem;
    }
  }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  main#number section .box-list > div p {
    font-size: 1.6rem;
  }
  main#number section .box-list > div p strong {
    font-size: 5.2rem;
  }
  main#number section .box-list > div p .custom-wide {
    max-width: 19rem;
  }
  main#number section .box-list > div p .text-wrap {
    font-size: 14px;
  }
  .content-year {
    aspect-ratio: 264 / 269;
    max-height: 53.8rem;
  
    p {
      top: 3.4rem;
      left: 6.1rem;
    }
  }
  .content-employee {
    aspect-ratio: 264 / 149;
    max-height: 29.8rem;
  
    p {
      top: 4.2rem;
      left: 22.9rem;
    }
  }
  .content-malefemale {
    aspect-ratio: 8 / 7;
    max-height: 46.2rem;

    p {
      top: 2.8rem;
      left: 5rem;
    }
  }
  .content-bunri {
    aspect-ratio: 88 / 61;
    max-height: 36.6rem;
  
    p {
      top: 1.8rem;
      left: 2.7rem;
    }
  }
  .content-sales {
    aspect-ratio: 264 / 239;
    max-height: 47.8rem;
  
    p {
      top: 3.6rem;
      left: 5rem;
    }
  }
  .content-length {
    aspect-ratio: 528 / 293;
    max-height: 29.3rem;
  
    P {
      top: 2.1rem;
      left: 2.8rem;
    }
  }
  .content-vacances {
    aspect-ratio: 528 / 229;
    max-height: 22.9rem;
  
    p {
      top: 4rem;
      left: 20.4rem;
    }
  }
  .content-old {
    aspect-ratio: 176 / 127;
    max-height: 38.1rem;
  
    p {
      top: 3.4rem;
      left: 4.6rem;
    }
  }
  .content-parental {
    aspect-ratio: 176 / 151;
    max-height: 45.3rem;
  
    p {
      top: 2.6rem;
      left: 4rem;
    }
  }
  .content-mycar {
    aspect-ratio: 264 / 215;
    max-height: 43rem;
  
    p {
      top: 2.7rem;
      left: 4rem;
    }
  
    .cfx {
      margin-top: 1rem;
    }
  }
  .content-exchange {
    aspect-ratio: 132 / 85;
    max-height: 34rem;
  
    p {
      top: 3.4rem;
      left: 15.4rem;
    }
  }
}

