/* 作品总览与独立案例页面。首页人物和开场样式不在这里修改。 */
.detail-content.is-projects { width: min(1480px, 100%); background: #f9f8f3; }
.works-page, .case-page { padding: 0 clamp(22px, 5vw, 84px); }
.small-label { display: block; color: #758075; font-size: 11px; line-height: 1.6; letter-spacing: .1em; }
.works-heading { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; padding: 54px 0 38px; }
.works-heading .eyebrow { font-size: 10px; margin-bottom: 24px; letter-spacing: .22em; }
.works-heading h1 { margin: 0; font-family: var(--serif); font-size: clamp(37px, 4.7vw, 66px); font-weight: 500; line-height: 1.35; letter-spacing: -.055em; }
.heading-dot { color: #869b80; }
.works-intro { padding-left: 30px; border-left: 1px solid var(--line); }
.works-intro p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 12px 0 16px; }
.works-count { font-family: Georgia, serif; font-size: 33px; color: #536b55; }
.works-count span { font-family: var(--sans); font-size: 11px; margin-left: 10px; color: #758075; }
.work-selectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.work-selectors button { position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; padding: 16px 0; border: 0; border-top: 1px solid #d9ddd3; background: transparent; text-align: left; cursor: pointer; }
.work-selectors button::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: #5c765e; transform: scaleX(0); transform-origin: left; transition: transform 350ms ease; }
.work-selectors button[aria-selected="true"]::before { transform: scaleX(1); }
.work-selectors button > span { font-family: Georgia, serif; color: #84927e; font-size: 13px; }
.work-selectors strong { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.work-selectors i { margin-left: auto; font-size: 18px; font-style: normal; color: #86957c; opacity: .25; transition: opacity .3s; }
.work-selectors button[aria-selected="true"] i { opacity: 1; }
.work-preview { outline: none; }
.work-shutters { display: flex; gap: 8px; height: clamp(270px, 32vw, 450px); overflow: hidden; }
.work-shutter { position: relative; flex: .85 1 0%; min-width: 0; overflow: hidden; border-radius: 3px; background: #dcded3; transition: flex-grow 650ms cubic-bezier(.22,.8,.25,1); }
.work-shutter.is-active { flex-grow: 6.4; }
.work-shutter img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: center; filter: saturate(.5) brightness(.78); transition: filter 600ms ease; }
.work-shutter.is-active img { filter: none; }
.work-shutter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,25,19,.1), transparent 35%, rgba(15,25,19,.34)); opacity: 1; transition: opacity .5s; }
.work-shutter.is-active::after { opacity: 0; }
.shutter-number { position: absolute; z-index: 1; top: 16px; left: 14px; color: white; font-family: Georgia, serif; font-size: 16px; text-shadow: 0 1px 8px #333; transition: opacity .4s; }
.shutter-label { position: absolute; z-index: 1; bottom: 20px; left: 50%; transform: translateX(-50%); writing-mode: vertical-rl; color: white; font-family: var(--serif); font-size: 20px; letter-spacing: .18em; white-space: nowrap; transition: opacity .35s; }
.work-shutter.is-active .shutter-label, .work-shutter.is-active .shutter-number { opacity: 0; }
.work-preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 103px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.preview-copy h2 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(18px,2vw,25px); font-weight: 500; }
.case-link { display: inline-flex; gap: 23px; align-items: center; padding: 14px 21px; border: 1px solid #b8c3b2; border-radius: 999px; text-decoration: none; color: #405c45; font-size: 12px; white-space: nowrap; transition: background .25s; }
.case-link:hover { background: #e9eee2; }
.case-link span { font-size: 21px; }
.works-method { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 25px 0 35px; }
.works-method p { font-size: 12px; color: #5e6d60; margin: 0; }
.works-method p span { margin: 0 15px; color: #a4afa0; }
.method-note { color: #8a9386; font-size: 11px; }
.case-breadcrumb { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 0; }
.case-breadcrumb a { color: var(--green); text-decoration: none; font-size: 12px; }
.case-breadcrumb > span { color: #869182; font-size: 10px; letter-spacing: .12em; }
.case-heading { padding: 42px 0 32px; }
.case-heading .eyebrow { font-size: 10px; letter-spacing: .19em; }
.case-heading h1 { margin: 14px 0; font-family: var(--serif); font-size: clamp(42px,6vw,80px); font-weight: 500; letter-spacing: -.04em; line-height: 1.25; }
.case-deck { margin: 0 0 22px; color: #52634f; font-size: clamp(14px,1.6vw,19px); line-height: 1.7; }
.case-meta { display: flex; flex-wrap: wrap; gap: 12px 25px; color: #7a8475; font-size: 11px; }
.case-meta span + span::before { content: "/"; margin-right: 25px; color: #b4baa9; }
.case-context { display: grid; grid-template-columns: 1fr 3fr; gap: 45px; padding: 60px 0; border-bottom: 1px solid var(--line); }
.case-context h2 { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.5; font-weight: 500; }
.case-context p { margin: 20px 0 0; font-size: 14px; color: #697465; line-height: 2; }
.case-design { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; padding: 42px; margin-top: 40px; background: #e9eddf; }
.case-design h2 { margin: 15px 0 0; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.6; }
.case-design p { font-size: 15px; line-height: 2; color: #566550; margin: 0; }
.case-process { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 50px 0 40px; }
.case-process section + section { border-left: 1px solid var(--line); padding-left: 50px; }
.case-process ul { padding-left: 18px; margin: 22px 0 0; font-size: 13px; line-height: 1.9; color: #60705d; }
.case-process li + li { margin-top: 8px; }
.case-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 30px 0; border-block: 1px solid var(--line); }
.case-metrics > div { padding-left: 32px; border-left: 1px solid var(--line); }
.case-metrics > div:first-child { padding-left: 0; border-left: 0; }
.case-metrics strong { display: block; color: #526b50; font-family: Georgia, var(--serif); font-size: clamp(26px,3.5vw,44px); font-weight: 400; }
.case-metrics span { display: block; margin-top: 12px; color: #7b8675; font-size: 11px; }
.case-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; padding: 30px 0 14px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.case-tags span { border: 1px solid #d9dfd1; border-radius: 999px; padding: 6px 12px; font-size: 10px; color: #6b7864; }
.text-link { color: #5b7558; font-size: 12px; text-decoration: none; }
.text-link:hover, .case-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 5px; }
.case-source { font-size: 11px; line-height: 1.8; color: #8c9487; margin: 14px 0 45px; max-width: 900px; }
.next-work { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 35px 0 48px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.next-work strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 500; margin-top: 8px; }
.next-arrow { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e5eadc; font-size: 30px; transition: transform .3s; }
.next-work:hover .next-arrow { transform: rotate(45deg); }
@media (max-width: 900px) {
  .works-heading { gap: 24px; grid-template-columns: 1.4fr 1fr; padding-top: 34px; }
  .works-heading h1 { font-size: 40px; }
  .works-intro { padding-left: 20px; }
  .works-method { flex-wrap: wrap; }
  .method-note { display: none; }
  .case-design { padding: 28px; gap: 28px; }
  .case-context { gap: 28px; grid-template-columns: 1fr 3fr; }
}
@media (max-width: 600px) {
  .works-heading { display: block; padding: 35px 0 28px; }
  .works-heading h1 { font-size: clamp(30px,8vw,44px); }
  .works-heading .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .works-intro { border: 0; padding: 0; margin-top: 22px; }
  .works-intro .small-label, .works-count { display: none; }
  .works-intro p { font-size: 12px; margin: 0; }
  .works-intro p br { display: none; }
  .work-selectors { gap: 9px; }
  .work-selectors button { flex-wrap: wrap; gap: 7px; padding: 13px 0; align-content: start; }
  .work-selectors strong { width: 100%; font-size: 11px; line-height: 1.6; }
  .work-selectors i { display: none; }
  .work-shutters { height: 260px; gap: 5px; }
  .work-shutter { flex-grow: .45; }
  .work-shutter.is-active { flex-grow: 7; }
  .shutter-number { left: 8px; top: 10px; font-size: 10px; }
  .shutter-label { font-size: 12px; letter-spacing: .1em; }
  .work-preview-caption { align-items: start; flex-direction: column; gap: 18px; padding: 20px 0 24px; }
  .preview-copy h2 { font-size: 20px; line-height: 1.6; }
  .case-link { padding: 9px 16px; font-size: 11px; }
  .works-method { display: block; padding: 22px 0 32px; }
  .works-method p { margin-top: 10px; font-size: 10px; }
  .works-method p span { margin: 0 6px; }
  .case-breadcrumb { padding-top: 22px; }
  .case-breadcrumb > span { font-size: 8px; }
  .case-heading { padding: 32px 0 26px; }
  .case-heading h1 { font-size: clamp(35px,10vw,58px); }
  .case-meta { gap: 10px; font-size: 10px; }
  .case-meta span + span::before { margin-right: 10px; }
  .case-context { display: block; padding: 35px 0; }
  .case-context h2 { margin-top: 15px; font-size: 21px; }
  .case-context p { font-size: 13px; }
  .case-design { display: block; padding: 26px; margin-top: 28px; }
  .case-design h2 { font-size: 26px; }
  .case-design p { margin-top: 22px; font-size: 13px; }
  .case-process { grid-template-columns: 1fr; gap: 30px; padding-block: 35px; }
  .case-process section + section { border-left: 0; padding-left: 0; }
  .case-metrics > div { padding-left: 12px; }
  .case-metrics strong { font-size: 25px; overflow-wrap: anywhere; }
  .case-metrics span { font-size: 9px; line-height: 1.6; }
  .next-work strong { font-size: 25px; }
  .next-arrow { width: 44px; height: 44px; font-size: 24px; }
}
