


 
.s5-window .s5-pin{min-height:0}
@media(min-width:881px){
  .s5-window .s5-pin{height:auto}
  .s5-window .s5-pin > .wrap{padding-top:120px;padding-bottom:200px}
}

 
@media(min-width:881px){
  html body.sm5 .company-message .company-message-grid{grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:0 clamp(56px,6vw,104px);
    max-width:1240px;margin:0 auto;padding:140px 56px 160px;align-items:start}
  html body.sm5 #message .company-portrait{position:sticky;top:calc(var(--sm-head) + 48px);height:auto}
  html body.sm5 #message .company-message-copy{padding:0;max-width:760px}
}
html body.sm5 .company-message .company-portrait{min-height:0;overflow:visible;background:none}
html body.sm5 .company-message .company-portrait img{height:auto;object-fit:contain;position:relative;z-index:1;
  clip-path:inset(0 0 .6% 0)}  
html body.sm5 .company-message .company-portrait::before{content:"";position:absolute;inset:14px -14px -14px 14px;border:1px solid var(--sm-gold);pointer-events:none}
@media(max-width:880px){
  html body.sm5 .company-message .company-message-grid{padding:72px 24px 0}
  html body.sm5 .company-message .company-portrait{max-width:420px;margin-right:14px}
}



@media(min-width:881px){
  html body.sm5 .service-programs > .wrap{grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:0 clamp(56px,6vw,104px);max-width:1240px;margin:0 auto;padding:0 56px}
  .s5-visual{--fh:280px;align-self:start;height:var(--fh);overflow:visible;background:none;
    top:calc(var(--sm-head) + (100vh - var(--sm-head) - var(--fh)) / 2);margin-top:calc((100vh - var(--sm-head) - var(--fh)) / 2)}
  .s5-visual::before{content:"";position:absolute;inset:14px -14px -14px 14px;border:1px solid var(--sm-gold);pointer-events:none}
  .s5-v{overflow:hidden;background:var(--sm-navy)}
  .s5-v::after{background:linear-gradient(180deg,rgba(25,25,45,0) 55%,rgba(25,25,45,.35))}
  .s5-v--biz img{width:60%}
  .s5-v--biz img:nth-child(1){left:7%;top:10%}
  .s5-v--biz img:nth-child(2){right:7%;top:34%}
  .s5-ticks{right:auto;left:0;top:calc(100% + 40px);margin:0;flex-direction:row;gap:10px}
  .s5-ticks li{width:40px;height:1px;background:rgba(25,25,45,.18)}
  .s5-ticks li::after{transform:scaleX(0);transform-origin:left center}
  .s5-ticks li.is-on::after{transform:scaleX(1)}
   
  html body.sm5 .service-programs > .wrap{padding-bottom:96px}
}



.s5-open-all > .s5-split{z-index:0}
.s5-open-all > .wrap{position:relative;z-index:1}
.s5-open-all > .s5-bgv video,.s5-open-all > .s5-photo img,.s5-open-all > .s5-glow{animation:s5-cur-zoom 2.6s var(--sm-out) .95s both}



html body.sm5 .service-program{gap:0}



html body.sm5 .service-main .team-block{padding-bottom:clamp(72px,9vw,120px)}



html body.sm5 .works-index.inner-jump a .inner-jump__number{-webkit-text-stroke-color:var(--sm-gold)}
html body.sm5 .works-index.inner-jump a > .s5-bar{transform:scaleX(1)}
html body.sm5 .works-index.inner-jump a::after{background:linear-gradient(180deg,rgba(25,25,45,.05),rgba(25,25,45,.35) 45%,rgba(25,25,45,.88))}
@media(hover:hover) and (min-width:881px){
  html body.sm5 .works-index.inner-jump:hover a,html body.sm5 .works-index.inner-jump a:hover,html body.sm5 .works-index.inner-jump a:focus-visible{flex-grow:1}
  html body.sm5 .works-index.inner-jump a > .sm-frame{display:block;opacity:1}
}



@media(min-width:881px){
  html body.sm5 .s5-hero:not(.s5-window),html body.sm5 .s5-window .s5-pin{height:max(640px,calc(100vh - var(--sm-head)));min-height:0;padding:0;display:flex;align-items:stretch}
  html body.sm5 .s5-hero.s5-hero:not(.s5-window){align-items:stretch;justify-content:flex-start}
  html body.sm5 .s5-hero.s5-hero:not(.s5-window) > .wrap,html body.sm5 .s5-window .s5-pin > .wrap{box-sizing:border-box;width:100%;align-self:stretch;margin-top:0;margin-bottom:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding-top:140px;padding-bottom:48px}
  html body.sm5 .s5-hero.s5-hero .wrap > .crumb{margin:0 0 22px}
  html body.sm5 .s5-hero > .wrap > *,html body.sm5 .s5-window .s5-pin > .wrap > *{flex:none}
  html body.sm5 .s5-hero.s5-hero h1,html body.sm5 .s5-hero.s5-404 h1{font-size:clamp(40px,5.7vw,82px)}
  html body.sm5 .s5-hero .inner-jump,html body.sm5 .service-hero .service-jump{position:static;margin-top:auto}
  html body.sm5 .s5-hero .inner-hero__lead{margin-bottom:40px}
  html body.sm5 .works-index.inner-jump{height:clamp(200px,28vh,280px)}
}

 
@media(max-width:880px){
   
  html body.sm5 .works-index.inner-jump a{min-height:168px;justify-content:flex-start}
  html body.sm5 .works-index.inner-jump a > span:nth-child(3){position:absolute;right:22px;bottom:22px}
   
  html body.sm5 .s5-hero .inner-jump a{padding-left:18px;padding-right:18px}
   
  html body.sm5 #message .company-message-copy{padding:48px 0 88px;max-width:none}
  html body.sm5 #message .company-message-copy h3{font-size:22px}
  

  html body.sm5 p,html body.sm5 li,html body.sm5 dd,html body.sm5 dt{text-wrap:wrap}
   
  html body.sm5 #message .company-message-copy p{letter-spacing:.06em}
   
  html body.sm5 #message .company-message-copy p.s5-punch{font-size:22px}
   
  html body.sm5 #strength .company-strength-item{display:block}
   
  html body.sm5 #strength .company-strength-item h3{font-size:23px}
   
  html body.sm5 .s5-news-sec .ni:first-child .t{font-size:clamp(19px,1.6vw,24px);line-height:1.7}
  

  html body.sm5.wx-company .inner-page .company-mission .wx-mission{font-size:20px;text-wrap:wrap}
  html body.sm5 .inner-page.works-page .works-category-head h2{font-size:26px}
   
  html body.sm5 .case-heading h3{text-wrap:balance}
   
  html body.sm5 .caselist li,html body.sm5 .caselist .item p{text-wrap:balance}
}
