.office-introduction {
  position: relative;
  overflow: clip;
  --office-introduction-content-right: 224px;
  --office-introduction-image-width: 1010px;
  --office-introduction-copy-gap: 104px;
  --office-introduction-intro-shift-x: 140px;
  min-height: 922px;
  padding: 0;
  background: #e4e4e4;
}

.office-introduction__intro {
  position: relative;
  left: calc((var(--office-introduction-image-width) * 0.5) + var(--office-introduction-intro-shift-x));
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: grid;
  gap: 26px;
  transform: translateX(-50%);
}

.office-introduction .index-kicker {
  margin: 0;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.4em;
}

.office-introduction .index-title {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.2em;
}

.office-introduction__content {
  position: relative;
  margin-top: 116px;
  min-height: 587px;
  padding-right: var(--office-introduction-content-right);
  box-sizing: border-box;
  z-index: 1;
}

.office-introduction__visual {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--office-introduction-image-width);
  min-height: 0;
}

.office-introduction__photo {
  position: relative;
  width: 100%;
  height: 587px;
  overflow: hidden;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  background:
    linear-gradient(165deg, rgba(245, 241, 236, 0.84), rgba(245, 241, 236, 0.72)),
    linear-gradient(120deg, rgba(62, 123, 86, 0.22), rgba(234, 115, 57, 0.26));
}

.office-introduction__photo img,
.office-introduction__photo span {
  display: block;
  width: 100%;
  height: 100%;
}

.office-introduction__photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.office-introduction__photo span {
  background:
    linear-gradient(145deg, rgba(62, 123, 86, 0.28), rgba(62, 123, 86, 0)),
    linear-gradient(35deg, rgba(234, 115, 57, 0.34), rgba(234, 115, 57, 0.12)),
    linear-gradient(180deg, #f8f4ef, #ece6df);
}

.office-introduction__body {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: calc(var(--office-introduction-image-width) + var(--office-introduction-copy-gap));
  transform: translateY(-50%);
  width: min(
    437px,
    calc(100% - var(--office-introduction-image-width) - var(--office-introduction-copy-gap) - var(--office-introduction-content-right))
  );
}

.office-introduction__copy {
  margin: 0;
  font-family: var(--tomato-copy-font);
  font-size: 24px;
  font-weight: 500;
  line-height: 72px;
  letter-spacing: 1.2px;
  color: #1f1f1f;
  white-space: nowrap;
}

.office-introduction__link {
  margin-top: 40px;
}

.office-introduction__corner-art {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: clamp(260px, 36vw, 598px);
  aspect-ratio: 598 / 427;
  background-image: var(--office-introduction-corner-art);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

 @media (max-width: 767px) {
  .office-introduction__intro {
    left: auto;
    width: 85%;
    margin: 0;
    margin-inline: auto;
    padding-inline: 0;
    transform: none;
  }

  .office-introduction .index-kicker,
  .office-introduction .index-title {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .office-introduction__content {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 72px;
    min-height: 0;
    padding-inline: 24px;
  }

  .office-introduction__visual {
    position: static;
    width: 100%;
    min-height: 300px;
  }

  .office-introduction__photo {
    width: min(100%, 1010px);
    height: auto;
    aspect-ratio: 1010 / 587;
  }

  .office-introduction__body {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 85%;
    margin-inline: auto;
    padding-top: 0;
  }

  .office-introduction__copy {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    white-space: normal;
  }

  .office-introduction__link {
    width: fit-content;
    margin-inline: auto;
  }

  .office-introduction__corner-art {
    width: clamp(220px, 42vw, 420px);
  }
}

 @media (max-width: 720px) {
  .office-introduction__intro {
    padding-inline: 0;
  }

  .office-introduction {
    min-height: 0;
    padding-block: 64px;
  }

  .office-introduction__content {
    gap: 24px;
    margin-top: 40px;
    padding-inline: 0;
  }

  .office-introduction__visual {
    min-height: 240px;
  }

  .office-introduction__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1010 / 587;
  }

  .office-introduction__copy {
    font-size: 16px;
    line-height: 36px;
    letter-spacing: 0.04em;
  }

  .office-introduction__link {
    margin-top: 32px;
  }

  .office-introduction__corner-art {
    width: clamp(180px, 52vw, 320px);
  }
}
