/* Reference-led revision: vertical copy, playful flat figures, continuous ruled frame. */
:root{--paper:#f0ede6;--blue:#285aa0;--green:#60a481;--yellow:#ffe34f;--ink:#285aa0}.header{position:absolute;top:0;left:0;width:100%;height:86px;border:0;background:transparent;padding:0 5%;align-items:center}.header nav{display:none}.brand b{font-size:29px}.brand small{display:none}.brand>span{font-size:9px}.header-cta{font-size:11px;border:0;padding:12px 0}.hero{height:100svh;min-height:680px;padding:100px 0 28px;position:relative;justify-content:center}.hero-top{display:none}.hero-art{width:118%;margin:0 0 0 -9%;transform:rotate(-8deg);flex:1;display:flex;align-items:center}.hero-art>svg{width:100%;max-height:none;overflow:visible}.hero-orbit{display:none}.hero-bottom{padding:0 5%;margin:24px 0 0;align-items:center;position:relative;z-index:1}.hero h1{font-size:24px;letter-spacing:.14em}.scroll-link{font-size:9px}.story{padding:130px 8% 110px;min-height:900px}.story-label,.story-note,.story-side,.ribbon{display:none}.story-layout{display:block;margin:0}.vertical{height:420px;min-height:0;margin:0 auto;max-width:max-content;font-size:41px;font-weight:600;letter-spacing:.15em;line-height:1.9}.story-foot{text-align:left;max-width:610px;font-size:17px;line-height:2;margin:75px auto 0}.services{padding:0 6%;position:relative}.section-intro{height:160px;display:block;border-left:2px solid;border-right:2px solid;margin:0;position:relative}.section-intro>*{display:none}.section-intro:after{content:'AIと、人と。';position:absolute;right:6%;bottom:30px;font-size:14px;letter-spacing:.15em}.service{border-top:2px solid;border-left:2px solid;border-right:2px solid;margin:0;padding:0 0 28px;position:relative}.service:last-child{border-bottom:2px solid}.service-meta{gap:28px;font-size:18px;font-weight:600;color:var(--green);padding:0}.number{width:122px;height:120px;flex:none;font-size:42px;color:var(--paper);background:var(--green);position:relative;padding:18px 0 0 29px;display:block;font-weight:500;line-height:1}.number small{position:absolute;bottom:13px;right:12px;font-size:23px;font-weight:600}.chapter-layout{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;column-gap:6%;padding:15px 11% 38px;align-items:start}.chapter-art{grid-column:1;grid-row:1;aspect-ratio:1.12;width:100%;position:relative;align-self:center}.chapter-art .illustration{transform:none;height:100%;display:flex;align-items:center}.chapter-art .illustration svg{width:100%}.chapter-heading{grid-column:2;grid-row:1 / 3;display:flex;flex-direction:row-reverse;justify-content:space-between;gap:30px;padding-top:12px}.chapter-heading h3{writing-mode:vertical-rl;letter-spacing:.08em;font-size:69px;font-weight:700;line-height:1.2;margin:0;white-space:nowrap}.chapter-heading>p{writing-mode:vertical-rl;font-size:26px;font-weight:600;line-height:2.25;letter-spacing:.08em;margin:0;min-height:450px}.chapter-heading mark{background:var(--yellow);color:inherit;padding:.15em 0}.chapter-description{grid-column:1;grid-row:2;font-size:16px;line-height:1.9;margin:0 0 20px;letter-spacing:.025em}.chapter>details{border:0;margin:5px 0 0 auto;padding:0 24px;width:100%;text-align:right}.chapter>details summary{display:flex;justify-content:flex-end;gap:15px;font-size:23px;font-weight:500;padding:0 0 8px}.chapter>details summary>span{font-size:28px}.chapter>details ul{max-width:650px;margin:15px 0 0 auto;text-align:left;background:#60a48116;padding:25px 35px;font-size:15px;border-top:1px solid #285aa055}.chapter>details[open] summary{color:var(--green)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.everyday{display:none}.about{display:flex;flex-direction:column;padding:130px 8%;gap:70px;text-align:center}.about-mark{font-size:95px;letter-spacing:-.08em;border:0;border-radius:0;transform:none;padding:0;width:auto}.about-mark>div{font-size:11px;margin:20px 0 0}.about-copy>.eyebrow{display:none}.about-copy h2{font-size:30px;line-height:1.9}.about-copy p{font-size:16px;line-height:2}.text-link{display:inline-flex;gap:40px;font-size:15px}.contact{text-align:left;padding:75px 14%;background:var(--paper);color:var(--blue);border-top:2px solid}.contact>.eyebrow{font-size:12px}.contact h2{font-size:44px;margin:25px 0}.contact>p{font-size:15px}.contact-button{margin:35px 0 23px;border-color:var(--blue);border-radius:0;max-width:650px}.contact-button:hover{background:var(--blue);color:var(--paper)}.contact-flower{right:8%;top:145px;width:110px;height:110px}.mail-link{font-size:13px}footer{background:var(--blue);color:var(--paper);padding:35px 6%}.chapter-art.has-art{background-image:url('assets/chapters.png');background-size:300% 100%;background-repeat:no-repeat;aspect-ratio:1}.chapter-art.has-art .illustration{display:none}.art-0.has-art{background-position:0% center}.art-1.has-art{background-position:50% center}.art-2.has-art{background-position:100% center}.chapter-art{transition:transform .8s ease;transform:translateY(15px)}.chapter.in-view .chapter-art{transform:translateY(0)}
@media(max-width:900px){.chapter-layout{padding:25px 6% 30px;gap:5%}.chapter-heading h3{font-size:54px}.chapter-heading>p{font-size:21px;line-height:1.9;min-height:400px}.chapter-heading{gap:18px}.chapter-description{font-size:14px}.service-meta{font-size:15px}.number{width:100px;height:100px;font-size:36px}.hero{min-height:600px}.story{min-height:820px}.contact-flower{right:2%}}
@media(max-width:600px){.header{height:66px;padding:0 6%}.brand b{font-size:25px}.header-cta{font-size:10px}.hero{height:83svh;min-height:540px;padding-top:75px;padding-bottom:30px}.hero-art{width:165%;margin-left:-32.5%;transform:rotate(-13deg)}.hero-art>svg{width:100%;margin:0;min-height:0}.hero h1{font-size:21px;line-height:1.8}.hero-bottom{padding:0 7%;gap:15px}.scroll-link{font-size:0}.story{padding:80px 9% 65px;min-height:740px}.story-layout{margin:0;display:block}.vertical{font-size:30px;height:360px;min-height:0;line-height:1.8;letter-spacing:.12em}.story-foot{font-size:13px;line-height:2.1;margin-top:50px}.story-foot br{display:none}.services{padding:0 5%}.section-intro{height:100px}.section-intro:after{font-size:11px;bottom:20px}.service{padding-bottom:18px}.service-meta{gap:14px;font-size:11px;letter-spacing:0;line-height:1.6}.number{width:72px;height:80px;font-size:28px;padding:12px 0 0 15px}.number small{font-size:17px;right:8px;bottom:8px}.chapter-layout{padding:22px 6% 20px;grid-template-columns:1fr 1fr;column-gap:5%;row-gap:24px}.chapter-heading{grid-column:2;grid-row:1;gap:8px;padding:0;justify-content:space-between}.chapter-heading h3{font-size:36px;line-height:1.1;letter-spacing:.08em}.chapter-heading>p{font-size:14px;line-height:1.7;letter-spacing:.04em;min-height:280px}.chapter-art{grid-column:1;grid-row:1;align-self:start;margin-top:50px;width:125%;margin-left:-12%;aspect-ratio:1}.chapter-description{grid-column:1/-1;grid-row:2;font-size:13px;line-height:2;margin:0}.chapter>details{padding:0 15px}.chapter>details summary{font-size:17px;gap:10px}.chapter>details summary>span{font-size:23px}.chapter>details ul{font-size:12px;padding:18px 22px}.about{padding:75px 8%;gap:35px}.about-mark{font-size:80px;padding:0}.about-copy h2{font-size:23px}.about-copy p{font-size:13px}.text-link{font-size:12px;gap:15px}.contact{padding:55px 8%}.contact h2{font-size:30px;letter-spacing:.03em}.contact>p{font-size:12px}.contact-button{padding:19px 18px}.contact-button span{font-size:16px}.contact-button small{font-size:8px}.contact-flower{right:-26px;top:120px;width:90px;height:90px;opacity:.35}.mail-link{font-size:11px}}
@media(prefers-reduced-motion:reduce){.chapter-art{transform:none}}

/* APS motion: independent floating letters, scroll spread, pointer depth. */
.glyph-travel{transform:translate(var(--gx,0px),var(--gy,0px)) rotate(var(--gr,0deg));transform-box:fill-box;transform-origin:center;will-change:transform}
.glyph-enter{transform-box:fill-box;transform-origin:center;animation:aps-arrive 1.5s cubic-bezier(.2,.7,.2,1) var(--delay) both}
.glyph-float{transform-box:fill-box;transform-origin:center;animation:aps-float-a 7s ease-in-out infinite}
.glyph-p{animation-name:aps-float-p;animation-duration:8s;animation-delay:-2s}
.glyph-s{animation-name:aps-float-s;animation-duration:7.5s;animation-delay:-4s}
.motion-toggle{border:1px solid #285aa055;border-radius:30px;color:var(--blue);background:var(--paper);padding:10px 14px;display:flex;gap:8px;align-items:center;cursor:pointer;font:11px inherit;margin-left:auto;white-space:nowrap;position:relative;z-index:2}
.motion-toggle span{font-size:10px;letter-spacing:.05em}.motion-toggle:focus-visible{outline:3px solid var(--green);outline-offset:4px}.hero.motion-paused .glyph-enter,.hero.motion-paused .glyph-float,.hero.motion-outside .glyph-float{animation-play-state:paused}
@keyframes aps-arrive{from{opacity:0;transform:translateY(105px) rotate(9deg) scale(.88)}to{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
@keyframes aps-float-a{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-25px) rotate(2deg)}}
@keyframes aps-float-p{0%,100%{transform:translateY(-14px) rotate(2deg)}50%{transform:translateY(17px) rotate(-2deg)}}
@keyframes aps-float-s{0%,100%{transform:translateY(14px) rotate(-3deg)}50%{transform:translateY(-22px) rotate(3deg)}}
@media(max-width:600px){.hero-bottom{flex-wrap:wrap}.hero h1{flex:1}.motion-toggle{margin:0;font-size:10px;padding:8px 10px}.motion-toggle span{font-size:9px}.hero-bottom .scroll-link{margin-left:0}.glyph-float{animation-duration:9s}}
@media(prefers-reduced-motion:reduce){.glyph-travel,.glyph-enter,.glyph-float{animation:none!important;transform:none!important;opacity:1!important}.motion-toggle{display:none}}
.header-cta{background:var(--paper);border:1px solid #285aa055;border-radius:30px;padding:10px 18px}.header-cta:hover{background:var(--blue);color:var(--paper)}
@media(max-width:600px){.hero-bottom{column-gap:18px;row-gap:12px}.hero-bottom h1{flex:0 0 100%;font-size:21px}.hero-bottom .motion-toggle{margin-left:auto}.hero-bottom .scroll-link{margin-left:0}}
/* Reference opening: overlapping transparent striped figures sweep across the logo. */
.hero{isolation:isolate}.ribbon-stage{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1;mix-blend-mode:multiply}.ribbon-flight{position:absolute;left:calc(50% - 30vw);top:calc(50% - 35vw);width:60vw;height:70vw;max-height:none;color:var(--tone);opacity:0;will-change:transform,opacity;animation:ribbon-cross var(--flight-duration) cubic-bezier(.43,.02,.37,1) var(--flight-delay) both}.ribbon-flight svg{width:100%;height:100%;overflow:visible}.hero-art{z-index:0}.hero-bottom{z-index:2;background:var(--paper);padding-top:12px;padding-bottom:5px}.glyph-float{animation:none!important}.glyph-enter{animation:aps-resolve 9.4s linear var(--delay) both;transform-origin:center;transform-box:fill-box}.glyph-travel{will-change:transform}.hero.motion-paused .ribbon-flight,.hero.motion-paused .glyph-enter,.hero.motion-outside .ribbon-flight,.hero.motion-outside .glyph-enter{animation-play-state:paused}.motion-replay{border:0;background:var(--paper);color:var(--blue);font-size:17px;display:flex;align-items:center;gap:6px;cursor:pointer;padding:10px;white-space:nowrap;margin-left:auto}.motion-replay span{font-size:10px}.motion-toggle{margin-left:0}.motion-replay:focus-visible{outline:3px solid var(--green);outline-offset:3px}
@keyframes ribbon-cross{0%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--sr)) scale(.85)}8%{opacity:.94}44%{opacity:.94;transform:translate(var(--mx),var(--my)) rotate(var(--mr)) scale(1.08)}80%{opacity:.9}100%{opacity:0;transform:translate(var(--ex),var(--ey)) rotate(var(--er)) scale(.9)}}
@keyframes aps-resolve{0%,60%{transform:translateY(28px) rotate(-7deg) scale(1.1);opacity:0}70%{opacity:.12}86%{transform:translateY(0) rotate(0) scale(1);opacity:1}100%{transform:translateY(0) rotate(0) scale(1);opacity:1}}
@media(max-width:600px){.ribbon-flight{width:120vw;height:140vw;left:-10vw;top:calc(45% - 70vw)}.hero-bottom .motion-replay{margin-left:auto}.hero-bottom .motion-toggle{margin-left:0}.hero-bottom{column-gap:10px}.motion-replay{padding:8px 4px}}
@media(prefers-reduced-motion:reduce){.ribbon-stage,.motion-replay{display:none}.glyph-enter{animation:none!important;transform:none!important}}
.ribbon-stage{bottom:28px}.header .brand{background:var(--paper);padding:7px 10px;border-radius:3px}
@media(max-width:600px){.ribbon-stage{bottom:30px}}

/* The moving letters themselves assemble; no replacement or late fade-in. */
.glyph-enter{opacity:1;animation-duration:7.2s;animation-timing-function:cubic-bezier(.42,0,.24,1);animation-delay:0s;animation-fill-mode:both}
.glyph-travel[data-letter="a"] .glyph-enter{animation-name:aps-assemble-a}
.glyph-travel[data-letter="p"] .glyph-enter{animation-name:aps-assemble-p}
.glyph-travel[data-letter="s"] .glyph-enter{animation-name:aps-assemble-s}
@keyframes aps-assemble-a{0%{transform:translate(-560px,-520px) rotate(-105deg) scale(1.35);opacity:1}35%{transform:translate(270px,70px) rotate(38deg) scale(1.15)}62%{transform:translate(-36px,-18px) rotate(-9deg) scale(1.04)}86%,100%{transform:translate(0,0) rotate(0) scale(1);opacity:1}}
@keyframes aps-assemble-p{0%{transform:translate(30px,690px) rotate(130deg) scale(1.45);opacity:1}32%{transform:translate(-250px,-110px) rotate(-42deg) scale(1.15)}64%{transform:translate(18px,32px) rotate(7deg) scale(1.04)}88%,100%{transform:translate(0,0) rotate(0) scale(1);opacity:1}}
@keyframes aps-assemble-s{0%{transform:translate(590px,-490px) rotate(-145deg) scale(1.4);opacity:1}38%{transform:translate(-330px,40px) rotate(48deg) scale(1.18)}66%{transform:translate(36px,-24px) rotate(-8deg) scale(1.03)}90%,100%{transform:translate(0,0) rotate(0) scale(1);opacity:1}}
.ribbon-flight:nth-child(n+5){display:none}
@media(prefers-reduced-motion:reduce){.glyph-enter{animation:none!important;transform:none!important;opacity:1!important}}
/* Measured reference typography: Noto Sans JP and Urbanist. */
body{font-family:'Noto Sans JP','Hiragino Sans',Meiryo,sans-serif;font-weight:400;font-synthesis:none}
.brand>span,.eyebrow,.number,.chapter>details summary,.footer-brand,.scroll-link{font-family:Urbanist,'Noto Sans JP',sans-serif}
.hero h1{font-weight:500;letter-spacing:0;line-height:1.75}
.vertical{font-size:40px;font-weight:500;line-height:1.75;letter-spacing:0}
.chapter-heading h3{font-size:80px;font-weight:700;line-height:1;letter-spacing:0}
.chapter-heading>p{font-size:28px;font-weight:700;line-height:2;letter-spacing:0}
.chapter-description{font-size:16px;font-weight:400;line-height:1.75;letter-spacing:0}
.story-foot{font-size:18px;font-weight:400;line-height:1.75;letter-spacing:0}
.service-meta{font-weight:700;letter-spacing:0}.number{font-weight:500}.chapter>details summary{font-weight:600;letter-spacing:.03em}
.type-line{display:inline-block;position:relative;overflow:hidden;vertical-align:top;padding:.055em;line-height:inherit}
.type-line-inner{display:inline-block}.type-ready .type-line-inner{opacity:0}
.type-line::after{content:'';position:absolute;inset:0;background:var(--blue);transform:translateY(-102%);pointer-events:none}
.story .type-line::after{background:var(--paper)}
.type-shown .type-line::after{animation:type-wipe .95s cubic-bezier(.65,0,.35,1) var(--type-delay,0ms) both}
.type-shown .type-line-inner{animation:type-ink .95s linear var(--type-delay,0ms) both}
@keyframes type-wipe{0%{transform:translateY(-102%)}42%,52%{transform:translateY(0)}100%{transform:translateY(102%)}}
@keyframes type-ink{0%,42%{opacity:0}43%,100%{opacity:1}}
@media(max-width:900px){.chapter-heading h3{font-size:64px}.chapter-heading>p{font-size:23px}.chapter-description{font-size:15px}}
@media(max-width:600px){.vertical{font-size:30px}.chapter-heading h3{font-size:40px}.chapter-heading>p{font-size:15px;line-height:1.8}.chapter-description{font-size:14px;line-height:1.85}.story-foot{font-size:14px;line-height:1.9}.hero h1{font-size:22px}.chapter-heading{gap:8px}.chapter-layout{column-gap:4%}}
@media(prefers-reduced-motion:reduce){.type-ready .type-line-inner,.type-shown .type-line-inner{opacity:1;animation:none!important}.type-line::after{display:none}}
/* Five equal-width ribbons and generous circular counters, upright final lockup. */
.hero-art{width:108%;margin-left:-4%;transform:none}
.hero-art>svg{width:100%;max-height:72vh}
.glyph-enter{animation-duration:7.6s;animation-timing-function:cubic-bezier(.37,0,.21,1)}
@keyframes aps-assemble-a{0%{transform:translate(-740px,160px) rotate(-95deg) scale(1.65)}38%{transform:translate(320px,-80px) rotate(42deg) scale(1.3)}72%{transform:translate(22px,10px) rotate(5deg) scale(1.03)}100%{transform:translate(0,0) rotate(0) scale(1)}}
@keyframes aps-assemble-p{0%{transform:translate(240px,-750px) rotate(125deg) scale(1.5)}40%{transform:translate(-180px,100px) rotate(-35deg) scale(1.2)}74%{transform:translate(-12px,15px) rotate(-4deg) scale(1.02)}100%{transform:translate(0,0) rotate(0) scale(1)}}
@keyframes aps-assemble-s{0%{transform:translate(800px,380px) rotate(-125deg) scale(1.7)}42%{transform:translate(-360px,-40px) rotate(50deg) scale(1.28)}76%{transform:translate(16px,-12px) rotate(4deg) scale(1.02)}100%{transform:translate(0,0) rotate(0) scale(1)}}
@media(max-width:600px){.hero-art{width:108%;margin-left:-4%;transform:none}.hero-art>svg{max-height:none}}

@media(max-width:600px){
  .hero-art{width:94%;margin-left:3%}
}

/* Service details: concrete support and process */
.chapter>details .more-content{text-align:left;margin:20px auto 10px;padding:38px 5%;border-top:1px solid #285aa055;background:#60a4810d;max-width:1000px}
.more-content h4{font-size:25px;font-weight:700;line-height:1.7;margin:0 0 14px}
.more-content p{font-size:15px;line-height:2;margin:0;letter-spacing:.02em}
.more-intro{max-width:760px}
.more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:32px 0}
.more-item{border-top:1px solid #285aa055;padding-top:18px}
.more-number{font-family:Urbanist,sans-serif;font-size:27px;color:var(--green);display:block;margin-bottom:14px}
.more-content h5{font-size:17px;line-height:1.7;margin:0 0 10px;font-weight:700}
.more-item p{font-size:14px}
.more-process{border-top:1px solid #285aa055;padding-top:24px}
.more-link{display:flex;justify-content:space-between;gap:20px;max-width:360px;border-bottom:1px solid;padding:16px 0 12px;margin-top:18px;font-size:14px}
.more-link:hover{color:var(--green)}
@media(max-width:700px){
 .chapter>details .more-content{padding:24px 5%;margin-top:12px}
 .more-content h4{font-size:20px}
 .more-content p{font-size:13px;line-height:2}
 .more-grid{grid-template-columns:1fr;gap:22px;margin:26px 0}
 .more-item{display:grid;grid-template-columns:30px 1fr;gap:12px;padding-top:18px}
 .more-number{font-size:23px;margin:0}
 .more-content h5{font-size:15px}
 .more-link{font-size:12px}
}

/* Official M&N logo supplied by the user; preserve source colors and aspect ratio. */
.mandn-logo{display:block;height:auto;object-fit:contain}
.header .brand{padding:4px 0;gap:20px;background:transparent}
.brand>.mandn-logo{width:66px;flex:none}
.about-mark>.mandn-logo{width:220px;max-width:100%;margin:0 auto}
@media(max-width:600px){
 .header .brand{gap:14px}
 .brand>.mandn-logo{width:48px}
 .about-mark>.mandn-logo{width:170px}
}

/* Companion scenes from the same illustration family. */
.more-item{position:relative;padding-top:12px}
.more-illustration{width:100%;max-width:210px;aspect-ratio:1;margin:0 auto 12px;background-image:url('assets/more-scenes.png');background-size:300% 300%;background-repeat:no-repeat}
.more-number{position:absolute;top:18px;left:0;font-size:22px}
@media(max-width:700px){
 .more-item{display:block;padding-top:12px}
 .more-illustration{width:170px;max-width:75%;margin:0 auto 18px}
 .more-number{top:18px}
 .more-item h5{text-align:center;margin-bottom:12px}
}
.more-illustration{display:block;height:210px;aspect-ratio:auto;background:none;overflow:hidden}
@media(max-width:700px){.more-illustration{height:170px}}
