@font-face{font-family:'Ueyoshi Japanese';src:url('assets/noto-sans-jp.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
html:lang(ja) body{font-family:'Ueyoshi Japanese','Yu Gothic','Hiragino Kaku Gothic ProN','Meiryo',sans-serif;line-height:1.9;line-break:strict;overflow-wrap:anywhere}
html:lang(ja) h1,html:lang(ja) h2,html:lang(ja) h3{letter-spacing:0;line-height:1.45;font-weight:700;word-break:normal}
html:lang(ja) p{letter-spacing:0;line-height:1.9}
html:lang(ja) .brand>span,html:lang(ja) .hero-wordmark,html:lang(ja) .footer-wordmark{font-family:'DM Sans',sans-serif;overflow-wrap:normal}
html:lang(ja) .brand small{letter-spacing:.12em;font-family:'Yu Gothic',sans-serif;font-size:10px}
html:lang(ja) .hero-panel h1{font-size:clamp(34px,3.7vw,56px);max-width:none}
html:lang(ja) .hero-panel>p{font-size:15px}
html:lang(ja) .hero-aside h2{font-size:clamp(24px,2.2vw,34px)}
html:lang(ja) .hero-aside{gap:18px}
html:lang(ja) .tag{letter-spacing:0;font-size:12px;white-space:normal}
html:lang(ja) .craft-copy h2{font-size:clamp(30px,3.2vw,46px)}
html:lang(ja) .section-heading h2,html:lang(ja) .about h2{font-size:clamp(32px,3.7vw,52px)}
html:lang(ja) .contact-panel h2{font-size:clamp(30px,3.6vw,48px)}
html:lang(ja) .work-copy h2{font-size:40px}
html:lang(ja) .service-label h3{font-size:24px}
html:lang(ja) .site-nav nav{gap:18px}
html:lang(ja) .site-nav nav>a,html:lang(ja) .nav-disclosure>summary{font-size:14px}
html:lang(ja) .mega-menu a,html:lang(ja) .company-menu a{line-height:1.6}
html:lang(ja) .mega-menu h2 a{font-size:23px}
html:lang(ja) .page-hero h1{font-size:clamp(32px,3.8vw,54px);max-width:18em}
html:lang(ja) .page-hero p{font-size:17px;max-width:40em}
html:lang(ja) .original-label,html:lang(ja) .catalog-list [lang=ja]{display:none}
html:lang(ja) .page-contact h2{font-size:30px}
html:lang(ja) .editorial-body h2,html:lang(ja) .content-notice h2,html:lang(ja) .process-list h2{font-size:28px}
html:lang(ja) .editorial-body p,html:lang(ja) .content-notice p,html:lang(ja) .process-list p,html:lang(ja) .faq-list p{line-height:1.9}
html:lang(ja) .catalog-list h3{font-size:24px}
html:lang(ja) .roof-stage>img{top:190px}
@media(max-width:1100px){html:lang(ja) .site-nav nav>a,html:lang(ja) .nav-disclosure>summary{font-size:16px}}
@media(max-width:700px){html:lang(ja) .hero-panel h1{font-size:31px;line-height:1.55}html:lang(ja) .hero-panel>p{font-size:14px;max-width:none}html:lang(ja) .hero-aside h2{font-size:24px}html:lang(ja) .hero-aside .tag{font-size:11px}html:lang(ja) .hero-wordmark{font-size:90px}html:lang(ja) .craft-copy h2{font-size:28px}html:lang(ja) .craft-panel{min-height:850px}html:lang(ja) .work-copy h2{font-size:34px}html:lang(ja) .section-heading h2,html:lang(ja) .about h2{font-size:30px}html:lang(ja) .contact-panel h2{font-size:29px}html:lang(ja) .page-hero h1{font-size:32px}html:lang(ja) .page-hero p{font-size:16px}html:lang(ja) .page-contact h2{font-size:27px}html:lang(ja) .roof-stage>img{top:235px}html:lang(ja) .hero-aside .pill{font-size:14px}}

html:lang(ja) .roof-stage>img{top:0;left:0;height:auto;transform-origin:center;max-width:none}
html:lang(ja) .craft-panel{display:block;padding-top:clamp(30px,4vw,60px)}
html:lang(ja) .craft-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:5%;max-width:100%;width:100%;align-items:start}
.craft-copy h2{grid-row:1/5}.craft-copy p,.craft-copy a{grid-column:2;margin-top:0;margin-bottom:8px}
@media(max-width:700px){html:lang(ja) .craft-copy{display:block}.craft-copy h2{margin-bottom:15px}}

html:lang(ja) .craft-panel{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;padding-block:24px}
html:lang(ja) .craft-note{position:static;align-self:flex-end;margin-top:12px}
@media(min-width:701px){html:lang(ja) .hero-grid{min-height:clamp(720px,61vw,1050px);max-height:none}}

html:lang(ja) .roof-stage>img{transform-origin:top left;will-change:transform}

/* Roof motion layout. */
html:lang(ja) .roof-stage>img{top:0;left:0;transform-origin:0 0;max-width:none;will-change:transform;backface-visibility:hidden}
html:lang(ja) .roof-caption{display:none}
@media(min-width:701px){
 html:lang(ja) .craft-panel{justify-content:center;align-items:flex-start;padding-block:64px;gap:16px}
 html:lang(ja) .craft-copy{display:block;width:42%;max-width:440px}
 html:lang(ja) .craft-note{align-self:flex-start;text-align:left;margin-top:0;max-width:42%}
}
@media(prefers-reduced-motion:reduce){html:lang(ja) .roof-stage>img{will-change:auto}}

html:lang(ja) .hero-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}
.hero-panel .hero-bottom{position:static;gap:12px}
.roof-build{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;margin:6px 0 12px;gap:8px}
.build-picture{position:relative;min-height:0}
.build-picture canvas,.build-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.build-picture canvas[hidden],.build-picture img[hidden]{display:none}
.build-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px 20px;color:#334e67;font-size:12px}
.build-controls output{min-width:9em;letter-spacing:.05em;font-variant-numeric:tabular-nums}
.build-controls button{display:inline-flex;gap:5px;align-items:center;min-height:38px;padding:4px 8px;background:transparent;color:inherit;border:0;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.build-controls button:disabled{visibility:hidden}
html:lang(ja) .craft-panel{min-height:0;display:grid;grid-template-columns:minmax(0,.77fr) minmax(0,1.23fr);align-items:center;gap:4%;padding:clamp(32px,5vw,76px)}
html:lang(ja) .craft-copy{display:block;width:100%;max-width:400px}
.craft-model{margin:0;min-width:0}
.drain-picture{position:relative}
.drain-picture img,.drain-picture canvas{display:block;width:100%;height:auto}
.drain-picture canvas{position:absolute;inset:0;height:100%;pointer-events:none}
.craft-model figcaption{text-align:center;color:#425c6c;font-size:12px;margin:12px 0 0;letter-spacing:.05em}
@media(max-width:700px){
 html:lang(ja) .hero-panel{height:clamp(510px,78svh,660px);padding:22px}
 html:lang(ja) .hero-wordmark{font-size:clamp(58px,18vw,95px)}
 .build-controls{gap:0 6px;font-size:11px}
 .roof-build{margin:5px 0 8px}
 html:lang(ja) .craft-panel{min-height:0;grid-template-columns:1fr;padding:26px 22px 32px;gap:20px}
 html:lang(ja) .craft-copy{max-width:none}
}
@media(prefers-reduced-motion:no-preference){.roof-build.awaiting .build-picture img,.roof-build.awaiting output{visibility:hidden}}
@media(max-width:700px){
 .roof-story{display:flex;flex-direction:column}
 .roof-story .hero-grid{display:contents}
 .roof-story .hero-panel{order:0}
 .roof-story .craft-panel{order:1}
 .roof-story .hero-aside{order:2}
}

.rain-toggle{font:inherit;color:inherit;margin-inline-start:12px;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;min-height:36px;cursor:pointer}.rain-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
