/* ツアーガイド用ボタン */
.tour-guide-button {
    position: absolute;
    top: 15%;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #333;
}

.tour-guide-button:hover {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tour-guide-button svg {
    width: 20px;
    height: 20px;
}

/* Shepherdテーマのカスタマイズ */
.shepherd-theme-custom {
    max-width: 400px;
    font-family: sans-serif;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.shepherd-theme-custom .shepherd-content {
    border-radius: 10px;
}

.shepherd-theme-custom .shepherd-text {
    font-size: 15px;
    line-height: 1.6;
    padding: 20px;
}

.shepherd-theme-custom .shepherd-header {
    background: var(--main-gradient) !important;
    padding: 15px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.shepherd-theme-custom .shepherd-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.shepherd-theme-custom .shepherd-cancel-icon {
    color: white !important;
    opacity: 0.8;
}

.shepherd-theme-custom .shepherd-footer {
    padding: 10px 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.shepherd-theme-custom .shepherd-button {
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.shepherd-theme-custom .shepherd-button:not(:disabled) {
    background: var(--main-gradient);
    color: white;
}

.shepherd-theme-custom .shepherd-button-secondary {
    background: transparent !important;
    background: var(--main-gradient);
    color: #3498db !important;
    border: 1px solid #3498db;
}

/* ハイライト効果 */
.shepherd-highlighted, .shepherd-element-attached-bottom.shepherd-highlighted {
    box-shadow: 0 0 0 5px rgba(52, 152, 219, 0.5);
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}

/* .shepherd-arrow:before {
    background: #3498db;
} */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .tour-guide-button {
        top: 80%;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .tour-guide-button svg {
        width: 16px;
        height: 16px;
    }

    .shepherd-theme-custom {
        max-width: 300px;
    }

    .shepherd-theme-custom .shepherd-text {
        font-size: 14px;
        padding: 15px;
    }
}