/* 会社情報：ごあいさつが一行ずつ濃くなる・理念・会社概要 */
.cohero .vis{min-height:300px;position:relative}.cohero .wrap{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}
.cohero h1{font-size:clamp(34px,4.4vw,70px)}
/* ごあいさつ（スクロールで一行ずつ） */
.greet{height:240vh;background:#fff}.greet .pin{position:sticky;top:0;min-height:100svh;display:flex;align-items:center}
.gtext{margin-top:14px;max-width:900px;font-size:clamp(17px,1.7vw,22px);line-height:2}
.gtext .ln{display:block;color:#c4c8ce;transition:color .3s;margin-bottom:.2em}.gtext .ln.on{color:var(--ink)}
.sign{margin-top:22px;font-weight:700;opacity:.2;transition:opacity .5s}.sign.on{opacity:1}
/* 企業理念 */
.sub{font-size:clamp(18px,2vw,26px);font-weight:700;color:var(--red);margin-top:6px}
.cols{margin-top:26px;display:grid;gap:18px;max-width:880px}.cols p{font-size:17px;line-height:2}
.close{margin-top:30px;font-size:clamp(20px,2.2vw,28px);font-weight:900;line-height:1.6;border-left:6px solid var(--red);padding-left:20px;max-width:880px}
/* 会社概要 */
.prof{margin-top:30px;width:100%;border-collapse:collapse;max-width:980px}.prof th,.prof td{padding:18px 16px;border-top:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.8}
.prof tr:last-child th,.prof tr:last-child td{border-bottom:1px solid var(--line)}.prof th{width:9em;font-weight:900;color:var(--red);white-space:nowrap}.prof tr{transition:background .25s}.prof tr:hover{background:#fff3f5}
@media(max-width:1024px){.cohero .wrap{display:block}.cohero .vis{min-height:200px}}
@media(max-width:820px){.greet{height:auto}.greet .pin{position:static;min-height:0;padding:70px 0}.gtext .ln{color:var(--ink)}.sign{opacity:1}.prof th{display:block;width:auto;padding-bottom:0;border-top:1px solid var(--line)}.prof td{display:block;border-top:0;padding-top:4px}.prof th,.prof td{padding-left:0}}
@media(max-height:760px){.greet{height:auto}.greet .pin{position:static;min-height:0;padding:70px 0}.gtext .ln{color:var(--ink)}.sign{opacity:1}}

/* ===== 2026-11-16 図と写真（接頭辞 co-。共有の .trust .tcard は書き換えない） ===== */
/* hero: 拠点の路線図 */
.co-map{width:min(100%,520px);margin-left:auto;pointer-events:none}.co-map svg{display:block;width:100%;height:auto;overflow:visible}
.co-area{font:900 96px var(--disp);fill:none;stroke:#d3d6db;stroke-width:2}
.co-mbase{fill:none;stroke:#c9ccd2;stroke-width:6;stroke-dasharray:4 12;stroke-linecap:round}
.co-mfill{fill:none;stroke:var(--red);stroke-width:6;stroke-linecap:round;stroke-dasharray:430;stroke-dashoffset:430;transition:stroke-dashoffset 2.2s var(--ease)}
.co-map.in .co-mfill{stroke-dashoffset:0}
.co-mcut path{fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round}
.co-mst .o{fill:#fff;stroke:#c9ccd2;stroke-width:4;transition:stroke .4s;transition-delay:calc(.3s + var(--d)*.8s)}.co-mst .c{fill:#c9ccd2;transition:fill .4s;transition-delay:calc(.3s + var(--d)*.8s)}
.co-map.in .co-mst .o{stroke:var(--red)}.co-map.in .co-mst .c{fill:var(--red)}
.co-mst text{font:900 22px var(--disp);fill:var(--ink);text-anchor:middle}.co-mst .co-mrole{font:700 16px var(--body,inherit);fill:var(--gray,#5E6066)}.co-mst.hq .co-mrole{fill:var(--red);font-weight:900}
.co-mpin{opacity:0;transform:translate(470px,150px);transition:opacity .4s 2.2s,transform .7s var(--ease) 2.2s}.co-map.in .co-mpin{opacity:1;transform:translate(470px,210px)}
.co-mpin .halo,.co-gpin .halo,.co-gbpin .halo{fill:rgba(217,20,51,.22)}.co-mpin .p,.co-gpin .p,.co-gbpin .p{fill:var(--red)}.co-mpin .w,.co-gpin .w,.co-gbpin .w{fill:#fff}
.co-mring{fill:none;stroke:var(--red);stroke-width:3;opacity:0;transform-origin:center;transform-box:fill-box}.co-map.in .co-mring{animation:co-ping 2.4s ease-out infinite 3s}
@keyframes co-ping{0%{transform:scale(1);opacity:.8}100%{transform:scale(2.7);opacity:0}}
/* ごあいさつ: 紙媒体 → ウェブ → 地図 の路線（PC は縦・スクロールの進み --k で点く／スマホは横） */
.greet .wrap{position:relative}
.co-gline{position:absolute;right:28px;top:50%;translate:0 -50%;pointer-events:none}.co-gline svg{display:block;overflow:visible}
.co-gline .b,.co-gband .b{stroke:#c9ccd2;stroke-width:4;stroke-dasharray:4 12;stroke-linecap:round}
.co-gfill{stroke:var(--red);stroke-width:4;stroke-linecap:round;stroke-dasharray:380;stroke-dashoffset:calc(380px * (1 - min(1, var(--k,0) * 1.667)))}
.co-gst .o{fill:#fff;stroke:#c9ccd2;stroke-width:4}.co-gst .lit{fill:var(--red);stroke:var(--red);stroke-width:4}.co-gst text{font:900 20px var(--disp);fill:var(--ink)}
.co-gst.g1 .lit{opacity:clamp(0,calc(var(--k,0)*16.667*3),1)}.co-gst.g2 .lit{opacity:clamp(0,calc((var(--k,0)*16.667 - 3)*3),1)}.co-gst.g3 .lit{opacity:clamp(0,calc((var(--k,0)*16.667 - 6)*3),1)}
.co-gpin{transform:translateY(calc(380px * min(1, var(--k,0) * 1.667)))}
.rm .co-gst .lit{opacity:1}.rm .co-gpin{transform:translateY(380px)}.rm .co-gfill{stroke-dashoffset:0}
.co-gband{display:none;margin:18px 0 6px;max-width:324px;pointer-events:none}.co-gband svg{display:block;width:100%;height:auto;overflow:visible}
.co-gbfill{stroke:var(--red);stroke-width:4;stroke-linecap:round;stroke-dasharray:276;stroke-dashoffset:276;transition:stroke-dashoffset 1.6s var(--ease)}.co-gband.in .co-gbfill{stroke-dashoffset:0}
.co-gband .s{fill:#fff;stroke:#c9ccd2;stroke-width:4;transition:fill .4s,stroke .4s;transition-delay:calc(var(--d)*.7s)}.co-gband.in .s{fill:var(--red);stroke:var(--red)}
.co-gband text{font:900 16px var(--disp);fill:var(--ink)}
.co-gbpin{opacity:0;transform:translate(300px,4px);transition:opacity .3s 1.6s,transform .6s var(--ease) 1.6s}.co-gband.in .co-gbpin{opacity:1;transform:translate(300px,30px)}
@media(max-width:1279px){.co-gline{display:none}}
@media(max-width:820px){.co-gband{display:block}.greet .stn{--ty:70px}}
@media(max-height:760px){.co-gline{display:none}.co-gband{display:block}.greet .stn{--ty:70px}}
/* 企業理念 — 谷: 意図して図を置かない。結びだけ終点の駅 */
#rinen .close{border-left:0;padding-left:52px;position:relative}
#rinen .close::before{content:"";position:absolute;left:4px;top:.3em;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle,#fff 0 5px,var(--red) 5.5px);box-shadow:0 0 0 8px rgba(217,20,51,.2);pointer-events:none}
/* 会社概要: 表を路線に */
.co-prof{position:relative}
.co-prof th{padding-left:44px;position:relative;background:linear-gradient(#c9ccd2 55%,transparent 0) 14px 0/3px 12px repeat-y}
.co-prof th::before{content:"";position:absolute;left:7px;top:23px;width:17px;height:17px;box-sizing:border-box;border-radius:50%;background:#fff;border:3px solid #c9ccd2;transition:background .4s,border-color .4s}
.co-prof tr.in th::before{background:var(--red);border-color:var(--red)}.rm .co-prof th::before{background:var(--red);border-color:var(--red)}
.co-fig{font:900 clamp(24px,2.4vw,32px)/1.3 var(--disp);letter-spacing:.01em}
.co-biz{display:inline-block;max-width:100%;margin:4px 8px 4px 0;padding:6px 16px;border:2px solid var(--ink);border-radius:999px;font-weight:700;font-size:16px;line-height:1.5;background:#fff}
.co-sep{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.co-ppin{display:inline-block;width:14px;height:14px;margin-right:8px;vertical-align:-1px;border-radius:50%;background:radial-gradient(circle,#fff 0 2.5px,var(--red) 3px)}
/* GMJ の強み: カードを点線でつなぐ（#yext で囲む＝signalizer の .trust には効かない） */
#yext .tcard{position:relative}
#yext .tcard:not(:last-child)::after{content:"";position:absolute;top:100%;left:calc(clamp(0px,14vw,200px) + 44px);width:4px;height:26px;background:linear-gradient(var(--red) 55%,transparent 0) 0 0/4px 10px;pointer-events:none}
/* チーム紹介: 駅の円から代表 2 人・下に駅名標 */
.co-team{--fw:380px;position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,6vw,90px);max-width:900px;margin:40px 0 56px}
.co-team::before{content:"";position:absolute;left:0;right:0;top:calc(var(--fw) * .57);height:4px;background:linear-gradient(90deg,#c9ccd2 55%,transparent 0) 0 0/14px 4px;pointer-events:none;z-index:-1}
.co-mem{margin:0;min-width:0}
.co-fig2{position:relative;width:min(100%,var(--fw));aspect-ratio:1;margin:0 auto}
.co-fig2::before{content:"";position:absolute;left:7%;right:7%;bottom:0;aspect-ratio:1;border-radius:50%;background:var(--soft,#EFF1F4);box-shadow:inset 0 0 0 6px #c9ccd2;transition:box-shadow .6s var(--ease) .2s}
.co-fig2.in::before,.rm .co-fig2::before{box-shadow:inset 0 0 0 6px var(--red)}
.co-ph{position:absolute;inset:0;-webkit-mask:linear-gradient(#000 0 0) top/100% 57% no-repeat,radial-gradient(circle closest-side,#000 99.5%,transparent 100%) 50% 100%/86% 86% no-repeat;mask:linear-gradient(#000 0 0) top/100% 57% no-repeat,radial-gradient(circle closest-side,#000 99.5%,transparent 100%) 50% 100%/86% 86% no-repeat}
.co-ph img{position:absolute;left:0;bottom:0;width:100%;height:auto;display:block}
.co-plate{display:block;margin:-10px auto 0;width:min(100%,var(--fw));background:#fff;border:2px solid var(--ink);border-radius:16px;overflow:hidden;box-shadow:8px 8px 0 var(--ink);text-align:center;position:relative;z-index:1}
.co-mem:nth-child(2) .co-plate{box-shadow:8px 8px 0 var(--red)}
.co-role{display:block;padding-top:16px;font-size:14px;font-weight:700;color:var(--red);letter-spacing:.06em}
.co-name{display:block;font:900 clamp(28px,2.8vw,38px)/1.25 var(--disp);padding:2px 12px 14px}
.co-bar{display:flex;flex-direction:column;gap:2px;background:var(--red);color:#fff;padding:10px 16px;font-size:15px;font-weight:700;line-height:1.5;text-align:center}
.co-bar b{font-weight:700}
@media(max-width:1024px){.co-team{--fw:320px}}
@media(max-width:820px){
 .co-map{width:100%}.co-map .co-mst text{font-size:30px}.co-map .co-mst .co-mrole{font-size:24px}
 .co-prof th{padding-left:34px;background-position:10px 0}.co-prof td{padding-left:34px;background:linear-gradient(#c9ccd2 55%,transparent 0) 10px 0/3px 12px repeat-y}.co-prof th::before{left:3px;top:22px}
 #yext .tcard:not(:last-child)::after{left:44px}
 .co-team{--fw:280px;grid-template-columns:minmax(0,1fr);gap:44px}.co-fig2,.co-plate{margin-left:0}
 .co-team::before{left:140px;right:auto;top:0;bottom:0;width:4px;height:auto;background:linear-gradient(#c9ccd2 55%,transparent 0) 0 0/4px 14px}
 .co-bar{text-align:left}
}
