:root {
    --bg-main: #f8fafc;
    --panel-white: rgba(255, 255, 255, 0.75);
    --prism-cyan: #00d2ff;
    --prism-orange: #ff7a00;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-light: rgba(0, 210, 255, 0.15);
}

body {
    font-family: "Yu Gothic", "Noto Sans JP", sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

/* 独自背景：光が拡散する「夜明けのプリズム」をイメージしたクリーンな発光グラデーション */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 15% 75%, rgba(255, 122, 0, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

/* 幾何学的なサイバーライトドットを薄く配置 */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(0, 210, 255, 0.04) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

section, nav, footer {
    position: relative;
    z-index: 1;
}

/* NAV */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 210, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 210, 255, 0.02);
}

.navbar-brand {
    font-weight: 900;
    color: var(--text-dark) !important;
    font-size: 28px;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    background: linear-gradient(135deg, var(--prism-cyan), var(--prism-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: #475569 !important;
    font-weight: 600;
    transition: .3s;
}

.nav-link:hover {
    color: var(--prism-cyan) !important;
}

.btn-prism-cyan{
    background: #ffffff;
    color: #111827;
    border: 2px solid #d1d5db;
}

.btn-prism-cyan:hover{
    background: #f3f4f6;
    border-color: #ff9e1b;
    color: #ff9e1b;
    transform: translateY(-2px);
}
.btn-prism-cyan{
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}


.btn-prism-orange{
    background: linear-gradient(135deg,#ff9e1b,#ff7a00);
    color: #111;
    border: none;
    font-weight: 600;
}


.btn-prism-orange:hover{
    box-shadow: 0 15px 30px rgba(255,158,27,.4);
    transform: translateY(-2px);
}
.btn-prism-orange{
    border-radius: 999px;
    padding: 10px 18px;
    transition: .2s;
}


/* HERO */
.hero {
    padding: 90px 0;
}

.hero h1 {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero h1 span {
    background: linear-gradient(135deg, #0099bc, var(--prism-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* WHITE GLASS CARD (透き通るホワイトパネル) */
.prism-card {
    background: var(--panel-white);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.04), 0 1px 3px rgba(0,0,0,0.02);
    position: relative;
}

.prism-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(to right, var(--prism-cyan), var(--prism-orange));
    border-radius: 0 0 4px 4px;
}

.nav-tabs-prism {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 25px;
}

.nav-tabs-prism .nav-link {
    border: none;
    color: var(--text-muted) !important;
    font-weight: 700;
    background: transparent !important;
    position: relative;
    padding: 10px 15px;
}

.nav-tabs-prism .nav-link.active {
    color: var(--text-dark) !important;
}

.nav-tabs-prism .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--prism-cyan), var(--prism-orange));
}

.form-control-prism {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
    padding: 12px;
    border-radius: 10px;
}

.form-control-prism:focus {
    background: #ffffff;
    border-color: var(--prism-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
    color: var(--text-dark);
}

/* LOGO ROW (導入事例ロゴ) */
.logo-row {
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(0, 210, 255, 0.08);
    border-bottom: 1px solid rgba(0, 210, 255, 0.08);
    padding: 25px 0;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-item {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #4a5568;
}

/* SECTIONS */
.section {
    padding: 95px 0;
}

.section-title-prism {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-prism h2 {
    font-weight: 900;
    font-size: 36px;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.section-title-prism .divider {
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--prism-cyan), var(--prism-orange));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* FEATURE BOX (9大機能) */
.feature-prism-box {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.01);
    transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-prism-box img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
}
.feature-prism-box:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: var(--prism-cyan);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.08);
}

.feature-icon-wrapper {
    font-size: 26px;
    margin-bottom: 12px;
}


.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    font-size: 16px;
    font-weight: 800;
    color: #0099bc;
    text-decoration: none;
}
.feature-link:hover { color: var(--prism-orange); }
.feature-category {
    display: inline-block;
    color: #0099bc;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: 10px;
}
.feature-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.feature-tag-list span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.07);
    border: 1px solid rgba(0, 210, 255, 0.12);
    color: #007792;
    font-size: 11px;
    font-weight: 700;
}

.news-more-link {
    color: var(--prism-orange);
    font-weight: 800;
    text-decoration: none;
}
.news-more-link:hover { color: #d97706; }

/* CASE CARDS */
.case-prism-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.case-prism-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* SCROLL DOCS */
.scroll-x {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
}

.scroll-x::-webkit-scrollbar {
    height: 6px;
}

.scroll-x::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.1);
    border-radius: 10px;
}

.doc-prism-card {
    min-width: 310px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    scroll-snap-align: start;
    transition: .3s;
}

.doc-prism-card:hover {
    transform: scale(1.02);
    border-color: var(--prism-cyan);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.05);
}
.scroll-x .doc-prism-card {
    width: 310px;
    flex-shrink: 0;
}

.tag-prism {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 14px;
}
.tag-o { background: #fff1f2; color: #f43f5e; border: 1px solid #ffe4e6; }
.tag-b { background: #f0fdfa; color: #0d9488; border: 1px solid #ccfbf1; }
.tag-g { background: #f0f9ff; color: #0284c7; border: 1px solid #e0f2fe; }

/* SIMULATOR */
.sim-box {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.02);
}

.sim-input-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
}

.sim-result-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}
.sim-result-card .d-flex{
    align-items: center;
}

.sim-result-card span:last-child{
    text-align: right;
    min-width: 120px;   /* 数字領域を固定 */
    white-space: nowrap;
}

.sim-big-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--prism-cyan);
}

.sim-total-number{
    font-size: 28px;
    font-weight: 800;
    color: #fbbf24;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 992px){
    .sim-total-number{
        font-size: 32px;
    }
}

/* NEWS */
.news-row-item {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
}

.news-label-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
}

/* CTA TRIAL AREA */
.trial-block {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 24px;
    padding: 55px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.03);
}

.trial-block::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.05), transparent 70%);
}

/* SYSTEM PREVIEW MOCK */
.system-preview-card {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08), 0 0 45px rgba(0, 210, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.system-preview-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(0, 210, 255, 0.12), transparent 34%),
        radial-gradient(circle at 12% 88%, rgba(255, 122, 0, 0.10), transparent 30%);
    pointer-events: none;
}

.system-preview-inner {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
}
.system-preview-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.system-preview-dots span {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-left: 6px;
    background: rgba(255, 255, 255, 0.45);
}
.system-preview-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 360px;
}
.system-preview-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 16px 12px;
}
.system-preview-menu {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    padding: 9px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.system-preview-menu.active {
    background: rgba(0, 210, 255, 0.12);
    color: #007792;
}
.system-preview-main {
    padding: 18px;
}
.system-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.system-kpi-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
}
.system-kpi-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 4px;
}
.system-kpi-number {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
}
.system-chart-area {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
}
.system-chart-bars {
    display: flex;
    align-items: end;
    gap: 12px;
    height: 115px;
}
.system-chart-bars span {
    flex: 1;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--prism-cyan), #38bdf8);
    min-height: 28px;
}
.system-table-row {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
}
.status-pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 122, 0, 0.10);
    color: var(--prism-orange);
    font-weight: 800;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 576px) {
    .system-preview-body { grid-template-columns: 1fr; }
    .system-preview-sidebar { display: none; }
    .system-kpi-grid { grid-template-columns: 1fr; }
}

/* SEO CONTENT SECTIONS */
.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.hero-keyword {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.08);
    color: #007792;
    border: 1px solid rgba(0, 210, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
}
.problem-card,
.security-card,
.flow-card,
.faq-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    padding: 26px;
    height: 100%;
    box-shadow: 0 8px 26px rgba(0, 210, 255, 0.025);
}
.problem-number,
.flow-number {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--prism-cyan), var(--prism-orange));
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 14px;
}
.security-card ul,
.faq-card ul {
    padding-left: 1.1rem;
}
.seo-lead-box {
    background: #ffffff;
    border: 1px solid rgba(0, 210, 255, 0.14);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.04);
}
.faq-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.faq-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 210, 255, 0.025);
}
.faq-accordion .accordion-button {
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 800;
    padding: 20px 24px;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.08), rgba(255, 122, 0, 0.08));
    color: var(--text-dark);
}
.faq-accordion .accordion-button:focus {
    border-color: var(--prism-cyan);
    box-shadow: 0 0 0 .2rem rgba(0, 210, 255, 0.12);
}
.faq-accordion .accordion-body {
    padding: 20px 24px 24px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 14px;
}

/* EXISTING USER NOTICE / COMPARISON */
.user-notice-card {
    background: #ffffff;
    border: 1px solid rgba(0, 210, 255, 0.16);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 12px 32px rgba(0, 210, 255, 0.04);
}
.user-notice-label {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 122, 0, 0.08);
    color: var(--prism-orange);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}
.comparison-table-wrap {
    background: #ffffff;
    border: 1px solid rgba(0, 210, 255, 0.14);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 210, 255, 0.04);
}
.comparison-table {
    margin-bottom: 0;
}
.comparison-table th {
    background: #f8fafc;
    color: var(--text-dark);
    font-size: 13px;
    white-space: nowrap;
}
.comparison-table td {
    vertical-align: middle;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}
.comparison-highlight {
    color: #007792;
    font-weight: 800;
}

/* FOOTER */
footer {
    background: #0f172a;
    padding: 55px 0;
    color: #94a3b8;
}
footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: .2s;
}
footer a:hover {
    color: white;
}

.footer-brand {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.footer-brand span {
    color: var(--prism-orange);
}
.footer-heading {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li {
    margin-bottom: 9px;
    font-size: 13px;
}
.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    margin-top: 35px;
    padding-top: 20px;
}

/* FADE ANIMATION */
.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: all .8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


/* SEO INTERNAL LINK HUB */
.feature-hub-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 24px;
    height: 100%;
    transition: .3s;
}
.feature-hub-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: var(--prism-cyan);
    box-shadow: 0 12px 28px rgba(0, 210, 255, 0.06);
}
.feature-hub-card a {
    color: #007792;
    font-weight: 800;
    text-decoration: none;
}
.feature-hub-card a:hover {
    color: var(--prism-orange);
}
.seo-support-note {
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 18px;
    padding: 24px;
}


/* ===========================
   MOBILE NAV
=========================== */
.navbar-toggler{
    border:none;
    padding:.4rem .6rem;
}
.navbar-toggler:focus{
    box-shadow:none;
}
.navbar-toggler-icon{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230f172a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width:991.98px){
    .navbar-collapse{
        margin-top:15px;
        padding:20px;
        border-radius:18px;
        background:rgba(255,255,255,.96);
        backdrop-filter:blur(20px);
        border:1px solid rgba(0,210,255,.12);
        box-shadow:0 15px 40px rgba(0,0,0,.08);
    }
    .navbar-nav{
        gap:6px;
        margin-bottom:20px;
    }
    .nav-link{
        padding:12px 15px !important;
        border-radius:10px;
    }
    .nav-link:hover{
        background:#f8fafc;
    }
    .navbar .d-flex{
        flex-direction:column;
        gap:10px !important;
    }
    .navbar .btn{
        width:100%;
    }
    .logo-img{
        max-height:26px;
    }
}

.request-modal{
    border:none;
    border-radius:24px;
    overflow:hidden;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(18px);
    box-shadow:0 20px 60px rgba(15,23,42,.18);
}

.request-header{
    background:linear-gradient(135deg,#0ea5e9,#2563eb);
    padding:28px;
    border:none;
    color:white;
}

.request-info{
    background:#eff6ff;
    color:#2563eb;
    border-left:4px solid #0ea5e9;
    padding:14px 18px;
    border-radius:12px;
    font-weight:600;
}

.request-input{
    border-radius:12px;
    min-height:48px;
    border:1px solid #dbeafe;
    transition:.25s;
}

.request-input:focus{
    border-color:#0ea5e9;
    box-shadow:0 0 0 .2rem rgba(14,165,233,.15);
}

textarea.request-input{
    min-height:140px;
}

.required{
    color:#ef4444;
    font-weight:bold;
}

.btn-request{
    background:linear-gradient(135deg,#0ea5e9,#2563eb);
    color:#fff;
    border:none;
    border-radius:12px;
    font-weight:700;
    min-width:180px;
    transition:.25s;
}

.btn-request:hover{
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(37,99,235,.25);
}

.modal.fade .modal-dialog{
    transition:.25s ease-out;
}

.modal.show .modal-dialog{
    transform:scale(1);
}

.modal.fade .modal-dialog{
    transform:scale(.95);
}

.btn-trial-glow{
    background: linear-gradient(135deg, var(--prism-cyan), #38bdf8);
    color: #fff;
    font-weight: 800;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.25);
    transition: .3s;
    position: relative;
    overflow: hidden;
}

/* 光るエフェクト */
.btn-trial-glow::before{
    content:"";
    position:absolute;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 60%);
    transform: rotate(25deg);
    opacity:0;
    transition:.4s;
}

.btn-trial-glow:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.35);
    color:#fff;
}

.btn-trial-glow:hover::before{
    opacity:1;
}

/* 導入までの流れ */
.flow-section{
    background: linear-gradient(180deg,#f6f8ff 0%, #ffffff 100%);
}

.flow-title{
    font-size: 2rem;
    letter-spacing: .05em;
}

.flow-divider{
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg,#4f46e5,#22c55e);
    border-radius: 10px;
}

.flow-card{
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s ease;
    position: relative;
}

.flow-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.flow-image{
    height: 140px;
    overflow: hidden;
}

.flow-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.flow-card:hover .flow-image img{
    transform: scale(1.1);
}

.flow-body{
    padding: 20px;
    position: relative;
}

.flow-number{
    position: absolute;
    top: -20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg,#4f46e5,#22c55e);
    color: #fff;
    font-weight: bold;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 8px 20px rgba(79,70,229,.3);
}

.flow-body h3{
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.flow-body p{
    margin-bottom: 0;
    color: #6b7280;
    font-size: .9rem;
}


.section-divider{
    position: relative;
    height: 120px;
    overflow: hidden;
}

.section-divider::before{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:900px;
    height:2px;
    background:linear-gradient(
        90deg,
        transparent,
        #3b82f6,
        #06b6d4,
        #f97316,
        transparent
    );
    box-shadow:
        0 0 20px rgba(59,130,246,.5),
        0 0 40px rgba(249,115,22,.3);
}

.section-divider::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:180px;
    height:90px;
    border-radius:50%;
    background:radial-gradient(circle,
        rgba(59,130,246,.15),
        transparent 70%);
}


.tag-prism{
    align-self: flex-start;
}
.doc-prism-card{
    display: flex;
    flex-direction: column;
    min-height: 380px;   /* お好みで調整 */
}

.doc-prism-card .btn{
    margin-top: auto;
}

.library-doc-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.scroll-x .library-doc-card {
    height: auto;
    align-self: stretch;
}

.library-doc-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    border-radius: 12px;
    flex-shrink: 0;
}

.library-doc-card .btn {
    margin-top: auto;
    flex-shrink: 0;
}

.security-card{
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.security-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(59,130,246,0.2);
}

.icon-box{
    width: 44px;
    height: 44px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 20px;
    background: linear-gradient(135deg,#eef2ff,#f0f9ff);
    border-radius: 12px;
}

.feature-list{
    list-style: none;
    padding-left: 0;
}

.feature-list li{
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.feature-list li::before{
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.doc-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 8px;
}



#loadingOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(3px);

    align-items: center;
    justify-content: center;
}

#loadingOverlay.active {
    display: flex !important;
}

.loading-content {
    min-width: 180px;
    padding: 22px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    text-align: center;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12);

    animation: loading-appear 0.2s ease-out;
}

.loading-text {
    margin-top: 12px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9e1b;

    animation: loading-pulse 1.2s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes loading-pulse {
    0%, 60%, 100% {
        transform: scale(0.65);
        opacity: 0.35;
    }

    30% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes loading-appear {
    from {
        opacity: 0;
        transform: translateY(5px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
}



#loadingOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(3px);

    align-items: center;
    justify-content: center;
}

#loadingOverlay.active {
    display: flex !important;
}

.loading-content {
    min-width: 180px;
    padding: 22px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    text-align: center;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12);

    animation: loading-appear 0.2s ease-out;
}

.loading-text {
    margin-top: 12px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9e1b;

    animation: loading-pulse 1.2s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes loading-pulse {
    0%, 60%, 100% {
        transform: scale(0.65);
        opacity: 0.35;
    }

    30% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes loading-appear {
    from {
        opacity: 0;
        transform: translateY(5px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===========================
   CASE STUDY CARDS
   導入事例カードのサイズを統一
=========================== */

.case-study-card {
    height: 520px;
    display: flex;
    flex-direction: column;
}

.case-study-card > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-study-image {
    flex-shrink: 0;
}

.case-study-card .p-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-card .p-1 p {
    overflow: hidden;
}

.case-study-card .p-1 p:nth-child(1) {
    min-height: 48px;
}

.case-study-card .p-1 p:nth-child(2) {
    min-height: 72px;
}

.case-study-card .p-1 p:nth-child(3) {
    min-height: 38px;
}

.case-study-logo {
    flex-shrink: 0;
}

.case-study-card > div > a {
    margin-top: auto;
    flex-shrink: 0;
}