/* トップ：ヒーローの糸が、ページの下まで続く。細い線・結び目・2本の糸が編み合う。 */
body { background: #fff; }
.rest { position: relative; background: #fff; }
.weave { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; }
.w-a, .w-b { fill: none; stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.w-a { stroke: var(--accent); stroke-width: 2; }
.w-b { stroke: #1B2942; stroke-width: 1.2; opacity: .45; }
.w-k { fill: #fff; stroke: var(--accent); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.2, 1.4, .4, 1); }
.w-k.on { transform: scale(1); }
.s { z-index: 2; }

/* 使命：一語ずつの重みを出す、細い線で締めた大きな言葉 */
.s-mission { padding-top: clamp(100px, 14vw, 200px); }
.m-h { position: relative; display: inline-block; }
.m-h::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.14em; height: 3px; background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent); transform: scaleX(0); transition: transform 1.4s .3s cubic-bezier(.2, .7, .2, 1); }
.rv.in .m-h::after, :not(.rv-on) .m-h::after { transform: scaleX(1); }

/* 事業：2本の糸 */
.road { padding: 0 0 0 clamp(22px, 3.4vw, 48px); border-left: 2px solid var(--accent); }
.road-2 { border-left-color: #1B2942; border-left-width: 1.5px; }
.road::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.road-2::before { border-color: #1B2942; }
.road-no { font-size: 34px; letter-spacing: 0; font-weight: 600; line-height: 1; }
.road-2 .road-no { color: #1B2942; }
.road-media .vid video, .road-media .shots img { border-radius: 0; box-shadow: 0 0 0 1px var(--line); }
.road-media .vid video { box-shadow: 0 30px 60px -34px rgba(27, 41, 66, .5); }
/* ハヤト：実際の会議画面2枚を重ねて見せる */
.shots-real { grid-template-columns: 1fr; gap: 0; margin: 0; }
.shots-real img { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -34px rgba(27, 41, 66, .55); }
.shots-real img + img { width: 86%; margin: -12% 0 0 auto; position: relative; }
.shots-real figcaption { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--mut); }
.st-n { position: relative; background: #fff; color: #1B2942; border: 2px solid #1B2942; }
/* 日本展開支援：やることは3つの短い札、関係は橋の図で見せる */
.chips { list-style: none; margin: 22px 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1.5px solid #1B2942; font-weight: 700; font-size: 14px; line-height: 1.4; color: #1B2942; background: #fff; }
.lnk-sub { font-size: 13px; color: var(--mut); border-bottom-color: var(--line); }
.bridge { display: flex; align-items: center; padding: 72px clamp(48px, 5vw, 64px) 104px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(27, 41, 66, .4); }
.br-node { position: relative; flex: none; width: 18px; height: 18px; }
.br-node i { position: absolute; inset: 0; border-radius: 50%; background: #fff; border: 3px solid #1B2942; }
.br-mid { width: 24px; height: 24px; }
.br-mid i { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgba(2, 88, 186, .12); }
.br-node b, .br-node span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.br-node b { top: calc(100% + 14px); font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--ink); }
.br-node span { top: calc(100% + 40px); font-weight: 500; font-size: 12px; line-height: 1.4; color: var(--mut); }
.br-node span[lang="en"] { font: 600 11px/1.4 var(--font-en); letter-spacing: .08em; text-transform: uppercase; }
.br-mid b { color: var(--accent); }
.br-seg { position: relative; flex: 1; height: 2px; background: #1B2942; }
.br-seg-2 { background: var(--accent); }
.br-seg span { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; font-weight: 700; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.br-seg-2 span { color: var(--accent); }
@media (max-width: 600px) {
  .bridge { flex-direction: column; align-items: flex-start; padding: 36px 28px 36px 40px; }
  .br-node { margin-left: 3px; }
  .br-mid { margin-left: 0; }
  .br-node b, .br-node span { left: calc(100% + 18px); transform: translateY(-50%); }
  .br-node b { top: 50%; transform: translateY(-88%); }
  .br-node span { top: 50%; transform: translateY(18%); }
  .br-seg { flex: none; width: 2px; height: 64px; margin-left: 11px; }
  .br-seg span { left: 22px; bottom: auto; top: 50%; transform: translateY(-50%); }
}

/* お知らせ：ヒーローのすぐ下に1行 */
.notice-wrap { padding-top: clamp(20px, 3vw, 36px); }
.notice { display: flex; align-items: baseline; gap: 10px 18px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.6; }
.nt-l { flex: none; color: var(--accent); }
.notice time { flex: none; font: 600 13px/1.6 var(--font-en); letter-spacing: .06em; color: var(--mut); }
.nt-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-a { flex: none; color: var(--accent); transition: transform .2s; }
.notice:hover .nt-t { text-decoration: underline; text-underline-offset: 4px; }
.notice:hover .nt-a { transform: translateX(4px); }

/* 事業の中身：できること・対応・データ・状況 */
.road { align-items: start; }
.road-p { margin-bottom: 18px; }
.pts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.pts li { position: relative; padding-left: 26px; font-weight: 700; font-size: 16px; line-height: 1.7; color: var(--ink); }
.pts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--accent); }
.meta { margin: 0 0 28px; border-top: 1px solid var(--line); }
.meta div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.meta dt { font-weight: 700; font-size: 13px; line-height: 1.8; color: var(--accent); }
.meta dd { margin: 0; font-weight: 500; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.road-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.btn-road { padding: 16px 30px; font-size: 15px; background: var(--accent); color: #fff; box-shadow: 0 14px 28px -14px rgba(2, 88, 186, .6); }
.road-note { margin: 0 0 26px; font-weight: 500; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.s-lead { margin: 22px 0 0; max-width: 40em; font-weight: 500; font-size: 16px; line-height: 2; color: var(--ink-2); }
.asof { max-width: 900px; margin: 18px auto 0; text-align: right; font-size: 12px; color: var(--mut); }
.f-sec { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: #C9D3E4; font-weight: 500; font-size: 13px; text-decoration: none; }
.f-sec img { width: 48px; height: 48px; background: #fff; border-radius: 4px; }
.f-sec:hover { color: #fff; text-decoration: underline; }

/* 見出し：1行ずつ下からせり上げる（motion.js が html に ln-on を付けたときだけ） */
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln-i { display: block; }
.ln-on.rv-on .rv .ln-i { transform: translateY(105%); transition: transform 1s cubic-bezier(.2, .75, .2, 1); transition-delay: calc(.12s + var(--i, 0) * .12s); }
.ln-on.rv-on .rv.in .ln-i { transform: none; }

/* 実績：中央を通る1本の糸に、左右交互の結び目 */
.proof { display: block; position: relative; max-width: 900px; margin: 0 auto; padding: 0; }
.proof::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); transform: scaleY(var(--p, 1)); transform-origin: top; }
.proof li { position: relative; width: 50%; padding: 0 clamp(28px, 4vw, 52px) 56px 0; align-items: flex-end; text-align: right; border: 0; }
.proof li:nth-child(even) { margin-left: 50%; padding: 0 0 56px clamp(28px, 4vw, 52px); align-items: flex-start; text-align: left; }
.proof li + li { margin-top: -34px; }
.proof li:last-child { padding-bottom: 8px; }
.proof li::before { content: ""; position: absolute; right: -8px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-sizing: border-box; }
.proof li:nth-child(even)::before { right: auto; left: -8px; }
.proof b { font-size: clamp(17px, 1.6vw, 20px); word-break: auto-phrase; text-wrap: balance; }
/* 採択元のロゴは NVIDIA Inception のバッジだけ（規約：高さ30px以上・自社ロゴより大きくしない・周りに余白）。ほかは文字で並べる */
/* ファイルの外側に決まった余白が入っている。高さ52pxで枠の部分が約38px×106px（最小30px以上、ロゴの幅115pxより狭い） */
.proof-mark { display: block; margin: 4px -6px 0; }
.proof-mark img { display: block; height: 52px; width: auto; }
@media (max-width: 760px) { .proof-mark img { height: 42px; } } /* 枠の部分が約31px、幅は小さい画面のロゴ（約93px）より狭い */

/* チーム：2本の糸が出会う */
.person { padding: 0; }
.p-photo { border-radius: 0; filter: saturate(.95); }
.p-blank { background: #EEF3FB; border-radius: 0; }
.p-blank svg { width: 100%; height: 100%; }
.meet { display: block; width: 100%; height: clamp(90px, 14vw, 170px); margin-top: clamp(24px, 4vw, 48px); overflow: visible; }
.meet path { fill: none; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.3, .7, .2, 1); }
.meet .m1 { stroke: var(--accent); } .meet .m2 { stroke: #1B2942; } .meet .m3 { stroke: var(--accent); stroke-width: 3; transition-delay: .9s; }
.meet.in path { stroke-dashoffset: 0; }
.meet circle { fill: #fff; stroke: var(--accent); stroke-width: 3; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s 1.5s cubic-bezier(.2, 1.4, .4, 1); }
.meet.in circle { transform: scale(1); }
.rv-on .meet { transform: none; }

/* ニュース */
.news img { border-radius: 0; box-shadow: 0 0 0 1px var(--line); }

/* コバルトの絹の帯（問い合わせ）：糸が集まってくる */
.s-contact {
  overflow: hidden; color: #fff; background-color: #1559C6;
  background-image:
    linear-gradient(105deg, rgba(8,30,90,.6) 0%, rgba(255,255,255,0) 18%, rgba(130,180,255,.28) 34%, rgba(8,30,90,.4) 52%, rgba(130,180,255,.22) 68%, rgba(8,30,90,.5) 88%, rgba(255,255,255,0) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1.5px, rgba(0,20,80,.07) 1.5px 3px);
  background-size: 190% 100%, auto; background-position: 30% 0, 0 0;
}
.c-thr { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .5; }
.c-thr path { fill: none; stroke: #fff; stroke-width: 1; stroke-dasharray: 6 14; animation: flow 14s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -400; } }
.c-p { color: #E3EDFB; }
.btn-main { background: #fff; color: var(--accent); box-shadow: 0 16px 30px -14px rgba(0,20,80,.6); }
.btn-sub { color: #fff; border: 2px solid rgba(255,255,255,.75); padding: 18px 36px; }
.btn-sub:hover { background: rgba(255,255,255,.12); }

@media (max-width: 760px) {
  /* スマホでは線を左に寄せ、項目をすべて右側に並べる */
  .proof::before { left: 8px; }
  .proof li, .proof li:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 36px 40px; align-items: flex-start; text-align: left; }
  .proof li + li { margin-top: 0; }
  .proof li::before, .proof li:nth-child(even)::before { right: auto; left: 0; }
  .notice { flex-wrap: wrap; font-size: 14px; }
  .nt-t { flex-basis: 100%; white-space: normal; }
  .nt-a { display: none; }
  .asof { text-align: left; }
  /* 糸が事業1と事業2の間で曲がるので、その分だけ空けて画面の注記に重ねない */
  .road-2 { margin-top: 160px; }
  .meta div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .c-thr path { animation: none; }
  .meet path { stroke-dashoffset: 0; transition: none; } .meet circle { transform: none; transition: none; }
  .w-k { transform: scale(1); transition: none; }
}

.hd { transition: background .3s, box-shadow .3s; }
.hd.solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
@media (max-width: 760px) { .hd.solid { height: 56px; } }
.s-mission { padding-bottom: clamp(40px, 6vw, 90px); }

/* NVIDIA の決まった商標の一文（Inception のバッジを載せる条件） */
.f-legal { grid-column: 1 / -1; margin: 0; font: 500 11px/1.6 var(--font-en); color: #8E9BB3; }
