/* Original FV composition; approved copy only. New hero effects removed. */
#content #mainVisual .mainVisual__inner .block{width: min(1000px,80%)}
#mainVisual .ttl{font-weight:400}
#mainVisual .mainVisual__inner .txt{font-size:16px;line-height:2.2;letter-spacing:.06em}
#content .hny-method-head h2{font-size:clamp(26px,2.5vw,40px);line-height:1.8}
@media(max-width:767px){#mainVisual .mainvisual_sp{margin-top:0;padding:64px 24px 72px;height:auto;min-height:560px}#mainVisual .mainvisual_sp .ttl{font-size:clamp(28px,7.5vw,40px);line-height:1.7;margin-bottom:28px;letter-spacing:.03em}#mainVisual .mainvisual_sp .txt{font-size:15px;line-height:2;letter-spacing:.02em}#content .hny-method-head h2{font-size:26px}}

@media(max-width:700px){#content .hny-contact-redesign h2{font-size:clamp(20px,5.8vw,24px);line-height:1.9}}

/* One-time headline reveal; original static background is preserved. */
#mainVisual .mainVisual__inner .ttl{font-size:clamp(46px,4.5vw,68px);line-height:1.55;letter-spacing:.035em;margin-bottom:36px}
#content #mainVisual .ttl .fv-line{display:block;overflow:hidden;color:#111;padding-bottom:.08em;margin-bottom:-.08em}
#content #mainVisual .ttl .fv-line>span{display:block;color:inherit;animation:fvHeadlineEnter 1.05s cubic-bezier(.22,1,.36,1) both}
#content #mainVisual .ttl .fv-line-accent{color:#d2151a}
#content #mainVisual .ttl .fv-line:nth-child(2)>span{animation-delay:.18s}
#content #mainVisual .ttl .fv-line:nth-child(3)>span{animation-delay:.32s}
@keyframes fvHeadlineEnter{from{opacity:0;transform:translateY(105%)}to{opacity:1;transform:translateY(0)}}
@media(max-width:767px){#mainVisual .mainvisual_sp .ttl{font-size:clamp(32px,8.8vw,42px);line-height:1.65;letter-spacing:.02em}}
@media(prefers-reduced-motion:reduce){#content #mainVisual .ttl .fv-line>span{animation:none;transform:none;opacity:1}}

/* Extra crop reserve for stronger image parallax. */
#content #works li img{transform:translate3d(0,var(--work-y,0px),0) scale(1.16)}
@media(prefers-reduced-motion:reduce){#content #works li img{transform:none}}

@media(max-width:700px){.company-photo-main{padding-bottom:48px}}

/* User decision: photos stay fixed within their normal page layout. */
#content #works li img{transform:none!important}
.company-photo-main{translate:none!important;padding-bottom:0!important}

.hny-heading-fade{opacity:0;transition:opacity .85s ease-out}
.hny-heading-fade.hny-heading-visible{opacity:1}
@media(prefers-reduced-motion:reduce){.hny-heading-fade{opacity:1;transition:none}}

.hny-team-support{margin-top:72px;padding:64px 0 52px;border-top:1px solid #ddd}
#content .hny-team-support h3{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:clamp(24px,2.2vw,32px);font-weight:400;line-height:1.8;margin:0 0 36px}
.team-sp{display:none}.hny-team-list{margin:0;padding:0}.hny-team-list>div{display:grid;grid-template-columns:220px 1fr;gap:32px;padding:22px 0;border-bottom:1px solid #ddd;align-items:baseline}.hny-team-list dt{font-size:18px;font-weight:500}.hny-team-list dd{font-size:16px;line-height:1.9;margin:0;padding-left:28px;position:relative}.hny-team-list dd:before{content:"";position:absolute;left:0;top:.95em;width:15px;height:1px;background:#d2151a}
#content .hny-team-promise{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:clamp(30px,3.3vw,48px);font-weight:400;color:#d2151a;line-height:1.7;margin:48px 0 20px}.hny-team-promise span{display:inline-block}.hny-team-close{font-size:16px;line-height:2;margin:0}
@media(max-width:700px){.hny-team-support{margin-top:44px;padding:40px 0 36px}#content .hny-team-support h3{font-size:24px;margin-bottom:24px}.team-sp{display:block}.hny-team-list>div{grid-template-columns:1fr;gap:10px;padding:22px 0}.hny-team-list dt{font-size:17px}.hny-team-list dd{font-size:15px;padding-left:24px}#content .hny-team-promise{font-size:clamp(24px,6.2vw,30px);margin-top:36px}.hny-team-close{font-size:15px}}

.team-title-phrase{display:inline-block}

/* External team: editorial hierarchy, existing white/black/red palette. */
.hny-team-support{display:grid;grid-template-columns:.85fr 1.15fr;column-gap:9%;row-gap:0;margin-top:92px;padding:78px 0 0;border-top:1px solid #ccc}
.hny-team-kicker{font-size:11px;letter-spacing:.18em;color:#d2151a;margin:0 0 26px}
#content .hny-team-support h3{font-size:clamp(26px,2.35vw,36px);line-height:1.85;letter-spacing:.02em;margin:0;padding:0;border:0;background:none}
#content .hny-team-support h3:before,#content .hny-team-support h3:after{display:none}
.hny-team-list{counter-reset:team;align-self:start}.hny-team-list>div{position:relative;display:block;padding:0 0 28px 48px;margin:0 0 28px;border-bottom:1px solid #ddd;counter-increment:team}.hny-team-list>div:before{content:"0" counter(team);position:absolute;top:2px;left:0;color:#d2151a;font-family:Georgia,serif;font-size:15px}.hny-team-list>div:last-child{margin-bottom:0}
.hny-team-list dt{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:23px;font-weight:400;line-height:1.6;margin-bottom:12px}.hny-team-list dd{font-size:15px;line-height:2;padding:0;color:#444}.hny-team-list dd:before{display:none}
.hny-team-statement{grid-column:1/-1;margin-top:64px;padding:52px 0 56px;border-bottom:1px solid #ccc;display:grid;grid-template-columns:1.1fr .9fr;gap:6%;align-items:end}
#content .hny-team-promise{margin:0;font-size:clamp(32px,3vw,46px);line-height:1.65;letter-spacing:.02em}.hny-team-promise span{display:block}.hny-team-close{font-size:16px;line-height:2.1;max-width:420px;padding-bottom:6px}
.hny-team-support+.hny-method-foot{border-top:0!important;margin-top:0!important;padding-top:28px!important}
.team-reveal{opacity:0;transition:opacity .9s ease var(--reveal-delay,0ms)}.team-reveal.team-revealed{opacity:1}
@media(max-width:700px){.hny-team-support{display:block;margin-top:56px;padding-top:42px}.hny-team-kicker{margin-bottom:20px}#content .hny-team-support h3{font-size:25px;line-height:1.9}.hny-team-list{margin-top:38px}.hny-team-list>div{padding-left:36px;margin-bottom:24px;padding-bottom:24px}.hny-team-list dt{font-size:21px;margin-bottom:10px}.hny-team-list dd{font-size:15px}.hny-team-statement{display:block;margin-top:12px;padding:32px 0 36px}#content .hny-team-promise{font-size:clamp(24px,6.2vw,30px);line-height:1.8}.hny-team-close{margin-top:22px;font-size:15px;padding:0}}
@media(prefers-reduced-motion:reduce){.team-reveal{opacity:1;transition:none}}

/* Keep the closing promise and its explanation together. */
.hny-team-statement{display:block;text-align:center;margin-top:64px;padding:54px 24px 58px}
#content .hny-team-promise{font-size:clamp(30px,3vw,46px);line-height:1.7}
.hny-team-promise span{display:inline}
.hny-team-close{max-width:none;margin:22px auto 0;padding:0;line-height:2}
@media(max-width:700px){.hny-team-statement{text-align:left;margin-top:12px;padding:32px 0 36px}#content .hny-team-promise{font-size:clamp(24px,6.2vw,30px)}.hny-team-promise span{display:block}.hny-team-close{margin-top:20px}}

/* Remove the top rule of the external team section. */
.hny-team-support{border-top:0}

#content .hny-contact-redesign{border-top:0}

/* Match the original site's 5px button corners. */
#header .hny-header-contact,
#content #service .hny-service-detail-button,
#content .contact-action>a:first-child,
#content #works .btn-all-case,
#content #topics .btn-list,
#footer .page-top a{border-radius:5px!important}

/* Contact contrast and compact mobile client grid. */
#content .hny-contact-redesign{background:#000;color:#fff}
#content .hny-contact-redesign h2,#content .hny-contact-redesign .contact-phone,#content .hny-contact-redesign .contact-heading>p:first-child{color:#fff}
#content .hny-contact-redesign .hny-contact-count{border-color:#444;color:#fff}
#content .hny-contact-redesign .hny-contact-count strong{color:#fff}
@media(max-width:600px){
.hny-clients{padding:30px 6%}
.hny-clients ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}
.hny-clients li{height:46px}
.hny-clients .hny-logo-fit{width:min(calc(var(--logo-width)*.52),100%);height:44px}
.hny-client-heading{margin-bottom:22px}
}

#header .hny-mobile-menu summary{width:44px;height:44px;align-items:center;justify-content:center}
#header .hny-menu-lines{display:flex;flex-direction:column;gap:6px;width:24px}
#header .hny-menu-lines i{display:block;width:24px;height:1px;background:#222;transition:transform .2s ease,opacity .2s ease}
#header .hny-mobile-menu[open] .hny-menu-lines i:nth-child(1){transform:translateY(7px) rotate(45deg)}
#header .hny-mobile-menu[open] .hny-menu-lines i:nth-child(2){opacity:0}
#header .hny-mobile-menu[open] .hny-menu-lines i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:900px){
#header .hny-mobile-menu nav{display:block;padding:16px 24px 32px;overscroll-behavior:contain}
#header .hny-mobile-menu nav ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
#header .hny-mobile-menu nav ul+ul{margin-top:20px}
#header .hny-mobile-menu nav li{margin:0;padding:0;min-width:0}
#header .hny-mobile-menu nav a{display:block;font-size:13px;line-height:1.8;padding:15px 0}
#header .hny-mobile-menu nav .und01 a{font-size:12px;padding-left:10px}
}

/* Match the existing outlined buttons: dark fill and white text on hover. */
#content #service a.button{border-color:#181818;color:#181818}
#content #service a.button:hover,#content #service a.button:focus-visible{background:#181818;border-color:#181818;color:#fff;text-decoration:none;opacity:1}
#content #service a.button:hover span,#content #service a.button:focus-visible span{color:inherit}

/* Single-column mobile navigation with a clear service hierarchy. */
@media(max-width:900px){
#header .hny-mobile-menu nav{padding:12px 28px 40px;text-align:left;box-shadow:0 12px 24px rgba(0,0,0,.05)}
#header .hny-mobile-menu nav ul{display:block}
#header .hny-mobile-menu nav ul+ul{margin-top:28px}
#header .hny-mobile-menu nav a{position:relative;text-align:left;font-size:15px;line-height:1.7;padding:18px 28px 18px 0;border-bottom:1px solid #e5e5e5}
#header .hny-mobile-menu nav a:after{content:'→';position:absolute;right:0;top:18px;color:#d2151a;font-size:16px}
#header .hny-mobile-menu nav .und01 a{font-size:14px;padding:14px 28px 14px 18px;border-bottom:0}
#header .hny-mobile-menu nav .und01 a:before{content:'';position:absolute;left:0;top:25px;width:6px;height:1px;background:#aaa}
#header .hny-mobile-menu nav .und01 a:after{top:14px;font-size:14px}
#header .hny-mobile-menu nav a:hover{color:#d2151a;text-decoration:none}
#header .hny-mobile-menu nav a:focus-visible{outline:2px solid #d2151a;outline-offset:2px}
}

@media(max-width:900px){body:has(.hny-mobile-menu[open]) #hny-float{visibility:hidden}}
