/* Filled, responsive illustrations for the website and process detail cards. */
.cxy-work-detail [id] { scroll-margin-top: calc(var(--header-height) + 20px); }

.cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-top .cxy-r-txt {
  color: #5f7087;
}

.cxy-r-info-page .cxy-work-detail .cxy-r-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
}

.cxy-r-info-page .cxy-work-detail .cxy-r-list .cxy-r-item,
.cxy-r-info-page .cxy-work-detail .cxy-r-list .cxy-r-item.cxy-r-w100 {
  width: auto;
  min-width: 0;
  min-height: clamp(190px, 14vw, 235px);
  margin: 0;
  padding: clamp(26px, 2.3vw, 40px);
  overflow: hidden;
  border: 1px solid #e7eef7;
  border-radius: 12px;
  background: #fff;
}

.cxy-r-info-page .cxy-work-detail .cxy-r-list .cxy-r-item.cxy-r-w100 {
  grid-column: 1 / -1;
  min-height: clamp(180px, 12vw, 210px);
}

.cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-list .cxy-r-item .cxy-r-tbox {
  width: 54%;
  max-width: 450px;
  margin-left: 0;
}

.cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-list .cxy-r-item.cxy-r-w100 .cxy-r-tbox {
  width: 48%;
  max-width: 560px;
}

.cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-list .cxy-r-item .cxy-r-tbox .cxy-r-t1 {
  margin: 0;
  color: #142744;
}

.cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-list .cxy-r-item .cxy-r-tbox .cxy-r-t2 {
  margin-top: 14px;
  color: #62758e;
  line-height: 1.75;
}

.cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-list .cxy-r-item .cxy-r-tbox .cxy-r-t2 .cxy-r-ts { margin-bottom: 0; }

.cxy-work-detail .cxy-work-visual {
  position: absolute;
  top: 50%;
  right: clamp(10px, 1.6vw, 24px);
  z-index: 1;
  width: 41%;
  max-width: 280px;
  transform: translateY(-50%);
  pointer-events: none;
}

.cxy-work-detail .cxy-r-w100 .cxy-work-visual {
  right: clamp(22px, 4vw, 65px);
  width: 40%;
  max-width: 425px;
}

.cxy-work-detail .cxy-work-visual img {
  display: block;
  width: 100%;
  height: auto;
  transform: translate3d(0, 0, 0);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .cxy-work-detail .cxy-r-item:hover .cxy-work-visual img {
    transform: translate3d(0, -5px, 0) scale(1.025);
  }
}

@media (max-width: 991px) {
  .cxy-r-info-page .cxy-work-detail .cxy-r-list { grid-template-columns: minmax(0, 1fr); }
  .cxy-r-info-page .cxy-work-detail .cxy-r-list .cxy-r-item.cxy-r-w100 { grid-column: auto; }
}

@media (max-width: 767px) {
  .cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-top .cxy-r-tb .cxy-r-t2 {
    font-size: clamp(22px, 5.8vw, 28px);
  }

  .cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-top .cxy-r-txt {
    font-size: 14px;
    line-height: 1.7;
  }

  .cxy-r-info-page .cxy-work-detail .cxy-r-list .cxy-r-item,
  .cxy-r-info-page .cxy-work-detail .cxy-r-list .cxy-r-item.cxy-r-w100 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(90px, 31%, 150px);
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 24px;
  }

  .cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-list .cxy-r-item .cxy-r-tbox,
  .cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-list .cxy-r-item.cxy-r-w100 .cxy-r-tbox {
    width: auto;
    max-width: none;
  }

  .cxy-r-info-page .cxy-work-detail .cxy-r-container .cxy-r-list .cxy-r-item .cxy-r-tbox .cxy-r-t1 {
    font-size: clamp(17px, 4.4vw, 20px);
  }

  .cxy-work-detail .cxy-work-visual,
  .cxy-work-detail .cxy-r-w100 .cxy-work-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cxy-work-detail .cxy-work-visual img { transition: none; }
  .cxy-work-detail .cxy-r-item:hover .cxy-work-visual img { transform: none; }
}

html[data-motion='paused'] .cxy-work-detail .cxy-work-visual img { transition: none; }
html[data-motion='paused'] .cxy-work-detail .cxy-r-item:hover .cxy-work-visual img { transform: none; }
