@charset "UTF-8";
/* 一覧トップ／PRギャラリー共通スタイル */
:root {
  --paper: #f4f4ee;
  --paper-2: #e9ede3;
  --ink: #1d2b23;
  --deep: #0c1310;
  --deep-2: #131d18;
  --muted: #667064;
  --line: #d5dacd;
  --line-dark: #ffffff1f;
  --lime: #dcee9b;
  --lime-strong: #c9e56a;
  --white: #fff;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Yu Gothic UI", "Yu Gothic", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --latin: "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #6d8738; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: 64px; padding-right: 64px; }
.sp { display: none; }
.skip { position: fixed; top: -100px; left: 10px; z-index: 200; background: var(--lime); color: var(--ink); padding: 15px; }
.skip:focus { top: 10px; }
.eyebrow { font: 700 10px/1.4 var(--latin); letter-spacing: .16em; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-strong); display: inline-block; margin-right: 10px; }

/* 表示演出（JSが有効なときだけ隠す） */
.js [data-reveal] { opacity: 0; translate: 0 32px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: none; }
.approach-grid article:nth-child(2), .stat:nth-child(2) { transition-delay: .08s; }
.approach-grid article:nth-child(3), .stat:nth-child(3) { transition-delay: .16s; }
.stat:nth-child(4) { transition-delay: .24s; }

/* 進捗バー */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--lime-strong); transform: scaleX(0); transform-origin: left; }

/* ヘッダー */
.site-header { position: relative; z-index: 100; color: var(--ink); }
.header-inner { height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-header.is-fixed { position: fixed; inset: 0 0 auto; color: var(--paper); transition: translate .45s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.site-header.is-fixed .header-inner { transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 68px; }
.site-header.is-scrolled { background: #0c1310b8; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-light { color: var(--ink); background: #f4f4eed9; box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { translate: 0 -100%; }
.brand { display: flex; gap: 16px; align-items: center; font: 700 12px/1.2 var(--latin); letter-spacing: .1em; }
.brand-mark { font: 46px/1 var(--serif); letter-spacing: -6px; }
.brand-mark > span { display: inline-block; letter-spacing: 0; font: 19px var(--latin); transform: translate(5px, -16px); transition: transform .3s var(--ease); }
.brand:hover .brand-mark > span { transform: translate(9px, -20px); }
.brand small { display: block; font-size: 8px; letter-spacing: .17em; font-weight: 500; margin-top: 6px; opacity: .75; }
nav { display: flex; gap: 32px; align-items: center; font: 12px var(--latin); letter-spacing: .04em; }
nav a { position: relative; padding: 6px 0; }
nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
nav a:not(.nav-contact):hover::after { transform: scaleX(1); transform-origin: left; }
nav a > span { font-size: 10px; margin-left: 4px; opacity: .7; }
.nav-contact { border: 1px solid currentColor; border-radius: 30px; padding: 12px 20px; transition: background-color .25s, color .25s, border-color .25s; }
.nav-contact:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* ヒーロー */
.hero { position: relative; min-height: max(100svh, 640px); color: var(--paper); background: radial-gradient(120% 90% at 78% 30%, #1b3023 0%, var(--deep) 62%); overflow: hidden; display: flex; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s; }
.hero-canvas.is-live { opacity: 1; }
.hero-inner { width: 100%; display: flex; flex-direction: column; padding-top: 124px; padding-bottom: 34px; }
.hero-top { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-dark); padding-top: 22px; }
.hero-year { font: 10px var(--latin); letter-spacing: .14em; opacity: .7; }
.hero-title { font-size: clamp(28px, 8.4vw, 128px); line-height: 1.22; letter-spacing: -.045em; font-weight: 600; margin: auto 0; padding: 34px 0; }
.hero-title .line { display: block; overflow: hidden; padding-block: .05em; }
.hero-title .line > span { display: block; }
.js .hero-title .line > span { translate: 0 110%; transition: translate 1.15s var(--ease); }
.js .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.js .hero-title .line:nth-child(3) > span { transition-delay: .2s; }
.js.is-ready .hero-title .line > span { translate: none; }
.under { font-style: normal; color: var(--lime); position: relative; }
.under::after { content: ""; position: absolute; left: .04em; right: .04em; bottom: .02em; height: .055em; background: var(--lime-strong); transform-origin: left; }
.js .under::after { transform: scaleX(0); transition: transform .9s var(--ease) .95s; }
.js.is-ready .under::after { transform: scaleX(1); }
.hero-bottom { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 56px; }
.hero-lead { font-size: 14px; line-height: 2.1; letter-spacing: .04em; color: #dfe4d6; }
.hero-spec { display: flex; gap: 34px; margin: 0; }
.hero-spec div { border-left: 1px solid var(--line-dark); padding-left: 14px; }
.hero-spec dt { font: 9px var(--latin); letter-spacing: .16em; opacity: .65; }
.hero-spec dd { margin: 8px 0 0; font: 300 34px/1 var(--latin); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-spec dd.small { font-size: 13px; font-weight: 500; letter-spacing: .06em; line-height: 34px; }
.circle-link { display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--lime); color: var(--ink); width: 124px; height: 124px; border-radius: 50%; font: 700 11px/1.35 var(--latin); letter-spacing: .12em; text-align: center; transition: scale .4s var(--ease), background-color .25s; }
.circle-link:hover { scale: 1.07; background: var(--lime-strong); }
.circle-arrow { font-size: 24px; font-weight: 300; margin-top: 4px; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { translate: 0; } 50% { translate: 0 6px; } }
.hero-note { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 10px; letter-spacing: .06em; color: #aab3a4; }
.js .hero-top, .js .hero-bottom, .js .hero-note { opacity: 0; transition: opacity 1s var(--ease) .5s; }
.js.is-ready .hero-top, .js.is-ready .hero-bottom, .js.is-ready .hero-note { opacity: 1; }

/* マーキー */
.marquee { background: var(--lime); color: var(--ink); overflow: hidden; padding: 17px 0; }
.marquee-track { display: flex; align-items: center; gap: 38px; width: max-content; animation: marquee 38s linear infinite; font-size: 15px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.marquee-track i { font-style: normal; font-size: 13px; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 見出し */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 44px; }
.section-heading h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1.3; margin-top: 16px; }
.section-heading > p { font-size: 12px; line-height: 2; color: var(--muted); }

/* 作品 */
.works-section { padding-top: 120px; padding-bottom: 120px; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 56px; padding-bottom: 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); border-radius: 30px; padding: 12px 20px; background: transparent; color: var(--ink); font-size: 12px; transition: background-color .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button.active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.filters button > span { margin-left: 10px; opacity: .65; font: 9px var(--latin); }
.result-count { font: 10px var(--latin); letter-spacing: .14em; }
.work-grid { display: grid; gap: 96px; }
.work-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.work-card[hidden] { display: none; }
.work-card:nth-child(even) .work-stage { order: 2; }
.work-stage { position: relative; display: block; background: var(--card-bg); border-radius: 20px; overflow: hidden; aspect-ratio: 1.4; perspective: 1400px; }
.work-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 15% 0%, #ffffff40, transparent 60%); }
.stage-num { position: absolute; right: 4%; top: -2%; font: italic 400 clamp(84px, 12vw, 180px)/1 var(--serif); color: color-mix(in srgb, var(--card-accent) 26%, transparent); letter-spacing: -.04em; }
.frame { position: absolute; display: block; overflow: hidden; background: #fff; transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform; }
.frame img { width: 100%; }
.frame-pc { left: 7%; top: 15%; width: 74%; border-radius: 10px; box-shadow: 0 30px 60px -20px #0006, 0 0 0 1px #0000000f; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.frame-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 11px; background: #ecede8; position: relative; }
.frame-bar i { width: 6px; height: 6px; border-radius: 50%; background: #b3b9b0; }
.frame-bar em { position: absolute; left: 0; right: 0; text-align: center; font: normal 8px var(--latin); letter-spacing: .14em; color: #77806f; }
.frame-sp { right: 6%; bottom: -7%; width: 19.5%; border: 5px solid #171c19; border-radius: 20px; background: #171c19; box-shadow: 0 30px 50px -15px #0008; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(60px); }
.frame-sp img { border-radius: 14px; }
.work-stage:hover .frame-pc { box-shadow: 0 46px 80px -24px #0007, 0 0 0 1px #0000000f; }
.view-badge { position: absolute; left: 7%; bottom: 6%; display: flex; align-items: center; gap: 10px; background: var(--deep); color: var(--paper); border-radius: 30px; padding: 11px 18px; font: 700 10px var(--latin); letter-spacing: .14em; opacity: 0; translate: 0 10px; transition: opacity .35s, translate .45s var(--ease); }
.view-badge b { color: var(--lime); font-size: 13px; }
.work-stage:hover .view-badge, .work-stage:focus-visible .view-badge { opacity: 1; translate: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .frame-sp { animation: sp-drift linear both; animation-timeline: view(); }
    .stage-num { animation: num-drift linear both; animation-timeline: view(); }
  }
}
@keyframes sp-drift { from { translate: 0 12%; } to { translate: 0 -12%; } }
@keyframes num-drift { from { translate: 0 -18%; } to { translate: 0 22%; } }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.card-meta .kind { border: 1px solid var(--ink); padding: 4px 8px; margin-right: 10px; color: var(--ink); font: 700 10px var(--latin); letter-spacing: .08em; }
.card-meta > span:last-child { font: 10px var(--latin); letter-spacing: .14em; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.card-title h3 { font-size: clamp(30px, 3.3vw, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.card-title h3 a { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 92% / 0 .28em; transition: background-size .5s var(--ease); }
.card-title h3 a:hover { background-size: 100% .28em; }
.card-title > span { font: 9px var(--latin); letter-spacing: .2em; color: var(--muted); white-space: nowrap; }
.card-caption { font-size: 15px; margin: 14px 0 22px; line-height: 1.8; }
.card-target { border-left: 2px solid var(--card-accent); padding-left: 12px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.card-target strong { font: 500 9px var(--latin); letter-spacing: .12em; display: block; margin-bottom: 4px; }
.card-tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 20px 0; }
.card-tags span:first-child { background: var(--ink); color: var(--lime); }
.card-tags span { font-size: 10px; border-radius: 3px; padding: 6px 9px; background: var(--paper-2); color: #4f5a48; }
.card-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.card-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; padding: 15px 0; }
.card-details summary::-webkit-details-marker { display: none; }
.card-details summary::after { content: "＋"; transition: rotate .3s var(--ease); }
.card-details[open] summary::after { rotate: 45deg; }
.card-details p { line-height: 1.95; margin: 0 0 13px; color: var(--muted); }
.card-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: 12px; }
.card-actions a, .card-actions button { border: 0; background: none; padding: 0 0 5px; border-bottom: 1px solid var(--ink); border-radius: 0; }
.card-actions a:hover, .card-actions button:hover { border-color: var(--card-accent); color: var(--card-accent); }
.card-actions .action-main { background: var(--ink); color: var(--paper); border: 0; border-radius: 30px; padding: 13px 22px; transition: background-color .25s; }
.card-actions .action-main:hover { background: #3c5343; color: var(--paper); }
.card-actions .action-main span { color: var(--lime); margin-left: 8px; }
.noscript-list { line-height: 2.4; font-size: 14px; }
.noscript-list a { border-bottom: 1px solid var(--ink); }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* ライブプレビュー */
.live-section { background: var(--deep); color: var(--paper); padding: 120px 0; }
.live-section .section-heading > p { color: #aab3a4; }
.live-panel { border: 1px solid var(--line-dark); border-radius: 20px; background: var(--deep-2); padding: 26px; }
.live-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px 30px; flex-wrap: wrap; margin-bottom: 24px; }
.live-works, .live-devices { display: flex; gap: 6px; flex-wrap: wrap; }
.live-works button, .live-devices button { border: 1px solid var(--line-dark); background: transparent; border-radius: 30px; padding: 10px 15px; font-size: 12px; transition: background-color .25s, color .25s, border-color .25s; }
.live-works button span, .live-devices button span { font: 9px var(--latin); opacity: .6; margin-right: 7px; }
.live-devices button span { margin: 0 0 0 6px; }
.live-works button:hover, .live-devices button:hover { border-color: var(--lime); }
.live-works button[aria-pressed="true"], .live-devices button[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.live-section :focus-visible { outline-color: var(--lime); }
.live-size { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.live-range { display: flex; align-items: center; gap: 12px; font-size: 11px; }
.live-range input { -webkit-appearance: none; appearance: none; width: 190px; height: 22px; background: transparent; cursor: ew-resize; }
.live-range input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--lime) var(--fill, 50%), #ffffff33 var(--fill, 50%)); }
.live-range input::-moz-range-track { height: 2px; background: #ffffff33; }
.live-range input::-moz-range-progress { height: 2px; background: var(--lime); }
.live-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); margin-top: -7px; box-shadow: 0 0 0 5px #dcee9b26; }
.live-range input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--lime); }
.live-range output { font: 12px ui-monospace, Consolas, monospace; min-width: 54px; color: var(--lime); }
.live-stage { display: flex; justify-content: center; min-height: 380px; background: repeating-linear-gradient(90deg, #ffffff0a 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, #ffffff0a 0 1px, transparent 1px 40px); border-radius: 12px; padding: 0; overflow: hidden; }
.live-screen { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px #000; align-self: flex-start; max-width: 100%; }
.live-screen.is-animating, .live-screen.is-animating .live-viewport { transition: width .45s var(--ease), height .45s var(--ease); }
.live-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; background: #e6e8e1; position: relative; }
.live-bar i { width: 8px; height: 8px; border-radius: 50%; background: #b3b9b0; flex: none; }
.live-bar em { position: absolute; left: 60px; right: 60px; text-align: center; font: normal 10px ui-monospace, Consolas, monospace; color: #5d6657; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-viewport { overflow: hidden; }
.live-viewport iframe { display: block; border: 0; transform-origin: 0 0; background: #fff; }
.live-note { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; font-size: 11px; color: #aab3a4; }
.live-note span { font-family: ui-monospace, Consolas, monospace; }
.live-note a { color: var(--paper); border-bottom: 1px solid var(--lime); padding-bottom: 3px; }

/* 考え方 */
.approach-section { padding: 120px 0; background: var(--paper-2); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.approach-grid article { border-top: 1px solid var(--ink); padding-top: 24px; position: relative; }
.approach-grid article::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--lime-strong); }
.approach-grid span { font: 9px var(--latin); letter-spacing: .16em; }
.approach-grid h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 44px 0 16px; }
.approach-grid p { font-size: 13px; color: var(--muted); line-height: 2.1; }

/* つくり */
.build-section { padding-top: 120px; padding-bottom: 120px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 26px 32px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 26px; }
.stat b { display: block; font: 300 clamp(44px, 5.2vw, 78px)/1 var(--latin); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b i { font-style: normal; }
.stat b.range { font-size: clamp(30px, 3.5vw, 54px); line-height: clamp(44px, 5.2vw, 78px); }
.stat span { display: block; font-size: 13px; font-weight: 600; margin: 22px 0 8px; }
.stat small { display: block; font-size: 11px; line-height: 1.9; color: var(--muted); }
.build-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.build-list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.9; }
.build-list b { font: 700 11px/2 var(--latin); letter-spacing: .1em; }
.build-list span { color: var(--muted); }
.pr-banner { background: var(--lime); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 38px 42px; margin-top: 72px; border-radius: 20px; }
.pr-banner h3 { font-size: 24px; font-weight: 600; margin: 12px 0; }
.pr-banner p { font-size: 12px; line-height: 1.8; }
.pill-link { white-space: nowrap; font-size: 12px; border: 1px solid var(--ink); padding: 15px 22px; border-radius: 30px; transition: background-color .25s, color .25s; }
.pill-link span { padding-left: 14px; }
.pill-link:hover { background: var(--ink); color: var(--paper); }

/* プロフィール */
.profile-section { background: var(--deep); color: var(--paper); padding: 130px 0 120px; }
.profile-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.profile-section h2 { font-weight: 600; font-size: clamp(30px, 3.4vw, 54px); letter-spacing: -.04em; line-height: 1.45; margin-top: 26px; }
.profile-copy { font-size: 13px; line-height: 2.2; color: #dfe4d6; }
.profile-copy > p + p { margin-top: 1em; }
.profile-name { font-size: 20px; color: var(--paper); }
.profile-name span { font: 9px var(--latin); margin-left: 15px; letter-spacing: .14em; opacity: .7; }
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 26px; }
.contact-links a { background: var(--lime); color: var(--ink); border-radius: 40px; padding: 17px 30px; font-size: 13px; font-weight: 600; transition: background-color .25s, translate .35s var(--ease); }
.contact-links a:hover { background: var(--lime-strong); translate: 0 -3px; }
.contact-links a span { margin-left: 10px; }
.real-work { font-size: 12px; border-bottom: 1px solid #ffffff55; padding-bottom: 4px; }
.real-work:hover { border-color: var(--lime); color: var(--lime); }
.profile-section :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.site-header.is-fixed:not(.is-light) :focus-visible { outline-color: var(--lime); }

/* フッター */
.site-footer { background: var(--deep); color: #aab3a4; border-top: 1px solid var(--line-dark); }
.footer-inner { padding-top: 30px; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-size: 10px; line-height: 1.8; }
.site-footer a { white-space: nowrap; font-family: var(--latin); letter-spacing: .1em; }
.site-footer a:hover { color: var(--lime); }

/* PRギャラリー */
.gallery-hero { padding-top: 45px; padding-bottom: 45px; }
.gallery-hero h1 { font-size: clamp(30px, 4vw, 54px); font-weight: 600; letter-spacing: -.04em; margin: 20px 0; }
.gallery-hero p { line-height: 2; font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 32px; padding-bottom: 90px; }
.gallery-card img { width: 100%; border-radius: 14px; border: 1px solid var(--line); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.gallery-card a:hover img { translate: 0 -6px; box-shadow: 0 30px 50px -30px #0006; }
.gallery-card h2 { font-size: 20px; margin: 20px 0 12px; }
.gallery-card h2 small { font: 10px var(--latin); letter-spacing: .12em; color: var(--muted); }
.gallery-downloads { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-downloads a { font-size: 11px; border: 1px solid var(--line); border-radius: 30px; padding: 10px 16px; transition: background-color .25s; }
.gallery-downloads a:hover { background: var(--lime); }
.overview-download { margin-bottom: 40px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 12px; }
.overview-download a { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

@media (max-width: 1000px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  nav { gap: 22px; }
  nav a[href="#live"], nav a[href="#build"] { display: none; }
  .hero-bottom { grid-template-columns: 1fr auto; gap: 30px; }
  .hero-spec { grid-column: 1 / -1; order: 3; }
  .work-card { grid-template-columns: 1fr; gap: 30px; }
  .work-card:nth-child(even) .work-stage { order: 0; }
  .work-grid { gap: 80px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .build-list { grid-template-columns: 1fr; }
  .profile-inner { gap: 36px; }
  .approach-grid { gap: 25px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .sp { display: block; }
  .header-inner { height: 76px; }
  .site-header.is-scrolled .header-inner { height: 60px; }
  .brand { gap: 10px; font-size: 9px; }
  .brand-mark { font-size: 36px; letter-spacing: -5px; }
  .brand-mark > span { font-size: 15px; transform: translate(4px, -13px); }
  .brand small { font-size: 6px; }
  nav { gap: 14px; font-size: 11px; }
  nav a[href="#approach"] { display: none; }
  .nav-contact { padding: 9px 13px; }
  .hero-inner { padding-top: 96px; padding-bottom: 24px; }
  .hero-top { padding-top: 16px; }
  .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .hero-year { display: none; }
  .hero-title { font-size: clamp(28px, 10vw, 44px); line-height: 1.4; }
  .hero-bottom { gap: 22px 14px; }
  .hero-lead { font-size: 12px; letter-spacing: 0; }
  .circle-link { width: 84px; height: 84px; font-size: 8px; }
  .circle-arrow { font-size: 18px; margin-top: 2px; }
  .hero-spec { gap: 18px; }
  .hero-spec dd { font-size: 26px; }
  .hero-spec dd.small { font-size: 10px; line-height: 26px; }
  .hero-note { font-size: 9px; margin-top: 22px; line-height: 1.8; }
  .marquee { padding: 13px 0; }
  .marquee-track { font-size: 12px; gap: 24px; }
  .works-section, .build-section { padding-top: 76px; padding-bottom: 76px; }
  .live-section, .approach-section { padding: 76px 0; }
  .profile-section { padding: 84px 0 76px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 18px; }
  .filter-bar { margin-bottom: 34px; }
  .filters { gap: 5px; }
  .filters button { padding: 10px 12px; font-size: 10px; }
  .filters button > span { margin-left: 5px; }
  .result-count { display: none; }
  .work-grid { gap: 64px; }
  .work-card { gap: 24px; }
  .work-stage { border-radius: 14px; aspect-ratio: 1.25; }
  .frame-pc { left: 6%; top: 17%; width: 78%; border-radius: 7px; }
  .frame-bar { height: 16px; }
  .frame-bar em { display: none; }
  .frame-sp { width: 24%; border-width: 3px; border-radius: 13px; }
  .frame-sp img { border-radius: 9px; }
  .view-badge { display: none; }
  .card-title > span { display: none; }
  .card-caption { font-size: 13px; margin: 10px 0 18px; }
  .card-actions { gap: 16px; }
  .live-panel { padding: 16px; border-radius: 14px; }
  .live-controls { display: block; }
  .live-works { margin-bottom: 16px; }
  .live-works button, .live-devices button { padding: 9px 11px; font-size: 11px; }
  .live-size { gap: 14px; }
  .live-range { width: 100%; }
  .live-range input { flex: 1; width: auto; min-width: 0; }
  .approach-grid { grid-template-columns: 1fr; gap: 34px; }
  .approach-grid h3 { font-size: 23px; margin: 24px 0 12px; }
  .stat { padding: 22px 12px 24px 0; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat span { font-size: 12px; margin-top: 16px; }
  .build-list li { grid-template-columns: 1fr; gap: 2px; }
  .pr-banner { display: block; padding: 28px 24px; margin-top: 48px; border-radius: 14px; }
  .pr-banner h3 { font-size: 20px; }
  .pr-banner .pill-link { display: block; width: max-content; margin-top: 22px; }
  .profile-inner { grid-template-columns: 1fr; gap: 28px; }
  .profile-section h2 { font-size: clamp(24px, 7.6vw, 40px); }
  .contact-links a { padding: 15px 24px; }
  .footer-inner { flex-wrap: wrap; font-size: 9px; gap: 18px; }
  .footer-inner > p:nth-child(2) { order: 3; width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; gap: 38px; }
  .gallery-hero { padding-top: 25px; }
  .gallery-hero p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js .hero-title .line > span, .js .hero-top, .js .hero-bottom, .js .hero-note { opacity: 1; translate: none; }
  .js .under::after { transform: none; }
}
