@charset "UTF-8";
.itemWrap {
  width: min(1200px, 95%);
  margin: 0 auto;
  background-color: var(--wht);
}
.itemBox {
  width: min(900px, 85%);
  margin: 0 auto;
  padding-top: min(80px,10%);
  padding-bottom: 10%;
}
.work-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}
.pageTitle {
  font-size: clamp(24.0px, calc(1.1vw + 19.8px), 36.0px);
  margin-bottom: 60px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--blk); 
}
.detailImg {
  max-width: 900px;
  max-height: 600px;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
}
.detailImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.detailImg.dI-contain img {
  object-fit: contain;
}
.detailImg.detailMovie {
  position: relative;
  margin-bottom: 40px;
  border-radius: 8px; /* 角を丸くしたい場合 */
  overflow: hidden;
}
.detailMovie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.meta-info {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  font-size: 1.0rem;
}
.tag {
  padding: 5px 32px;
  border-radius: 20px;
  border: 1px solid var(--blk);
  color: var(--wht);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.tag.web {
  background: #49A15F;
}
.tag.print {
  background: #e09446;
}
.tag.movie {
  background: #5E89B1;
}
.skills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.skills span {
  padding: 3px 30px;
  border-radius: 20px;
  border: 1px solid var(--blk);
  color: var(--blk);
}
.meta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
}
.meta-label {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--orn);
}
.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.meta-chips span {
  padding: 4px 16px;
  border-radius: 16px;
  background: var(--gry);
  color: var(--blk);
  font-size: 1.3rem;
}
.link-url {
  color: var(--blk);
  text-decoration: underline;
  font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .link-url:hover {
    opacity: 0.6;
  }
}
.role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.role-chips span {
  padding: 4px 16px;
  border-radius: 0;
  background: rgba(237, 107, 1, 0.12);
  color: var(--blk);
  font-weight: 700;
  font-size: 1.3rem;
}
.row.row--chips {
  display: block;
}
.row--chips .role-chips {
  margin-bottom: 16px;
}
.overview {
  margin-top: 60px;
  padding-top: 20px;
}
.overview-header {
  display: flex;
  align-items: center;
  gap: 20px; 
  margin-bottom: 20px;
}
.overview-header h2 {
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}
.overview-header .line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--blk);
}
.overview p {
  text-align: left;
}
.work-details {
  margin: 60px auto;
  width: 85%;
  text-align: left;
  font-size: 1.6rem;
  font-weight: 400;
}
.row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #ccc;
  padding: 30px 0;
  align-items: flex-start;
}
dd {
  margin: 0;
  line-height: 1.6;
}
dd strong {
  display: block;
  margin-bottom: 10px;
}
dd strong:not(:first-child) {
  margin-top: 20px;
}
.back-link {
  margin-top: 80px;
  margin-bottom: 200px;
  text-align: center;
}
.btn-back {
  display: inline-block;
  width: 280px;
  padding: 18px 0;
  background: #E8651A;
  color: var(--wht);
  text-decoration: none;
  border-radius: 50px;
}
@media(max-width: 768px) {
  .work-details {
    width: 100%;
  }
  .row {
    display: block;
  }
  .row dt {
    font-weight: 700;
    color: var(--orn);
    margin-bottom: 12px;
  }
}
