/*
guide
*/
        :root {
            --step-bg: #fff;
            --trap-bg: #fff0f0;
            --road-analog: #8d6e63;
            --road-hikari: #4fc3f7;
            --road-sip: #9575cd;
        }

        .guide-body {
            background-color: #f8fafc;
        }

        .guide-badge {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            padding: 0.3rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .guide-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--navy);
        }

        .guide-subtitle {
            font-size: 1.25rem;
            color: var(--text-light);
        }

        /* Intro Section */
        .section-card {
            background: #fff;
            border-radius: 20px;
            padding: 3rem;
            margin: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 1rem;
        }

        .section-number {
            font-family: var(--font-en);
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            opacity: 0.3;
        }

        .section-h {
            font-size: 1.8rem;
            margin: 0;
        }

        /* Infinite Loop Visualization */
        .trap-box {
            background: var(--trap-bg);
            border: 2px dashed #ff6b6b;
            border-radius: 15px;
            padding: 2rem;
            margin-top: 2rem;
            position: relative;
            overflow: hidden;
        }

        .trap-box h4 {
            color: #d32f2f;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .loop-visual {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin: 2rem 0;
            position: relative;
        }

        .loop-item {
            text-align: center;
            z-index: 1;
        }

        .loop-icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            color: var(--navy);
        }

        .loop-arrow {
            font-size: 2rem;
            color: #ff6b6b;
            animation: infinite-slide 2s linear infinite;
        }

        @keyframes infinite-slide {
            0% {
                transform: translateX(-10px);
                opacity: 0;
            }

            50% {
                transform: translateX(0);
                opacity: 1;
            }

            100% {
                transform: translateX(10px);
                opacity: 0;
            }
        }

        /* Road Visualization */
        .road-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .road-card {
            border-radius: 15px;
            padding: 1.5rem;
            position: relative;
            border: 1px solid #eee;
        }

        .road-card.analog {

        }

        .road-card.hikari {

        }

        .road-card.sip {

        }

        .road-tag {
            color: var(--primary);
            font-weight: 800;
            text-transform: uppercase;
            margin-bottom: 1rem;
            display: block;
        }

        /* Diagnosis App Styles (MAIN) */
.diag-title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    color: #FFF;
    font-weight: 800;
    line-height: 1.2;
}
.diag-lead {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #FFF;
    opacity: 0.9;
}
        .diagnosis-hero {
            background: linear-gradient(135deg, #2ecc71, #27ae60, #16a085, #2ecc71);
            background-size: 400% 400%;
            padding: 6rem 1.5rem;
            text-align: center;
            color: #fff;
            position: relative;
            overflow: hidden;
        }

        .diagnosis-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 20%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 20%);
            animation: pulse-bg 10s infinite alternate;
        }

        @keyframes pulse-bg {
            0% {
                transform: scale(1);
                opacity: 0.5;
            }

            100% {
                transform: scale(1.2);
                opacity: 1;
            }
        }

        .diag-card-wrap {
            max-width: 700px;
            margin: 0 auto;
            background: #fff;
            padding: 4rem 3rem;
            color: var(--navy);
            position: relative;
            z-index: 10;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
        }

        .diag-question {
            font-size: 2rem;
            margin-bottom: 3rem;
            font-weight: 800;
            line-height: 1.4;
            text-align: left;
        }

        .diag-options {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .diag-btn {
            flex: 1;
            min-width: 180px;
            background: var(--bg-light);
            color: var(--navy);
            border: 2px solid #eee;
            padding: 1.2rem 1.5rem;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .diag-btn.unknown {
            background: #f0f0f0;
            color: var(--text-light);
        }

        .diag-btn:hover {
            transform: scale(1.05) translateY(-5px);
            border-color: var(--primary);
            background: #fff;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .diag-btn.primary {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        .diag-btn.primary:hover {
            background: var(--primary-dark);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .diag-result {
            display: none;
            text-align: left;
        }

/* オペレーターサポート */
.diag-operator-support {
    background: var(--white);
    border: 2px solid var(--primary);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.operator-avatar-wrap {
    flex-shrink: 0;
    position: relative;
}

.operator-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    display: block;
}
.online-status {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #2ecc71;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
}

.operator-text-body {
    flex: 1;
}

.operator-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}
.diag-reset {
    text-align: center;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
}

.diag-reset:hover {
    color: var(--primary);
    opacity: 0.8;
}
.diag-reset:hover i {
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

@media (max-width: 767px) {
    .diag-operator-support {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
.diag-reset {
    margin: 1.5rem 0 0;
}
}

        .sparkle {
            position: absolute;
            pointer-events: none;
            animation: sparkle-anim 0.8s forwards;
        }

        @keyframes sparkle-anim {
            0% {
                transform: scale(0) rotate(0deg);
                opacity: 1;
            }

            100% {
                transform: scale(2) rotate(180deg);
                opacity: 0;
            }
        }

        .result-shining {
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            background-size: 200% 100%;
        }


        /* Pattern Table */

        .cost-table th,
        .cost-table td {
            border: 1px solid #eee;
            padding: 1rem;
            text-align: center;
        }

        .cost-table th {
            background: #fbfbfb;
            font-weight: 700;
        }


        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        /* Responsive */
        @media (max-width: 768px) {
            .section-card {
                margin: 0;
            }
            .section-h {
                font-size: 1.2rem;
                text-align: left;
            }
            .guide-title {
                font-size: 1.8rem;
            }

            .section-card {
                padding: 1rem;
            }

            .diag-options {
                flex-direction: column;
            }

            .diag-question {
                font-size: 1.4rem;
                margin-bottom: 1.5rem;
            }
            .diagnosis-hero {
                padding: 3rem 1.5rem;
                margin-bottom: 0;
            }
            .diag-card-wrap {
                padding: 1.5rem;
            }
            h2#result-title{
               margin: 1.2rem 0 !important;
               font-size: 1.8rem !important;
            }
            #diag-result .flex{
               gap: 10px;
            }
        }








div#result-pattern {
    text-align: center;
    padding: 0.5em 0;
    color: #FFF;
    font-weight: 800;
    border-radius: 10px;
    background: var(--accent);
}
h2#result-title {
    margin: 1.5rem 0;
    font-size: 2rem;
}
#section-diagnosis .price-table-container{
    margin: 2rem 0 0;
}
#section-diagnosis .price-table{
    margin-bottom: 2rem;
}
.road-card p{
    text-align: left;
}
#section-diagnosis h4{
color: var(--primary);
margin-bottom: 1rem;
}
.icon-block .icon-circle {
    font-size: 2.2rem;
    color: var(--primary);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.3s ease;
    background: var(--primary-light);
    border: 1px solid var(--primary);
}
.icon-block:hover .icon-circle {
    transform: scale(1.05);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(180, 90, 60, 0.28);
}

/* CTAセクション */
.section-cta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    
    /* 背景色やパディングの調整（お好みで） */
    background-color: var(--primary); /* ロカオプオレンジ等 */
    padding: 6rem 0;
    color: #fff;
}
.section-cta .container {
    width: 100%;
    max-width: 1248px; /* 他のcontainerと同じ幅に合わせる */
    margin: 0 auto;
    padding: 0 24px;
}

/* スマホ用の調整（レスポンシブ） */
@media (max-width: 768px) {
    .diag-title {
        font-size: 1.8rem; /* スマホでは少し小さく */
        margin-bottom: 0.5rem;
    }
    .diag-lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .sp-br {
        display: block; /* 改行させる */
    }
}
