/*
 * Figma node 54:70 — SP MASTERPIECE + works 04–08
 * Natural viewport: 375px
 * Isolated SP artifact; no shared-page selectors are modified here.
 */
.sp-masterpiece,
.sp-masterpiece-works {
  box-sizing: border-box;
  width: 375px;
  max-width: 375px;
  margin: 0 auto;
  background: #000;
  color: #c9c4b8;
}

.sp-masterpiece *,
.sp-masterpiece-works * {
  box-sizing: border-box;
}

.sp-masterpiece {
  position: relative;
  height: 400px;
  overflow: hidden;
  color: #fff;
}

.sp-masterpiece__english {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 10px;
  text-align: center;
  white-space: nowrap;
  opacity: 0.2;
}

.sp-masterpiece__columns {
  position: absolute;
  top: 80px;
  right: 24px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 24px;
  height: 260px;
}

.sp-masterpiece__lead,
.sp-masterpiece__body {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-feature-settings: "vkrn" 1;
}

.sp-masterpiece__lead {
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 3px;
}

.sp-masterpiece__body {
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 3px;
}

.sp-masterpiece-work {
  margin: 0;
  background: #000;
  color: #c9c4b8;
}

.sp-masterpiece-work__image {
  position: relative;
  width: 351px;
  height: 238px;
  margin: 0;
  overflow: hidden;
}

.sp-masterpiece-work__image img {
  position: absolute;
  top: -14.56%;
  left: 0;
  width: 106.84%;
  max-width: none;
  height: 129.2%;
  object-fit: fill;
}

.sp-masterpiece-work__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  height: 396px;
  padding: 24px 24px 40px;
  color: #c9c4b8;
  letter-spacing: 3px;
  text-shadow: 0 0 20px #000;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

.sp-masterpiece-work__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.sp-masterpiece-work__en,
.sp-masterpiece-work__heading h2,
.sp-masterpiece-work__body {
  margin: 0;
  font-weight: 400;
}

.sp-masterpiece-work__en {
  font-family: "Cinzel", serif;
  font-size: 20px;
  line-height: 20px;
  white-space: nowrap;
}

.sp-masterpiece-work__en span {
  color: #811704;
}

.sp-masterpiece-work__heading h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 24px;
}

.sp-masterpiece-work__body {
  width: 327px;
  max-width: 100%;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  line-height: 24px;
}

.sp-masterpiece-work--05 .sp-masterpiece-work__image img {
  top: -9.21%;
  width: 107.12%;
  height: 118.48%;
}

.sp-masterpiece-work--05 .sp-masterpiece-work__content {
  height: 344px;
}

.sp-masterpiece-work--06 .sp-masterpiece-work__image img {
  top: -2.62%;
  width: 100%;
  height: 110.6%;
}

.sp-masterpiece-work--06 .sp-masterpiece-work__content {
  height: 296px;
}

.sp-masterpiece-work--07 .sp-masterpiece-work__image img {
  top: -0.03%;
  width: 100.72%;
  height: 100.03%;
}

.sp-masterpiece-work--07 .sp-masterpiece-work__content {
  height: 272px;
}

.sp-masterpiece-work--08 .sp-masterpiece-work__image img {
  top: -0.05%;
  width: 100%;
  height: 228.76%;
}

.sp-masterpiece-work--08 .sp-masterpiece-work__content {
  height: 320px;
}

@media (max-width: 374px) {
  .sp-masterpiece,
  .sp-masterpiece-works {
    width: 100%;
    max-width: none;
  }

  .sp-masterpiece-work__content {
    padding-right: 6.4vw;
    padding-left: 6.4vw;
  }
}
