/* =====================================================================
   AiM PISTA GROUP　6事業の紹介トップ（明るい版）のデザイン
   AiM PISTA 公式HP（aimpista.com）の要素：
     ・グラデーション 水色 #3FE3FF → 紫 #8F6BFF → ピンク #FF5CE1
     ・英字の大見出し・数字＝Orbitron／英字のラベル＝Rajdhani（字間広め）／和文＝Noto Sans JP
     ・丸いボタン、角の丸いガラス風のカード、上部の読み進みの線
   背景は明るくしている（公式は黒）。色を変えるときは :root の値を変える
   ===================================================================== */
:root {
  --bg: #F7F8FC;          /* 背景（ほんのり青みのある白） */
  --ink: #12131C;         /* 文字 */
  --muted: #5D6074;       /* 補足の文字 */
  --line: rgba(18,19,28,.10);
  --c1: #3FE3FF;          /* 水色 */
  --c2: #8F6BFF;          /* 紫 */
  --c3: #FF5CE1;          /* ピンク */
  --grad: linear-gradient(90deg, var(--c1), var(--c2) 50%, var(--c3));
  --grad-deep: linear-gradient(90deg, #12B3D6, #7A55F5 50%, #E43FC6); /* 白地で読みやすい濃いめの虹 */
  --r: 22px;
  --ease: cubic-bezier(.22,.8,.22,1);
  --f-ja: "Noto Sans JP", system-ui, sans-serif;
  --f-en: "Rajdhani", "Noto Sans JP", sans-serif;
  --f-logo: "Orbitron", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ja); font-size: 16px; line-height: 1.85; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
p, h1, h2, dl, dd { margin: 0; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--c2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 8px 14px; background: #fff; border-radius: 8px; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.grad-text { background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 読み進みの線（公式と同じ3色） ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- 背景のオーロラ（明るい版：色のにじみがゆっくり動く） ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .32; animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--c1); top: -28vmax; left: -18vmax; }
.aurora i:nth-child(2) { background: var(--c2); top: 10vmax; right: -26vmax; opacity: .22; animation-duration: 32s; }
.aurora i:nth-child(3) { background: var(--c3); bottom: -34vmax; left: 18vmax; opacity: .18; animation-duration: 38s; }
@keyframes drift { to { transform: translate(6vmax, 5vmax) scale(1.08); } }

/* ---------- ヘッダー（白いガラスの帯） ---------- */
.header { position: fixed; inset: 3px 0 auto; z-index: 50; transition: background .4s, box-shadow .4s; }
.header.is-scrolled { background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; width: min(1280px, 100% - 40px); margin-inline: auto; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 26px; height: 23px; }
.logo__text { font-family: var(--f-logo); font-weight: 800; font-size: 15px; letter-spacing: .14em; }
.logo__sub { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .32em; color: var(--muted); }
.nav { display: flex; gap: 30px; margin-left: auto; font-family: var(--f-en); font-weight: 700; font-size: 14px; letter-spacing: .22em; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- ボタン（公式と同じ丸い形） ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .06em; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 40px; padding: 0 20px; font-size: 13px; }
.btn--grad { background: linear-gradient(90deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 8px 22px rgba(143,107,255,.32); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 10px 26px rgba(18,19,28,.18); }
.btn--dark:hover { box-shadow: 0 14px 30px rgba(143,107,255,.35); }
.btn--line { border: 1.5px solid rgba(18,19,28,.22); background: rgba(255,255,255,.6); }
.btn--line:hover { border-color: var(--c2); color: var(--c2); }
.btn__arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 14px; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- 英字のラベル（公式の「SCENE 01」「HIGHLIGHTS」の形） ---------- */
.label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-en); font-weight: 700; font-size: 14px; letter-spacing: .3em; color: var(--muted); }
.label::before { content: ""; width: 28px; height: 2px; background: var(--grad); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 110px; overflow: hidden; }
/* 背景の大きな「PISTA」（公式のロゴの文字を、うすい輪郭で） */
.hero__bgword { position: absolute; right: -2vw; bottom: 4vh; font-family: var(--f-logo); font-weight: 900; font-size: clamp(120px, 22vw, 340px); line-height: .8; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.5px rgba(143,107,255,.22); pointer-events: none; user-select: none; }
.hero__inner { position: relative; }
.hero__title { margin-top: 26px; font-size: clamp(38px, 6.6vw, 96px); font-weight: 900; line-height: 1.22; letter-spacing: .02em; }
.hero__en { margin-top: 22px; font-family: var(--f-logo); font-weight: 600; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .16em; background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 14px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; color: var(--muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__roles { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero__roles a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); font-size: 14px; font-weight: 700; transition: border-color .3s, transform .3s var(--ease); }
.hero__roles a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.hero__roles a:hover { border-color: var(--c); transform: translateY(-2px); }
.scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .32em; color: var(--muted); }
.scroll i { width: 1px; height: 46px; background: linear-gradient(var(--c2), transparent); animation: drop 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- セクション共通 ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.h2 { margin-top: 18px; font-size: clamp(28px, 3.8vw, 52px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- 私たちの考え方 ---------- */
.about__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }
.about__body p + p { margin-top: 1.2em; }
.about__body { font-size: clamp(15px, 1.25vw, 17px); color: #2a2c3a; }
.about__body strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(63,227,255,.35) 62%); }
.about__stat { display: grid; grid-template-columns: auto 1fr; gap: 0; margin-top: 34px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.75); backdrop-filter: blur(10px); overflow: hidden; }
.about__stat div { padding: 22px 26px; }
.about__stat div + div { border-left: 1px solid var(--line); }
.about__stat dt { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .3em; color: var(--muted); }
.num { font-family: var(--f-logo); font-weight: 900; font-size: clamp(48px, 5vw, 68px); line-height: 1.1; background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__words { margin-top: 8px; font-weight: 700; font-size: 15px; line-height: 1.9; }

/* ---------- 6つの事業のカード ---------- */
.cards { display: grid; gap: 22px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.9); border-radius: var(--r); background: rgba(255,255,255,.82); backdrop-filter: blur(12px); box-shadow: 0 12px 34px rgba(30,32,60,.08); overflow: hidden; scroll-margin-top: 96px; transition: transform .45s var(--ease), box-shadow .45s; }
/* カードの上を通る光（マウスの位置） */
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -30%), rgba(143,107,255,.12), transparent 60%); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(30,32,60,.14); }
.card:hover::after { opacity: 1; }
/* カードのいちばん上に、その事業の色の線 */
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; z-index: 2; background: var(--c); }
.card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: center / cover no-repeat; overflow: hidden; }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--c) 28%, transparent)); }
.card__img--moon { background: radial-gradient(circle at 64% 40%, #F4F1E6 0 15%, rgba(244,241,230,.35) 16%, transparent 30%), linear-gradient(160deg, #183343, #397E83); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 22px; }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__no { font-family: var(--f-logo); font-weight: 800; font-size: 13px; letter-spacing: .14em; color: var(--c); }
.chip { padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.card__name { margin-top: 14px; font-family: var(--f-logo); font-weight: 800; font-size: clamp(19px, 1.7vw, 22px); letter-spacing: .06em; line-height: 1.3; }
.card__co { margin-top: 4px; font-size: 12px; color: var(--muted); }
.card__copy { margin-top: 16px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.card__note { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.card__go { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .26em; }
.card__body > .card__note { margin-bottom: 20px; }
.card__go span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; letter-spacing: 0; transition: transform .35s var(--ease); }
.card:hover .card__go span { transform: translateX(4px); }
/* MASH UP だけは、公式と同じ黒×ネオンの名前 */
#biz-mashup .card__name { background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- グループ ---------- */
.group__grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .group__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }
.group__lead { margin-top: 18px; color: var(--muted); }
.group__list { border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.78); backdrop-filter: blur(10px); overflow: hidden; }
.group__list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 18px 26px; }
.group__list div + div { border-top: 1px solid var(--line); }
.group__list dt { font-family: var(--f-logo); font-weight: 600; font-size: 14px; letter-spacing: .06em; }
.group__list dd { font-size: 14px; color: var(--muted); }
.note { margin-top: 28px; font-size: 12px; color: var(--muted); }

/* ---------- フッター（ここだけ公式と同じ黒） ---------- */
.footer { margin-top: 40px; padding: 72px 0 34px; background: #0B0C14; color: #F5F5F7; }
.footer__inner { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__inner { grid-template-columns: 1fr auto; align-items: end; } }
.footer__word { font-family: var(--f-logo); font-weight: 900; font-size: clamp(48px, 8vw, 104px); line-height: 1; letter-spacing: .04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__slogan { margin-top: 16px; font-weight: 700; line-height: 1.8; }
.footer__slogan span { font-family: var(--f-en); font-weight: 600; letter-spacing: .16em; color: #A6A6B6; }
.footer__links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; font-family: var(--f-en); font-weight: 700; font-size: 14px; letter-spacing: .14em; }
.footer__links a { color: #D9D9E3; transition: color .25s; }
.footer__links a:hover { color: var(--c1); }
.footer__copy { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--f-en); font-size: 12px; letter-spacing: .2em; color: #A6A6B6; }

/* ---------- スクロールで出てくる動き ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.cards .card:nth-child(3n+2) { transition-delay: .08s; }
.cards .card:nth-child(3n) { transition-delay: .16s; }

/* ---------- スマホ ---------- */
@media (max-width: 719px) {
  .nav { display: none; }
  .header__inner { gap: 12px; height: 60px; }
  .header .btn--sm { margin-left: auto; }
  .hero { padding: 100px 0 100px; align-items: flex-start; }
  .hero__title { font-size: clamp(30px, 9vw, 46px); }
  .hero__bgword { bottom: 2vh; right: -6vw; opacity: .7; }
  .pc-only { display: none; }
  .hero__btns .btn { flex: 1 1 100%; justify-content: center; }
  .about__stat { grid-template-columns: 1fr; }
  .about__stat div + div { border-left: 0; border-top: 1px solid var(--line); }
  .group__list div { grid-template-columns: 1fr; gap: 2px; }
  .footer__links { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}

/* ---------- 動きを減らす設定のとき ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .scroll i { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* =====================================================================
   明るいグラデーション版（2026-10-06 追加）
   白地をやめて、水色→ラベンダー→ピンク→ピーチの明るいグラデーションを全体に敷く。
   この塊をまるごと消すと、ひとつ前の白地の版に戻る（控え：pista.backup-白地版.css）
   ===================================================================== */
:root {
  --bg: #EAF6FF;
  --sky: #BFF1FF;     /* 明るい水色 */
  --lav: #DCCFFF;     /* ラベンダー */
  --pink: #FFC8EE;    /* 明るいピンク */
  --peach: #FFE3C9;   /* ピーチ */
  --muted: #4E5170;
}
/* 画面全体の背景：上から 水色 → ラベンダー → ピンク → ピーチ（スクロールしても固定） */
body { background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 0% 0%, var(--sky), transparent 70%),
    radial-gradient(55vmax 45vmax at 100% 20%, var(--lav), transparent 70%),
    radial-gradient(60vmax 50vmax at 20% 100%, var(--pink), transparent 70%),
    radial-gradient(50vmax 40vmax at 100% 100%, var(--peach), transparent 70%),
    linear-gradient(160deg, #D9F7FF 0%, #E6DEFF 45%, #FFE0F4 80%, #FFEFE2 100%); }
/* にじみを濃く、色をはっきり */
.aurora i { opacity: .55; filter: blur(70px); }
.aurora i:nth-child(1) { background: #6FEAFF; }
.aurora i:nth-child(2) { background: #A98BFF; opacity: .45; }
.aurora i:nth-child(3) { background: #FF8BE8; opacity: .42; }

/* 見出しのグラデーション文字を、明るく・はっきり */
.grad-text, .num, .hero__en { background: linear-gradient(90deg, #14B8E6, #8B5CFF 48%, #F03FCB); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__bgword { -webkit-text-stroke: 2px rgba(255,255,255,.9); text-shadow: 0 0 40px rgba(143,107,255,.25); }
.label { color: #5A4FA8; }
.label::before { height: 3px; }

/* ヘッダー：スクロール後は白いガラス */
.header.is-scrolled { background: rgba(255,255,255,.6); box-shadow: 0 1px 0 rgba(255,255,255,.8), 0 8px 24px rgba(120,100,200,.12); }

/* ボタン：主ボタンも虹色に */
.btn--dark { background: linear-gradient(90deg, #22C7EE, #8B5CFF 55%, #F04FD0); color: #fff; box-shadow: 0 12px 28px rgba(139,92,255,.35); }
.btn--dark .btn__arrow { background: rgba(255,255,255,.28); }
.btn--line { background: rgba(255,255,255,.75); border-color: rgba(255,255,255,.95); }
.hero__roles a { background: rgba(255,255,255,.82); border-color: rgba(255,255,255,.95); box-shadow: 0 4px 14px rgba(120,100,200,.10); }

/* 考え方・グループの白いパネルに、虹色のふち */
.about__stat, .group__list { border: 0; background:
    linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,.85)) padding-box,
    linear-gradient(120deg, #6FEAFF, #A98BFF, #FF8BE8) border-box;
  border: 2px solid transparent; }
.about__body strong { background: linear-gradient(transparent 60%, rgba(255,139,232,.45) 60%); }

/* 6事業のセクションに、色の帯を敷く */
.business { background: linear-gradient(180deg, transparent, rgba(255,255,255,.35) 18%, rgba(255,255,255,.35) 82%, transparent); }

/* カード：虹色のふち＋その事業の色を少し混ぜた明るい面 */
.card { border: 2px solid transparent;
  background:
    linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--c) 7%, #fff) 100%) padding-box,
    linear-gradient(135deg, #6FEAFF, #A98BFF 50%, #FF8BE8) border-box;
  box-shadow: 0 14px 36px rgba(120,100,200,.16); }
.card:hover { box-shadow: 0 24px 50px rgba(139,92,255,.24); }
.card::before { height: 5px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 40%, #fff)); }
.card__img::after { background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--c) 35%, transparent)); }
.card__go span { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #FF8BE8)); }

/* フッター：黒をやめて、明るい虹色のグラデーション＋白い文字 */
.footer { background: linear-gradient(120deg, #3FD6F5 0%, #8F6BFF 50%, #F55BD6 100%); color: #fff; }
.footer__word { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; text-shadow: 0 6px 30px rgba(80,40,160,.25); }
.footer__slogan span, .footer__copy { color: rgba(255,255,255,.85); }
.footer__links a { color: #fff; }
.footer__links a:hover { color: #FFF3A6; }
.footer__copy { border-top-color: rgba(255,255,255,.35); }
.progress { height: 4px; }

/* =====================================================================
   文字の色も明るいグラデーションに（2026-10-06 追加）
   見出し・事業名・ラベル・メニューを虹色の文字に。本文は読みやすさのため、黒ではなく深い紫寄りの色にする
   ===================================================================== */
:root {
  --ink: #2A2556;      /* 本文：黒をやめて、深い紫寄りの紺 */
  --muted: #5F5A8C;    /* 補足の文字 */
  --text-grad: linear-gradient(90deg, #12B4E8 0%, #6E6BFF 40%, #B35CFF 65%, #F04BC6 100%);
  --text-grad-soft: linear-gradient(90deg, #22C3EE, #8B6CFF 55%, #F25BD0);
}
/* グラデーション文字の共通の書き方 */
.hero__title, .h2, .card__name, .label, .nav a, .logo__text, .logo__sub, .about__stat dt, .group__list dt, .card__go, .hero__roles a, .btn--line, .scroll span, .card__copy {
  background: var(--text-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 1行目と2行目で、グラデーションの向きを少し変えて動きを出す */
.hero__title .nowrap:first-child, .h2 > :first-child { background: var(--text-grad-soft); -webkit-background-clip: text; background-clip: text; }
.hero__title .grad-text, .h2 .grad-text { background: linear-gradient(90deg, #F04BC6, #B35CFF 40%, #6E6BFF 70%, #12B4E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* 見出しはスパンで分かれていないので、要素ごとにグラデーションが続くようにする */
.hero__title { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* 事業名は、その事業の色から虹色へ */
.card__name { background: linear-gradient(90deg, var(--c), #8B6CFF 70%, #F04BC6); -webkit-background-clip: text; background-clip: text; }
.card__copy { background: linear-gradient(90deg, #2A2556, color-mix(in srgb, var(--c) 70%, #2A2556)); -webkit-background-clip: text; background-clip: text; }
/* 背景で色が付いている部品（丸い札・下線・矢印の丸）は元の色のまま */
.label::before, .nav a::after { -webkit-background-clip: border-box; background-clip: border-box; }
.hero__roles a { border-color: rgba(255,255,255,.95); background: var(--text-grad); -webkit-background-clip: text; background-clip: text; }
.hero__roles a { box-shadow: none; position: relative; isolation: isolate; }
.hero__roles a::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(120,100,200,.12); }
.btn--line { position: relative; isolation: isolate; }
.btn--line::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255,255,255,.8); }
.card__go span { color: #fff; -webkit-text-fill-color: #fff; }
/* 本文・補足は単色（読みやすさ優先）。強調だけ色を足す */
.about__body { color: var(--ink); }
.about__body strong { color: #4B2FB8; }
.card__co, .card__note, .group__list dd, .hero__lead, .group__lead { color: var(--muted); }
/* 丸い札と線のボタンは、白い面の上にグラデーション文字を重ねると文字が隠れるため、濃い紫の単色に */
.hero__roles a, .btn--line { background: rgba(255,255,255,.85); -webkit-background-clip: border-box; background-clip: border-box; color: #4B2FB8; -webkit-text-fill-color: #4B2FB8; }
.hero__roles a::after, .btn--line::after { content: none; }
.hero__roles a { box-shadow: 0 4px 14px rgba(120,100,200,.12); }

/* =====================================================================
   白い文字＋重要なところだけ色（2026-10-06 追加）
   ・背景：白い文字が読めるよう、明るさは保ちつつ色のはっきりしたグラデーション
     （水色 → 青紫 → 紫 → マゼンタ → コーラルピンク）
   ・文字：基本は白。重要な言葉（class="key"）だけ、明るいグラデーション
     （水色 → クリームイエロー → ピンク）で目立たせる
   ・この塊を消すと、ひとつ前の版（淡い背景・グラデーション文字）に戻る。控え：pista.backup-白文字化前.css
   ===================================================================== */
:root { --white: #fff; --soft: rgba(255,255,255,.86); --keygrad: linear-gradient(90deg, #B9F6FF 0%, #FFF4A8 50%, #FFC4EF 100%); --glass: rgba(40,20,110,.22); --glass-line: rgba(255,255,255,.38); }
body { color: var(--white); background: #6A7CF5; }
body::before { background:
    radial-gradient(55vmax 45vmax at 0% 0%, rgba(80,220,255,.95), transparent 70%),
    radial-gradient(50vmax 45vmax at 100% 10%, rgba(165,120,255,.9), transparent 70%),
    radial-gradient(60vmax 50vmax at 15% 100%, rgba(255,110,200,.9), transparent 70%),
    radial-gradient(45vmax 40vmax at 100% 100%, rgba(255,160,150,.85), transparent 70%),
    linear-gradient(155deg, #3DB8F0 0%, #6C7BF7 35%, #9B5CF2 62%, #E05BC6 85%, #F58DA8 100%); }
.aurora i { opacity: .35; }
.aurora i:nth-child(1) { background: #8FF0FF; } .aurora i:nth-child(2) { background: #C9B2FF; } .aurora i:nth-child(3) { background: #FFB0EC; }

/* まず、色付きだった文字を全部白にもどす */
.hero__title, .hero__title .nowrap, .h2, .h2 > *, .card__name, .label, .nav a, .logo__text, .logo__sub, .about__stat dt, .group__list dt, .card__go, .scroll span, .card__copy, .hero__en, .grad-text, .num, .hero__lead, .group__lead, .card__co, .card__note, .group__list dd, .about__body {
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--white); -webkit-text-fill-color: currentColor; }
.label, .logo__sub, .card__co, .card__note, .group__list dd, .group__lead, .hero__en, .scroll span { color: var(--soft); }
.label::before { background: var(--keygrad); }
.nav a::after { background: var(--keygrad); }
/* 白い文字に、うっすら影（明るい水色の部分でも読みやすく） */
body { text-shadow: 0 1px 12px rgba(40,20,110,.18); }

/* ★ 重要なところだけ、色のグラデーション */
.key { background: var(--keygrad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 2px 10px rgba(60,20,140,.25)); }
.hero__lead .key { font-weight: 900; }

.hero__bgword { -webkit-text-stroke: 2px rgba(255,255,255,.35); text-shadow: none; }
.hero__en { font-family: var(--f-ja); font-weight: 700; letter-spacing: .08em; font-size: clamp(13px, 1.2vw, 16px); }
.hero__lead { max-width: 40em; line-height: 2; color: var(--white); }

/* ヘッダー */
.header.is-scrolled { background: rgba(70,50,170,.35); box-shadow: 0 1px 0 rgba(255,255,255,.25); }
.btn--grad { background: rgba(255,255,255,.95); color: #6A3FE0; box-shadow: 0 8px 22px rgba(60,20,140,.25); text-shadow: none; }

/* ボタン：主ボタンは白地に紫の文字、線のボタンは白い線と白い文字 */
.btn--dark { background: #fff; color: #6A3FE0; text-shadow: none; box-shadow: 0 12px 30px rgba(60,20,140,.28); }
.btn--dark .btn__arrow { background: linear-gradient(135deg, #3DB8F0, #9B5CF2, #E05BC6); color: #fff; }
.btn--line, .hero__roles a { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.6); color: #fff; -webkit-text-fill-color: #fff; box-shadow: none; }
.btn--line:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.24); }
.hero__roles a::before { box-shadow: 0 0 0 2px rgba(255,255,255,.8); }

/* 3つの言葉 */
.sec-head__lead { margin-top: 14px; color: var(--soft); }
.views { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .views { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; } }
.views li { position: relative; padding: 30px 28px 28px; border: 1.5px solid var(--glass-line); border-radius: var(--r); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.views__no { font-family: var(--f-logo); font-weight: 900; font-size: 34px; line-height: 1; background: var(--keygrad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
.views__head { margin-top: 16px; font-size: clamp(20px, 1.9vw, 24px); font-weight: 900; line-height: 1.5; }
.views li p:last-child { margin-top: 12px; font-size: 15px; line-height: 1.95; color: var(--soft); }

/* 6事業のカード：ガラスの面＋白い文字。問いかけ（重要）だけ色 */
.business { background: none; }
.card { border: 1.5px solid var(--glass-line); background: var(--glass); box-shadow: 0 16px 40px rgba(50,20,130,.22); }
.card:hover { box-shadow: 0 26px 56px rgba(50,20,130,.32); }
.card::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -30%), rgba(255,255,255,.16), transparent 60%); }
.card::before { background: linear-gradient(90deg, var(--c), #fff); }
.card__no { color: #fff; }
.chip { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.card__name { margin-top: 12px; font-size: clamp(16px, 1.4vw, 18px); color: var(--soft); }
.card__q { margin-top: 12px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 900; line-height: 1.5; }
.card__copy { margin-top: 10px; font-weight: 500; font-size: 15px; }
.card__go { border-top-color: rgba(255,255,255,.3); color: #fff; }
.card__go span { background: #fff; color: var(--c); -webkit-text-fill-color: var(--c); text-shadow: none; }

/* パネル（グループの一覧） */
.about__stat, .group__list { border: 1.5px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(12px); }
.group__list div + div { border-top-color: rgba(255,255,255,.25); }
.group__list dt { color: #fff; }

/* 最後の呼びかけ */
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px); border: 1.5px solid var(--glass-line); border-radius: calc(var(--r) + 6px); background: var(--glass); backdrop-filter: blur(12px); }
.closing__text { font-size: clamp(24px, 3vw, 38px); font-weight: 900; line-height: 1.45; }
.note { color: var(--soft); }

/* フッター：背景になじむ、深めのグラデーション */
.footer { margin-top: 0; background: linear-gradient(120deg, rgba(60,40,170,.55), rgba(140,50,170,.55)); backdrop-filter: blur(8px); }
.footer__word { background: var(--keygrad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
.progress span { background: var(--keygrad); }
@media (max-width: 719px) { .closing .btn { flex: 1 1 100%; justify-content: center; } }
@media (max-width: 719px) { .closing__text { font-size: 21px; } }

/* =====================================================================
   背景を落ち着かせ、色は要所だけ（2026-10-06 追加）
   ・背景：明るめの青紫1色（上から下へ、ごく弱いグラデーション）。にじみ・大きな「PISTA」の輪郭文字はなし
   ・色を入れる場所：重要な言葉（key）、小見出しの線、カードの上の線と番号、最初の画面の光ひとつ、最後の呼びかけ、フッターの文字
   ・この塊を消すと、ひとつ前の「にぎやかな背景」に戻る。控え：pista.backup-にぎやか背景.css
   ===================================================================== */
:root { --base1: #5E6CD8; --base2: #6A5FCF; --glass: rgba(255,255,255,.10); --glass-line: rgba(255,255,255,.28); }
body { background: var(--base1); }
body::before { background: linear-gradient(180deg, var(--base1) 0%, #6466D4 50%, var(--base2) 100%); }
.aurora { display: none; }
.hero__bgword { display: none; }

/* 最初の画面だけ、右上に光をひとつ（要所の色） */
.hero::before { content: ""; position: absolute; z-index: -1; top: -20vmax; right: -18vmax; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(140,235,255,.55), rgba(255,170,235,.25) 45%, transparent 70%); filter: blur(10px); pointer-events: none; }
.hero { isolation: isolate; }

/* 文字の影は弱く */
body { text-shadow: none; }
.key { filter: none; }

/* セクションの区切り：細い白線だけ */
.section + .section { border-top: 1px solid rgba(255,255,255,.14); }

/* カード・パネル：うすい白のガラス（色は付けない） */
.views li, .card, .about__stat, .group__list, .closing { background: var(--glass); border-color: var(--glass-line); box-shadow: 0 10px 30px rgba(30,20,90,.16); }
.card:hover { box-shadow: 0 18px 40px rgba(30,20,90,.24); }
/* カードの色は「上の線」と「番号」と「矢印」だけ */
.card::before { height: 4px; background: var(--c); }
.card__no { color: color-mix(in srgb, var(--c) 45%, #fff); }
.chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }
.card__img::after { background: linear-gradient(180deg, transparent 60%, rgba(40,30,110,.25)); }

/* 最後の呼びかけだけ、色のグラデーションの面（要所） */
.closing { background: linear-gradient(120deg, rgba(110,225,255,.32), rgba(190,150,255,.30) 50%, rgba(255,150,220,.32)); border-color: rgba(255,255,255,.45); }

/* ヘッダー：落ち着いた色に */
.header.is-scrolled { background: rgba(80,85,190,.75); }

/* フッター：背景より少し濃い1色。ロゴの文字だけ色 */
.footer { background: #4D4FA8; backdrop-filter: none; }
#biz-mashup .card__name { background: none; color: var(--soft); -webkit-text-fill-color: currentColor; }

/* =====================================================================
   白ベースのグラデーション（2026-10-06 追加）
   ・背景：白 → ごく淡い水色 → ごく淡いラベンダー → ごく淡いピンク
   ・文字：白い背景で読めるよう、濃い紺に戻す。重要な言葉（key）だけ色のグラデーション
   ・控え：青紫の背景＋白い文字の版は pista.backup-青紫背景.css
   ===================================================================== */
:root { --ink: #23244A; --soft: #5D6080; --keygrad: linear-gradient(90deg, #12A8DC 0%, #7B5CFF 50%, #E44CC0 100%); --glass: rgba(255,255,255,.78); --glass-line: rgba(123,92,255,.16); }
body { color: var(--ink); background: #fff; text-shadow: none; }
body::before { background:
    radial-gradient(50vmax 40vmax at 100% 0%, rgba(150,225,255,.35), transparent 70%),
    radial-gradient(50vmax 40vmax at 0% 100%, rgba(255,190,235,.30), transparent 70%),
    linear-gradient(165deg, #FFFFFF 0%, #F4F9FF 35%, #F6F2FF 65%, #FFF4FA 100%); }

/* 文字をすべて濃い色に */
.hero__title, .hero__title .nowrap, .h2, .h2 > *, .card__name, .nav a, .logo__text, .group__list dt, .card__go, .card__copy, .hero__lead, .views__head, .closing__text, .about__body, .card__no { color: var(--ink); -webkit-text-fill-color: currentColor; }
.label, .logo__sub, .card__co, .card__note, .group__list dd, .group__lead, .hero__en, .scroll span, .sec-head__lead, .views li p:last-child, .note { color: var(--soft); -webkit-text-fill-color: currentColor; }
#biz-mashup .card__name { color: var(--ink); }
.key, .views__no, .footer__word { background: var(--keygrad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.label::before, .nav a::after, .progress span { background: var(--keygrad); }

/* 最初の画面の光：淡く */
.hero::before { background: radial-gradient(circle, rgba(150,225,255,.45), rgba(255,190,235,.22) 45%, transparent 70%); }

/* ヘッダー */
.header.is-scrolled { background: rgba(255,255,255,.85); box-shadow: 0 1px 0 rgba(123,92,255,.12); }
.btn--grad { background: var(--keygrad); color: #fff; box-shadow: 0 8px 22px rgba(123,92,255,.25); }

/* ボタン・丸い札 */
.btn--dark { background: var(--keygrad); color: #fff; -webkit-text-fill-color: #fff; box-shadow: 0 12px 28px rgba(123,92,255,.28); }
.btn--dark .btn__arrow { background: rgba(255,255,255,.28); }
.btn--line, .hero__roles a { background: #fff; border: 1.5px solid rgba(35,36,74,.14); color: var(--ink); -webkit-text-fill-color: var(--ink); }
.btn--line:hover { border-color: #7B5CFF; background: #fff; color: #7B5CFF; -webkit-text-fill-color: #7B5CFF; }
.hero__roles a::before { box-shadow: none; }

/* カード・パネル：白い面＋うすい紫の線 */
.views li, .card, .about__stat, .group__list { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 10px 30px rgba(80,70,160,.08); }
.card:hover { box-shadow: 0 18px 40px rgba(80,70,160,.14); }
.card::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -30%), rgba(123,92,255,.08), transparent 60%); }
.card__no { color: var(--c); -webkit-text-fill-color: var(--c); }
.chip { background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); border: 0; }
.card__go { border-top-color: rgba(35,36,74,.1); }
.card__go span { background: var(--c); color: #fff; -webkit-text-fill-color: #fff; }
.section + .section { border-top: 1px solid rgba(123,92,255,.10); }
.group__list div + div { border-top-color: rgba(35,36,74,.08); }

/* 最後の呼びかけ：淡い虹色の面（要所の色） */
.closing { background: linear-gradient(120deg, #E6F7FF, #EEE8FF 50%, #FFE9F6); border: 1px solid rgba(123,92,255,.18); box-shadow: 0 10px 30px rgba(80,70,160,.08); }

/* フッター：白ベース。ロゴの文字だけ色 */
.footer { background: linear-gradient(180deg, #F6F2FF, #FFF0F8); color: var(--ink); border-top: 1px solid rgba(123,92,255,.12); }
.footer__slogan { color: var(--ink); }
.footer__slogan span, .footer__copy { color: var(--soft); }
.footer__links a { color: var(--ink); }
.footer__links a:hover { color: #7B5CFF; }
.footer__copy { border-top-color: rgba(35,36,74,.1); }
/* 最初の画面：文章の改行位置を整え、スマホでは見出しを少し小さく（2026-10-06） */
.hero__lead { text-wrap: pretty; }
@media (max-width: 719px) { .hero__title { font-size: clamp(26px, 8.2vw, 40px); } .hero__lead br:nth-of-type(1), .hero__lead br:nth-of-type(3) { display: none; } }

/* ===== 事業部へすぐ移動できる帯（画面の下に固定・2026-10-08） ===== */
body { padding-bottom: 76px; }
.jump { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); padding: 8px 10px 8px 16px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid rgba(140,120,220,.25); box-shadow: 0 10px 30px rgba(80,60,160,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.jump__label { margin: 0; flex: none; font-size: 12px; font-weight: 900; letter-spacing: .08em; color: #4B2FB8; }
.jump__list { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.jump__list::-webkit-scrollbar { display: none; }
.jump__list a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #23244A; white-space: nowrap; background: #fff; border: 1px solid rgba(140,120,220,.22); text-decoration: none; transition: border-color .25s, transform .25s; }
.jump__list a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.jump__list a:hover, .jump__list a:focus-visible { border-color: var(--c); transform: translateY(-2px); }
@media (max-width: 719px) {
  body { padding-bottom: 118px; }
  .jump { left: 8px; right: 8px; bottom: 8px; transform: none; max-width: none; display: block; padding: 8px; border-radius: 18px; }
  .jump__label { margin: 0 0 6px 4px; font-size: 11px; }
  .jump__list { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .jump__list a { display: flex; justify-content: center; padding: 8px 4px; font-size: 12px; }
}

/* ===== 帯のボタンが切れないように（2026-10-08）：入りきらないときは横にスクロールせず、2段に折り返す ===== */
.jump__list { flex-wrap: wrap; overflow: visible; }
@media (min-width: 720px) and (max-width: 1100px) {
  body { padding-bottom: 76px; }
  .jump { left: 12px; right: 12px; transform: none; max-width: none; justify-content: center; }
  .jump__list { display: grid; grid-template-columns: repeat(6, 1fr); flex: 1; }
  .jump__list a { display: flex; justify-content: center; padding: 7px 4px; }
}
