/* EQラボ事業サイト ── 色と数値はすべてここ。直値禁止。
   親サイト（eqlabounity.jp）に載せる前提で :root ではなく .eq に置く。
   ロゴ色は img/logo_source_white.jpg の画素を採色。座標は左上を原点とした (x, y)。 */
.eq{
  /* 色 */
  --c-bg:#FBF5E7;        /* ページの地 */
  --c-surface:#FFFFFF;   /* カード・フォームの面 */
  --c-ink:#171521;       /* 本文 */
  --c-sub:#696969;       /* 文字グレー #7F7F7F (641, 41) を補足用に暗く調整 */
  --c-line:#D9D4C8;      /* 罫線（影の代わり） */
  --c-sky:#00A4E1;       /* 空の青 #00A4E1 (641, 487)：飾り・線・アイコン */
  --c-sky-deep:#006F9F;  /* 空の青をボタン・リンク用に暗く調整 */
  --c-sakura:#FFCDFF;    /* 桜 #FFCDFF (436, 330) */
  --c-sakura-wash:#FFF0FF; /* 桜を白で薄めた面 */
  --c-leaf:#9DC77F;      /* 葉 #9DC77F (449, 689) */
  --c-leaf-deep:#84B961; /* 葉の濃い部分 #84B961 (522, 753) */
  --c-leaf-wash:#EFF6EB; /* 葉を白で薄めた面 */
  --c-sun:#FEFE5E;       /* 黄 #FEFE5E (798, 608)：点だけ */
  --c-on-deep:#FFFFFF;

  /* 字 */
  --font:"Noto Sans JP","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",system-ui,sans-serif;
  --fs-body:16px;
  --lh-body:1.8;
  --fs-label:12px;       /* 英字の小見出し（大文字） */
  --ls-label:.18em;
  --fs-h1:clamp(28px,5vw,48px);
  --fs-h2:clamp(22px,3.4vw,32px);
  --fs-h3:clamp(17px,1.75vw,21px);
  --lh-head:1.45;        /* 和文は 1.4 以上（参考の 0.9〜1.0 は使わない） */

  /* 余白・形 */
  --maxw:1080px;
  --text-max:40em;       /* 本文の行の長さ */
  --sec-y:clamp(64px,10vw,112px);
  --gap:24px;
  --pad-card:24px;
  --r-pill:999px;        /* ボタン・タグ */
  --r-card:0;            /* カードは角を丸めず罫線で区切る */
  --line:1px solid var(--c-line);

  /* 段階1のレイアウト */
  --zero:0;
  --full:100%;
  --gutter:clamp(20px,5vw,48px);
  --space-xs:8px;
  --space-sm:12px;
  --space-md:16px;
  --space-lg:32px;
  --sec-pad:clamp(44px,7vw,84px);
  --hero-pad:clamp(40px,8vw,96px);
  --hero-gap:clamp(24px,6vw,88px);
  --brand-mark:46px;
  --brand-size:14px;
  --portrait-min:240px;
  --portrait-ratio:4 / 3;
  --tap-size:44px;
  --focus-ring:2px solid var(--c-sky-deep);
  --focus-offset:3px;
  --one-col:minmax(0,1fr);
  --two-col:repeat(2,var(--one-col));
  --three-col:repeat(3,var(--one-col));
  --about-cols:minmax(0,1.35fr) minmax(0,1fr);

  /* 段階3：色と動き */
  --c-sky-wash:#E5F5FC;
  --c-orb-sky:#00A4E13B;
  --c-orb-ice:#D4F6FF80;
  --motion-hero-height:680svh;
  --motion-screen:100svh;
  --motion-gradient-size:112%;
  --motion-gradient-start:50% 100%;
  --motion-gradient-end:50% 72%;
  --motion-hero-pad:clamp(16px,4svh,48px);
  --motion-hero-gap:clamp(12px,3svh,32px);
  --motion-orb-sky-at:4% 18% auto auto;
  --motion-orb-ice-at:auto auto 7% 3%;
  --motion-orb-size:clamp(120px,28vw,440px);
  --motion-blur:clamp(20px,5vw,72px);
  --motion-depth:720px;
  --motion-approach-cols:minmax(0,1fr) minmax(0,1.55fr) minmax(0,1fr);
  --motion-approach-cols-small:minmax(0,1fr) minmax(0,1.32fr) minmax(0,1fr);
  --approach-heading-size:clamp(33px,6.3vw,96px);
  --approach-topics-size:clamp(10px,2.15vw,33px);
  --approach-topic-gap:clamp(9px,1.45svh,18px);
  --approach-topic-arc:clamp(5px,3.35vw,48px);
  --approach-text-height:clamp(154px,35svh,325px);
  --approach-row-mid:2;
  --approach-panel-z:1;
  --training-panel-z:2;
  --approach-pinned-top:0px;
  --motion-raf-milliseconds:1000;
  --approach-topic-arc-small:11px;
  --approach-grid-gap:clamp(5px,1vw,16px);
  --approach-layout-width:1120px;
  --approach-flower-room:calc(var(--lotus-width) * .84);
  --approach-flower-radius:.34;
  --approach-topic-outline:1.5px var(--c-sample-gray);
  --approach-motion-radius-min:1;
  --approach-grid-height:clamp(240px,53svh,500px);
  --motion-approach-logo-y:90;
  --motion-approach-topic-y:310;
  --motion-approach-topic-exit-y:-150;
  --motion-approach-entry-duration:.72;
  --motion-approach-yaw-in:-34;
  --motion-approach-yaw-out:14;
  --motion-approach-rise-start:top bottom;
  --motion-approach-rise-end:center 14%;
  --motion-approach-entry-opacity:.3;
  --bridge-runway:150svh;
  --motion-cue-bridge-in:1.00 .04;
  --motion-bridge-hold:.19;
  --motion-bridge-start:1.04;
  --motion-training-inset:var(--zero);
  --motion-training-runway:320svh;
  --motion-training-pad:clamp(16px,4vw,48px);
  --motion-orb-scale:1.14;
  --motion-orb-drift:-5%;
  --motion-orb-dim:.55;
  --motion-orb-bright:.9;
  --motion-orb-sky-time:22s;
  --motion-orb-ice-time:26s;
  --motion-lerp:.1;
  --motion-scene-y:18;
  --motion-pop-scale:.8;
  --motion-pop-time:.48;
  --motion-grid-origin:1 / 1;
  --motion-underlay:-1;
  --motion-circle-ratio:1;
  /* 各キューは開始位置と長さ（ヒーロー全体を 1 とする）。 */
  --motion-cue-intro-out:.17 .12;
  --motion-cue-issue-in:.28 .11;
  --motion-cue-issue-out:.49 .12;
  --motion-cue-vision-in:.59 .12;
  --motion-stack-start:.12;
  --motion-stack-spacing:.26;
  --motion-stack-rise:.18;
  --motion-stack-hold:.18;
  --motion-stack-offset:100;
  --motion-pop-ease:back.out(1.2);
  --motion-pop-start:top 94%;

  /* ポスターの書体と色面 */
  --hero-title-doto:clamp(23px,3.95vw,61px);
  --font-dot:"Doto",var(--font-display);
  --font-display:"Sora",system-ui,sans-serif;
  --font-heading:"Zen Kaku Gothic New",var(--font);
  --weight-display:700;
  --weight-heading:700;
  --weight-approach-topics:800;
  --fs-poster-title:clamp(25px,3.6vw,52px);
  --fs-poster-label:clamp(31px,6.5vw,96px);
  --fs-poster-scene:clamp(25px,3.65vw,52px);
  --fs-poster-word:clamp(63px,14vw,210px);
  --fs-poster-word-eq:clamp(112px,23vw,340px);
  --fs-poster-course:clamp(26px,4.4vw,64px);
  --ls-poster:-.045em;
  --ls-poster-jp:-.025em;
  --lh-poster-en:.95;
  --lh-poster-jp:1.22;
  --c-sample-gray:#B7B7B7;
  --c-sample-orange:#FF681B;
  --c-training-blue-secondary:#B5E5F5;
  --c-sample-blue:#81D9F3;
  --c-sample-yellow:#F3CB50;
  --c-sample-nav:var(--c-sample-blue);
  --c-sample-black:#191407;
  --c-sample-white:#FFFFFF;
  --sample-nav-height:var(--tap-size);
  --sample-orbit-angle:6deg;
  --sample-orbit-time:14s;
  --sample-sphere-orange:radial-gradient(circle,var(--sample-amber-core),var(--sample-amber-mid) 26%,var(--sample-amber-edge) 66%,var(--sample-amber-rim));
  --sample-sphere-ice:radial-gradient(circle,var(--c-sphere-core),var(--sample-ice-core) 22%,var(--sample-ice-mid) 58%,var(--c-sphere-edge) 92%);
  --sample-sphere-gold:radial-gradient(circle,var(--sample-gold-core),var(--sample-gold-mid) 32%,var(--sample-gold-edge) 64%,var(--sample-gold-rim));
  --sample-amber-core:#FFEF82;
  --sample-amber-mid:#FF9D0C;
  --sample-amber-edge:#FF6210;
  --sample-amber-rim:#A65323;
  --sample-ice-core:#DDF6FF;
  --sample-ice-mid:#63B8DB;
  --sample-gold-core:#FFF0BA;
  --sample-gold-mid:#E2B03E;
  --sample-gold-edge:#BB851B;
  --sample-gold-rim:#FAE69D;
  --c-poster-dot:#24243A1C;
  --c-poster-rule:#17152155;
  --c-poster-word:#FFF9FD;
  --c-sphere-core:#F9FFFF;
  --c-sphere-glow:#BBF5FF;
  --c-sphere-blue:#69D5F5;
  --c-sphere-edge:#A9EEFF;
  --c-sphere-rim:#EAFBFF;
  --line-poster:1px solid var(--c-poster-rule);
  --poster-gradient:var(--partners-field);
  --poster-dot:radial-gradient(circle,var(--c-poster-dot) 1px,transparent 1.6px);
  --poster-dot-step:clamp(19px,2.25vw,38px);
  --poster-sphere-fill:radial-gradient(circle at 48% 48%,var(--c-sphere-core) 0%,var(--c-sphere-glow) 11%,var(--c-sphere-blue) 31%,var(--c-sphere-blue) 51%,var(--c-sphere-edge) 66%,var(--c-sphere-rim) 76%,var(--c-sphere-edge) 100%);
  --poster-horizon-pad:clamp(14px,3vw,48px);
  --poster-header-pad:clamp(12px,2.25vw,36px);
  --poster-nav-gap:5px;
  --poster-nav-brand-size:12px;
  --poster-nav-mobile-mark:34px;
  --poster-nav-hit:44px;
  --poster-sphere-half:2;
  --poster-hero-grid:minmax(0,1fr) auto;
  --poster-sphere-field:min(37vw,65svh,720px);
  --poster-sphere-field-small:min(89vw,54svh);
  --poster-sphere-y:48%;
  --poster-sphere-y-small:41%;
  --poster-center:50%;
  --poster-center-offset:-50%;
  --poster-art-z:0;
  --poster-text-z:2;
  --poster-nav-z:3;
  --poster-word-opacity:.83;
  --poster-nav-section-clearance:64px;
  --poster-section-pad:clamp(48px,6.5vw,108px);
  --section-title-inset:0px;
  --section-title-inset-wide:clamp(24px,4vw,62px);
  --section-title-start:calc(max(var(--gutter), (var(--full) - var(--poster-section-width)) / 2) + var(--section-title-inset));
  --organization-columns:minmax(0,1fr) minmax(0,1.12fr);
  --organization-gap:clamp(28px,5vw,78px);
  --organization-visual-max:640px;
  --organization-visual-ratio:1;
  --organization-visual-mask:radial-gradient(ellipse closest-side,#000 70%,transparent);
  --organization-photo-tone:saturate(.7) sepia(.1);
  --organization-dot-columns:12;
  --organization-dot-rest:.37;
  --organization-dot-photo-alpha:.46;
  --organization-dot-open:.75;
  --organization-reveal-radius:.34;
  --organization-reveal-follow:.22;
  --organization-reveal-stop:.25;
  --organization-reveal-pixel-ratio:2;
  --partners-title:clamp(25px,4.1vw,58px);
  --partners-inner-ring:71%;
  --partners-row:repeat(6,minmax(0,1fr));
  --partners-row-small:repeat(3,minmax(0,1fr));
  --partners-offset:6%;
  --motion-partners-offset:8;
  --motion-partners-travel:16;
  --partners-space:clamp(24px,4vw,66px);
  --partners-max:1560px;
  --partners-field:radial-gradient(ellipse at 50% 56%,var(--c-sample-blue),var(--c-sample-gray) 88%);
  --partners-line:1px solid var(--c-sample-black);
  --poster-section-width:1320px;
  --poster-training-top:clamp(104px,17svh,158px);
  --poster-training-head-size:clamp(31px,4.5vw,64px);
  --poster-training-sub-size:clamp(18px,1.9vw,26px);
  --poster-course-copy:47em;
  --poster-sphere-expand:2.6;
  --poster-cover-overscan:1.08;
  --poster-sphere-sweep:3.1;
  --poster-sphere-rest-y:0%;
  --poster-sphere-turn:-7;
  --poster-sphere-turn-end:11;
  --poster-sphere-rise:-14%;
  /* Lantern Lotus をもとに、光沢は空色に変更。 */
  --c-lotus-petal:#FF9AAA;
  --c-lotus-light:#FFD08A;
  --c-lotus-sheen:#95DAF6;
  --lotus-width:min(52vw,74svh,660px);
  --lotus-width-small:min(98vw,54svh);
  --lotus-x:var(--poster-center);
  --lotus-x-small:var(--poster-center);
  --lotus-y:var(--poster-sphere-y);
  --lotus-y-small:var(--poster-sphere-y-small);
  --lotus-bloom-time:2.8s;
  --lotus-float-time:5.2s;
  --lotus-float-delay:2.8s;
  --lotus-delay-middle:.2s;
  --lotus-delay-inner:.42s;
  --lotus-delay-heart:.64s;
  --lotus-fold-x:.23;
  --lotus-fold-y:.67;
  --lotus-fold-angle:-12deg;
  --lotus-float-distance:-4.5%;
  --lotus-float-angle:11deg;
  --lotus-float-tilt:16deg;
  --lotus-breathe-scale:1.065;
  --lotus-entry-opacity:.24;
  --lotus-opacity:.92;
  --lotus-halo-opacity:.47;
  --lotus-vein-opacity:.56;
  --lotus-edge-width:1.25px;
  --lotus-vein-width:1.6px;
  --lotus-ease:cubic-bezier(.18,.78,.27,1);
  --poster-cue-lotus-out:.10 .21;
  --poster-cue-spread:0 .36;
  --poster-cue-sweep:.34 .45;
  --poster-cue-dispersal:.18 .23;
  --poster-cue-clear:.38 .14;
  --poster-cue-pass-in:.37 .14;
  --poster-cue-pass-out:.53 .11;
  --poster-cue-focus-in:.54 .13;
  --poster-cue-focus-out:.77 .13;
  --poster-cue-cover-in:.60 .13;
  --poster-cue-cover-scrim:.60 .14;
  --poster-pass-alpha:.42;
  --poster-pass-in-scale:.76;
  --poster-pass-out-scale:1.25;
  --poster-pass-drift:-14%;
  --poster-photo-scrim:linear-gradient(to bottom,transparent,var(--c-sample-blue) 48%);
  --poster-photo-scrim-height:clamp(155px,27svh,290px);
  --poster-cover-render:max(100vw,100svh);
  --poster-cover-size-focus:min(26vw,40svh);
  --poster-cover-size-focus-small:min(46vw,32svh);
  --poster-focus-y:43%;
  --poster-focus-y-small:37%;
  --poster-pass-first:29% auto auto 15%;
  --poster-pass-second:53% -3% auto auto;
  --poster-pass-size:min(43vw,78svh);
  --poster-pass-size-small:68vw;
  --poster-focus-left:36% auto auto 4%;
  --poster-focus-right:48% 9% auto auto;
  --poster-focus-glow:2% 5% auto auto;
  --poster-focus-size:min(17vw,31svh);
  --poster-focus-size-small:25vw;
  --poster-cue-finale:.74 .26;
  --poster-cue-word-out:.17 .09;
  --poster-cue-word-in:.25 .15;
  --poster-cue-word-switch:.48 .15;
  --poster-cue-growth-in:.47 .11;
  --poster-cue-word-clear:.63 .13;
}

/* 座標と直径は集合体の幅に対する比率。 */
.eq .eq-sphere:nth-child(1) { --sphere-x:53%; --sphere-y:5%; --sphere-size:12%; }
.eq .eq-sphere:nth-child(2) { --sphere-fill:var(--sample-sphere-ice); --sphere-x:43%; --sphere-y:10%; --sphere-size:6%; }
.eq .eq-sphere:nth-child(3) { --sphere-x:32%; --sphere-y:12%; --sphere-size:12%; }
.eq .eq-sphere:nth-child(4) { --sphere-fill:var(--sample-sphere-orange); --sphere-x:20%; --sphere-y:17%; --sphere-size:9%; }
.eq .eq-sphere:nth-child(5) { --sphere-x:60%; --sphere-y:15%; --sphere-size:13%; }
.eq .eq-sphere:nth-child(6) { --sphere-fill:var(--sample-sphere-gold); --sphere-x:72%; --sphere-y:16%; --sphere-size:12%; }
.eq .eq-sphere:nth-child(7) { --sphere-x:24%; --sphere-y:26%; --sphere-size:10%; }
.eq .eq-sphere:nth-child(8) { --sphere-x:42%; --sphere-y:24%; --sphere-size:7%; }
.eq .eq-sphere:nth-child(9) { --sphere-fill:var(--sample-sphere-ice); --sphere-x:78%; --sphere-y:31%; --sphere-size:11%; }
.eq .eq-sphere:nth-child(10) { --sphere-x:65%; --sphere-y:30%; --sphere-size:7%; }
.eq .eq-sphere:nth-child(11) { --sphere-x:50%; --sphere-y:33%; --sphere-size:19%; }
.eq .eq-sphere:nth-child(12) { --sphere-fill:var(--sample-sphere-orange); --sphere-x:12%; --sphere-y:36%; --sphere-size:6%; }
.eq .eq-sphere:nth-child(13) { --sphere-x:15%; --sphere-y:44%; --sphere-size:14%; }
.eq .eq-sphere:nth-child(14) { --sphere-x:29%; --sphere-y:46%; --sphere-size:8%; }
.eq .eq-sphere:nth-child(15) { --sphere-fill:var(--sample-sphere-ice); --sphere-x:78%; --sphere-y:48%; --sphere-size:12%; }
.eq .eq-sphere:nth-child(16) { --sphere-x:89%; --sphere-y:41%; --sphere-size:14%; }
.eq .eq-sphere:nth-child(17) { --sphere-x:91%; --sphere-y:57%; --sphere-size:13%; }
.eq .eq-sphere:nth-child(18) { --sphere-fill:var(--sample-sphere-gold); --sphere-x:5%; --sphere-y:59%; --sphere-size:8%; }
.eq .eq-sphere:nth-child(19) { --sphere-x:20%; --sphere-y:65%; --sphere-size:17%; }
.eq .eq-sphere:nth-child(20) { --sphere-fill:var(--sample-sphere-ice); --sphere-x:34%; --sphere-y:68%; --sphere-size:9%; }
.eq .eq-sphere:nth-child(21) { --sphere-fill:var(--sample-sphere-orange); --sphere-x:43%; --sphere-y:73%; --sphere-size:6%; }
.eq .eq-sphere:nth-child(22) { --sphere-fill:var(--sample-sphere-gold); --sphere-x:70%; --sphere-y:66%; --sphere-size:10%; }
.eq .eq-sphere:nth-child(23) { --sphere-x:85%; --sphere-y:75%; --sphere-size:13%; }
.eq .eq-sphere:nth-child(24) { --sphere-x:28%; --sphere-y:84%; --sphere-size:13%; }
.eq .eq-sphere:nth-child(25) { --sphere-x:53%; --sphere-y:91%; --sphere-size:12%; }
.eq .eq-sphere:nth-child(26) { --sphere-x:56%; --sphere-y:56%; --sphere-size:14%; }

/* 行位置に応じて文字列を花の外周に沿わせる。 */
.eq .eq-approach-topics li:nth-child(1) { --approach-row:0; }
.eq .eq-approach-topics li:nth-child(2) { --approach-row:1; }
.eq .eq-approach-topics li:nth-child(3) { --approach-row:2; }
.eq .eq-approach-topics li:nth-child(4) { --approach-row:3; }
.eq .eq-approach-topics li:nth-child(5) { --approach-row:4; }
