/* ============================================================
   トップページ（design-v3）
   基調：白 → 淡い水色 → 深い紺。見ている章に合わせて背景色がうつろう。
   欧文=Manrope（大きく・挑戦の声）／和文=Noto Sans JP＋YakuHanJP
   ============================================================ */
@property --bg   { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
@property --fg   { syntax: '<color>'; inherits: true; initial-value: #0b2552; }
@property --fg2  { syntax: '<color>'; inherits: true; initial-value: #5a6778; }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(11,37,82,0.12); }
@property --acc  { syntax: '<color>'; inherits: true; initial-value: #1059d3; }

html:has(body.top) { scroll-behavior: auto; }
body.top {
  --deep: #071c46;
  --mist: #e8f2f8;
  --mist2: #cfe3ef;
  --aqua: #8cc4ea;
  --gunjo: #1059d3;
  --en: 'Manrope', 'Hind', sans-serif;
  --jp: 'YakuHanJP', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --bg: #ffffff; --fg: #0b2552; --fg2: #5a6778; --line: rgba(11,37,82,0.12); --acc: #1059d3;
  font-family: var(--jp);
  letter-spacing: 0.04em;
  line-height: 2;
  background: var(--bg);
  color: var(--fg);
  transition: --bg .9s ease, --fg .9s ease, --fg2 .9s ease, --line .9s ease, --acc .9s ease;
}
body.top[data-bg="mist"] { --bg: #e8f2f8; --fg: #0b2552; --fg2: #4f6378; --line: rgba(11,37,82,0.14); --acc: #1059d3; }
body.top[data-bg="deep"] { --bg: #071c46; --fg: #ffffff; --fg2: rgba(255,255,255,0.72); --line: rgba(255,255,255,0.18); --acc: #8cc4ea; }

.top .z { position: relative; }
.top .inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* 見出しの型：英字キッカー＋和文 */
.top .kick { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: 0.3em; color: var(--acc); display: flex; align-items: center; gap: 14px; }
.top .kick::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.top .h2 { font-family: var(--jp); font-weight: 700; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.5; letter-spacing: 0.04em; color: var(--fg); margin-top: 22px; text-wrap: balance; }
.top .p { font-size: 15px; line-height: 2.2; color: var(--fg2); }
.top .nb { display: inline-block; }
.top .h2, .top h1, .st h3, .cta3 h2 { word-break: auto-phrase; }

/* ---------- ヘッダー：ヒーローの上では透ける ---------- */
.top .gh { transition: background .5s ease, border-color .5s ease; }
.top .gh.is-over { background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0)); border-bottom-color: transparent; backdrop-filter: none; }
.top .gh-logo .nm, .top .gh-nav a { font-family: var(--jp); }
.top .gh-logo .nm small { font-family: var(--en); }

/* ============================================================
   1. HERO：霞が晴れて、海が見えてくる
   ============================================================ */
.hero3 { height: 190vh; margin-top: -72px; }
.hero3-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero3-media { position: absolute; inset: 0; transform: scale(var(--zoom, 1)); transform-origin: 50% 60%; will-change: transform; }
.hero3-media video, .hero3-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero3-haze { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(232,242,248,0.94) 0%, rgba(214,232,243,0.82) 55%, rgba(200,224,239,0.7) 100%); opacity: var(--haze, 1); pointer-events: none; }
.hero3-copy { position: absolute; left: 0; right: 0; bottom: 11vh; transform: translate3d(0, var(--lift, 0), 0); opacity: var(--fade, 1); will-change: transform, opacity; }
.hero3-copy .inner { display: grid; gap: 20px; }
.hero3 .kick { color: #1059d3; }
.hero3-en { font-family: var(--en); font-weight: 800; font-size: clamp(56px, 11.5vw, 176px); line-height: 0.9; letter-spacing: -0.02em; color: #0b2552; }
.hero3-en span { display: block; }
.hero3-en span:last-child { color: #1059d3; }
.hero3 h1 { font-family: var(--jp); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.6; letter-spacing: 0.08em; color: #0b2552; margin-top: 8px; }
.hero3-cue { position: absolute; right: 40px; bottom: 11vh; font-family: var(--en); font-size: 10px; font-weight: 700; letter-spacing: 0.4em; color: #0b2552; writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; opacity: var(--fade, 1); }
.hero3-cue::after { content: ''; width: 1px; height: 72px; background: currentColor; animation: cue3 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue3 { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   2. INTRO：挑戦者が集まる場所
   ============================================================ */
.intro3 { padding: 150px 0 140px; }
.intro3 .inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
.intro3 .p { margin-top: 8px; }
.intro3 .p + .p { margin-top: 1.4em; }
.who3 { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.who3 li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--fg); align-items: baseline; }
.who3 li b { font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; color: var(--acc); }
.link3 { display: inline-flex; align-items: center; gap: 18px; margin-top: 44px; font-size: 14px; font-weight: 500; letter-spacing: 0.12em; color: var(--fg); }
.link3 .o { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--en); transition: background .3s, color .3s, border-color .3s; }
.link3:hover .o { background: var(--acc); border-color: var(--acc); color: #fff; }
.link3:focus-visible { outline: 2px solid var(--acc); outline-offset: 6px; }

/* ============================================================
   3. SCRUB：スクロールで水中映像が進む
   ============================================================ */
.scrub { height: 240vh; }
.scrub-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #071c46; }
.scrub-stage video, .scrub-stage img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,28,70,0.82) 0%, rgba(7,28,70,0.35) 55%, rgba(7,28,70,0.1) 100%), linear-gradient(0deg, rgba(7,28,70,0.6), rgba(7,28,70,0) 40%); pointer-events: none; }
.scrub-steps { position: absolute; inset: 0; z-index: 2; }
.st { position: absolute; left: 0; right: 0; top: 50%; transform: translate3d(0, calc(-50% + 30px), 0); opacity: 0; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); color: #fff; }
.st.on { opacity: 1; transform: translate3d(0, -50%, 0); }
.st .kick { color: var(--aqua); }
.st h3 { font-family: var(--jp); font-weight: 700; font-size: clamp(32px, 5vw, 68px); line-height: 1.4; letter-spacing: 0.05em; margin: 22px 0 22px; }
.st p { max-width: 30em; font-size: 15px; line-height: 2.2; color: rgba(255,255,255,0.82); }
.st .en-bg { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); font-family: var(--en); font-weight: 800; font-size: clamp(90px, 16vw, 240px); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.22); line-height: 1; pointer-events: none; }
.scrub-rail { position: absolute; z-index: 3; right: 40px; bottom: 48px; width: 180px; display: grid; gap: 10px; }
.scrub-rail .bar { height: 1px; background: rgba(255,255,255,0.2); position: relative; }
.scrub-rail .bar i { position: absolute; left: 0; top: 0; height: 1px; width: calc(var(--sp, 0) * 100%); background: #fff; }
.scrub-rail .lbl { display: flex; justify-content: space-between; font-family: var(--en); font-size: 10px; font-weight: 700; letter-spacing: 0.24em; color: rgba(255,255,255,0.6); }

/* ============================================================
   4. MARQUEE：スクロールで流れる英字
   ============================================================ */
.mq3 { padding: 120px 0 40px; overflow: hidden; }
.mq-row { white-space: nowrap; line-height: 1; }
.mq-row + .mq-row { margin-top: 10px; }
@keyframes mq-left { from { transform: translate3d(0,0,0); } to { transform: translate3d(-33.3333%,0,0); } }
@keyframes mq-right { from { transform: translate3d(-33.3333%,0,0); } to { transform: translate3d(0,0,0); } }
.mq-track { animation: mq-left 38s linear infinite;
  display: inline-block; font-family: var(--en); font-weight: 800; font-size: clamp(64px, 11vw, 168px); letter-spacing: -0.03em; color: var(--fg); will-change: transform; }
.mq-track[data-dir="r"] { animation-name: mq-right; animation-duration: 46s; }
.mq-track.ol { color: transparent; -webkit-text-stroke: 1.5px var(--acc); }
.mq-track i { font-style: normal; color: var(--acc); padding: 0 0.25em; }

/* ============================================================
   5. TOPICS（既存のカードを新しい地色に合わせる）
   ============================================================ */
.topics3 { padding: 60px 0 140px; }
.topics3 .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.topics3 .h2 { font-size: clamp(28px, 3.4vw, 44px); }
.topics3 .tp { background: #fff; }
.topics3 .tp-rail { gap: 22px; }
.viewall3 { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: var(--fg); display: inline-flex; gap: 14px; align-items: center; white-space: nowrap; }
.viewall3::after { content: '→'; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s; }
.viewall3:hover::after { background: var(--acc); color: #fff; border-color: var(--acc); }

/* ============================================================
   6. WINDOW：小さな窓が、画面いっぱいの海になる
   ============================================================ */
.win { height: 240vh; }
.win-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.win-frame { position: absolute; inset: 0; clip-path: inset(var(--wy, 16%) var(--wx, 24%) round var(--wr, 28px)); will-change: clip-path; }
.win-frame video, .win-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.win-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,28,70,0.72) 0%, rgba(7,28,70,0.1) 60%); opacity: var(--wt, 0); }
.win-pre { position: absolute; left: 0; right: 0; top: 7vh; text-align: center; opacity: calc(1 - var(--wt, 0) * 2); }
.win-pre .kick { justify-content: center; }
.win-pre .kick::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.win-copy { position: absolute; left: 0; right: 0; bottom: 12vh; color: #fff; opacity: var(--wt, 0); transform: translate3d(0, calc((1 - var(--wt, 0)) * 40px), 0); }
.win-copy .kick { color: var(--aqua); }
.win-copy .h2 { color: #fff; }

/* ============================================================
   7. WG：4つのワーキンググループ（紺地）
   ============================================================ */
.wg3 { padding: 150px 0 160px; }
.wg3-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 80px; }
.wg3-list { list-style: none; border-top: 1px solid var(--line); }
.wg3-row { display: grid; grid-template-columns: 110px 1.1fr 1.3fr 300px; gap: 40px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); color: var(--fg); transition: padding .4s ease; }
.wg3-row:hover { padding-left: 16px; }
.wg3-row:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
.wg3-id { font-family: var(--en); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; color: var(--acc); line-height: 1; }
.wg3-t small { display: block; font-family: var(--en); font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--fg2); margin-bottom: 8px; }
.wg3-t strong { font-family: var(--jp); font-weight: 700; font-size: 24px; letter-spacing: 0.06em; line-height: 1.5; color: var(--fg); }
.wg3-d { font-size: 14px; line-height: 2.1; color: var(--fg2); }
.wg3-ph { height: 180px; overflow: hidden; border-radius: 4px; }
.wg3-ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.wg3-more { margin-top: 56px; }

/* ============================================================
   7.5 NEXT GENERATION：映像が下から開き、背景の英字が横へ流れる
   --gp：章の中の進み具合（0〜1）
   ============================================================ */
.gen3 { height: 200vh; }
.gen3-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.gen3-en { position: absolute; left: 0; top: 50%; white-space: nowrap; pointer-events: none;
  font-family: var(--en); font-weight: 800; font-size: clamp(120px, 20vw, 320px); line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  transform: translate3d(calc(8vw - var(--gp, 0) * 60vw), -50%, 0); will-change: transform; }
.gen3-en span { padding-right: 0.3em; }
.gen3-grid { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 0.9fr 1.25fr; gap: 72px; align-items: center; }
.gen3-copy { opacity: var(--gt, 0); transform: translate3d(0, calc((1 - var(--gt, 0)) * 40px), 0); }
.gen3-copy .h2 { font-size: clamp(28px, 3.4vw, 46px); }
.gen3-copy .p { margin-top: 24px; }
.gen3-copy .p + .p { margin-top: 1em; }
.gen3-copy .link3 { margin-top: 36px; }
.gen3-media { margin: 0; }
.gen3-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--gr, 1) * 20px + 4px); background: var(--mist);
  clip-path: inset(calc(var(--gc, 1) * 100%) 0 0 0 round 4px); will-change: clip-path; }
.gen3-frame video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(calc(1.18 - var(--gs, 0) * 0.18)); will-change: transform; }
.gen3-media figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 12px; letter-spacing: 0.12em; color: var(--fg2); opacity: var(--gt, 0); }
.gen3-media figcaption span:first-child { font-family: var(--en); font-weight: 700; letter-spacing: 0.2em; color: var(--acc); }

/* ============================================================
   8. インタビュー（記事0件なら非表示）
   ============================================================ */
.iv3 { padding: 140px 0; }
.iv3 .head { margin-bottom: 56px; }

/* ============================================================
   9. CTA：水中から、ゆっくり引いていく
   ============================================================ */
.cta3 { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.cta3-media { position: absolute; inset: 0; transform: scale(var(--cz, 1.22)); will-change: transform; }
.cta3-media video, .cta3-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta3::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,28,70,0.85) 0%, rgba(7,28,70,0.45) 45%, rgba(7,28,70,0.8) 100%); }
.cta3 .inner { position: relative; z-index: 2; width: 100%; text-align: center; padding-top: 120px; padding-bottom: 120px; }
.cta3 .kick { justify-content: center; color: var(--aqua); }
.cta3 .kick::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.cta3 .cta3-en { font-family: var(--en); font-weight: 800; font-size: clamp(48px, 9vw, 136px); line-height: 0.95; letter-spacing: -0.03em; margin: 26px 0 30px; }
.cta3 h2 { font-family: var(--jp); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: 0.08em; line-height: 1.7; }
.cta3 p.lead3 { margin: 18px auto 44px; max-width: 32em; font-size: 14.5px; line-height: 2.2; color: rgba(255,255,255,0.85); }
.btn3 { display: inline-flex; align-items: center; gap: 18px; padding: 18px 20px 18px 34px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; background: #fff; color: #0b2552; transition: background .3s, color .3s; }
.btn3 .o { width: 36px; height: 36px; border-radius: 50%; background: #1059d3; color: #fff; display: grid; place-items: center; font-family: var(--en); transition: transform .3s; }
.btn3:hover { background: #1059d3; color: #fff; }
.btn3:hover .o { background: #fff; color: #1059d3; transform: translateX(4px); }
.btn3.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.btn3.ghost .o { background: rgba(255,255,255,0.16); }
.btn3:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.cta3-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.top .ft { position: relative; z-index: 1; }

/* ---------- 動きを減らす設定 ---------- */
.is-static .hero3, .is-static .scrub, .is-static .win { height: auto; }
.is-static .hero3-stage, .is-static .scrub-stage, .is-static .win-stage { position: relative; }
.is-static .hero3-haze { opacity: 0.55; }
.is-static .st { position: relative; top: auto; transform: none; opacity: 1; padding: 80px 0; }
.is-static .scrub-steps { position: relative; }
.is-static .scrub-stage { height: auto; }
.is-static .win-frame { clip-path: none; position: relative; height: 80vh; }
.is-static .win-copy { opacity: 1; transform: none; }
.is-static .win-pre { display: none; }
.is-static .gen3 { height: auto; padding: 120px 0; }
.is-static .gen3-stage { position: relative; height: auto; }
.is-static .gen3-copy, .is-static .gen3-media figcaption { opacity: 1; transform: none; }
.is-static .gen3-frame { clip-path: none; }
.is-static .gen3-en { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero3-cue::after { animation: none; }
  .mq-track { animation: none; }
  body.top { transition: none; }
}

/* ---------- スマホ ---------- */
@media (max-width: 960px) {
  .top .gh.is-over { background: rgba(255,255,255,0.72); }
  .wg3-row { grid-template-columns: 70px 1fr; gap: 16px 24px; }
  .wg3-d { grid-column: 2; }
  .wg3-ph { grid-column: 1 / -1; height: 200px; }
  .wg3-id { font-size: 30px; }
}
@media (max-width: 780px) {
  .hero3 { height: 150vh; margin-top: -60px; }
  .top .inner { padding: 0 22px; }
  .hero3-cue { display: none; }
  .intro3 { padding: 100px 0; }
  .intro3 .inner, .wg3-head { grid-template-columns: 1fr; gap: 36px; }
  .who3 li { grid-template-columns: 1fr; gap: 2px; }
  .scrub { height: 200vh; }
  .st .en-bg { display: none; }
  .scrub-rail { left: 22px; right: 22px; width: auto; bottom: 28px; }
  .win { height: 190vh; }
  .gen3 { height: auto; padding: 100px 0; }
  .gen3-stage { position: relative; height: auto; overflow: visible; }
  .gen3-grid { grid-template-columns: 1fr; gap: 40px; }
  .gen3-copy, .gen3-media figcaption { opacity: 1; transform: none; }
  .gen3-frame { clip-path: none; }
  .gen3-frame video { transform: none; }
  .gen3-en { display: none; }
  .gen3-media figcaption { flex-direction: column; gap: 2px; }
  .wg3 { padding: 100px 0; }
  .topics3 .head { flex-direction: column; align-items: flex-start; }
  .cta3-btns { flex-direction: column; align-items: center; }
}

/* ===== トピックとお知らせ：JEITA式の一覧（日付＋カテゴリ＋見出し） ===== */
.topics3 .nl { border-top: 1px solid var(--line); }
.nl-row {
  display: grid;
  grid-template-columns: 112px 128px 1fr;
  align-items: center;
  gap: 0 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  transition: background .25s, color .25s;
}
.nl-row:hover { background: rgba(34, 64, 114, 0.04); }
.nl-dt { font-family: var(--en); font-size: 13px; letter-spacing: 0.08em; color: var(--mute); }
.nl-cat {
  justify-self: start;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: #fff; background: var(--acc);
  padding: 5px 14px; border-radius: 2px; white-space: nowrap;
}
.nl-ttl { font-size: 16px; line-height: 1.7; font-weight: 500; }
.nl-row:hover .nl-ttl { color: var(--acc); }

@media (max-width: 720px) {
  .nl-row { grid-template-columns: 96px 1fr; gap: 6px 14px; padding: 18px 4px; }
  .nl-ttl { grid-column: 1 / -1; font-size: 15px; }
}

/* ===== トピック：JEITAトップ式（左に見出し、右に写真付きカードの横スライダー） ===== */
.tp3 { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; margin-bottom: 96px; }
.tp3-side .h2 { margin-top: 18px; }
.tp3-lead { margin: 18px 0 30px; font-size: 14px; line-height: 2; color: var(--fg2); }
.tp3-nav { display: flex; gap: 10px; margin-top: 34px; }
.tp3-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: #0b2552; font-size: 15px; cursor: pointer; transition: background .3s, color .3s, border-color .3s, opacity .3s; }
.tp3-nav button:hover { background: var(--acc); color: #fff; border-color: var(--acc); }
.tp3-nav button:disabled { opacity: 0.35; pointer-events: none; }
.tp3-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 2.6); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; outline: none; }
.tp3-rail::-webkit-scrollbar { display: none; }
.tc { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; color: #0b2552; text-decoration: none; border-radius: 4px; overflow: hidden; }
.tc-ph { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe9f2; }
.tc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tc:hover .tc-ph img { transform: scale(1.05); }
.tc-cat { align-self: flex-start; margin: 18px 20px 0; padding: 3px 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #fff; background: #1059d3; border-radius: 2px; }
.tc-ttl { margin: 12px 20px 0; font-size: 15px; font-weight: 600; line-height: 1.7; flex: 1; }
.tc:hover .tc-ttl { color: #1059d3; }
.tc-dt { margin: 14px 20px 20px; font-family: var(--en); font-size: 12px; letter-spacing: 0.08em; color: #5a6778; }
.topics3 .head-info .h2 { font-size: clamp(24px, 2.6vw, 34px); }
@media (max-width: 960px) {
  .tp3 { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .tp3-side { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 16px; }
  .tp3-side .kick { grid-column: 1 / -1; }
  .tp3-side .h2 { margin-top: 14px; }
  .tp3-lead, .tp3-side .viewall3 { display: none; }
  .tp3-nav { margin-top: 0; }
  .tp3-rail { grid-auto-columns: 78%; }
}

/* ===== CTA：参画するとできること ===== */
.cta3-ben { max-width: 1080px; margin: 0 auto 52px; text-align: left; }
.cta3-ben .kick { justify-content: center; }
.cta3-ben-h { text-align: center; margin: 14px 0 28px; font-size: 18px; font-weight: 700; letter-spacing: 0.1em; }
.cta3-ben ol { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.18); }
.cta3-ben li { padding: 24px 20px 26px; background: rgba(7,28,70,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cta3-ben .n { display: block; font-family: var(--en); font-size: 22px; font-weight: 800; color: var(--aqua); }
.cta3-ben b { display: block; margin-top: 10px; font-size: 14px; line-height: 1.6; }
.cta3-ben p { margin-top: 10px; font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,0.78); }
@media (max-width: 1080px) { .cta3-ben ol { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cta3-ben ol { grid-template-columns: 1fr; } }

/* ===== トップのインタビュー：会員2社を横2枚で並べる ===== */
.ivpair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 880px;      /* 大きくなりすぎないよう上限をかける */
  margin: 0 auto 48px;
}
.ivpair .ivcard { border-bottom: none; padding-bottom: 0; }
.ivpair .ivcard .ph { aspect-ratio: 3 / 2; border-radius: 4px; }
.ivpair .ivcard .ttl { font-size: 15.5px; line-height: 1.8; }
.ivpair .ivcard .co { margin: 16px 0 6px; }
@media (max-width: 760px) {
  .ivpair { grid-template-columns: 1fr; gap: 32px; max-width: 420px; }
}

/* ===== トピックの枚数が少ないときの扱い =====
   横スクロールのカルーセル前提のため、2〜3枚だと
   右側が間延びし、前後ボタンも意味を失う。
   枚数が少ないときは普通に並べ、ボタンを隠す。 */
.tp3-rail:has(> :last-child:nth-child(-n+3)) {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-columns: auto;
  overflow-x: visible;
}
.tp3:has(.tp3-rail > :last-child:nth-child(-n+3)) .tp3-nav { display: none; }

/* ============================================================
   FUJI HACK 期間限定アピール用スタイル（〜2026-11-20）
   ============================================================ */
.fujihack-ribbon {
  background: linear-gradient(90deg, #071c46 0%, #1059d3 100%);
  color: #ffffff;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 105;
  box-shadow: 0 4px 16px rgba(7, 28, 70, 0.25);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
}
.fujihack-ribbon-in {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.fujihack-ribbon-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 280px;
}
.fujihack-ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: fuji-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes fuji-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}
.fujihack-ribbon-txt {
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.fujihack-ribbon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #071c46;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.fujihack-ribbon-btn:hover {
  background: #e8f2f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.fujihack-spotlight {
  padding: 80px 0;
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background .9s ease;
}
.fujihack-spotlight-card {
  background: #ffffff;
  border: 1px solid rgba(11, 37, 82, 0.12);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  box-shadow: 0 16px 48px rgba(7, 28, 70, 0.08);
  transition: box-shadow .3s ease;
  align-items: center;
}
.fujihack-spotlight-card:hover {
  box-shadow: 0 24px 60px rgba(7, 28, 70, 0.12);
}
.fujihack-spotlight-visual {
  position: relative;
  background: #071c46;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.fujihack-spotlight-visual img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .4s ease;
}
.fujihack-spotlight-card:hover .fujihack-spotlight-visual img {
  transform: scale(1.02);
}
.fujihack-spotlight-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(7, 28, 70, 0.88);
  backdrop-filter: blur(8px);
  color: #8cc4ea;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--en);
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(140, 196, 234, 0.3);
}
.fujihack-spotlight-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fujihack-spotlight-kick {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #1059d3;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.fujihack-spotlight-kick::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}
.fujihack-spotlight-h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: #0b2552;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.fujihack-spotlight-theme {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1059d3;
  background: #e8f2f8;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.fujihack-spotlight-open {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.fujihack-spotlight-desc {
  font-size: 14px;
  line-height: 1.9;
  color: #4f6378;
  margin-bottom: 22px;
}
.fujihack-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(11, 37, 82, 0.06);
}
.fujihack-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fujihack-spec-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}
.fujihack-spec-val {
  font-size: 13px;
  font-weight: 600;
  color: #0b2552;
}
.fujihack-spec-val.deadline {
  color: #dc2626;
  font-weight: 700;
}
.fujihack-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fujihack-main-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1059d3;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(16, 89, 211, 0.3);
}
.fujihack-main-cta:hover {
  background: #0d46a8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 89, 211, 0.4);
}
.fujihack-sub-cta {
  font-size: 13px;
  color: #4f6378;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}
.fujihack-sub-cta:hover {
  color: #1059d3;
}

@media (max-width: 960px) {
  .fujihack-spotlight-card {
    grid-template-columns: 1fr;
  }
  .fujihack-spotlight-visual {
    min-height: 260px;
    padding: 16px;
  }
  .fujihack-spotlight-body {
    padding: 28px 20px;
  }
  .fujihack-specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fujihack-ribbon {
    font-size: 12px;
    padding: 8px 14px;
  }
}
