@charset "UTF-8";

:root {
    --primary: #0a2540;
    --primary-light: #2c4d75;
    --primary-dark: #0f172a;
    --accent: #d97706;
    --accent-light: #fbbf24;
    --accent-hover: #b45309;
    --text-main: #1f2937;
    --text-sub: #4b5563;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-base: 'Noto Sans JP', sans-serif;
    --font-en: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.text-blue {
    color: #2563eb;
}

.text-red {
    color: #dc2626;
}

.no-deco {
    text-decoration: none;
}

.object-cover {
    object-fit: cover;
}

.bg-gray {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-dark {
    background-color: var(--primary);
    color: white;
}

.sp-only {
    display: none;
}

.relative-z {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .section-padding {
        padding: 60px 0;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--bg-light);
}

.btn-white {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-white:hover {
    background: var(--bg-light);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.2rem;
    border-radius: 50px;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: white;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4);
}

.w-100 {
    width: 100%;
}

.shadow-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

.btn-header-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-sm-detail {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    cursor: pointer;
}

.btn-sm-detail:hover {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.floating-cta-wrap {
    transition: opacity 0.3s, transform 0.3s;
}

.fixed-cta-pos {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-floating-cta {
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.5);
    text-decoration: none;
}

.floating-cta-wrap .btn {
    animation: floating-bounce 3s infinite ease-in-out;
}

@keyframes floating-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .fixed-cta-pos {
        right: 15px !important;
        bottom: 15px !important;
    }

    .btn-floating-cta {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jbca-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    text-decoration: none;
}

.logo-jp {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

.logo-en {
    font-size: 0.7rem;
    color: #666;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    display: flex;
    gap: 25px;
    margin-right: 10px;
}

.nav-list li a {
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 0.9rem;
    color: #333;
    letter-spacing: 0.05em;
}

.nav-list li a:hover {
    color: #0056b3;
}

.btn-jbca-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 10px 25px;
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-jbca-contact:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
}

.hero {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--primary-dark);
    background: radial-gradient(circle at 70% 30%, #1e293b 0%, var(--primary-dark) 70%);
    color: white;
    overflow: visible;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.hero-glow-effect {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-badge-row {
    margin-bottom: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.trust-badge.gold-badge {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.trust-badge.dark-trans {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.trust-badge .small-note {
    font-size: 0.7em;
    opacity: 0.8;
    margin-left: 3px;
    font-weight: 400;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.25;
    font-weight: 900;
    margin-bottom: 25px;
    color: white;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-lead {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-lead strong {
    color: white;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
}

.lead-sub {
    display: block;
    margin-top: 15px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tel-cta-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tel-cta-hero span {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2px;
    opacity: 0.8;
}

.tel-link.text-white {
    color: white !important;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    transition: 0.3s;
}

.tel-link.text-white:hover {
    color: var(--accent) !important;
    transform: scale(1.02);
}

.hero-note-sm {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 10px;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-visual:hover .device-mockup-wrap {
    transform: rotateY(0deg) rotateX(0deg);
}

.device-mockup-wrap {
    position: relative;
    width: 100%;
    z-index: 1;
    transform: rotateY(-15deg) rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.main-device {
    background: #1e293b;
    border-radius: 12px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.device-img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.95;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
    transform: translateZ(30px);
    animation: float-y 4s ease-in-out infinite;
}

.card-top-right {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.card-bottom-left {
    bottom: -30px;
    left: -40px;
    animation-delay: 2s;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.icon-box.check {
    background: #10b981;
}

.icon-box.chart {
    background: #3b82f6;
}

.card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.card-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
}

.card-val {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 900;
    white-space: nowrap;
}

.floating-mobile-img {
    position: absolute;
    bottom: -50px;
    right: 10px;
    width: 140px;
    height: auto;
    z-index: 15;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transform: translateZ(50px) rotate(-5deg);
    transition: transform 0.3s ease;
}

@keyframes float-y {
    0%, 100% {
        transform: translateZ(30px) translateY(0);
    }
    50% {
        transform: translateZ(30px) translateY(-10px);
    }
}

.logo-ticker-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0 40px;
    overflow: hidden;
}

.ticker-label {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.logo-ticker {
    display: flex;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
    display: flex;
    gap: 80px;
    animation: scroll 40s linear infinite;
    padding-left: 80px;
    align-items: center;
}

.ticker-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.mission-section {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.mission-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.mission-sub {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 50px;
    display: inline-block;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 5px;
}

.mission-body p {
    font-size: 1.05rem;
    line-height: 2.2;
    margin-bottom: 30px;
    font-feature-settings: "palt";
}

.mission-body p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

.mission-body strong {
    color: var(--accent-light);
    font-size: 1.2rem;
    background: linear-gradient(transparent 70%, rgba(251, 191, 36, 0.2) 70%);
}

.problems {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 30px 30px;
}

.problems-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(203, 213, 225, 0.25);
    font-family: var(--font-en);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.section-head {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.tag-line {
    display: block;
    font-family: var(--font-en);
    color: var(--text-sub);
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.4;
}

.section-title2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.4;
}

.text-highlight {
    background: linear-gradient(transparent 65%, #fde047 65%);
    padding: 0 4px;
}

.section-lead {
    margin-top: 25px;
    font-size: 1.1rem;
    color: var(--text-sub);
    line-height: 1.8;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
    counter-reset: problem-count;
}

.problem-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-decoration {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: 0.3s;
}

.problem-card:hover .card-decoration {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    height: 8px;
}

.problem-card::before {
    counter-increment: problem-count;
    content: counter(problem-count, decimal-leading-zero);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    font-weight: 900;
    color: #f1f5f9;
    font-family: var(--font-en);
    line-height: 1;
    z-index: 0;
    transition: 0.4s;
}

.problem-card:hover::before {
    color: #fff7ed;
    transform: scale(1.1);
}

.p-icon-wrapper {
    position: relative;
    z-index: 1;
    margin: 40px 30px 10px;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: 0.4s;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 6px rgba(0,0,0,0.05);
}

.problem-card:hover .p-icon-wrapper {
    background: linear-gradient(135deg, var(--accent) 0%, #b45309 100%);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.card-body {
    padding: 10px 30px 40px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.problem-card h3 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--primary);
    transition: 0.3s;
}

.problem-card:hover h3 {
    color: var(--accent);
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin-top: auto;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .use-case-grid {
        justify-content: center;
    }
}

.use-case-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.use-case-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.use-case-card:hover::after {
    transform: scaleX(1);
}

.uc-icon {
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: 0.3s;
}

.use-case-card:hover .uc-icon {
    background: var(--primary);
    color: #fff;
}

.uc-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-main);
    flex: 1;
}

.comparison-table-wrapper {
    margin-top: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    background: 
        linear-gradient(to right, white 30%, rgba(255,255,255,0)),
        linear-gradient(to right, rgba(255,255,255,0), white 70%) 0 100%,
        radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.1), rgba(0,0,0,0)),
        radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.1), rgba(0,0,0,0)) 0 100%;
    background-repeat: no-repeat;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: #f8fafc;
    color: var(--primary);
    font-weight: 900;
}

.comparison-table th.highlight {
    background: var(--primary);
    color: white;
    font-size: 1.1rem;
}

.comparison-table .item-name {
    text-align: left;
    font-weight: 700;
    background: #f8fafc;
    width: 220px;
}

.comparison-table .item-name small {
    font-weight: normal;
    font-size: 0.75rem;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

.comparison-table .highlight-cell {
    background: #fffbeb;
    color: var(--accent);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-img,
.feature-text {
    flex: 1;
}

.f-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.f-label.color-1 {
    background: #2563eb;
}

.f-label.color-2 {
    background: #059669;
}

.f-label.color-3 {
    background: #7c3aed;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--primary);
}

.feature-text p {
    margin-bottom: 25px;
    color: var(--text-sub);
}

.img-placeholder {
    width: 100%;
    height: 350px;
    background: #e2e8f0;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.control-ui {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.chat-ui-container {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    position: relative;
}

.chat-msg.left {
    align-self: flex-start;
}

.chat-msg.right {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chat-msg.left .chat-bubble {
    background: white;
    border-bottom-left-radius: 2px;
    color: #1f2937;
}

.chat-msg.right .chat-bubble {
    background: var(--primary);
    border-bottom-right-radius: 2px;
    color: white;
}

.chat-meta {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 4px;
}

.ai-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--primary);
    border-radius: 12px;
    width: fit-content;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 12px;
}

.ai-dot {
    width: 6px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.ai-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.ai-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.edu-ui {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.doc-stack {
    position: relative;
    width: 180px;
    height: 220px;
}

.doc-paper {
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid #cbd5e1;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: var(--shadow-md);
    padding: 20px;
}

.doc-paper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 5px;
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid #cbd5e1;
    z-index: -1;
}

.doc-lines {
    height: 10px;
    background: #f1f5f9;
    margin-bottom: 10px;
    width: 100%;
}

.doc-stamp {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 3px solid #dc2626;
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transform: rotate(-15deg);
    opacity: 0.8;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
}

.doc-label {
    position: absolute;
    bottom: -40px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
}

.money-ui {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.calc-ui {
    background: white;
    width: 80%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    font-family: monospace;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #64748b;
}

.calc-total {
    display: flex;
    justify-content: space-between;
    border-top: 2px dashed #cbd5e1;
    padding-top: 10px;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary);
}

.chart-flex-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.workload-item {
    width: 100%;
}

.workload-label {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.workload-label::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.2em;
    background: var(--accent);
}

.bar-chart-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-name {
    width: 60px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-sub);
}

.bar-track {
    flex: 1;
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-fill.before {
    background: #cbd5e1;
}

.bar-fill.after {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.bar-num {
    width: 50px;
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 1rem;
    color: var(--text-sub);
    text-align: right;
}

.bar-num.accent {
    color: var(--accent);
    font-size: 1.2rem;
}

.workload-note {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-top: 5px;
    padding-left: 75px;
}

.evidence-box {
    margin-top: 40px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.evidence-header {
    background: #f1f5f9;
    padding: 15px 20px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.toggle-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evidence-header:hover {
    background-color: #e2e8f0;
}

.evidence-body {
    padding: 25px;
    gap: 40px;
    background: #fff;
    display: none;
}

.evidence-col {
    flex: 1;
}

.evidence-col h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.evidence-col h4 i {
    color: var(--accent);
}

.evidence-col ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.8;
}

.evidence-col p {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 8px;
    line-height: 1.6;
}

.roi-stats-section {
    background: white;
}

.stats-target {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-light);
    margin: 15px 0 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: #f8fafc;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.stat-value {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-value .unit {
    font-size: 1.5rem;
    margin-left: 5px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 15px;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-desc {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.stats-note {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.diagram-section {
    padding: 80px 0;
    overflow-x: hidden;
}

.diagram-board {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.diagram-board::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, #e2e8f0 1px, transparent 1px), linear-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.diagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 30px;
    position: relative;
    z-index: 1;
    min-width: 800px;
}

.d-node {
    padding: 15px 10px;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    position: relative;
    z-index: 2;
}

.d-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.d-node-red {
    background: #ef4444;
}

.d-node-blue {
    background: #3b82f6;
}

.d-node-blue-light {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.d-node-orange {
    background: #f97316;
}

.d-node-purple {
    background: #a855f7;
}

.d-node-green {
    background: #10b981;
}

.area-order {
    grid-column: 1;
    grid-row: 1;
}

.area-leave {
    grid-column: 1;
    grid-row: 2;
}

.area-auto {
    grid-column: 1;
    grid-row: 3;
}

.area-send {
    grid-column: 1;
    grid-row: 4;
}

.area-workdata {
    grid-column: 2;
    grid-row: 1;
}

.area-report {
    grid-column: 2;
    grid-row: 2;
}

.area-contact {
    grid-column: 2;
    grid-row: 3;
}

.area-shift {
    grid-column: 2;
    grid-row: 4;
}

.area-invoice {
    grid-column: 3;
    grid-row: 1;
}

.area-payroll {
    grid-column: 3;
    grid-row: 2;
}

.area-daily {
    grid-column: 3;
    grid-row: 3;
}

.area-payment {
    grid-column: 4;
    grid-row: 1;
}

.area-ledger {
    grid-column: 4;
    grid-row: 2;
}

.area-yearend {
    grid-column: 4;
    grid-row: 3;
}

.area-mgmt {
    grid-column: 5;
    grid-row: 1;
}

.area-docs {
    grid-column: 5;
    grid-row: 2;
    width: 100%;
    justify-self: auto;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pro-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    transition: 0.4s;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.pro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pro-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.pro-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.pro-title-group h3 {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.2;
}

.pro-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 5px;
    letter-spacing: 0.05em;
}

.pro-catch {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.pro-feature-list {
    list-style: none;
    margin-bottom: 25px;
    flex: 1;
}

.pro-feature-list li {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.pro-feature-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
}

.pro-card.core {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom right, #fff, #f0f9ff);
}

.pro-card.core .pro-icon-box {
    background: var(--primary);
    color: white;
}

.pro-card.core .pro-tag {
    background: #e0f2fe;
    color: var(--primary);
}

.pro-card.option-1 .pro-icon-box {
    background: #fff7ed;
    color: var(--accent);
}

.pro-card.option-1 .pro-tag {
    background: #ffedd5;
    color: var(--accent);
}

.pro-card.option-2 .pro-icon-box {
    background: #ecfdf5;
    color: #059669;
}

.pro-card.option-2 .pro-tag {
    background: #d1fae5;
    color: #059669;
}

.cases-grid.three-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #e2e8f0;
}

.img-fill {
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

.case-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    z-index: 10;
}

.case-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-company {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 10px;
}

.case-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--primary);
}

.case-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.7;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.support-item {
    background: rgba(255,255,255,0.05);
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: 0.3s;
}

.support-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
}

.support-item p {
    text-align: left !important;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
}

.s-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), #b45309);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.support-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 40px;
}

.flow-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12%;
    width: 76%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.step-num {
    font-family: var(--font-en);
    color: var(--accent);
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    transition: 0.3s;
}

.flow-step:hover .step-icon {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.flow-step h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.diagnosis-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

.diagnosis-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.diag-group {
    margin-bottom: 40px;
}

.diag-label {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    border-left: 5px solid var(--accent);
    padding-left: 15px;
}

.range-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

input[type=range] {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
    appearance: none;
}

input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 0 4px rgba(217,119,6,0.2);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.range-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    width: 100px;
    text-align: right;
    font-family: var(--font-en);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.checkbox-grid.small-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.check-box input {
    display: none;
}

.check-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%;
    padding: 25px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 700;
    text-align: center;
    color: #64748b;
}

.check-content.sm-padding {
    padding: 15px;
    gap: 10px;
    font-size: 0.95rem;
}

.check-content i {
    font-size: 2rem;
    color: #cbd5e1;
    transition: 0.3s;
}

.check-box input:checked + .check-content {
    border-color: var(--accent);
    background: #fffbeb;
    color: var(--accent-hover);
    box-shadow: var(--shadow-md);
}

.check-box input:checked + .check-content i {
    color: var(--accent);
}

.check-content small {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.8;
}

.radio-tile-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-tile-group.three-col .input-container {
    flex: 1;
    min-width: 120px;
}

.input-container {
    position: relative;
    display: block;
    height: 100%;
    cursor: pointer;
}

.input-container input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.radio-tile i {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.radio-tile span {
    color: #64748b;
    font-weight: 700;
    font-size: 0.9rem;
}

.tile-note {
    margin-top: 5px;
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
}

.input-container input:checked + .radio-tile {
    background-color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 6px rgba(217,119,6,0.2);
}

.input-container input:checked + .radio-tile i,
.input-container input:checked + .radio-tile span {
    color: var(--accent);
}

.diagnosis-result {
    margin-top: 50px;
    background: var(--primary);
    color: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.diagnosis-result::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.result-header {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 8px 30px;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    font-size: 1.4rem;
}

.result-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    text-align: left;
}

.res-sub-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 10px;
    font-weight: 700;
}

.result-left {
    border-right: 1px solid rgba(255,255,255,0.15);
    padding-right: 30px;
}

.result-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.plan-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.p-badge {
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.p-kansei {
    background: #3b82f6;
    color: white;
}

.p-edu {
    background: #10b981;
    color: white;
}

.p-keibi {
    background: #8b5cf6;
    color: white;
}

.plan-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.plan-desc-highlight {
    font-weight: 700;
    color: var(--accent-light);
}

.metric-box .metric-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.metric-val {
    font-family: var(--font-en);
    font-weight: 900;
    line-height: 1;
}

.metric-val.text-gold {
    color: var(--accent-light);
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.metric-val.text-white {
    color: white;
    font-size: 2.2rem;
}

.metric-val .unit {
    font-size: 1rem;
    margin-left: 5px;
    opacity: 0.8;
    font-weight: 700;
}

.yen {
    font-size: 1.8rem;
    vertical-align: super;
    margin-right: 5px;
}

.profit-visual {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: left;
}

.pv-header {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
}

.pv-header #pv-count {
    color: var(--accent-light);
    font-size: 1.2rem;
    margin: 0 4px;
}

.pv-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
    max-height: 100px;
    overflow-y: auto;
    padding: 5px 0;
}

.pv-icon {
    color: var(--accent-light);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.pv-note {
    font-size: 0.7rem;
    opacity: 0.6;
}

.solution-area {
    margin-bottom: 25px;
    text-align: left;
}

.res-sub-label-light {
    color: #fff;
    margin-bottom: 10px;
    opacity: 0.8;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.diagnosis-push-box {
    border-left: 5px solid var(--accent);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.diagnosis-push-box:hover {
    background: rgba(255,255,255,0.15);
}

.advice-box-custom {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: left;
    font-size: 0.95rem;
    border-left: 5px solid var(--accent);
}

.result-action-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-action-main {
    flex: 2;
    min-width: 280px;
}

.btn-action-sub {
    flex: 1;
    min-width: 280px;
    border: 2px solid var(--accent);
    color: var(--accent);
    background: white;
}

.reliability-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.source-data {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.text-bold {
    font-weight: 700;
    color: var(--accent-light);
    text-decoration: underline;
}

.btn-text {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    padding: 8px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.calc-details-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeIn 0.5s ease;
    display: none;
}

.calc-row-logic h4 {
    font-size: 1rem;
    color: var(--accent-light);
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.logic-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.invisible-cost-chart {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.cost-bar {
    display: flex;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    line-height: 1.2;
}

.cb-visible {
    width: 35%;
    background: #cbd5e1;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-invisible {
    width: 65%;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    white-space: nowrap;
}

.cb-invisible span {
    padding: 0 4px;
}

.cost-caption {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.5;
    color: #e2e8f0;
}

.calc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 25px 0;
}

.formula-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary);
    padding: 20px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.f-item {
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.3;
    padding: 0 5px;
}

.f-item small {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
    font-weight: normal;
    margin-top: 2px;
}

.f-ope {
    font-weight: 900;
    color: var(--accent);
    font-size: 1.4rem;
    margin: 0 5px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: 0.3s;
    color: var(--primary);
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: 0.3s;
    color: #64748b;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    background: var(--accent);
    color: white;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.faq-answer-inner {
    padding: 20px 25px;
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.7;
}

.q-mark {
    color: var(--accent);
    margin-right: 10px;
    font-weight: 900;
}

.cta-section {
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #1e3a8a 0%, var(--primary-dark) 70%);
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-head {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-tel-box {
    border: 2px solid rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    text-align: left;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.cta-tel-box:hover {
    border-color: var(--accent) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.tel-num-block {
    display: block;
    margin: 10px 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: white;
    transition: 0.3s;
}

.tel-num-block:hover {
    color: var(--accent-light);
    text-decoration: none;
}

.tel-label,
.tel-time {
    font-size: 0.85rem;
    opacity: 0.8;
}

.tel-time i {
    margin-right: 5px;
    color: var(--accent);
}

.jbca-footer {
    background: #020617;
    color: #cbd5e1;
    padding: 60px 0 30px;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-links-row {
    display: flex;
    gap: 30px;
}

.footer-links-row a {
    color: #cbd5e1;
    font-size: 0.9rem;
    position: relative;
}

.footer-links-row a:hover {
    color: white;
}

.copyright {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
    font-family: var(--font-en);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

.modal-head {
    text-align: center;
    margin-bottom: 30px;
}

.form-item {
    margin-bottom: 20px;
}

.form-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 0.9rem;
}

.req {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s;
}

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

.fade-right {
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.8s;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(20px);
    transition: 0.8s;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .header {
        height: 70px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 30px;
        padding: 0 10px;
        transform: none;
        width: 100%;
        max-width: 500px;
    }

    .device-mockup-wrap {
        transform: none;
        margin: 0 auto;
    }

    .main-device {
        box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
    }

    .trust-badge-row {
        justify-content: center;
    }

    .floating-card {
        padding: 8px 15px;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none !important;
        animation: none;
        display: inline-flex;
        margin: 10px 5px;
        background: rgba(255,255,255,0.9);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .card-top-right,
    .card-bottom-left {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .floating-mobile-img {
        display: none;
    }

    .cases-grid.three-col {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-block {
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
        margin-bottom: 60px;
    }

    .img-placeholder {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 50px auto 0;
    }

    .result-grid-new {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .result-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .metric-val.text-gold {
        font-size: 2.5rem;
    }

    .diagnosis-wrapper {
        padding: 30px 20px;
    }

    .flow-steps {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 400px;
        margin: 40px auto 0;
    }

    .flow-steps::before {
        width: 2px;
        height: 80%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-info {
        align-items: center;
    }

    .footer-links-row {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 30px;
    }

    .cta-tel-box {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-title2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .chart-flex-container {
        padding: 30px 20px;
    }

    .bar-name {
        width: 50px;
        font-size: 0.75rem;
    }

    .workload-note {
        padding-left: 0;
        margin-top: 10px;
    }

    .evidence-body {
        flex-direction: column;
        gap: 20px;
    }

    .comparison-table-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        padding-left: 20px;
        padding-right: 20px;
    }

    .diagram-board {
        padding: 20px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        border-radius: 0;
    }

    .diagram-grid {
        min-width: 700px;
        transform: scale(0.9);
        transform-origin: top left;
    }

    .problems-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 40px auto 0;
    }

    .diagnosis-result .result-action-group {
        flex-direction: column;
    }

    .diagnosis-result .result-action-group .btn-xl {
        font-size: 1rem;
        padding: 15px;
        width: 100%;
    }

    .diagnosis-form .radio-tile-group {
        flex-direction: column;
    }

    .modal-content {
        padding: 25px;
        width: 95%;
    }

    .close-btn {
        top: 10px;
        right: 15px;
    }
}

.result-action-group .btn {
    white-space: nowrap;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 480px) {
    .cost-bar {
        font-size: 0.65rem;
    }

    .cb-invisible {
        flex-direction: column;
        justify-content: center;
        line-height: 1.1;
        padding: 2px 0;
    }

    .formula-box {
        flex-direction: column;
        gap: 15px;
    }

    .f-ope {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .btn-xl {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }

    .header-cta-jbca {
        display: none;
    }
}

.mission-body {
    text-align: justify;
    text-justify: inter-ideograph;
    max-width: 740px;
    margin: 0 auto;
}

.mission-body p {
    text-align: justify;
    text-justify: inter-ideograph;
}

.sol-hero {
    position: relative;
    padding: 180px 0 100px;
    background: #f8fafc;
    overflow: hidden;
}

.sol-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, #eff6ff 0%, #f8fafc 60%);
    z-index: 0;
}

.sol-hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 20px;
    font-weight: 700;
}

.back-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.sol-tag {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.sol-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--primary);
}

.sol-lead {
    font-size: 1.1rem;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 35px;
}

.sol-hero-visual {
    position: relative;
    perspective: 1000px;
}

.mockup-layered {
    position: relative;
    width: 320px;
    height: 500px;
    margin: 0 auto;
    transform: rotateY(-10deg);
    transform-style: preserve-3d;
}

.mockup-back {
    position: absolute;
    inset: 10px -10px -10px 10px;
    border-radius: 30px;
    background: var(--accent);
    opacity: 0.2;
    transform: translateZ(-20px);
}

.mockup-front {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    border: 8px solid #1e293b;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen-header {
    background: #0f172a;
    padding: 15px 20px;
    color: white; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.screen-body-sign {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}

.sign-area-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
}

.sign-canvas-area {
    flex: 1;
    background: white;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sign-placeholder {
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: bold;
    pointer-events: none;
}

.sign-pen-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--accent);
    animation: floating-pen 2s infinite ease-in-out;
}

.sign-stroke {
    position: absolute;
    width: 80%;
    height: auto;
    opacity: 0.8;
}

@keyframes floating-pen {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

.screen-btn-group {
    display: flex;
    gap: 10px;
}

.btn-clear {
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    flex: 1;
    text-align: center;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
}

.btn-submit {
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    flex: 2;
    text-align: center;
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.3);
}

.floating-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 900;
    color: #059669;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateZ(40px);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
}

.badge-paperless {
    color: #059669;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pain-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    position: relative;
}

.pain-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pain-icon {
    width: 60px;
    height: 60px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pain-item h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--primary);
}

.pain-item p {
    color: var(--text-sub);
    line-height: 1.7;
    font-size: 0.95rem;
}

.mechanics-section .tag-line {
    color: var(--accent);
}

.step-flow-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.flow-card {
    background: white;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    border: 1px solid transparent;
    transition: 0.3s;
}

.flow-card.main-step {
    border-color: var(--accent);
    transform: scale(1.02);
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.flow-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.flow-step-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #cbd5e1;
    font-family: var(--font-en);
}

.flow-header h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
}

.flow-visual {
    height: 100px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #94a3b8;
}

.flow-visual.mobile-view {
    color: #64748b;
    background: #f1f5f9;
}

.flow-visual.sign-view {
    color: var(--accent);
    background: #fffbeb;
    font-size: 3.5rem;
}

.flow-visual.cloud-view {
    color: #3b82f6;
    background: #eff6ff;
}

.flow-desc {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-sub);
}

.highlight {
    background: linear-gradient(transparent 70%, #fde047 70%);
    font-weight: 700;
    color: var(--text-main);
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #cbd5e1;
    height: 300px;
}

.features-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-detail-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.fd-img-box {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.fd-content h3 {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--primary);
}

.fd-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-sub);
}

@media (max-width: 960px) {
    .sol-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mockup-layered {
        margin-top: 40px;
        transform: rotateY(0);
    }

    .features-grid-detail {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        display: none;
    }

    .step-flow-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .flow-card.main-step {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .sol-title {
        font-size: 2rem;
    }
}

.screen-body-attendance {
    flex: 1;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    background: #1e293b;
    color: white;
    align-items: center;
    justify-content: space-between;
}

.att-time-display {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-top: 10px;
    line-height: 1;
}

.att-date-display {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.att-btn-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
}

.att-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.att-btn i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.att-btn span {
    font-size: 1.2rem;
    font-weight: 700;
    flex: 1;
}

.att-btn.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #34d399;
}

.att-btn.btn-start {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    transform: scale(1.05);
    z-index: 2;
}

.att-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.btn-status-badge {
    font-size: 0.8rem;
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.tap-hint {
    position: absolute;
    right: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse-text 1.5s infinite;
    color: #fffbeb;
}

@keyframes pulse-text {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.5;
    }
}

.gps-status {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.badge-gps {
    color: var(--accent);
    border-color: var(--accent);
}

.features-grid-detail.four-col {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 960px) {
    .features-grid-detail.four-col {
        grid-template-columns: 1fr;
    }
}

.screen-body-pay {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
    color: #1e293b;
    align-items: center;
    position: relative;
}

.pay-balance-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    margin-top: 10px;
}

.pay-balance-amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1e293b;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 25px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.pay-history-box {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.ph-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.ph-row:last-of-type {
    border-bottom: none;
}

.ph-date {
    color: #64748b;
    font-weight: 500;
}

.ph-val {
    color: #059669;
    font-weight: 900;
}

.ph-status {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.pay-btn-group {
    width: 100%;
    margin-top: auto;
}

.pay-btn {
    background: #2563eb;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

.pay-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    width: 260px;
    height: 160px;
    background: linear-gradient(135deg, #991b1b 0%, #ff2600 100%);
    border-radius: 16px;
    padding: 20px;
    color: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform: translateZ(50px) rotate(-5deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.2);
}

.floating-card-anim {
    animation: float-card-slow 6s ease-in-out infinite;
}

@keyframes float-card-slow {
    0%, 100% {
        transform: translateZ(50px) rotate(-5deg) translateY(0);
    }
    50% {
        transform: translateZ(50px) rotate(-3deg) translateY(-10px);
    }
}

.pc-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    border-radius: 6px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.pc-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 900;
    font-style: italic;
    font-size: 1.2rem;
}

.pc-number {
    font-family: 'Roboto', monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.pc-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
    font-weight: 500;
}

@media (max-width: 960px) {
    .pay-card {
        left: 50%;
        bottom: -40px;
        transform: translateX(-50%) translateZ(50px);
        animation: none;
    }
}

.mockup-layered.wide-mockup {
    width: 450px;
    height: 380px;
    max-width: 100%;
}

.screen-body-allocation {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

.alloc-header-row {
    display: flex;
    background: #e2e8f0;
    border-bottom: 1px solid #cbd5e1;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.ahr-col.name {
    width: 35%;
    padding: 8px 10px;
    border-right: 1px solid #cbd5e1;
    background: #f1f5f9;
}

.ahr-col.time {
    width: 65%;
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
}

.alloc-row {
    display: flex;
    height: 60px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
}

.alloc-guard {
    width: 35%;
    border-right: 1px solid #e2e8f0;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    z-index: 2;
}

.guard-avatar {
    width: 30px;
    height: 30px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.8rem;
}

.guard-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.g-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

.g-tag {
    font-size: 0.65rem;
    background: #dbeafe;
    color: #2563eb;
    padding: 1px 4px;
    border-radius: 2px;
    width: fit-content;
}

.alloc-timeline {
    width: 65%;
    position: relative;
    background-image: linear-gradient(90deg, #f1f5f9 1px, transparent 1px);
    background-size: 25% 100%;
}

.alloc-bar {
    position: absolute;
    top: 10px;
    height: 40px;
    border-radius: 4px;
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    top: 50%;
    transform: translateY(-50%);
}

.color-blue {
    background: #3b82f6;
    border: 1px solid #2563eb;
}

.color-red {
    background: #ef4444;
    border: 1px solid #dc2626;
    z-index: 5;
}

.color-gray {
    background: #94a3b8;
    border: 1px dashed #64748b;
    opacity: 0.8;
}

.warning-pulse {
    animation: warning-pulse 1.5s infinite;
}

@keyframes warning-pulse {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.dragging {
    cursor: grabbing;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-55%) scale(1.02);
}

.alloc-tooltip {
    position: absolute;
    top: 40%;
    right: 10px;
    background: #1e293b;
    color: white;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    width: 140px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    animation: fadeIn 0.5s ease;
}

.at-title {
    font-weight: bold;
    color: #fca5a5;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.at-title::before {
    content: '\f071';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.badge-check {
    color: var(--accent);
    border-color: var(--accent);
    bottom: 20px;
    left: -20px;
}

.window-controls {
    display: flex;
    gap: 4px;
}

.wc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.wc-dot.red {
    background: #ef4444;
}

.wc-dot.yellow {
    background: #fbbf24;
}

.wc-dot.green {
    background: #10b981;
}

@media (max-width: 960px) {
    .mockup-layered.wide-mockup {
        width: 100%;
        height: auto;
        min-height: 350px;
    }
}

.screen-body-ng {
    flex: 1;
    padding: 0;
    position: relative;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-header.warning-mode {
    background: #7f1d1d;
}

.wc-close {
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
}

.wc-close:hover {
    opacity: 1;
}

.bg-blur-grid {
    position: absolute;
    inset: 0;
    padding: 10px;
    opacity: 0.3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    filter: blur(3px);
}

.blur-row {
    height: 40px;
    background: #cbd5e1;
    border-radius: 4px;
    width: 100%;
}

.blur-row:nth-child(2) {
    width: 80%;
}

.blur-row:nth-child(3) {
    width: 90%;
}

.alert-modal {
    background: white;
    width: 85%;
    max-width: 320px;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    text-align: center;
    border-top: 5px solid #ef4444;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.alert-icon-box {
    width: 60px;
    height: 60px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.alert-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 10px;
}

.alert-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.ng-detail-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    margin-bottom: 20px;
}

.ng-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.ng-label {
    color: #94a3b8;
    font-weight: bold;
}

.ng-val {
    color: #334155;
    font-weight: 900;
}

.ng-reason {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
}

.reason-tag {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 4px;
}

.ng-reason p {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.4;
}

.btn-alert-action {
    background: #334155;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.btn-alert-action:hover {
    background: #1e293b;
}

.badge-shield {
    color: #ef4444;
    border-color: #ef4444;
}

.screen-header.caution-mode {
    background: #b45309;
}

.alert-modal.caution {
    border-top-color: #f59e0b;
}

.alert-icon-box.caution {
    background: #fef3c7;
    color: #f59e0b;
}

.reason-tag.caution-tag {
    background: #f59e0b;
    color: #000;
}

.btn-cancel-light {
    flex: 1;
    background: #e2e8f0;
    color: #64748b;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.btn-proceed-caution {
    flex: 1.5;
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
}

.btn-proceed-caution:hover {
    background: #d97706;
}

.badge-review {
    color: #3b82f6;
    border-color: #3b82f6;
}

.screen-header.map-mode {
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.screen-body-map {
    flex: 1;
    padding: 0;
    position: relative;
    background: #e2e8f0;
    overflow: hidden;
}

.map-bg {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(#cbd5e1 2px, transparent 2px),
        linear-gradient(90deg, #cbd5e1 2px, transparent 2px);
    background-size: 50px 50px;
    background-color: #f1f5f9;
    position: relative;
}

.map-bg::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    height: 15px;
    background: #cbd5e1;
    transform: rotate(-5deg);
}

.map-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 60%;
    width: 15px;
    height: 100%;
    background: #cbd5e1;
    transform: rotate(10deg);
}

.map-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -100%);
    cursor: pointer;
    z-index: 2;
}

.map-marker:hover {
    z-index: 10;
}

.marker-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid white;
}

.marker-pin i {
    transform: rotate(45deg);
    color: white;
    font-size: 1rem;
}

.marker-pin.blue {
    background: #3b82f6;
}

.marker-pin.green {
    background: #10b981;
}

.marker-pin.red {
    background: #ef4444;
}

.marker-label {
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-top: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    white-space: nowrap;
    color: #1e293b;
}

.marker-label.warning {
    color: #ef4444;
    border: 1px solid #ef4444;
}

.marker-pulse {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 10px;
    height: 10px;
    background: rgba(59, 130, 246, 0.5);
    border-radius: 50%;
    animation: map-pulse 2s infinite;
    z-index: -1;
    transform: translate(-50%, -50%);
}

@keyframes map-pulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

.marker-alert-box {
    position: absolute;
    bottom: 50px;
    background: #ef4444;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: bounceAlert 1s infinite alternate;
}

.marker-alert-box::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #ef4444 transparent transparent transparent;
}

@keyframes bounceAlert {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

.badge-gps-track {
    color: #0f172a;
    border-color: #0f172a;
    bottom: 20px;
    left: -20px;
}

.screen-header.edu-mode {
    background: #065f46;
}

.screen-body-edu {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f1f5f9;
    overflow-y: auto;
}

.edu-row {
    background: white;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.edu-guard-info {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 30%;
}

.g-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.g-status {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    width: fit-content;
    margin-top: 2px;
}

.g-status.new-recruit {
    background: #dbeafe;
    color: #2563eb;
}

.g-status.current {
    background: #f3f4f6;
    color: #4b5563;
}

.edu-progress-area {
    width: 45%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ep-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: bold;
    margin-bottom: 4px;
}

.ep-bar-bg {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.ep-bar-fill {
    height: 100%;
    border-radius: 4px;
}

.ep-bar-fill.complete {
    background: #10b981;
}

.ep-bar-fill.warning {
    background: #f59e0b;
}

.ep-val {
    font-size: 0.75rem;
    font-weight: 900;
    margin-top: 4px;
    text-align: right;
}

.ep-val.warning {
    color: #d97706;
}

.edu-doc-status {
    width: 20%;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.doc-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 1rem;
}

.doc-icon.done {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.doc-icon.alert {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
    animation: pulse-border 2s infinite;
}

.doc-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 0.5rem;
    padding: 1px 3px;
    border-radius: 2px;
    font-weight: bold;
    color: white;
}

.doc-badge {
    background: #10b981;
}

.doc-badge.missing {
    background: #ef4444;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.edu-alert-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.badge-audit {
    color: #047857;
    border-color: #047857;
}

@media (max-width: 960px) {
    .edu-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .edu-guard-info {
        width: 100%;
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 5px;
    }

    .edu-progress-area {
        width: 100%;
    }

    .edu-doc-status {
        width: 100%;
        justify-content: flex-start;
    }
}

.floating-back-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9998;
    background: rgba(255, 255, 255, 0.95);
    color: #4b5563;
    border: 1px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    text-decoration: none;
}

.floating-back-btn:hover {
    background: white;
    color: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #d97706;
}

@media (max-width: 768px) {
    .floating-back-btn {
        bottom: 15px;
        left: 15px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

.cta-bottom-link {
    margin-top: 40px;
    text-align: center;
    animation: fadeIn 1s ease 0.5s backwards;
}

.text-link-white {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.text-link-white:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .cta-bottom-link {
        margin-top: 30px;
    }
}

.competitor-comparison {
    position: relative;
    z-index: 1;
}

.competitor-table-wrapper {
    margin-top: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.competitor-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    text-align: center;
}

.competitor-table th {
    padding: 25px 15px;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-main);
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.competitor-table th.col-item {
    width: 28%;
    text-align: left;
    padding-left: 30px;
    color: var(--primary);
}

.competitor-table th.col-pro.highlight {
    background: var(--primary);
    color: white;
    width: 22%;
    position: relative;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.pro-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
}

.pro-head i {
    color: var(--accent-light);
}

.competitor-table th.col-other {
    width: 16.6%;
    font-size: 1rem;
    color: var(--text-sub);
}

.competitor-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.3s;
}

.competitor-table tr:hover td {
    background-color: #f8fafc;
}

.competitor-table tr:last-child td {
    border-bottom: none;
}

.competitor-table td.item-name {
    text-align: left;
    padding-left: 30px;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.competitor-table td.item-name i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.competitor-table td.highlight-cell {
    background-color: #f0f9ff;
    border-left: 2px solid #bae6fd;
    border-right: 2px solid #bae6fd;
}

.competitor-table tr:hover td.highlight-cell {
    background-color: #e0f2fe;
}

.status-cell {
    vertical-align: middle;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1;
}

.status-icon.perfect {
    color: var(--accent);
    font-size: 1.6rem;
    animation: pulse-icon 2s infinite;
}

.status-icon.good {
    color: #059669;
}

.status-icon.fair {
    color: #64748b;
    font-size: 1.2rem;
}

.status-icon.poor {
    color: #94a3b8;
    font-size: 1.1rem;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .competitor-table-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .competitor-table {
        min-width: 600px;
    }

    .competitor-table th.col-item,
    .competitor-table td.item-name {
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    br.pc-only {
        display: none !important;
    }
}

@media (min-width: 769px) {
    br.sp-only {
        display: none !important;
    }
}

@media (max-width: 768px) {
    br.sp-only {
        display: inline !important;
    }
}