/* Typography: Kozuka activates when added to the supplied Adobe Fonts kit. */
body{font-family:"kozuka-gothic-pr6n",OshinowaRound,"Meiryo",sans-serif}
@font-face{font-family:OshinowaDigital;src:url("assets/fonts/fusion-pixel-8-ja.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
.section-heading p,.info-card h3,.pillar strong,.pillar>span:not(.frame-outline),.about-copy h3,.more h3,.service-tags li{font-family:"vdl-logomaru-jr",OshinowaRound,sans-serif;font-weight:400}

/* Keep the copy grouped, with enough room for the complete rotating circles. */
.hero{height:max(clamp(660px,calc(100svh - 128px),900px),calc(clamp(580px,50vw,880px) + 70px))}
.hero-copy{height:clamp(660px,calc(100svh - 128px),900px);padding-top:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;transform:translateY(-35px)}
.hero-logo{margin-left:0;margin-bottom:24px;width:300px;box-shadow:0 0 0 24px white}
.hero h1{background:white;box-shadow:0 0 0 20px white}
.hero-character{left:19%;top:15%;width:58%}
.hero-blob{inset:auto;left:16%;top:18%;width:68%;height:auto;border-radius:0;background:none;transform:none;z-index:2}
.hero-character,.about-picture>img{animation:character-float 12s ease-in-out infinite;transform-origin:50% 55%}
.about-picture>img{animation-duration:14s;animation-delay:-4s}
@keyframes character-float{
  0%,100%{transform:translateY(0) rotate(-.3deg)}
  13%{transform:translateY(-8px) rotate(.8deg)}
  31%{transform:translateY(-3px) rotate(-1deg)}
  49%{transform:translateY(-13px) rotate(.4deg)}
  68%{transform:translateY(-5px) rotate(1deg)}
  83%{transform:translateY(-10px) rotate(-.7deg)}
}

/* Copy is readable while the frame animates. */
.motion-ready .card-panel .info-card,.motion-ready .pillar>strong,.motion-ready .pillar>span:not(.frame-outline){opacity:1;transform:none;transition:none}
.motion-ready .section-heading,.motion-ready .title-motion,.motion-ready .pillar>strong.title-motion{opacity:0;transform:translateY(14px)}
.motion-ready .section-heading.is-visible,.motion-ready .title-motion.is-visible{animation:title-enter .4s ease-out both}
@keyframes title-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}

/* Both panels open first, then reveal their complete cards from left to right. */
.motion-ready .card-panel .info-card{opacity:0;transform:translateY(10px);transition:none}
.motion-ready .card-panel.is-visible .info-card{animation:card-enter .3s ease-out var(--card-delay,.78s) both}
@keyframes card-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* Move the decorative pairs toward the actual viewport edges. */
.section-accent-right,.contact-accent{right:calc(18px - max(0px,(var(--viewport-width,100vw) - var(--page))/2))}
.news-accent{left:calc(18px - max(0px,(var(--viewport-width,100vw) - var(--page))/2))}

.motion-ready .accent,.motion-ready .hero-penlights{opacity:0;translate:0 18px}
.motion-ready .accent.is-visible,.motion-ready .hero-penlights.is-visible{animation:penlight-enter .55s ease-out both}
@keyframes penlight-enter{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}

/* Short, ordered reveals for news, FAQ, and the additional-service penlights. */
.service-tags{gap:34px}
.service-tags li:not(:last-child){min-width:190px;padding:8px 16px;background:none;border:1.5px solid var(--pink);border-radius:3px;margin-right:22px;text-align:center}
.service-tags li:nth-child(even):not(:last-child){border-color:var(--yellow)}
.service-tags li:not(:last-child):after{content:"";position:absolute;left:calc(100% + 7px);top:-1.5px;bottom:-1.5px;width:14px;border-radius:2px;background:var(--pink)}
.service-tags li:nth-child(even):not(:last-child):after{background:var(--yellow)}
.motion-ready .news-row,.motion-ready #faq-list>details{opacity:0;transform:translateY(8px)}
.motion-ready #news-list.is-visible .news-row,.motion-ready #faq-list.is-visible>details{animation:row-enter .28s ease-out var(--item-delay,0s) both}
@keyframes row-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.motion-ready .service-tags li{clip-path:inset(-2px 100% -2px -2px)}
.motion-ready .service-tags.is-visible li{animation:tag-enter .4s ease-out var(--item-delay,0s) both}
@keyframes tag-enter{from{clip-path:inset(-2px 100% -2px -2px);transform:translateX(-8px)}to{clip-path:inset(-2px -24px -2px -2px);transform:translateX(0)}}

@media(max-width:1200px){.hero{height:max(660px,calc(100svh - 116px))}.hero-copy{height:clamp(610px,calc(100svh - 116px),860px);transform:translateY(-30px)}.hero-logo{width:260px}.service-tags li:not(:last-child){min-width:165px}}
@media(max-width:900px){.hero{height:max(580px,calc(100svh - 92px))}.hero-copy{height:clamp(580px,calc(100svh - 92px),820px);transform:translateY(-25px)}.hero-logo{width:225px}}
@media(max-width:600px){.hero{height:auto;padding-bottom:35px}.hero{display:flex;flex-direction:column}.hero-copy{order:2;height:auto;padding:38px 24px 0;transform:none;align-items:center;width:100%}.hero-art{order:1;width:100%;margin:15px 0 0;align-self:center}.hero-logo{width:230px;margin-bottom:20px}.service-tags{gap:18px 30px}.service-tags li:not(:last-child){min-width:0;width:calc(50% - 38px);padding:8px 6px;font-size:13px}}
/* A speech bubble points at the robot, with pixel-style Japanese lettering. */
.contact-content{display:grid;grid-template-columns:minmax(0,680px) 260px;column-gap:64px;row-gap:30px;align-items:center}
.contact-copy{display:contents}
.contact-message{grid-column:1;grid-row:1;font-family:OshinowaRound,"Meiryo",sans-serif;font-weight:700;font-synthesis:none;font-size:24px;letter-spacing:2px;line-height:1.75;padding:24px 28px;margin:0;border-radius:18px;box-shadow:none}
.contact-message:after{content:"";position:absolute;right:-42px;top:50%;width:44px;height:36px;transform:translateY(-50%);background:var(--yellow);clip-path:polygon(0 0,100% 50%,0 100%)}
.contact-copy>.button{grid-column:1/-1;grid-row:2;justify-self:center}
.contact-character{grid-column:2;grid-row:1;width:260px;height:220px;align-self:center}
@media(max-width:900px){.contact-content{grid-template-columns:minmax(0,1fr) 190px;column-gap:44px}.contact-message{font-size:16px;letter-spacing:1px;padding:20px}.contact-character{width:190px;height:180px}.contact-message:after{right:-32px;width:34px}}
@media(max-width:600px){
  .contact-content{grid-template-columns:1fr;gap:24px}
  .contact-message{grid-column:1;grid-row:1;font-size:16px;letter-spacing:.02em;padding:20px 16px}
  .contact-message:after{right:65px;top:auto;bottom:-29px;width:34px;height:31px;transform:none;clip-path:polygon(0 0,100% 100%,100% 0)}
  .contact-character{grid-column:1;grid-row:2;justify-self:end;width:180px;height:155px}
  .contact-copy>.button{grid-column:1;grid-row:3}
}
/* Reference composition: logo left, character and headline grouped on the right. */
.hero{max-width:1367px;height:clamp(540px,52vw,720px)}
.hero-copy{position:absolute;left:6%;top:0;width:36%;height:100%;padding:0;transform:none;justify-content:center;align-items:flex-start}
.hero-logo{width:100%;max-width:485px;margin:0;box-shadow:none;background:none}
.hero-art{position:absolute;right:2%;top:20px;width:49%;margin:0;aspect-ratio:1}
.hero-character{left:23.5%;top:8%;width:53%}
.hero .hero-art-title{position:absolute;left:13%;top:67%;width:84%;margin:0;z-index:4;background:none;box-shadow:none;font-size:0;line-height:1}
.hero-art-title img{width:100%}
@media(max-width:900px){
  .hero{height:auto;padding:20px 16px 40px;display:flex;flex-direction:column;gap:24px}
  .hero-art{position:relative;order:1;right:auto;top:auto;width:100%;max-width:640px;margin:0;align-self:center}
  .hero-copy{position:relative;order:2;left:auto;top:auto;width:100%;height:auto;padding:0;align-items:center;transform:none}
  .hero-logo{width:96%;max-width:440px;margin:0}
}
@media(prefers-reduced-motion:reduce){
  .hero-character,.about-picture>img{animation:none;transform:none}
  .motion-ready .card-panel .info-card,.motion-ready .card-panel.is-visible .info-card,.motion-ready .accent,.motion-ready .hero-penlights{opacity:1;transform:none;translate:none;animation:none}
  .motion-ready .accent.is-visible,.motion-ready .hero-penlights.is-visible{animation:none}
  .motion-ready .section-heading,.motion-ready .title-motion,.motion-ready .pillar>strong.title-motion,.motion-ready .news-row,.motion-ready #faq-list>details,.motion-ready .service-tags li{opacity:1;transform:none;clip-path:none;animation:none}
  .motion-ready .section-heading.is-visible,.motion-ready .title-motion.is-visible,.motion-ready #news-list.is-visible .news-row,.motion-ready #faq-list.is-visible>details,.motion-ready .service-tags.is-visible li{animation:none}
}




