/* =========================================================
   トップ 第4弾（2026-10-04）：画像スライド・製品レール・数字で見るラスク・
   AXel Ignition（更新）・AIエンジニア育成・グループ会社（英語表記）
   corporate-bright.css の後に読み込む
   ========================================================= */

/* ---------- 画像が切り替わるスライド ---------- */
.hero-slide--banner { padding: 0 !important; }
/* 2026-10-04 差し替え：製品タイルが切れないよう画像全体を表示し、左右はぼかした同じ画像で埋める */
.hero-banner-bg {
    position: absolute;
    inset: -30px;
    background: url("../images/hero-services-20261004.jpg") center / cover no-repeat;
    filter: blur(24px) brightness(.85);
}
.hero-banner-frame {
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: min(100%, calc((min(720px, 88vh) - 64px) * 1.7757));
    aspect-ratio: 1671 / 941;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.hero-banner-frame img { display: block; width: 100%; height: 100%; }
.hb-spot {
    position: absolute;
    border-radius: 10px;
    outline: 2px solid transparent;
    transition: outline-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.hb-spot:hover,
.hb-spot:focus-visible {
    outline-color: #ffb27a;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 4px rgba(243, 111, 33, .35);
}
.hero-banner-note {
    position: absolute;
    right: 16px;
    bottom: 12px;
    z-index: 2;
    font-size: 11px;
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
/* 画像のスライドを出している間は、宇宙・地球・ロボットを隠す */
.hero-scene { transition: opacity .8s ease; }
.hero:has(.hero-slide--banner.active) .hero-scene { opacity: 0; }
@media (max-width: 768px) {
    body.corp .hero-slide.hero-slide--banner { padding: 0; align-items: stretch; }
    .hero-banner-frame { width: 100%; top: 50%; transform: translate(-50%, -60%); }
}

/* ---------- 製品レール（ヒーロー直下） ---------- */
.product-rail {
    position: relative;
    z-index: 5;
    margin-top: -46px;
    padding-bottom: 20px;
}
.pr-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}
.pr-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 16px 14px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e3e7ef;
    box-shadow: 0 12px 30px rgba(20, 40, 90, .10);
    color: #0b1638;
    text-decoration: none;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pr-item::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    color: #fff;
    background: var(--pc, #f36f21);
}
.pr-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 40, 90, .16); border-color: var(--pc, #f36f21); }
.pr-item i { font-size: 20px; color: var(--pc, #f36f21); margin-bottom: 4px; }
.pr-item b { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .01em; }
.pr-item span { font-size: 11.5px; color: #5b6577; font-weight: 700; padding-right: 26px; line-height: 1.45; }
.pr-axel { --pc: #1c49c9; }
.pr-ignition { --pc: #f36f21; }
.pr-nexus { --pc: #1f7ae0; }
.pr-fiducia { --pc: #b8862f; }
.pr-cockpit { --pc: #0e8fa3; }
.pr-goat { --pc: #e8731a; }
.pr-pilot { --pc: #7a3fe0; }
@media (max-width: 1100px) { .pr-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .product-rail { margin-top: 16px; }
    .pr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 数字で見るラスク ---------- */
.numbers-section { background: #fff; padding: 100px 0; border-top: 1px solid #e3e7ef; }
.nb-head { text-align: center; margin-bottom: 44px; }
.nb-en { font-family: "Orbitron", "Inter", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .32em; color: #f36f21; margin: 0 0 12px; }
.nb-title { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: #0b1638; }
.nb-lead { margin: 12px 0 0; font-size: 18px; font-weight: 700; color: #1c49c9; }
.nb-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.nb-chart {
    padding: 28px 28px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f7f9fd, #ffffff);
    border: 1px solid #e3e7ef;
    box-shadow: 0 10px 34px rgba(20, 40, 90, .06);
}
.nb-chart-title { margin: 0 0 18px; font-family: "Orbitron", "Inter", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: #0b1638; }
.nb-chart-title small { display: block; margin-top: 6px; font-family: "Noto Sans JP", sans-serif; letter-spacing: 0; font-size: 12px; color: #5b6577; font-weight: 700; }
.nb-bars {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 300px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
    border-bottom: 2px solid #d8dde7;
}
.nb-bars li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.nb-bars i {
    display: block;
    width: 100%;
    max-width: 72px;
    height: calc(var(--v) / 37.6 * 230px + 6px);
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #6b8ff0, #1c49c9);
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.nb-bars li:nth-child(2) i { transition-delay: .15s; }
.nb-bars li:nth-child(3) i { transition-delay: .3s; }
.nb-bars li:nth-child(4) i { transition-delay: .45s; }
.nb-bars li:nth-child(5) i { transition-delay: .6s; }
.nb-bars li.hl i { background: linear-gradient(180deg, #ffab6b, #f36f21); }
.is-in .nb-bars i { transform: scaleY(1); }
.nb-val { font-family: "Inter", sans-serif; font-size: 16px; font-weight: 800; color: #0b1638; margin-bottom: 6px; }
.nb-bars li.hl .nb-val { font-size: 26px; color: #f36f21; }
.nb-bars b { position: absolute; bottom: -30px; font-size: 13px; color: #0b1638; }
.nb-bars small { position: absolute; bottom: -48px; font-size: 11px; color: #8a93a3; }
.nb-unit { margin: 62px 0 0; font-size: 12px; color: #5b6577; }
.nb-kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nb-kpis li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e3e7ef;
    box-shadow: 0 10px 34px rgba(20, 40, 90, .06);
}
.nb-kpis li:first-child { background: #fff4ec; border-color: #ffd2b3; }
.nb-k { font-family: "Orbitron", "Inter", sans-serif; font-size: 11px; letter-spacing: .2em; color: #f36f21; font-weight: 700; }
.nb-kpis b { margin-top: 6px; font-family: "Inter", sans-serif; font-size: clamp(36px, 4vw, 52px); font-weight: 900; line-height: 1.05; color: #0b1638; }
.nb-kpis b small { font-size: .38em; margin-left: 4px; font-family: "Noto Sans JP", sans-serif; }
.nb-kpis em { font-style: normal; margin-top: 6px; font-size: 12.5px; color: #5b6577; font-weight: 700; }
@media (max-width: 1024px) { .nb-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .numbers-section { padding: 72px 0; }
    .nb-chart { padding: 22px 14px 16px; }
    .nb-bars { gap: 8px; height: 240px; }
    .nb-bars i { height: calc(var(--v) / 37.6 * 170px + 6px); }
    .nb-val { font-size: 13px; }
    .nb-bars li.hl .nb-val { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .nb-bars i { transform: none; transition: none; } }

/* ---------- AXel Ignition（更新分） ---------- */
.ig-proof {
    margin: 28px auto 0;
    max-width: 1040px;
    padding: 22px 26px;
    border-radius: 18px;
    background: #fff;
    border: 1px dashed #f3a56f;
    text-align: center;
}
.ig-proof-en { margin: 0 0 6px; font-family: "Orbitron", "Inter", sans-serif; font-size: 12px; letter-spacing: .24em; color: #f36f21; font-weight: 700; }
.ig-proof-text { margin: 0; font-size: 16px; line-height: 1.9; color: #1b2333; }
.ig-proof-text strong { color: #f36f21; font-size: 1.1em; }
.ig-free { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.ig-free li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #e3e7ef; font-size: 14px; font-weight: 700; color: #0b1638; }
.ig-free i { color: #1e9e6a; }

/* ---------- AIエンジニア育成 ---------- */
.academy-section { background: #f5f7fb; padding: 100px 0; }
.ac-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ac-en { font-family: "Orbitron", "Inter", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .28em; color: #f36f21; margin: 0 0 12px; }
.ac-en small { font-family: "Inter", sans-serif; letter-spacing: .08em; color: #5b6577; margin-left: 6px; }
.ac-title { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 900; line-height: 1.25; color: #0b1638; }
.ac-lead { margin: 18px 0 0; font-size: 16px; line-height: 1.95; color: #5b6577; }
.ac-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.ac-points li { display: flex; gap: 14px; align-items: flex-start; }
.ac-points i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #1c49c9; color: #fff; font-size: 16px; }
.ac-points b { display: block; font-size: 16px; color: #0b1638; }
.ac-points span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.8; color: #5b6577; }
.ac-cta { margin-top: 26px; }
.ac-cases { display: grid; gap: 16px; }
.ac-cases-title { margin: 0; font-family: "Orbitron", "Inter", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: #0b1638; }
.ac-cases-title small { display: block; margin-top: 4px; font-family: "Noto Sans JP", sans-serif; letter-spacing: 0; font-size: 12px; color: #5b6577; }
.ac-case { padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid #e3e7ef; box-shadow: 0 10px 34px rgba(20, 40, 90, .07); }
.ac-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #eef3ff; color: #1c49c9; font-size: 12px; font-weight: 800; }
.ac-flow { display: flex; align-items: center; gap: 18px; margin: 12px 0 8px; }
.ac-flow div { display: flex; flex-direction: column; }
.ac-flow small { font-family: "Orbitron", sans-serif; font-size: 10px; letter-spacing: .2em; color: #8a93a3; }
.ac-flow b { font-family: "Inter", sans-serif; font-size: 30px; font-weight: 900; color: #8a93a3; line-height: 1.1; }
.ac-flow .after b { font-size: 40px; color: #f36f21; }
.ac-flow em { font-style: normal; font-size: .42em; margin-left: 2px; font-family: "Noto Sans JP", sans-serif; }
.ac-flow > i { color: #f36f21; font-size: 20px; }
.ac-case p { margin: 0; font-size: 14px; line-height: 1.75; color: #5b6577; }
.ac-note { margin: 0; font-size: 12px; color: #8a93a3; }
@media (max-width: 1024px) { .ac-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .academy-section { padding: 72px 0; } .ac-flow .after b { font-size: 32px; } }

/* ---------- グループ会社（3社・英語表記） ---------- */
.group-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-card--parent { border-top-color: #1c49c9; }
.group-card--ageha { border-top-color: #7a3fe0; }
.group-card .group-en { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .06em; color: #0b1638; }
.group-card .group-name { font-size: 14px; font-weight: 700; color: #5b6577; }
.group-role { margin: 2px 0 0; font-family: "Orbitron", "Inter", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #f36f21; }
.group-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.group-tags li { padding: 3px 10px; border-radius: 999px; background: #f5f7fb; border: 1px solid #e3e7ef; font-family: "Inter", sans-serif; font-size: 11.5px; font-weight: 700; color: #0b1638; }
@media (max-width: 1024px) { .group-grid--3 { grid-template-columns: 1fr; } }

/* ---------- 第5弾：製品8つ（画像つき）・製品レール10個 ---------- */
body.corp .products-grid--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
body.corp .product-card { padding-top: 0; overflow: hidden; }
body.corp .product-card::before { z-index: 2; }
.product-thumb {
    display: block;
    margin: 0 -22px 6px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0b1638;
}
.product-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-payroll { --pc: #1f6fe0; }
.product-pilot { --pc: #7a3fe0; }
.product-install { --pc: #1c49c9; }
.product-rollup { --pc: #d98a1c; }
@media (max-width: 1100px) { body.corp .products-grid--8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.corp .products-grid--8 { grid-template-columns: 1fr; } .product-thumb { margin: 0 -20px 6px; } }
.pr-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pr-payroll { --pc: #1f6fe0; }
.pr-install { --pc: #1c49c9; }
.pr-rollup { --pc: #d98a1c; }
@media (max-width: 1100px) { .pr-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.corp .products-grid--8 .product-card { padding: 0 22px 24px; }
body.corp .products-grid--8 .product-thumb { margin: 0 -22px 8px; }

/* ---------- お問い合わせ欄（サービス画像・製品ボタンの後） ---------- */
.contact-band { padding: 8px 0 36px; background: #fff; }
.cb-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    padding: 22px 28px;
    border-radius: 20px;
    background: linear-gradient(100deg, #fff4ec, #ffffff 60%);
    border: 1px solid #ffd2b3;
    box-shadow: 0 10px 30px rgba(20, 40, 90, .06);
}
.cb-text { flex: 1 1 260px; }
.cb-en { margin: 0; font-family: "Orbitron", "Inter", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .28em; color: #f36f21; }
.cb-title { margin: 4px 0 0; font-size: 18px; font-weight: 800; color: #0b1638; }
.cb-mail { display: inline-flex; align-items: center; gap: 10px; font-family: "Inter", sans-serif; font-size: 18px; font-weight: 800; color: #1c49c9; text-decoration: none; }
.cb-mail i { color: #f36f21; }
.cb-mail:hover { text-decoration: underline; }
@media (max-width: 640px) { .cb-inner { padding: 18px; } .cb-mail { font-size: 16px; } }
