@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;300;400&display=swap');

/* ==========================================================================
   ADDITIONS — style.css はそのまま。このファイルを別で読み込みます
   ========================================================================== */

/* ---- Works grid ------------------------------------------------------- */
.works-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(56px, 6vw, 96px) clamp(36px, 4vw, 64px);
}
.work-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: default;           /* 匿名性のため、指ではなく矢印のまま */
}
.works-grid .work-item .work-figure {
  position: relative;
  width: 100%;
  height: 300px;
  aspect-ratio: auto;
  background-color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.works-grid .work-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}
.work-link:hover .work-figure { opacity: 0.72; }

.works-grid .work-info { margin-top: 26px; text-align: center; }
.works-grid .work-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--color-text);
  opacity: 0.85;
}
.works-grid .work-meta { margin-top: 10px; font-size: 10px; letter-spacing: 0.24em; }

/* 準備中の作品 */
.works-grid .work-figure.is-empty {
  background-color: transparent;
  border: 1px dashed rgba(34, 34, 34, 0.16);
}
.empty-mark {
  font-family: var(--font-family);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.25;
}
.work-item.is-upcoming .work-title { opacity: 0.5; }

/* ---- About ------------------------------------------------------------ */
.about-philosophy p { font-weight: 200; letter-spacing: 0.22em; line-height: 2.8; color: #8a8a8a; }

.about-profile { max-width: 460px; margin: clamp(120px, 18vh, 200px) auto 0; }
.profile-list { display: flex; flex-direction: column; gap: 20px; }
.profile-row { display: grid; grid-template-columns: 78px 1fr; gap: 20px; align-items: start; }
.profile-row dt {
  font-family: var(--font-family);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.4;
  padding-top: 5px;
}
.profile-row dd {
  font-family: var(--font-family);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 2.3;
  letter-spacing: 0.16em;
  color: #8a8a8a;
}

/* ---- Work detail ------------------------------------------------------ */
.detail {
  max-width: 780px;
  margin: 0 auto;
  padding-top: clamp(150px, 22vh, 230px);
  padding-bottom: clamp(130px, 20vh, 220px);
  font-family: var(--font-family-jp);
}
.detail-back {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.4;
  text-decoration: none;
  margin-bottom: 60px;
  transition: opacity 0.5s ease;
}
.detail-back:hover { opacity: 0.95; }

.detail-index {
  font-family: var(--font-family);
  font-size: 10px;
  letter-spacing: 0.32em;
  opacity: 0.4;
  margin-bottom: 16px;
}
.detail-title {
  font-family: var(--font-family);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 200;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4f4f4f;
  line-height: 1.4;
}
.detail-lead {
  margin-top: 30px;
  font-weight: 300;
  font-size: 13.5px;
  line-height: 2.9;
  letter-spacing: 0.19em;
  color: #7a7a7a;
}
.detail-meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-family);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.4;
}
.detail-note {
  margin-top: 34px;
  padding: 0 0 0 16px;
  border-left: 1px solid rgba(34, 34, 34, 0.12);
  background-color: transparent;
  font-weight: 300;
  font-size: 11.5px;
  line-height: 2.5;
  color: #949494;
  letter-spacing: 0.14em;
}

.detail-section { margin-top: clamp(76px, 11vh, 130px); }
.detail-h {
  font-family: var(--font-family);
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.45;
  margin-bottom: 28px;
}
.detail-section p {
  font-weight: 300;
  font-size: 13.5px;
  line-height: 2.9;
  letter-spacing: 0.19em;
  color: #7a7a7a;
}
.detail-section p + p { margin-top: 26px; }
.detail-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.detail-list li {
  font-weight: 300;
  font-size: 13.5px;
  line-height: 2.9;
  letter-spacing: 0.19em;
  color: #7a7a7a;
  padding-left: 22px;
  position: relative;
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 10px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.35;
}
.detail-section a { color: #7a7a7a; text-decoration: none; border-bottom: 1px solid rgba(34,34,34,.18); }
.detail-section a:hover { color: var(--color-text); }

/* ---- Detail images ---------------------------------------------------- */
.detail-images {
  margin-top: clamp(70px, 10vh, 110px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vh, 88px);
}
.detail-images figure { margin: 0; }
.detail-images img,
.detail-images figure.obj img,
.detail-images figure.md img {
  width: 100%;
  height: clamp(320px, 50vh, 520px);
  object-fit: contain;
  display: block;
  padding: 0;
  background-color: transparent;
}
.detail-images figcaption {
  margin-top: 20px;
  font-family: var(--font-family);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.35;
  text-align: center;
}
/* 準備中の図版 */
.detail-images figure.is-empty .empty-box {
  width: 100%;
  height: clamp(260px, 40vh, 420px);
  border: 1px dashed rgba(34, 34, 34, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 768px) {
  /* スマホでも2列。スクロールの手間を減らします */
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 7vw, 44px) clamp(14px, 4vw, 22px);
  }
  .works-grid .work-item .work-figure { height: 150px; }
  .works-grid .work-figure img { padding: 16px; }
  .works-grid .work-info { margin-top: 14px; text-align: center; }
  .works-grid .work-title { font-size: 12.5px; letter-spacing: 0.08em; }
  .works-grid .work-meta { margin-top: 6px; font-size: 8px; letter-spacing: 0.14em; gap: 7px; }
  .works-grid .meta-separator { width: 9px; }
  .empty-mark { font-size: 8px; letter-spacing: 0.2em; }

  .profile-row { grid-template-columns: 1fr; gap: 4px; }
  .profile-row dt { padding-top: 0; }
  .detail-title { font-size: 20px; }
  .detail-section p,
  .detail-list li,
  .detail-lead { font-size: 12.5px; line-height: 2.7; letter-spacing: 0.15em; }
}
