.project-page { background: #fff; color: #120f17; }
.project-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--m); background: #fff; color: #120f17; border-bottom: 1px solid rgba(18,15,23,.1); }
.project-nav__mark img { width: 64px; height: 26px; object-fit: contain; filter: brightness(0); }
.project-nav nav { display: flex; gap: 28px; }
.project-nav a { font-size: 14px; text-decoration: none; }
.project-nav nav a:hover, .project-next__all:hover { text-decoration: underline; text-underline-offset: 5px; }
.project-page :focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.project-page .case { padding-top: 100px; padding-bottom: 120px; }
.project-page .case h1 { font-size: clamp(48px,6.5vw,104px); line-height: 1; letter-spacing: -.045em; font-weight: 400; max-width: 16ch; }
.project-page .case h2, .project-page .case h3 { font-weight: 400; }
.project-page .mami { color: #eeeeec; }
.case--gallery { background: #fff; color: #120f17; }
.case--gallery .case-head { align-items: end; }
.case--gallery .case-head p { margin: 0; font-size: 20px; }
.project-gallery { display: grid; gap: clamp(24px,4vw,64px); }
.project-visual { padding: clamp(12px,2vw,32px); background: #f5f5f5; }
.project-visual img { width: 100%; max-height: 1000px; object-fit: contain; }
.project-page--studio-metal .project-gallery { max-width: 900px; margin: 0 auto; }
.project-next { display: flex; flex-direction: column; align-items: flex-start; padding: 80px var(--m) 100px; border-top: 1px solid rgba(18,15,23,.14); background: #fff; color: #120f17; }
.project-next p { margin: 0 0 20px; font-size: 15px; }
.project-next__name { margin-bottom: 36px; font-size: clamp(40px,6vw,96px); line-height: 1.05; letter-spacing: -.04em; text-decoration: none; }
.project-next__name:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.project-next__all { font-size: 16px; text-decoration: none; }
.project-page .foot { color: #eeeeec; }
@media (max-width: 560px) {
  .project-nav { gap: 16px; padding-top: 16px; padding-bottom: 16px; }
  .project-nav nav { gap: 16px; }
  .project-nav nav a:nth-child(2) { display: none; }
  .project-page .case { padding-top: 64px; padding-bottom: 80px; }
  .project-next { padding-top: 56px; padding-bottom: 64px; }
}
