.background-image-bottom {
  top: calc(100% - 1000px);
}

.content {
  width: 100%;
  margin: 0;
  padding: 0;
}

.relationship-container {
  display: flex;
  padding-top: 120px;
  position: relative;
  z-index: 1;
}

.relationship-image {
  flex: 0 0 56.8%;
  width: 56.8%;
  height: fit-content;
}

.relationship-information {
  padding-left: 80px;
  padding-right: 13.4%;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.relationship-title {
  color: var(--blackheading);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 180%;
  letter-spacing: 0.96px;
  margin-top: 12px;
}

.relationship-content {
  color: var(--graybody);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  margin-top: 28px;
}

.medium-break {
  display: none;
}

.consolidated-subsidiary-wrapper {
  padding: 160px 12.6% 120px;
}

.article-header {
  margin-bottom: 40px;
}

.wrap-around {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--grayline);
}

.article-body .wrap-around:not(:first-child) {
  padding-top: 48px;
}

.wrap-around .company-logo {
  flex: 0 0 416px;
  border: 1px solid var(--grayline);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 416px;
  height: 234px;
}

.provision img {
  width: 254px;
  height: 140px;
}

.tokyo-business-service img {
  width: 276px;
  height: 182px;
}

.tbs-operation img {
  width: 330px;
  height: 218px;
}

.gaga img {
  width: 164px;
  height: 108.808px;
}

.idy img {
  width: 186px;
  height: 124px;
}

.mingal img {
  width: 150px;
  height: 112px;
}

.systena-america img {
  width: 216px;
  height: 144px;
}

.systena-vietnam img {
  width: 216px;
  height: 143.723px;
}

.provision-vn img {
  width: 254px;
}

.his img {
  width: 160px;
}

.thinklogic img {
  width: 280px;
}

.strong-key img {
  width: 190px;
  height: 126px;
}

.one-tech img {
  width: 148px;
  height: 98px;
}

.company-name {
  display: flex;
  align-items: center;
  width: fit-content;
}

.company-name:hover {
  text-decoration: none;
}

.company-name:hover span {
  color: var(--vivid-orange);
}

.company-name span {
  color: var(--blackheading);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 180%;
}

.company-link {
  display: inline-block;
  margin-left: 14px;
}

.company-information {
  display: grid;
  grid-template-columns: 120px auto;
  grid-column-gap: 20px;
  grid-row-gap: 8px;
  margin-top: 20px;
}

.company-information-title {
  color: var(--blackheading);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
}

.company-information-content {
  color: var(--graybody);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
}

.grid-container .link-group:first-child .information-wrapper {
  background-image: url(/about/img/history_img02.png);
  background-position: center center;
  background-size: cover;
}

.grid-container .link-group:last-child .information-wrapper {
  background-image: url(/sustainability/img/sustainability_img01.png);
  background-position: center center;
  background-size: cover;
}

@media screen and (max-width: 1280px) {
  .relationship-information {
    padding-right: 80px;
  }

  .wrap-around .company-logo {
    flex: 0 0 35%;
    width: 35%;
    height: 180px;
    padding: 0 30px;
  }

  .provision img {
    width: 234px;
    height: 129px;
  }

  .tokyo-business-service img {
    width: 236px;
    height: 155px;
  }

  .tbs-operation img {
    width: 230px;
    height: 152px;
  }

  .thinklogic img {
    width: 200px;
  }
}

@media screen and (max-width: 1024px) {
  .relationship-container {
    padding-top: 100px;
    flex-direction: column-reverse;
  }

  .relationship-image {
    width: 100%;
    padding-right: 20px;
    margin-top: 60px;
  }

  .wrap-around .company-logo {
    height: 170px;
  }

  .provision img,
  .tokyo-business-service img,
  .tbs-operation img,
  .gaga img,
  .idy img,
  .mingal img,
  .systena-america img,
  .systena-vietnam img,
  .provision-vn img,
  .his img,
  .thinklogic img,
  .strong-key img,
  .one-tech img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .consolidated-subsidiary-wrapper {
    padding: 80px 12.6%;
  }

  .wrap-around {
    width: 100%;
    flex-direction: column;
  }

  .wrap-around .company-logo {
    flex: 0 0 auto;
    width: 100%;
    height: 230px;
  }
}

/* MOBILE */
@media screen and (max-width: 600px) {
  .content {
    padding: 60px 0 32px 0;
  }

  .relationship-container {
    padding-top: 0;
    flex-direction: column-reverse;
  }

  .relationship-information {
    padding: 0 20px;
  }

  .relationship-title {
    margin-top: 6px;
    font-size: 20px;
    letter-spacing: 0.8px;
  }

  .consolidated-subsidiary-wrapper {
    padding: 60px 20px 0;
  }

  .article-body .wrap-around:not(:first-child) {
    padding-top: 28px
  }

  .wrap-around {
    width: 100%;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 28px;
  }

  .wrap-around .company-logo {
    flex: 0 0 auto;
    width: 100%;
    height: 197px;
  }

  .company-name span {
    font-size: 18px;
  }

  .company-link {
    margin-left: 8px;
  }

  .provision img {
    width: 254px;
    height: 140px;
  }

  .tokyo-business-service img {
    width: 276px;
    height: 182px;
  }

  .tbs-operation img {
    width: 330px;
    height: 218px;
  }

  .gaga img {
    width: 164px;
    height: 108.808px;
  }

  .idy img {
    width: 186px;
    height: 124px;
  }

  .mingal img {
    width: 150px;
    height: 112px;
  }

  .systena-america img {
    width: 216px;
    height: 144px;
  }

  .systena-vietnam img {
    width: 216px;
    height: 143.723px;
  }

  .provision-vn img {
    width: 254px;
  }

  .his img {
    width: 160px;
  }

  .thinklogic img {
    width: 250px;
  }

  .strong-key img {
    width: 136px;
    height: 91px;
  }

  .one-tech img {
    width: 148px;
    height: 98px;
  }
}
