/* =========================================================
   トップ 第11弾（2026-10-04）：AI駆動開発のスライド（小規模開発大歓迎）
   ========================================================= */
.hero:has(.hero-slide--dev.active) .hero-scene { opacity: 0; }

.sv--dev { width: min(50%, 640px); }
.svd-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 26px 22px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid #e3e7ef;
    box-shadow: 0 24px 60px rgba(20, 40, 90, .16);
}
.svd-col { text-align: center; }
.svd-col small { display: block; font-size: 13px; font-weight: 900; color: #5b6577; }
.svd-col b { display: block; margin: 4px 0; font-family: "Inter", sans-serif; font-size: clamp(30px, 3.2vw, 46px); font-weight: 900; line-height: 1.1; }
.svd-col b em { font-style: normal; font-size: .4em; margin-left: 2px; font-family: "Noto Sans JP", sans-serif; }
.svd-col span { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 900; }
.svd-before b { color: #9aa3b2; text-decoration: line-through; text-decoration-color: rgba(255, 90, 90, .7); text-decoration-thickness: 3px; }
.svd-before span { background: #eef1f6; color: #8a93a3; }
.svd-after small { color: #1c49c9; }
.svd-after b { color: #f36f21; }
.svd-after span { background: #fff1e6; color: #f36f21; }
.svd-core {
    position: relative;
    width: clamp(86px, 9vw, 116px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, #ffffff, #cfe0ff 40%, #1c49c9 100%);
    box-shadow: 0 0 0 8px rgba(28, 73, 201, .12), 0 0 40px 10px rgba(80, 140, 255, .35);
}
.svd-core b { font-family: "Inter", sans-serif; font-size: clamp(28px, 3vw, 40px); font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.svd-core small { font-family: "Inter", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: #e6eeff; }
.svd-ring { position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed rgba(28, 73, 201, .45); animation: igo-spin 12s linear infinite; }
.svd-rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.svd-rows li {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto minmax(0, 1.3fr);
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid #e3e7ef;
    box-shadow: 0 6px 16px rgba(20, 40, 90, .06);
    font-size: 13px;
}
.svd-rows span { font-weight: 900; color: #1c49c9; }
.svd-rows s { color: #9aa3b2; font-weight: 700; }
.svd-rows i { color: #f36f21; }
.svd-rows b { color: #0b1638; font-weight: 900; }
.svd-note { margin: 8px 0 0; font-size: 11px; color: #8a93a3; text-align: right; }
body.corp .hero-slide--dev .hero-content > * { max-width: min(500px, 44vw); }
@media (max-width: 768px) {
    .sv--dev { width: calc(100% - 32px); }
    .svd-rows { display: none; }
    body.corp .hero-slide--dev .hero-content > * { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .svd-ring { animation: none; } }
.svd-core { background: radial-gradient(circle at 35% 30%, #6f9bff 0%, #2453d6 45%, #0b1f6b 100%); }

/* 請負（AI駆動システム開発）を事業の柱に（2026-10-04） */
body.corp .business-card--pillar { border: 2px solid #f36f21; background: linear-gradient(180deg, #fff6ef, #ffffff 60%); }
body.corp .business-card--pillar .card-description strong { color: #f36f21; }
body.corp .business-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.svb-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.svb-cards li.pillar { border-top-color: #f36f21; background: #fff6ef; }
@media (max-width: 768px) { .svb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-rescue { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 22px; padding: 8px 14px; border-radius: 12px; background: #fff1e6; border: 1px solid #ffd2b3; font-size: 14px; font-weight: 900; color: #c2410c; }
.hero-rescue i { color: #f36f21; }
.cb-sub { margin: 6px 0 0; font-size: 14px; font-weight: 800; color: #c2410c; }
.cb-sub i { color: #f36f21; margin-right: 6px; }

/* RSK AI EVOLVE のスライド（画像全体を表示） */
.hero-slide--evolve { padding: 0 !important; }
.hero-banner-bg--evolve { background-image: url("../images/rsk-ai-evolve-20261004.jpg?v=2"); }
.hero-banner-frame--evolve { display: block; aspect-ratio: 1536 / 1024; width: min(100%, calc((min(720px, 88vh) - 64px) * 1.5)); }
.hero:has(.hero-slide--evolve.active) .hero-scene { opacity: 0; }
@media (max-width: 768px) { .hero-banner-frame--evolve { width: 100%; top: 50%; transform: translate(-50%, -60%); } }

/* RSK AI Rapid / RSK AI EVOLVE（2026-10-04） */
.hero-slide--rapid { padding: 0 !important; }
.hero-banner-bg--rapid { background-image: url("../images/rsk-ai-evolve-dev-20261004.jpg"); }
.hero:has(.hero-slide--rapid.active) .hero-scene { opacity: 0; }
.product-rapid, .pr-rapid { --pc: #e8501a; }
.product-evolve, .pr-evolve { --pc: #1c49c9; }
.pr-list { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pr-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hero-slide--careerimg { padding: 0 !important; }
.hero-banner-bg--careerimg { background-image: url("../images/ai-engineer-career-20261004b.jpg"); }
.hero-banner-frame--careerimg { display: block; aspect-ratio: 1312 / 1199; width: min(100%, calc((min(720px, 88vh) - 64px) * 1.094)); }
.hero:has(.hero-slide--careerimg.active) .hero-scene { opacity: 0; }
@media (max-width: 768px) { .hero-banner-frame--careerimg { width: 100%; top: 50%; transform: translate(-50%, -55%); } }

.mb-feature { margin: -10px auto 22px; max-width: 900px; text-align: center; font-size: 15px; line-height: 1.9; color: #1b2333; }
.mb-feature b { color: #0b1638; }
.mb-feature span { display: block; }
.mb-feature strong { color: #9c7416; }
.mb-feature a { color: #f36f21; font-weight: 800; }
.ig-adopt { margin: 28px auto 0; max-width: 820px; padding: 14px 20px; border-radius: 14px; text-align: center; font-size: 16px; font-weight: 900; color: #0b1638; background: linear-gradient(135deg, #fffaf0, #fff3d6); border: 1px solid #e8cf8a; }
.ig-adopt i { color: #c9a227; margin-right: 8px; }
.mb-link{display:flex;flex-direction:column;align-items:center;gap:4px;color:inherit;text-decoration:none}

/* 代表の名前をレインボーで大きく太く（2026-10-04） */
body.corp .ceo-name-large {
    font-size: clamp(40px, 5vw, 60px) !important;
    font-weight: 900 !important;
    letter-spacing: .06em;
    line-height: 1.2;
    background: linear-gradient(90deg, #ff3b3b, #ff8a00, #ffd400, #3ccf4e, #00b8ff, #3b5bff, #a54bff, #ff3dc8) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: ceo-rainbow 6s linear infinite;
}
@keyframes ceo-rainbow { to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { body.corp .ceo-name-large { animation: none; } }
body.corp .ceo-name-large { background-size: 100% 100% !important; animation: ceo-hue 8s linear infinite; }
@keyframes ceo-hue { to { filter: hue-rotate(360deg); } }

/* 主要取引先：社名を統一したワードマークで（2026-10-04）。正式なロゴの提供を受けたら <img> に差し替える */
body.corp .clients-band { background: #f7f8fb; }
body.corp .cl-list--marks { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px solid #e3e7ef; border-left: 1px solid #e3e7ef; background: #fff; }
body.corp .cl-list--marks .cl-card { border: 0; border-right: 1px solid #e3e7ef; border-bottom: 1px solid #e3e7ef; border-radius: 0; min-height: 120px; gap: 10px; filter: none; transition: background .3s ease; }
body.corp .cl-list--marks .cl-card:hover { background: #fbfaf5; transform: none; box-shadow: none; }
.cl-mark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.cl-mark b { font-family: "Inter", sans-serif; font-size: 22px; font-weight: 900; letter-spacing: .06em; color: #4a5263; transition: color .3s ease; }
.cl-mark em { margin-top: 5px; font-style: normal; font-family: "Inter", sans-serif; font-size: 9.5px; font-weight: 800; letter-spacing: .3em; color: #9aa3b2; }
.cl-card:hover .cl-mark b { color: #0b1638; }
body.corp .cl-list--marks small { font-size: 10.5px; color: #8a93a3; line-height: 1.5; }
body.corp .cl-list--marks { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cl-mark b { white-space: nowrap; font-size: clamp(16px, 1.5vw, 22px); }
@media (max-width: 1100px) { body.corp .cl-list--marks { grid-template-columns: repeat(4, minmax(0, 1fr)); } body.corp .cl-list--marks .cl-card:last-child { grid-column: span 2; } }
@media (max-width: 640px) { body.corp .cl-list--marks { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.corp .cl-list--marks .cl-card:last-child { grid-column: span 2; } }
