/* ヒーローと同じ海色・金属の材質を使うトップ下部。 */
.lower-content *, .lower-content *::before, .lower-content *::after { box-sizing: border-box; }
.lower-content a:focus-visible, .lower-content button:focus-visible, .lower-content canvas:focus-visible { outline: 2px solid var(--lab-blue); outline-offset: 6px; }
.lab-model.is-ready canvas { cursor: grab; touch-action: pan-y; }
.lab-model.is-dragging canvas { cursor: grabbing; }
.lower-content { --lab-ink: #15374a; --lab-muted: #4e6875; --lab-blue: #126288; --lab-line: #c9dce3; --lab-paper: #f5f9fa; color: var(--lab-ink); width: 100vw; margin-left: calc(50% - 50vw); position: relative; z-index: 5; background: white; scroll-margin-top: 76px; }
.water-js .lower-content { margin-top: calc(-60svh - 950px); background: linear-gradient(transparent, #fff 24rem); }
.lab-frame { width: min(100%, 1440px); margin-inline: auto; padding-inline: 72px; }
.lab-section { position: relative; }
.lab-section h1, .lab-section h2, .lab-section h3, .lab-directory h2 { border: 0; padding: 0; color: var(--lab-ink); }
.lab-section h1, .lab-section h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: .025em; line-height: 1.25; }
.lab-section p { max-width: none; line-height: 1.95; }
.lab-kicker { font-size: 13px; letter-spacing: .18em; color: var(--lab-blue); margin: 0 0 28px; }
.lab-intro { overflow: clip; padding-top: 16px; }
.intro-layout { display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
.intro-copy { z-index: 2; padding: 64px 0 60px; }
.intro-copy :is(h1,h2) { font-size: clamp(42px, 5.2vw, 76px); margin: 0 0 32px; }
.intro-copy > p:not(.lab-kicker) { color: var(--lab-muted); }
.intro-copy .intro-lead { font-size: 20px; color: var(--lab-ink)!important; margin-bottom: 24px; }
.intro-copy > p:nth-last-of-type(1) { font-size: 15px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; border-bottom: 1px solid #8dafbe; padding: 16px 0; text-decoration: none; color: var(--lab-ink); font-size: 14px; }
.text-link span { font-size: 24px; transition: transform .25s; }
.text-link:hover span { transform: translate(3px,-3px); }
.lab-model { margin: 0; position: relative; aspect-ratio: 1 / 1; }
.lab-model canvas, .model-fallback { display: block; position: absolute; width: 100%; height: 100%; object-fit: contain; inset: 0; }
.lab-model canvas { opacity: 0; transition: opacity .5s; }
.lab-model.is-ready canvas { opacity: 1; }
.lab-model.is-ready .model-fallback { visibility: hidden; }
.lab-model figcaption { position: absolute; bottom: 10px; width: 100%; text-align: center; color: var(--lab-muted); font-size: 12px; letter-spacing: .07em; }
.assembly-model { width: calc(100% + 110px); margin-left: -30px; align-self: center; aspect-ratio: 1.18; }
.model-toggle { position: absolute; right: 35px; bottom: 45px; display: flex; gap: 28px; align-items: center; background: #ffffffed; color: var(--lab-ink); border: 1px solid var(--lab-line); border-radius: 2px; padding: 10px 16px; font: inherit; font-size: 12px; min-height: 44px; cursor: pointer; }
.model-toggle[hidden] { display: none; }
.model-toggle:hover { background: #e5f1f6; }
.model-motion { position: absolute; left: 40px; bottom: 45px; background: #ffffffed; border: 1px solid var(--lab-line); border-radius: 2px; color: var(--lab-ink); padding: 10px 16px; min-height: 44px; font: inherit; font-size: 12px; cursor: pointer; }
.model-motion[hidden] { display: none; }
.model-motion:hover { background: #e5f1f6; }
.lower-content button { touch-action: manipulation; }
.project-image:focus-visible .project-screen { transform: none; }
.journal-all:hover, .lab-directory > a:hover { color: var(--lab-blue); background: #e6f0f3; }
.capabilities { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,1fr); padding-block: 32px 58px; border-top: 1px solid var(--lab-line); gap: 30px; }
.capabilities article { border-left: 2px solid #9ac3d0; padding-left: 20px; }
.capabilities h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.capabilities p { color: var(--lab-muted); font-size: 13px; margin: 0; }
.lab-principle { padding-block: 60px 90px; background: linear-gradient(#fff,#edf5f7 28%,#edf5f7 72%,#fff); overflow: clip; }
.principle-layout { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 48px; }
.shell-model { width: calc(100% + 100px); margin-left: -86px; }
.principle-copy h2 { font-size: clamp(40px,4.5vw,66px); margin: 0 0 28px; }
.principle-lead { font-size: 19px; margin-bottom: 24px; }
.principle-copy > p:not(.principle-lead) { color: var(--lab-muted); font-size: 15px; }
.lab-works { padding-block: 82px 120px; }
.works-heading { margin-bottom: 64px; }
.works-heading h2 { margin: 0 0 24px; font-size: clamp(36px,4.5vw,64px); }
.works-heading p { color: var(--lab-muted); margin: 0; }
.work-gallery { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px 56px; }
.project:nth-child(even) { padding-top: 130px; }
.project-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.22; background: linear-gradient(145deg, #eaf2f5, #d4e5ed); overflow: hidden; perspective: 1000px; }
.project-screen { width: 86%; transform: rotateY(-10deg) rotateX(8deg) rotateZ(-3deg); box-shadow: 16px 24px 26px -16px #21455988, 2px 3px 0 #afc2cc, 4px 5px 0 #9aafb8; border: 6px solid #fafcfd; border-radius: 5px; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-screen img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: top; }
.project-image:hover .project-screen { transform: rotateY(0) rotateX(0) rotateZ(0) scale(1.03); }
.project-1 .project-image { background: linear-gradient(145deg, #f1f2ed, #e0e9e5); }
.project-1 .project-screen { transform: rotateY(10deg) rotateX(8deg) rotateZ(3deg); }
.project-2 .project-image { background: linear-gradient(145deg, #f0f3f5, #dbe4ec); }
.project-3 .project-image { background: linear-gradient(145deg, #eef6f5, #d7e9eb); }
.project-caption { display: flex; gap: 20px; justify-content: space-between; align-items: end; margin-top: 26px; }
.project-kind { margin: 0 0 8px; font-size: 12px; color: var(--lab-muted); }
.project h3 { margin: 0; font-family: var(--font-serif); font-size: 24px; font-weight: 600; line-height: 1.5; }
.project h3 a { color: inherit; text-decoration: none; }
.project h3 a span { display: inline-block; margin-left: 16px; font-family: var(--font-body); font-size: 20px; }
.project-tech { font-family: var(--font-mono); color: var(--lab-muted); font-size: 10px; white-space: nowrap; padding-bottom: 6px; }
.project-description { color: var(--lab-muted); font-size: 14px; margin: 12px 0 0; }
.gallery-links { display: flex; gap: 48px; align-items: center; margin-top: 50px; }
.gallery-links > a:last-child { display: flex; gap: 20px; color: var(--lab-muted); font-size: 13px; padding-block: 15px; text-decoration: none; }
.lab-journal { background: #edf4f6; padding-block: 110px 100px; }
.journal-heading h2 { font-size: clamp(48px,6.4vw,90px); margin: 0 0 28px; }
.journal-heading > p:last-child { color: var(--lab-muted); margin-bottom: 64px; }
.lab-journal .entry-list { margin: 0; }
.lab-journal .entry-card { background: transparent; box-shadow: none; border: 0; border-top: 1px solid #b6ced8; border-radius: 0; padding: 28px 0; }
.lab-journal .entry-card-title { font-family: var(--font-serif); font-size: 25px; line-height: 1.6; margin: 0 0 12px; }
.lab-journal .entry-card-title a { color: var(--lab-ink); }
.lab-journal .entry-card-description { color: var(--lab-muted); margin: 14px 0 0; }
.journal-all { display: flex; justify-content: space-between; border-block: 1px solid #b6ced8; padding: 25px 0; margin-top: 64px; color: var(--lab-ink); text-decoration: none; font-size: 18px; }
.journal-all span { font-size: 26px; }
.lab-directory { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 0 42px; padding-block: 100px; }
.lab-directory > div { grid-row: span 2; }
.lab-directory > div > p { font-family: var(--font-serif); font-size: 36px; margin: 0 0 8px; }
.lab-directory h2 { font-size: 14px; font-weight: 400; color: var(--lab-muted); margin: 0; }
.lab-directory > a { display: flex; justify-content: space-between; gap: 20px; color: var(--lab-ink); text-decoration: none; font-size: 14px; padding: 22px 0; border-bottom: 1px solid var(--lab-line); }
@media (min-width: 1600px) { .intro-copy { padding-block: 100px; } }
@media (max-width: 1100px) {
  .lab-frame { padding-inline: 40px; }
  .principle-layout { gap: 30px; }
  .project-caption { display: block; }
  .project-tech { display: block; margin-top: 10px; }
  .work-gallery { gap: 60px 32px; }
  .assembly-model, .shell-model { width: 100%; margin-left: 0; }
  .model-toggle { right: 0; }
  .model-motion { left: 0; }
}
@media (min-width: 761px) and (max-width: 900px) { .capabilities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .lab-frame { padding-inline: 24px; }
  .lab-intro { padding-top: 0; }
  .intro-layout { grid-template-columns: 1fr; }
  .intro-copy { padding: 48px 0 0; }
  .intro-copy :is(h1,h2) { font-size: clamp(43px,9vw,66px); margin-bottom: 24px; }
  .lab-kicker { margin-bottom: 22px; font-size: 12px; }
  .intro-copy .intro-lead { font-size: 18px; }
  .assembly-model { width: calc(100% + 48px); margin: -10px -24px 0; }
  .model-toggle { right: 24px; bottom: 44px; }
  .model-motion { left: 24px; }
  .capabilities { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 32px 40px; margin-top: 20px; }
  .capabilities article { padding-left: 12px; }
  .capabilities h3 { font-size: 14px; }
  .capabilities p { font-size: 12px; }
  .capabilities br { display: none; }
  .lab-principle { padding-block: 40px 60px; }
  .principle-layout { grid-template-columns: 1fr; gap: 0; }
  .principle-copy { grid-row: 1; }
  .principle-copy h2 { font-size: 44px; }
  .shell-model { width: calc(100% + 48px); margin: 8px -24px -10px; }
  .lab-works { padding-block: 55px 70px; }
  .works-heading { margin-bottom: 36px; }
  .works-heading h2 { font-size: 35px; }
  .works-heading p { font-size: 14px; }
  .work-gallery { grid-template-columns: 1fr; gap: 44px; }
  .project:nth-child(even) { padding: 0; }
  .project-image { aspect-ratio: 1.2; }
  .project-caption { margin-top: 20px; }
  .project h3 { font-size: 23px; }
  .gallery-links { flex-direction: column; align-items: start; gap: 12px; margin-top: 32px; }
  .lab-journal { padding-block: 65px; }
  .journal-heading h2 { font-size: 49px; }
  .journal-heading > p:last-child { font-size: 14px; margin-bottom: 30px; }
  .journal-all { margin-top: 30px; }
  .lab-directory { grid-template-columns: 1fr; padding-block: 54px; }
  .lab-directory > div { margin-bottom: 28px; }
  .lab-model figcaption { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lower-content *, .lower-content *::before, .lower-content *::after { transition: none!important; animation: none!important; }
}
