/* the hero (A: scrolling flies into the monitor, hero.js), 選ばれる理由 (point clouds, points.js) and the flowing line above 導入事例
   adopted from the review variant A (2026-11). The photo is a Cycles render (~/Desktop/unveil-anim/blenderkit/hero-photo.py) */

/* hero */
body.page-template-page-unveil section.hv-a{position:relative;height:260svh;padding:0;background:#161d2e}
.hv-a__pin{position:sticky;top:0;height:100svh;overflow:hidden;color:#fff}
.hv-a__art{position:absolute;left:0;top:0;width:100%;height:100%;transform-origin:0 0;will-change:transform}
.hv-a__art img{width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.hv-a__vid{position:absolute;object-fit:cover;background:#050505;border-radius:1.7%/2.8%;transition:opacity .7s ease}   /* the rendered display's corner radius */
.hv-a__vid~.hv-a__vid{opacity:0}   /* ~ : the end cards sit between the videos */
.hv-a__pin::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,transparent 38%,rgba(14,19,33,.5) 100%);opacity:var(--vig,1);pointer-events:none}
.hv-a__veil{position:absolute;inset:0;z-index:2;opacity:0;pointer-events:none;background:var(--hv-next,#0a0907)}
.hv-a__in{position:relative;z-index:1;height:100%;display:grid;align-content:center;justify-content:start;justify-items:start;padding:110px var(--a-gutter,max(32px,4vw)) 110px;transform-origin:50% 50%;will-change:transform}   /* the copy as one left-aligned block on the left, centred vertically */
body.page-template-page-unveil .hv-a h1.hv-a__h{display:contents;position:static;margin:0;opacity:1;text-align:left}   /* main.css hides h1 */
.hv-a__l1,.hv-a__l2{display:block;font:700 clamp(28px,3.1vw,60px)/1.32 "Noto Sans JP",sans-serif;letter-spacing:.01em;color:#fff}
body.page-template-page-unveil .hv-a h1.hv-a__h span{font-feature-settings:"palt";font-kerning:normal;text-spacing-trim:trim-both}   /* 「」“”。 sit tight and flush at the line ends */
.hv-a__sub{margin:calc(clamp(14px,1.6vw,24px) + clamp(12px,1.4vw,24px)) 0 0;font:500 clamp(14px,1.15vw,18px)/1.6 "Noto Sans JP",sans-serif;letter-spacing:.06em;font-feature-settings:"palt";color:#fff;text-align:left}

/* 数字で見るアンベール, under the sub: one row of four (PC; hero.js sizes the catch and the sub to its width), two by two (phones) */
.hv-a__in .hv-st{margin:calc(clamp(14px,1.6vw,24px) + clamp(12px,1.4vw,24px)) 0 0;color:#fff}
.hv-a__in .hv-st__track{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,max-content);justify-content:start;gap:12px clamp(12px,1.4vw,24px)}
.hv-a__in .hv-st__item{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:0;text-align:left}
.hv-a__in .hv-st__label{margin:0;font:700 clamp(11px,.85vw,14px)/1.3 "Noto Sans JP",sans-serif;letter-spacing:.06em;color:inherit;opacity:.8;white-space:nowrap}
.hv-a__in .hv-st__value{--s:clamp(18px,1.55vw,30px);margin:0;display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:baseline;gap:0 .12em;font:600 var(--s)/1 "Oswald","Noto Sans JP",sans-serif;letter-spacing:0;color:inherit;white-space:nowrap}
.hv-a__in .hv-st__value span{display:block}
.hv-a__in .hv-st__value small{margin-left:.06em;font:700 .42em "Noto Sans JP",sans-serif}
.hv-a__in .hv-st__sep{font-style:normal;font-size:.55em;color:inherit;opacity:.6}

/* 出稿の相談 under the numbers: corp.vacan.com's .a-btn size, white on the blue-grey wall */
.hv-a__in .hv-cta{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:calc(44 * var(--u));min-height:40px;margin-top:calc(clamp(14px,1.6vw,24px) + clamp(12px,1.4vw,24px));padding:0 calc(40 * var(--u));border-radius:999px;background:#fff;color:#1d263d;font:500 max(13px,calc(13 * var(--u)))/1 "Noto Sans JP","Hiragino Sans",sans-serif;white-space:nowrap;text-decoration:none;transition:opacity .2s ease}
@media (max-width:1100px){.hv-a__in .hv-cta{width:320px;max-width:calc(100vw - 40px);height:48px;font-size:14px}}
@media (hover:hover){.hv-a__in .hv-cta:hover{opacity:.86}}
@media (orientation:landscape) and (max-height:520px){.hv-a__in{padding-top:64px;padding-bottom:12px}.hv-a__sub,.hv-a__in .hv-st{margin-top:12px}.hv-a__in .hv-cta{margin-top:14px;height:40px;min-height:40px}.hv-a__in .hv-st{text-shadow:0 1px 6px rgba(29,38,61,.55)}}   /* landscape phones: the PC layout squeezed between the header and the bottom */

/* the ad's end card over the screen: search box with the product's name, a QR code, one line (hero.js turns it on for the last seconds) */
.hv-end{position:absolute;z-index:3;container-type:size;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:1.7%/2.8%;background:rgba(246,242,236,.8);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .6s ease;pointer-events:none}
.hv-end.is-on{opacity:1}
.hv-end__q{flex:none;display:flex;align-items:center;justify-content:space-between;width:56cqw;height:max(18px,15cqh);padding:0 max(8px,4.5cqw);box-sizing:border-box;border-radius:99px;background:#fff;box-shadow:0 .8cqh 2.4cqh rgba(60,50,40,.12);font:500 max(9px,7cqh)/1 "Noto Sans JP",sans-serif;letter-spacing:.04em;color:#9ca3af}
.hv-end__q svg{width:max(10px,8cqh);height:max(10px,8cqh);fill:#9ca3af}
.hv-end__qr{flex:none;margin:max(5px,4cqh) 0 max(4px,3cqh);width:max(30px,27cqh);height:max(30px,27cqh);padding:max(3px,3cqh);box-sizing:border-box;border-radius:max(4px,3cqh);background:#fff;box-shadow:0 .8cqh 2.4cqh rgba(60,50,40,.12)}
.hv-end__qr svg{display:block;width:100%;height:100%;fill:#9ca3af}
.hv-end__t{font:500 max(8px,4.6cqh)/1.3 "Noto Sans JP",sans-serif;letter-spacing:.04em;color:#9ca3af;white-space:nowrap}

/* phones and portrait tablets: the two-line catch, the sub and the numbers as one centred block between the header and the monitor (hero.js centres it); the button at the foot of the hero */
@media (max-width:1100px) and (orientation:portrait){
.hv-a__in{align-content:start;justify-content:center;justify-items:center;padding:90px 20px 0}
.hv-a__l1,.hv-a__l2{font-size:calc((100vw - 32px) / 16.6);line-height:1.42;text-align:center}
.hv-a__l1 br,.hv-a__l2 br{display:none}
.hv-a__sub{margin-top:24px;font-size:3.6vw;text-align:center}
.hv-a__in .hv-st{margin-top:24px}
.hv-a__in .hv-st__track{grid-template-columns:repeat(2,max-content);justify-content:center;justify-items:center;gap:10px 32px}
.hv-a__in .hv-st__item{align-items:center;text-align:center;gap:3px}
.hv-a__in .hv-st__value{--s:19px}
.hv-a__in .hv-cta{position:absolute;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);margin:0;z-index:3}
}
@media (prefers-reduced-motion: reduce){body.page-template-page-unveil section.hv-a{height:auto}.hv-a__pin{position:relative}}

/* 選ばれる理由, laid out like 混雑ソリューション on /shopping-mall/: a hairline with a small square on top of each column, a point cloud with the title on it (points.js), the text under it */
body.page-template-page-unveil section.hv-r{padding:clamp(28px,3vw,48px) var(--a-gutter) var(--a-sec);background:#f5f6f8;color:#1d263d;--navy:#1d263d;--hair:rgba(29,38,61,.14)}   /* the top starts right where the hero's veil ends */
.hv-r__intro{margin-bottom:clamp(56px,6vw,96px)}
body.page-template-page-unveil .hv-r h2.hv-r__h{margin:0;text-align:left;color:#677080;font:400 clamp(28px,3.4vw,52px)/1.18 "Noto Sans JP",sans-serif;letter-spacing:-.045em;max-width:16em}
.hv-r__h em{display:block;font-style:normal;color:var(--navy)}   /* the question in grey on its own line, the answer in navy under it */
.hv-r__steps{list-style:none;margin:clamp(56px,6vw,88px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--a-gap,32px)}
.hv-r__step{position:relative;display:flex;flex-direction:column;gap:12px;padding-top:28px}
.hv-r__step::after{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--hair)}
.hv-r__step::before{content:"";position:absolute;z-index:1;left:0;top:-3px;width:6px;height:6px;background:var(--navy)}
.hv-r__obj{position:relative;align-self:center;width:100%;max-width:240px;aspect-ratio:1/1;margin:8px 0 4px}
.hv-r__obj canvas{position:absolute;inset:0;display:block;width:100%;height:100%}
body.page-template-page-unveil .hv-r__obj h3{position:absolute;inset:0;margin:0;display:grid;place-items:center;text-align:center;pointer-events:none;padding:0 6%;white-space:nowrap;font:400 clamp(18px,2vw,28px)/1.4 "Noto Sans JP",sans-serif;letter-spacing:.02em;color:var(--navy);text-shadow:0 0 12px #f5f6f8,0 0 4px #f5f6f8}
.hv-r__step>p{margin:0;font-size:max(14px,calc(15 * var(--u,1px)));line-height:1.85;color:#4a5565}
.hv-r__step>p b{display:block;margin-bottom:6px;font:500 max(16px,calc(18 * var(--u,1px)))/1.5 "Noto Sans JP",sans-serif;color:var(--navy)}
@media (max-width:900px){.hv-r__steps{grid-template-columns:1fr 1fr}}
@media (max-width:767px){.hv-r__steps{grid-template-columns:1fr}.hv-r__step{text-align:center}.hv-r__obj{max-width:min(74vw,300px)}}

/* flowing line above 導入事例, set like the band on /government_bousai/ (Roboto 500, 52–138px, 30 s loop; two copies so the -50% loop is seamless) */
.hv-band{overflow:hidden;padding:clamp(40px,5vw,72px) 0;background:rgb(249,250,251)}
.hv-band__track{display:inline-flex;white-space:nowrap;animation:hvBand 30s linear infinite}
.hv-band span{font:500 clamp(52px,9.6vw,138px)/1 Roboto,"Noto Sans JP",sans-serif;letter-spacing:-.01em;color:#1d263d;padding-right:.3em}
@keyframes hvBand{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.hv-band__track{animation:none}}
