html { max-width: 100%; }
.motion-edition { --ink:#141414; --line:#e2e2e2; color:var(--ink); background:white; margin:0; }
.motion-edition .preview {background:#f4f4f4;color:#353535; letter-spacing:.04em;}
.motion-edition .preview a { color:#171717; }
.motion-edition header {background:#fff; color:#171717; border-color:#e6e6e6;}
.motion-edition .logo span,.motion-edition nav a:hover {color:#171717;}
.motion-edition .nav-contact {border-color:#141414;color:#141414;}
.motion-scene { position:relative; background:#fff; }
.motion-capable .motion-scene {min-height:143svh;}
.motion-hero { min-height:735px; height:calc(100svh - 86px); max-height:1050px; isolation:isolate; position:relative; display:grid; grid-template-rows:1fr; padding:clamp(24px,4vw,64px); overflow:hidden; border-bottom:1px solid var(--line); }
.motion-capable .motion-hero {position:sticky;top:0;}
.motion-grid {position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,transparent calc(50% - .5px),#eaeaea 50%,transparent calc(50% + .5px)),linear-gradient(#fff 0%,#fafafa 100%);}
.motion-copy {position:relative;align-self:center;z-index:1;pointer-events:none; }
.motion-copy h1 {margin:0;font-family:Arial,Helvetica,sans-serif;font-size:clamp(120px,19.4vw,300px);line-height:.815;letter-spacing:-.098em;font-weight:700; color:#121212;}
.motion-copy p {margin:clamp(20px,4vw,54px) 0 0 .35rem;font-weight:600;font-size:clamp(16px,1.55vw,25px);letter-spacing:.08em;}
.motion-mask {display:block;overflow:hidden;padding:0 .115em .08em .015em;}
.motion-mask>span {display:block; width:max-content;}
.motion-last {margin-top:-.085em; margin-left:.99em;}
.motion-fullstop {color:#888;}
.motion-figure {position:absolute;z-index:-1;top:5%;left:38%;width:clamp(525px,63vw,1060px); transform:translate3d(calc(-78px * var(--scroll,0) + var(--px,0px)),calc(105px * var(--scroll,0) + var(--py,0px)),0) rotate(calc(-9deg * var(--scroll,0))) scale(calc(1 + .21 * var(--scroll,0)));transform-origin:58% 46%;pointer-events:none;}
.motion-figure img {width:100%;height:auto;display:block;}
.motion-enabled .motion-mask>span {animation:type-rise 1120ms cubic-bezier(.17,.71,.22,1) both;}
.motion-enabled .motion-last>span {animation-delay:130ms;}
.motion-enabled .motion-copy p {animation:copy-in 850ms 280ms both;}
.motion-enabled .motion-enter {animation:art-in 1420ms cubic-bezier(.14,.71,.22,1) both;}
@keyframes type-rise {from{transform:translate3d(0,110%,0);}to{transform:translate3d(0,0,0);}}
@keyframes copy-in {from{opacity:0;transform:translateY(18px);}to{opacity:1;transform:none;}}
@keyframes art-in {from{opacity:0;transform:translate3d(21%,13%,0) rotate(13deg) scale(.78);}to{opacity:1;transform:none;}}
.motion-band {background:#171717;color:#fff;overflow:hidden;padding:clamp(18px,2.8vw,42px) 0;position:relative;}
.motion-track {display:flex;width:max-content;align-items:center;font-weight:650;font-size:clamp(27px,6vw,89px);letter-spacing:-.055em;line-height:1.05;font-family:Arial,Helvetica,sans-serif;}
.motion-track span {white-space:nowrap;display:flex;gap:.5em;align-items:center;margin-right:.5em;}
.motion-track i {width:.14em;height:.14em;background:#fff;border-radius:50%;display:inline-block;}
.motion-edition .works,.motion-edition .about,.motion-edition .notes,.motion-edition .contact,.motion-edition .care-plan {color:#141414;background:#fff;}
.motion-edition .about h2 span,.motion-edition .sys-text em {color:#505050;}
.motion-edition .work-image {filter:grayscale(1); transition:filter .45s ease,transform .65s cubic-bezier(.2,.7,.3,1);}
.motion-edition .work-item:hover .work-image,.motion-edition .work-item:focus-visible .work-image {filter:none;transform:scale(.98);}
.motion-edition .filters .active,.motion-edition .contact button {background:#171717;color:#fff;}
.motion-edition .care-plan__price{color:#171717;}
.motion-edition .care-plan__price,.motion-edition .care-plan__note {background:#f4f4f4;border-color:#d8d8d8;}
.motion-edition .care-plan__items article,.motion-edition .care-plan__price strong {color:#171717;}
.motion-edition .works,.motion-edition .about,.motion-edition .notes,.motion-edition .care-plan,.motion-edition .contact {scroll-margin-top:90px;}
.motion-edition footer {background:#171717;color:#fff;}
@media(max-width:900px){.motion-hero{min-height:650px;}.motion-figure{left:26%;top:9%;}}
@media(max-width:650px){
 .motion-capable .motion-scene{min-height:116svh;}
 .motion-hero{height:calc(100svh - 72px);min-height:575px;max-height:800px;padding:21px 19px;}


 .motion-copy{align-self:start;margin-top:clamp(67px,13svh,112px);}
 .motion-copy h1{font-size:clamp(64px,18.4vw,130px);letter-spacing:-.08em;}
 .motion-last{margin-left:1.18em;}
 .motion-copy p{margin-top:18px;}
 .motion-figure{top:36%;left:10%;width:100%;transform:translate3d(calc(-17px * var(--scroll,0)),calc(41px * var(--scroll,0)),0) rotate(calc(-5deg * var(--scroll,0))) scale(calc(1 + .13 * var(--scroll,0)));}
}
@media(prefers-reduced-motion:reduce){
 .motion-edition{scroll-behavior:auto;}
 .motion-edition *, .motion-edition *::before, .motion-edition *::after {scroll-behavior:auto !important;animation:none !important;transition:none !important;}
 .motion-capable .motion-scene{min-height:0;}
 .motion-capable .motion-hero{position:relative;}
 .motion-figure{--scroll:0;--px:0px;--py:0px;}
}
@media(min-width:651px){
 .motion-edition header{padding-block:18px;}
 .motion-hero{height:calc(100svh - 107px);min-height:550px;}
 .motion-copy h1{font-size:clamp(117px,min(19.4vw,27svh),300px);}
 .motion-copy p{margin-top:clamp(20px,3.6svh,46px);}
 .motion-figure{width:clamp(510px,min(62vw,91svh),1060px);}
}
.motion-edition a:focus-visible,.motion-edition button:focus-visible,.motion-edition summary:focus-visible{outline-color:#171717;}
.motion-edition .care-plan__price,
.motion-edition .care-plan__price span,
.motion-edition .care-plan__price strong,
.motion-edition .care-plan__price small,
.motion-edition .care-plan__note p {color:#171717;}
.motion-edition .care-plan__items article p {color:#383838;}
.motion-copy h1 {font-family:"Hiragino Sans","Yu Gothic",Meiryo,"Noto Sans CJK JP",sans-serif;font-size:clamp(55px,min(8.7vw,14svh),132px);line-height:1.25;letter-spacing:-.12em; font-weight:800;}
.motion-last {margin-top:-.035em;margin-left:.72em;}
.motion-copy p {color:#292929;font-size:clamp(14px,1.3vw,19px);letter-spacing:.04em;}
.motion-figure {left:43%;top:1%;width:clamp(440px,min(57vw,100svh),960px);transform-origin:60% 50%;}
.motion-track {transform:translate3d(var(--band-offset,0px),0,0);}
@media(max-width:650px){
 .motion-copy h1 {font-size:clamp(37px,11.2vw,71px);letter-spacing:-.11em;}
 .motion-last {margin-left:.35em;}
 .motion-copy {margin-top:clamp(62px,12svh,98px);}
 .motion-copy p {max-width:235px; line-height:1.72;margin-left:.1rem;}
 .motion-figure {top:40%;left:24%;width:87%;}
}
.motion-edition .work-grid{row-gap:clamp(34px,5vw,72px);}
.motion-edition .case-image{background:#ececec;border:1px solid #e1e1e1;height:auto;aspect-ratio:1.52;}
.motion-edition .case-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top;}
.motion-edition .work-item:active .case-image{filter:none;}
.motion-edition .work-caption small{font-size:13px;color:#444;}
.motion-edition .work-caption h3{line-height:1.45;}
.motion-edition .profile p{font-size:1rem;line-height:1.95;}
.motion-edition .strengths{border-top:1px solid #ddd;margin-top:clamp(36px,6vw,90px);padding-top:clamp(30px,5vw,54px);}
.motion-edition .strengths h3{font-size:clamp(24px,3vw,38px);margin:0 0 10px;letter-spacing:-.035em;}
.motion-edition .strengths>p{font-size:1rem;margin:0;line-height:1.8;}
.motion-edition .strengths-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px;}
.motion-edition .strengths-grid article{border-top:1px solid #ddd;padding-top:15px;}
.motion-edition .strengths-grid h4{font-size:1.1rem;margin:0 0 10px;}
.motion-edition .strengths-grid p{font-size:1rem;line-height:1.8;margin:0;}
.motion-edition #modal-project-link:not([hidden]){display:inline-block;border:1px solid #555;border-radius:100px;padding:.55em 1em;margin-top:.5em;color:#171717;}
@media(max-width:750px){.motion-edition .strengths-grid{grid-template-columns:1fr;gap:20px;}}
@media(max-width:450px){.motion-edition .filters{flex-wrap:wrap}.motion-edition .filters button{padding-inline:13px}}
/* 568 of the 640 SVG units are ink: 75vw × 568/640 ≈ 2/3 of the viewport. */
.wave-figure {
  top:50%;left:auto;right:-1.5%;width:75vw;
  transform:translate3d(calc(-14px * var(--scroll,0) + var(--px,0px)),calc(-50% + 12px * var(--scroll,0) + var(--py,0px)),0);
}
.wave-art {display:block;width:100%;height:auto;overflow:visible;mask-image:linear-gradient(90deg,transparent 2%,#000 29%,#000);}
.motion-enabled .wave-figure .motion-enter {animation:none;}
@media(max-width:650px) {
  .wave-figure{top:64%;left:auto;right:-2%;width:97%;}
  .wave-art{mask-image:linear-gradient(90deg,transparent 2%,#000 16%,#000);}
}
