.work-page {
  min-width: 0;
  background: #fff;
  color: #000000e5;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.work-main {
  grid-row: 2;
  grid-column: 1;
  min-width: 0;
  padding-bottom: 76px;
}

.work-shell {
  display: grid;
  width: min(100%, 1060.5px);
  height: auto;
  grid-template-columns: 337.5px 699px;
  grid-template-rows: auto 1362px;
  column-gap: 24px;
  row-gap: var(--about-subpage-content-gap);
  margin-inline: auto;
}

.work-intro {
  grid-column: 1;
  grid-row: 1;
  width: 337.5px;
  margin-inline-start: clamp(.25px, calc(var(--about-subpage-heading-inset) - 50vw + 530.25px), 88.583px);
}

.work-intro-copy {
  display: flex;
  flex-direction: column;
  gap: var(--about-subpage-copy-gap);
}

.work-section-copy p {
  color: #00000099;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.work-content-canvas {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  width: 699px;
  height: 1362px;
}

.work-section {
  position: absolute;
  left: 0;
  display: grid;
  width: 699px;
  margin: 0;
}

.work-section-01 {
  top: 0;
  height: 321px;
  grid-template-columns: 337.5px 337.5px;
  column-gap: 24px;
}

.work-section-02 {
  top: 168px;
  height: 316px;
  grid-template-columns: 337.5px 337.5px;
  column-gap: 24px;
}

.work-section-03 {
  top: 508px;
  height: 514px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 393px 97px;
  row-gap: 24px;
}

.work-section-04 {
  top: 1046px;
  height: 316px;
  grid-template-columns: 315px 315px;
  column-gap: 24px;
  align-items: end;
}

.work-section-copy {
  min-width: 0;
  color: #000000e5;
}

.work-section-copy-01 {
  width: 337.5px;
  align-self: start;
}

.work-section-copy-02 {
  width: 337.5px;
  align-self: end;
}

.work-section-copy-03 {
  width: 699px;
}

.work-section-copy-04 {
  width: 315px;
  align-self: end;
}

.work-section-heading {
  display: flex;
  min-height: 26px;
  align-items: flex-start;
  gap: 8px;
  color: #000000e5;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.work-section-copy-01 .work-section-heading span {
  width: 313.5px;
}

.work-heading-arrow {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 5px;
  filter: brightness(0);
  opacity: 0.9;
}

.work-heading-arrow-left {
  transform: rotate(180deg);
}

.work-heading-arrow-up {
  transform: rotate(-90deg);
}

.work-section-copy p {
  margin-top: 8px;
}

.work-photo,
.work-placeholder {
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #d9d9d9;
}

.work-photo {
  width: 337.5px;
  height: 321px;
  border-radius: 8px;
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-placeholder-02 {
  width: 337.5px;
  height: 316px;
  border-radius: 8px;
}

.work-placeholder-03 {
  width: 699px;
  height: 393px;
  border-radius: 0;
}

.work-placeholder-04 {
  width: 315px;
  height: 316px;
  border-radius: 8px;
}

@media (width < 1200px) {
  .work-shell {
    width: 100%;
    margin-inline: 0;
  }

  .work-intro {
    margin-inline-start: 0;
  }
}

@media (width >= 814px) and (width < 1200px) {
  .work-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.0711fr);
  }

  .work-intro {
    width: min(100%, 337.5px);
  }

  .work-content-canvas {
    width: 100%;
  }

  .work-section {
    width: min(100%, 699px);
  }

  .work-section-01,
  .work-section-02 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-section-04 {
    grid-template-columns: repeat(2, minmax(0, 45.0644%));
  }

  .work-section-copy-01,
  .work-section-copy-02 {
    width: min(100%, 337.5px);
  }

  .work-section-copy-03 {
    width: min(100%, 699px);
  }

  .work-section-copy-04 {
    width: min(100%, 315px);
  }

  .work-section-copy-01 .work-section-heading span {
    width: auto;
    min-width: 0;
  }

  .work-photo,
  .work-placeholder-02 {
    width: min(100%, 337.5px);
    height: auto;
  }

  .work-photo {
    aspect-ratio: 337.5 / 321;
  }

  .work-placeholder-02 {
    aspect-ratio: 337.5 / 316;
  }

  .work-placeholder-03 {
    width: min(100%, 699px);
    height: auto;
    aspect-ratio: 699 / 393;
  }

  .work-placeholder-04 {
    width: min(100%, 315px);
    height: auto;
    aspect-ratio: 315 / 316;
  }
}

@media (width < 814px) {
  .work-shell {
    display: flex;
    height: auto;
    flex-direction: column;
    gap: var(--about-subpage-content-gap);
  }

  .work-intro {
    width: 100%;
  }

  .work-content-canvas {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .work-section {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .work-section-copy-01,
  .work-section-copy-02,
  .work-section-copy-03,
  .work-section-copy-04 {
    width: 100%;
    align-self: stretch;
  }

  .work-section-copy-01 .work-section-heading span {
    width: auto;
  }

  .work-section-heading span {
    min-width: 0;
  }

  .work-photo {
    width: min(100%, 337.5px);
    height: auto;
    aspect-ratio: 337.5 / 321;
  }

  .work-placeholder-02 {
    width: min(100%, 337.5px);
    height: auto;
    aspect-ratio: 337.5 / 316;
  }

  .work-placeholder-03 {
    width: min(100%, 699px);
    height: auto;
    aspect-ratio: 699 / 393;
  }

  .work-placeholder-04 {
    width: min(100%, 315px);
    height: auto;
    aspect-ratio: 315 / 316;
  }
}
