.wrap__company-business-activities {
  padding-top: 22.4rem;
  overflow: hidden;
}

.wrap__company-business-activities .wrap__title-head {
  position: relative;
  margin-bottom: 20.8rem;
  margin-left: 24.44%;
  max-width: 52.78%;
}

.wrap__company-business-activities .wrap__title-head h2 {
  display: flex;
  align-items: center;
  font-size: 2.8rem;
  line-height: 3.4rem;
  letter-spacing: 0;
  font-weight: 530;
  color: var(--color-gray);
  gap: 2.4rem;
  margin-bottom: 4.7rem;
}

.wrap__company-business-activities .wrap__title-head h2:before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 2.7rem;
  margin-top: 0.3rem;
  background-color: var(--color-yellow);
}

.wrap__company-business-activities .wrap__title-head p {
  font-size: 1.6rem;
  line-height: 3.6rem;
  margin-block: 0;
}

.wrap__business-activities {
  margin-left: 24.44%;
  padding-right: 8.61%;
}

.wrap__business-activity {
  position: relative;
}

.wrap__business-activity-tsukuru {
  margin-bottom: 14.1rem;
}

.wrap__business-activity .number {
  position: absolute;
  top: -11.5rem;
  left: -12.4rem;
  color: var(--color-yellow);
  font-family: var(--font-featured);
  font-size: 15.6rem;
  line-height: 17.4rem;
  font-weight: 200;
  letter-spacing: 0.05em;
}

.wrap__business-activity .title-JP {
  position: absolute;
  top: -.3rem;
  left: 7rem;
  max-width: 4.8rem;
  font-size: 4.8rem;
  line-height: 5.8rem;
  font-weight: 330;
  letter-spacing: 0.1em;
  color: black;
  transform: translateY(-50%);
  z-index: 2;
}

.wrap__business-activity .title {
  position: absolute;
  top: -2.4rem;
  left: 13.3rem;
  font-size: 1.6rem;
  line-height: 1.8rem;
  letter-spacing: 0;
  font-weight: 300;
  font-family: var(--font-featured);
  color: black;
}

.wrap__list-content {
  position: relative;
  background: white;
  border: 1px solid #000000;
  padding: 10.5rem 6.4rem 7rem;
}

.wrap__list-content .wrap__content:not(:last-child) {
  margin-bottom: 7.6rem;
}

.wrap__list-content .wrap__content:has(img) {
  display: flex;
  gap: 4rem;
  margin-bottom: 7.7rem;
}

.wrap__list-content .wrap__content:has(img)+.wrap__content:has(img) {
  margin-top: 8.5rem;
}

.wrap__list-content .wrap__content img {
  flex: 0 0 33.58%;
  max-width: 33.58%;
  height: 100%;
}

.wrap__list-content .wrap__content:has(img) .content {
  flex: 1;
}

.wrap__list-content .wrap__content .content h5 {
  font-size: 1.8rem;
  line-height: 2.2rem;
  letter-spacing: 0.01em;
  font-weight: 530;
  margin-bottom: 3.5rem;
}

.wrap__list-content .wrap__content .content p {
  font-size: 1.4rem;
  line-height: 3.2rem;
  margin-block: 0;
}

.wrap__thumb-right {
  position: relative;
  max-width: 46.68%;
  height: 0;
  padding-bottom: 31.12%;
  margin-left: auto;
  margin-bottom: -10.3734%;
  z-index: 2;
}

.wrap__thumb-right img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid black;
  object-fit: cover;
  object-position: center;
}

.wrap__business-activity-hagukumu {
  margin-bottom: 31.8464%;
}

.wrap__business-activity-hagukumu .wrap__list-content {
  width: 75.7261%;
  height: auto;
  padding: 9.7rem 6.4rem 7rem;
}

.wrap__business-activity-hagukumu .number,
.wrap__business-activity-hagukumu .title-JP,
.wrap__business-activity-hagukumu .title {
  margin-top: calc(20.7469%);
}

.wrap__business-activity-hagukumu .title-JP {
  /* left: 6rem; */
  letter-spacing: 0.18em;
}

.wrap__business-activity-hagukumu .wrap__content:not(:last-child) {
  margin-bottom: 6rem;
}

.wrap__business-activity-tsunagu .wrap__list-content {
  width: 75.7261%;
  height: auto;
  margin-left: auto;
  padding: 9.6rem 6.4rem 7rem;
}

.wrap__business-activity-tsunagu .number,
.wrap__business-activity-tsunagu .title-JP,
.wrap__business-activity-tsunagu .title {
  margin-left: 24.2739%;
}

.wrap__thumb-left {
  position: absolute;
  bottom: 0;
  left: -7.054%;
  width: 31.3278%;
  height: 0;
  padding-bottom: 20.85%;
}

.wrap__thumb-left img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid black;
  border-right: 0;
  object-fit: cover;
  object-position: center;
}

.wrap__business-activity .sep {
  position: absolute;
  z-index: 0;
  overflow: hidden;
}

.wrap__business-activity .sep .wrap-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 0;
  transform: translate(-50%, -50%) rotate(-50.5deg);
  pointer-events: none;
}

.wrap__business-activity .sep .wrap-line .line {
  display: block;
  height: 1rem;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: right center;
}

.wrap__business-activity-tsukuru .sep-top {
  top: -39.4rem;
  right: -15.8714%;
  width: 48.444%;
  padding-top: 57.8839%;
}

.wrap__business-activity-tsukuru .sep-left {
  bottom: 15rem;
  left: -41.805%;
  width: 47.3029%;
  padding-top: 12.0332%;
}

.wrap__business-activity-tsukuru .sep-left .wrap-line {
  transform: translate(-50%, -50%) rotate(-15deg);
}

.wrap__business-activity-hagukumu .sep-left {
  top: 10.8rem;
  left: -42.1162%;
  width: 50.2075%;
  padding-top: 42.1162%;
}

.wrap__business-activity-hagukumu .sep-left .wrap-line {
  transform: translate(-50%, -50%) rotate(38.5deg);
}

.wrap__business-activity-hagukumu .sep.sep-left .wrap-line .line {
  transform-origin: left center;
}

.wrap__business-activity-hagukumu .sep-bottom {
  top: calc(100% - 1.3rem);
  left: 45.5394%;
  width: 24.8963%;
  padding-top: 35.8921%;
}

.wrap__business-activity-hagukumu .sep-bottom .wrap-line {
  transform: translate(-50%, -50%) rotate(-56.5deg);
}

.wrap__business-activity-hagukumu .square {
  position: absolute;
  width: 13.9%;
  padding-top: 13.9%;
  left: calc(-13.9% - 15.8rem);
  top: 27.5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 131 131'>\%3Crect width='131' height='131' fill='none'/%3E\%3Crect x='0'   y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3C/svg>");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .wrap__business-activities {
    padding-right: 5.6rem;
  }
}

@media screen and (max-width: 1023px) {
  .wrap__company-business-activities {
    padding-top: 8rem;
  }

  .wrap__company-business-activities .wrap__title-head {
    max-width: 100%;
    margin-inline: 2.2rem;
    margin-bottom: 10.7rem;
  }

  .wrap__business-activities {
    margin-left: 0;
    padding-inline: 2.2rem;
  }

  .wrap__business-activity .number {
    position: absolute;
    top: -5.5rem;
    left: -2.4rem;
    font-size: 7.2rem;
    line-height: 8rem;
    letter-spacing: 0;
  }

  .wrap__business-activity .title-JP {
    top: -.1rem;
    left: 6.3rem;
    max-width: 2.4rem;
    font-size: 2.4rem;
    line-height: 2.9rem;
    transform: translateY(-50%);
  }

  .wrap__business-activity .title {
    top: -1.4rem;
    left: 9.4rem;
    font-size: 1.2rem;
    line-height: 1.3rem;
  }

  .wrap__thumb-right {
    max-width: 51.6616%;
    padding-bottom: 38.7462%;
    margin-left: auto;
    margin-right: -2.2rem;
    margin-bottom: -2.6rem;
  }

  .wrap__business-activity-hagukumu {
    margin-bottom: 13.6rem;
  }

  .wrap__business-activity-hagukumu .wrap__list-content {
    width: 100%;
    height: auto;
    padding: 5.4rem 2rem 2.4rem;
  }

  .wrap__business-activity-hagukumu .number,
  .wrap__business-activity-hagukumu .title-JP,
  .wrap__business-activity-hagukumu .title {
    margin-top: calc(30.7372% - 2px);
  }

  .wrap__business-activity-hagukumu .title-JP {
    top: 0;
    left: 6.2rem;
    letter-spacing: 0.1em;
  }

  .wrap__business-activity-hagukumu .title {
    top: -1.3rem;
  }

  .wrap__business-activity-hagukumu .wrap__content:not(:last-child) {
    margin-bottom: 4.8rem;
  }

  .wrap__business-activity-tsunagu {
    display: flex;
    flex-direction: column;
  }

  .wrap__business-activity-tsunagu .wrap__list-content {
    width: 100%;
    height: auto;
    margin-left: auto;
    padding: 5.4rem 2rem 4.2rem;
  }

  .wrap__business-activity-tsunagu .number,
  .wrap__business-activity-tsunagu .title-JP,
  .wrap__business-activity-tsunagu .title {
    margin-left: auto;
  }

  .wrap__business-activity-tsunagu .title-JP {
    top: -.2rem;
  }

  .wrap__thumb-left {
    position: relative;
    bottom: 0;
    left: 0;
    width: 45.3172%;
    padding-bottom: 30.2115%;
    order: 2;
  }

  .wrap__thumb-left img {
    border-top: 0;
    border-right: 1px solid;
  }

  .wrap__business-activity .sep {
    position: absolute;
    z-index: 0;
    overflow: hidden;
  }

  .wrap__business-activity .sep .wrap-line .line {
    height: .5rem;
  }

  .wrap__business-activity-tsukuru .sep-top {
    top: -19.8rem;
    right: -27.33%;
    width: 98.87%;
    padding-top: 117.91%;
  }

  .wrap__business-activity-tsukuru .sep-left {
    bottom: auto;
    top: 24.4rem;
    left: -35.28%;
    width: 41.32%;
    padding-top: 10.5%;
  }

  .wrap__business-activity-hagukumu .sep-left {
    top: 30.9rem;
    left: -17.8%;
    width: 32.66%;
    padding-top: 27.4%;
  }

  .wrap__business-activity-hagukumu .square {
    position: absolute;
    width: 17.27%;
    padding-top: 17.27%;
    left: -3.88%;
    top: -10.9rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 131 131'>\%3Crect width='131' height='131' fill='none'/%3E\%3Crect x='0'   y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='0'   width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='24'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='48'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='72'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='96'  width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='0'   y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='24'  y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='48'  y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='72'  y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='96'  y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3Crect x='120' y='120' width='11' height='11' fill='%23D5D5D5'/%3E\%3C/svg>");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
  }

  .wrap__business-activity-hagukumu .sep-bottom {
    top: calc(100% - 2.2rem);
    left: auto;
    right: 1.97%;
    width: 44.16%;
    padding-top: 63.69%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {

  .wrap__business-activity-hagukumu .number,
  .wrap__business-activity-hagukumu .title-JP,
  .wrap__business-activity-hagukumu .title {
    margin-top: calc(38.7462% - 2.8rem);
  }

  .wrap__company-business-activities .wrap__title-head {
    margin-inline: 3.6rem;
  }

  .wrap__business-activities {
    padding-inline: 3.6rem;
  }

  .wrap__business-activity-hagukumu .sep-bottom {
    padding-top: 40%;
  }
}

@media screen and (max-width: 767px) {
  .wrap__company-business-activities {
    padding-top: 7.8rem;
  }

  .wrap__company-business-activities .wrap__title-head h2 {
    font-size: 1.8rem;
    line-height: 2.2rem;
    gap: 1.4rem;
    margin-bottom: 3.7rem;
  }

  .wrap__company-business-activities .wrap__title-head h2:before {
    width: 0.4rem;
    height: 2rem;
  }

  .wrap__company-business-activities .wrap__title-head p {
    font-size: 1.3rem;
    line-height: 2.8rem;
  }

  .wrap__business-activity-tsukuru {
    margin-bottom: 7.6rem;
  }

  .wrap__list-content {
    padding: 5.6rem 2rem 4.2rem;
  }

  .wrap__business-activity-hagukumu .wrap__list-content {
    padding: 5.4rem 1.8rem 4.2rem;
  }

  .wrap__list-content .wrap__content:not(:last-child) {
    margin-bottom: 4.9rem;
  }

  .wrap__business-activity-hagukumu {
    margin-bottom: 13.4rem;
  }

  .wrap__business-activity-hagukumu .number {
    top: -6rem;
  }

  .wrap__business-activity-hagukumu .title {
    top: -1.3rem;
  }

  .wrap__business-activity-tsunagu .title {
    top: -1.5rem;
  }

  .wrap__list-content .wrap__content:has(img) {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-bottom: 5.1rem;
  }

  .wrap__list-content .wrap__content:has(img)+.wrap__content:has(img) {
    margin-top: 5.2rem;
  }

  .wrap__list-content .wrap__content img {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .wrap__list-content .wrap__content:has(img) .content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .wrap__list-content .wrap__content .content h5 {
    font-size: 1.5rem;
    line-height: 1.8rem;
    letter-spacing: 0.04em;
    font-weight: 530;
    margin-bottom: 2.1rem;
  }

  .wrap__list-content .wrap__content .content p {
    font-size: 1.3rem;
    line-height: 2.8rem;
    margin-block: 0;
  }
}