@charset "UTF-8";
/* ===== Works / 実績 ===== */
.works {
  color: #1a1a1a;
  padding-bottom: 80px;
}
.works-firstview {
  width: 1080px;
  max-width: 88%;
  margin: 24px auto 0;
}
.works-firstview img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
}
.works-hero {
  width: 1080px;
  max-width: 88%;
  margin: 0 auto;
  text-align: center;
  padding: 56px 0 30px;
}
@media screen and (max-width: 700px) {
  .works-firstview img {
    height: 160px;
    border-radius: 14px;
  }
}
.works-hero__en {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #5b8cff, #9b6bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.works-hero__title {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 800;
  white-space: nowrap;
}
.works-hero__lead {
  max-width: 780px;
  margin: 20px auto 0;
  font-size: clamp(12px, 1.55vw, 15px);
  line-height: 1.95;
  color: #555;
  white-space: nowrap;
}

.works-grid {
  width: 1080px;
  max-width: 88%;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.work-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(40, 50, 90, 0.12);
}
.work-card__thumb {
  position: relative;
  width: 320px;
  flex-shrink: 0;
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.work-card__industry {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  padding: 4px 11px;
  border-radius: 999px;
}
.work-card__size {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}
.thumb-v1 { background: linear-gradient(135deg, #5b8cff, #9b6bff); }
.thumb-v2 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.thumb-v3 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.thumb-v4 { background: linear-gradient(135deg, #ee5a6f, #f29263); }
.thumb-v5 { background: linear-gradient(135deg, #4568dc, #b06ab3); }
.thumb-v6 { background: linear-gradient(135deg, #232526, #414345); }
.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
}
.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.work-card__tags span {
  font-size: 11px;
  font-weight: 700;
  color: #3a4a7a;
  background: #eef2fb;
  border: 1px solid #e0e7f5;
  border-radius: 6px;
  padding: 3px 9px;
}
.work-card__name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.work-card__summary {
  flex: 1;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}
.work-card__result {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(90deg, #5b8cff, #9b6bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.work-card__status {
  margin-top: 14px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.status--progress {
  color: #1f7a4d;
  background: #e6f6ee;
}
.status--upcoming {
  color: #9a6a1f;
  background: #fbf2dd;
}

/* pagination */
.works-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 54px 0 0;
}
.works-pager button {
  min-width: 44px;
  height: 44px;
  padding: 0 6px;
  border-radius: 10px;
  border: 1px solid #e2e2e8;
  background: #fff;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.works-pager button:hover {
  border-color: #9b6bff;
}
.works-pager button.is-active {
  background: linear-gradient(90deg, #5b8cff, #9b6bff);
  color: #fff;
  border-color: transparent;
}
.work-card.is-hidden {
  display: none;
}

.works-hero__lead .br-sp {
  display: none;
}
@media screen and (max-width: 700px) {
  .works-hero__lead .br-sp {
    display: inline;
  }
  .work-card {
    flex-direction: column;
  }
  .work-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .work-card__body {
    justify-content: flex-start;
    padding: 18px 18px 22px;
  }
  .works-hero__title {
    font-size: 26px;
    white-space: normal;
  }
  .works-hero__lead {
    white-space: normal;
    font-size: 14px;
  }
}
