/* =========================================================
   トップ 第7弾（2026-10-04）：5枚のスライドを別の絵柄に／事業・仲間募集の作り直し／
   製品ボタンを画像つきタイルに／採用欄のビフォーアフター
   ========================================================= */

/* 1枚目（地球・ロボット・金色の地図）以外のスライドでは、共通の背景とサービス一覧を隠す */
.hero:has(.hero-slide--business.active) .hero-scene,
.hero:has(.hero-slide--career.active) .hero-scene,
.hero:has(.hero-slide--axel.active) .hero-scene { opacity: 0; }
.hero:has(.hero-slide--blockchain.active) .hs-earth,
.hero:has(.hero-slide--blockchain.active) .hs-gold,
.hero:has(.hero-slide--blockchain.active) .hs-map { opacity: 0; transition: opacity .8s ease; }
.hero-services { opacity: 0; visibility: hidden; }
.hero:has(.hero-slide--team.active) .hero-services { opacity: 1; visibility: visible; }

/* スライドごとの絵柄（右側） */
.sv {
    position: absolute;
    right: max(24px, calc((100% - 1240px) / 2));
    top: 50%;
    transform: translateY(-46%);
    width: min(48%, 600px);
    z-index: 2;
}
@media (max-width: 1024px) { .sv { width: 46%; } }

/* ---------- 2枚目：事業・世界地図・1兆円 ---------- */
.svb-map {
    position: relative;
    aspect-ratio: 2064 / 1152;
    border-radius: 22px;
    overflow: hidden;
    background: url("../images/world-map-final.png") center / cover no-repeat;
    filter: none;
    box-shadow: 0 24px 60px rgba(20, 40, 90, .25);
}
.svb-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10, 22, 70, .15), rgba(6, 12, 40, .45)); }
.svb-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.svb-map .hg-arc { stroke-width: 5; }
.svb-target {
    position: absolute;
    right: 18px;
    bottom: 14px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e8cf8a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    text-align: right;
}
.svb-target small { display: block; font-family: "Inter", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .3em; color: #9c7416; }
.svb-target b {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(90deg, #9c7416, #d4af37 45%, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.svb-target b em { font-style: normal; font-size: .38em; margin-left: 6px; letter-spacing: .12em; }
.svb-target span { display: block; margin-top: 2px; font-size: 13px; font-weight: 800; color: #0b1638; }
.svb-cards { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.svb-cards li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e3e7ef;
    border-top: 3px solid #1c49c9;
    box-shadow: 0 10px 24px rgba(20, 40, 90, .1);
}
.svb-cards i { color: #f36f21; font-size: 18px; margin-bottom: 4px; }
.svb-cards b { font-family: "Inter", sans-serif; font-size: 12.5px; font-weight: 800; color: #0b1638; line-height: 1.25; }
.svb-cards span { font-size: 11px; font-weight: 700; color: #5b6577; }

/* ---------- 3枚目：仲間募集（ビフォーアフター） ---------- */
.sv-perks { list-style: none; margin: 4px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sv-perks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e3e7ef;
    font-size: 14px;
    font-weight: 800;
    color: #0b1638;
    box-shadow: 0 6px 16px rgba(20, 40, 90, .08);
}
.sv-perks i { color: #1c49c9; }
.sv-perks li.hot { background: #0b1638; color: #fff; border-color: #0b1638; }
.sv-perks li.hot i { color: #ffb27a; }
.sv-perks li.hot b { font-size: 1.5em; color: #ffb27a; margin: 0 2px; font-family: "Inter", sans-serif; }
.sv--career { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.svc-card {
    position: relative;
    padding: 30px 18px 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e3e7ef;
    text-align: center;
    box-shadow: 0 20px 50px rgba(20, 40, 90, .14);
}
.svc-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 999px; font-family: "Inter", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .2em; background: #e9edf5; color: #5b6577; }
.svc-avatar { position: relative; width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; background: #eef1f6; color: #8a93a3; }
.svc-card b { display: block; font-size: 17px; color: #0b1638; }
.svc-pay { margin: 8px 0 0; font-size: 14px; font-weight: 800; color: #8a93a3; }
.svc-pay em { font-style: normal; font-family: "Inter", sans-serif; font-size: 40px; font-weight: 900; margin: 0 2px; }
.svc-after { border: 2px solid #f36f21; transform: scale(1.06); background: linear-gradient(180deg, #fff6ef, #ffffff); }
.svc-after .svc-tag { background: #f36f21; color: #fff; }
.svc-after .svc-avatar { background: linear-gradient(135deg, #1c49c9, #6b8ff0); color: #fff; }
.svc-ring { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #7cf2ff; animation: svc-ring 2.4s ease-out infinite; }
@keyframes svc-ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.svc-after .svc-pay { color: #f36f21; }
.svc-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #f36f21; font-size: 26px; }
.svc-arrow span { font-size: 11px; font-weight: 800; color: #5b6577; text-align: center; line-height: 1.4; }
.svc-note { grid-column: 1 / -1; margin: 10px 0 0; font-size: 11px; color: #8a93a3; text-align: center; }

/* ---------- 4枚目：光るブロックのチェーン ---------- */
.sv--chain svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(28, 73, 201, .25)); }
.bc-block { animation: bc-float 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes bc-float { 50% { transform: translateY(-8px); } }
.bc-block { transform-box: fill-box; }
.bc-link { stroke: #d4af37; stroke-width: 3; stroke-dasharray: 6 8; opacity: .85; animation: hs-flow 2s linear infinite; animation-delay: var(--d, 0s); }
.sv-badges { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sv-badges li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #e8cf8a; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 800; color: #9c7416; box-shadow: 0 6px 14px rgba(20, 40, 90, .08); }
/* 4枚目ではロボットを左寄りに小さく */
.hero:has(.hero-slide--blockchain.active) .hs-robot--chain { right: 47%; width: min(18vw, 230px); }

/* ---------- 5枚目：AIのホログラムが浮かぶオフィス ---------- */
.sv--axel { width: min(50%, 640px); }
.sva-photo { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(20, 40, 90, .3); }
.sva-photo img { display: block; width: 100%; height: auto; }
.sva-badge {
    position: absolute;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid #e3e7ef;
    box-shadow: 0 12px 28px rgba(20, 40, 90, .2);
    text-align: center;
}
.sva-badge b { display: block; font-family: "Inter", sans-serif; font-size: 26px; font-weight: 900; line-height: 1.1; color: #0b1638; }
.sva-badge b small { font-size: .5em; margin-left: 2px; font-family: "Noto Sans JP", sans-serif; }
.sva-badge span { font-size: 11px; font-weight: 800; color: #5b6577; }
.sva-b1 { left: -24px; top: 18%; }
.sva-b2 { left: -24px; top: 48%; }
.sva-b3 { right: -16px; bottom: -18px; position: absolute; overflow: hidden; }
.sva-b3 b { color: #9c7416; }
/* 旧：AXel スライドの半透明ボックス・背景画像は使わない */
body.corp .hero-slide.hero-slide--axel.active::before { content: none; }

/* 左の文字は絵柄と重ならない幅に */
body.corp .hero-slide--business .hero-content > *,
body.corp .hero-slide--career .hero-content > *,
body.corp .hero-slide--blockchain .hero-content > *,
body.corp .hero-slide--axel .hero-content > * { max-width: min(520px, 46vw); }

@media (max-width: 768px) {
    .sv {
        right: 50%;
        top: 84px;
        transform: translateX(50%);
        width: calc(100% - 32px);
    }
    .svb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sv--career { grid-template-columns: 1fr auto 1fr; gap: 6px; }
    .svc-card { padding: 22px 8px 14px; }
    .svc-pay em { font-size: 28px; }
    .svc-avatar { width: 56px; height: 56px; font-size: 24px; }
    .sva-badge { display: none; }
    body.corp .hero-slide--business .hero-content > *,
    body.corp .hero-slide--career .hero-content > *,
    body.corp .hero-slide--blockchain .hero-content > *,
    body.corp .hero-slide--axel .hero-content > * { max-width: none; }
}

/* ---------- 製品ボタンを画像つきタイルに（バナーと同じ絵柄） ---------- */
.pr-item.has-img { padding: 0; gap: 0; overflow: hidden; }
.pr-item.has-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; transition: transform .5s ease; }
.pr-item.has-img:hover img { transform: scale(1.05); }
.pr-item.has-img .pr-cap { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.pr-item.has-img .pr-cap b { font-family: "Inter", sans-serif; font-size: 14px; font-weight: 800; }
.pr-item.has-img .pr-cap span { font-size: 11.5px; color: #5b6577; font-weight: 700; padding-right: 26px; }
.pr-item.has-img::after { bottom: 12px; }

/* ---------- 採用欄のビフォーアフター ---------- */
.career-ba {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin: 0 0 40px;
    padding: 36px;
    border-radius: 26px;
    background: linear-gradient(120deg, #ffffff 0%, #fff4ec 100%);
    border: 1px solid #ffd2b3;
    box-shadow: 0 16px 44px rgba(20, 40, 90, .08);
}
.cba-en { margin: 0; font-family: "Inter", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .26em; color: #f36f21; }
.cba-title { margin: 8px 0 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.3; color: #0b1638; }
.cba-title span { color: #1c49c9; }
.cba-lead { margin: 14px 0 0; font-size: 15.5px; line-height: 1.9; color: #3a4456; }
.cba-perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cba-perks li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #e3e7ef; font-size: 14.5px; font-weight: 800; color: #0b1638; }
.cba-perks i { color: #1c49c9; font-size: 18px; width: 22px; text-align: center; }
.cba-perks li.hot { grid-column: 1 / -1; background: #0b1638; color: #fff; border-color: #0b1638; font-size: 16px; }
.cba-perks li.hot i { color: #ffb27a; }
.cba-perks li.hot b { font-family: "Inter", sans-serif; font-size: 1.8em; color: #ffb27a; margin: 0 4px; }
.cba-visual { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.cba-visual .svc-card { box-shadow: 0 14px 34px rgba(20, 40, 90, .12); }
@media (max-width: 1024px) { .career-ba { grid-template-columns: 1fr; padding: 26px 20px; } }
@media (max-width: 520px) { .cba-perks { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    .bc-block, .bc-link, .svc-ring { animation: none !important; }
}

/* 売上が伸びた一因 */
.nb-why { margin: 10px auto 0; display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; padding: 10px 20px; border-radius: 999px; background: #fff4ec; border: 1px solid #ffd2b3; font-size: 16px; font-weight: 700; color: #0b1638; }
.nb-why b { color: #f36f21; font-size: 1.15em; }
.nb-why small { font-size: 12px; color: #5b6577; font-weight: 700; }

/* 調整（2026-10-04）：事業スライドの地図を明るく／仲間募集の見出し／ブロックチェーンのロボット位置 */
.svb-map { background: #eef3ff; }
.svb-map::before {
    background: url("../images/world-map-final.png") center / cover no-repeat;
    filter: invert(1) hue-rotate(180deg) saturate(.6) brightness(1.02);
    opacity: .9;
}
.svb-map svg { z-index: 1; }
.svb-map .svb-target { z-index: 2; }
body.corp .hero-slide--career .hero-title { font-size: clamp(28px, 3.1vw, 44px); }
.hero:has(.hero-slide--blockchain.active) .hs-robot--chain { right: 2%; left: auto; width: min(15vw, 190px); bottom: 0; }
body.corp .hero-slide--career .hero-title { font-size: clamp(26px, 2.9vw, 40px); }
body.corp .hero-slide--career .hero-title .gradient-text { white-space: nowrap; }
@media (max-width: 768px) { body.corp .hero-slide--career .hero-title .gradient-text { white-space: normal; } }
