/* トップページ：FactorAI 5競技の脳のファーストビュー（2026-09-27・白基調） */
.ai-hero {
    --c-boat: #2563eb;
    --c-keirin: #dc2626;
    --c-keiba: #16a34a;
    --c-chiho: #ca8a04;
    --c-auto: #9333ea;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    color: var(--navy);
    padding: 72px 0 56px;
    text-align: center;
}
/* 5競技の写真（競艇・競輪・競馬・地方競馬・オート）をうっすら敷く */
.ai-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/ai-hero-bg.jpg?v=20260927') center / cover no-repeat;
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
    pointer-events: none;
}
/* 文字の下を白く抜いて読みやすく */
.ai-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 45% 40% at 28% 24%, rgba(255,255,255,0.80), rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}
.ai-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ai-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--navy);
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 18px;
    margin-bottom: 22px;
}
.ai-eyebrow span { color: #94a3b8; }
.ai-hero h1 {
    font-size: 44px;
    line-height: 1.35;
    margin: 0 0 20px;
    letter-spacing: 0.02em;
    color: var(--navy);
}
.ai-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--c-boat), var(--c-keirin), var(--c-keiba), var(--c-chiho), var(--c-auto));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ai-lead {
    max-width: 780px;
    margin: 0 auto 40px;
    color: #334155;
    font-size: 16px;
    font-weight: 500;
}

/* 5つの脳 */
.ai-brains {
    list-style: none;
    margin: 0 auto 40px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.ai-brains li { --c: #2563eb; }
.ai-brains .brain-boat   { --c: var(--c-boat); }
.ai-brains .brain-keirin { --c: var(--c-keirin); }
.ai-brains .brain-keiba  { --c: var(--c-keiba); }
.ai-brains .brain-chiho  { --c: var(--c-chiho); }
.ai-brains .brain-auto   { --c: var(--c-auto); }
.ai-brains a {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--c);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(16,35,63,0.10);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ai-brains a:hover {
    opacity: 1;
    transform: translateY(-6px);
    box-shadow: 0 14px 34px color-mix(in srgb, var(--c) 35%, transparent);
}
.ai-brains .brain-img {
    display: block;
    overflow: hidden;
    background: #000;
}
.ai-brains img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    transition: transform .4s ease;
}
.ai-brains a:hover img { transform: scale(1.06); }
.ai-brains .brain-cat {
    display: block;
    margin-top: 12px;
    font-size: 17px;
    font-weight: bold;
    color: var(--c);
}
.ai-brains .brain-name {
    display: block;
    font-size: 12px;
    color: var(--muted);
    padding-bottom: 14px;
    letter-spacing: 0.03em;
}

.ai-hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 24px; }
.ai-badges { justify-content: center; margin-bottom: 32px; }
.ai-hero .hero-badges li {
    border-color: var(--border);
    background: #fff;
    color: var(--navy);
}

/* ＡＩスペシャルキーの帯 */
.ai-key-strip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    background: #fffbeb;
    border: 2px solid #d97706;
    border-radius: 999px;
    padding: 8px 22px 8px 10px;
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    text-align: left;
    box-shadow: 0 6px 18px rgba(16,35,63,0.08);
    transition: background .2s ease;
}
.ai-key-strip:hover { opacity: 1; background: #fef3c7; }
.ai-key-strip img { width: 44px; height: auto; flex-shrink: 0; }
.ai-key-tag {
    background: #9a3412;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 999px;
    padding: 2px 10px;
    flex-shrink: 0;
}
.ai-key-text strong { color: #9a3412; margin-right: 6px; }
.ai-key-arrow { color: #9a3412; font-weight: bold; white-space: nowrap; }

@media (max-width: 1024px) {
    .ai-brains { grid-template-columns: repeat(3, 1fr); }
    .ai-hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
    .ai-hero { padding: 48px 0 40px; }
    .ai-hero h1 { font-size: 27px; }
    .ai-brains { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ai-brains li:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
    .ai-brains .brain-cat { font-size: 15px; }
    .ai-brains .brain-name { font-size: 11px; }
    .ai-hero-buttons .btn { width: 100%; }
    .ai-key-strip { border-radius: 12px; flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .ai-brains a, .ai-brains img { transition: none; }
}

/* 特報バーは黒（2026-09-27 ユーザー指示・site.css の茶色を上書き） */
.tokuho-bar { background: #0b0f17; }
.tokuho-bar:hover { background: #1e293b; }
.tokuho-label { background: #dc2626; color: #fff; box-shadow: 0 0 0 2px rgba(220,38,38,0.35), 0 0 12px rgba(220,38,38,0.6); animation: tokuho-blink 1.6s ease-in-out infinite; }
@keyframes tokuho-blink { 0%, 100% { background: #dc2626; } 50% { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.45), 0 0 18px rgba(239,68,68,0.8); } }
@media (prefers-reduced-motion: reduce) { .tokuho-label { animation: none; } }
.tokuho-arrow { color: #facc15; }

/* キャッチ「ＡＩ×自動運転＝最強」 */
.ai-catch {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 14px;
    margin: 0 0 14px;
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.02em;
    filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 6px 16px rgba(16,35,63,0.25));
}
.ai-catch .w-ai {
    background: linear-gradient(90deg, var(--c-boat), var(--c-auto));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ai-catch .w-auto { color: var(--navy); }
.ai-catch .op { color: #94a3b8; font-weight: 700; font-size: 0.75em; }
.ai-catch .w-best {
    background: linear-gradient(180deg, #f59e0b 0%, #dc2626 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-size: 1em;
    white-space: nowrap;
}
@media (max-width: 1024px) { .ai-catch { font-size: 36px; } }
@media (max-width: 640px)  { .ai-catch { font-size: 27px; gap: 0 6px; } .ai-catch .w-best { flex-basis: 100%; text-align: center; } }

/* ヘッダーのスナイパーロゴ（照準マーク） */
.brand.brand-with-logo { display: inline-flex !important; flex-direction: row; align-items: center; gap: 10px; }
.brand-with-logo .brand-text { display: block; line-height: 1.3; }
.brand-logo { display: block; width: 40px; height: 40px; flex-shrink: 0; }
@media (max-width: 640px) { .brand-logo { width: 34px; height: 34px; } }

/* キャッチの横に自動運転中の画面（2026-09-28） */
.ai-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 44px;
    text-align: left;
}
.ai-top .ai-catch { justify-content: flex-start; }
@media (min-width: 1025px) {
    .ai-top .ai-catch, .ai-top h1 { font-size: 36px; }
}
.ai-top .ai-lead { margin: 0; max-width: none; }
.ai-top-shot { margin: 0; }
.ai-top-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(16,35,63,0.28);
}
.ai-top-shot figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: #475569;
    text-align: center;
}
@media (max-width: 1024px) {
    .ai-top { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .ai-top .ai-catch { justify-content: center; }
    .ai-top .ai-lead { max-width: 780px; margin: 0 auto; }
    .ai-top-shot { max-width: 476px; margin: 0 auto; }
}

/* 製品ラインアップ：ＡＩ製品／ＡＩ以外の製品（2026-09-28） */
.lu-group {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px 28px;
    margin-top: 36px;
    background: #f8fafc;
}
.lu-group-ai {
    background: linear-gradient(180deg, #f5f3ff 0%, #f8fafc 60%);
    border-color: #ddd6fe;
    position: relative;
}
.lu-group-ai::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, #2563eb, #dc2626, #16a34a, #ca8a04, #9333ea);
}
.lu-head { text-align: center; margin-bottom: 24px; }
.lu-badge {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .1em;
    border-radius: 999px;
    padding: 5px 20px;
    margin-bottom: 10px;
}
.lu-badge-ai { background: linear-gradient(90deg, #2563eb, #9333ea); }
.lu-title { font-size: 26px; color: var(--navy); margin: 0 0 10px; }
.lu-desc { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 15px; }
.lu-campaign {
    display: inline-block;
    margin: 16px 0 0;
    background: linear-gradient(135deg, #9a1c1c 0%, #d4380d 100%);
    color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 15px;
}
.lu-campaign span {
    background: #fff; color: #9a1c1c; font-weight: bold; font-size: 12px;
    border-radius: 999px; padding: 2px 10px; margin-right: 10px;
}
.lu-campaign strong { color: #ffe066; font-size: 18px; }
.lu-sub {
    font-size: 17px;
    color: var(--navy);
    border-left: 4px solid var(--navy);
    padding-left: 10px;
    margin: 28px 0 14px;
}
.lu-grid { display: grid; gap: 20px; }
.lu-grid-ai { grid-template-columns: repeat(6, 1fr); }
.lu-grid-ai > .lu-card { grid-column: span 2; }
.lu-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lu-card { padding: 20px 18px; scroll-margin-top: 90px; }
.lu-card h3 { font-size: 18px; margin-bottom: 6px; }
.lu-card p { font-size: 14px; }
.lu-card .card-img { aspect-ratio: 16 / 10; }
.lu-ai { border-top: 4px solid var(--c); }
.lu-ai .card-tag { background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.lu-price {
    flex: 0 0 auto !important;
    margin: 10px 0 0;
    font-size: 20px !important;
    font-weight: bold;
    color: #9a3412 !important;
}
.lu-price small { font-size: 12px; font-weight: normal; color: var(--muted); }
.lu-ai .lu-price { font-size: 15px !important; }
.lu-ai .lu-price strong { font-size: 20px; color: #b91c1c; white-space: nowrap; }
.lu-ai .lu-old { font-size: 13px; }
.lu-old { text-decoration: line-through; color: var(--muted); font-weight: normal; }
.lu-btns { display: grid; gap: 8px; margin-top: 14px; }
.lu-btns .btn { margin-top: 0; width: 100%; text-align: center; }
.lu-card > .btn { text-align: center; }
.lu-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 24px;
    padding: 12px 18px;
    background: #fffbeb;
    border: 2px solid #d97706;
    border-radius: 10px;
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
}
.lu-strip:hover { opacity: 1; background: #fef3c7; }
.lu-strip strong { color: #9a3412; font-size: 16px; }
.lu-strip-tag { background: #9a3412; color: #fff; font-size: 11px; font-weight: bold; border-radius: 999px; padding: 2px 10px; }
.lu-strip-arrow { margin-left: auto; color: #9a3412; font-weight: bold; white-space: nowrap; }
@media (max-width: 1024px) {
    .lu-grid-ai, .lu-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .lu-grid-ai > .lu-card { grid-column: auto; }
}
@media (max-width: 640px) {
    .lu-group { padding: 24px 14px 18px; }
    .lu-grid-ai, .lu-grid-3 { grid-template-columns: 1fr; }
    .lu-title { font-size: 22px; }
    .lu-strip-arrow { margin-left: 0; }
}

/* 本日のＡＩ予想：製品紹介と重ならないよう、予想ページへの入口だけにする（2026-09-28） */
.yo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.yo-list a {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 5px solid var(--c);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16,35,63,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.yo-list a:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 25%, transparent); }
.yo-list img { grid-row: 1 / 4; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.yo-cat { font-weight: bold; font-size: 17px; color: var(--c); line-height: 1.3; }
.yo-name { font-size: 11px; color: var(--muted); line-height: 1.3; }
.yo-go { font-size: 13px; font-weight: bold; color: var(--navy); margin-top: 4px; }
.yo-note { text-align: center; font-size: 13px; color: var(--muted); margin: 18px 0 0; }
@media (max-width: 1024px) { .yo-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .yo-list { grid-template-columns: 1fr; } }

/* ＡＩ製品の6枠目：ＡＩスペシャルキー（ワイブキー）の説明 */
.lu-key {
    background: linear-gradient(180deg, #fffbeb 0%, #fff 70%);
    border: 2px solid #d97706;
    border-top-width: 4px;
}
.lu-key .card-tag { background: #9a3412; color: #fff; }
.lu-key-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 14px;
}
.lu-key-points {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    font-size: 13px;
    color: var(--navy);
}
.lu-key-points li { padding-left: 1.2em; position: relative; }
.lu-key-points li::before { content: "●"; position: absolute; left: 0; color: #d97706; font-size: 10px; top: 4px; }
.lu-key > .btn { margin-top: 14px; text-align: center; }
/* ＡＩ製品の枠の中に置いたＡＩスペシャルキーの大きな特報 */
.lu-keybox { margin: 28px auto 0; max-width: none; scroll-margin-top: 90px; }
/* 無料ソフトの枠 */
.lu-group-free { background: #f0fdf4; border-color: #bbf7d0; }
.lu-badge-free { background: #16a34a; }
.lu-grid-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
/* SNIPER シリーズ（手動分析）の枠・両枠にかかるマスターキーの特報 */
.lu-group-manual { background: #f8fafc; }
.lu-badge-manual { background: #475569; }
#products > .container > .lu-keybox { margin-top: 36px; }
/* 2本目のキャッチ「AI × メール ＝ 全レース、チェック」 */
.ai-catch-2 { margin-top: -6px; }
.ai-catch .w-best-2 { background: linear-gradient(180deg, #0ea5e9 0%, #16a34a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ＡＩスペシャルキーの USBキー下取り（2026-09-28） */
.shitadori-box {
    max-width: 640px;
    margin: 0 auto 22px;
    background: #fff;
    border: 2px dashed #b91c1c;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
}
.shitadori-box p { margin: 0 0 8px; color: var(--text); font-size: 15px; }
.shitadori-box .shitadori-title {
    display: inline-block;
    background: #b91c1c;
    color: #fff;
    font-weight: bold;
    border-radius: 999px;
    padding: 3px 14px;
    font-size: 15px;
}
.shitadori-box ul { margin: 0 0 8px; padding-left: 1.3em; font-size: 14px; color: var(--muted); }
.shitadori-box .shitadori-ex { margin: 0; font-weight: bold; color: var(--navy); }
.shitadori-box .shitadori-ex strong { color: #b91c1c; font-size: 20px; }
