@charset "UTF-8";

.works-lead {
  text-align: center;
  line-height: 1.9;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .works-lead {
    text-align: left;
  }
}

.works-group-title {
  font-size: 20px;
  font-weight: bold;
  color: #2B2775;
  border-left: 6px solid #2B2775;
  padding-left: 14px;
  margin: 50px 0 26px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .works-group-title {
    font-size: 17px;
    margin: 34px 0 18px;
  }
}

.works-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .works-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .works-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.works-card-grid > li {
  display: flex;
}

.works-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid #111;
  border-radius: 20px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #111;
  transition: all 0.3s ease 0s;
}
.works-card_link:hover {
  transform: scale(1.03, 1.03);
}

.works-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: #F4F3FD;
  overflow: hidden;
  border-bottom: 1px solid #E3E1F4;
}
.works-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.works-card-img.-logo {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.works-card-img.-logo img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  padding: 0 28px;
}

.works-card-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2B2775, #8F8BE8);
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0 16px;
}
@media (max-width: 767px) {
  .works-card-img-fallback {
    font-size: 20px;
  }
}

.works-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (max-width: 767px) {
  .works-card-body {
    padding: 18px 18px 20px;
  }
}

.works-card-name {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}

.works-card-meta {
  font-size: 12.5px;
  color: #666;
  margin: 4px 0 12px;
  line-height: 1.6;
}

.works-card-text {
  font-size: 14px;
  line-height: 1.8;
}

.works-card-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 14px;
}
.works-card-tags li {
  border: 1px solid #2B2775;
  color: #2B2775;
  border-radius: 30px;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: bold;
  margin: 0 6px 6px 0;
}

.works-card-more {
  margin-top: auto;
  padding-top: 14px;
  text-align: right;
  font-weight: bold;
  color: #2B2775;
  font-size: 14px;
}

/*year-by-year record*/
.works-record {
  background: #F4F3FD;
}
.works-record_items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 30px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .works-record_items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .works-record_items {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
  }
}
.works-record_item {
  background: #fff;
  border: 1px solid #111;
  border-radius: 20px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
  padding: 26px 26px 22px;
}
.works-record_year {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  color: #2B2775;
  border-bottom: 2px solid #2B2775;
  padding-bottom: 4px;
  margin-bottom: 14px;
}
.works-record_list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #E3E1F4;
  font-size: 14px;
  line-height: 1.6;
}
.works-record_list li:last-child {
  border-bottom: none;
}
.works-record_list b {
  flex-shrink: 0;
  color: #2B2775;
  font-weight: bold;
}
.works-record_source {
  margin-top: 26px;
  font-size: 13px;
  text-align: center;
  color: #666;
}
.works-record_source a {
  text-decoration: underline;
  color: #2B2775;
  font-size: 13px;
}

.works-note {
  margin: -20px 0 36px;
  text-align: center;
  font-size: 12px;
  color: #666;
}
