/* Shared illustration helpers for service / contact stubs */
.my-illust-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: min(1080px, calc(100% - 96px));
  margin: 0 auto 48px;
}

.my-illust-hero__copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.4;
  margin: 0.6rem 0 1.2rem;
  font-weight: 400;
}

.my-illust-hero__copy .t_en {
  letter-spacing: 0.08em;
  color: #6e6b65;
  font-size: 13px;
}

.my-illust-hero__copy p {
  color: #555;
  line-height: 1.9;
  font-size: 15px;
}

.my-illust-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-illust-hero__visual img {
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
}

.my-illust-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(1080px, calc(100% - 96px));
  margin: 0 auto 64px;
  border-top: 1px solid #cbc8c6;
  border-bottom: 1px solid #cbc8c6;
}

.my-illust-card {
  padding: 28px 24px 36px;
  border-right: 1px solid #cbc8c6;
  text-decoration: none;
  color: inherit;
}

.my-illust-card:last-child {
  border-right: 0;
}

.my-illust-card:hover {
  background: rgba(255, 255, 255, 0.4);
}

.my-illust-card__visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.my-illust-card__visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.my-illust-card h3 {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
}

.my-illust-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.my-illust-card .t_en {
  color: #6e6b65;
  font-size: 11px;
  letter-spacing: 0.12em;
}

@media (max-width: 1023px) {
  .my-illust-hero,
  .my-illust-cards {
    width: calc(100% - 48px);
  }

  .my-illust-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .my-illust-cards {
    grid-template-columns: 1fr;
  }

  .my-illust-card {
    border-right: 0;
    border-bottom: 1px solid #cbc8c6;
  }

  .my-illust-card:last-child {
    border-bottom: 0;
  }
}
